@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/dm-sans-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-deep: #0F1D30;
  --navy:      #1C2E4A;
  --gold:      #C9A84C;
  --gold-soft: #DFC07A;
  --gold-deep: #A8862E;
  --cream:     #F7F4EF;
  --paper:     #FBF9F4;
  --sand-mid:  #D9D2C4;
  --slate:     #6B7A8D;
  --charcoal:  #2C3240;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.micro {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── GRAIN TEXTURE ──────────────────────── */
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10%       { transform: translate(-2%, -3%); }
  20%       { transform: translate(3%, 2%); }
  30%       { transform: translate(-1%, 4%); }
  40%       { transform: translate(4%, -1%); }
  50%       { transform: translate(-3%, 3%); }
  60%       { transform: translate(2%, -4%); }
  70%       { transform: translate(-4%, 1%); }
  80%       { transform: translate(1%, -2%); }
  90%       { transform: translate(-2%, 4%); }
}
section.hero::after {
  content: '';
  position: absolute; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  animation: grain 8s steps(1) infinite;
}
section.hero .hero-content,
section.hero .hero-bottom { position: relative; z-index: 2; }
section.hero .horizons    { z-index: 0; }

/* ── HEADER ────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 28px 64px;
}
header .brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--cream);
  transition: color 0.35s ease;
}
header.on-light .brand { color: var(--navy); }
header .brand .word {
  font-family: var(--serif); font-weight: 300;
  font-size: 18px; letter-spacing: 6px;
}

/* ── HERO ───────────────────────────────── */
section.hero {
  background: var(--navy-deep); color: var(--cream);
  min-height: 100vh; min-height: 100svh;
  position: relative; overflow: hidden;
  padding: 100px 64px 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px;
}
.hero .eyebrow {
  color: var(--gold);
  margin-bottom: 20px;
  animation: fade-in-up 0.8s 0.3s ease both;
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 8vw, 130px);
  line-height: 0.97; letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: inline-block;
  animation: gold-reveal 0.9s cubic-bezier(0.65,0,0.35,1) 1.5s both;
}
.hero-content { position: relative; }
.hero-bottom {
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fade-in-up 0.8s 1.8s ease both;
}
.scroll-hint {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(201,168,76,0.6);
  margin-bottom: 20px;
}
.scroll-hint svg {
  width: 14px; height: 14px; flex-shrink: 0;
  animation: scroll-bounce 2s cubic-bezier(0.45,0,0.55,1) 2.4s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}
.hero .meta {
  display: flex; flex-wrap: nowrap; gap: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,168,76,0.35);
}
.hero .meta .k { color: var(--gold); }
.hero .meta .v {
  font-family: var(--serif); font-weight: 300; font-size: 18px;
  color: var(--cream); margin-top: 8px; line-height: 1.3;
}
.hero .meta .v em { font-style: italic; color: var(--gold); }

/* ── STATEMENT ──────────────────────────── */
section.statement { background: var(--paper); padding: 140px 64px; }
.statement .grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px;
  align-items: start; max-width: 1400px; margin: 0 auto;
}
.statement .label { color: var(--gold-deep); }
.statement h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 80px);
  color: var(--navy); margin: 20px 0 0;
  line-height: 1.02; letter-spacing: -0.01em;
}
.statement h2 em { font-style: italic; color: var(--gold); }
.statement .body p {
  font-family: var(--sans); font-size: 17px; line-height: 1.8;
  color: var(--charcoal); margin: 0 0 22px; max-width: 580px;
}
.statement .body p:first-child::first-letter {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 6vw, 72px); line-height: 0.82;
  float: left; padding: clamp(4px, 0.5vw, 8px) 12px 0 0; color: var(--gold);
}

/* ── SECTION SEPARATOR ──────────────────── */
section.statement + section.practice::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(201,168,76,0.12) 20%, rgba(201,168,76,0.12) 80%, transparent 100%);
  position: absolute;
  top: 0; left: 0;
}

/* ── PRACTICE ───────────────────────────── */
section.practice {
  background: var(--navy); color: var(--cream);
  padding: 140px 64px; position: relative; overflow: hidden;
}
.practice .head { max-width: 1400px; margin: 0 auto 72px; position: relative; }
.practice .head .label { color: var(--gold); }
.practice h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 80px);
  color: var(--cream); margin: 20px 0 0;
  line-height: 1.02; letter-spacing: -0.01em;
}
.practice h2 em { font-style: italic; color: var(--gold); }
.practice .rooms {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  max-width: 1400px; margin: 0 auto; position: relative;
}
.room {
  padding: 52px 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-start;
  transition: background 0.3s, border-color 0.3s;
}
.room:hover { background: rgba(201,168,76,0.06); border-color: rgba(201,168,76,0.45); }
.room .num {
  font-family: var(--serif); font-weight: 300;
  font-size: 56px; color: var(--gold); line-height: 1;
}
.room h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: 40px; color: var(--cream);
  margin: 28px 0 0; line-height: 1;
}
.room h3 em { font-style: italic; color: var(--gold-soft); }
.room p {
  font-family: var(--sans); font-size: 15px; line-height: 1.7;
  color: rgba(247,244,239,0.78); margin: 20px 0 0;
}

/* ── CONTACT ────────────────────────────── */
section.contact {
  background: var(--paper); color: var(--navy);
  padding: 140px 64px 80px; position: relative; overflow: hidden;
}
.contact .inner { max-width: 1400px; margin: 0 auto; position: relative; }
.contact .eyebrow { color: var(--gold-deep); margin-bottom: 28px; }
.contact h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 9vw, 160px);
  line-height: 0.98; letter-spacing: -0.015em;
}
.contact h2 em { font-style: italic; color: var(--gold); }
.contact .lead {
  font-family: var(--serif); font-weight: 300; font-size: 24px;
  color: var(--slate); margin: 32px 0 0; max-width: 620px; line-height: 1.45;
}
.contact .actions { margin-top: 56px; }
.contact .btn {
  display: inline-block;
  background: var(--navy); color: var(--cream);
  padding: 20px 44px;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
  transition: background 0.2s, letter-spacing 0.3s ease;
}
.contact .btn:hover { background: var(--navy-deep); letter-spacing: 4px; }

/* ── FOOTER ─────────────────────────────── */
footer {
  max-width: 1400px; margin: 80px auto 0;
  padding: 28px 0 40px;
  border-top: 1px solid var(--sand-mid);
  display: flex; justify-content: center;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--slate);
}

/* ── SVG DECOR ──────────────────────────── */
.horizons {
  position: absolute; inset: 0;
  width: 100%; height: 100%; pointer-events: none;
}
.hero .horizons circle {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes expand-r1 { 0% { transform: scale(0.15); opacity: 0; } 40% { opacity: 0.32; } 100% { transform: scale(1); opacity: 0.32; } }
@keyframes expand-r2 { 0% { transform: scale(0.15); opacity: 0; } 40% { opacity: 0.25; } 100% { transform: scale(1); opacity: 0.25; } }
@keyframes expand-r3 { 0% { transform: scale(0.15); opacity: 0; } 40% { opacity: 0.18; } 100% { transform: scale(1); opacity: 0.18; } }
@keyframes expand-r4 { 0% { transform: scale(0.15); opacity: 0; } 40% { opacity: 0.12; } 100% { transform: scale(1); opacity: 0.12; } }
@keyframes expand-r5 { 0% { transform: scale(0.15); opacity: 0; } 40% { opacity: 0.07; } 100% { transform: scale(1); opacity: 0.07; } }
@keyframes expand-r6 { 0% { transform: scale(0.15); opacity: 0; } 40% { opacity: 0.04; } 100% { transform: scale(1); opacity: 0.04; } }
.hero .horizons .r1 { animation: expand-r1 1.6s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero .horizons .r2 { animation: expand-r2 1.6s cubic-bezier(0.22,1,0.36,1) 0.13s both; }
.hero .horizons .r3 { animation: expand-r3 1.6s cubic-bezier(0.22,1,0.36,1) 0.21s both; }
.hero .horizons .r4 { animation: expand-r4 1.6s cubic-bezier(0.22,1,0.36,1) 0.29s both; }
.hero .horizons .r5 { animation: expand-r5 1.6s cubic-bezier(0.22,1,0.36,1) 0.37s both; }
.hero .horizons .r6 { animation: expand-r6 1.6s cubic-bezier(0.22,1,0.36,1) 0.45s both; }

@keyframes spring-drop {
  0%   { opacity: 0; transform: translateY(44px) scaleY(1.08); }
  55%  { opacity: 1; transform: translateY(-5px) scaleY(0.97); }
  75%  { transform: translateY(3px) scaleY(1.01); }
  100% { opacity: 1; transform: translateY(0) scaleY(1); }
}

.hero h1 .line1,
.hero h1 .line2,
.hero h1 .line3 { display: block; }

.hero h1 .line1 { animation: spring-drop 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s both; }
.hero h1 .line2 { animation: spring-drop 0.9s cubic-bezier(0.22,1,0.36,1) 0.70s both; }
.hero h1 .line3 { animation: spring-drop 0.9s cubic-bezier(0.22,1,0.36,1) 0.85s both; }

@keyframes gold-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEALS ── */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

.js .line-reveal {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.65,0,0.35,1);
}
.js .line-reveal.visible { transform: scaleX(1); }

.statement .divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 28px 0;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  header { padding: 20px 28px; }

  section.hero    { padding: 90px 28px 40px; }
  .hero .meta     { gap: 40px; flex-wrap: wrap; }

  section.statement { padding: 80px 28px; }
  .statement .grid  { grid-template-columns: 1fr; gap: 48px; }

  section.practice  { padding: 80px 28px; }
  .practice .rooms  { grid-template-columns: 1fr; }
  .room             { min-height: auto; }

  section.contact   { padding: 80px 28px 60px; }
}

@media (max-width: 480px) {
  section.hero    { padding: 80px 20px 36px; }
  .hero .meta     { gap: 24px; flex-wrap: wrap; }
  section.statement,
  section.practice,
  section.contact { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .horizons circle,
  .hero h1 .line1,
  .hero h1 .line2,
  .hero h1 .line3,
  .hero h1 em,
  .hero .eyebrow,
  .hero-bottom { animation: none; }
  .js .reveal, .js .line-reveal { transition: none; }
  .contact .btn { transition: background 0.2s; }
}
