/* css/site.css — GENERATED: shared chrome from css/style.css + inner-page alignment.
   Used by every page except the homepage. Edit css/style.css (sections 0-4, 19, 20) or the
   alignment block at the end, then regenerate. */
/* 0. BRAND TOKENS ---------------------------------------------------------- */
:root {
  /* Colours — taken from the logo */
  --k-navy: #0B1622;          /* dark sections, header */
  --k-navy-2: #111F2E;        /* raised dark surfaces */
  --k-blue: #23689E;          /* primary (logo blue) — buttons, links, the "proof" band */
  --k-blue-600: #1C5784;      /* primary hover */
  --k-amber: #F39C1F;         /* accent (logo orange) — numbers, ticks, small highlights on dark */
  --k-amber-ink: #C76E00;     /* accent text on white (4.7:1 contrast, WCAG AA) */
  --k-ink: #17202B;           /* headings on light */
  --k-text: #3B4754;          /* body text on light */
  --k-muted: #5B6776;         /* secondary text on light (5.6:1) */
  --k-white: #FFFFFF;
  --k-off: #F6F8FB;           /* off-white sections */
  --k-line: #E3E8EE;
  --k-line-dark: rgba(255, 255, 255, .12);

  /* Type */
  --f-head: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w-light: 300;             /* first line of split headlines */
  --w-bold: 750;              /* second line of split headlines */

  /* Shape & space */
  --radius: 6px;              /* buttons — squared, not pills */
  --radius-card: 14px;
  --wrap: 1240px;
  --pad-x: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);

  /* Re-map the shared design-system tokens so the shared footer/forms match */
  --font-display: var(--f-head);
  --font-body: var(--f-body);
  --navy: var(--k-navy);
}

/* 1. FONTS (self-hosted variable WOFF2, latin subset) ---------------------- */
@font-face {
  font-family: 'Inter Tight';
  src: url('../assets/fonts/inter-tight-latin-var.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2. BASE & HELPERS -------------------------------------------------------- */
/* Minimal reset for the first screen (the full shared reset in styles/main.css loads without blocking) */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { z-index: 100; padding: 10px 16px; border-radius: var(--radius); background: var(--k-white); color: var(--k-ink); font-weight: 600; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad-x) * 2); margin-inline: auto; padding-inline: var(--pad-x); }
.br-desk { display: none; }
@media (min-width: 900px) { .br-desk { display: inline; } }

/* Small uppercase label above headlines */
.kicker { font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--k-amber-ink); }
.kicker--dark { color: var(--k-amber); }

/* Split-weight headlines: light first line, bold second line */
.w-light, .w-bold { display: block; }
.w-light { font-weight: var(--w-light); }
.w-bold { font-weight: var(--w-bold); }
.t-blue { color: var(--k-blue); }

.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; color: var(--k-ink); text-wrap: balance; }
.h2--center { text-align: center; }
.h2--dark { color: var(--k-white); }
.lede { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--k-muted); max-width: 560px; }
.lede--center { margin-inline: auto; text-align: center; }
.lede--dark { color: rgba(255, 255, 255, .72); }

/* Buttons — squared corners (6px), solid blue primary, outline secondary */
.kbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -.005em;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.kbtn--lg { min-height: 54px; padding: 15px 26px; font-size: 16px; }
.kbtn--primary { background: var(--k-blue); color: var(--k-white); box-shadow: 0 10px 24px -12px rgba(35, 104, 158, .9); }
.kbtn--primary:hover { background: var(--k-blue-600); }
.kbtn--outline-dark { background: transparent; color: var(--k-white); border-color: rgba(255, 255, 255, .55); }
.kbtn--outline-dark:hover { background: var(--k-white); color: var(--k-navy); border-color: var(--k-white); }
.kbtn--outline { background: transparent; color: var(--k-ink); border-color: var(--k-ink); }
.kbtn--outline:hover { background: var(--k-ink); color: var(--k-white); }
.kbtn:focus-visible, .site-v2 a:focus-visible, .site-v2 button:focus-visible, .site-v2 summary:focus-visible {
  outline: 3px solid var(--k-amber); outline-offset: 3px; border-radius: var(--radius);
}
/* Primary CTA with two overlapping team avatars ("talk to a real person") */
.kbtn--avatars { padding-left: 10px; }
.avatars { display: inline-flex; }
.avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--k-blue); object-fit: cover; background: var(--k-navy-2); }
.avatars img + img { margin-left: -10px; }
.kbtn--avatars:hover .avatars img { border-color: var(--k-blue-600); }
/* Shared footer newsletter button follows the squared style too */
.site-v2 .btn { border-radius: var(--radius); }

/* Square-dot grid pattern for dark and blue sections */
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect width='2' height='2' fill='%23fff' fill-opacity='.14'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%); }

/* Hand-drawn doodles (single colour, stroke only) and amber line art */
.doodle { display: flex; justify-content: center; margin-bottom: 18px; color: var(--k-ink); }
.doodle--dark { color: var(--k-white); }
.doodle svg, .lineart svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lineart { display: flex; justify-content: center; gap: clamp(18px, 4vw, 40px); margin-top: 36px; color: var(--k-amber); }
.lineart svg { width: 44px; height: 44px; stroke-width: 2; }

/* 3. ANNOUNCEMENT BAR ------------------------------------------------------ */
.annbar { background: var(--k-amber); color: var(--k-navy); font-size: 14px; font-weight: 500; }
.annbar-off .annbar { display: none; }
.annbar__inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 52px; text-align: center; }
.annbar p { margin: 0; line-height: 1.4; }
.annbar a { font-weight: 700; color: var(--k-navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.annbar a:hover { text-decoration-thickness: 2.5px; }
.annbar__dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--k-navy); vertical-align: middle; animation: annPulse 2s ease-in-out infinite; }
@keyframes annPulse { 50% { opacity: .35; } }
.annbar__sep { margin: 0 6px; opacity: .6; }
.annbar__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); color: var(--k-navy); }
.annbar__close:hover { background: rgba(11, 22, 34, .1); }
.annbar a:focus-visible, .annbar__close:focus-visible { outline-color: var(--k-navy); }
@media (max-width: 559px) { .annbar { font-size: 13px; } .annbar__inner { padding: 8px 48px 8px 14px; text-align: left; justify-content: flex-start; } .annbar__sep { display: none; } .annbar a { display: inline-block; } }

/* 4. HEADER ---------------------------------------------------------------- */
/* Solid background (no backdrop-filter): a filter would make the header the containing block for the fixed mobile drawer. */
.hd { position: sticky; top: 0; z-index: 50; background: var(--k-navy); color: var(--k-white); border-bottom: 1px solid var(--k-line-dark); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .7); }
.hd__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.hd__logo { display: flex; flex-shrink: 0; }
.hd__logo img { height: 38px; width: auto; }
.hd__nav { display: none; }
@media (min-width: 1100px) { .hd__nav { display: block; } }
.hd__menu { display: flex; align-items: center; gap: 2px; }
.hd__item { position: relative; }
.hd__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius); font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .82); transition: color .2s, background-color .2s; }
.hd__link:hover, .hd__link[aria-expanded="true"] { color: var(--k-white); background: rgba(255, 255, 255, .06); }
.hd__chev { transition: transform .25s; }
.hd__link[aria-expanded="true"] .hd__chev { transform: rotate(180deg); }
.hd__actions { display: flex; align-items: center; gap: 10px; }
.hd__cta { display: none; }
@media (min-width: 640px) { .hd__cta { display: inline-flex; } }

/* Dropdown panels */
.dd { position: absolute; top: calc(100% + 12px); left: -8px; min-width: 300px; padding: 10px; border-radius: 12px; background: var(--k-white); color: var(--k-ink); box-shadow: 0 30px 70px -24px rgba(5, 12, 20, .55), 0 0 0 1px rgba(11, 22, 34, .06);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s, visibility .25s; }
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.dd--wide { width: 600px; }
.dd--right { left: auto; right: -8px; }
.hd__item.is-open > .dd,
html:not(.js) .hd__item:hover > .dd, html:not(.js) .hd__item:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd ul { display: grid; gap: 2px; }
.dd__grid { grid-template-columns: 1fr 1fr; }
.dd a { display: block; padding: 10px 12px; border-radius: 8px; transition: background-color .2s; }
.dd a:hover, .dd a:focus-visible { background: var(--k-off); }
.dd b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--k-ink); }
.dd b .si { width: 18px; height: 18px; }
.dd span { display: block; margin-top: 2px; font-size: 13px; color: var(--k-muted); }
.dd__all { display: inline-flex !important; margin: 6px 0 2px; font-size: 14px; font-weight: 600; color: var(--k-blue) !important; }

/* Hamburger + mobile drawer */
.hd__burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--k-line-dark); }
.hd__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--k-white); transition: transform .3s, opacity .2s; }
.hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1100px) { .hd__burger { display: none; } }
html.nav-open .floating { display: none; }


/* Fixes after review */
.hd .skip-link { position: fixed; top: 8px; left: 12px; transform: translateY(-200%); transition: transform .2s; } /* fixed: always fully off-screen until focused */
.hd .skip-link:focus { transform: none; }

/* Floating buttons step aside while scrolling down on phones (see js/header.js) */
.floating { transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.floating.is-away { transform: translateY(130%); opacity: 0; pointer-events: none; }
/* Open dropdowns become visible instantly (so keyboard focus can move into them); only the fade/slide animates */
.hd__item.is-open > .dd { transition: opacity .2s, transform .25s; }



.ic { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================================
   19. MOBILE / TABLET MENU — side drawer (<1100px)
   Open/close: .drw.is-open (js/header.js). Accordion: .drw__sub.is-open.
   Timings: --drw-ease / --drw-dur below.
   ========================================================================== */
.drw { --drw-ease: cubic-bezier(.32, .72, 0, 1); --drw-dur: .55s; position: fixed; inset: 0; z-index: 3; }
.drw[hidden] { display: none; }
.drw__backdrop { position: absolute; inset: 0; background: rgba(5, 10, 18, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s ease; }
.drw__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 92vw); overflow: hidden;
  background: radial-gradient(120% 60% at 100% 0%, rgba(35, 104, 158, .22), transparent 60%), var(--k-navy);
  border-left: 1px solid var(--k-line-dark); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .65);
  transform: translateX(100%); transition: transform var(--drw-dur) var(--drw-ease); }
.drw.is-open .drw__backdrop { opacity: 1; }
.drw.is-open .drw__panel { transform: none; }

.drw__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 22px; border-bottom: 1px solid var(--k-line-dark); }
.drw__logo img { height: 34px; width: auto; }
.drw__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--k-line-dark); color: var(--k-white); transition: background-color .25s, border-color .25s, transform .4s var(--drw-ease); }
.drw__close:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); transform: rotate(90deg); }

.drw__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 14px 20px; }
.drw__list > li { border-bottom: 1px solid var(--k-line-dark); }

/* Staggered entrance of the top-level items and the footer */
.drw__item, .drw__foot { opacity: 0; transform: translateX(28px); transition: opacity .25s ease, transform .25s ease; }
.drw.is-open .drw__item, .drw.is-open .drw__foot {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .6s var(--drw-ease);
  transition-delay: calc(.14s + var(--i, 0) * .055s);
}

/* Group toggle */
.drw__toggle { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 8px; text-align: left; color: rgba(255, 255, 255, .92); }
.drw__num { font-family: var(--f-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--k-amber); opacity: .85; }
.drw__label { flex: 1; font-family: var(--f-head); font-size: 24px; font-weight: 650; letter-spacing: -.02em; transition: transform .35s var(--drw-ease), color .25s; }
.drw__toggle:hover .drw__label { transform: translateX(4px); color: var(--k-white); }
.drw__chev { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--k-line-dark); color: rgba(255, 255, 255, .8); transition: transform .45s var(--drw-ease), background-color .3s, color .3s, border-color .3s; }
.drw__chev .ic { width: 18px; height: 18px; }
.drw__toggle[aria-expanded="true"] .drw__label { color: var(--k-white); }
.drw__toggle[aria-expanded="true"] .drw__chev { transform: rotate(180deg); background: var(--k-amber); border-color: var(--k-amber); color: var(--k-navy); }

/* Accordion panel: smooth height via grid rows (no JS measuring) */
.drw__sub { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--drw-ease), opacity .3s ease; }
.drw__sub.is-open { grid-template-rows: 1fr; opacity: 1; }
.drw__sub-inner { min-height: 0; overflow: hidden; }
.drw__sub ul { display: grid; gap: 2px; padding: 0 0 10px; }
.drw__sub ul.drw__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
.drw__sub li { opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.drw__sub.is-open li { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s var(--drw-ease); transition-delay: calc(.06s + var(--j, 0) * .035s); }
.drw__sub a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; color: var(--k-white); transition: background-color .2s, transform .35s var(--drw-ease); }
.drw__sub a:hover { background: rgba(255, 255, 255, .06); transform: translateX(4px); }
.drw__grid a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--k-line-dark); }
.drw__grid a:hover { transform: translateY(-2px); border-color: rgba(243, 156, 31, .5); }
.drw__ico { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--k-amber); }
.drw__ico .ic { width: 20px; height: 20px; }
.drw__ico--brand { background: var(--k-white); }
.drw__ico--brand .si { width: 22px; height: 22px; }
.drw__sub b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.drw__sub small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .56); }
.drw__thumb { flex-shrink: 0; width: 72px; height: 45px; border-radius: 6px; object-fit: cover; object-position: top; border: 1px solid var(--k-line-dark); background: var(--k-navy-2); }
.drw__all { display: inline-flex; align-items: center; gap: 6px; margin: 2px 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--k-amber); transition: gap .3s; }
.drw__all:hover { gap: 10px; }
.drw__all .ic { width: 16px; height: 16px; }

/* Footer: CTA + quick contact */
.drw__foot { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--k-line-dark); background: rgba(255, 255, 255, .02); }
.drw__foot .kbtn { width: 100%; }
.drw__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.drw__contact a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 8px; border: 1px solid var(--k-line-dark); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82); transition: border-color .25s, background-color .25s, color .25s; }
.drw__contact a:hover { border-color: var(--k-amber); background: rgba(243, 156, 31, .08); color: var(--k-white); }
.drw__contact .ic { width: 20px; height: 20px; color: var(--k-amber); }
.drw__hours { margin-top: 12px; text-align: center; font-size: 12.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .45); }
.drw a:focus-visible, .drw button:focus-visible { outline: 3px solid var(--k-amber); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .drw__panel, .drw__backdrop, .drw__item, .drw__foot, .drw__sub, .drw__sub li, .drw__chev, .drw__label { transition: none !important; }
}

/* ============================================================================
   20. FOOTER NEWSLETTER — squared to match the rest of the design system
   ========================================================================== */
.site-v2 .newsletter__box { align-items: stretch; gap: 6px; padding: 6px; border-radius: 10px; }
.site-v2 .newsletter--dark .newsletter__box { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.site-v2 .newsletter--dark .newsletter__box:hover { border-color: rgba(255, 255, 255, .28); }
.site-v2 .newsletter--dark .newsletter__box:focus-within { border-color: var(--k-amber); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(243, 156, 31, .18); }
.site-v2 .newsletter__box input { min-height: 48px; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.site-v2 .newsletter__box .btn { min-height: 48px; padding: 12px 22px; border-radius: 6px; box-shadow: none; font-size: 15px; }
.site-v2 .newsletter__box .btn::after { display: none; }
.site-v2 .newsletter__box .btn:hover { transform: none; background: var(--k-blue-600); }
@media (min-width: 560px) { .site-v2 .newsletter__box { flex-direction: row; border-radius: 10px; } }
.site-v2 .newsletter__msg { padding-inline: 2px; }
/* Browser autofill: keep the dark field instead of the browser's light-blue/yellow fill */
.site-v2 .newsletter--dark input:-webkit-autofill, .site-v2 .newsletter--dark input:-webkit-autofill:hover, .site-v2 .newsletter--dark input:-webkit-autofill:focus { -webkit-text-fill-color: #fff; caret-color: #fff; -webkit-box-shadow: 0 0 0 1000px #18232F inset; box-shadow: 0 0 0 1000px #18232F inset; transition: background-color 9999s ease-out 0s; }
.site-v2 .newsletter--dark input:autofill { color: #fff; box-shadow: 0 0 0 1000px #18232F inset; }



/* ============================================================================
   21. INNER-PAGE ALIGNMENT
   Inner pages (body.site-v2) keep their layouts and components from
   styles/main.css; these rules restyle them with the homepage design system:
   Inter Tight headings with a light/bold split, squared 6px buttons, smaller
   card radii, plain uppercase kickers, flat navy surfaces with the dot grid.
   Loaded after styles/main.css.
   ========================================================================== */
:root {
  --header-h: 76px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 12px; --r-xl: 16px;
  --font-display: var(--f-head); --font-body: var(--f-body);
  --ink: var(--k-ink); --muted: var(--k-muted); --soft: var(--k-muted); --line: var(--k-line); --bg-soft: var(--k-off);
}
html { scroll-padding-top: calc(var(--header-h) + 24px); }
.site-v2 { color: var(--k-text); background: var(--k-white); }
.site-v2 h1, .site-v2 h2, .site-v2 h3, .site-v2 h4 { font-family: var(--f-head); }
.site-v2 h3, .site-v2 h4 { color: var(--k-ink); letter-spacing: -.015em; }
.site-v2 .section--dark h3, .site-v2 .dark-card h3, .site-v2 .cta h3, .site-v2 .footer h3 { color: inherit; }

/* Headlines: light first part, bold highlighted part (same idea as the homepage split headlines) */
.display-xl, .display-lg, .display-md, .sh__title, .cta__title { font-weight: var(--w-light); letter-spacing: -.035em; }
.display-xl .text-gradient, .display-lg .text-gradient, .display-md .text-gradient, .sh__title .text-gradient, .cta__title .text-gradient,
.display-xl strong, .display-lg strong, .sh__title strong { font-weight: var(--w-bold); }
.sh__title { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; color: var(--k-ink); }
.sh--dark .sh__title { color: var(--k-white); }
.sh__text { color: var(--k-muted); }
/* Highlighted words: solid colour, no gradients (blue on light, white on dark) */
.site-v2 .text-gradient { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--k-blue); -webkit-text-fill-color: currentColor; animation: none; }
.site-v2 .hero .text-gradient, .site-v2 .page-hero .text-gradient, .site-v2 .section--dark .text-gradient, .site-v2 .cta .text-gradient,
.site-v2 .dark-card .text-gradient, .site-v2 .nl-band .text-gradient { background: none; color: var(--k-white); }
.site-v2 .dark-card__big.text-gradient { color: var(--k-amber); }

/* Kickers: plain uppercase text, no pill */
.site-v2 .eyebrow { padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #A65E00; } /* 4.9:1 on white; --k-amber-ink is too light at this size */
.site-v2 .eyebrow--dark { color: var(--k-amber); }
.site-v2 .eyebrow::before, .site-v2 .eyebrow i { display: none; }

/* Buttons: squared, solid, no shine/lift (matches .kbtn) */
.site-v2 .btn { min-height: 46px; padding: 12px 22px; border-radius: var(--radius); font-size: 15px; letter-spacing: -.005em; box-shadow: none; }
.site-v2 .btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.site-v2 .btn--lg { min-height: 54px; padding: 15px 26px; font-size: 16px; }
.site-v2 .btn::after { display: none; }
.site-v2 .btn:hover { transform: none; }
.site-v2 .btn--primary { background: var(--k-blue); color: var(--k-white); box-shadow: 0 10px 24px -12px rgba(35, 104, 158, .9); }
.site-v2 .btn--primary:hover { background: var(--k-blue-600); }
.site-v2 .btn--ghost { background: transparent; color: var(--k-white); border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-v2 .btn--ghost:hover { background: var(--k-white); color: var(--k-navy); border-color: var(--k-white); }
.site-v2 .btn--outline { background: transparent; color: var(--k-ink); border: 1.5px solid var(--k-ink); }
.site-v2 .btn--outline:hover { background: var(--k-ink); color: var(--k-white); border-color: var(--k-ink); }
.site-v2 .btn--light { background: var(--k-white); color: var(--k-navy); }
.site-v2 .btn--light:hover { background: var(--k-off); }
.site-v2 .btn:focus-visible, .site-v2 a:focus-visible, .site-v2 button:focus-visible { outline: 3px solid var(--k-amber); outline-offset: 3px; }

/* Page hero: flat navy with the homepage's square-dot grid instead of glows and lines.
   The header is now sticky and in flow, so the old fixed-header offset is removed. */
.site-v2 .page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 96px); background: var(--k-navy); }
.site-v2 .page-hero::after { display: none; }
.site-v2 .page-hero .glow, .site-v2 .cta__glow, .site-v2 .cta__lines { display: none; }
.site-v2 .page-hero .bg-grid, .site-v2 .section--dark > .bg-grid { background-size: 22px 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect width='2' height='2' fill='%23fff' fill-opacity='.14'/%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 25%, transparent 75%); }
.site-v2 .page-hero__eyebrow { margin-top: 28px; }
.site-v2 .page-hero__title { font-size: clamp(2.4rem, 5.4vw, 4.25rem); line-height: 1.04; letter-spacing: -.04em; }
.site-v2 .page-hero__text { color: rgba(255, 255, 255, .78); }
.site-v2 .breadcrumbs a, .site-v2 .breadcrumbs { color: rgba(255, 255, 255, .62); }

/* Dark surfaces: flat navy, no glass blur */
.site-v2 .section--dark { background: var(--k-navy); }
.site-v2 .glass { background: rgba(255, 255, 255, .05); border-color: var(--k-line-dark); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-v2 .dark-card { background: var(--k-navy-2); border-color: var(--k-line-dark); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-v2 .cta { background: var(--k-navy); border-radius: 20px; }
.site-v2 .cta::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect width='2' height='2' fill='%23fff' fill-opacity='.14'/%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 60%, #000 20%, transparent 70%); }

/* Light surfaces and controls: homepage line colour, squared corners */
.site-v2 .section--soft { background: var(--k-off); }
.site-v2 .field { border-radius: var(--radius); border-color: #CBD5E1; }
.site-v2 .field:focus { border-color: var(--k-blue); box-shadow: 0 0 0 4px rgba(35, 104, 158, .15); }
.site-v2 .chip, .site-v2 .chips li, .site-v2 .tags-row li, .site-v2 .filters button, .site-v2 .filter, .site-v2 .tag { border-radius: var(--radius); }

/* Floating buttons on phones: same as the homepage */
@media (max-width: 767px) {
  .site-v2 .floating { right: 12px; bottom: 12px; gap: 10px; }
  .site-v2 .floating__wa { width: 50px; height: 50px; }
  .site-v2 .floating__top { width: 40px; height: 40px; }
  .site-v2 .footer__bottom { padding-bottom: 88px; }
}
/* Headlines with no highlighted words are set bold (the light weight only works as a contrast) */
.display-xl:not(:has(.text-gradient, strong)), .display-lg:not(:has(.text-gradient, strong)), .display-md:not(:has(.text-gradient, strong)),
.sh__title:not(:has(.text-gradient, strong)), .cta__title:not(:has(.text-gradient, strong)) { font-weight: 700; letter-spacing: -.03em; }

/* Portfolio: live projects grid */
@media (min-width: 768px) { .projects--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .projects--3 { grid-template-columns: repeat(3, 1fr); } }
.project-card--live .project-card__title { font-size: 21px; }
.project-card--live .project-card__foot p { display: flex; align-items: center; gap: 6px; color: var(--k-muted); }
.project-card--live .project-card__foot .i { width: 14px; height: 14px; flex-shrink: 0; }
.project-card__links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--k-line); font-size: 13px; color: var(--k-muted); }
.project-card__links a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--k-blue); }
.project-card__links a .i { width: 14px; height: 14px; }
.project-card__links a:hover { text-decoration: underline; }
.site-v2 .filter-tab { border-radius: var(--radius); }

/* Project pages: highlighted "Visit live site" badge on the big screenshot */
.cs-visual .cs-live { position: absolute; right: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px); z-index: 3; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 10px; background: var(--k-amber); color: var(--k-navy); box-shadow: 0 18px 40px -14px rgba(11, 22, 34, .6), 0 0 0 4px rgba(243, 156, 31, .25); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, background-color .25s; }
.cs-visual .cs-live:hover { transform: translateY(-3px); background: #FFB547; box-shadow: 0 24px 48px -16px rgba(11, 22, 34, .65), 0 0 0 6px rgba(243, 156, 31, .3); }
.cs-visual .cs-live:focus-visible { outline: 3px solid var(--k-navy); outline-offset: 3px; }
.cs-live small { display: block; font-size: 12px; font-weight: 600; opacity: .75; line-height: 1.2; }
.cs-live b { display: block; font-family: var(--f-head); font-size: 17px; font-weight: 700; line-height: 1.25; }
.cs-live .i { width: 22px; height: 22px; flex-shrink: 0; }
.cs-live__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #12A150; flex-shrink: 0; }
.cs-live__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #12A150; animation: csLive 1.8s ease-out infinite; }
@keyframes csLive { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cs-live__dot::after { animation: none; } }
@media (max-width: 559px) { .cs-visual .cs-live { padding: 9px 12px; gap: 10px; } .cs-live small { display: none; } .cs-live b { font-size: 14.5px; } }

/* Project detail page: text + phone screenshot */
.pd-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .pd-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.pd-visit { margin-top: 12px; }
.pd-phone { margin: 0; text-align: center; }
@media (min-width: 900px) { .pd-phone { position: sticky; top: calc(var(--header-h) + 32px); } }
.pd-phone__frame { width: min(300px, 80vw); margin-inline: auto; padding: 10px; border-radius: 42px; background: var(--k-navy); box-shadow: 0 40px 80px -40px rgba(11, 22, 34, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pd-phone__frame img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 1039; object-fit: cover; object-position: top; border-radius: 32px; background: var(--k-off); }
.pd-phone figcaption { margin-top: 14px; font-size: 14px; color: var(--k-muted); }

/* Cards: the "Visit site" link sits above the card-wide link */
.project-card__links a .i { width: 13px; height: 13px; }
/* Technology tags inside article text stay as compact tags (prose lists are full-width grids) */
.prose-block ul.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prose-block ul.chips li { display: inline-flex; gap: 0; }
/* Form error message: links readable inside the red box */
.alert a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
/* Browser autofill: keep white form fields (no light-blue/yellow fill) and the normal focus ring */
.site-v2 .field:-webkit-autofill, .site-v2 .field:-webkit-autofill:hover { -webkit-text-fill-color: var(--k-ink); caret-color: var(--k-ink); -webkit-box-shadow: 0 0 0 1000px #fff inset; box-shadow: 0 0 0 1000px #fff inset; transition: background-color 9999s ease-out 0s; }
.site-v2 .field:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(35, 104, 158, .15); box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(35, 104, 158, .15); border-color: var(--k-blue); }
.site-v2 .field:autofill { color: var(--k-ink); box-shadow: 0 0 0 1000px #fff inset; }
.site-v2 .field:autofill:focus { box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(35, 104, 158, .15); }
