/* =========================================================================
   Dreams Consultancy — Option 4: Corporate (navy & gold)
   The original brand colours, set in a confident global-consultancy layout:
   dark immersive hero, large bold sans headlines, content tiles, full-bleed
   feature band, leadership quote, logo ribbon. No inline styles (strict CSP).
   ========================================================================= */

:root {
  --navy-950: #04121a;
  --navy-900: #071c27;
  --navy-800: #0b2a3a;
  --navy-700: #12394d;
  --gold: #d9ad55;
  --gold-light: #f2d99d;
  --gold-deep: #8a6420;
  --ink: #0f1d25;
  --ink-2: #33444c;
  --muted: #55666e;
  --line: #dce3e3;
  --mist: #f2f5f4;
  --white: #ffffff;
  --on-dark: #c9d5d8;
  --on-dark-2: #9fb1b7;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 4.75rem);
  --step-5: clamp(3rem, 1.6rem + 6.4vw, 7.5rem);

  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 4rem); }
body { margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-light); color: var(--navy-900); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: fixed; z-index: 200; top: 0.75rem; left: 0.75rem; padding: 0.7rem 1rem; background: var(--gold); color: var(--navy-900); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--gold); }
.eyebrow.dark { color: var(--gold-deep); }

.ico { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.3s var(--ease); }

/* Buttons and links ------------------------------------------------------ */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.85rem 1.5rem; border: 0; border-radius: 2px; font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.button:hover .ico, .link:hover::after, .tile a:hover .ico { transform: translateX(4px); }
.button.gold { background: var(--gold); color: var(--navy-900); }
.button.gold:hover { background: var(--gold-light); box-shadow: 0 14px 30px -12px rgb(217 173 85 / 60%); }
.button.navy { background: var(--navy-900); color: var(--white); }
.button.navy:hover { background: var(--navy-700); }
.button.small { min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: 0.88rem; }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.7; cursor: progress; }

.link { display: inline-flex; align-items: center; gap: 0.55rem; padding-bottom: 0.2rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--navy-800); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.link::after { content: "→"; transition: transform 0.3s var(--ease); }
.link:hover { color: var(--gold-deep); }
.link.light { color: var(--white); }
.link.light:hover { color: var(--gold-light); }

/* Header ----------------------------------------------------------------- */
.header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--white); transition: background 0.35s, box-shadow 0.35s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(7 28 39 / 0%); backdrop-filter: blur(0); transition: background 0.35s, backdrop-filter 0.35s; }
.header.is-scrolled::before, .nav-open .header::before { background: rgb(7 28 39 / 94%); backdrop-filter: blur(14px); }
.header.is-scrolled { box-shadow: 0 1px 0 rgb(255 255 255 / 8%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: inherit; }
.brand-logo { width: 3rem; height: 3rem; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgb(255 255 255 / 22%), 0 8px 20px -8px rgb(0 0 0 / 60%); }
.brand-text { display: grid; line-height: 1; }
.brand-text .name { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-text .sub { margin-top: 0.3rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); }
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { position: relative; padding-block: 0.5rem; font-size: 0.95rem; font-weight: 500; text-decoration: none; color: #e2eaec; transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--white); }

.nav-toggle { display: none; position: relative; width: 2.85rem; height: 2.85rem; border: 1px solid rgb(255 255 255 / 30%); border-radius: 2px; background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle span { position: absolute; left: 0.8rem; right: 0.8rem; height: 2px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.nav-toggle span:first-child { top: 1.05rem; }
.nav-toggle span:last-child { top: 1.6rem; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 1.33rem; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 1.33rem; transform: rotate(-45deg); }

.mobile-nav { position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem; background: var(--navy-900); color: var(--white); visibility: hidden; opacity: 0; transform: translateY(-1rem); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s; }
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-nav ul a { display: block; padding: 1rem 0; border-bottom: 1px solid rgb(255 255 255 / 12%); font-family: var(--display); font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.mobile-nav ul a[aria-current="page"] { color: var(--gold-light); }
.mobile-nav .meta { display: grid; gap: 0.6rem; color: var(--on-dark); font-size: 0.95rem; }
.mobile-nav .meta a { text-decoration: none; }
.nav-open body { overflow: hidden; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(100svh, 60rem); padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 6vw, 5rem); background: var(--navy-950); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../images/brand/hero-home.jpg") center / cover no-repeat; opacity: 0.38; transform: scale(1.06); animation: hero-drift 18s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(60rem 40rem at 85% 10%, rgb(217 173 85 / 18%), transparent 60%),
    linear-gradient(180deg, rgb(4 18 26 / 55%) 0%, rgb(4 18 26 / 35%) 40%, rgb(4 18 26 / 95%) 100%),
    linear-gradient(90deg, rgb(4 18 26 / 85%) 0%, rgb(4 18 26 / 20%) 70%); }
@keyframes hero-drift { from { transform: scale(1.14); } to { transform: scale(1.04); } }
.hero-inner { width: min(100% - 2 * var(--gutter), var(--max)); }
.hero h1 { font-size: var(--step-5); font-weight: 700; line-height: 0.95; letter-spacing: -0.045em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; }
.hero h1 .accent { color: var(--gold); }
.js .hero h1 .line > span { animation: rise 1.1s var(--ease) both; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.sectors { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.sectors li { display: inline-flex; align-items: center; gap: 0.9rem; }
.sectors li + li::before { content: ""; width: 4px; height: 4px; background: var(--gold); }
.hero-card { max-width: 30rem; }
.hero-card .rule { display: block; width: 3.5rem; height: 3px; margin-bottom: 1.25rem; background: var(--gold); }
.hero-card p { font-size: var(--step-1); line-height: 1.5; color: #e4ecee; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; }

/* Stats ------------------------------------------------------------------ */
.stats { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { display: grid; gap: 0.6rem; align-content: start; padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { position: relative; font-family: var(--display); font-size: var(--step-4); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stats strong.word { font-size: var(--step-3); padding-top: 0.25em; white-space: nowrap; }
.stats span { max-width: 22ch; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section.dark { background: var(--navy-900); color: var(--white); }
.section.mist { background: var(--mist); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 16ch; font-size: var(--step-4); }
.section-head > p { max-width: 26rem; color: var(--muted); }
.dark .section-head > p { color: var(--on-dark); }

/* Service tiles ---------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.tile a { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 22rem; padding: clamp(1.5rem, 2.5vw, 2rem); text-decoration: none; background: var(--navy-800); color: var(--white); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.tile a::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.tile a:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgb(0 0 0 / 70%); }
.tile a:hover::before { transform: scaleX(1); }
.tile-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.tile h3 { margin-top: auto; padding-top: 4rem; font-size: var(--step-2); }
.tile p { margin-top: 0.85rem; font-size: 0.95rem; line-height: 1.6; color: var(--on-dark); }
.tile-go { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / 14%); font-size: 0.9rem; font-weight: 600; }
/* Photo tiles: each service has its own darkened photograph */
.tile a { background-color: var(--navy-950); }
.tile a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(4 18 26 / 25%) 0%, rgb(4 18 26 / 50%) 40%, rgb(4 18 26 / 88%) 100%), var(--tile-img, none) center / cover no-repeat; transition: transform 0.9s var(--ease); }
.tile a:hover::after { transform: scale(1.06); }
.tile-1 { --tile-img: url("../images/tiles/office.jpg"); }
.tile-2 { --tile-img: url("../images/tiles/building-1.jpg"); }
.tile-3 { --tile-img: url("../images/tiles/keyboard.jpg"); }
.tile-4 { --tile-img: url("../images/tiles/building-3.jpg"); }
.tile-5 { --tile-img: url("../images/tiles/carbon-fibre.jpg"); }
.tile-label { color: var(--white); opacity: 0.85; }
.tile-go { border-top-color: rgb(255 255 255 / 18%); }
/* All-services tile: outlined, with a faint network graphic */
.tile-all { --tile-img: url("../images/tiles/network.jpg"); }
.tile-all a { background-color: transparent; border: 1px solid rgb(255 255 255 / 22%); }
.tile-all a::after { opacity: 0.35; transition: transform 0.9s var(--ease), opacity 0.5s var(--ease); }
.tile-all a:hover::after { opacity: 0.7; }

/* About ------------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.about-mark { position: relative; }
.about-mark img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 40px 70px -40px rgb(7 28 39 / 70%); }
.about-badge { position: absolute; right: clamp(-1.5rem, -2vw, -0.5rem); bottom: clamp(1rem, 3vw, 2rem); display: grid; gap: 0.35rem; width: 11.5rem; padding: 1.25rem 1.35rem; border-left: 3px solid var(--gold); background: var(--white); box-shadow: 0 20px 40px -20px rgb(7 28 39 / 40%); }
.about-badge strong { font-family: var(--display); font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--navy-900); }
.about-badge span { font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.about-copy h2 { max-width: 14ch; font-size: var(--step-4); }
.about-copy .lead { margin-top: 2rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.about-copy p:not(.lead):not(.eyebrow) { margin-top: 1.25rem; color: var(--ink-2); max-width: 60ch; }
.about-copy .link { margin-top: 2rem; }

/* Feature band ----------------------------------------------------------- */
.feature { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-800); color: var(--white); }
.feature-media { position: absolute; inset: 0 0 0 45%; z-index: -1; display: grid; place-items: center; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, #000 35%); }
.orbit { width: min(42rem, 110%); height: auto; }
.orbit-rings { transform-origin: 300px 300px; animation: orbit 60s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.feature-inner { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.feature-copy { max-width: 36rem; }
.feature-copy h2 { font-size: var(--step-4); }
.feature-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 2.5rem 0; border-top: 1px solid rgb(255 255 255 / 16%); }
.feature-steps li { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgb(255 255 255 / 16%); font-family: var(--display); font-size: var(--step-1); font-weight: 600; }
.feature-steps li:nth-child(odd) { padding-right: 1rem; }
.feature-steps span { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }

/* Leadership ------------------------------------------------------------- */
.leader-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 68rem; }
.leader-photo { margin: 0; }
.leader-photo img { width: clamp(8rem, 16vw, 14rem); aspect-ratio: 1; object-fit: cover; border-radius: 6px; filter: saturate(0.9); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line); }
.leader blockquote { margin: 0; }
.leader blockquote p { font-family: var(--display); font-size: var(--step-2); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--navy-900); }
.byline { display: grid; gap: 0.15rem; margin-top: 1.75rem; font-size: 0.95rem; }
.byline span { color: var(--muted); }

/* Logo ribbon ------------------------------------------------------------ */
.logo-ribbon { overflow: hidden; padding-block: 0.75rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-ribbon:focus-visible { outline-offset: -3px; }
.logo-track { display: flex; width: max-content; animation: ribbon 70s linear infinite; }
.logo-ribbon:hover .logo-track, .logo-ribbon:focus-within .logo-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; }
.logo-set li { display: grid; place-items: center; min-width: 11.5rem; height: 7rem; padding: 0 2rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); transition: border-color 0.3s, transform 0.3s var(--ease); }
.logo-set li:hover { border-color: var(--gold); transform: translateY(-3px); }
.logo-set img { width: auto; max-width: 9rem; height: 3rem; object-fit: contain; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* CTA -------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: radial-gradient(50rem 30rem at 90% 0%, rgb(217 173 85 / 22%), transparent 60%), var(--navy-900); color: var(--white); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem 4rem; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.cta h2 { max-width: 18ch; font-size: var(--step-4); }
.cta h2 span, .page-hero h1 span, .notfound h1 span { color: var(--gold); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; flex: none; }

/* Inner page hero -------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 6rem); background: radial-gradient(50rem 32rem at 88% 0%, rgb(217 173 85 / 17%), transparent 60%), var(--navy-900); color: var(--white); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.contact-hero::after { content: ""; position: absolute; inset: 0 0 0 55%; z-index: -2; background: url("../images/brand/hero-home.jpg") center / cover; opacity: 0.25; mask-image: linear-gradient(90deg, transparent, #000 50%); }
.crumbs { display: flex; gap: 0.6rem; margin-bottom: 2rem; font-size: 0.85rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.page-hero-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 2rem 4rem; align-items: end; }
.page-hero h1 { font-size: var(--step-5); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; }
.page-hero-grid > p { font-size: var(--step-1); line-height: 1.5; color: var(--on-dark); }

/* Services sub-navigation ------------------------------------------------ */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: block; padding: 1.15rem 0; font-size: 0.92rem; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--navy-900); }
.subnav a.is-active::after { transform: scaleX(1); }

/* Service detail rows ---------------------------------------------------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 6rem 1.3fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.svc-n { font-family: var(--display); font-size: var(--step-3); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--gold); }
.svc h2 { font-size: var(--step-3); }
.svc-main p { margin-top: 1rem; max-width: 46ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }
.svc-inc { padding: 1.5rem 1.6rem; background: var(--mist); border-top: 3px solid var(--navy-900); }
.svc-inc h3 { margin-bottom: 1rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.svc-inc li { position: relative; padding: 0.55rem 0 0.55rem 1.4rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink); }
.svc-inc li:first-child { border-top: 0; }
.svc-inc li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.5rem; height: 0.5rem; background: var(--gold); }

/* Approach steps --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / 18%); }
.steps li { position: relative; padding: 2.25rem clamp(1rem, 2vw, 1.75rem) 2.5rem 0; }
.steps li + li { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid rgb(255 255 255 / 18%); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 3px; background: var(--gold); }
.steps li + li::before { left: clamp(1rem, 2vw, 1.75rem); }
.step-n { font-size: 0.85rem; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 3rem 0 0.75rem; font-size: var(--step-2); }
.steps p { font-size: 0.95rem; color: var(--on-dark); }

/* Contact ---------------------------------------------------------------- */
.contact-section { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-aside { padding-top: clamp(3rem, 6vw, 4.5rem); }
.contact-aside .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.contact-cards { display: grid; gap: 0.75rem; margin-top: 2.25rem; }
.contact-cards a, .contact-cards li > div { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s; }
.contact-cards a:hover { border-color: var(--gold); transform: translateX(4px); box-shadow: 0 16px 30px -22px rgb(7 28 39 / 45%); }
.contact-cards .ic { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; background: var(--navy-900); color: var(--gold); }
.contact-cards svg { width: 1.3rem; height: 1.3rem; }
.contact-cards small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-cards strong { display: block; font-weight: 600; font-size: 0.98rem; overflow-wrap: anywhere; }

.form { position: relative; z-index: 2; margin-top: clamp(-4rem, -6vw, -2.5rem); padding: clamp(1.75rem, 4vw, 3rem); background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 40px 80px -40px rgb(7 28 39 / 45%), 0 0 0 1px var(--line); }
.form-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 2rem; }
.form-head h2 { font-size: var(--step-2); }
.form-head p, .form-foot p { font-size: 0.82rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.25rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: 0.85rem 0.95rem; border: 1px solid #c5d0d1; border-radius: 2px; background: #fbfcfc; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field input { min-height: 3.1rem; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover { border-color: #9fb0b3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-800); background: var(--white); box-shadow: 0 0 0 3px rgb(217 173 85 / 35%); }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: #b3261e; background: #fff7f6; }
.consent { display: flex; align-items: flex-start; gap: 0.7rem; margin: 0.5rem 0 1.75rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--navy-900); }
.was-validated .consent input:invalid + span { color: #b3261e; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { margin-bottom: 1.5rem; padding: 0.95rem 1.1rem; border-left: 3px solid; font-size: 0.95rem; }
.form-status.is-success { border-color: #2c7a57; background: #eff8f3; color: #1f5a40; }
.form-status.is-error { border-color: #b3261e; background: #fff2f1; color: #7d241e; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.reasons li { padding: 2rem 1.75rem 2.25rem; background: var(--white); border-top: 3px solid var(--navy-900); transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s; }
.reasons li:hover { border-top-color: var(--gold); transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgb(7 28 39 / 40%); }
.reason-n { font-size: 0.85rem; font-weight: 600; color: var(--gold-deep); }
.reasons h3 { margin: 2.5rem 0 0.75rem; font-size: var(--step-2); color: var(--navy-900); }
.reasons p { color: var(--ink-2); }

/* 404 -------------------------------------------------------------------- */
.notfound { display: flex; align-items: center; min-height: 80svh; padding: calc(var(--header-h) + 4rem) 0 5rem; background: radial-gradient(50rem 30rem at 85% 10%, rgb(217 173 85 / 18%), transparent 60%), var(--navy-950); color: var(--white); }
.notfound h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; }
.notfound p:not(.eyebrow) { max-width: 40ch; margin-top: 1.75rem; font-size: var(--step-1); color: var(--on-dark); }

/* Footer ----------------------------------------------------------------- */
.footer { padding-top: clamp(4rem, 8vw, 6rem); background: var(--navy-950); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 2.5rem var(--gutter); }
.footer-intro p { max-width: 30ch; margin-top: 1.5rem; color: var(--on-dark-2); }
.footer-col h2 { margin-bottom: 1.1rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.footer-col ul { display: grid; gap: 0.65rem; font-size: 0.95rem; color: var(--on-dark); }
.footer-col a { text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.5rem 0 2rem; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.85rem; color: var(--on-dark-2); }

/* Reveal ----------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 0.1s; }
.js [data-reveal="3"] { transition-delay: 0.2s; }
.js [data-reveal="4"] { transition-delay: 0.3s; }
.js .tile[data-reveal].is-in { transition-property: opacity, transform; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .svc { grid-template-columns: 4rem 1fr; }
  .svc-inc { grid-column: 2; }
}

@media (max-width: 899px) {
  :root { --header-h: 4.25rem; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .brand-logo { width: 2.6rem; height: 2.6rem; }
  .brand-text .name { font-size: 1.25rem; }
  .hero-foot { flex-direction: column-reverse; align-items: flex-start; gap: 2.5rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .about-mark { max-width: 28rem; }
  .feature-media { inset: 0; opacity: 0.3; mask-image: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(3)::before { left: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / 18%); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .reasons { grid-template-columns: 1fr; }
  .form { margin-top: 0; }
  .contact-aside { padding-top: clamp(2.5rem, 6vw, 3.5rem); }
  .contact-hero::after { display: none; }
}

@media (max-width: 640px) {
  .hero { min-height: 88svh; }
  .hero h1, .page-hero h1, .notfound h1 { font-size: min(var(--step-5), 13vw); }
  .section-head h2, .about-copy h2, .feature-copy h2, .cta h2 { font-size: min(var(--step-4), 10vw); }
  .stats ul { grid-template-columns: 1fr; }
  .stats li, .stats li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats li:first-child { border-top: 0; }
  .tiles { grid-template-columns: 1fr; }
  .sectors { gap: 0.5rem 1.25rem; }
  .sectors li + li::before { display: none; }
  .tile a { min-height: 17rem; }
  .about-badge { right: 0.75rem; }
  .leader-grid { grid-template-columns: 1fr; }
  .feature-steps { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .svc-inc { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 18%); }
  .steps li + li::before { left: 0; }
  .steps h3 { margin-top: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .logo-set li { min-width: 9.5rem; height: 6rem; padding: 0 1.25rem; }
  .logo-set img { height: 2.5rem; max-width: 7.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .logo-track { animation: none; flex-wrap: wrap; width: auto; }
  .logo-set { flex-wrap: wrap; }
  .logo-set[aria-hidden] { display: none; }
}

@media print {
  .header, .mobile-nav, .cta, .subnav, .hero::before { display: none; }
  .hero, .page-hero, .section.dark, .footer { background: #fff; color: #000; }
}
