/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 3vw, 48px);
  mix-blend-mode: normal;
  transition: background 0.6s var(--ease-luxe), border-color 0.6s var(--ease-luxe);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line-soft);
}
.nav.dark {
  color: var(--ivory);
}
.nav.dark.scrolled {
  background: rgba(14, 14, 14, 0.76);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-logo {
  font-family: var(--serif-en);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.32em;
  position: relative;
  z-index: 2;
}
.nav-logo small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.5em;
  opacity: 0.55;
  margin-top: 2px;
  font-weight: 400;
}
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 36px;
}
.nav-center a {
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-luxe);
}
.nav-center a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-luxe);
}
.nav-center a:hover, .nav-center a.active { opacity: 1; }
.nav-center a:hover::after, .nav-center a.active::after { transform: scaleX(1); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-right .nav-lang {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  opacity: 0.7;
}
.nav-right .nav-lang b { font-weight: 500; opacity: 1; }
.nav-cta {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid currentColor;
  transition: all 0.5s var(--ease-luxe);
}
.nav-cta:hover { background: currentColor; }
.nav-cta:hover span { color: var(--ivory); mix-blend-mode: difference; }
.nav.dark .nav-cta:hover { background: var(--ivory); color: var(--ink); }
.nav .nav-cta:hover { color: var(--ivory); background: var(--ink); }
.nav.dark .nav-cta:hover { color: var(--ink); background: var(--ivory); }

/* Particles canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Page transitions */
.page {
  display: none;
  animation: pageIn 0.9s var(--ease-luxe);
}
.page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Hero (home) */
.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(230, 201, 184, 0.45), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(239, 217, 204, 0.35), transparent 55%),
    linear-gradient(180deg, #FAF6F1 0%, #F4EEE5 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 1400px;
}
.hero-eyebrow {
  display: block;
  margin-bottom: 40px;
  color: var(--stone);
}
.hero-title {
  font-family: var(--serif-en);
  font-size: var(--fs-hero);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title em { font-style: italic; color: var(--pink-deep); }
.hero-sub {
  margin-top: 32px;
  font-family: var(--serif-jp);
  font-size: 16px;
  letter-spacing: 0.4em;
  color: var(--graphite);
  font-weight: 300;
}
.hero-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 48px;
  z-index: 3;
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--stone));
  animation: scrollLine 2.4s var(--ease-luxe) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.001% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: var(--ivory);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: mq 60s linear infinite;
  white-space: nowrap;
  font-family: var(--serif-en);
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--graphite);
  font-style: italic;
  font-weight: 300;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 80px; }
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink-deep); display: inline-block; }
@keyframes mq {
  to { transform: translateX(-50%); }
}

/* Section headers */
.section {
  padding: clamp(96px, 12vw, 180px) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 96px);
  padding: 0 clamp(24px, 5vw, 80px);
  margin-bottom: clamp(64px, 8vw, 120px);
  align-items: start;
}
.section-head .tag { font-family: var(--serif-en); letter-spacing: 0.3em; text-transform: uppercase; font-size: 12px; color: var(--stone); }
.section-head .tag small { display: block; font-family: var(--serif-jp); letter-spacing: 0.3em; margin-top: 10px; color: var(--mist); font-size: 11px; }
.section-head h2 {
  font-family: var(--serif-en);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.section-head h2 em { font-style: italic; color: var(--pink-deep); }
.section-head .desc {
  margin-top: 32px;
  max-width: 520px;
  font-family: var(--serif-jp);
  font-size: 15px;
  line-height: 2;
  color: var(--graphite);
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px) 48px;
  position: relative;
  overflow: hidden;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 80px; }
.footer-logo {
  font-family: var(--serif-en);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.footer-logo em { font-style: italic; color: var(--pink); }
.footer-tag {
  margin-top: 24px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 20px;
  color: var(--pink-soft);
  letter-spacing: 0.04em;
}
.footer h4 {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
  font-weight: 400;
  margin-bottom: 24px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer li a {
  font-family: var(--serif-jp);
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-luxe), color 0.4s var(--ease-luxe);
}
.footer li a:hover { color: var(--pink); opacity: 1; }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
