/* ==========================================================================
   Elyra Management: styles
   Dark luxury. Near-black, warm gold, Fraunces display with Inter body.
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-2: #0b0a08;
  --bg-3: #100f0c;
  --panel: #0f0e0c;
  --panel-2: #14120e;
  --text: #f4f0e8;
  --muted: #b3ada5;          /* ~8.6:1 on --bg */
  --dim: #8f8981;            /* ~5.6:1 on --bg */
  --gold: #d9b36a;
  --gold-2: #f0d39a;
  --gold-deep: #b78a42;
  --gold-grad: linear-gradient(135deg, #f3dba6 0%, #d9b36a 45%, #b78a42 100%);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-gold: rgba(217, 179, 106, .38);
  --glow: rgba(217, 179, 106, .14);
  --error: #ff8f7a;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --nav-h: 76px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--gold); color: #0a0a0a; }

.wrap { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }

/* Focus ------------------------------------------------------------------ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Type ------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: .04em;
  font-size: 13px;
  color: var(--gold);
}
.eyebrow__num::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--line-gold);
}

h1, h2, .card h3, .step__num, .pull p, .pillar__mark {
  font-family: var(--serif);
  font-weight: 300;
  font-optical-sizing: auto;
}
h2 em, h1 em {
  font-style: italic;
  font-weight: 300;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 500 12px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  border-color: transparent;
  background: var(--gold-grad);
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 30px -14px rgba(217, 179, 106, .6);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 44px -14px rgba(217, 179, 106, .75); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--outline { border-color: var(--line-gold); background: rgba(217, 179, 106, .02); }
.btn--outline:hover { border-color: var(--gold); background: rgba(217, 179, 106, .09); color: var(--gold-2); }
.btn--sm { min-height: 40px; padding: 10px 18px; font-size: 11px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 12.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn__arrow { display: inline-block; font-size: 15px; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  height: 1px;
  background: var(--line-gold);
  transform-origin: right;
  transition: background-color .3s var(--ease);
}
.text-link:hover { color: var(--gold-2); }
.text-link:hover::after { background: var(--gold); }

.link-btn {
  background: none; border: 0; padding: 4px 0;
  color: var(--dim); font: inherit; font-size: 13px;
  text-decoration: underline; text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { color: var(--text); }

/* Header / nav ----------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7, 7, 7, .7), rgba(7, 7, 7, .25));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 8, 7, .86);
  border-bottom-color: var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  line-height: 1;
}
.brand__mark { width: 27px; height: 32px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: .26em;
  color: var(--text);
}
.brand__sub {
  padding-left: 12px;
  border-left: 1px solid var(--line-gold);
  font: 500 9.5px/1 var(--sans);
  letter-spacing: .34em;
  color: var(--gold);
}

.nav-menu { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  position: relative;
  font-size: 13px;
  letter-spacing: .04em;
  color: #c9c3bb;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { opacity: 1; transform: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none; border: 0;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle__bar {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--text);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 26px; left: 17px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 21.5px; left: 11px; transform: rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(217, 179, 106, .12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255, 255, 255, .035), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hero__glow {
  position: absolute;
  width: 520px; height: 520px;
  right: 6%; top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 211, 154, .16), rgba(217, 179, 106, .04) 45%, transparent 70%);
  filter: blur(20px);
  animation: breathe 9s ease-in-out infinite alternate;
}
.hero__ring {
  position: absolute;
  width: min(680px, 60vw); aspect-ratio: 1;
  right: max(-120px, -8vw); top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 106, .2);
  box-shadow: 0 0 120px rgba(217, 179, 106, .07), inset 0 0 100px rgba(217, 179, 106, .04);
  display: grid; place-items: center;
  animation: drift 20s ease-in-out infinite alternate;
}
.hero__ring::before {
  /* orbiting highlight */
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(240, 211, 154, .7) 88%, transparent 96%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spin 16s linear infinite;
}
.hero__ring-inner {
  position: absolute; inset: 13%;
  border-radius: 50%;
  border: 1px solid rgba(217, 179, 106, .1);
}
.hero__ring-inner::after {
  content: "";
  position: absolute; inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(217, 179, 106, .08);
}
.hero__monogram {
  position: relative;
  width: 22%; height: auto;
  opacity: .22;
  filter: drop-shadow(0 0 30px rgba(217, 179, 106, .35));
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3px 3px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 85%);
  mask: linear-gradient(180deg, #000, transparent 85%);
}
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-20px, 16px, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { from { opacity: .7; transform: scale(.95); } to { opacity: 1; transform: scale(1.05); } }

.hero__inner { position: relative; z-index: 1; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(217, 179, 106, .06);
  font-size: 12px;
  letter-spacing: .04em;
  color: #e6dccb;
}
.status-pill__dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
}
.status-pill__dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero .eyebrow { display: flex; }
.hero__title {
  font-size: clamp(54px, 8.6vw, 128px);
  line-height: .9;
  letter-spacing: -.045em;
  max-width: 960px;
  text-wrap: balance;
}
.hero__lede {
  max-width: 560px;
  margin: 34px 0 44px;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.7;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 64px !important;
  max-width: 620px;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  flex: 1 1 0;
  min-width: 150px;
  padding: 20px 24px 0 0;
  display: grid;
  gap: 4px;
}
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__facts strong {
  font: 400 italic 20px/1.2 var(--serif);
  color: var(--gold-2);
}
.hero__facts span { font-size: 13px; color: var(--dim); }

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: max(28px, calc((100% - var(--max)) / 2));
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color .25s var(--ease);
}
.hero__scroll:hover { color: var(--gold-2); }
.hero__scroll-line {
  position: relative;
  width: 44px; height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  animation: sweep 2.6s var(--ease) infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Trust strip ------------------------------------------------------------ */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg), var(--bg-3) 50%, var(--bg));
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 21px);
  font-style: italic;
  font-weight: 300;
  color: #ddd5c8;
}
.trust__inner i { font-style: normal; font-size: 7px; color: var(--gold); opacity: .75; }

/* Sections --------------------------------------------------------------- */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.trust + .section { border-top: 0; }
.section--alt {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(217, 179, 106, .05), transparent 70%),
    var(--bg-2);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(52px, 6.5vw, 84px);
}
.section-head h2 {
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -.04em;
}
.section-head > p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
  padding-left: 24px;
  border-left: 1px solid var(--line-gold);
}

/* Shared panel surface */
.pillar, .card, .step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008)),
    var(--panel);
  transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease);
}
.pillar::before, .card::before, .step::before {
  /* top hairline highlight */
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 211, 154, .55), transparent);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.pillar:hover, .card:hover, .step:hover {
  border-color: rgba(217, 179, 106, .28);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(217, 179, 106, .04);
}
.pillar:hover::before, .card:hover::before, .step:hover::before { opacity: 1; }

/* About ------------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar { padding: 34px 32px 38px; }
.pillar__mark {
  display: block;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 30px;
}
.pillar h3 {
  font: 500 13px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.pillar p { color: var(--muted); font-size: 15px; }

.pull {
  position: relative;
  margin: clamp(84px, 11vw, 140px) auto 0;
  padding-top: 56px;
  text-align: center;
}
.pull::before {
  content: "\201C";
  position: absolute;
  left: 50%; top: -18px;
  transform: translateX(-50%);
  font: 300 96px/1 var(--serif);
  color: var(--gold);
  opacity: .35;
}
.pull p {
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -.035em;
  max-width: 920px;
  margin-inline: auto;
  text-wrap: balance;
}
.pull span { color: var(--gold); font-style: italic; }

/* Services cards --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  min-height: 280px;
  padding: 30px 32px 36px;
  overflow: hidden;
}
.card::after {
  /* soft corner glow on hover */
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -120px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 179, 106, .14), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-gold);
  background: linear-gradient(145deg, rgba(217, 179, 106, .14), rgba(217, 179, 106, .02));
  color: var(--gold-2);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.card__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .card__icon { border-color: var(--gold); transform: scale(1.05); }
.card__num {
  font: 400 italic 14px/1 var(--serif);
  letter-spacing: .06em;
  color: var(--dim);
  transition: color .3s var(--ease);
}
.card:hover .card__num { color: var(--gold); }
.card h3 {
  font-size: 32px;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 46px 0 12px;
  transition: color .3s var(--ease);
}
.card:hover h3 { color: var(--gold-2); }
.card p { color: var(--muted); font-size: 15px; max-width: 34ch; }

/* Process ---------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step { padding: 32px 28px 36px; min-height: 260px; }
.step__num {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}
.step h3 {
  font: 600 14px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 44px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.step p { color: var(--muted); font-size: 14.5px; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px; top: 54px;
  z-index: 2;
  width: 10px; height: 10px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: .6;
}

/* Statement -------------------------------------------------------------- */
.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 15vw, 190px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(217, 179, 106, .09), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-3), var(--bg));
}
.statement__lines {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 50% 50%, rgba(217, 179, 106, .05) 0 1px, transparent 1px 90px);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 10%, transparent 65%);
  mask: radial-gradient(circle at 50% 50%, #000 10%, transparent 65%);
}
.statement .wrap { position: relative; }
.statement h2 {
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.statement h2 span { color: var(--gold); font-style: italic; }
.statement__cta { margin-top: 48px; }

/* Apply ------------------------------------------------------------------ */
.apply { overflow: hidden; }
.apply__glow {
  position: absolute;
  width: 700px; height: 700px;
  left: 18%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 179, 106, .1), transparent 65%);
  pointer-events: none;
}
.apply__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}
.apply__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.apply__intro h2 {
  font-size: clamp(44px, 5.8vw, 80px);
  line-height: .98;
  letter-spacing: -.04em;
  margin-bottom: 28px;
}
.apply__intro > p { color: var(--muted); max-width: 460px; font-size: 16.5px; }
.apply__notes {
  margin-top: 36px !important;
  display: grid;
  gap: 14px;
  font-size: 14.5px;
  color: #d2ccc3;
}
.apply__notes li { display: flex; gap: 14px; align-items: center; }
.apply__tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(217, 179, 106, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23f0d39a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.apply__email {
  margin-top: 32px !important;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 460px;
  font-size: 14px;
  color: var(--dim);
}
.apply__email a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(240, 211, 154, .4); transition: text-decoration-color .25s var(--ease); }
.apply__email a:hover { text-decoration-color: currentColor; }

.apply__panel {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01) 40%),
    rgba(14, 13, 11, .92);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 0, 0, .4);
}
.apply__panel::before {
  content: "";
  position: absolute;
  left: 40px; right: 40px; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}
.apply__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.apply__panel-title { font: 400 24px/1.1 var(--serif); letter-spacing: -.02em; }
.apply__panel-meta { font-size: 12px; color: var(--dim); letter-spacing: .04em; }

.apply-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; min-width: 0; }
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d6d0c7;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: 400 15px/1.4 var(--sans);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.field select {
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d9b36a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: #111; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #75706a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .26); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(217, 179, 106, .035);
  box-shadow: 0 0 0 4px rgba(217, 179, 106, .16);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field.is-invalid input:focus, .field.is-invalid select:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(255, 143, 122, .16); }
.field__error { font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.field__hint { font-size: 12px; color: var(--dim); text-align: right; margin-top: -2px; font-variant-numeric: tabular-nums; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.apply-form .btn--block { margin-top: 6px; }
.form-legal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim);
  text-align: center;
}
.form-legal__icon {
  flex: none;
  width: 14px; height: 14px;
  margin-top: 1px;
  fill: none; stroke: var(--gold); stroke-width: 1.6;
}

.apply-success { text-align: center; padding: 18px 0 6px; }
.apply-success:focus { outline: none; }
.apply-success__mark {
  width: 64px; height: 64px;
  margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle, rgba(217, 179, 106, .16), transparent 70%);
  color: var(--gold-2);
  font-size: 24px;
  animation: pop .6s var(--ease) both;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.apply-success h3 {
  font: 300 clamp(32px, 4vw, 44px)/1.05 var(--serif);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.apply-success > p { color: var(--muted); max-width: 440px; margin: 0 auto; }
.apply-success strong { color: var(--text); font-weight: 500; }
.btn-row--stack { justify-content: center; margin: 30px 0 18px; }
.apply-success__fallback { font-size: 13px; color: var(--dim) !important; margin-bottom: 18px !important; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
  background: linear-gradient(180deg, var(--bg), #050505);
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%; top: -1px;
  width: min(480px, 70%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__tagline { margin-top: 20px; max-width: 340px; font-size: 14.5px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); }
.footer__label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.footer__col a:not(.btn) { transition: color .25s var(--ease); }
.footer__col a:not(.btn):hover { color: var(--gold-2); }
.footer__email { color: var(--text); }
.footer__cta { margin-top: 8px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--dim);
}
.footer__bottom p:last-child { font-family: var(--serif); font-style: italic; }

/* Reveal ----------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.is-visible:is(.pillar, .card, .step):hover { transform: translateY(-4px); transition-delay: 0s; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .apply__inner { grid-template-columns: 1fr; }
  .apply__intro { position: static; }
  .hero__ring { width: 560px; right: -200px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .wrap { width: min(var(--max), calc(100% - 36px)); }

  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 44px;
    padding: calc(var(--nav-h) + 24px) 28px 40px;
    background:
      radial-gradient(ellipse 80% 50% at 100% 0%, rgba(217, 179, 106, .1), transparent 70%),
      #070707;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s var(--ease), visibility 0s;
  }
  .nav-links { flex-direction: column; gap: 8px; }
  .nav-links a {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 42px;
    letter-spacing: -.02em;
    color: var(--text);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--gold); }
  .nav-cta { min-height: 52px; padding: 14px 28px; font-size: 12px; }
  .brand { position: relative; z-index: 60; }
  /* backdrop-filter would trap the fixed overlay inside the header box */
  .site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }

  .section-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .section-head > p { padding-left: 18px; }
  .about-grid, .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; }
  .card h3 { margin-top: 30px; }
  .pillar__mark { margin-bottom: 18px; }
  .hero { align-items: flex-end; padding-bottom: 104px; }
  .hero__ring { width: 440px; right: -200px; top: 30%; }
  .hero__glow { width: 360px; height: 360px; right: -80px; top: 10%; }
  .trust__inner { justify-content: center; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { min-height: 0; }
  .step::after { display: none; }
  .step h3 { margin-top: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { justify-content: center; }
  .hero__title { font-size: clamp(48px, 14vw, 66px); }
  .hero__facts { margin-top: 44px !important; }
  .hero__facts li { min-width: 0; padding: 16px 12px 0 0; }
  .hero__facts li + li { padding-left: 12px; }
  .hero__facts strong { font-size: 16px; }
  .hero__facts span { font-size: 11.5px; line-height: 1.4; }
  .hero__scroll { display: none; }
  .status-pill { font-size: 11.5px; }
  .hero .eyebrow { letter-spacing: .2em; font-size: 10.5px; }
  .brand { gap: 10px; }
  .brand__mark { width: 23px; height: 27px; }
  .brand__word { font-size: 16px; letter-spacing: .22em; }
  .brand__sub { font-size: 8.5px; letter-spacing: .28em; padding-left: 10px; }
  .apply__panel { border-radius: 16px; }
  .apply__panel-head { flex-direction: column; gap: 6px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .trust__inner { gap: 10px 16px; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
}

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