/* =========================================================
   TOP NOTCH WEALTH MANAGEMENT — styles
   ========================================================= */
:root {
  --ink: #050B1C;
  --navy-900: #070F24;
  --navy-800: #0A1633;
  --navy-700: #0E1F4B;
  --navy-600: #16295E;
  --slate: #7B87A3;
  --slate-300: #A9B2C7;
  --gold: #D4B48A;
  --gold-200: #E9D7B9;
  --gold-600: #B8956A;
  --ivory: #F4EFE6;
  --paper: #F7F5F1;
  --line: rgba(212, 180, 138, .18);
  --line-soft: rgba(244, 239, 230, .08);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --pad: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
}

/* Custom 2px Sleek Scrollbar */
::-webkit-scrollbar {
  width: 2px;
  height: 2px;
  background: transparent;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-200);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html:not(.lenis) { scroll-behavior: smooth; }

body {
  background: var(--navy-900);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -.01em; }
::selection { background: var(--gold); color: var(--navy-900); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; z-index: 90; pointer-events: none; opacity: .055;
  animation: grain 12s steps(8) infinite;
  transform: translateZ(0);
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 10% { transform: translate(-5%,-10%) } 30% { transform: translate(3%,-15%) }
  50% { transform: translate(12%,9%) } 70% { transform: translate(9%,4%) } 90% { transform: translate(-1%,7%) }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--slate-300);
}
.eyebrow .idx { color: var(--gold); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-left: 12px; opacity: .6; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,180,138,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,180,138,.6) } 70% { box-shadow: 0 0 0 12px rgba(212,180,138,0) } 100% { box-shadow: 0 0 0 0 rgba(212,180,138,0) } }

.h2 {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(38px, 5.4vw, 84px); line-height: 1; letter-spacing: -.035em;
}
.h2 em { font-size: 1.08em; }

.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 30px; border-radius: 100px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold::before { background: var(--ivory); }
.btn--ghost { border: 1px solid rgba(244,239,230,.25); color: var(--ivory); backdrop-filter: blur(8px); background: rgba(244,239,230,.03); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--navy-900); border-color: var(--ivory); }
.btn--sm { --h: 46px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn__arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px) rotate(-45deg); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: gap .4s var(--ease), border-color .4s; }
.link-arrow:hover { gap: 18px; border-color: var(--gold); }
.link-arrow i { font-style: normal; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { display: flex; align-items: center; gap: 22px; }
.loader__mark { width: 64px; height: 64px; overflow: visible; }
.loader__mark .l-base { fill: var(--ivory); transform-origin: 0 100%; animation: lbase 1s var(--ease) both .1s; }
.loader__mark .l-notch { fill: var(--gold); animation: lnotch 1s var(--ease) both .45s; }
@keyframes lbase { from { transform: scale(0); opacity: 0 } to { transform: scale(1); opacity: 1 } }
@keyframes lnotch { from { transform: translate(60px,-60px); opacity: 0 } to { transform: translate(0,0); opacity: 1 } }
.loader__word { font-size: 44px; font-weight: 400; letter-spacing: -.03em; overflow: hidden; display: flex; }
.loader__word span { display: inline-block; animation: lword 1s var(--ease) both .6s; }
.loader__word span:last-child { color: var(--gold); animation-delay: .7s; }
@keyframes lword { from { transform: translateY(110%) } to { transform: translateY(0) } }
.loader__count { position: absolute; right: var(--pad); bottom: calc(var(--pad) + 10px); font-family: var(--mono); font-size: 13px; color: var(--slate); letter-spacing: .1em; }
.loader__count span { color: var(--ivory); font-size: 64px; font-family: var(--sans); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(244,239,230,.06); }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-600), var(--gold-200)); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(212,180,138,.55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(212,180,138,.12); border-color: var(--gold); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: padding .5s var(--ease), background .5s var(--ease), transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(7, 15, 36, .62);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line-soft);
}
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark, .seal__mark { --mark-base: var(--ivory); --mark-notch: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 22px; letter-spacing: -.03em; font-weight: 400; }
.brand__name b { font-weight: 400; color: var(--ivory); }
.brand__name i { font-style: normal; color: var(--gold); }
.brand__sub { font-size: 8.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--slate-300); margin-top: 5px; }

.nav__links { display: flex; gap: 6px; padding: 6px; border-radius: 100px; border: 1px solid var(--line-soft); background: rgba(244,239,230,.02); }
.nav__links a { position: relative; padding: 8px 16px; font-size: 14px; color: var(--slate-300); border-radius: 100px; transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); background: rgba(244,239,230,.06); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244,239,230,.2); position: relative; z-index: 102; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .9s var(--ease-io);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font-size: clamp(44px, 12vw, 80px); font-weight: 300; letter-spacing: -.04em; line-height: 1.15; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line-soft); padding: 6px 0; }
.menu__links small { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--slate-300); font-size: 14px; }
.menu__foot a { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 140px var(--pad) 32px; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img { position: absolute; inset: -6% 0 0 0; background-size: cover; background-position: 70% center; transform: scale(1.12); will-change: transform; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .9; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 20%, transparent 0%, rgba(7,15,36,.35) 55%, rgba(7,15,36,.9) 100%),
    linear-gradient(90deg, rgba(5,11,28,.92) 0%, rgba(5,11,28,.55) 45%, rgba(5,11,28,.05) 75%),
    linear-gradient(0deg, var(--navy-900) 0%, transparent 35%);
}
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__eyebrow { margin-bottom: 28px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 100px; background: rgba(7,15,36,.4); backdrop-filter: blur(10px); }
.hero__title {
  font-weight: 300; font-size: clamp(54px, 9.4vw, 164px); line-height: 1; letter-spacing: -.055em;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.hero__title .line { padding-bottom: .16em; margin-bottom: -.16em; }
.hero__title em { font-size: 1.06em; letter-spacing: -.03em; padding-right: .05em; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero__lede { max-width: 470px; color: var(--slate-300); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Enhanced Hero Seal Badge */
.hero__seal {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 5vw, 85px);
  top: 48%;
  width: clamp(240px, 20vw, 320px);
  height: clamp(240px, 20vw, 320px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 35px rgba(212, 180, 138, 0.28));
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.hero__seal:hover {
  transform: translateY(-52%) scale(1.05);
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 50px rgba(212, 180, 138, 0.5));
}
.seal__ring {
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.seal__ring text {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  fill: var(--gold-200);
}
.seal__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(66px, 5.6vw, 90px);
  height: clamp(66px, 5.6vw, 90px);
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}
.hero__seal::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 180, 138, 0.45);
  background: radial-gradient(circle at 35% 35%, rgba(22, 41, 94, 0.92), rgba(7, 15, 36, 0.96) 75%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 25px rgba(212, 180, 138, 0.2), 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: border-color .4s, box-shadow .4s;
}
.hero__seal:hover::before {
  border-color: rgba(212, 180, 138, 0.85);
  box-shadow: inset 0 0 35px rgba(212, 180, 138, 0.38), 0 15px 40px rgba(0, 0, 0, 0.7);
}
.hero__seal::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 180, 138, 0.3);
  pointer-events: none;
  animation: spinReverse 45s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }


.hero__foot {
  position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: clamp(40px, 6vw, 80px) auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 22px; border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
}
.hero__scroll { display: flex; align-items: center; gap: 14px; }
.hero__scroll-line { width: 48px; height: 1px; background: rgba(244,239,230,.15); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%) } 60%,100% { transform: translateX(100%) } }
.hero__ticker { list-style: none; display: flex; gap: 32px; }
.hero__ticker li { display: flex; gap: 10px; }
.hero__ticker b { font-weight: 400; color: #8FD3A8; transition: color .4s; }
.hero__ticker b.down { color: #E8968C; }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; background: var(--navy-900); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
.marquee span { font-family: var(--serif); font-size: clamp(44px, 7vw, 108px); line-height: 1; white-space: nowrap; letter-spacing: -.02em; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px rgba(212,180,138,.7); font-style: italic; }
.marquee i { font-style: normal; color: var(--gold); font-size: clamp(18px, 2vw, 28px); }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ---------- About ---------- */
.about { padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 160px); position: relative; }
.about::before { content: ""; position: absolute; top: 0; right: -20vw; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(22,41,94,.55), transparent 65%); pointer-events: none; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.about__statement {
  position: relative;
  font-size: clamp(28px, 3.7vw, 58px); font-weight: 300; line-height: 1.14; letter-spacing: -.03em;
  max-width: 1240px;
}
.about__statement .w { opacity: .14; transition: opacity .2s linear; }
.about__statement .w.gold { color: var(--gold); font-family: var(--serif); font-style: italic; letter-spacing: -.01em; }

.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); margin-top: clamp(80px, 10vw, 150px); align-items: center; }
.about__figure { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; }
.about__figure img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.about__figure figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); padding: 14px 18px; border-radius: 100px; background: rgba(7,15,36,.45); backdrop-filter: blur(12px); border: 1px solid rgba(244,239,230,.12); }
.about__copy { font-size: clamp(17px, 1.35vw, 20px); color: var(--slate-300); line-height: 1.7; max-width: 560px; }
.about__copy strong { color: var(--ivory); font-weight: 500; }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin: 48px 0; border-top: 1px solid var(--line-soft); }
.stat { padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line-soft); }
.stat:nth-child(even) { padding-left: 28px; }
.stat b { display: block; font-size: clamp(44px, 4.6vw, 72px); font-weight: 300; letter-spacing: -.05em; line-height: 1; color: var(--ivory); }
.stat > span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--slate); }

/* ---------- Services (ivory) ---------- */
.services { position: relative; background: var(--paper); color: var(--navy-700); padding: clamp(100px, 12vw, 180px) 0; border-radius: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0 0; z-index: 2; }
.services .eyebrow { color: var(--slate); }
.services .eyebrow .idx { color: var(--gold-600); }
.services .eyebrow .idx::after { background: var(--gold-600); }
.services em { color: var(--gold-600); }
.services__head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.services__head .h2 { color: var(--navy-700); }

.svc { list-style: none; border-top: 1px solid rgba(14,31,75,.14); }
.svc__item { border-bottom: 1px solid rgba(14,31,75,.14); position: relative; }
.svc__item::before { content: ""; position: absolute; inset: 0; background: var(--navy-700); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.svc__item:hover::before, .svc__item.is-open::before { transform: scaleY(1); }
.svc__row {
  position: relative; z-index: 1; width: 100%; text-align: left;
  display: grid; grid-template-columns: 80px 1fr auto 48px; align-items: center; gap: 24px;
  padding: clamp(24px, 2.6vw, 38px) clamp(8px, 1.5vw, 24px);
  transition: color .5s var(--ease);
}
.svc__item:hover .svc__row, .svc__item.is-open .svc__row { color: var(--ivory); }
.svc__num { font-family: var(--mono); font-size: 13px; color: var(--gold-600); }
.svc__title { font-size: clamp(24px, 3vw, 46px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; transition: transform .6s var(--ease); }
.svc__item:hover .svc__title { transform: translateX(14px); }
.svc__tags { font-size: 13px; color: var(--slate); transition: color .5s; }
.svc__item:hover .svc__tags, .svc__item.is-open .svc__tags { color: var(--slate-300); }
.svc__plus { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; opacity: .5; transition: transform .6s var(--ease), opacity .3s, background .4s, border-color .4s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); }
.svc__plus::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .6s var(--ease); }
.svc__item:hover .svc__plus { opacity: 1; }
.svc__item.is-open .svc__plus { transform: rotate(180deg); opacity: 1; background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.svc__item.is-open .svc__plus::after { transform: translate(-50%,-50%) rotate(0deg); }
.svc__panel { position: relative; z-index: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc__item.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__panel > div { overflow: hidden; display: grid; grid-template-columns: 80px 1.4fr 1fr; gap: 24px; padding: 0 clamp(8px, 1.5vw, 24px); color: var(--slate-300); }
.svc__panel > div::before { content: ""; }
.svc__panel p { font-size: 17px; line-height: 1.7; padding-bottom: 40px; max-width: 560px; }
.svc__panel ul { list-style: none; padding-bottom: 40px; }
.svc__panel li { padding: 8px 0; border-bottom: 1px solid rgba(244,239,230,.08); color: var(--ivory); font-size: 15px; display: flex; gap: 10px; }
.svc__panel li::before { content: "↗"; color: var(--gold); }

.svc__preview { position: fixed; top: 0; left: 0; width: 300px; height: 380px; pointer-events: none; z-index: 60; border-radius: 6px; overflow: hidden; opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.svc__preview.is-on { opacity: 1; transform: scale(1); }
.svc__preview-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image .3s; }

/* ---------- Projects section ---------- */
.projects-section {
  position: relative;
  background: var(--navy-900);
  z-index: 5;
  border-top: 1px solid var(--line-soft);
  padding: clamp(100px, 12vw, 160px) 0;
  contain: paint;
}

/* ---------- Approach ---------- */
.approach {
  position: relative;
  background: var(--navy-900);
  z-index: 10;
}
.approach__pin {
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0 60px;
  background: var(--navy-900);
  position: relative;
  z-index: 10;
}
.approach__head { padding: 0 var(--pad); max-width: var(--maxw); width: 100%; margin: 0 auto 56px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; }
.approach__head .eyebrow { grid-column: 1 / -1; }
.approach__progress { width: 220px; height: 2px; background: rgba(244,239,230,.08); margin-bottom: 16px; }
.approach__progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.approach__track { display: flex; gap: 24px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.step {
  position: relative; flex: none; width: clamp(300px, 30vw, 440px); min-height: clamp(380px, 48vh, 480px);
  padding: 40px 36px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(22,41,94,.5), rgba(10,22,51,.4));
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .5s, transform .6s var(--ease);
}
.step::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(212,180,138,.18), transparent 70%); opacity: 0; transition: opacity .6s; }
.step:hover { border-color: var(--line); transform: translateY(-6px); }
.step:hover::after { opacity: 1; }
.step__num { position: absolute; right: 28px; top: 14px; font-family: var(--serif); font-style: italic; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(212,180,138,.25); }
.step__icon { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: auto; }
.step__icon svg, .card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 40px; font-weight: 300; letter-spacing: -.04em; margin: 32px 0 14px; }
.step p { color: var(--slate-300); font-size: 15.5px; line-height: 1.65; }
.step__meta { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.step--cta { background: var(--gold); color: var(--navy-900); justify-content: space-between; border-color: var(--gold); }
.step--cta h3 { font-size: clamp(44px, 4vw, 64px); line-height: 1; margin: 0; }
.step--cta em { color: var(--navy-700); }
.step--cta .btn--gold { background: var(--navy-900); color: var(--ivory); align-self: flex-start; }
.step--cta .btn--gold:hover { color: var(--navy-900); }

/* ---------- Reach ---------- */
.reach { position: relative; padding: clamp(120px, 16vw, 240px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.reach__bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.reach__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-900) 0%, rgba(7,15,36,.55) 30%, rgba(7,15,36,.6) 60%, var(--navy-900) 100%), linear-gradient(90deg, rgba(7,15,36,.8), transparent 70%); }
.reach__inner { position: relative; z-index: 1; }
.reach__title { font-weight: 300; font-size: clamp(48px, 8vw, 132px); line-height: .95; letter-spacing: -.05em; margin: 28px 0 32px; }
.reach__lede { max-width: 520px; color: var(--slate-300); font-size: 18px; }
.cities { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid rgba(244,239,230,.14); }
.city { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 28px 24px 28px 0; border-bottom: 1px solid rgba(244,239,230,.14); position: relative; transition: padding .5s var(--ease); }
.city:not(:nth-child(3n)) { border-right: 1px solid rgba(244,239,230,.14); }
.city:not(:nth-child(3n+1)) { padding-left: 24px; }
.city::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.city:hover::before { transform: scaleX(1); }
.city__name { font-size: clamp(24px, 2.4vw, 36px); font-weight: 300; letter-spacing: -.03em; }
.city__role { grid-row: 2; font-size: 13px; color: var(--slate-300); margin-top: 4px; }
.city__time { grid-row: 1 / 3; grid-column: 2; align-self: center; font-family: var(--mono); font-size: 14px; color: var(--gold); letter-spacing: .06em; }
.city:first-child .city__name::after { content: "HQ"; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; vertical-align: super; margin-left: 8px; color: var(--navy-900); background: var(--gold); padding: 3px 7px; border-radius: 100px; }

/* ---------- Why / Bento ---------- */
.why { padding: clamp(100px, 12vw, 180px) 0; position: relative; }
.section-head--split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 6vw, 88px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: 18px; }
.card {
  position: relative; border-radius: 22px; padding: 32px;
  background: linear-gradient(160deg, rgba(22,41,94,.42), rgba(10,22,51,.55));
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; transform-style: preserve-3d;
  transition: border-color .5s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(212,180,138,.14), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: var(--line); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--slate-300); line-height: 1.6; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: auto; }
.card--chart { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--slate); }
.chart { flex: 1; margin: 24px -32px; min-height: 240px; position: relative; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid line { stroke: rgba(244,239,230,.06); stroke-dasharray: 4 6; }
.chart__line { fill: none; stroke: var(--gold); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.chart__line--ghost { stroke: var(--slate); stroke-width: 1.4; stroke-dasharray: 5 6; opacity: .7; }
.chart__dot { fill: var(--gold); filter: drop-shadow(0 0 10px rgba(212,180,138,.9)); }
.card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.card__bottom h3 { font-size: clamp(30px, 3vw, 46px); margin: 0; }
.legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--slate-300); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 18px; height: 2px; background: var(--gold); }
.legend i.s { background: var(--slate); }
.card--seal { grid-column: span 2; align-items: flex-start; }
.seal-big { position: absolute; right: -30px; top: -30px; width: 240px; height: 240px; opacity: .95; }
.seal-big .seal__ring { animation-duration: 30s; }
.seal-big .seal__mark { width: 56px; height: 56px; }
.card--seal p { max-width: 380px; }
.card--gold { background: linear-gradient(150deg, var(--gold-200), var(--gold) 55%, var(--gold-600)); color: var(--navy-900); border-color: transparent; }
.card--gold p { color: rgba(14,31,75,.75); }
.card--gold em { color: var(--navy-700); }
.card__big { font-size: clamp(72px, 7vw, 112px); font-weight: 300; letter-spacing: -.06em; line-height: .9; margin-bottom: auto; }
@media (min-width: 1101px) {
  .card--chart { grid-column: 1 / 3; grid-row: 1 / 4; }
  .card--seal { grid-column: 3 / 5; grid-row: 1; }
  .card--gold { grid-column: 3 / 5; grid-row: 3; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 40px; align-content: end; }
  .card--gold .card__big { grid-row: 1 / 3; align-self: end; margin: 0; font-size: clamp(96px, 9vw, 150px); }
  .card--gold h3 { align-self: end; }
}

/* ---------- Quotes ---------- */
.quotes { padding: clamp(80px, 10vw, 160px) 0; border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.quotes::before { content: "“"; position: absolute; right: 4vw; top: -6vw; font-family: var(--serif); font-size: 46vw; line-height: 1; color: rgba(212,180,138,.04); pointer-events: none; }
.quotes__stage { position: relative; display: grid; margin: 48px 0 56px; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease), visibility .8s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote p { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.015em; max-width: 1200px; }
.quote footer { margin-top: 36px; display: flex; gap: 16px; align-items: center; font-size: 15px; }
.quote footer::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.quote footer span { color: var(--slate); }
.quotes__nav { display: flex; align-items: center; gap: 24px; }
.qbtn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(244,239,230,.2); font-size: 18px; transition: background .4s, color .4s, border-color .4s; }
.qbtn:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots span { width: 28px; height: 2px; background: rgba(244,239,230,.15); position: relative; overflow: hidden; }
.quotes__dots span.on::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: dotfill 7s linear forwards; transform-origin: left; }
@keyframes dotfill { from { transform: scaleX(0) } to { transform: scaleX(1) } }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 12vw, 180px) 0; position: relative; background: radial-gradient(80% 60% at 0% 100%, rgba(22,41,94,.6), transparent 70%), var(--navy-900); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__title { font-weight: 300; font-size: clamp(54px, 7.6vw, 124px); line-height: .92; letter-spacing: -.055em; margin: 28px 0 32px; }
.contact__intro > p:not(.eyebrow) { color: var(--slate-300); font-size: 18px; max-width: 460px; }
.contact__list { list-style: none; margin-top: 48px; border-top: 1px solid var(--line-soft); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.contact__list span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.contact__list a, .contact__list p { font-size: 18px; transition: color .3s; }
.contact__list a:hover { color: var(--gold); }

.form { padding: clamp(28px, 3vw, 48px); border-radius: 26px; background: rgba(244,239,230,.03); border: 1px solid var(--line-soft); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 14px; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips legend { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 100px; border: 1px solid rgba(244,239,230,.16); font-size: 13.5px; color: var(--slate-300); transition: all .35s var(--ease); cursor: pointer; }
.chips label:hover span { border-color: var(--gold); color: var(--ivory); }
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244,239,230,.18);
  color: var(--ivory); font: inherit; font-size: 17px; padding: 26px 0 12px; outline: none; resize: none;
  transition: border-color .4s;
}
.field label { position: absolute; left: 0; top: 24px; color: var(--slate); font-size: 16px; pointer-events: none; transition: all .4s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--mono); }
.field.is-error input { border-color: #E8968C; }
.form .btn { margin-top: 18px; }
.form__note { font-size: 13px; color: var(--slate); text-align: center; }
.form__note.ok { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: clamp(80px, 8vw, 120px) 0 32px; overflow: hidden; border-top: 1px solid var(--line-soft); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand .brand__mark { width: 48px; height: 48px; margin-bottom: 24px; }
.footer__brand p { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 48px; }
.footer__cols h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__cols a { display: block; color: var(--slate-300); padding: 5px 0; font-size: 15px; transition: color .3s, transform .4s var(--ease); }
.footer__cols a:hover { color: var(--ivory); transform: translateX(4px); }
.footer__word { font-size: clamp(90px, 23vw, 380px); font-weight: 400; letter-spacing: -.07em; line-height: .8; margin: clamp(60px, 8vw, 120px) 0 clamp(32px, 4vw, 56px); white-space: nowrap; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(244,239,230,.12), rgba(244,239,230,0) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__word em { font-family: var(--sans); font-style: normal; background: linear-gradient(180deg, rgba(212,180,138,.55), rgba(212,180,138,0) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--slate); }
.footer__legal { max-width: 520px; text-align: center; }
.totop { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(244,239,230,.2); display: grid; place-items: center; color: var(--ivory); flex: none; transition: background .4s, color .4s, border-color .4s; }
.totop:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

/* ---------- Reveal (JS-enhanced) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(40px); }
.js-anim .reveal-clip { clip-path: inset(100% 0 0 0); }
.js-anim .hero__title .line > span, .js-anim .reach__title .line > span, .js-anim .contact__title .line > span { transform: translateY(110%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .hero__seal { display: none; }
  .about__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .about__figure { max-width: 560px; }
  .services__head, .section-head--split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc__tags { display: none; }
  .svc__row { grid-template-columns: 56px 1fr 48px; }
  .svc__panel > div { grid-template-columns: 56px 1fr; }
  .svc__panel ul { grid-column: 2; }
  .svc__preview { display: none; }
}
@media (max-width: 720px) {
  .nav__cta { display: none; }
  .hero { padding-bottom: 24px; }
  .hero__ticker { display: none; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; padding: 0 18px; font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { padding-left: 16px; }
  .cities { grid-template-columns: 1fr; }
  .city { padding-left: 0 !important; border-right: 0 !important; }
  .bento { grid-template-columns: 1fr; }
  .card--chart, .card--seal { grid-column: auto; grid-row: auto; }
  .card--seal { padding-top: 200px; }
  .seal-big { right: 50%; transform: translateX(50%); top: 0; width: 200px; height: 200px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .svc__row { grid-template-columns: 36px 1fr 40px; gap: 14px; }
  .svc__plus { width: 40px; height: 40px; }
  .svc__panel > div { grid-template-columns: 1fr; }
  .svc__panel > div::before { display: none; }
  .svc__panel ul { grid-column: auto; }
  .svc__panel p { padding-bottom: 16px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .approach__head { grid-template-columns: 1fr; }
  .approach__progress { display: none; }
}

/* Mobile approach: native horizontal swipe */
@media (max-width: 900px) {
  .approach__pin { height: auto; padding: 100px 0; }
  .approach__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .approach__track::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; width: 82vw; }
}

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