/* =====================================================================
   Advance — site styles
   Same brand as the main site: navy + gold palette, same logo, same texts.
   New: one continuous page, typographic layout, scroll-driven focus /
   timeline, bento clients, list + detail services, inline contact form.
   ===================================================================== */
:root {
  /* brand colours (identical to the main site) */
  --navy: #0d1830;
  --navy-2: #16274a;
  --navy-3: #1c3059;
  --paper: #f5f4f0;
  --gold: #b3872f;
  --gold-light: #cfa54f;
  --gold-hi: #f0d28c;
  --muted: #aab4c8;
  --line: rgba(245,244,240,.12);
  --line-strong: rgba(245,244,240,.22);
  --gold-line: rgba(207,165,79,.32);

  /* Same typeface as the main site: Inter with the Apple system font as fallback. Small labels use it too (no monospace). */
  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: var(--font-head);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gut: clamp(20px, 4vw, 48px);
  --head-h: 84px;
  --r-lg: 28px;
  --r-md: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  font-family: var(--font-head); font-size: 16px; line-height: 1.6;
  background: var(--navy); color: var(--paper);
  overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ambient backdrop: static gradients + faint grid. Never receives clicks. */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 620px at 8% -6%, rgba(207,165,79,.13), transparent 60%),
    radial-gradient(1000px 700px at 100% 30%, rgba(28,48,89,.65), transparent 62%),
    radial-gradient(800px 600px at 20% 110%, rgba(28,48,89,.55), transparent 60%);
}
.ambient::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(207,165,79,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(207,165,79,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
}
main, .foot { position: relative; z-index: 1; }

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

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 95; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 12px rgba(207,165,79,.7); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 14px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, #ecc978 0%, var(--gold-light) 48%, var(--gold) 100%); color: #1b1406; box-shadow: 0 12px 30px -12px rgba(207,165,79,.65), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(245,244,240,.03); }
@media (hover: hover) {
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(207,165,79,.8), inset 0 1px 0 rgba(255,255,255,.4); }
  .btn-gold:hover::after { transform: translateX(120%); }
  .btn-ghost:hover { border-color: var(--gold-light); background: rgba(207,165,79,.08); transform: translateY(-2px); }
}
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- header ---------- */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 80; padding: 12px var(--gut); transition: transform .5s var(--ease); pointer-events: none; }
.head.is-hidden { transform: translateY(-120%); }
.head-in {
  pointer-events: auto; max-width: 1240px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 22px; border-radius: 20px;
  background: rgba(13,24,48,.62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.6);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav > a, .nav-dd-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s ease; }
.nav > a:hover, .nav-dd-link:hover, .nav a.is-active { color: var(--paper); }
.nav-dd-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-ind { position: absolute; z-index: 0; top: 50%; height: 36px; margin-top: -18px; border-radius: 12px; background: rgba(207,165,79,.14); border: 1px solid rgba(207,165,79,.32); opacity: 0; transition: left .45s var(--ease), width .45s var(--ease), opacity .3s ease; }
.nav-dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 380px; padding: 8px; border-radius: 20px;
  background: rgba(11,20,40,.985); border: 1px solid var(--gold-line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .25s;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-dd:focus-within .dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) { .nav-dd:hover .dd-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; } .nav-dd:hover .nav-dd-link svg { transform: rotate(180deg); } }
.dd-item { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 13px; font-size: 14px; font-weight: 600; color: #dfe4ee; transition: background-color .2s ease, color .2s ease; }
.dd-item i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--gold-light); opacity: .9; }
.dd-item:hover, .dd-item:focus-visible { background: rgba(207,165,79,.12); color: var(--paper); }
.dd-item.is-combo { background: rgba(207,165,79,.07); }

.head-end { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); }
.lang button { font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 6px 9px; border-radius: 9px; color: var(--muted); transition: background-color .25s ease, color .25s ease; }
.lang button.is-on { background: var(--gold-light); color: var(--navy); }
.head-cta { height: 42px; padding: 0 20px; border-radius: 12px; font-size: 14px; }
.burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* phone menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: 70; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(92px + env(safe-area-inset-top, 0px)) var(--gut) calc(28px + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(700px 500px at 100% 0%, rgba(207,165,79,.12), transparent 60%), #08101f;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s;
}
.sheet.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease; }
.sheet-nav { display: flex; flex-direction: column; gap: 4px; max-width: 520px; margin: 0 auto; }
.sheet-link { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: clamp(1.5rem, 7vw, 2rem); font-weight: 800; letter-spacing: -.02em; text-align: left; }
.sheet-link i { font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--gold-light); min-width: 22px; }
.sheet-acc-btn svg { margin-left: auto; width: 22px; height: 22px; color: var(--gold-light); transition: transform .35s var(--ease); }
.sheet-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sheet-acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.sheet-acc-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease); }
.sheet-acc-in { min-height: 0; overflow: hidden; }
.sheet-svc { display: flex; align-items: center; gap: 14px; padding: 13px 4px 13px 22px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; color: #dfe4ee; }
.sheet-svc i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--gold-light); }
.sheet-svc.is-combo { background: linear-gradient(90deg, rgba(207,165,79,.12), transparent); }
.sheet-cta { margin-top: 26px; height: 56px; }

/* ---------- shared bits ---------- */
[data-r] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-r].in { opacity: 1; transform: none; }
.sec { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 68px); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.eyebrow .idx { padding: 4px 10px; border: 1px solid var(--gold-line); border-radius: 999px; letter-spacing: .08em; }
.sec-title { margin-top: 20px; max-width: 22ch; font-size: clamp(1.95rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; text-wrap: balance; overflow-wrap: break-word; }
.acc { background: linear-gradient(120deg, var(--gold-hi), var(--gold-light) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* pointer spotlight (set by JS on fine pointers) */
[data-spot] { position: relative; }
[data-spot]::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(207,165,79,.17), transparent 62%); }
@media (hover: hover) and (pointer: fine) { [data-spot]:hover::before { opacity: 1; } }
[data-spot] > * { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--head-h); display: flex; flex-direction: column; overflow: clip; }
.hero-in { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 84px); align-items: center; padding-block: clamp(22px, 5vh, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 8px 16px 8px 14px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(207,165,79,.07); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold-light); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.hero-h1 { font-size: clamp(2.45rem, 6.1vw, 5.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
.hero-h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .22em; margin: 0 -.04em -.22em; }
.hero-h1 .w > span { display: inline-block; padding-bottom: .18em; margin-bottom: -.18em; transform: translateY(125%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 160ms); }
@keyframes wordUp { to { transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); opacity: 0; animation: fadeUp .9s var(--ease) .75s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; max-height: 66svh; opacity: 0; animation: fadeUp 1.2s var(--ease) .35s forwards; }
.hv-frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--gold-line); background: var(--navy-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,.85), 0 0 80px -30px rgba(207,165,79,.35); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); }
.hv-frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 60% 62%; transform: translateY(var(--py, 0px)) scale(1.04); }
.hv-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13,24,48,.18) 0%, transparent 34%, rgba(13,24,48,.72) 100%); }
.hv-line { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8%; height: 38%; width: 100%; }
.hv-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .9s forwards; filter: drop-shadow(0 0 8px rgba(207,165,79,.7)); }
.hv-area { opacity: 0; animation: fadeIn 1.6s ease 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hv-dot { position: absolute; z-index: 3; left: 95%; top: 58.6%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 18px 4px rgba(240,210,140,.8); opacity: 0; animation: fadeIn .5s ease 3s forwards; }
.hv-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--gold-hi); animation: ping 2.2s ease-out 3s infinite; }
.hv-c { position: absolute; z-index: 3; width: 22px; height: 22px; border: 0 solid var(--gold-light); opacity: .85; }
.hv-c.c-tl { left: 14px; top: 14px; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.hv-c.c-tr { right: 14px; top: 14px; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
.hv-c.c-bl { left: 14px; bottom: 14px; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.hv-c.c-br { right: 14px; bottom: 14px; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats li { padding: clamp(18px, 2.4vw, 30px) 0 clamp(18px, 2.4vw, 30px) clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-size: clamp(1.7rem, 4.2vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; background: linear-gradient(120deg, var(--gold-hi), var(--gold-light) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: clamp(.78rem, 1.3vw, .95rem); color: var(--muted); line-height: 1.35; }

/* wide platform band between the hero and the rest of the page */
.band { position: relative; z-index: 1; overflow: clip; padding: clamp(30px, 4.4vw, 62px) 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(28,48,89,.34), rgba(13,24,48,.2)); }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(207,165,79,.6), transparent); }
.trust-label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 var(--gut) clamp(16px, 2.4vw, 30px); }
/* vertical padding (cancelled by the negative margin) gives the hover-zoomed icon room, so it is never clipped by the strip */
.trust-mask { overflow: hidden; padding-block: 16px; margin-block: -16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.trust-track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.trust-track:hover { animation-play-state: paused; }
.trust-track svg { flex: 0 0 auto; overflow: visible; width: clamp(28px, 3.5vw, 42px); height: clamp(28px, 3.5vw, 42px); margin-right: clamp(46px, 7vw, 92px); fill: currentColor; color: #8e9bb3; opacity: .78; transition: color .3s ease, opacity .3s ease, transform .4s var(--ease); }
.trust-track svg:hover { color: var(--gold-hi); opacity: 1; transform: scale(1.1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why Us: side decoration ---------- */
.why { overflow: clip; }
.why > .wrap { position: relative; z-index: 1; }
.why-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* soft colour glows that drift and slowly trade gold for blue (transform + opacity only, so they stay cheap) */
.aur { position: absolute; width: min(880px, 84vw); height: min(880px, 84vw); border-radius: 50%; will-change: transform, opacity; }
.aur::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; animation: hueSwap 15s ease-in-out infinite alternate; }
.aur.a1 { left: -30%; top: 3%; background: radial-gradient(closest-side, rgba(207,165,79,.30), transparent 72%); animation: drift1 24s ease-in-out infinite alternate; }
.aur.a1::after { background: radial-gradient(closest-side, rgba(84,124,214,.34), transparent 72%); }
.aur.a2 { right: -32%; top: 30%; background: radial-gradient(closest-side, rgba(84,124,214,.32), transparent 72%); animation: drift2 28s ease-in-out infinite alternate; }
.aur.a2::after { background: radial-gradient(closest-side, rgba(207,165,79,.30), transparent 72%); animation-duration: 19s; }
.aur.a3 { left: -26%; top: 62%; background: radial-gradient(closest-side, rgba(207,165,79,.26), transparent 72%); animation: drift3 32s ease-in-out infinite alternate; }
.aur.a3::after { background: radial-gradient(closest-side, rgba(84,124,214,.30), transparent 72%); animation-duration: 22s; }
@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); opacity: .5; } to { transform: translate3d(8%,12%,0) scale(1.2); opacity: .95; } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.15); opacity: .95; } to { transform: translate3d(-9%,-10%,0) scale(.95); opacity: .5; } }
@keyframes drift3 { from { transform: translate3d(0,0,0) scale(1); opacity: .55; } to { transform: translate3d(7%,-12%,0) scale(1.22); opacity: .95; } }
@keyframes hueSwap { from { opacity: 0; } to { opacity: 1; } }
.ring { position: absolute; width: 520px; height: 520px; opacity: .9; }
.rg1 { left: -300px; top: 7%; animation: spin 90s linear infinite; }
.rg2 { right: -300px; top: 38%; animation: spin 110s linear infinite reverse; }
.rg3 { left: -290px; top: 70%; animation: spin 100s linear infinite; }
/* a fine ruler along both edges of the section */
.ticks { position: absolute; top: 5%; bottom: 5%; width: 16px; background: repeating-linear-gradient(180deg, rgba(207,165,79,.4) 0 1px, transparent 1px 16px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
.ticks::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(207,165,79,.35) 15%, rgba(207,165,79,.35) 85%, transparent); }
.ticks.tk-l { left: clamp(10px, 2.2vw, 36px); } .ticks.tk-l::after { right: 0; }
.ticks.tk-r { right: clamp(10px, 2.2vw, 36px); } .ticks.tk-r::after { left: 0; }

/* ---------- Why Us: reading focus ---------- */
.why-grid { display: grid; grid-template-columns: minmax(200px, .36fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.why-side { position: sticky; top: calc(var(--head-h) + 26px); align-self: start; transition: top .5s var(--ease); }
html.head-off .why-side { top: 30px; }
.why-count { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 18px; line-height: .9; }
.why-count b { font-size: clamp(4.6rem, 10vw, 8.6rem); font-weight: 800; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(207,165,79,.85); font-variant-numeric: tabular-nums; transition: -webkit-text-stroke-color .4s ease; }
.why-count span { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.why-bar { display: flex; gap: 6px; max-width: 260px; }
.why-bar i { flex: 1; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background-color .5s ease; }
.why-bar i.on { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
/* one continuous line down the whole section (like the Workflow timeline); its gold part grows with the scroll */
.why-body { position: relative; }
.why-body::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--line); }
.why-fill { position: absolute; top: 0; left: 0; width: 2px; margin-left: -1px; height: calc(var(--wp, 0) * 100%); border-radius: 2px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-light) 45%, var(--gold)); box-shadow: 0 0 18px rgba(207,165,79,.65); }
.why-block { position: relative; min-height: clamp(240px, 52svh, 460px); display: flex; flex-direction: column; justify-content: center; padding: 30px 0 30px clamp(26px, 3.4vw, 52px); opacity: .26; transition: opacity .6s ease; }
.why-block::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--navy); border: 2px solid var(--line-strong); transition: border-color .5s ease, background-color .5s ease, box-shadow .6s ease; }
.why-block.is-active, .why-block.is-past { opacity: 1; }
.why-block.is-past::before { border-color: var(--gold-light); background: var(--gold-light); box-shadow: 0 0 0 6px rgba(207,165,79,.1), 0 0 22px rgba(207,165,79,.65); }
.why-block.is-past:not(.is-active) { opacity: .55; }
.why-h { font-size: clamp(2.05rem, 5vw, 4.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 20px; text-wrap: balance; overflow-wrap: break-word; }
.why-h .acc { display: block; }
.why-sub { max-width: 54ch; font-size: clamp(1.02rem, 1.5vw, 1.3rem); line-height: 1.65; color: var(--muted); }
.why-block.is-active .why-sub { color: #c9d1e0; }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 6vw, 84px); }
.fig { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(28,48,89,.55), rgba(13,24,48,.55)); border: 1px solid var(--gold-line); overflow: hidden; }
.fig b { display: block; font-size: clamp(2.8rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(120deg, var(--gold-hi), var(--gold-light) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums; }
.fig span { display: block; margin-top: 14px; max-width: 30ch; color: #c9d1e0; font-size: clamp(.98rem, 1.3vw, 1.1rem); line-height: 1.5; }

/* ---------- Services: list + detail ---------- */
.svc-list { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(7, auto) 1fr; column-gap: clamp(20px, 3.6vw, 60px); align-items: start; }
.svc { display: contents; }
.svc-row { grid-column: 1; grid-row: var(--r); display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid transparent; border-bottom-color: var(--line); transition: background-color .3s ease, border-color .3s ease; }
.svc-row .no { font-family: var(--font-mono); font-size: 12px; color: var(--gold-light); min-width: 24px; }
.svc-row .tt { flex: 1; min-width: 0; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: #c3cbdb; transition: color .3s ease; }
.svc-row .ar { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold-light); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .4s var(--ease); }
.svc-row.is-combo { background: linear-gradient(90deg, rgba(207,165,79,.09), transparent 80%); }
@media (hover: hover) { .svc-row:hover .tt { color: var(--paper); } .svc-row:hover { background: rgba(245,244,240,.03); } }
.svc.is-open .svc-row { background: linear-gradient(90deg, rgba(207,165,79,.16), rgba(207,165,79,.03)); border-color: var(--gold-line); }
.svc.is-open .svc-row .tt { color: var(--paper); }
.svc.is-open .svc-row .ar { opacity: 1; transform: none; }

.svc-panel { grid-column: 2; grid-row: 1 / -1; align-self: stretch; position: relative; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(28,48,89,.6), rgba(13,24,48,.62)); border: 1px solid var(--gold-line); box-shadow: 0 40px 90px -50px rgba(0,0,0,.8); overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); transition: opacity .45s ease, transform .7s var(--ease), visibility 0s linear .45s; }
.svc.is-open .svc-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.svc-panel-in { min-height: 0; display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 3.2vw, 46px); }
.sp-card { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.stg { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .7s var(--ease); }
.svc.is-open .stg { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 70ms + 140ms); }
.sp-top { display: flex; align-items: center; gap: 16px; }
.sp-ic { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; color: var(--gold-hi); border: 1px solid var(--gold-line); background: rgba(207,165,79,.08); box-shadow: 0 0 40px -8px rgba(207,165,79,.45); }
.sp-ic svg { width: 32px; height: 32px; }
.sp-no { font-family: var(--font-mono); font-size: 13px; color: var(--gold-light); letter-spacing: .1em; }
.sp-t { margin-top: 20px; font-size: clamp(1.7rem, 3.1vw, 2.65rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; }
.sp-d { margin-top: 14px; max-width: 60ch; font-size: clamp(1rem, 1.3vw, 1.12rem); color: #c9d1e0; }
.sp-b { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 26px 0 8px; }
.sp-b li { position: relative; padding-left: 22px; font-size: .94rem; line-height: 1.5; color: #dfe4ee; }
.sp-b li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gold-light); box-shadow: 0 0 10px rgba(207,165,79,.6); }
.wi { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 14px; padding: 8px 0; font-weight: 700; font-size: .95rem; color: var(--gold-hi); }
.wi svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.wi[aria-expanded="true"] svg { transform: rotate(180deg); }
.wi-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.wi-p.is-open { grid-template-rows: 1fr; }
.wi-p > div { min-height: 0; overflow: hidden; }
.wi-list { counter-reset: d; display: grid; gap: 10px; padding: 6px 0 4px; }
.wi-list li { counter-increment: d; position: relative; padding: 12px 14px 12px 46px; border-radius: 14px; background: rgba(245,244,240,.04); border: 1px solid var(--line); font-size: .9rem; line-height: 1.5; color: #dfe4ee; }
.wi-list li::before { content: counter(d, decimal-leading-zero); position: absolute; left: 14px; top: 13px; font-family: var(--font-mono); font-size: 11px; color: var(--gold-light); }
.sp-inc { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--gold-line); background: rgba(207,165,79,.08); font-weight: 700; font-size: .95rem; transition: background-color .25s ease, border-color .25s ease; }
.chip svg { width: 20px; height: 20px; color: var(--gold-hi); }
@media (hover: hover) { .chip:hover { background: rgba(207,165,79,.16); border-color: var(--gold-light); } }
.svc-panel.is-combo .sp-top { margin-top: auto; } .svc-panel.is-combo .sp-inc { margin-bottom: auto; } .svc-panel.is-combo .sp-price { margin-top: 0; }   /* short panel: content centred, price stays at the bottom */
.sp-price { margin-top: auto; padding-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sp-price-l { padding-top: 22px; border-top: 1px solid var(--line); flex: 1 1 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sp-from { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sp-val { font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.sp-val small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.sp-custom { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
.ribbon { position: absolute; z-index: 3; top: 20px; right: 20px; padding: 7px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #1b1406; background: linear-gradient(120deg, #ecc978, var(--gold-light), var(--gold)); box-shadow: 0 8px 24px -8px rgba(207,165,79,.8); }
.gift { position: absolute; z-index: 3; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #1b1406; background: linear-gradient(135deg, #ecc978, var(--gold-light) 50%, var(--gold)); box-shadow: 0 10px 28px -8px rgba(207,165,79,.9); animation: giftBob 2.6s ease-in-out infinite; }
.gift::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold-light); animation: ping 2.2s ease-out infinite; }
.gift svg { width: 24px; height: 24px; }
@keyframes giftBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(6deg); } }

/* ---------- Clients: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bc { grid-column: span 6; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; min-height: 260px; padding: clamp(24px, 2.8vw, 38px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(28,48,89,.5), rgba(13,24,48,.55)); border: 1px solid var(--line); transition: border-color .4s ease, transform .6s var(--ease); }
.bc:nth-child(6n+1) { grid-column: span 7; } .bc:nth-child(6n+2) { grid-column: span 5; } .bc:nth-child(6n+3) { grid-column: span 5; } .bc:nth-child(6n+4) { grid-column: span 7; }
@media (hover: hover) { .bc:hover { border-color: var(--gold-line); transform: translateY(-4px); } }
.bc-no { position: absolute !important; right: 22px; top: 8px; font-size: clamp(4.5rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(245,244,240,.045); pointer-events: none; }
.bc-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--gold-hi); border: 1px solid var(--gold-line); background: rgba(207,165,79,.08); }
.bc-ic svg { width: 30px; height: 30px; }
.bc h3 { margin-top: auto; font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.bc p { margin-top: -8px; max-width: 52ch; font-size: .98rem; line-height: 1.6; color: var(--muted); }

/* ---------- Workflow: timeline ---------- */
.wf-sec { overflow: clip; }
.wf-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .2; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.wf-bg img { width: 100%; height: 100%; object-fit: cover; }
.wf-sec .wrap { position: relative; z-index: 1; }
.tl { position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
/* the finish: when the line reaches the bottom, the end node lights up, a check is drawn, rings and sparks burst out */
.tl-end { position: relative; height: 0; }
.done { position: absolute; left: 50%; top: 0; width: 76px; height: 76px; margin: -38px 0 0 -38px; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 1px solid var(--line-strong); color: #1b1406; transition: background .5s ease, border-color .5s ease, box-shadow .7s ease, transform .7s var(--ease); }
.done svg { position: relative; width: 38px; height: 38px; }
.dn-check { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease) .25s; }
.dn-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-light); opacity: 0; pointer-events: none; }
.dn-spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 10px rgba(240,210,140,.95); opacity: 0; pointer-events: none; }
.tl.is-done .done { background: linear-gradient(135deg, #ecc978, var(--gold-light) 50%, var(--gold)); border-color: var(--gold-light); transform: scale(1.06); box-shadow: 0 0 0 9px rgba(207,165,79,.12), 0 0 64px rgba(207,165,79,.65); }
.tl.is-done .dn-check { stroke-dashoffset: 0; }
.tl.is-done .dn-ring { animation: doneRing 1.5s var(--ease) .1s 1 both; }
.tl.is-done .dn-ring.r2 { animation-delay: .4s; }
.tl.is-done .dn-spark { animation: spark 1.2s var(--ease) .15s 1 both; }
@keyframes doneRing { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(2.7); } }
@keyframes spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(-26px) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-88px) scale(.3); } }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line); }
.tl-fill { position: absolute; top: 0; left: 50%; width: 2px; margin-left: -1px; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: linear-gradient(180deg, var(--gold-hi), var(--gold-light) 45%, var(--gold)); box-shadow: 0 0 18px rgba(207,165,79,.65); }
.tl-item { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(64px, 10vw, 150px); align-items: center; padding: clamp(22px, 4.4vw, 56px) 0; }
.tl-card { grid-row: 1; }
.tl-item.left .tl-card { grid-column: 1; text-align: right; }
.tl-item.left .tl-art { grid-column: 2; justify-self: start; }
.tl-item.right .tl-card { grid-column: 2; }
.tl-item.right .tl-art { grid-column: 1; justify-self: end; }
.tl-art { grid-row: 1; color: var(--muted); opacity: .35; transition: opacity .7s ease, color .7s ease; }
.tl-art svg { width: clamp(96px, 13vw, 176px); height: clamp(96px, 13vw, 176px); }
.tl-item.is-on .tl-art { opacity: 1; }
.tl-item.gold .tl-art { color: var(--gold-light); } .tl-item.silver.is-on .tl-art { color: #e7ecf5; }
.tl-node { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--muted); transition: border-color .5s ease, color .5s ease, box-shadow .6s ease, background-color .5s ease; }
.tl-item.is-on .tl-node { color: var(--gold-hi); border-color: var(--gold-light); background: #14213f; box-shadow: 0 0 0 7px rgba(207,165,79,.08), 0 0 44px rgba(207,165,79,.4); }
.tl-t { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; overflow-wrap: break-word; }
.tl-d { margin-top: 14px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #c9d1e0; max-width: 46ch; }
.tl-item.left .tl-d { margin-left: auto; }
.tl-card { opacity: .3; transform: translateY(10px); transition: opacity .7s ease, transform .8s var(--ease); }
.tl-item.is-on .tl-card { opacity: 1; transform: none; }

/* ---------- Contact ---------- */
.ct-sec { padding-bottom: clamp(90px, 12vw, 170px); overflow: clip; }   /* the decorative orbits must never widen the page */
.ct-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.ct-copy { position: relative; }
.ct-sub { margin-top: 22px; max-width: 42ch; font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: #c9d1e0; }
.ct-mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; max-width: 100%; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(207,165,79,.07); transition: background-color .3s ease, border-color .3s ease, transform .4s var(--ease); }
.ct-mail-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #1b1406; background: linear-gradient(135deg, #ecc978, var(--gold-light) 50%, var(--gold)); box-shadow: 0 8px 22px -8px rgba(207,165,79,.8); }
.ct-mail-ic svg { width: 22px; height: 22px; }
.ct-mail-t { min-width: 0; font-weight: 700; font-size: clamp(.92rem, 1.5vw, 1.08rem); letter-spacing: -.01em; }   /* wraps only after the "@" (see the <wbr> in index.html) */
@media (hover: hover) { .ct-mail:hover { background: rgba(207,165,79,.14); border-color: var(--gold-light); transform: translateY(-2px); } }
.orbit { position: absolute; z-index: -1; left: -60px; top: 60%; width: 420px; height: 420px; pointer-events: none; opacity: .7; }
.orbit i { position: absolute; border-radius: 50%; border: 1px solid rgba(207,165,79,.2); }
.orbit i:nth-child(1) { inset: 0; } .orbit i:nth-child(2) { inset: 56px; border-color: rgba(207,165,79,.28); animation: spin 40s linear infinite; }
.orbit i:nth-child(3) { inset: 118px; border-color: rgba(207,165,79,.36); animation: spin 26s linear infinite reverse; }
.orbit i:nth-child(2)::after, .orbit i:nth-child(3)::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 14px rgba(240,210,140,.9); }
@keyframes spin { to { transform: rotate(360deg); } }
.ct-card { padding: clamp(24px, 3.4vw, 46px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(28,48,89,.62), rgba(13,24,48,.72)); border: 1px solid var(--gold-line); box-shadow: 0 50px 100px -50px rgba(0,0,0,.85); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(8,15,32,.6); color: var(--paper); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(207,165,79,.16); background: rgba(8,15,32,.85); }
.field input:user-invalid { border-color: #e88b7a; }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); transform: rotate(45deg); pointer-events: none; }
.field select option { background: var(--navy-2); color: var(--paper); }
.form-error { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(232,139,122,.12); border: 1px solid rgba(232,139,122,.4); color: #ffb4a6; font-size: .92rem; }
.thanks { text-align: center; padding: clamp(20px, 4vw, 44px) 0; animation: fadeUp .8s var(--ease) both; }
.thanks-ic { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: #1b1406; background: linear-gradient(135deg, #ecc978, var(--gold-light) 50%, var(--gold)); box-shadow: 0 0 60px rgba(207,165,79,.5); animation: pop .7s var(--ease) both; }
.thanks-ic svg { width: 38px; height: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.thanks p { max-width: 38ch; margin: 0 auto; color: #c9d1e0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); background: rgba(8,15,32,.6); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 8px 26px; flex-wrap: wrap; }
.foot-link { font-size: 14px; color: var(--muted); border-bottom: 1px solid transparent; transition: color .25s ease, border-color .25s ease; }
.foot-link:hover { color: var(--gold-hi); border-bottom-color: currentColor; }
.foot-rights { font-size: 13px; color: var(--muted); }

/* ---------- popups ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(5,10,24,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease; }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(160deg, #1c3059, #0f1c38); border: 1px solid var(--gold-line); box-shadow: 0 60px 120px -40px rgba(0,0,0,.9); transform: translateY(20px) scale(.97); transition: transform .5s var(--ease); }
.modal.is-open .modal-card { transform: none; }
.modal-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; font-size: 28px; line-height: 1; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
.modal-x:hover { color: var(--paper); background: rgba(245,244,240,.08); }
.promo-card { text-align: center; }
.promo-gift { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #1b1406; background: linear-gradient(135deg, #ecc978, var(--gold-light) 50%, var(--gold)); box-shadow: 0 0 60px rgba(207,165,79,.55); }
.promo-gift svg { width: 34px; height: 34px; }
.promo-h { margin: 12px 0 14px; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.promo-t { margin-bottom: 26px; color: #c9d1e0; line-height: 1.6; }
.legal-card { width: min(720px, 100%); }
.legal-title { padding-right: 36px; margin-bottom: 8px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.legal-body { font-size: .95rem; line-height: 1.7; color: #c9d1e0; }
.legal-body h3 { margin: 22px 0 6px; font-size: 1.02rem; font-weight: 700; color: var(--gold-hi); }
.legal-body p { margin-bottom: 10px; }
.legal-body a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal-body ul { margin: 6px 0 10px 20px; list-style: disc; }
.legal-body li { margin-bottom: 6px; }
.legal-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.legal-note { padding: 10px 12px; margin-bottom: 12px; border-radius: 10px; background: rgba(207,165,79,.08); border: 1px solid var(--gold-line); }

/* small uppercase labels (they were monospace; in Inter they read best a little bolder) */
.eyebrow, .kicker, .trust-label, .field label, .sp-from, .sp-custom, .lang button, .ribbon, .svc-row .no, .sp-no, .dd-item i, .sheet-link i, .sheet-svc i, .why-count span, .legal-date, .tl-node { font-weight: 600; }

/* =====================================================================
   Tablet / phone (<= 959px)
   ===================================================================== */
@media (max-width: 959px) {
  :root { --head-h: 76px; }
  .head { padding: 10px var(--gut); }
  .head-in { height: 56px; padding: 0 8px 0 16px; gap: 10px; }
  .brand img { height: 26px; }
  .nav, .head-cta { display: none; }
  .head-end { margin-left: auto; }
  .burger { display: block; }

  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 18px 30px; }
  .hero-visual { justify-self: stretch; max-width: none; aspect-ratio: 16 / 11; max-height: 38svh; }
  .hv-frame img { object-position: 62% 58%; }
  .stats li { padding-inline: 12px; }
  .stats li:first-child { padding-left: 0; }

  .ticks { display: none; }
  .ring { width: 340px; height: 340px; opacity: .75; }
  .rg1 { left: -220px; } .rg2 { right: -220px; } .rg3 { left: -220px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  html.head-off .why-side { top: calc(env(safe-area-inset-top, 0px) + 2px); }
  .why-side { top: calc(var(--head-h) - 4px); z-index: 4; margin: 0 calc(var(--gut) * -1); padding: 10px var(--gut) 26px; background: linear-gradient(180deg, #0d1830 0%, #0d1830 66%, rgba(13,24,48,0)); }
  .why-side-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .why-count { margin: 0; } .why-count b { font-size: 2.6rem; -webkit-text-stroke-width: 1px; } .why-count span { font-size: 12px; }
  .why-bar { flex: 1; min-width: 120px; max-width: none; }
  .why-block { min-height: 0; padding: 34px 0 34px 30px; }
  .figs { grid-template-columns: minmax(0, 1fr); }

  /* services: accordion */
  .svc-list { display: block; }
  .svc { display: block; border-bottom: 1px solid var(--line); }
  .svc-row { padding: 18px 6px; border-radius: 0; border: 0; grid-row: auto; }
  .svc-row .ar { opacity: 1; transform: none; transition: transform .4s var(--ease); }
  .svc.is-open .svc-row { background: transparent; border: 0; }
  .svc.is-open .svc-row .ar { transform: rotate(90deg); }
  .svc-row { scroll-margin-top: calc(var(--head-h) + 8px); }
  .svc-panel { grid-column: auto; grid-row: auto; display: grid; grid-template-rows: 0fr; height: auto; border: 0; background: transparent; box-shadow: none; overflow: visible; opacity: 1; transform: none; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s; }
  .svc.is-open .svc-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease); }
  .svc-panel-in { overflow: hidden; height: auto; padding: 0; }
  .sp-card { margin: 4px 0 22px; padding: 22px 20px 24px; border-radius: 22px; background: linear-gradient(160deg, rgba(28,48,89,.6), rgba(13,24,48,.62)); border: 1px solid var(--gold-line); position: relative; }
  .sp-b { grid-template-columns: 1fr; }
  .sp-top .sp-ic { width: 56px; height: 56px; border-radius: 18px; } .sp-ic svg { width: 26px; height: 26px; }
  .ribbon { top: 16px; right: 16px; }
  .gift { top: 14px; right: 14px; width: 46px; height: 46px; }
  .stg { opacity: 1; transform: none; }

  .bc { grid-column: span 6 !important; min-height: 0; }

  .tl::before, .tl-fill { left: 27px; }
  .done { left: 27px; width: 60px; height: 60px; margin: -30px 0 0 -30px; } .done svg { width: 30px; height: 30px; }
  .tl-item, .tl-item.left, .tl-item.right { grid-template-columns: minmax(0, 1fr); padding: 22px 0 22px 68px; }
  .tl-item .tl-card, .tl-item.left .tl-card, .tl-item.right .tl-card { grid-column: 1; text-align: left; }
  .tl-art { display: none; }
  .tl-node { left: 27px; top: 46px; width: 50px; height: 50px; margin: -25px 0 0 -25px; font-size: 13px; }
  .tl-item.left .tl-d { margin-left: 0; }
  .tl-t { font-size: clamp(1.35rem, 6.4vw, 1.9rem); hyphens: auto; overflow-wrap: anywhere; }

  .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .orbit { left: auto; right: -140px; top: -40px; width: 320px; height: 320px; opacity: .5; }
}
@media (max-width: 640px) {
  .bc { grid-column: span 12 !important; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .hero-h1 { font-size: clamp(2rem, 9.2vw, 3.2rem); overflow-wrap: anywhere; hyphens: auto; }
  .sec-title, .why-h, .sp-t { hyphens: auto; overflow-wrap: anywhere; }
  .why-h { font-size: clamp(1.8rem, 8.4vw, 2.6rem); }
  .hero-cta .btn { flex: 1 1 100%; }
  .kicker { font-size: 11px; margin-bottom: 20px; }
  .modal { align-items: end; padding: 12px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats b { font-size: clamp(.95rem, 4.9vw, 1.7rem); white-space: nowrap; }   /* "4+ years" stays on one line */
}
@media (max-width: 380px) {
  .lang button { padding: 6px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-r], .stg, .hero-cta, .hero-visual { opacity: 1 !important; transform: none !important; }
  .hero-h1 .w > span { transform: none !important; }
  .trust-track { animation: none; }
}
