/* =========================================================
   REBO Design: site styles
   Same visual system as the REBO Engineering site.
   Brand colours live in :root. Change them once here.
   ========================================================= */

:root {
  --teal: #3ba6c6;          /* logo teal: buttons, icons, accents */
  --teal-ink: #1d6f88;      /* teal dark enough for text on white */
  --teal-soft: #e5f4f8;
  --ink: #16191c;           /* logo charcoal: dark sections */
  --ink-2: #1f2428;
  --ink-line: #2e353b;

  --white: #ffffff;
  --grey: #f3f5f7;
  --line: #e1e6ea;

  --heading: #14181b;
  --body: #4a5661;
  --on-dark: #f2f2ee;
  --on-dark-muted: #a9b4bd;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --shadow: 0 1px 2px rgba(20, 24, 27, .06), 0 8px 24px rgba(20, 24, 27, .06);
  --shadow-lift: 0 2px 4px rgba(20, 24, 27, .06), 0 18px 36px rgba(20, 24, 27, .12);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { color: var(--heading); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .55em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--teal); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: #0f1214; color: var(--on-dark-muted); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a { color: var(--on-dark); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--teal); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--ink-line); transition: box-shadow .3s var(--ease), background-color .3s; }
.site-header.is-scrolled { background: rgba(22, 25, 28, .96); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 72px; }
.brand { display: block; }
.brand img { height: 62px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 52px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; color: var(--on-dark); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--white); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }
.site-nav a.nav-cta { background: var(--teal); color: var(--ink); padding: 11px 20px; border-radius: var(--radius); font-weight: 700; transition: background .2s, transform .2s var(--ease); }
.site-nav a.nav-cta:hover { background: #63bdd8; color: var(--ink); transform: translateY(-1px); }

.nav-toggle { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid var(--ink-line); border-radius: var(--radius); color: var(--on-dark); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; content: ""; transition: transform .25s var(--ease), background .2s; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; top: -6px; }
.nav-toggle-bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; font: inherit; font-size: .98rem; font-weight: 700; text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #63bdd8; color: var(--ink); box-shadow: 0 12px 24px -12px rgba(59, 166, 198, .8); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-block { width: 100%; }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Eyebrows ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--teal); }
.eyebrow-light { color: var(--teal); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-dark); min-height: min(88vh, 780px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 60% 45%; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 17, 19, .95) 0%, rgba(14, 17, 19, .82) 40%, rgba(14, 17, 19, .45) 70%, rgba(14, 17, 19, .3) 100%),
              linear-gradient(0deg, rgba(14, 17, 19, .75) 0%, transparent 42%); }
.hero-inner { padding-top: clamp(72px, 12vh, 140px); padding-bottom: clamp(48px, 8vh, 88px); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .hl { color: var(--teal); }
.hero-sub { font-size: clamp(1.25rem, 2.3vw, 1.7rem); font-weight: 700; color: var(--white); margin-bottom: .8em; letter-spacing: -.01em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #d5dce1; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-strip { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(14, 17, 19, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-strip ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip li { padding: 18px 0 18px 18px; font-weight: 650; font-size: .98rem; color: var(--white); border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-strip li:first-child { border-left: 0; padding-left: 0; }
.hero-strip li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--teal); margin-right: 12px; vertical-align: middle; }

/* Hero entrance (only when JS is on and motion is allowed) */
.js .hero-bg { animation: heroZoom 2.6s var(--ease) both; }
.js .hero-in { animation: heroIn .9s var(--ease) both; animation-delay: calc(var(--i) * .11s + .15s); }
.js .hero h1 .hero-in { animation-name: heroLine; animation-duration: 1s; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroLine { from { transform: translateY(105%); } to { transform: none; } }

/* ---------- Stats band ---------- */
.stats-band { background: var(--teal); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: clamp(26px, 3.5vw, 40px) 24px; border-left: 1px solid rgba(22, 25, 28, .18); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dd { margin: 0 0 4px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dt { font-weight: 600; font-size: .95rem; color: #11343f; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-grey { background: var(--grey); }
.section-dark { background: var(--ink); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 46em; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-intro { font-size: 1.15rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--heading); font-weight: 550; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2316191c' stroke-width='2.2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ticks-dark li { color: var(--on-dark); font-weight: 500; }

/* Service cards */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--teal); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service:hover::after { transform: scaleX(1); }
.service h3 { margin-bottom: 10px; }
.service p { font-size: .98rem; margin: 0; }
.icon { width: 46px; height: 46px; padding: 10px; box-sizing: content-box; margin: -10px 0 14px -10px; fill: none; stroke: var(--teal-ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; transition: transform .4s var(--ease); }
.service:hover .icon { transform: translateY(-2px) scale(1.06); }

/* Sector / business-type photo cards */
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow); }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 17, 19, .92) 0%, rgba(14, 17, 19, .4) 55%, rgba(14, 17, 19, .08) 100%); transition: opacity .5s; }
.sector:hover img { transform: scale(1.06); }
.sector-text { padding: 24px; }
.sector h3 { color: var(--white); margin-bottom: 6px; }
.sector h3::after { content: ""; display: block; width: 32px; height: 3px; background: var(--teal); margin-top: 10px; transition: width .5s var(--ease); }
.sector:hover h3::after { width: 64px; }
.sector p { margin: 0; color: #d5dce1; font-size: .95rem; }

/* ---------- How it works ---------- */
.how .section-intro { color: var(--on-dark-muted); }
.how-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.how-diagram { position: sticky; top: calc(var(--header-h) + 32px); }

.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--ink-line); }
.steps::after { content: ""; position: absolute; left: 23px; top: 24px; width: 2px; height: calc((100% - 48px) * var(--progress, 0)); background: var(--teal); transition: height .6s var(--ease); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 0 0 clamp(36px, 7vh, 64px); transition: opacity .5s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink-line); color: var(--white); font-weight: 800; font-size: 1rem; transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.step h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.step p { margin: 0; color: var(--on-dark-muted); }
.step.is-done .step-num { border-color: var(--teal); }
.step.is-active .step-num { background: var(--teal); border-color: var(--teal); color: var(--ink); box-shadow: 0 0 0 6px rgba(59, 166, 198, .18); }
@media (min-width: 961px) {
  .js .step { opacity: .45; }
  .js .step.is-active, .js .step.is-done { opacity: 1; }
  .step { min-height: 34vh; }
}

/* Diagram: mockup → folder → your hosting */
.flow { position: relative; aspect-ratio: 1 / .82; border-radius: 10px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--ink-line); container-type: inline-size; font-size: clamp(10px, 2.6cqw, 13.5px); color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.flow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(59, 166, 198, .16), transparent 55%); }
.flow > * { transition: all .8s var(--ease); }
.fl-cap { display: block; font-size: .85em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: .7em; }

.fl-mock { position: absolute; left: 7%; top: 9%; width: 38%; }
.fl-mock-page { background: var(--white); border-radius: 6px; padding: 9% 9% 11%; display: grid; gap: .55em; box-shadow: 0 16px 30px -16px #000; }
.fl-mock-page i { display: block; height: .5em; border-radius: 2px; background: #d6dde2; }
.fl-mock-page i.h { height: 1.2em; background: var(--ink); width: 85%; }
.fl-mock-page i.teal { background: var(--teal); }
.fl-mock-page .w40 { width: 40%; } .fl-mock-page .w60 { width: 55%; } .fl-mock-page .w80 { width: 80%; }
.fl-mock-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; margin-top: .4em; }
.fl-mock-boxes b { height: 2.2em; border-radius: 3px; background: var(--teal-soft); }
.fl-stamp { position: absolute; right: -8%; top: 20%; transform: rotate(8deg); background: var(--teal); color: var(--ink); font-weight: 800; padding: .25em .7em; border-radius: 4px; font-size: .9em; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 16px -8px #000; }

.fl-folder { position: absolute; left: 7%; top: 55%; width: 40%; opacity: .35; }
.fl-folder-tab { width: 40%; height: 1.1em; background: #2d8fae; border-radius: 5px 5px 0 0; }
.fl-folder-body { background: linear-gradient(180deg, #3ba6c6, #2d8fae); border-radius: 0 7px 7px 7px; padding: .9em 1em 1em; color: var(--ink); box-shadow: 0 18px 30px -16px #000; }
.fl-folder-name { display: block; font-weight: 800; margin-bottom: .45em; }
.fl-files { list-style: none; margin: 0; padding: 0; display: grid; gap: .25em; font-size: .88em; font-weight: 600; }
.fl-files li { opacity: 0; transform: translateX(-6px); transition: opacity .45s, transform .45s var(--ease); padding-left: 1.2em; position: relative; }
.fl-files li::before { content: ""; position: absolute; left: 0; top: .4em; width: .6em; height: .75em; border: 1.5px solid rgba(22, 25, 28, .7); border-radius: 1px; }

.fl-path { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--teal); opacity: 0; pointer-events: none; }
.fl-path path { stroke-dashoffset: 120; transition: stroke-dashoffset 1.2s var(--ease); }
.fl-timer { position: absolute; left: 50%; top: 17%; transform: translateX(-50%); font-size: .85em; font-weight: 700; color: var(--ink); background: var(--teal); padding: .3em .8em; border-radius: 99px; opacity: 0; white-space: nowrap; }

.fl-host { position: absolute; right: 7%; top: 30%; width: 40%; }
.fl-drop { position: relative; height: 8.5em; border: 2px dashed rgba(169, 180, 189, .4); border-radius: 8px; display: grid; place-items: center; text-align: center; transition: all .5s var(--ease); }
.fl-drop-text { color: var(--on-dark-muted); font-size: .9em; transition: opacity .3s; }
.fl-live { position: absolute; inset: .55em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em; background: var(--white); color: var(--ink); border-radius: 5px; opacity: 0; transform: scale(.94); transition: all .5s var(--ease); font-size: .9em; }
.fl-live b { font-size: .8em; background: #d8f1e4; color: #13633b; padding: .15em .7em; border-radius: 99px; letter-spacing: .06em; text-transform: uppercase; }
.fl-live-dot { width: .7em; height: .7em; border-radius: 50%; background: #23a25f; box-shadow: 0 0 0 .3em rgba(35, 162, 95, .22); }
.fl-owner { list-style: none; margin: .9em 0 0; padding: 0; display: grid; gap: .35em; font-size: .85em; }
.fl-owner li { display: flex; justify-content: space-between; padding: .4em .7em; border: 1px solid var(--ink-line); border-radius: 5px; color: var(--on-dark-muted); transition: all .4s; }
.fl-owner b { opacity: .25; transition: opacity .4s, color .4s; }

.flow[data-stage="2"] .fl-mock, .flow[data-stage="3"] .fl-mock, .flow[data-stage="4"] .fl-mock { opacity: .3; transform: scale(.9); transform-origin: top left; }
.flow[data-stage="2"] .fl-folder, .flow[data-stage="3"] .fl-folder { opacity: 1; }
.flow[data-stage="2"] .fl-files li, .flow[data-stage="3"] .fl-files li, .flow[data-stage="4"] .fl-files li { opacity: 1; transform: none; }
.flow[data-stage="2"] .fl-files li:nth-child(2) { transition-delay: .15s; }
.flow[data-stage="2"] .fl-files li:nth-child(3) { transition-delay: .3s; }
.flow[data-stage="2"] .fl-files li:nth-child(4) { transition-delay: .45s; }
.flow[data-stage="3"] .fl-folder { left: 55%; top: 36%; transform: scale(.82) rotate(-3deg); transform-origin: top left; z-index: 3; }
.flow[data-stage="3"] .fl-path, .flow[data-stage="3"] .fl-timer { opacity: 1; }
.flow[data-stage="3"] .fl-path path { stroke-dashoffset: 0; }
.flow[data-stage="3"] .fl-drop { border-color: var(--teal); background: rgba(59, 166, 198, .1); }
.flow[data-stage="3"] .fl-drop-text, .flow[data-stage="4"] .fl-drop-text { opacity: 0; }
.flow[data-stage="4"] .fl-folder { left: 55%; top: 40%; opacity: 0; transform: scale(.5); transform-origin: top left; }
.flow[data-stage="4"] .fl-drop { border-style: solid; border-color: rgba(35, 162, 95, .7); }
.flow[data-stage="4"] .fl-live { opacity: 1; transform: none; transition-delay: .3s; }
.flow[data-stage="4"] .fl-owner li { border-color: rgba(59, 166, 198, .5); color: var(--on-dark); }
.flow[data-stage="4"] .fl-owner b { opacity: 1; color: var(--teal); }
.flow[data-stage="4"] .fl-owner li:nth-child(1), .flow[data-stage="4"] .fl-owner li:nth-child(1) b { transition-delay: .5s; }
.flow[data-stage="4"] .fl-owner li:nth-child(2), .flow[data-stage="4"] .fl-owner li:nth-child(2) b { transition-delay: .65s; }
.flow[data-stage="4"] .fl-owner li:nth-child(3), .flow[data-stage="4"] .fl-owner li:nth-child(3) b { transition-delay: .8s; }

.flow-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.flow-tabs button { min-height: 44px; border-radius: var(--radius); cursor: pointer; background: transparent; border: 1px solid var(--ink-line); color: var(--on-dark-muted); font: inherit; font-size: .9rem; font-weight: 650; transition: all .25s; }
.flow-tabs button:hover { border-color: var(--teal); color: var(--white); }
.flow-tabs button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }

/* ---------- Phone feature (animated mockup) ---------- */
.phone-stage { display: grid; justify-items: center; position: relative; }
.phone-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 8%; background: radial-gradient(circle, rgba(59, 166, 198, .28), transparent 65%); z-index: 0; }
.phone {
  --p-bg: #F6F0E6; --p-ink: #1F3B2D; --p-accent: #C8643B; --p-soft: #EADFCD; --p-photo1: #E7B48A; --p-photo2: #2F5D4A; --p-sun: #F7E2B6;
  position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px;
  background: linear-gradient(145deg, #2a3036, #121518); box-shadow: 0 0 0 2px #3a4249 inset, 0 40px 70px -30px rgba(20, 24, 27, .55), 0 18px 30px -18px rgba(20, 24, 27, .4);
  container-type: inline-size; animation: floaty 7s ease-in-out infinite;
}
.phone[data-theme="trade"] { --p-bg: #0F1D2B; --p-ink: #F4F1EA; --p-accent: #F2C230; --p-soft: #1B2E42; --p-photo1: #2C4A66; --p-photo2: #F2C230; --p-sun: #F7D768; }
.phone[data-theme="salon"] { --p-bg: #F5EAE6; --p-ink: #432634; --p-accent: #8E4D68; --p-soft: #EBD9D2; --p-photo1: #D8B4A6; --p-photo2: #7C8F78; --p-sun: #FBEDE5; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; background: #0b0d0f; border-radius: 99px; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: var(--p-bg); color: var(--p-ink); padding: 15cqw 6cqw 22cqw; display: flex; flex-direction: column; gap: 4cqw; transition: background-color .5s, opacity .4s; font-size: 4.4cqw; }
.phone-screen::after { content: ""; position: absolute; inset: 0; background: var(--p-bg); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 5; }
.phone.is-fading .phone-screen::after { opacity: 1; }
.p-piece { --fill: transparent; position: relative; border-radius: 10px; }
.p-piece::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed var(--teal); border-radius: inherit; opacity: 0; pointer-events: none; }
.p-nav { display: flex; justify-content: space-between; align-items: center; }
.p-logo { font-weight: 850; letter-spacing: -.02em; font-size: 5.6cqw; }
.p-burger { width: 7cqw; height: 4.4cqw; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.p-hero { --fill: var(--p-soft); background: var(--p-soft); padding: 6cqw; display: flex; flex-direction: column; align-items: flex-start; gap: 2.6cqw; }
.p-kicker { font-size: 3.4cqw; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-accent); }
.p-h { font-size: 8.6cqw; font-weight: 850; line-height: 1.02; letter-spacing: -.035em; }
.p-btn { margin-top: 1cqw; background: var(--p-ink); color: var(--p-bg); font-weight: 750; font-size: 4cqw; padding: 2.8cqw 5cqw; border-radius: 99px; }
.phone[data-theme="trade"] .p-btn { background: var(--p-accent); color: #0F1D2B; }
.p-photo { position: relative; height: 26cqw; overflow: hidden; background: linear-gradient(180deg, var(--p-photo1), color-mix(in srgb, var(--p-photo1) 65%, var(--p-photo2))); }
.p-sun { position: absolute; width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--p-sun); right: 16%; top: 14%; }
.p-hill { position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%; border-radius: 50% 50% 0 0; background: var(--p-photo2); }
.p-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.p-card { --fill: color-mix(in srgb, var(--p-ink) 7%, var(--p-bg)); background: var(--fill); padding: 4cqw; display: grid; gap: 2cqw; font-size: 4cqw; }
.p-card i { width: 7cqw; height: 7cqw; border-radius: 6px; background: var(--p-accent); }
.p-map { --fill: color-mix(in srgb, var(--p-ink) 6%, var(--p-bg)); height: 18cqw; background: var(--fill); background-image: linear-gradient(35deg, transparent 46%, color-mix(in srgb, var(--p-ink) 14%, transparent) 46% 54%, transparent 54%), linear-gradient(-20deg, transparent 47%, color-mix(in srgb, var(--p-ink) 10%, transparent) 47% 53%, transparent 53%); }
.p-pin { position: absolute; left: 58%; top: 26%; width: 6cqw; height: 6cqw; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--p-accent); }
.p-callbar { position: absolute; left: 6cqw; right: 6cqw; bottom: 6cqw; --fill: var(--p-accent); background: var(--p-accent); color: var(--p-bg); display: flex; align-items: center; justify-content: center; gap: 2.5cqw; padding: 4cqw; border-radius: 99px; font-weight: 800; font-size: 4.4cqw; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.phone[data-theme="trade"] .p-callbar { color: #0F1D2B; }
.p-callbar svg { width: 5cqw; height: 5cqw; fill: none; stroke: currentColor; stroke-width: 2; }
.phone-label { position: relative; z-index: 1; margin: 22px 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }

.phone.run .p-piece { animation: pieceIn .55s var(--ease) calc(var(--d) * .45s + .2s) both; }
.phone.run .p-piece::before { animation: wire 1s ease calc(var(--d) * .45s + .2s) both; }
.phone.run .p-piece > * { animation: contentIn .45s var(--ease) calc(var(--d) * .45s + .6s) both; }
.phone.run .p-callbar { animation: pieceIn .55s var(--ease) calc(var(--d) * .45s + .2s) both, pulse 2.4s ease-in-out 3.2s infinite; }
@keyframes pieceIn { 0% { opacity: 0; transform: translateY(10px); background-color: transparent; } 45% { opacity: 1; transform: none; background-color: transparent; } 100% { opacity: 1; transform: none; background-color: var(--fill); } }
@keyframes wire { 0% { opacity: 0; } 15% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; } }
@keyframes contentIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 20px -10px rgba(0,0,0,.5), 0 0 0 0 color-mix(in srgb, var(--p-accent) 50%, transparent); } 50% { box-shadow: 0 10px 20px -10px rgba(0,0,0,.5), 0 0 0 3cqw transparent; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(-.5deg); } }

/* ---------- Comparison table ---------- */
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: .98rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 20px 22px; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; color: var(--heading); font-size: .95rem; background: var(--grey); }
.cmp thead th.us { background: var(--teal); color: var(--ink); }
.cmp tbody th { color: var(--heading); width: 22%; }
.cmp td { width: 26%; }
.cmp td.us { background: var(--teal-soft); color: var(--heading); }
.cmp td.us b { color: var(--teal-ink); }
.cmp tbody tr { transition: background-color .2s; }
.cmp tbody tr:hover { background: #fafbfc; }

/* ---------- Concept projects ---------- */
.project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.project-body { padding: 24px 26px 28px; }
.project-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-soft); padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; }
.project h3 { margin-bottom: 6px; }
.project p { margin: 0; font-size: .96rem; }
.footnote { margin: 20px 0 0; font-size: .88rem; }

/* ---------- Built together ---------- */
.together { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--teal); }
.together li { padding: 30px 32px 8px 0; position: relative; }
.together li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.together-num { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-soft); padding: 4px 10px; border-radius: 3px; margin-bottom: 16px; }
.together h3 { font-size: 1.3rem; margin-bottom: 8px; }
.together p { margin: 0; }

/* ---------- Wild Atlantic Way ---------- */
.tourism .section-intro { color: var(--on-dark-muted); }
.tourism .split-media { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.tourism .split-media img { aspect-ratio: 4 / 3.4; }

/* ---------- Work showcase ---------- */
.showcases { display: grid; gap: clamp(56px, 8vw, 104px); }
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.showcase.flip .show-media { order: 2; }
.show-media { position: relative; display: block; padding: 0 9% 9% 0; text-decoration: none; }
.showcase.flip .show-media { padding: 0 0 9% 9%; }
.show-browser { display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(20,24,27,.08), 0 40px 70px -35px rgba(20,24,27,.45); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.show-bar { display: flex; gap: 6px; padding: 10px 12px; background: #e9edf0; border-bottom: 1px solid var(--line); }
.show-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d1d7; }
.show-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.show-phone { position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 22px; padding: 6px; background: #16191c; box-shadow: 0 30px 50px -20px rgba(20,24,27,.6); transition: transform .6s var(--ease); }
.showcase.flip .show-phone { right: auto; left: 0; }
.show-phone img { border-radius: 17px; width: 100%; }
.show-media:hover .show-browser { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(20,24,27,.08), 0 50px 80px -35px rgba(20,24,27,.5); }
.show-media:hover .show-phone { transform: translateY(-14px) rotate(-2deg); }
.show-style { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--teal); padding: 5px 12px; border-radius: 3px; margin: 0 0 16px; }
.show-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 4px; }
.show-place { font-size: .92rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 14px; }
.show-text .ticks { margin: 18px 0 24px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--teal-ink); }
.text-link:hover { color: var(--heading); }
.text-link:hover .btn-arrow { transform: translateX(4px); }
@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase.flip .show-media { order: 0; padding: 0 9% 9% 0; }
  .showcase.flip .show-phone { left: auto; right: 0; }
  .together { grid-template-columns: 1fr; }
  .together li, .together li + li { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3vw, 32px); align-items: start; }
.price-card { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); border-top: 4px solid var(--teal); padding: clamp(30px, 4vw, 44px); box-shadow: 0 30px 60px -30px rgba(20, 24, 27, .6); }
.price-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 166, 198, .25), transparent 65%); pointer-events: none; }
.price-tag { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0; }
.price { position: relative; color: var(--white); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 14px 0 8px; }
.price-from { font-size: .42em; font-weight: 600; color: var(--on-dark-muted); letter-spacing: 0; vertical-align: middle; }
.price-note { color: var(--on-dark-muted); margin-bottom: 4px; }
.price-card .ticks { padding: 22px 0 28px; margin-top: 18px; border-top: 1px solid var(--ink-line); }
.price-side { display: grid; gap: 20px; }
.extras { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.extras h3 { margin-bottom: 10px; }
.extras dl { margin: 0; }
.extras dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.extras dt { font-weight: 650; color: var(--heading); flex: 1 1 55%; }
.extras dt small { display: block; font-weight: 400; color: var(--body); font-size: .88rem; margin-top: 2px; }
.extras dd { margin: 0; color: var(--teal-ink); font-weight: 700; font-size: .95rem; text-align: right; max-width: 45%; overflow-wrap: anywhere; }

/* ---------- About ---------- */
.leader { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.leader-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.leader-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--teal); }
.leader-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.leader-role { font-weight: 650; color: var(--teal-ink); margin-top: -.4em; }
.leader-facts { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.leader-facts li { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.leader-facts span { font-weight: 700; color: var(--heading); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.12rem; color: var(--heading); transition: color .2s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--teal-ink); }
.acc-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal-ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .acc-icon { background: var(--teal); border-color: var(--teal); transform: rotate(180deg); }
details[open] .acc-icon::before, details[open] .acc-icon::after { background: var(--ink); }
details[open] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { overflow: hidden; }
.acc-body p { margin: 0; padding: 0 52px 24px 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 11vw, 136px) 0; color: #d5dce1; background: var(--ink); }
.cta-media { position: absolute; inset: -12% 0; z-index: -2; }
.cta-bg { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 19, .94) 0%, rgba(14, 17, 19, .75) 55%, rgba(29, 111, 136, .55) 100%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 20ch; margin-bottom: 10px; }
.cta p { margin: 0; max-width: 40em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; color: var(--heading); }
.contact-label { font-weight: 700; color: var(--heading); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: clamp(24px, 3.5vw, 36px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift); border-top: 4px solid var(--teal); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: .92rem; color: var(--heading); }
.optional { font-weight: 400; color: var(--body); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 11px 13px; background: var(--white); color: var(--heading); border: 1px solid #c7d0d7; border-radius: var(--radius); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field ::placeholder { color: #7c8893; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 4px rgba(59, 166, 198, .25); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { margin: 0; font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 80px) 0 32px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.footer-brand img { width: 160px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 26em; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--white); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; font-size: .95rem; overflow-wrap: anywhere; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--teal); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }
.footer-legal p { margin: 0; }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; color: var(--on-dark); overflow: hidden; background: var(--ink); }
.simple .hero-bg { position: absolute; inset: 0; z-index: -2; }
.simple::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 17, 19, .95), rgba(14, 17, 19, .7)); }
.simple-box { padding-top: 48px; padding-bottom: 48px; }
.simple .brand-img { width: 150px; margin-bottom: 48px; }
.simple h1 { color: var(--white); font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: 16ch; }
.simple p { color: #d5dce1; font-size: 1.15rem; max-width: 34em; }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(8% 8% 8% 8% round 6px); transform: none; transition: opacity .9s var(--ease), clip-path 1.2s var(--ease); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0 round 6px); }
.js .reveal-img.in img { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .leader, .price-grid, .faq-grid, .how-layout { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .how-diagram { position: static; order: -1; }
  .leader-media { max-width: 340px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(22, 25, 28, .18); }
  .hero-strip ul { grid-template-columns: 1fr 1fr; }
  .hero-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-strip li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .phone-stage { margin-top: 12px; }
}
@media (max-width: 900px) {
  .topbar-inner > p:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; background: var(--ink); border-bottom: 1px solid var(--ink-line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.6); }
  .site-nav.is-open { display: flex; animation: menuIn .3s var(--ease); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a:hover, .site-nav ul a.is-active { color: var(--teal); }
  .site-nav a.nav-cta { margin-top: 16px; text-align: center; padding: 14px; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .header-inner { height: 62px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .service-grid, .project-grid, .sector-grid, .contact-form, .footer-cols { grid-template-columns: 1fr; }
  .sector { min-height: 240px; }
  .hero { min-height: 0; }
  .hero-media { bottom: auto; height: 78vw; min-height: 300px; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 17, 19, .25) 0%, rgba(14, 17, 19, .5) 30vw, rgba(14, 17, 19, .96) 66vw, #0e1113 100%); }
  .hero-bg { object-position: 50% 40%; }
  .hero-inner { padding-top: 54vw; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-strip li { font-size: .88rem; padding: 14px 0 14px 14px; }
  .topbar-contact { gap: 16px; font-size: .78rem; }
  .contact-list li, .leader-facts li { grid-template-columns: 1fr; gap: 2px; }
  .steps::before, .steps::after { left: 19px; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 32px; }
  .step-num { width: 40px; height: 40px; }
  .step h3 { margin-top: 6px; }
  .flow { aspect-ratio: 1 / .95; }
  .flow-tabs button { font-size: .82rem; }
  .extras { padding: 22px 20px; }
  .acc-body p { padding-right: 0; }
  /* Comparison table becomes stacked cards */
  .table-wrap { background: none; border: 0; box-shadow: none; overflow: visible; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tbody { display: grid; gap: 14px; }
  .cmp tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
  .cmp tbody th { width: auto; border-top: 0; padding: 16px 18px 10px; font-size: 1.05rem; }
  .cmp td { width: auto; }
  .cmp td { padding: 12px 18px; font-size: .95rem; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--body); margin-bottom: 2px; }
  .cmp td.us::before { color: var(--teal-ink); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .js .reveal-img img { transform: none; }
}

/* ---------- Payback ---------- */
.payback .section-intro { color: var(--on-dark-muted); }
.pay-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pay { background: var(--ink-2); border: 1px solid var(--ink-line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 26px 24px; min-width: 0; }
.pay p { margin: 0; font-size: .96rem; }
.pay-type { font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.pay-big { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 12px !important; }
.pay-calc { margin-top: 32px; background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-lift); }
.pay-calc h3 { color: var(--heading) !important; }
.pay-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.pay-fields .field { display: grid; gap: 6px; min-width: 0; }
.pay-result { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--heading); font-size: 1.1rem; font-weight: 550; }
.pay-result span { color: var(--teal-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.payback .footnote { color: var(--on-dark-muted); }
@media (max-width: 960px) { .pay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pay-grid, .pay-fields { grid-template-columns: 1fr; } }
