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

/* ============ Tokens ============ */
:root {
  --bg: #121411;
  --bg-2: #181b16;
  --panel: #1d211b;
  --ink: #efebe0;
  --muted: #b9baad;
  --dim: #8f9284;
  --gold: #c2ad83;
  --gold-hi: #e0cc9f;
  --gold-lo: #8f7d58;
  --line: rgba(194, 173, 131, 0.18);
  --line-strong: rgba(194, 173, 131, 0.36);

  --paper: #ece8de;
  --paper-ink: #22261f;
  --paper-muted: #575c4e;
  --paper-accent: #7a6a43;
  --paper-line: rgba(60, 64, 48, 0.16);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, Arial, sans-serif;

  --pad-x: clamp(22px, 7vw, 120px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
em { font-weight: 400; color: var(--gold); }
p { color: var(--muted); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 {
  font-family: var(--serif);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 { font-size: clamp(42px, 5.4vw, 80px); }
h1 em, h2 em {
  background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 45%, var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad-x);
  background: linear-gradient(to bottom, rgba(18, 20, 17, 0.9), rgba(18, 20, 17, 0.72));
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}
.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-top: 9px;
  color: var(--gold);
}
nav {
  display: flex;
  gap: 38px;
  font-size: 14px;
  color: #cfcfc3;
}
nav a, .header-link { position: relative; transition: color 0.3s; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease);
}
nav a:hover { color: var(--gold-hi); }
nav a:hover::after { right: 0; }
.header-link {
  font-size: 14px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.header-link:hover { color: var(--gold-hi); border-color: var(--gold); }
.header-link span { color: var(--gold); font-size: 17px; line-height: 1; }
.menu-toggle { display: none; }

/* ============ Hero ============ */
.hero {
  min-height: 820px;
  height: 100svh;
  max-height: 1100px;
  position: relative;
  overflow: hidden;
  padding: 130px var(--pad-x) 130px;
  display: flex;
  align-items: center;
}
.hero-copy {
  z-index: 2;
  position: relative;
  max-width: 760px;
  animation: enter 1.2s var(--ease) both;
}
.eyebrow, .section-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.tiny-star {
  font-size: 22px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  animation: twinkle 4s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(60px, 7.4vw, 118px);
  margin: 24px 0 28px;
}
.hero-copy p {
  font-size: 18px;
  line-height: 1.75;
  color: #c9c9bd;
}
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #a8936a);
  color: #14160f;
  border: 0;
  padding: 19px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-width: 250px;
  box-shadow: 0 10px 40px -12px rgba(194, 173, 131, 0.55);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px -12px rgba(194, 173, 131, 0.7);
}
.button:hover::before { transform: translateX(120%); }
.button span { font-size: 20px; line-height: 1; transition: transform 0.4s var(--ease); }
.button:hover span { transform: translate(3px, -3px); }
.hero .button { margin-top: 40px; }

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 74% 50%, rgba(194, 173, 131, 0.13), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(70, 90, 60, 0.18), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.celestial {
  position: absolute;
  width: 600px;
  height: 600px;
  right: 6%;
  top: 50%;
  transform: translateY(-45%);
  color: var(--gold);
  animation: enter 2s var(--ease) 0.2s both;
}
.orbit { position: absolute; border: 1px solid rgba(194, 173, 131, 0.28); border-radius: 50%; inset: 0; }
.o1 { inset: 8%; outline: 1px solid rgba(194, 173, 131, 0.08); outline-offset: 16px; }
.o2 { inset: 17%; border-style: dashed; border-color: rgba(194, 173, 131, 0.25); animation: spin 140s linear infinite; }
.o3 { inset: 28%; transform: rotate(-35deg) scaleX(1.65); border-color: rgba(194, 173, 131, 0.35); }
.o4 { inset: 28%; transform: rotate(35deg) scaleX(1.65); border-color: rgba(194, 173, 131, 0.35); }
.axis {
  position: absolute;
  width: 110%;
  height: 1px;
  left: -5%;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(194, 173, 131, 0.3), transparent);
}
.a2 { transform: rotate(60deg); }
.a3 { transform: rotate(-60deg); }
.sun {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #cbbd94, #7a7252 32%, #343a25 66%, #141912 86%);
  box-shadow: inset -14px -15px 28px #080c07, 0 0 80px rgba(194, 173, 131, 0.18);
  border: 1px solid rgba(194, 173, 131, 0.45);
  display: grid;
  place-items: center;
  animation: breathe 8s ease-in-out infinite;
}
.sun::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(194, 173, 131, 0.16);
  border-radius: 50%;
}
.sun-inner {
  font-family: var(--serif);
  font-size: 75px;
  color: #e3d4a8;
  opacity: 0.85;
  text-shadow: 0 0 28px #d7c79a;
}
.satellite {
  width: 9px;
  height: 9px;
  position: absolute;
  background: #e0cc9f;
  box-shadow: 0 0 18px rgba(224, 204, 159, 0.6);
  border-radius: 50%;
}
.s1 { top: 23%; left: 17%; animation: float 7s ease-in-out infinite; }
.s2 { bottom: 18%; right: 23%; width: 6px; height: 6px; animation: float 9s ease-in-out -3s infinite; }
.coordinate {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.24em;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 11px;
  color: #b3a37f;
}
.c1 { top: 6%; left: 42%; }
.c2 { top: 67%; right: 0; }
.c3 { top: 70%; left: 0; }
.orbit-caption {
  position: absolute;
  bottom: -30px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.38em;
  color: #96917a;
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
  z-index: 2;
}
.hero-bottom a { letter-spacing: 0.06em; font-size: 13px; color: #c4c4b8; transition: color 0.3s; }
.hero-bottom a:hover { color: var(--gold-hi); }
.hero-bottom a span { margin-left: 14px; color: var(--gold); display: inline-block; animation: nudge 2.4s ease-in-out infinite; }

/* ============ Sections ============ */
.section { padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 34px 0 70px;
  gap: 40px;
}
.section-intro > p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 8px;
}

/* Philosophy (light) */
.philosophy {
  background: var(--paper);
  color: var(--paper-ink);
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(110px, 12vw, 170px);
}
.philosophy .section-label { color: var(--paper-accent); }
.philosophy-content { margin-left: 22%; position: relative; z-index: 1; }
.philosophy h2 { margin-top: 22px; }
.philosophy em, .book-copy em, .book-dialog em {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--paper-accent);
}
.two-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  margin-top: 54px;
}
.two-columns p { color: var(--paper-muted); font-size: 17px; line-height: 1.8; }
.two-columns p + p { margin-top: 20px; }
.two-columns .lead {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.3;
  color: #33392c;
  padding-left: 22px;
  border-left: 1px solid var(--paper-accent);
}
.text-link {
  display: inline-flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 500;
  background: none;
  color: var(--gold);
  margin-top: 30px;
  transition: gap 0.4s var(--ease), color 0.3s;
}
.text-link:hover { gap: 40px; color: var(--gold-hi); }
.text-link span { font-size: 18px; line-height: 1; }
.philosophy .text-link, .book-copy .text-link { color: #4f5641; }
.philosophy .text-link:hover, .book-copy .text-link:hover { color: var(--paper-accent); }
.wordmark {
  position: absolute;
  bottom: -0.3em;
  left: 4%;
  font-family: var(--serif);
  font-size: clamp(90px, 14vw, 220px);
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0.06;
  pointer-events: none;
}

/* Method */
.method { position: relative; }
.method-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.method-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.2;
  color: #a7a99c;
  transition: color 0.35s, padding 0.45s var(--ease);
}
.method-tabs button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.method-tabs button:hover { color: var(--ink); }
.method-tabs button span {
  font: 500 12px var(--sans);
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-right: 26px;
}
.method-tabs button b {
  margin-left: auto;
  font: 22px var(--sans);
  color: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  transition: 0.35s var(--ease);
}
.method-tabs button[aria-selected="true"] { color: var(--gold-hi); padding-left: 14px; }
.method-tabs button[aria-selected="true"]::before { width: 100%; }
.method-tabs button[aria-selected="true"] span { color: var(--gold); }
.method-tabs button[aria-selected="true"] b { opacity: 1; transform: none; }
.method-panel {
  min-height: 460px;
  text-align: center;
  padding: 50px 40px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(194, 173, 131, 0.09), transparent 65%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.diagram {
  height: 190px;
  position: relative;
  width: 200px;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
}
.diagram i {
  position: absolute;
  width: 124px;
  height: 124px;
  border: 1px solid rgba(194, 173, 131, 0.45);
  border-radius: 50%;
}
.diagram i:nth-child(1) { transform: translate(-30px, 5px); }
.diagram i:nth-child(2) { transform: translate(30px, 5px); }
.diagram i:nth-child(3) { transform: translateY(-40px); }
.diagram span { font-size: 40px; color: var(--gold); animation: twinkle 5s ease-in-out infinite; }
.method-panel .eyebrow { font-size: 11px; }
.method-panel h3 { font: 36px/1.15 var(--serif); margin: 14px 0 18px; color: var(--ink); }
.method-panel p { font-size: 16px; max-width: 420px; margin: auto; line-height: 1.8; }
.method-note {
  font-size: 13px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 70px;
  max-width: 760px;
  color: var(--dim);
}

/* Experience */
.experience {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps article {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease);
}
.steps article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 48px;
  height: 1px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.steps article:hover {
  border-color: var(--line-strong);
  background: rgba(194, 173, 131, 0.04);
  transform: translateY(-4px);
}
.steps article:hover::before { width: calc(100% + 2px); }
.step-number { font: italic 44px/1 var(--serif); color: var(--gold); }
.steps h3 { font: 32px/1.1 var(--serif); margin: 28px 0 14px; color: var(--ink); }
.steps p { font-size: 15px; line-height: 1.7; min-height: 102px; }
.step-caption {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #a39675;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Book */
.book-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  background: var(--paper);
  color: var(--paper-ink);
}
.book-visual {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, #d6d1c0, transparent 70%);
}
.book {
  width: 290px;
  height: 414px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(100deg, #141a14, #343c2d 8%, #242e23 12%, #293326 92%, #171e17);
  border: 1px solid #4e5940;
  box-shadow: 30px 40px 50px rgba(40, 42, 28, 0.32), 3px 3px 0 #c4c0ae, 6px 5px 0 #7a7e68;
  transform: rotateY(-19deg) rotateZ(-8deg);
  transition: transform 1.1s var(--ease);
  color: #cdbd8e;
  animation: hover-book 8s ease-in-out infinite;
}
.book:hover { transform: rotateY(-4deg) rotateZ(-2deg); }
.book::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(194, 173, 131, 0.3);
  pointer-events: none;
}
.book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 240, 200, 0.08) 50%, transparent 65%);
  pointer-events: none;
}
.book-top { font-size: 7px; letter-spacing: 0.26em; margin-top: 40px; }
.book-emblem { font-size: 46px; margin: 20px 0 3px; }
.book-title { font: 60px/0.88 var(--serif); letter-spacing: 0.04em; text-align: center; }
.book-subtitle { font-size: 6px; letter-spacing: 0.2em; margin-top: 24px; }
.book-bottom { font-size: 7px; letter-spacing: 0.16em; text-align: center; margin-top: 42px; line-height: 2.4; }
.book-bottom b { font: italic 12px var(--serif); }
.visual-caption {
  position: absolute;
  bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #74786a;
}
.book-copy .section-label { color: var(--paper-accent); }
.book-copy h2 { margin: 26px 0 28px; }
.book-copy > p { font-size: 17px; line-height: 1.8; color: var(--paper-muted); max-width: 460px; }
.book-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin-top: 32px;
  font-size: 14px;
  color: #4b5141;
}
.book-topics span {
  padding: 8px 16px;
  border: 1px solid rgba(60, 64, 48, 0.22);
  border-radius: 999px;
  transition: background 0.3s, border-color 0.3s;
}
.book-topics span:hover { background: rgba(122, 106, 67, 0.08); border-color: var(--paper-accent); }

/* Formats */
.format-row {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 32px;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 32px 16px;
  transition: background 0.4s, padding 0.45s var(--ease);
}
.format-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.45s var(--ease);
}
.format-row:last-child { border-bottom: 1px solid var(--line); }
.format-row:hover {
  background: linear-gradient(90deg, rgba(194, 173, 131, 0.08), transparent 70%);
  padding-left: 30px;
}
.format-row:hover::before { transform: scaleY(1); }
.format-index { font: italic 24px var(--serif); width: 44px; color: var(--gold-lo); flex-shrink: 0; }
.format-row h3 { font: 34px/1.15 var(--serif); letter-spacing: 0.01em; color: var(--ink); }
.format-row p { font-size: 15px; margin-top: 6px; }
.price {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-hi);
  white-space: nowrap;
}
.format-arrow {
  font-size: 24px;
  color: var(--gold);
  margin-left: 28px;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease);
}
.format-row:hover .format-arrow { background: var(--gold); color: var(--bg); transform: rotate(45deg); }
.fine-print { font-size: 13px; line-height: 1.6; color: var(--dim); margin-top: 26px; }

/* Invitation */
.invitation {
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(194, 173, 131, 0.08), transparent 70%), var(--bg-2);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.invitation > div:not(.invitation-ring) { position: relative; }
.invitation-star {
  font-size: 48px;
  color: var(--gold);
  display: block;
  margin: 26px 0;
  animation: twinkle 4s ease-in-out infinite;
}
.invitation h2 { font-size: clamp(54px, 6.8vw, 100px); }
.invitation p { font-size: 18px; line-height: 1.7; margin: 28px 0 38px; }
.invitation-caption {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--dim);
  margin-top: 34px;
}
.invitation-ring {
  position: absolute;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(194, 173, 131, 0.14);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 60px rgba(194, 173, 131, 0.015), 0 0 0 120px rgba(194, 173, 131, 0.012);
  animation: breathe-ring 10s ease-in-out infinite;
}

/* FAQ */
.faq { max-width: 1040px; margin: auto; }
.faq .section-label { margin-bottom: 34px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  padding: 26px 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.25;
  transition: color 0.3s;
}
summary:hover { color: var(--gold-hi); }
summary::-webkit-details-marker { display: none; }
summary span {
  flex-shrink: 0;
  color: var(--gold);
  font: 22px/1 var(--sans);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background 0.3s;
}
details[open] summary span { transform: rotate(45deg); background: rgba(194, 173, 131, 0.1); }
details p { font-size: 16px; line-height: 1.8; padding-bottom: 28px; max-width: 720px; }
details[open] p { animation: enter 0.5s var(--ease) both; }

/* Footer */
footer {
  padding: 48px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
footer p, footer > span { font-size: 13px; }
footer > span { color: var(--dim); text-align: right; line-height: 1.6; }

/* Dialogs */
dialog {
  background: linear-gradient(180deg, #22271f, #1a1e18);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 56px;
  width: min(620px, calc(100% - 28px));
  max-height: 90svh;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6);
}
dialog[open] { animation: dialog-in 0.5s var(--ease) both; }
dialog::backdrop { background: rgba(8, 10, 8, 0.8); backdrop-filter: blur(8px); }
dialog h2 { font-size: 52px; margin: 22px 0; }
dialog > p { font-size: 16px; }
.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 26px/1 var(--serif);
  color: var(--gold);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.close:hover { background: rgba(194, 173, 131, 0.12); transform: rotate(90deg); }
label { display: block; font-size: 14px; margin: 24px 0; color: var(--muted); }
select, textarea {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(10, 12, 10, 0.5);
  border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(194, 173, 131, 0.12); outline: none; }
textarea { resize: vertical; line-height: 1.6; }
.book-dialog { background: var(--paper); color: var(--paper-ink); }
.book-dialog .close { color: var(--paper-accent); border-color: var(--paper-line); }
.book-dialog .eyebrow { color: var(--paper-accent); font-size: 11px; padding-right: 40px; }
.sample-page { min-height: 360px; }
.sample-page > span { font-size: 12px; letter-spacing: 0.12em; color: #74796a; display: block; margin-top: 26px; }
.sample-page p { font-size: 16px; line-height: 1.8; color: var(--paper-muted); }
.sample-page blockquote {
  margin: 28px 0;
  padding-left: 22px;
  border-left: 2px solid var(--paper-accent);
  font: italic 27px/1.3 var(--serif);
  color: #4f5640;
}
.book-dialog .fine-print { color: #7b7f70; }
.page-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  font-size: 13px;
  color: #6c7161;
}
.page-controls button {
  width: 52px;
  height: 52px;
  border: 1px solid #a3a491;
  border-radius: 50%;
  background: transparent;
  color: #3f4636;
  font-size: 18px;
  transition: background 0.3s, color 0.3s;
}
.page-controls button:not(:disabled):hover { background: var(--paper-ink); color: var(--paper); }
.page-controls button:disabled { opacity: 0.25; cursor: default; }
#form-status { color: var(--gold); font-size: 15px; }

/* ============ Reveal ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }
.steps article.reveal.visible:hover { transform: translateY(-4px); }
.steps article:nth-child(2), .format-row:nth-child(2) { transition-delay: 0.08s; }
.steps article:nth-child(3), .format-row:nth-child(3) { transition-delay: 0.16s; }
.steps article:nth-child(4), .format-row:nth-child(4) { transition-delay: 0.24s; }
.format-row:nth-child(5) { transition-delay: 0.32s; }
.js .steps article.reveal {
  transition: opacity 1s var(--ease), transform 0.6s var(--ease), border-color 0.4s, background 0.4s;
}
.js .format-row.reveal {
  transition: opacity 1s var(--ease), transform 1s var(--ease), background 0.4s, padding 0.45s var(--ease);
}

/* ============ Keyframes ============ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  50% { box-shadow: inset -14px -15px 28px #080c07, 0 0 110px rgba(194, 173, 131, 0.3); }
}
@keyframes breathe-ring {
  50% { transform: translate(-50%, -50%) scale(1.03); border-color: rgba(194, 173, 131, 0.22); }
}
@keyframes twinkle { 50% { opacity: 0.45; transform: scale(0.88) rotate(15deg); } }
@keyframes float { 50% { translate: 6px -8px; } }
@keyframes nudge { 50% { transform: translateY(4px); } }
@keyframes hover-book { 50% { translate: 0 -10px; } }
@keyframes enter {
  from { opacity: 0; translate: 0 20px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (min-width: 1600px) {
  .section { padding-left: calc((100vw - 1380px) / 2); padding-right: calc((100vw - 1380px) / 2); }
  .celestial { right: 10%; }
}
@media (max-width: 1180px) {
  .celestial { width: 480px; height: 480px; right: -6%; opacity: 0.8; }
  .philosophy-content { margin-left: 12%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps p { min-height: 0; }
  nav { gap: 24px; }
}
@media (max-width: 960px) {
  .header-link { display: none; }
}
@media (max-width: 860px) {
  :root { --pad-x: 24px; }
  html { scroll-padding-top: 76px; }
  .header { height: 72px; }
  .brand { font-size: 24px; }
  .brand span { font-size: 8px; margin-top: 7px; }
  .header-link { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    background: none;
    color: var(--gold);
    font-size: 20px;
    line-height: 1;
  }
  .header nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100svh - 72px);
    background: var(--bg);
    padding: 40px var(--pad-x);
  }
  .header nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .header nav.open a { animation: enter 0.5s var(--ease) both; }
  .header nav.open a:nth-child(2) { animation-delay: 0.05s; }
  .header nav.open a:nth-child(3) { animation-delay: 0.1s; }
  .header nav.open a:nth-child(4) { animation-delay: 0.15s; }
  .header nav a {
    font-family: var(--serif);
    font-size: 38px;
    color: var(--ink);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .header nav a::after { display: none; }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 130px var(--pad-x) 440px;
    align-items: start;
  }
  .hero h1 { font-size: clamp(50px, 14vw, 76px); margin: 22px 0 24px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-copy p { font-size: 17px; }
  .hero .button { margin-top: 32px; width: 100%; }
  .celestial {
    width: 340px;
    height: 340px;
    top: auto;
    bottom: 70px;
    right: calc(50% - 170px);
    transform: none;
    opacity: 0.9;
  }
  .sun-inner { font-size: 47px; }
  .coordinate { font-size: 9px; padding: 4px 8px; }
  .c2 { right: 0; }
  .c3 { left: 0; }
  .orbit-caption { font-size: 9px; bottom: -24px; letter-spacing: 0.3em; }
  .hero-bottom { bottom: 20px; justify-content: center; }
  .hero-bottom > span { display: none; }

  .section-label { font-size: 11px; }
  .section-label::before { width: 24px; }
  .philosophy-content { margin-left: 0; }
  .two-columns { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .two-columns p { font-size: 16px; }
  .two-columns .lead { font-size: 28px; }
  .section-intro { display: block; margin: 26px 0 40px; }
  .section-intro > p { margin-top: 20px; font-size: 16px; }

  .method-layout { grid-template-columns: 1fr; gap: 28px; }
  .method-tabs button { padding: 18px 0; font-size: 28px; }
  .method-panel { min-height: 0; padding: 36px 22px; }
  .method-panel h3 { font-size: 30px; }
  .method-panel p { font-size: 15px; }
  .diagram { height: 160px; margin-top: 0; }
  .method-note { margin-top: 40px; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps article { padding: 26px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .step-number { grid-row: span 3; font-size: 38px; }
  .steps h3 { font-size: 28px; margin: 0 0 8px; }
  .steps p { font-size: 15px; }
  .step-caption { margin-top: 16px; padding-top: 14px; font-size: 10px; }

  .book-section { grid-template-columns: 1fr; gap: 20px; }
  .book-visual { min-height: 470px; order: 2; }
  .book { width: 250px; height: 360px; }
  .book-title { font-size: 52px; }
  .book-top { margin-top: 32px; }
  .book-bottom { margin-top: 30px; }
  .book-copy h2 { font-size: 46px; }
  .book-copy > p { font-size: 16px; }
  .book-topics { font-size: 13px; }

  .format-row { flex-wrap: wrap; gap: 6px 14px; padding: 26px 64px 26px 0; }
  .format-row:hover { padding-left: 10px; }
  .format-index { width: 30px; font-size: 18px; align-self: flex-start; padding-top: 6px; }
  .format-row > div { flex: 1; min-width: 0; }
  .format-row h3 { font-size: 28px; }
  .format-row p { font-size: 14px; }
  .price { margin-left: 44px; font-size: 21px; width: 100%; margin-top: 6px; }
  .format-arrow { position: absolute; right: 0; top: 26px; width: 44px; height: 44px; font-size: 20px; margin: 0; }

  .invitation h2 { font-size: clamp(46px, 13vw, 64px); }
  .invitation p { font-size: 16px; }
  .invitation .button { width: 100%; }
  .invitation-ring { width: 560px; height: 560px; }

  summary { font-size: 22px; padding: 22px 0; }
  details p { font-size: 15px; }

  footer { flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px var(--pad-x); }
  footer > span { text-align: left; }

  dialog { padding: 52px 22px 30px; }
  dialog h2 { font-size: 40px; }
  .sample-page blockquote { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
