@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --ink: #090711;
  --ink-soft: #0d0b18;
  --navy: #081326;
  --purple: #481e4f;
  --purple-deep: #1b0c1d;
  --purple-lit: #2a1029;
  --cream: #f2eadb;
  --cream-dim: #cfc5b3;
  --gold: #c8a96b;
  --copper: #a5521e;
  --line: rgba(200, 169, 107, .28);
  --line-soft: rgba(242, 234, 219, .12);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pad: clamp(1.35rem, 4vw, 5rem);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 8%, rgba(72, 30, 79, .22), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.35rem; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .65rem .85rem;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.site-header.is-scrolled {
  height: 4.4rem;
  background: rgba(9, 7, 17, .88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .3em;
}
.nav { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); }
.nav a, .header-link {
  font-size: .67rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color .2s ease;
}
.nav a:hover, .nav a:focus-visible, .header-link:hover, .header-link:focus-visible { color: var(--gold); }
.header-link { justify-self: end; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad) 5rem;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink);
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  z-index: -3;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(.92) contrast(1.02);
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, var(--ink) 0 30%, rgba(9,7,17,.96) 38%, rgba(9,7,17,.55) 52%, rgba(9,7,17,.08) 70%, rgba(9,7,17,.2) 100%),
    linear-gradient(180deg, rgba(9,7,17,.55), transparent 22%, transparent 72%, rgba(9,7,17,.92)),
    radial-gradient(circle at 18% 40%, rgba(72,30,79,.28), transparent 30rem);
}
.hero-content { width: min(720px, 56vw); position: relative; z-index: 2; }
.eyebrow, .section-label {
  font-size: .64rem;
  letter-spacing: .29em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1, .display, .origin-copy h2, .ritual-heading h2, .status h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .92;
}
.hero h1 {
  margin: 1.2rem 0 2rem;
  font-size: clamp(4.4rem, 9.2vw, 9.6rem);
}
.hero h1 em, .display em { color: var(--gold); font-weight: 400; }
.hero-copy {
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--cream-dim);
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2.4rem;
  margin-top: 1.6rem;
}
.hero-actions .button { margin-top: 0; }
.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--gold);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.coordinates {
  position: absolute;
  right: var(--pad);
  bottom: 2rem;
  margin: 0;
  font-size: .56rem;
  letter-spacing: .2em;
  color: rgba(242,234,219,.5);
}

/* ---------- shared ---------- */
.section {
  padding: clamp(6rem, 11vw, 11rem) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.section-label {
  padding-bottom: 2rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.dark-band {
  max-width: none;
  background: linear-gradient(145deg, #080914, #0c0a1a 48%, #1a0d1e);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.dark-band > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.dark-band > .section-label { max-width: calc(var(--max) - 2 * var(--pad)); }

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--purple-deep);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(9,7,17,.8) inset;
}
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(9,7,17,.55));
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  z-index: 1;
  font-size: .52rem;
  letter-spacing: .22em;
  color: rgba(242,234,219,.72);
}

/* ---------- 01 manifesto ---------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: start;
}
.display { margin: 0; font-size: clamp(3.5rem, 7vw, 7.5rem); }
.body-copy { color: var(--cream-dim); font-size: .98rem; max-width: 450px; }
.pullquote {
  margin-top: 3.5rem;
  padding: 1.8rem 0 0 1.4rem;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--cream);
}

/* ---------- 02 origin ---------- */
.origin-layout {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(300px, 1fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
}
.origin-visual { aspect-ratio: 4 / 5; max-height: 720px; }
.origin-copy h2 { font-size: clamp(2.7rem, 4.6vw, 4.9rem); margin: .8rem 0 2.2rem; max-width: 14ch; }
.origin-lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--cream) !important; margin-bottom: 1.2rem; }
.origin-copy blockquote {
  margin: 0 0 2.8rem;
  padding: 1.5rem 0 1.5rem 1.7rem;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.35;
  color: var(--cream);
}
.origin-copy > p:not(.eyebrow) { color: var(--cream-dim); max-width: 600px; }
.origin-copy p strong { font-weight: 400; color: var(--cream); }
.closing-line {
  margin-top: 2.4rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: .02em;
  color: var(--gold) !important;
}
.origin-phrase {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  max-width: 520px;
}
.origin-phrase .eyebrow { font-size: .54rem; color: rgba(200,169,107,.7); margin-bottom: .7rem; }
.origin-phrase p:not(.eyebrow) {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: rgba(242,234,219,.62);
}

/* ---------- 03 liquid ---------- */
.liquid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
.liquid-copy .display { font-size: clamp(3.3rem, 6vw, 6.7rem); margin-top: 1rem; }
.lead { margin-top: 2.6rem; max-width: 560px; font-family: var(--serif); font-size: 1.4rem; color: var(--cream-dim); line-height: 1.5; }
.liquid-visual { aspect-ratio: 4 / 5; max-height: 760px; }
.sensory {
  list-style: none;
  margin: clamp(5rem, 9vw, 8rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(2rem, 4vw, 4rem);
}
.sensory li {
  padding: 1.8rem 0 2.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .55rem;
}
.sensory li > span { color: var(--gold); font-size: .56rem; letter-spacing: .2em; }
.sensory strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: .01em; }
.sensory small { color: var(--cream-dim); font-size: .78rem; }
.alchemy-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  margin: 5rem auto 2rem;
  max-width: 860px;
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--gold);
}
.alchemy-row i { height: 1px; background: var(--line); }
.microcopy { margin: 3rem auto 0; max-width: 620px; text-align: center; color: rgba(242,234,219,.48); font-size: .72rem; }

/* ---------- 04 ritual ---------- */
.ritual-heading { text-align: center; margin-bottom: 6rem !important; }
.ritual-heading h2 { margin: 1rem 0 0; font-size: clamp(4rem, 8vw, 8rem); }
.ritual-list { list-style: none; padding: 0; margin: 0 auto !important; border-top: 1px solid var(--line); }
.ritual-list li {
  display: grid;
  grid-template-columns: 3rem 1fr 1fr;
  align-items: baseline;
  gap: 2rem;
  padding: 1.65rem .2rem;
  border-bottom: 1px solid var(--line-soft);
}
.ritual-list li > span { color: var(--gold); font-size: .58rem; }
.ritual-list strong { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; }
.ritual-list small { color: var(--cream-dim); font-size: .78rem; }
.ritual-note { max-width: 680px !important; margin-top: 4rem !important; margin-left: auto !important; color: var(--cream-dim); font-family: var(--serif); font-size: 1.35rem; }

/* ---------- 05 house ---------- */
.house-head { max-width: 950px; }
.house-head .display { margin-top: 1rem; }
.house-intro { margin: 2.4rem 0 0; max-width: 620px; font-family: var(--serif); font-size: 1.4rem; color: var(--cream-dim); line-height: 1.5; }
.house-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  margin-top: clamp(4rem, 7vw, 6rem);
}
.house-visuals .frame { aspect-ratio: 4 / 5; max-height: 680px; }
.house-visuals .frame:nth-child(2) { margin-top: clamp(2rem, 6vw, 6rem); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 7rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { min-height: 320px; padding: 2.5rem clamp(1rem, 3vw, 3rem); border-right: 1px solid var(--line-soft); }
.pillar:last-child { border-right: 0; }
.pillar-number { font-family: var(--serif); font-style: italic; color: var(--gold); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 2.5rem; margin: 4.5rem 0 1.2rem; }
.pillar p { font-size: .82rem; color: var(--cream-dim); max-width: 280px; }
.vessel-note {
  margin: 7rem 0 0;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(280px, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.vessel-visual { aspect-ratio: 16 / 10; }
.vessel-copy p:not(.eyebrow):not(.pullquote) { margin-top: 1.4rem; color: var(--cream-dim); font-size: .95rem; max-width: 520px; }
.vessel-copy .pullquote { margin-top: 2.2rem; font-size: 1.4rem; }

/* ---------- 06 status ---------- */
.status {
  min-height: 82svh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.status-copy { position: relative; z-index: 2; max-width: 760px; }
.status h2 { margin: 1rem 0 1.5rem; font-size: clamp(4rem, 8vw, 8rem); }
.status-copy > p:not(.eyebrow) { color: var(--cream-dim); max-width: 530px; margin-left: auto; margin-right: auto; }
.status-line { margin-top: 2.4rem; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(242,234,219,.48) !important; }
.status-ring {
  position: absolute;
  width: min(75vw, 850px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: .45;
}
.status-ring::before, .status-ring::after { content:''; position:absolute; border:1px solid var(--line-soft); border-radius:50%; inset: 12%; }
.status-ring::after { inset: 29%; border-color: var(--line); }
.button {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  border: 1px solid var(--gold);
  padding: 1rem 1.5rem;
  color: var(--cream);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { background: var(--gold); color: var(--ink); }

/* ---------- footer ---------- */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 2rem;
  padding: 3.5rem var(--pad);
  border-top: 1px solid var(--line-soft);
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242,234,219,.45);
}
.footer > div { display: flex; flex-direction: column; gap: .3rem; }
.footer-mark { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); letter-spacing: .28em; }
.footer p { margin: 0; }
.footer > p:nth-child(2) { font-family: var(--serif); text-transform: none; letter-spacing: .04em; font-size: 1rem; color: var(--gold); }
.legal { justify-self: end; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { align-items: flex-end; padding-bottom: 6.5rem; }
  .hero-visual { width: 100%; }
  .hero-visual img { object-position: 50% 40%; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(9,7,17,.6), rgba(9,7,17,.12) 22%, rgba(9,7,17,.5) 42%, rgba(9,7,17,.93) 62%, var(--ink) 90%);
  }
  .hero-content { width: 100%; }
  .manifesto-grid, .origin-layout, .liquid-layout, .vessel-note { grid-template-columns: 1fr; }
  .origin-visual { order: 2; max-height: 560px; }
  .origin-copy { order: 1; }
  .liquid-visual { max-height: 600px; }
  .sensory { grid-template-columns: 1fr 1fr; }
  .house-visuals { gap: 1rem; }
  .house-visuals .frame:nth-child(2) { margin-top: 3rem; }
  .house-visuals .frame { max-height: 520px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .pillar:last-child { border-bottom: 0; }
  .pillar h3 { margin-top: 2.5rem; }
  .footer { grid-template-columns: 1fr; }
  .legal { justify-self: start; }
}

@media (max-width: 620px) {
  :root { --pad: 1.25rem; }
  .site-header { height: 4.4rem; }
  .header-link { font-size: .54rem; }
  .hero { padding-top: 7rem; padding-bottom: 6rem; min-height: 100svh; }
  .hero h1 { font-size: clamp(3.9rem, 18vw, 6rem); }
  .hero-copy { font-size: 1.22rem; }
  .hero-actions { gap: 1rem 1.6rem; }
  .coordinates { left: var(--pad); right: auto; bottom: 1.4rem; }
  .section { padding-top: 6.5rem; padding-bottom: 6.5rem; }
  .display { font-size: clamp(3.2rem, 15vw, 5rem); }
  .origin-copy h2 { font-size: 3rem; }
  .origin-visual, .liquid-visual { max-height: 480px; }
  .sensory { grid-template-columns: 1fr; }
  .sensory li { padding: 1.3rem 0 1.5rem; }
  .sensory strong { font-size: 1.45rem; }
  .alchemy-row { gap: .55rem; font-size: .48rem; letter-spacing: .1em; }
  .ritual-heading h2 { font-size: 4.1rem; }
  .ritual-list li { grid-template-columns: 2rem 1fr; gap: .75rem; }
  .ritual-list small { grid-column: 2; margin-top: -.5rem; }
  .house-visuals { grid-template-columns: 1fr; }
  .house-visuals .frame:nth-child(2) { margin-top: 0; }
  .house-visuals .frame { max-height: 440px; }
  .vessel-note { margin-top: 5rem; gap: 1.8rem; }
  .status { min-height: 75svh; }
  .status h2 { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
