:root {
  --ink: #090807;
  --ink2: #12100c;
  --card: #17140f;
  --line: rgba(201, 164, 92, 0.28);
  --gold: #c9a45c;
  --gold-hi: #f0d9a4;
  --ivory: #f4ede1;
  --mute: rgba(244, 237, 225, 0.62);
  --dim: rgba(244, 237, 225, 0.38);
  --red: #d0675f;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
::selection { background: var(--gold); color: var(--ink); }

/* film grain over everything */
body::after {
  content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: 0.07;
  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.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.accent { color: var(--gold); font-style: italic; }
.kicker {
  display: inline-flex; align-items: center; gap: 14px; color: var(--gold);
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
}
.kicker::before, .kicker::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.kicker.left::before { display: none; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0; transition: background 0.3s, backdrop-filter 0.3s; }
.nav.scrolled { background: rgba(9, 8, 7, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(201, 164, 92, 0.12); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.mono {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: var(--gold-hi); letter-spacing: 0.04em;
}
.brand-name { font-size: 12px; font-weight: 600; letter-spacing: 0.34em; }

/* buttons */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 34px; border-radius: 999px; border: 1.5px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: var(--ink);
  font: 600 14px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 40px rgba(201, 164, 92, 0.25); transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); animation: sheen 3.2s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { left: -80px; } 100% { left: 120%; } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(201, 164, 92, 0.35); }
.btn:disabled { opacity: 0.5; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--gold-hi); box-shadow: none; }
.btn.ghost::after { display: none; }
.btn.sm { padding: 12px 20px; font-size: 11px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: push 22s ease-out both; filter: brightness(0.62) contrast(1.08); }
@keyframes push { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.55) 0%, rgba(9, 8, 7, 0.1) 35%, rgba(9, 8, 7, 0.75) 72%, var(--ink) 100%);
}
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 17vw, 156px); line-height: 0.92; margin: 22px 0 22px; letter-spacing: -0.025em; }
.hero h1 .accent { display: block; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--mute); max-width: 560px; margin: 0 0 34px; }
.hero .meta { margin-top: 18px; font-size: 13px; color: var(--dim); letter-spacing: 0.04em; }
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 0.12s; } .d2 { transition-delay: 0.24s; } .d3 { transition-delay: 0.36s; } .d4 { transition-delay: 0.48s; }

/* sections */
section { padding: 96px 0; position: relative; }
.sec-title { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 8vw, 76px); line-height: 1; margin: 18px 0 18px; letter-spacing: -0.02em; }
.sec-lead { color: var(--mute); max-width: 620px; font-size: 18px; margin: 0; }
.center { text-align: center; }
.center .sec-lead { margin-inline: auto; }

.nots { display: grid; gap: 14px; margin-top: 48px; }
.not {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r);
  background: var(--ink2); border: 1px solid rgba(244, 237, 225, 0.07);
}
.not .x { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--red); display: grid; place-items: center; color: var(--red); font-size: 18px; }
.not span { font-family: var(--serif); font-size: 26px; text-decoration: line-through; text-decoration-color: rgba(208, 103, 95, 0.7); text-decoration-thickness: 2px; color: var(--mute); }
.yes {
  margin-top: 14px; padding: 30px 26px; border-radius: var(--r); border: 1px solid var(--gold);
  background: radial-gradient(ellipse at 20% 0%, rgba(201, 164, 92, 0.18), transparent 60%), var(--card);
}
.yes .serif { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; }
.yes p { color: var(--mute); margin: 12px 0 0; }

.who { background: linear-gradient(180deg, var(--ink), #0e0c09 50%, var(--ink)); }
.profiles { display: grid; gap: 14px; margin-top: 48px; }
.profile {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline; padding: 24px; border-radius: var(--r);
  background: var(--card); border: 1px solid rgba(244, 237, 225, 0.07); transition: border-color 0.3s, transform 0.3s;
}
.profile:hover { border-color: var(--line); transform: translateY(-2px); }
.profile .n { grid-row: span 2; font-family: var(--serif); font-size: 64px; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.2px var(--gold); font-variant-numeric: lining-nums; }
.profile h3 { margin: 0; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-hi); font-weight: 600; }
.profile p { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.25; }
.note-inline { margin-top: 22px; color: var(--dim); font-size: 14px; text-align: center; }

.steps { display: grid; gap: 0; margin-top: 52px; counter-reset: s; }
.step { position: relative; padding: 0 0 38px 64px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 21px; color: var(--gold-hi); background: var(--ink);
}
.step::after { content: ''; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 1px; background: linear-gradient(var(--line), transparent); }
.step:last-child::after { display: none; }
.step h3 { margin: 6px 0 6px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.step p { margin: 0; color: var(--mute); }

.band { position: relative; overflow: hidden; padding: 140px 0; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.35) saturate(0.85); }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink), transparent 30%, transparent 70%, var(--ink)); }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(34px, 7vw, 64px); line-height: 1.08; text-align: center; }

.faq { margin-top: 44px; border-top: 1px solid rgba(244, 237, 225, 0.1); }
.faq details { border-bottom: 1px solid rgba(244, 237, 225, 0.1); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--gold); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--mute); max-width: 680px; }

.final { text-align: center; padding: 120px 0 140px; }
.final .sec-title { font-size: clamp(54px, 13vw, 110px); }
.final p { color: var(--mute); margin: 0 0 36px; }

footer { border-top: 1px solid rgba(244, 237, 225, 0.08); padding: 36px 0 48px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer a { color: var(--mute); text-decoration: none; }
footer a:hover { color: var(--gold-hi); }
footer nav { display: flex; gap: 22px; }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  transform: translateY(140%); transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }

@media (min-width: 760px) {
  .nots { grid-template-columns: repeat(3, 1fr); }
  .profiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { padding: 64px 0 0 0; }
  .step::after { left: 50px; right: -28px; top: 20px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
  .sticky-cta { display: none; }
}

/* ───────── application form ───────── */
.apply-page { min-height: 100svh; padding: 100px 0 80px; background: radial-gradient(ellipse at 50% -10%, rgba(201, 164, 92, 0.16), transparent 55%), var(--ink); }
.apply { width: min(640px, 100% - 32px); margin-inline: auto; }
.apply h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 10vw, 64px); line-height: 1; margin: 16px 0 12px; letter-spacing: -0.02em; }
.apply .sub { color: var(--mute); margin: 0 0 30px; }
.progress { display: flex; gap: 8px; margin: 0 0 10px; }
.progress i { flex: 1; height: 3px; border-radius: 2px; background: rgba(244, 237, 225, 0.12); overflow: hidden; position: relative; }
.progress i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.progress i.on::after { transform: scaleX(1); }
.step-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.panel { display: none; animation: panelIn 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.panel h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.1; margin: 0 0 8px; }
.panel .hint { color: var(--mute); margin: 0 0 26px; font-size: 15px; }

.field { margin-bottom: 20px; }
.field label, .field .lbl { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ivory); }
.field .lbl small, .field label small { color: var(--dim); font-weight: 400; }
.req { color: var(--gold); }
.row2 { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: 16px 16px; border-radius: 14px; border: 1px solid rgba(244, 237, 225, 0.14); background: rgba(244, 237, 225, 0.04);
  color: var(--ivory); font: 400 16px/1.4 var(--sans); outline: none; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
select option { background: var(--card); color: var(--ivory); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); background: rgba(201, 164, 92, 0.06); box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.12); }
.invalid input, .invalid select, .invalid textarea, .invalid .choices { border-color: var(--red) !important; }
.err { display: none; color: var(--red); font-size: 13px; margin-top: 6px; }
.invalid .err { display: block; }
.count { float: right; color: var(--dim); font-size: 12px; font-weight: 400; }

.choices { display: grid; gap: 10px; border-radius: 16px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 18px; border-radius: 14px;
  border: 1px solid rgba(244, 237, 225, 0.12); background: rgba(244, 237, 225, 0.03); transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.choice .box:hover { border-color: var(--line); }
.choice input:checked + .box { border-color: var(--gold); background: rgba(201, 164, 92, 0.14); box-shadow: 0 0 0 1px var(--gold), 0 8px 30px rgba(201, 164, 92, 0.18); }
.choice input:checked + .box .tag { color: var(--gold-hi); }
.chips .choice input:checked + .box { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: var(--ink); box-shadow: 0 6px 20px rgba(201, 164, 92, 0.3); }
.choice input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.2); }
.choice .tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 1.5px solid rgba(244, 237, 225, 0.35); display: grid; place-items: center; transition: all 0.2s; }
.choice input[type=checkbox] + .box .tick { border-radius: 6px; }
.choice input:checked + .box .tick { border-color: var(--gold); background: var(--gold); }
.choice input:checked + .box .tick::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.choice input[type=checkbox]:checked + .box .tick::after { width: 10px; height: 5px; border-radius: 0; background: none; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.choice b { display: block; font-weight: 600; font-size: 15px; }
.choice span.d { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.choice .tag { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--gold); min-width: 22px; font-variant-numeric: lining-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .choice .box { padding: 11px 16px; border-radius: 999px; align-items: center; gap: 10px; }
.chips .choice .tick { display: none; }

.nav-btns { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 32px; }
.nav-btns .btn { flex: 1; }
.nav-btns .btn.ghost { flex: 0 0 auto; }
.form-error { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--red); color: #f2c3be; background: rgba(208, 103, 95, 0.1); font-size: 14px; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 14px; color: var(--mute); }
.consent a { color: var(--gold-hi); }

.done { text-align: center; padding-top: 40px; display: none; }
.done.show { display: block; animation: panelIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.seal { width: 120px; height: 120px; margin: 0 auto 30px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; box-shadow: 0 0 60px rgba(201, 164, 92, 0.25); }
.seal svg { width: 50px; height: 50px; }
.seal path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.7s 0.3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1.05; margin: 0 0 16px; }
.done p { color: var(--mute); max-width: 460px; margin: 0 auto 12px; }

/* legal page */
.legal { width: min(760px, 100% - 32px); margin: 0 auto; padding: 120px 0 80px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1; margin: 16px 0 24px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--mute); }
.todo { color: var(--ink); background: var(--gold-hi); padding: 0 6px; border-radius: 4px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
