/* Wolfe & Wolfe — brand tokens. Keep this block the single source of colour. */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('fonts/sora-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --night: #0C1524;
  --night-2: #142238;
  --mist: #C9D3E3;
  --slate: #7A8BA8;
  --sun: #F6B66A;
  --ember: #E07B53;
  --paper: #F7F4EE;
  --paper-2: #EFEAE0;
  --ink: #17191F;
  --muted: #5E6472;
  --rule: #DDD6C8;

  --serif: 'Fraunces', Georgia, serif;
  --brand: 'Sora', var(--sans);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1160px;
  --pad-h: clamp(1rem, 4.5vw, 2.75rem);
  --pad-v: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-h); }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--sun); color: var(--night); padding: .6rem 1rem; z-index: 99; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

/* Top bar */
.topbar { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--paper); transition: background .25s ease, box-shadow .25s ease; }
.topbar.scrolled { background: rgba(12, 21, 36, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.topbar-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
/* Header rhythm: the mountains (not their reflection) are the logo box, 28px tall.
   The globe toggle matches that height and everything centres on it. */
.brand { display: flex; align-items: flex-end; gap: .75rem; text-decoration: none; }
.brand-name { font-family: var(--brand); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; color: var(--mist); white-space: nowrap; line-height: 1; margin-bottom: -.2em; }
.brand-logo { display: block; flex: none; width: 60px; height: 28px; overflow: visible; color: var(--sun); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.nav-cta { color: var(--sun); opacity: 1 !important; }
.globe-btn { position: relative; display: flex; align-items: center; gap: .4rem; height: 28px; box-sizing: border-box; padding: 2px 9px 2px 2px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: none; color: var(--mist); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.globe-btn::before { content: ''; position: absolute; inset: -8px -4px; } /* bigger touch target */
.globe-btn:hover { border-color: rgba(246,182,106,.6); }
.globe-btn:active { cursor: grabbing; }
.globe-btn canvas { display: block; border-radius: 50%; }
.globe-code { font: 600 .72rem/1 var(--sans); letter-spacing: .06em; min-width: 1.6em; }
.globe-pop { position: fixed; top: 76px; right: max(16px, calc((100vw - var(--maxw)) / 2 + var(--pad-h))); z-index: 30; padding: 18px 18px 14px; background: rgba(12,21,36,.96); border: 1px solid rgba(246,182,106,.35); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); text-align: center; opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: top right; transition: opacity .2s ease, transform .2s ease; touch-action: none; }
.globe-pop.open { opacity: 1; transform: none; }
.globe-pop canvas { display: block; margin: 0 auto; cursor: grab; touch-action: none; }
.globe-label { margin: .8rem 0 .2rem; color: var(--sun); font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.globe-hint { margin: 0; color: var(--slate); font-size: .78rem; max-width: 280px; }
@media (max-width: 820px) { .nav { display: none; } .globe-btn { margin-left: auto; } .globe-pop { left: 16px; right: 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-pick select { font: inherit; color: var(--mist); background: var(--night-2); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: .15rem .3rem; }
[dir="rtl"] .card-more::after { content: ' ←'; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .globe-pop { right: auto; left: max(16px, calc((100vw - var(--maxw)) / 2 + var(--pad-h))); transform-origin: top left; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: radial-gradient(120% 90% at 50% 0%, var(--night-2) 0%, var(--night) 60%); color: var(--paper); overflow: hidden; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; width: 100%; padding-top: 120px; padding-bottom: 24vh; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sun); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 15ch; font-weight: 400; }
.hero .lede { max-width: 38rem; color: var(--mist); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; padding: .95rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--night); }
.btn-sun:hover { background: #FFC782; }
.btn-ghost { border: 1px solid rgba(201,211,227,.45); color: var(--paper); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }

/* Sections */
.section { padding: var(--pad-v) 0; }
.kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ember); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; padding: 2rem; background: #fff; border: 1px solid var(--rule); border-radius: 18px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(12,21,36,.35); border-color: var(--sun); }
.card-num { font-family: var(--serif); font-size: 2.4rem; color: var(--sun); line-height: 1; margin-bottom: 1.4rem; }
.card p { color: var(--muted); flex: 1; }
.card-more { font-weight: 600; font-size: .9rem; }
.card-more::after { content: ' →'; }

.need { border-top: 1px solid var(--rule); }
.need.alt { background: var(--paper-2); }
.need-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .need-grid { grid-template-columns: 1fr; } }
.need-photo { display: block; width: 100%; max-width: 380px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 1.6rem; border-radius: 14px; background: var(--paper-2); box-shadow: 0 18px 40px -28px rgba(12,21,36,.45); }
.problem { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.expert { margin-top: 1.6rem; font-weight: 600; }
.expert a { color: var(--ember); }
.offer { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.offer li { padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--rule); border-radius: 14px; }
.offer h3 { font-size: 1.15rem; margin-bottom: .35em; }
.offer p { margin: 0; color: var(--muted); }
.offer a { color: var(--ink); }

.dark { background: var(--night); color: var(--paper); }
.dark .kicker { color: var(--sun); }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; margin-top: 2.4rem; }
.formats > div { background: var(--night-2); padding: 1.8rem; }
.formats p { color: var(--mist); margin: 0; }
.formats .dur { color: var(--sun); font-size: .85rem; font-weight: 600; margin-bottom: .6rem; }
@media (max-width: 900px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }
.steps-title { margin-top: 4rem; font-size: 1.6rem; }
.steps { list-style: none; counter-reset: s; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.steps li { counter-increment: s; border-top: 1px solid rgba(246,182,106,.5); padding-top: 1rem; color: var(--mist); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--sun); font-size: 1.4rem; margin-bottom: .4rem; }
.steps strong { display: block; color: var(--paper); font-weight: 600; margin-bottom: .2rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
.person { padding: 2rem; border: 1px solid var(--rule); border-radius: 18px; background: #fff; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.avatar { position: relative; z-index: 1; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--night); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--sun); margin-bottom: 1.4rem; transform-origin: 0 0; cursor: zoom-in; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; }
.avatar:hover, .avatar:focus-visible { z-index: 3; transform: scale(2.1); box-shadow: 0 0 0 2px #fff, 0 0 0 2.5px var(--sun), 0 30px 60px -24px rgba(12,21,36,.6); outline: none; }
@media (hover: none) { .avatar:focus { z-index: 3; transform: scale(2.1); } }
@media (prefers-reduced-motion: reduce) { .avatar { transition: none; } }
.role { color: var(--ember); font-weight: 600; font-size: .95rem; }
.person p:not(.role) { color: var(--muted); flex: 1; }
.btn-li { align-self: flex-start; gap: .5rem; margin-top: .4rem; padding: .7rem 1.2rem; background: #0A66C2; color: #fff; font-size: .9rem; }
.btn-li:hover { background: #004182; }
.btn-li::before { content: 'in'; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 3px; background: #fff; color: #0A66C2; font: 700 .78rem/1 var(--sans); }

.contact { background: linear-gradient(180deg, var(--night) 0%, #2A2236 70%, #6B3B3A 100%); color: var(--paper); text-align: center; }
.contact-in { max-width: 760px; }
.contact .lede { color: var(--mist); font-size: 1.15rem; }
.contact .cta-row { justify-content: center; }

.footer { background: var(--night); color: var(--slate); font-size: .88rem; padding: 2rem 0; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.footer p { margin: 0; }
