/* ═══════════════════════════════════════════════════════════
   Loyane & Co. — Stripe-style system with an Apple finish
   Light, airy canvas; soft gradient mesh and angled bands; product-style
   cards with hairline borders and layered shadows; tight, confident type.
   Brand navy + gold. All colours are tokens below.
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:      #0a1b33;      /* headings + dark bands */
  --navy-2:    #152438;      /* logo navy */
  --navy-deep: #07111f;
  --body:      #44546a;      /* body copy */
  --mute:      #6b7a90;
  --white:     #fff;
  --head:       #0a1b33;     /* heading text */
  --card:       #fff;        /* card surface */
  --glass:      rgba(255, 255, 255, .78);
  --bg:        #f6f8fb;      /* light band */
  --line:      #e3e8ef;
  --line-dark: #1f3250;
  --gold:      #9b7b54;
  --gold-lt:   #d4b483;
  --blue:      #6f89bb;      /* soft mesh accent */
  --peach:     #f6d8b8;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --r: 16px;
  --r-lg: 24px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 1px rgba(10, 27, 51, .04), 0 8px 16px -6px rgba(10, 27, 51, .08), 0 28px 48px -20px rgba(10, 27, 51, .14);
  --shadow-lg: 0 2px 2px rgba(10, 27, 51, .04), 0 18px 36px -12px rgba(10, 27, 51, .16), 0 50px 90px -30px rgba(10, 27, 51, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-size: .85rem; }
.skip:focus { top: 1rem; }

/* ── Layout ── */
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--mid { max-width: 56rem; }
.section { position: relative; padding-block: var(--section); }
.section--bg { background: var(--bg); }

/* ── Type ── */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); }
.dark .eyebrow { color: var(--gold-lt); }
.h2 { margin-top: 1rem; font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; color: var(--head); text-wrap: balance; }
.dark .h2 { color: #fff; }
.sub { margin-top: 1.25rem; max-width: 40rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--body); text-wrap: pretty; }
.dark .sub { color: #a9b6cb; }
.head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .sub { margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--gold) 0%, #c79a5b 45%, #8c6a9f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(10, 27, 51, .2), 0 6px 14px -6px rgba(10, 27, 51, .5); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.btn:hover { transform: translateY(-1px); background: #12294a; box-shadow: 0 2px 4px rgba(10, 27, 51, .2), 0 12px 22px -8px rgba(10, 27, 51, .55); }
.btn:active { transform: none; }
.btn svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: var(--card); color: var(--head); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10, 27, 51, .06); }
.btn--ghost:hover { background: var(--card); box-shadow: 0 0 0 1px #cfd7e3, 0 8px 18px -8px rgba(10, 27, 51, .25); }
.btn--light { background: #fff; color: #0a1b33; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); }
.btn--light:hover { background: #fff; }
.btn--nav { padding: .5rem 1rem; font-size: .875rem; }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--head); }
.link svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 11rem 0 7rem; background: var(--white); isolation: isolate; }
.mesh { position: absolute; inset: -10% -10% auto 25%; height: 125%; z-index: -1; transform: skewY(-9deg); transform-origin: top right; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: drift 16s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 34rem; height: 30rem; top: 2%; left: 14%; background: radial-gradient(circle, #ffd9a6, transparent 70%); }
.mesh i:nth-child(2) { width: 32rem; height: 32rem; top: 8%; left: 48%; background: radial-gradient(circle, #a9bdde, transparent 70%); animation-duration: 20s; }
.mesh i:nth-child(3) { width: 26rem; height: 26rem; top: 36%; left: 28%; background: radial-gradient(circle, #ffc6c0, transparent 70%); animation-duration: 24s; animation-direction: alternate-reverse; }
.mesh i:nth-child(4) { width: 22rem; height: 22rem; top: 22%; left: 70%; background: radial-gradient(circle, #d3dff0, transparent 70%); animation-duration: 18s; }
@keyframes drift { to { transform: translate3d(4rem, 2.5rem, 0) scale(1.12); } }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 9rem; background: linear-gradient(to bottom, transparent, var(--white)); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__tag { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem .4rem .5rem; border-radius: 999px; background: var(--glass); box-shadow: 0 0 0 1px var(--line); backdrop-filter: blur(6px); font-size: .8125rem; font-weight: 500; color: var(--head); }
.hero__tag b { padding: .15rem .55rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 1.4rem; font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 600; line-height: 1.03; letter-spacing: -.045em; color: var(--head); text-wrap: balance; }
.hero .sub { margin-top: 1.4rem; font-size: clamp(1.125rem, 1.7vw, 1.4rem); color: var(--head); font-weight: 500; letter-spacing: -.02em; }
.hero .body { margin-top: 1rem; max-width: 34rem; }
.hero .body + .body { margin-top: .8rem; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.chips { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .35rem .8rem; border-radius: 999px; background: var(--glass); box-shadow: 0 0 0 1px var(--line); font-size: .8125rem; font-weight: 500; color: var(--head); }

/* product-style report card */
.report { position: relative; margin-inline: auto; width: min(100%, 31rem); transform: rotate(1.5deg); }
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 27, 51, .05); }
.report__top { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.report__dots { display: flex; gap: .4rem; }
.report__dots i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); }
.report__title { font-size: .8125rem; font-weight: 600; color: var(--head); }
.report__body { padding: 1.4rem; display: grid; gap: 1.25rem; }
.report__lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: .8125rem; color: var(--mute); }
.report__lbl b { font-weight: 600; color: var(--head); }
.bars { display: flex; align-items: flex-end; gap: .5rem; height: 7.5rem; margin-top: .9rem; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue), #aebfdc); height: var(--h); opacity: .95; transform-origin: bottom; animation: grow 1.4s var(--ease) both; animation-delay: calc(var(--k) * 70ms + .5s); }
.bars i:nth-child(even) { background: linear-gradient(180deg, var(--gold-lt), #ead2ad); }
@keyframes grow { from { transform: scaleY(.05); } }
.rows { display: grid; gap: .65rem; }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: .7rem .9rem; border-radius: 12px; background: var(--bg); font-size: .875rem; font-weight: 500; color: var(--head); }
.row span { display: inline-flex; align-items: center; gap: .6rem; }
.row svg { width: 1.05rem; height: 1.05rem; color: var(--gold); }
.row em { font-style: normal; font-size: .75rem; color: var(--mute); }
.report__note { text-align: center; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.float { position: absolute; padding: .7rem 1rem; border-radius: 14px; background: var(--card); box-shadow: var(--shadow), 0 0 0 1px rgba(10, 27, 51, .05); font-size: .8125rem; font-weight: 600; color: var(--head); display: flex; align-items: center; gap: .6rem; animation: bob 6s ease-in-out infinite alternate; }
.float svg { width: 1.1rem; height: 1.1rem; color: var(--gold); }
.float--a { left: -2.5rem; bottom: -1.1rem; }
.float--b { right: -1.5rem; top: 10.5rem; animation-delay: -3s; }
@keyframes bob { to { transform: translateY(-.6rem); } }

/* ── Services ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc { position: relative; padding: 2rem; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10, 27, 51, .04); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--gold-lt), var(--blue)); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.svc:hover::before { opacity: 1; }
.ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: linear-gradient(145deg, #fff7ea, #eef2f8); box-shadow: inset 0 0 0 1px var(--line); color: var(--head); margin-bottom: 1.5rem; }
.ico svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.3125rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--head); margin-bottom: .7rem; }
.svc p { font-size: .9688rem; line-height: 1.6; }

/* ── Dark band (Why) with angled edges ── */
.dark { background: var(--navy); color: #fff; }
.band { position: relative; padding-block: calc(var(--section) + 3rem); overflow: hidden; isolation: isolate; clip-path: polygon(0 3.5rem, 100% 0, 100% calc(100% - 3.5rem), 0 100%); margin-block: -1.75rem; }
.band::before { content: ""; position: absolute; inset: -20% -10%; z-index: -1; background: radial-gradient(40rem 26rem at 85% 10%, rgba(111, 137, 187, .28), transparent 70%), radial-gradient(34rem 24rem at 5% 100%, rgba(212, 180, 131, .22), transparent 70%); }
.statement { margin-top: 2rem; font-size: clamp(1.6rem, 3.3vw, 2.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.032em; color: #fff; text-wrap: pretty; }
.statement .w { opacity: .26; transition: opacity .35s var(--ease); }
.statement .w.on { opacity: 1; }

/* ── Approach ── */
.approach { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.approach__text { position: relative; padding-left: 2rem; }
.approach__text::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--gold-lt), var(--blue), transparent); }
.approach__text p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; }
.approach__text p:first-child { color: var(--head); font-weight: 500; }
.approach__text p + p { margin-top: 1.25rem; }

/* ── Principles ── */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.principle { padding: 2rem; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.principle h3 { font-size: 1.75rem; font-weight: 600; letter-spacing: -.035em; color: var(--head); }
.principle .tag { display: block; margin: .4rem 0 1.1rem; font-size: .9375rem; font-weight: 600; color: var(--gold); }
.principle p { font-size: .9688rem; }
.about__close { margin: clamp(2.5rem, 4vw, 3.5rem) auto 0; max-width: 42rem; text-align: center; font-size: clamp(1.125rem, 1.8vw, 1.4rem); line-height: 1.45; letter-spacing: -.02em; color: var(--head); font-weight: 500; text-wrap: balance; }

/* ── Management ── */
.person { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.person__mono { aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: var(--r); background: radial-gradient(120% 90% at 20% 0, #ffe6c2, transparent 60%), radial-gradient(100% 90% at 100% 100%, #c8d3ff, transparent 60%), #f1f4fb; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.02em; color: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.person h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--head); }
.person .role { margin: .5rem 0 1.25rem; font-weight: 600; color: var(--gold); }

/* ── Contact CTA ── */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); border-radius: 32px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(30rem 22rem at 80% 0, rgba(111, 137, 187, .4), transparent 70%), radial-gradient(28rem 20rem at 10% 100%, rgba(212, 180, 131, .34), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.cta .h2 { max-width: 22ch; margin-inline: auto; }
.cta .sub { margin-inline: auto; }
.cta__details { margin: 2rem 0 2rem; }
.cta__details span { display: block; color: #a9b6cb; font-size: 1rem; margin-bottom: .3rem; }
.cta__details a { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -.025em; color: #fff; border-bottom: 2px solid var(--gold-lt); padding-bottom: 2px; }

/* ── Footer ── */
.footer { margin-top: var(--section); border-top: 1px solid var(--line); background: var(--bg); font-size: .875rem; color: var(--mute); padding: 3.5rem 0 2rem; }
.footer__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer__top img { width: clamp(11rem, 18vw, 15rem); margin-bottom: 1.25rem; }
.footer__top .on-dark { display: none; }
.footer__top p { line-height: 1.7; }
.footer a:hover { color: var(--head); }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .8125rem; }
.footer__base span[aria-hidden] { margin: 0 .75rem; opacity: .5; }
.social { display: flex; gap: .6rem; }
.social a { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.social svg { width: .95rem; height: .95rem; fill: var(--navy); }

/* ── Back to top ── */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--head); box-shadow: var(--shadow), 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); z-index: 55; }
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Legal pages ── */
.legal { max-width: 46rem; padding-block: 8.5rem 6rem; }
.legal h1, .legal .t1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--head); }
.legal .updated { margin-top: .75rem; color: var(--mute); font-size: .9375rem; }
.legal h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.025em; color: var(--head); margin: 2.75rem 0 .5rem; }
.legal p { margin-top: .6rem; }
.legal a { color: var(--head); text-decoration: underline; text-decoration-color: var(--gold-lt); text-underline-offset: 3px; }
.legal .draft { background: var(--bg); box-shadow: 0 0 0 1px var(--line); border-radius: 14px; padding: 1rem 1.25rem; font-size: .9375rem; margin-top: 1.75rem; }

/* ── Motion (only when .anim is set by main.js) ── */
.anim .reveal { opacity: 0; transform: translate3d(0, 1.5rem, 0); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.anim .reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { padding: 9rem 0 5rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .report { margin-top: 1.5rem; transform: none; }
  .float--a { left: -.5rem; } .float--b { right: -.25rem; }
  .cards, .principles { grid-template-columns: 1fr 1fr; }
  .approach { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person__mono { max-width: 10rem; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cards, .principles { grid-template-columns: 1fr; }
  .svc, .principle { padding: 1.6rem; }
  .float { display: none; }
  .band { clip-path: polygon(0 2rem, 100% 0, 100% calc(100% - 2rem), 0 100%); margin-block: -1rem; }
  .footer__top, .footer__base { flex-direction: column; }
  .cta { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .reveal, .svc { transition: none; }
  .mesh i, .float, .bars i, .cta::before { animation: none; }
}


/* ═══ Visuals + motion ═══ */
/* Service illustrations: drawn when the card scrolls into view */
.svc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc h3, .svc p { padding-inline: 1.75rem; }
.svc h3 { margin-top: 1.5rem; }
.svc p { padding-bottom: 1.9rem; }
.svc::before { z-index: 2; }
.viz { position: relative; height: 11rem; background: linear-gradient(135deg, #fff8ec 0%, #f1f4ff 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.viz::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 27, 51, .07) 1px, transparent 1px); background-size: 14px 14px; mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); }
.viz svg { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.svc:hover .viz svg { transform: scale(1.06); }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pop { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; }
.rowsv rect { opacity: 0; transform: translateX(-10px); }
.grow { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; }
.area { opacity: 0; }
.knob circle { transform: translateX(-34px); opacity: 0; }

.is-in .draw { animation: draw 1.3s var(--ease) calc(.25s + var(--dd, 0s)) forwards; }
.is-in .ring { animation: ring 1.6s var(--ease) .25s forwards; }
.is-in .pop { animation: pop .7s var(--ease) calc(.9s + var(--pd, 0s)) forwards; }
.is-in .rowsv rect { animation: slidein .7s var(--ease) forwards; }
.is-in .rowsv rect:nth-child(1) { animation-delay: .2s; } .is-in .rowsv rect:nth-child(2) { animation-delay: .3s; }
.is-in .rowsv rect:nth-child(3) { animation-delay: .4s; } .is-in .rowsv rect:nth-child(4) { animation-delay: .5s; }
.is-in .rowsv rect:nth-child(5) { animation-delay: .6s; } .is-in .rowsv rect:nth-child(6) { animation-delay: .7s; }
.is-in .rowsv rect:nth-child(7) { animation-delay: .8s; } .is-in .rowsv rect:nth-child(8) { animation-delay: .9s; }
.is-in .grow { animation: growy .9s var(--ease) calc(.5s + var(--k, 0) * .12s) forwards; }
.is-in .area { animation: fadein 1.2s var(--ease) .9s forwards; }
.is-in .knob circle { animation: knob 1.1s var(--ease) forwards; }
.is-in .knob .kn2 circle { animation-delay: .15s; } .is-in .knob .kn3 circle { animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { to { stroke-dashoffset: calc(1 - var(--to, .7)); } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes slidein { to { opacity: 1; transform: none; } }
@keyframes growy { to { transform: scaleY(1); } }
@keyframes fadein { to { opacity: .16; } }
@keyframes knob { to { transform: none; opacity: 1; } }

/* Capability ticker */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding-block: 1.1rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: scrollx 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li { display: inline-flex; align-items: center; gap: 1.1rem; padding-right: 2.75rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; color: var(--head); opacity: .72; white-space: nowrap; }
.marquee li::after { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: linear-gradient(135deg, var(--gold-lt), var(--blue)); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* Approach flow */
.approach__col { display: grid; gap: 2.5rem; }
.flow { position: relative; display: grid; gap: 1.1rem; padding-left: 0; }
.flow::before { content: ""; position: absolute; left: calc(.9rem + 1.4rem - 1px); top: 1.4rem; bottom: 1.4rem; width: 2px; background: var(--line); }
.flow::after { content: ""; position: absolute; left: calc(.9rem + 1.4rem - 1px); top: 1.4rem; width: 2px; height: calc(100% - 2.8rem); background: linear-gradient(180deg, var(--gold-lt), var(--blue)); transform: scaleY(0); transform-origin: top; transition: transform 2s var(--ease) .3s; }
.is-in .flow::after, .flow.is-in::after { transform: scaleY(1); }
.flow li { position: relative; display: grid; grid-template-columns: 2.8rem 1fr; column-gap: 1.1rem; align-items: center; padding: .9rem 1.1rem .9rem .9rem; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10, 27, 51, .04); font-size: .9375rem; }
.flow__n { grid-row: span 2; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--card); }
.flow b { color: var(--head); font-size: 1.0625rem; letter-spacing: -.02em; }
.anim .flow li { opacity: 0; transform: translateX(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .flow.is-in li { opacity: 1; transform: none; }
.anim .flow.is-in li:nth-child(1) { transition-delay: .2s; } .anim .flow.is-in li:nth-child(2) { transition-delay: .55s; }
.anim .flow.is-in li:nth-child(3) { transition-delay: .9s; } .anim .flow.is-in li:nth-child(4) { transition-delay: 1.25s; }

/* Principle icons */
.pico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.4rem; border-radius: 14px; background: linear-gradient(145deg, #fff7ea, #eef2f8); box-shadow: inset 0 0 0 1px var(--line); color: var(--head); transition: transform .5s var(--ease); }
.principle:hover .pico { transform: rotate(-8deg) scale(1.08); }
.pico svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.principle { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.principle:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }

/* Why band: drifting orbs + grid */
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.band::before { animation: drift 22s ease-in-out infinite alternate; }

/* Hero report: tilt follows the pointer; line chart drawn above the bars */
.report { transition: transform .5s var(--ease); will-change: transform; }
.card { transition: box-shadow .5s var(--ease); }

/* Scroll progress bar under the header */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--gold-lt), var(--blue)); }

@media (max-width: 960px) {
    .viz { height: 10rem; }
}
@media (prefers-reduced-motion: reduce) {
  .draw, .ring { stroke-dashoffset: 0; } .ring { stroke-dashoffset: calc(1 - var(--to, .7)); }
  .pop, .rowsv rect, .knob circle { opacity: 1; transform: none; } .grow { transform: none; } .area { opacity: .16; }
  .marquee__track { animation: none; }
  .flow::after { transform: none; transition: none; }
}


/* ═══ Photography ═══ */
figure img, .band__bg, .cta__bg { object-fit: cover; }

.band__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; z-index: -2; opacity: .2; mix-blend-mode: luminosity; }
.band > .wrap { position: relative; }

.approach__img { margin-top: 2.5rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.approach__img img { height: 116%; }

.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; height: clamp(20rem, 38vw, 30rem); }
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.mosaic__a { grid-row: span 2; }
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 27, 51, .25)); pointer-events: none; }

.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .2; mix-blend-mode: luminosity; }

.float--c { right: -1rem; bottom: -1.4rem; left: auto; top: auto; padding: .5rem .9rem .5rem .5rem; animation-delay: -1.5s; }
.float--c img { width: 2.1rem; height: 2.1rem; border-radius: 50%; object-fit: cover; }

/* Wipe-in for photos that carry .img-reveal */
.anim .img-reveal { clip-path: inset(0 0 100% 0 round 24px); transition: clip-path 1.4s var(--ease) .1s; }
.anim .img-reveal.is-in { clip-path: inset(0 round 24px); }

/* Interactivity: cursor spotlight on cards, magnetic buttons */
.svc, .principle, .flow li { --mx: 50%; --my: 50%; }
.svc::after, .principle::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(26rem circle at var(--mx) var(--my), rgba(212, 180, 131, .22), rgba(111, 137, 187, .12) 40%, transparent 65%); }
.principle { position: relative; }
.svc:hover::after, .principle:hover::after { opacity: 1; }
.btn { will-change: transform; }

@media (max-width: 960px) {
      .float--c { display: none; }
  .mosaic { grid-template-columns: 1fr 1fr; height: auto; }
  .mosaic figure { aspect-ratio: 4 / 3; } .mosaic__a { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 620px) { .approach__img { margin-top: 1.75rem; } }
@media (prefers-reduced-motion: reduce) { .anim .img-reveal { clip-path: none; transition: none; } .mosaic img { transition: none; } }

/* ═══ Floating pill header (fiskaly-style) ═══ */
.nav { position: fixed; inset: .85rem 0 auto 0; z-index: 60; padding-inline: .85rem; pointer-events: none; }
.nav__inner { position: relative; pointer-events: auto; display: flex; align-items: center; gap: .5rem; height: 4.5rem; width: 100%; max-width: 78rem; margin-inline: auto; padding: 0 .75rem 0 1.5rem; }
/* the frosted pill lives on a pseudo-element so it doesn't become the containing block of the mobile menu */
.nav__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--glass); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -14px rgba(10, 27, 51, .25); transition: box-shadow .4s var(--ease), background .4s; }
.nav.is-scrolled .nav__inner::before { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(10, 27, 51, .35); }
.nav__logo { flex: none; }
.nav__logo img { width: clamp(9.5rem, 13vw, 12rem); }
.nav__logo .on-dark { display: none; }
.nav__links { display: flex; gap: .1rem; margin-left: auto; margin-right: .5rem; align-items: center; }
.nav__links > a, .dd__btn { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--head); opacity: .82; transition: opacity .2s, background .2s; }
.nav__links > a:hover, .dd__btn:hover, .dd.is-open .dd__btn { opacity: 1; background: rgba(120, 140, 170, .14); }
.dd { position: relative; }
.dd__btn svg { width: .7rem; height: .7rem; transition: transform .3s var(--ease); }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__panel { position: absolute; left: 50%; top: calc(100% + .9rem); width: 23rem; padding: .6rem; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s; }
.dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd__panel a { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: center; padding: .65rem .7rem; border-radius: 14px; transition: background .2s; }
.dd__panel a:hover { background: rgba(120, 140, 170, .12); }
.dd__ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: linear-gradient(145deg, #fff7ea, #eef2f8); box-shadow: inset 0 0 0 1px var(--line); color: #0a1b33; }
.dd__ico svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dd__panel b { display: block; font-size: .9375rem; font-weight: 600; color: var(--head); letter-spacing: -.015em; line-height: 1.25; }
.dd__panel small { display: block; font-size: .8125rem; color: var(--mute); line-height: 1.35; }
.theme { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; color: var(--head); transition: background .2s; }
.theme:hover { background: rgba(120, 140, 170, .14); }
.theme svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme .i-sun { display: none; }
html[data-theme="dark"] .theme .i-sun { display: block; } html[data-theme="dark"] .theme .i-moon { display: none; }
.btn--nav { padding: .65rem 1.2rem; font-size: .9375rem; }
.nav__burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.nav__burger span { display: block; width: 1.15rem; height: 2px; border-radius: 2px; background: var(--head); margin: .3rem auto; transition: transform .3s var(--ease); }

@media (max-width: 960px) {
  .nav__inner { height: 4rem; padding-left: 1.1rem; }
  .nav__logo img { width: 9rem; }
  .nav__burger { display: block; margin-left: .1rem; }
  .btn--nav { display: none; }
  .theme { margin-left: auto; }
  .nav__links { position: fixed; inset: 5.6rem .85rem auto .85rem; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .6rem 1.25rem 1rem; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; max-height: calc(100svh - 7rem); overflow: auto; pointer-events: auto; }
  .nav__links > a, .dd__btn { padding: .95rem .85rem; margin-inline: -.6rem; width: calc(100% + 1.2rem); border-radius: 14px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; opacity: 1; justify-content: space-between; }
  .nav__links > a:hover, .dd__btn:hover, .dd.is-open .dd__btn { border-bottom-color: transparent; }
  .dd__panel { position: static; width: auto; padding: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.is-open .dd__panel { display: block; transform: none; }
  .dd__panel small { display: none; } .dd__panel a { padding: .5rem .25rem; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(.19rem) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-.19rem) rotate(-45deg); }
}

/* ═══ Interactive report (segmented control) ═══ */
.seg { display: inline-flex; padding: .2rem; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--mute); transition: background .3s var(--ease), color .3s, box-shadow .3s; }
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 4px 10px -4px rgba(10, 27, 51, .6); }
.seg button:not([aria-selected="true"]):hover { color: var(--head); }
.bars i { transition: height .9s var(--ease); }
.rows .row { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rows.is-swap .row { opacity: 0; transform: translateY(6px); }

/* ═══ Two-step enquiry form (fiskaly-style) ═══ */
.form { position: relative; margin: 2.5rem auto 0; max-width: 40rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: blur(10px); text-align: left; }
.steps { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; font-size: .8125rem; font-weight: 600; color: #8ea0bb; }
.steps span { display: inline-flex; align-items: center; gap: .55rem; padding-bottom: .55rem; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.steps span i { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-style: normal; font-size: .7rem; background: rgba(255, 255, 255, .12); }
.steps span.is-on { color: #fff; border-color: var(--gold-lt); } .steps span.is-on i { background: var(--gold-lt); color: var(--navy-deep); }
.form__step { display: none; } .form__step.is-on { display: block; animation: stepin .5s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .35rem; } .field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 500; color: #b6c3d8; }
.field label small { color: #7f90ab; font-weight: 400; }
.field input, .field textarea { width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; font: inherit; font-size: 1rem; letter-spacing: -.01em; transition: box-shadow .25s, background .25s; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f819d; }
.field input:focus, .field textarea:focus { outline: 0; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px var(--gold-lt); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff9f8f; }
.form__actions { display: flex; gap: .75rem; align-items: center; justify-content: space-between; margin-top: 1.4rem; flex-wrap: wrap; }
.form__actions .btn { font-family: inherit; }
.form__back { color: #b6c3d8; font-weight: 500; font-size: .9375rem; }
.form__back:hover { color: #fff; }
.form__note { margin-top: 1rem; font-size: .8125rem; color: #8ea0bb; }
.form__done { display: none; text-align: center; padding: 1rem 0; } .form.is-done .form__done { display: block; animation: stepin .5s var(--ease); } .form.is-done .steps, .form.is-done .form__step { display: none; }
.form__done h3 { font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -.025em; margin-bottom: .5rem; }
.form__done p { color: #a9b6cb; }
.form__done a { color: #fff; border-bottom: 1px solid var(--gold-lt); }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

/* ═══ Dark theme ═══ */
html[data-theme="dark"] {
  color-scheme: dark;
  --head: #f1f5fb; --body: #a9b6cb; --mute: #8794a9;
  --white: #07111f; --bg: #0b1a2e; --card: #0f2038; --line: #1d3250;
  --glass: rgba(7, 17, 31, .72);
  --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 8px 16px -6px rgba(0, 0, 0, .5), 0 28px 48px -20px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 2px rgba(0, 0, 0, .3), 0 18px 36px -12px rgba(0, 0, 0, .6), 0 50px 90px -30px rgba(0, 0, 0, .7);
}
html[data-theme="dark"] .nav__logo .on-light, html[data-theme="dark"] .footer__top .on-light { display: none; }
html[data-theme="dark"] .nav__logo .on-dark, html[data-theme="dark"] .footer__top .on-dark { display: block; }
html[data-theme="dark"] .btn { background: #f1f5fb; color: #07111f; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .7); }
html[data-theme="dark"] .btn:hover { background: #fff; }
html[data-theme="dark"] .btn--ghost { background: transparent; color: #f1f5fb; box-shadow: 0 0 0 1px #2a4166; }
html[data-theme="dark"] .btn--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px #3b5a8c; }
html[data-theme="dark"] .btn--light { background: #fff; color: #0a1b33; }
html[data-theme="dark"] .dark, html[data-theme="dark"] .cta { background: #0f2240; }
html[data-theme="dark"] .mesh i { opacity: .38; }
html[data-theme="dark"] .hero__tag b { background: var(--gold-lt); color: #07111f; }
html[data-theme="dark"] .seg button[aria-selected="true"] { background: #f1f5fb; color: #07111f; }
html[data-theme="dark"] .viz { background: linear-gradient(135deg, #12263f 0%, #0e1c31 100%); }
html[data-theme="dark"] .viz::before { background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); }
html[data-theme="dark"] .ico, html[data-theme="dark"] .pico, html[data-theme="dark"] .dd__ico { background: linear-gradient(145deg, #1a2f4d, #14253f); color: #f1f5fb; }
html[data-theme="dark"] .person__mono { background: radial-gradient(120% 90% at 20% 0, #3a3328, transparent 60%), radial-gradient(100% 90% at 100% 100%, #26385e, transparent 60%), #0e1c31; color: #f1f5fb; }
html[data-theme="dark"] .flow__n { background: #1e3a66; }
html[data-theme="dark"] .svc:hover, html[data-theme="dark"] .principle:hover { box-shadow: var(--shadow-lg), 0 0 0 1px #2a4166; }
html[data-theme="dark"] .float, html[data-theme="dark"] .card { box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .07); }
html[data-theme="dark"] .footer { background: #050d18; }
html[data-theme="dark"] .legal a { color: #fff; }
html[data-theme="dark"] .to-top { color: #f1f5fb; }
html[data-theme="dark"] .social svg { fill: #f1f5fb; }
html[data-theme="dark"] .eyebrow { color: var(--gold-lt); }
html[data-theme="dark"] .grad { background-image: linear-gradient(100deg, #e2c796 0%, #d4b483 45%, #a9b8ff 100%); }
html[data-theme="dark"] .marquee li, html[data-theme="dark"] .chips li, html[data-theme="dark"] .row, html[data-theme="dark"] .report__title { color: var(--head); }


/* ═══ Intro (moved out of the hero) ═══ */
.hero { min-height: min(100svh, 56rem); display: flex; align-items: center; padding-bottom: 5rem; }
.hero .wrap { width: 100%; }
.intro { padding-block: clamp(4rem, 8vw, 7rem) 0; }
.intro__lead { max-width: 56rem; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; color: var(--head); text-wrap: pretty; }
.intro__body { margin-top: 1.5rem; max-width: 40rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; }


/* Hero tag: the pill resizes to fit each word as it changes */
.hero__tag { padding: .4rem 1.1rem .4rem .45rem; gap: .65rem; line-height: 1.2; }
.hero__tag b { display: inline-flex; align-items: center; line-height: 1; padding: .3rem .65rem; }
.rot { display: inline-block; vertical-align: middle; overflow: hidden; }
.rot.is-js { white-space: nowrap; transition: width .5s var(--ease); }
.rot__t { display: inline-block; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rot.is-out .rot__t { opacity: 0; transform: translateY(8px); }


/* Hero tag moved under the headline: no badge, a live dot instead */
.hero__tag { margin-top: 1.5rem; padding: .55rem 1.2rem .55rem 1rem; font-size: 1rem; font-weight: 600; letter-spacing: -.015em; }
.hero h1 { margin-top: 0; }
.hero__tag .dot { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); flex: none; }
.hero__tag .dot::after { content: ""; position: absolute; inset: -.3rem; border-radius: 50%; border: 2px solid var(--gold-lt); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
html[data-theme="dark"] .hero__tag .dot { background: var(--gold-lt); }
@media (prefers-reduced-motion: reduce) { .hero__tag .dot::after { animation: none; } }


/* ═══ Interactive report charts (one per tab) ═══ */
.chart { position: relative; height: 10.5rem; margin-top: .6rem; }
.chart > svg { width: 100%; height: 100%; overflow: visible; display: block; }
.chart .bars { height: 100%; margin: 0; }
.chart.is-swap > svg { opacity: 0; transform: translateY(6px); }
.chart > svg { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ch-ax { fill: var(--mute); font: 500 9px var(--sans); letter-spacing: 0; }
.ch-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.ch-base { stroke: var(--line); stroke-width: 1.2; }
.ch-bud { fill: #c7d3ea; transition: fill .25s, opacity .25s; }
.ch-act { fill: url(#gGold); transition: opacity .25s, transform .25s; transform-box: fill-box; transform-origin: bottom; }
.ch-col { cursor: pointer; }
.ch-col:hover .ch-bud, .ch-col.is-hot .ch-bud { fill: #6f89bb; }
.ch-col:hover .ch-act, .ch-col.is-hot .ch-act { transform: scaleY(1.04); }
.chart.has-hot .ch-col:not(.is-hot) .ch-bud, .chart.has-hot .ch-col:not(.is-hot) .ch-act { opacity: .45; }
.ch-bar { transform-box: fill-box; transform-origin: bottom; animation: growy .9s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.ch-line { fill: none; stroke: url(#gLine); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) .1s forwards; }
.ch-area { fill: url(#gArea); opacity: 0; animation: fadein2 1s var(--ease) .8s forwards; }
@keyframes fadein2 { to { opacity: 1; } }
.ch-dot { fill: var(--card); stroke: #6f89bb; stroke-width: 2.5; opacity: 0; animation: fadein2 .5s var(--ease) forwards; animation-delay: calc(.9s + var(--i) * 70ms); transition: r .2s; }
.ch-cross { stroke: var(--mute); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .2s; }
.ch-focus { fill: #fff; stroke: #d4b483; stroke-width: 3; opacity: 0; transition: opacity .2s; }
.chart.is-scrub .ch-cross, .chart.is-scrub .ch-focus { opacity: 1; }
/* tax stepper */
.st-track { stroke: var(--line); stroke-width: 4; stroke-linecap: round; }
.st-fill { stroke: url(#gLine); stroke-width: 4; stroke-linecap: round; transition: x2 .7s var(--ease); }
.st-node { cursor: pointer; }
.st-node circle { fill: var(--card); stroke: var(--line); stroke-width: 3; transition: fill .3s, stroke .3s, r .3s var(--ease); }
.st-node.is-done circle { fill: #6f89bb; stroke: #6f89bb; }
.st-node.is-now circle { fill: var(--card); stroke: #d4b483; stroke-width: 4; }
.st-node:hover circle, .st-node:focus-visible circle { r: 15; }
.st-node text.n { fill: var(--head); font: 600 11px var(--sans); text-anchor: middle; pointer-events: none; }
.st-node.is-done text.n { fill: #fff; }
.st-node text.l { fill: var(--head); font: 600 10.5px var(--sans); text-anchor: middle; }
.st-node .pulse { fill: none; stroke: #d4b483; stroke-width: 2; opacity: 0; }
.st-node.is-now .pulse { animation: ping 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.st-pop { opacity: 0; transform: scale(.7); transform-box: fill-box; transform-origin: center; animation: pop .6s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + .1s); }
.tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -100%); padding: .45rem .7rem; border-radius: 10px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 500; line-height: 1.35; white-space: nowrap; box-shadow: var(--shadow); }
.tip[hidden] { display: none; }
.tip b { font-weight: 600; }
.tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); }
html[data-theme="dark"] .tip { background: #f1f5fb; color: #07111f; }
html[data-theme="dark"] .ch-bud { fill: #34507f; }
html[data-theme="dark"] .ch-focus { fill: #0f2038; }
@media (prefers-reduced-motion: reduce) { .ch-bar, .ch-dot, .ch-area, .st-pop { animation: none; opacity: 1; transform: none; } .ch-line { animation: none; stroke-dashoffset: 0; } }


/* ═══ Hero ribbon (Stripe-style flowing gradient) ═══ */
.ribbon { position: absolute; z-index: -1; top: 0; right: 0; width: 78%; height: 100%; pointer-events: none;
  clip-path: url(#rbClip);
  background: linear-gradient(115deg, #6f89bb 0%, #53709e 28%, #d4b483 62%, #efe1c4 100%); }
.ribbon canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.ribbon canvas.is-ready { opacity: 1; }
.mesh { display: none; }
html[data-theme="dark"] .ribbon { filter: saturate(1.05) brightness(.92); }
@media (max-width: 960px) { .ribbon { width: 100%; height: 21rem; clip-path: url(#rbClip); } .hero h1, .hero .sub { position: relative; } }


/* 3D sheet: its own silhouette is the shape, so no clip-path / flat background */
.ribbon.ribbon--3d { clip-path: none; background: none; width: 100%; left: 0; }
.ribbon.ribbon--3d canvas { opacity: 0; }
.ribbon.ribbon--3d canvas.is-ready { opacity: 1; }
@media (max-width: 960px) { .ribbon.ribbon--3d { width: 100%; height: 26rem; } }


/* ═══ Hero is now just text over the ribbon; the report card lives beside the intro ═══ */
.hero__grid { display: block; }
.hero__grid > div { max-width: 40rem; }
.hero { min-height: min(100svh, 58rem); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro .report { margin: 0; justify-self: end; }
.intro { padding-top: clamp(4rem, 8vw, 7rem); }
@media (max-width: 960px) { .intro__grid { grid-template-columns: 1fr; } .intro .report { justify-self: center; width: min(100%, 31rem); margin-top: 1rem; } }

/* headline words stay legible over the ribbon */
.hero .grad { background-image: linear-gradient(100deg, #0a1b33 0%, #2d4a7a 55%, #9b7b54 100%); }
html[data-theme="dark"] .hero .grad { background-image: linear-gradient(100deg, #ffffff 0%, #f3e3c9 60%, #ffd6a0 100%); }
html[data-theme="dark"] .hero h1, html[data-theme="dark"] .hero .sub { text-shadow: 0 1px 24px rgba(7, 17, 31, .55); }


/* ═══ Feature banner (About): navy panel, flowing gold waves, skyline, headline + button ═══ */
.feature { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; min-height: clamp(23rem, 38vw, 31rem); margin-bottom: 1.25rem; padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; align-items: flex-start; background: radial-gradient(70% 90% at 85% 40%, #1d3a66 0%, #0f2240 45%, #08121f 100%); color: #fff; box-shadow: var(--shadow-lg); }
.feature__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .42; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 70%); mask-image: linear-gradient(90deg, transparent 18%, #000 70%); transition: transform 1.6s var(--ease); }
.feature:hover .feature__photo { transform: scale(1.04); }
.feature__waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; filter: drop-shadow(0 0 4px rgba(212, 180, 131, .35)); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 11, 22, .9) 0%, rgba(5, 11, 22, .55) 38%, transparent 70%), linear-gradient(0deg, rgba(5, 11, 22, .55), transparent 40%); pointer-events: none; }
.feature__text { max-width: 30rem; display: grid; gap: 1.75rem; justify-items: start; }
.feature__lead { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.feature__brand { position: absolute; right: clamp(1.25rem, 3vw, 2.5rem); bottom: clamp(1rem, 2.4vw, 2rem); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; opacity: .9; }
.feature .btn--light { color: #0a1b33; }
@media (max-width: 620px) { .feature { min-height: 26rem; } .feature__photo { opacity: .3; -webkit-mask-image: none; mask-image: none; } .feature::after { background: linear-gradient(0deg, rgba(5, 11, 22, .7), rgba(5, 11, 22, .35)); } }

.about__close { margin: 2.5rem auto 0; max-width: 40rem; text-align: center; font-size: 1rem; line-height: 1.55; color: var(--mute); text-wrap: balance; }
.feature { min-height: clamp(19rem, 30vw, 25rem); align-items: center; }


/* ═══ Buttons: one smooth, consistent hover (no cursor-following) ═══ */
.btn { will-change: auto; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .12s; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s; }
.btn--light:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(212, 180, 131, .75), 0 6px 16px -8px rgba(0, 0, 0, .5); }
.btn--ghost:hover { transform: translateY(-2px); }


/* Approach flow: the connecting line always sits behind the cards and numbers, including while they fade in */
.flow::before, .flow::after { z-index: 0; }
.flow li { position: relative; z-index: 1; }


/* ═══════════════════════════════════════════════════════════
   Languages: switcher, fade, Arabic typography, right-to-left
   ═══════════════════════════════════════════════════════════ */
.lang { display: inline-flex; align-items: center; gap: .05rem; font-size: .8125rem; font-weight: 600; color: var(--mute); margin-inline: .25rem .1rem; }
.lang button { padding: .4rem .45rem; border-radius: 999px; color: var(--mute); line-height: 1; transition: color .2s, background .2s; }
.lang button:hover { color: var(--head); }
.lang button[aria-pressed="true"] { color: var(--head); background: rgba(120, 140, 170, .16); }
.lang span { opacity: .35; }
main, .footer { transition: opacity .3s var(--ease); }
body.is-switching main, body.is-switching .footer { opacity: 0; }
.lg { display: none; }
html[lang="en"] .lg-en, html[lang="fr"] .lg-fr, html[lang="ar"] .lg-ar { display: block; }
@media (max-width: 960px) {
  .lang { margin-inline-start: auto; margin-inline-end: 0; font-size: .75rem; }
  .lang button { padding: .4rem .35rem; }
  .theme { margin-left: 0; }
}

/* Arabic: its own typeface, no letter-spacing (it breaks the joined letters), taller lines */
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] textarea { font-family: "Tajawal", var(--sans); }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.2; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9375rem; }
html[lang="ar"] .btn, html[lang="ar"] .dd__panel b { font-weight: 700; }

/* Right-to-left layout */
html[dir="rtl"] .skip { left: auto; right: 1rem; }
html[dir="rtl"] .eyebrow::before { background: linear-gradient(270deg, var(--gold), var(--gold-lt)); }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
html[dir="rtl"] .link::after { content: "\2039"; }
html[dir="rtl"] .ribbon { transform: scaleX(-1); }
html[dir="rtl"] .nav__inner { padding: 0 1.5rem 0 .75rem; }
html[dir="rtl"] .nav__links { margin-left: .5rem; margin-right: auto; }
html[dir="rtl"] .marquee { direction: ltr; }
html[dir="rtl"] .report { transform: rotate(-1.5deg); }
html[dir="rtl"] .float--a { left: auto; right: -2.5rem; }
html[dir="rtl"] .float--c { right: auto; left: -1rem; }
html[dir="rtl"] .chart { direction: ltr; }
html[dir="rtl"] .tip { direction: rtl; }
html[dir="rtl"] .approach__text { padding-left: 0; padding-right: 2rem; }
html[dir="rtl"] .approach__text::before { left: auto; right: 0; }
html[dir="rtl"] .flow::before, html[dir="rtl"] .flow::after { left: auto; right: calc(.9rem + 1.4rem - 1px); }
html[dir="rtl"] .flow li { padding: .9rem .9rem .9rem 1.1rem; }
html[dir="rtl"] .anim .flow li { transform: translateX(-14px); }
html[dir="rtl"] .anim .flow.is-in li { transform: none; }
html[dir="rtl"] .feature__photo { -webkit-mask-image: linear-gradient(270deg, transparent 18%, #000 70%); mask-image: linear-gradient(270deg, transparent 18%, #000 70%); }
html[dir="rtl"] .feature::after { background: linear-gradient(270deg, rgba(5, 11, 22, .9) 0%, rgba(5, 11, 22, .55) 38%, transparent 70%), linear-gradient(0deg, rgba(5, 11, 22, .55), transparent 40%); }
html[dir="rtl"] .feature__waves { transform: scaleX(-1); }
html[dir="rtl"] .feature__brand { right: auto; left: clamp(1.25rem, 3vw, 2.5rem); }
html[dir="rtl"] .form { text-align: right; }
html[dir="rtl"] .to-top { right: auto; left: 1.25rem; }
html[dir="rtl"] .progress { transform-origin: right; }
html[dir="rtl"] .dd__btn svg { transform: none; }
@media (max-width: 960px) {
  html[dir="rtl"] .nav__inner { padding-left: .75rem; padding-right: 1.1rem; }
  html[dir="rtl"] .nav__burger { margin-left: 0; margin-right: .1rem; }
  html[dir="rtl"] .float--a { left: auto; right: -.5rem; } html[dir="rtl"] .float--b { right: auto; left: -.25rem; }
  html[dir="rtl"] .intro .report { transform: none; }
}

/* report tab row: never break a tab label, wrap the row instead (longer languages) */
.report__top { flex-wrap: wrap; row-gap: .6rem; }
.seg { flex-wrap: nowrap; max-width: 100%; }
.seg button { white-space: nowrap; }
.lang { direction: ltr; }
.feature__brand { direction: ltr; unicode-bidi: isolate; }


/* ── Service pages ── */
.svc__a { color: inherit; text-decoration: none; }
.svc__a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.svc__a:focus-visible { outline: none; }
.svc__a:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 3px; }
.svc__more { display: inline-flex; align-items: center; gap: .4rem; margin: 0 1.75rem 1.75rem; margin-top: -.9rem; font-size: .9rem; font-weight: 600; color: var(--head); }
.svc__more svg { width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(4px); }
html[dir="rtl"] .svc__more svg { transform: scaleX(-1); }
html[dir="rtl"] .svc:hover .svc__more svg { transform: scaleX(-1) translateX(4px); }
.sp-hero { padding: 9.5rem 0 4rem; background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }
.sp-hero .wrap { max-width: 56rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.75rem; font-size: .875rem; color: var(--mute); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--head); }
.crumbs [aria-current] { color: var(--head); font-weight: 500; }
.sp-h1 { margin-top: 1rem; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 600; line-height: 1.06; letter-spacing: -.04em; color: var(--head); text-wrap: balance; }
.sp-lead { margin-top: 1.4rem; max-width: 42rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.sp-hero .hero__cta { margin-top: 2rem; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: var(--head); margin-bottom: 1.25rem; }
.ticks { display: grid; gap: .85rem; list-style: none; padding: 0; }
.ticks li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--head); }
.tick { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: .05rem; border-radius: 50%; background: linear-gradient(135deg, var(--gold-lt), var(--blue)); }
.tick svg { width: .9rem; height: .9rem; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.facts { display: grid; gap: 1rem; list-style: none; padding: 0; }
.facts li { padding: 1.25rem 1.4rem; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.facts p { color: var(--head); }
.src { display: inline-block; margin-top: .6rem; font-size: .8125rem; color: var(--mute); text-decoration: underline; text-decoration-color: var(--gold-lt); text-underline-offset: 3px; }
.src:hover { color: var(--head); }
.note { margin-top: 1.25rem; font-size: .875rem; color: var(--mute); }
.sp-know .h3 + .facts { margin-top: 0; }
.faq { border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); margin-bottom: .8rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--head); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.3rem 1.2rem; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rel__c { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r); background: var(--card); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rel__c:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.rel__c b { display: block; color: var(--head); letter-spacing: -.02em; }
.rel__c small { color: var(--mute); }
.sp-know .note, .sp-know .facts { max-width: 100%; }
.footer__svc { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 1.5rem 0; margin: 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.footer__svc a { text-decoration: none; color: inherit; }
.footer__svc a:hover { color: var(--head); }
@media (max-width: 860px) { .rel { grid-template-columns: 1fr; } .sp-hero { padding-top: 7.5rem; } }

.person__photo { display: block; width: 100%; height: auto; object-fit: cover; object-position: 50% 24%; background: var(--bg); box-shadow: var(--shadow); }

/* Phones: ribbon fills the top and fades into the page; the headline block sits beneath it */
@media (max-width: 960px) {
  .ribbon.ribbon--3d { height: min(32rem, 64svh); -webkit-mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 52%, transparent 100%); }
  .hero { align-items: flex-end; min-height: 100svh; padding: 8rem 0 3.5rem; }
}

.principles + .feature { margin: 1.25rem 0 0; }

/* Service tiles: graphics come alive on hover (wrappers only, so the entrance animations are untouched) */
.spin, .badge, .fl, .lift, .lift2, .bars, .tilt, .hop, .kn { transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease); }
.bars { transform-origin: bottom; }
.scan { opacity: 0; animation: scan 1.9s ease-in-out infinite alternate paused; transition: opacity .4s; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(66px); } }
.ex { opacity: 0; transition: opacity .5s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .svc:hover .scan { opacity: .22; animation-play-state: running; }
  .svc:hover .spin { transform: rotate(360deg); transition-duration: 1.4s; }
  .svc:hover .fl1 { transform: translate(-8px, -5px); }
  .svc:hover .fl2 { transform: translate(8px, 5px); }
  .svc:hover .lift2 { transform: translateY(-5px) rotate(-1.5deg); }
  .svc:hover .badge { transform: rotate(360deg) scale(1.12); transition-duration: 1.2s; }
  .svc:hover .bars { transform: scaleY(1.5); }
  .svc:hover .lift { transform: translateY(-8px); }
  .svc:hover .tilt { transform: rotate(-7deg) translateX(-8px); }
  .svc:hover .hop { transform: translateY(-5px) scale(1.08); }
  .svc:hover .ex { opacity: 1; }
  .svc:hover .kn1 { transform: translateX(55px); }
  .svc:hover .kn2 { transform: translateX(35px); }
  .svc:hover .kn3 { transform: translateX(70px); }
}
/* Touch screens: the same animations play while a tile is in the middle of the screen */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .svc.is-live .scan { opacity: .22; animation-play-state: running; }
  .svc.is-live .spin { transform: rotate(360deg); transition-duration: 1.4s; }
  .svc.is-live .fl1 { transform: translate(-8px, -5px); }
  .svc.is-live .fl2 { transform: translate(8px, 5px); }
  .svc.is-live .lift2 { transform: translateY(-5px) rotate(-1.5deg); }
  .svc.is-live .badge { transform: rotate(360deg) scale(1.12); transition-duration: 1.2s; }
  .svc.is-live .bars { transform: scaleY(1.5); }
  .svc.is-live .lift { transform: translateY(-8px); }
  .svc.is-live .tilt { transform: rotate(-7deg) translateX(-8px); }
  .svc.is-live .hop { transform: translateY(-5px) scale(1.08); }
  .svc.is-live .ex { opacity: 1; }
  .svc.is-live .kn1 { transform: translateX(55px); }
  .svc.is-live .kn2 { transform: translateX(35px); }
  .svc.is-live .kn3 { transform: translateX(70px); }
}

/* ═══ Team feedback (Oct 2026): calmer spacing and type, menu fit, contact + footer tidy ═══ */
:root { --section: clamp(3.25rem, 6.5vw, 5.75rem); }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.statement { margin-top: 1.5rem; font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.34; }
.cta .h2 { max-width: 26ch; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.feature__lead { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.intro__lead { font-size: clamp(1.35rem, 2.5vw, 2rem); }
.intro { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.band { padding-block: calc(var(--section) + 2rem); }
@media (min-width: 961px) { .hero { padding-top: 8.25rem; padding-bottom: 4rem; min-height: min(92svh, 52rem); } }

/* service pages: tighter rhythm between blocks and paragraphs */
.sp-hero { padding: 8rem 0 2.5rem; }
.sp-hero ~ .section { padding-block: clamp(2rem, 4vw, 3.25rem); }
.sp-hero ~ .section[style*="padding-top:0"] { padding-top: 0; }
.sp-lead { margin-top: 1rem; }
.sp-hero .hero__cta { margin-top: 1.5rem; }
.h3 { margin-bottom: 1rem; }
.ticks { gap: .7rem; }
.facts { gap: .8rem; }
.faq { margin-bottom: .65rem; }
.note { margin-top: 1rem; }
.sp-hero ~ .section .sub { margin-top: .6rem; }
@media (max-width: 860px) { .sp-hero { padding-top: 6.75rem; } }

/* menu: every link stays on one line */
.nav__links > a, .dd__btn, .btn--nav { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .nav__links > a, .dd__btn { padding: .5rem .6rem; font-size: .9rem; }
  .nav__links > a[href$="#contact"] { display: none; }   /* the Enquire button already goes there */
  .nav__logo img { width: 9.5rem; }
}

/* contact: smaller email, one gold heading instead of the numbered steps */
.cta__details a { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.form__title { margin: 0 0 1.25rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--gold-lt); text-align: start; }

/* footer: thinner, tagline centred on the same line as the email */
.footer { margin-top: var(--section); padding: 2rem 0 1.25rem; }
.footer__top { align-items: center; gap: 1rem 2rem; padding-bottom: 1.25rem; }
.footer__top img { width: clamp(8.5rem, 12vw, 10.5rem); margin-bottom: .5rem; }
.footer__top .footer__line { flex: 1; margin: 0; text-align: center; }
.footer__top > p:last-child { margin: 0; text-align: end; }
.footer__svc { padding: 1rem 0; }
.footer__base { padding-top: 1rem; }
@media (max-width: 760px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__top .footer__line { text-align: start; flex: none; }
  .footer__top > p:last-child { text-align: start; }
}



/* enquiry form: really sends (contact.php); sending + failed states; hidden spam trap */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lbl--busy { display: none; }
.form.is-sending .lbl { display: none; } .form.is-sending .lbl--busy { display: inline; }
.form.is-sending button[type="submit"] { opacity: .75; pointer-events: none; }
.form__fail { display: none; text-align: center; padding: 1rem 0; }
.form.is-failed .form__fail { display: block; animation: stepin .5s var(--ease); }
.form.is-failed .form__step, .form.is-failed .form__title, .form.is-done .form__title { display: none; }
.form__fail h3 { font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -.025em; margin-bottom: .5rem; }
.form__fail p { color: #a9b6cb; margin-bottom: 1.2rem; }
.form__fail a { color: #fff; border-bottom: 1px solid var(--gold-lt); word-break: break-all; }

/* services tiles: the percent marks follow the theme (they were fixed navy and vanished in dark mode) */
.viz .pct { stroke: var(--head); }
.viz .badge__bg { fill: var(--head); }
.viz .badge__t { fill: var(--white); }

/* footer: licence number sits between the copyright and the legal links */
.footer__lic { color: var(--mute); }
.footer__lic span { font-weight: 600; color: var(--head); }
