/* Díaz Robledo. Palette priority: white, navy blue, gold. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #f6f8fc;
  --blue-soft: #e8effb;
  --navy: #0b2a63;
  --navy-deep: #071d47;
  --ink: #0a1a3a;
  --muted: #4f5d78;
  --gold: #c9a24b;
  --gold-soft: #e6cf94;
  --gold-tint: #faf5e8;
  --gold-text: #8f6b14;
  --line: rgba(11, 42, 99, .11);
  --shadow: 0 40px 80px -40px rgba(11, 42, 99, .42);
  --shadow-soft: 0 30px 60px -36px rgba(11, 42, 99, .28);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r-card: 32px;
  --r-core: 24px;
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold); color: var(--navy-deep); }

.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- TYPE ---------- */
h1, .h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.02; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.75rem); max-width: 11.5ch; }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); max-width: 16ch; }
.h2-xl { font-size: clamp(2.6rem, 6.4vw, 6rem); max-width: 14ch; }
h1 em, .h2 em { font-style: normal; font-weight: 400; color: var(--gold-text); }
.h2 em {
  background: linear-gradient(100deg, var(--gold-text) 0%, var(--gold-text) 44%, #e2c47a 50%, var(--gold-text) 56%, var(--gold-text) 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.navy .h2 em { background-image: linear-gradient(100deg, var(--gold) 0%, var(--gold) 44%, #fff3cf 50%, var(--gold) 56%, var(--gold) 100%); }
h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 36ch; line-height: 1.55; }
.body { color: var(--muted); max-width: 56ch; margin-top: 28px; font-size: 1.06rem; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .2em;
  padding: 8px 14px; border-radius: 999px; color: var(--navy); background: var(--white); margin-bottom: 32px;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .55);
}

/* ---------- LOADER / PROGRESS ---------- */
.loader { display: none; }
.js:not(.seen) .loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--navy-deep); color: var(--white); }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-mark { font-size: 44px; font-weight: 400; letter-spacing: .08em; color: var(--gold); }
.loader-line { display: block; width: 140px; height: 1px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.loader-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: load .8s var(--ease) forwards; }
@keyframes load { to { transform: scaleX(1); } }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ---------- NAV ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1180px, 100%); height: 64px; padding: 0 10px 0 16px;
  border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -28px rgba(11,42,99,.35);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.brand-name { white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--white); background: var(--navy); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold); transition: transform .8s var(--ease); flex: none; }
.brand:hover .brand-mark { transform: rotate(360deg); }
.nav-links { display: none; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color .4s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav-links a:hover, .nav-links a.is-current { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; position: relative; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lang-pill { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); border-radius: 999px; background: var(--navy); transition: transform .6s var(--ease); }
.lang:has(button[data-lang="en"][aria-pressed="true"]) .lang-pill { transform: translateX(100%); }
.lang button { position: relative; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); background: none; border: 0; padding: 9px 12px; border-radius: 999px; cursor: pointer; transition: color .5s var(--ease); }
.lang button[aria-pressed="true"] { color: var(--white); }
.nav .nav-cta { display: none; }
@media (min-width: 640px) { .nav .nav-cta { display: inline-flex; } }
@media (min-width: 1180px) { .nav-links { display: flex; } .burger { display: none !important; } }

.burger { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--blue-soft); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 13px; width: 16px; height: 1.5px; background: var(--navy); transition: transform .6s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px; padding: 120px 24px 48px; background: rgba(255,255,255,.95); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.menu.open { opacity: 1; visibility: visible; }
.menu ul { display: grid; gap: 4px; }
.menu li { overflow: hidden; }
.menu li a { display: block; font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 400; letter-spacing: -.04em; color: var(--navy); transform: translateY(110%); transition: transform .8s var(--ease); }
.menu.open li a { transform: none; }
.menu.open li:nth-child(2) a { transition-delay: .05s; } .menu.open li:nth-child(3) a { transition-delay: .1s; } .menu.open li:nth-child(4) a { transition-delay: .15s; } .menu.open li:nth-child(5) a { transition-delay: .2s; } .menu.open li:nth-child(6) a { transition-delay: .25s; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 24px; border-radius: 999px; border: 0;
  font: 500 15px/1 var(--font); white-space: nowrap; cursor: pointer; will-change: transform;
  transition: scale .4s var(--ease), box-shadow .6s var(--ease), color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { scale: .98; }
.btn-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; flex: none; transition: transform .6s var(--ease), background .5s var(--ease); }
.btn-icon i { display: block; }
.btn:hover .btn-icon { transform: translate(3px, -1px) rotate(45deg); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 18px 30px -16px rgba(11,42,99,.7); }
.btn-navy::before { background: var(--navy-deep); }
.btn-navy .btn-icon { background: var(--gold); color: var(--navy-deep); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 18px 30px -16px rgba(143,107,20,.7); }
.btn-gold::before { background: var(--gold-soft); }
.btn-gold .btn-icon { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white::before { background: var(--gold-soft); }
.btn-white .btn-icon { background: var(--navy); color: var(--white); }
.btn-sm { padding: 5px 5px 5px 18px; font-size: 14px; }
.btn-sm .btn-icon { width: 34px; height: 34px; font-size: 16px; }
.btn-lg { padding: 10px 10px 10px 28px; font-size: 16px; }
.btn-lg .btn-icon { width: 46px; height: 46px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--navy); margin-top: 18px; }
.link span { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 2px; }
.link:hover span { background-size: 100% 1.5px; }
.link i { transition: transform .5s var(--ease); }
.link:hover i { transform: translateX(4px); }
.link-light { color: var(--white); }

.round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 20px; display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .5s var(--ease), color .5s var(--ease), scale .4s var(--ease); }
.round:hover { background: var(--navy); color: var(--white); }
.round:active { scale: .94; }

/* ---------- DOUBLE BEZEL ---------- */
.bezel { padding: 8px; border-radius: var(--r-card); background: rgba(11,42,99,.035); box-shadow: inset 0 0 0 1px var(--line); }
.bezel-core { border-radius: var(--r-core); background: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); padding: 36px; height: 100%; position: relative; overflow: hidden; }
.bezel-dark { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.media { padding: 0; background: var(--navy); }
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,29,71,0) 25%, rgba(7,29,71,.92)); }
.scrim-strong { background: linear-gradient(90deg, rgba(7,29,71,.94), rgba(7,29,71,.25) 75%); }
.icon-lg { font-size: 34px; color: var(--gold); display: block; margin-bottom: 22px; }

.spot { --mx: 50%; --my: 50%; position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201,162,75,.18), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* ---------- SECTIONS ---------- */
.section { padding: 120px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 200px 0; } }
.section-paper { background: var(--paper); }
.section-blue { background: linear-gradient(180deg, var(--paper), var(--blue-soft)); }
.navy { background: radial-gradient(70% 50% at 90% 0%, rgba(201,162,75,.14), transparent 70%), var(--navy); color: var(--white); overflow: hidden; }
.navy .h2 { color: var(--white); }
.navy .body { color: rgba(255,255,255,.78); }

/* ---------- HERO ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding: 128px 0 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 50% at 88% 15%, rgba(201,162,75,.15), transparent 70%), radial-gradient(60% 55% at 0% 100%, rgba(11,42,99,.08), transparent 70%), linear-gradient(180deg, var(--white), var(--paper)); }
.hero-grid { display: grid; gap: 64px; align-items: center; position: relative; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 80px; } }
.hero-copy h1 { margin-bottom: 32px; }
.hero-media { position: relative; display: flex; justify-content: center; }
.tilt { position: relative; width: min(100%, 460px); transform-style: preserve-3d; will-change: transform; }
.arch-frame { padding: 10px; border-radius: 999px 999px 36px 36px; background: linear-gradient(160deg, rgba(201,162,75,.9), rgba(230,207,148,.5) 40%, rgba(11,42,99,.2)); box-shadow: var(--shadow); }
.arch { aspect-ratio: 4 / 5.3; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--blue-soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.seal { position: absolute; left: -44px; bottom: 36px; width: 128px; height: 128px; filter: drop-shadow(0 18px 24px rgba(11,42,99,.3)); }
.seal-svg { width: 100%; height: 100%; display: block; animation: spin 24s linear infinite; }
.seal-bg { fill: var(--navy); stroke: var(--gold); stroke-width: 1.5; }
.seal-text { font: 500 12.6px var(--mono); letter-spacing: .14em; fill: var(--gold-soft); }
.seal-dr { font: 500 30px var(--font); fill: var(--white); letter-spacing: .04em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .seal { left: -6px; width: 100px; height: 100px; bottom: 20px; } .tilt { width: min(100%, 400px); } }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hw { display: inline-block; will-change: transform; }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: 120px 0 40px; }
@media (min-width: 900px) { .manifesto { padding: 200px 0 40px; } }
.manifesto-text { font-size: clamp(1.75rem, 4.2vw, 3.6rem); line-height: 1.16; letter-spacing: -.035em; font-weight: 400; color: var(--navy); max-width: 24ch; margin-inline: auto; text-align: center; text-wrap: balance; }
.mw { display: inline-block; }
.manifesto-text .w { overflow: visible; padding: 0; margin: 0; }

/* ---------- FEATURES ---------- */
.features { display: grid; gap: 16px; margin-top: 72px; }
.feature { padding: 40px 32px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); overflow: hidden; transition: transform .8s var(--ease); }
.feature:hover { transform: translateY(-6px); }
.feature > i { font-size: 40px; color: var(--gold); display: block; margin-bottom: 48px; transition: transform .8s var(--ease); }
.feature:hover > i { transform: rotate(-10deg) scale(1.1); }
.feature h3 { color: var(--navy); max-width: 18ch; }
.feature p { color: var(--muted); margin-top: 14px; max-width: 44ch; }
.f-b { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); box-shadow: var(--shadow); }
.f-b h3 { color: var(--white); } .f-b p { color: rgba(255,255,255,.78); }
.f-c { background: var(--gold-tint); box-shadow: inset 0 0 0 1px rgba(201,162,75,.4); }
.f-c > i { color: var(--gold-text); }
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .feature { padding: 56px 48px; min-height: 360px; display: flex; flex-direction: column; }
  .feature > i { margin-bottom: auto; padding-bottom: 48px; }
  .f-a { grid-column: span 7; } .f-b { grid-column: span 5; }
  .f-c { grid-column: span 5; } .f-d { grid-column: span 7; }
  .f-a h3, .f-d h3 { font-size: 2rem; }
}

/* ---------- BENTO ---------- */
.bento { display: grid; gap: 16px; margin-top: 72px; grid-template-columns: 1fr; }
.card-img { min-height: 460px; }
.card-img img { position: absolute; inset: 0; }
.card-body { position: absolute; inset: auto 0 0 0; padding: 36px; color: var(--white); }
.card-body p { color: rgba(255,255,255,.85); margin-top: 12px; max-width: 46ch; }
.card-body .link { color: var(--gold-soft); }
.navy-core { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.navy-core p { color: rgba(255,255,255,.8); margin-top: 12px; }
/* services: legal is the lead card; its areas list fills the large tile */
.legal-main .legal-mark { position: absolute; top: -40px; right: -30px; font-size: 300px; line-height: 1; color: var(--white); opacity: .05; pointer-events: none; }
.legal-main h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.legal-areas { display: grid; grid-template-columns: 1fr; gap: 0 32px; margin-top: 28px; }
.legal-areas li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.88); font-size: 15px; }
.legal-areas li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.gold-core { background: var(--gold-tint); display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.gold-core .icon-lg { color: var(--gold-text); }
.gold-core h3 { color: var(--navy); }
.gold-core p { color: var(--muted); margin-top: 12px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .b-main { grid-column: span 7; grid-row: span 2; }
  .b-main .legal-main { min-height: 680px; }
  .legal-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-side, .b-int { grid-column: span 5; }
  .b-side .card-img { min-height: 400px; }
  .card-body, .navy-core, .gold-core { padding: 48px; }
}

/* ---------- INVESTMENT ---------- */
.case { margin-top: 72px; }
.case-core { min-height: 400px; display: flex; align-items: flex-end; }
.case-core img { position: absolute; inset: 0; }
.case-text { position: relative; padding: 32px; max-width: 580px; }
.case-text p { margin-top: 12px; color: rgba(255,255,255,.85); }
@media (min-width: 768px) { .case-text { padding: 56px; } .case-core { min-height: 520px; } }

.pan { margin-top: 96px; position: relative; }
.pan-track { display: grid; gap: 16px; padding-inline: var(--gutter); }
.panel { padding: 40px 32px; border-radius: var(--r-card); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.panel i { font-size: 44px; color: var(--gold); display: block; margin-bottom: 28px; }
.panel h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -.035em; }
.panel p { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 30ch; }
.pan-bar { display: none; }
.pan.is-pinned { height: 100dvh; overflow: hidden; display: flex; align-items: center; margin-top: 0; }
.pan.is-pinned .pan-track { display: flex; gap: 24px; width: max-content; padding-inline: max(32px, calc((100vw - 1240px) / 2)); }
.pan.is-pinned .panel { flex: none; width: min(70vw, 560px); min-height: 48vh; padding: 56px 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.pan.is-pinned .pan-bar { display: block; position: absolute; left: max(32px, calc((100vw - 1240px) / 2)); right: max(32px, calc((100vw - 1240px) / 2)); bottom: 56px; height: 2px; background: rgba(255,255,255,.18); }
.pan-bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

.marquee { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; gap: 14px; padding-right: 14px; }
.marquee li { padding: 14px 26px; border-radius: 999px; font-size: 17px; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(201,162,75,.6); color: var(--gold-soft); transition: background .5s var(--ease), color .5s var(--ease); }
.marquee li:hover { background: var(--gold); color: var(--navy-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- LEGAL ---------- */
.legal-grid { display: grid; gap: 64px; align-items: start; }
@media (min-width: 900px) { .legal-grid { grid-template-columns: .95fr 1.05fr; gap: 96px; } .legal-side { position: sticky; top: 112px; } }
.legal-img { margin-bottom: 48px; max-width: 520px; }
.legal-img .bezel-core { aspect-ratio: 4 / 3; }
.legal-img img { position: absolute; inset: 0; }
.areas { display: grid; }
.area { position: relative; display: flex; align-items: flex-start; gap: 22px; padding: 32px 8px; border-top: 1px solid var(--line); transition: padding .7s var(--ease), background .5s var(--ease); }
.area:last-child { border-bottom: 1px solid var(--line); }
.area::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.area:hover::before { transform: scaleX(1); }
.area:hover { padding-left: 22px; background: linear-gradient(90deg, var(--paper), transparent); }
.area > i { font-size: 32px; color: var(--navy); flex: none; margin-top: 2px; transition: transform .7s var(--ease), color .5s var(--ease); }
.area:hover > i { transform: rotate(-8deg) scale(1.12); color: var(--gold-text); }
.area p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 40ch; }
.area-arrow { margin-left: auto; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .6s var(--ease), background .5s var(--ease); }
.area:hover .area-arrow { opacity: 1; transform: none; background: var(--gold); }

/* ---------- WHO WE ARE ---------- */
.about-grid { display: grid; gap: 64px; align-items: center; }
.about-media .bezel-core { aspect-ratio: 4 / 5; }
.about-media img { position: absolute; inset: 0; }
.values { display: grid; gap: 0; margin-top: 56px; }
.values li { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--line); }
.values h4 { font-size: 1.35rem; font-weight: 400; letter-spacing: -.02em; }
.values p { color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 112px; }
  .values li { grid-template-columns: 180px 1fr; align-items: baseline; gap: 24px; }
}

/* ---------- TESTIMONIALS ---------- */
.testi { position: relative; margin-top: 72px; padding: 48px 28px 32px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px rgba(201,162,75,.45), var(--shadow-soft); overflow: hidden; }
.testi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(201,162,75,.12), transparent 70%); pointer-events: none; }
.testi-mark { position: absolute; top: 24px; right: 28px; font-size: 96px; color: var(--gold); opacity: .35; line-height: 1; }
.testi-stage { display: grid; position: relative; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out), visibility 0s .9s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .15s, .15s, .15s, 0s; }
.quote blockquote { font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.22; letter-spacing: -.03em; color: var(--navy); max-width: 30ch; text-wrap: balance; }
.quote figcaption { display: grid; gap: 2px; margin-top: 36px; font-size: 15px; }
.quote figcaption strong { font-weight: 500; color: var(--navy); }
.quote figcaption span { color: var(--muted); }
.testi-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.testi-dots { display: flex; gap: 10px; }
.testi-dots button { width: 48px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; align-items: center; }
.testi-dots span { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.testi-dots span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.testi-dots [aria-selected="true"] span::after { animation: dot var(--testi-dur, 7s) linear forwards; }
.testi.is-paused .testi-dots [aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes dot { to { transform: scaleX(1); } }
.testi-arrows { display: flex; gap: 10px; }
@media (min-width: 900px) { .testi { padding: 88px 88px 48px; } .testi-mark { top: 48px; right: 72px; font-size: 140px; } }

/* ---------- PRICING ---------- */
.pricing { display: grid; gap: 16px; margin-top: 72px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 44px 32px 32px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.plan:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(201,162,75,.6), var(--shadow); }
.plan h3 { color: var(--navy); }
.plan-price { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; color: var(--navy); margin-top: 24px; }
.plan-desc { color: var(--muted); margin-top: 14px; font-size: 15px; }
.plan-list { display: grid; gap: 14px; margin: 32px 0 40px; padding-top: 28px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.plan-list i { color: var(--gold-text); font-size: 18px; margin-top: 3px; flex: none; }
.plan .btn { align-self: flex-start; }
.plan-featured { background: linear-gradient(165deg, var(--navy), var(--navy-deep)); color: var(--white); box-shadow: var(--shadow); }
.plan-featured:hover { box-shadow: 0 50px 90px -40px rgba(11,42,99,.6); }
.plan-featured h3, .plan-featured .plan-price { color: var(--white); }
.plan-featured .plan-desc { color: rgba(255,255,255,.75); }
.plan-featured .plan-list { border-color: rgba(255,255,255,.14); }
.plan-featured .plan-list i { color: var(--gold); }
.plan-tag { position: absolute; top: 24px; right: 24px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--gold); color: var(--navy-deep); }
@media (min-width: 900px) {
  .pricing { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plan { padding: 56px 40px 40px; }
  .plan-featured { transform: translateY(-20px); }
  .plan-featured:hover { transform: translateY(-28px); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 96px; } .faq-side { position: sticky; top: 120px; } }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; letter-spacing: -.015em; color: var(--navy); transition: color .4s var(--ease); }
.faq-q:hover { color: var(--gold-text); }
.faq-icon { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); transition: background .5s var(--ease), transform .6s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .6s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--navy); color: var(--white); box-shadow: none; transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 56px 32px 0; max-width: 60ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- CONTACT ---------- */
.contact { margin-top: 72px; box-shadow: inset 0 0 0 1px rgba(201,162,75,.5), var(--shadow); background: rgba(255,255,255,.6); }
.contact-core { padding: 24px; display: grid; gap: 40px; }
.contact-actions { display: grid; gap: 20px; }
.action { padding: 32px 28px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .7s var(--ease); }
.action:hover { transform: translateY(-4px); }
.action h3 { color: var(--navy); }
.action p { color: var(--muted); margin: 10px 0 28px; max-width: 34ch; }
.office { display: grid; gap: 24px; align-content: start; }
.map { border-radius: 20px; overflow: hidden; min-height: 300px; box-shadow: inset 0 0 0 1px var(--line); background: var(--blue-soft); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: saturate(.7) contrast(1.02); display: block; }
.office-text { display: flex; gap: 16px; align-items: flex-start; }
.office-text .icon-lg { margin: 0; }
.office-text h3 { color: var(--navy); }
address { color: var(--muted); margin-top: 6px; }
@media (min-width: 900px) { .contact-core { padding: 48px; grid-template-columns: 1fr 1fr; gap: 56px; } .map, .map iframe { min-height: 340px; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deep); color: var(--white); padding: 112px 0 40px; overflow: hidden; }
.wordmark { font-size: clamp(3.2rem, 14.9vw, 14.6rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; white-space: nowrap; color: rgba(201,162,75,.07); -webkit-text-stroke: 1.2px rgba(201,162,75,.75); margin-bottom: 80px; padding-bottom: .08em; user-select: none; }
.wordmark .wl { display: inline-block; transition: color .6s var(--ease); }
.wordmark .wl:hover { color: var(--gold); }
.brand-light { color: var(--white); }
.footer-grid { display: grid; gap: 40px; }
.footer-note, .footer-addr { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 16px; }
.footer-addr { margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; color: rgba(255,255,255,.75); font-size: 15px; }
.footer-links a { transition: color .4s var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-legal { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color .4s var(--ease); }
.footer-legal:hover { color: var(--gold); }
.footer-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
/* studio credit: quiet by default, the four dots turn gold and rotate on hover */
.made-by { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.5); transition: color .4s var(--ease); }
.made-by svg { width: 13px; height: 13px; fill: currentColor; transition: transform .9s var(--ease), fill .4s var(--ease); }
.made-by b { font-weight: 500; letter-spacing: -.01em; color: rgba(255,255,255,.85); transition: color .4s var(--ease); }
.made-by:hover { color: rgba(255,255,255,.75); }
.made-by:hover svg { transform: rotate(90deg); fill: var(--gold); }
.made-by:hover b { color: var(--gold); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr auto; align-items: start; } .footer-links { grid-template-columns: repeat(3, max-content); } }

/* ---------- INITIAL HIDDEN STATES (only while JS + GSAP run) ---------- */
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(44px); filter: blur(8px); }
.js .hero-copy > :not(h1), .js .hero-media { opacity: 0; }
.js .mw { opacity: .16; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seal-svg, .marquee-track, .loader-line::after, .testi-dots span::after { animation: none !important; }
  .btn, .btn-icon, .link i, .area, .area > i, .area-arrow, .action, .feature, .feature > i, .plan, .quote, .faq-a, .faq-a p { transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- small-screen refinements ---------- */
@media (max-width: 899px) {
  .plan-tag { position: static; align-self: flex-start; margin-bottom: 20px; }
  .testi { padding-top: 88px; }
  .testi-mark { top: 22px; right: auto; left: 26px; font-size: 56px; opacity: .5; }
}
@media (max-width: 480px) {
  .eyebrow { letter-spacing: .12em; font-size: 10px; }
  .cta-row .btn { width: 100%; justify-content: space-between; }
}

/* ---------- ROUTE (pinned, full-bleed 3D globe) ---------- */
.route { position: relative; background: var(--white); overflow: hidden; }
.route-pin { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; padding: 96px 0 40px; }
.route-stage { position: absolute; inset: 0; z-index: 0; background: radial-gradient(40% 40% at 50% 34%, var(--blue-soft), transparent 75%); }
.route-stage canvas { width: 100%; height: 100%; display: block; }
.route-pin::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 48%, rgba(255,255,255,.92) 66%, #fff 78%); }
.route-grid { position: relative; z-index: 2; width: min(1240px, 100% - var(--gutter) * 2); }
.route-copy { max-width: 540px; }
.route-steps { display: grid; }
.rstep { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(28px); filter: blur(8px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), filter .8s var(--ease-out), visibility 0s .8s; }
.rstep.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .1s, .1s, .1s, 0s; }
.rstep h3 { font-size: clamp(2.1rem, 4.6vw, 4.5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; color: var(--navy); text-wrap: balance; max-width: 12ch; }
.rstep h3 em { font-style: normal; color: var(--gold-text); }
.rstep p { color: var(--muted); font-size: 1.06rem; margin-top: 20px; max-width: 40ch; }
.rstep .cta-row { margin-top: 28px; }
.route-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.rnav { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 0; background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.rnav:hover { color: var(--navy); box-shadow: inset 0 0 0 1px rgba(201,162,75,.7); }
.rnav.is-active { background: var(--navy); color: var(--white); box-shadow: none; }
.route-progress { margin-top: 22px; height: 2px; max-width: 420px; background: var(--line); }
.route-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; }
.glabel { position: absolute; left: 0; top: 0; margin: 16px 0 0 -2px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--navy); background: rgba(255,255,255,.94); padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(201,162,75,.6), 0 10px 24px -12px rgba(11,42,99,.4); opacity: 0; translate: 0 6px; transition: opacity .5s var(--ease), translate .6s var(--ease); }
.glabel.is-on { opacity: 1; translate: 0 0; }
.glabel-main { margin-top: -46px; font-size: 11px; padding: 7px 12px; background: var(--navy); color: var(--white); box-shadow: 0 12px 28px -12px rgba(11,42,99,.6); }
@media (min-width: 900px) {
  .route-pin { align-items: center; padding: 80px 0; }
  .route-stage { background: radial-gradient(38% 52% at 67% 50%, var(--blue-soft), transparent 75%); }
  .route-pin::after { background: linear-gradient(90deg, #fff 22%, rgba(255,255,255,.9) 36%, rgba(255,255,255,0) 52%); }
  .glabel { font-size: 11px; }
  .glabel-main { font-size: 12px; }
}
/* without motion: no pin, every step visible */
.route.is-static .rstep { grid-area: auto; opacity: 1; visibility: visible; transform: none; filter: none; margin-bottom: 40px; }
.route.is-static .route-nav, .route.is-static .route-progress { display: none; }
.route.is-static .route-pin { align-items: center; }
.route.no-webgl .route-stage { display: none; }

/* ---------- BIG TYPE (outlined words, fill on scroll, gold on hover) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bigtype { padding: 120px 0; overflow: hidden; background: var(--white); }
@media (min-width: 900px) { .bigtype { padding: 180px 0; } }
.bt-lines { display: grid; gap: .02em; padding-inline: var(--gutter); font-size: clamp(3rem, 18vw, 17.5rem); }
.bt-line { font-weight: 500; letter-spacing: -.065em; line-height: .92; white-space: nowrap; color: var(--navy); -webkit-text-stroke: 1.5px var(--navy); padding-bottom: .06em; will-change: transform; }
.bt-right { text-align: right; }
.bt-indent { padding-left: 12vw; }
.bl { display: inline-block; cursor: default; transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease), translate .7s cubic-bezier(.34, 1.56, .64, 1); }
.bl:hover { color: var(--gold) !important; -webkit-text-stroke-color: var(--gold); translate: 0 -.06em; }
@media (prefers-reduced-motion: reduce) { .bl { transition: none; } }
.bt-gold { color: var(--gold-text); -webkit-text-stroke-color: var(--gold-text); }
.bt-gold .bl:hover { color: var(--navy) !important; -webkit-text-stroke-color: var(--navy); }
