:root {
  color-scheme: dark;
  --sky: #0B132B;
  --panel: #15203B;
  --gold: #E5B85C;
  --ink: #F4F6F9;
  --muted: #A3B1C6;
  --border: rgb(229 184 92 / .38);
  --mincho: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 400 14px/1.95 var(--sans);
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 600; line-break: strict; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
section[id] { scroll-margin-top: 12px; }

.sky, .starfield { position: fixed; inset: 0; pointer-events: none; }
.sky {
  background: radial-gradient(ellipse at 18% 60%, #344b7861, transparent 45%),
    radial-gradient(ellipse at 82% 24%, #536eab30, transparent 48%),
    linear-gradient(#0b132b40, #0b132b80), url("images/sky.webp") center 44% / cover;
}
.starfield { z-index: 2; }
.starfield i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fce5ac;
  box-shadow: 0 0 8px 2px #f9d28a90;
  opacity: .36;
  animation: twinkle var(--t) ease-in-out var(--d) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.65); }
  48% { opacity: .9; transform: scale(1.3); }
}
.page {
  position: relative;
  width: min(100%, 450px);
  margin-inline: auto;
  background: var(--sky);
  box-shadow: 0 0 72px #020614a8, 0 0 0 1px #e5b85c30;
}
.desktop-brand, .desktop-menu { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(198px, 61vw, 280px);
  padding: 35px clamp(24px, 7.2vw, 36px) 35px;
  background: var(--sky);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, #0b132b 0%, #0b132be3 13%, #0b132b3a 33%, #0b132b00 58%, #0b132b93 76%, var(--sky) 90%),
    url("images/pour.webp") center 52% / 100% auto no-repeat;
}
.hero-frame {
  position: absolute;
  z-index: -1;
  inset: 13px 13px 14px;
  border: 1px solid #e5b85c36;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 17px 1px,
    linear-gradient(var(--gold), var(--gold)) top right / 17px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom left / 17px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 17px 1px;
  background-repeat: no-repeat;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--gold);
  font: 600 19px/1 var(--serif);
  letter-spacing: .17em;
}
.emblem {
  display: inline-block;
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.emblem::before, .emblem::after {
  position: absolute;
  content: "";
  inset: 5px 11px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.emblem::after { transform: rotate(90deg); }
.hero h1 {
  margin: 35px 0 0;
  font-size: clamp(29px, 8.65vw, 39px);
  line-height: 1.38;
  letter-spacing: .03em;
  text-shadow: 0 2px 15px #050a14;
}
.hero h1 span { color: #f4d591; }
.hero-bottom p { color: var(--ink); font-size: 13px; line-height: 1.9; text-shadow: 0 1px 12px #020409; }
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  min-height: 68px;
  margin-top: 18px;
  padding: 9px 13px 11px 11px;
  background: linear-gradient(115deg, #D4AF37, #F3C65F);
  border: 1px solid #f7d783;
  color: var(--sky);
  font-size: clamp(11px, 3.28vw, 13px);
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  transition: filter .2s ease;
}
.cta > span:first-child { flex: 1; }
.cta-kicker { font-size: 11px; letter-spacing: .18em; }
.cta:hover { filter: brightness(1.1); }
.arrow { font-size: 17px; }

.thread { width: 1px; height: 43px; margin-inline: auto; background: var(--gold); }
.panel { padding: 46px clamp(23px, 6.8vw, 33px); }
.section-title { text-align: center; }
.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font: 600 14px/1.2 var(--serif);
  letter-spacing: .24em;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 17px;
  height: 1px;
  background: var(--border);
}
h2 {
  margin-top: 14px;
  font-size: clamp(24px, 7.2vw, 32px);
  line-height: 1.48;
  letter-spacing: .035em;
}
.concept {
  background: radial-gradient(ellipse at 70% 15%, #283b62ac, transparent 50%), var(--panel);
}
.concept-photo {
  position: relative;
  margin: 30px 3px 24px;
  border: 1px solid var(--border);
}
.concept-photo::after {
  content: "";
  position: absolute;
  inset: -5px 5px 5px -5px;
  border: 1px solid #e5b85c32;
  pointer-events: none;
}
.concept-photo img { height: auto; aspect-ratio: 1.83; object-fit: cover; }
.concept-text { color: var(--muted); }
.concept-text p + p { margin-top: 15px; }

.features {
  background: linear-gradient(#0b132bce, #0b132b 530px),
    url("images/sky.webp") center top / 100% auto no-repeat, var(--sky);
}
.feature-list { display: grid; gap: 18px; margin-top: 32px; }
.feature {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}
.feature > img {
  height: auto;
  aspect-ratio: 2.6;
  object-fit: cover;
  object-position: 50% 52%;
}
.feature:nth-child(3) > img { object-position: 50% 44%; }
.feature-copy { position: relative; padding: 24px 16px 18px; }
.feature-number {
  position: absolute;
  left: 15px;
  top: -24px;
  padding: 2px 10px 3px;
  background: var(--sky);
  border: 1px solid var(--border);
  color: var(--gold);
  font: 500 27px/1 var(--serif);
}
.feature h3 { font-size: clamp(17px, 5.1vw, 21px); line-height: 1.48; }
.feature h3 span { display: block; color: var(--muted); font-size: 13px; }
.feature p, .flavor-copy > p:last-child { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.9; }

.lineup { background: linear-gradient(155deg, var(--panel), var(--sky) 75%); }
.flavor {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}
.flavor:first-of-type { margin-top: 32px; }
.flavor-photo { position: relative; }
.flavor-photo img { height: auto; aspect-ratio: 1.7; object-fit: cover; }
.flavor-new img { object-position: center 58%; }
.flavor-full img { object-position: center 49%; }
.moon {
  position: absolute;
  right: 13px;
  bottom: -13px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #0b132b92;
  background: var(--sky);
}
.moon-new { background: radial-gradient(circle at 25% 25%, #263756, #080d1a 64%); }
.moon-full { background: url("images/full-moon.webp") center 44% / 270% auto; }
.flavor-copy { padding: 15px 16px 20px; }
.flavor-name {
  display: block;
  color: var(--gold);
  font: 500 clamp(28px, 8.2vw, 36px)/1.2 var(--serif);
  letter-spacing: .055em;
}
.flavor-kind { display: block; color: var(--muted); font: 400 12px/1.7 var(--sans); }
.flavor-lead { margin-top: 12px; font: 600 clamp(16px, 4.8vw, 20px)/1.55 var(--mincho); }
.end-note { margin-top: 37px; text-align: center; color: var(--gold); }
.end-note p { margin-top: 7px; color: var(--muted); font-size: 12px; }

@media (max-width: 540px) {
  .starfield i:nth-child(n + 8) { display: none; }
  .starfield i { opacity: .2; box-shadow: 0 0 5px 1px #f9d28a70; }
}
@media (min-width: 860px) {
  .desktop-brand, .desktop-menu {
    position: fixed;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: calc((100% - 450px) / 2);
  }
  .desktop-brand { display: grid; left: 0; place-items: center; }
  .brand-large {
    flex-direction: column;
    gap: 18px;
    color: #e5b85cc7;
    font-size: clamp(23px, 3.6vw, 56px);
    letter-spacing: .13em;
    text-align: center;
  }
  .brand-large .emblem { width: 34px; height: 34px; }
  .brand-large .emblem::before, .brand-large .emblem::after { inset: 6px 14px; }
  .brand-large small { display: block; margin-top: 10px; font-size: .35em; letter-spacing: .42em; }
  .desktop-menu { right: 0; display: grid; justify-content: center; gap: 10px; }
  .desktop-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #e7d6abbf;
    font: 500 20px/1.2 var(--serif);
    letter-spacing: .1em;
  }
  .desktop-menu a::before { content: ""; width: 12px; height: 1px; background: var(--border); }
  .desktop-menu a:hover { color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .starfield i { animation: none; }
  .cta { transition: none; }
}
