/* =========================================================
   Logic Labs — main stylesheet
   Lightweight, dependency-free. Steel + forge-orange accent, dark hero/header.
   ========================================================= */

/* Mulish variable (latin) — self-hosted, from Google Fonts */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/mulish-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #cb4f10;
  --blue-600: #b63f0c;
  --blue-700: #9b2f08;
  --navy: #1c1612;
  --navy-2: #2f241d;
  --ink: #221e1b;
  --body: #5e5550;
  --muted: #766b65;
  --line: #ede7e3;
  --bg: #ffffff;
  --bg-alt: #faf7f5;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(34, 30, 27, .06), 0 1px 2px rgba(34, 30, 27, .04);
  --shadow: 0 10px 30px rgba(28, 22, 18, .08);
  --shadow-lg: 0 24px 60px rgba(28, 22, 18, .14);
  --container: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(203, 79, 16, .55); outline-offset: 2px; border-radius: 4px; }

/* ---------- Custom scrollbar ---------- */
/* Firefox */
html { scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
/* WebKit / Chromium */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #f5f0ec; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f57a3d, var(--blue-700));
  border: 3px solid #f5f0ec;            /* inset look — thumb appears slimmer & floating */
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--blue), var(--blue-700)); }
::-webkit-scrollbar-thumb:active { background: var(--blue-700); }
::-webkit-scrollbar-corner { background: transparent; }

/* Scroll-progress indicator (filled as you scroll) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #f57a3d, var(--blue), #fcc29c);
  box-shadow: 0 0 10px rgba(203, 79, 16, .6);
  will-change: transform; pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(203, 79, 16, .28); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(203, 79, 16, .36); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 180px; height: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .96rem;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav-link.active { color: #fff; }
.nav-cta { margin-left: 8px; }

/* ---------- Products dropdown ---------- */
.nav-item.has-dropdown { position: relative; }
/* Caret on the trigger (only once JS has wired the menu up) */
.has-dropdown.dropdown-ready > .nav-link { display: inline-flex; align-items: center; gap: 7px; }
.has-dropdown.dropdown-ready > .nav-link::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  position: relative; top: -2px; transform: rotate(45deg); transition: transform .25s var(--ease); opacity: .8;
}
.has-dropdown:hover.dropdown-ready > .nav-link::after,
.has-dropdown:focus-within.dropdown-ready > .nav-link::after { transform: rotate(-135deg); top: 1px; }

.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; padding: 8px; margin: 0; list-style: none; z-index: 120;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* Hover-bridge so the menu doesn't close in the gap between trigger and panel */
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 10px;
  color: var(--ink); transition: background .18s, color .18s;
}
.dropdown-link:hover, .dropdown-link:focus-visible { background: var(--bg-alt); color: var(--ink); }
.dropdown-link[aria-current="page"] { background: rgba(203, 79, 16, .08); }
.dropdown-name { font-weight: 700; font-size: .98rem; }
.dropdown-tag { font-size: .8rem; color: var(--muted); font-weight: 600; }
/* Wider two-column variant for long menus (e.g. Services), left-anchored */
.dropdown-menu--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 520px; left: 0; transform: translateX(0) translateY(8px); }
.has-dropdown:hover .dropdown-menu--2col,
.has-dropdown:focus-within .dropdown-menu--2col { transform: translateX(0) translateY(0); }

/* scrolled state */
.header.scrolled { background: rgba(28, 22, 18, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .22); height: 66px; }

/* mobile toggle */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2.5px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  /* Fill the viewport on load so only the hero is visible before scrolling */
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #46270f 100%);
}
.hero-inner { width: 100%; }
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; user-select: none;
}
/* Dark + cool-blue scrim so white copy stays legible over the video */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(160deg, rgba(28, 22, 18, .82) 0%, rgba(28, 22, 18, .6) 55%, rgba(70, 39, 15, .68) 100%),
    rgba(0, 0, 0, .45);
}
.hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 620px; height: 620px; right: -160px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 79, 16, .42), transparent 65%);
  filter: blur(8px);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #faac80; background: rgba(203, 79, 16, .12); border: 1px solid rgba(203, 79, 16, .35);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .grad { background: linear-gradient(90deg, #f89762, #fcc29c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: rgba(255, 255, 255, .82); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }

.develop { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px; }
.develop-label { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.develop-list { display: flex; flex-wrap: wrap; gap: 12px; }
.develop-list li {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  padding: 11px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #fff;
  transition: background .2s, transform .2s;
}
.develop-list li:hover { background: rgba(203, 79, 16, .18); transform: translateY(-2px); }
.develop-list svg { width: 20px; height: 20px; fill: none; stroke: #faac80; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; color: var(--blue); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 54px; padding-bottom: 54px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: rgba(255, 255, 255, .68); font-weight: 600; font-size: .95rem; }

/* ---------- Featured in (press marquee) ---------- */
.featured { padding: 40px 0 8px; background: var(--bg); overflow: hidden; }
.featured-label {
  text-align: center; text-transform: uppercase; letter-spacing: .16em;
  font-size: .8rem; font-weight: 800; color: var(--muted); margin-bottom: 26px;
}
.marquee {
  position: relative; display: flex; width: max-content;
  /* Translate exactly one track's width for a seamless wrap (two tracks = -50%). */
  animation: marquee 32s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
/* Soft fade at both edges so logos enter/exit instead of hard-cutting */
.featured { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; flex: 0 0 auto; }
.press {
  flex: 0 0 auto; width: auto; height: 46px; margin: 0 44px; object-fit: contain;
  /* All logos rendered black & white for a unified press strip. */
  filter: grayscale(1); opacity: .6; transition: opacity .25s;
}
.press:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(203, 79, 16, .4); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(203, 79, 16, .14), rgba(203, 79, 16, .06));
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
/* Clickable service cards (whole-card link via stretched anchor) */
.card--link { position: relative; }
.card--link .card-stretch { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card--link:hover h3 { color: var(--blue-700); }
.card--link:focus-within { border-color: rgba(203, 79, 16, .45); box-shadow: var(--shadow-lg); }

/* ---------- AI section (dark feature band) ---------- */
.ai {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 80% -10%, #572e19 0%, var(--navy) 55%, #120b08 100%);
  color: #fff;
}
.ai .section-head h2 { color: #fff; }
.ai .section-head p { color: rgba(255, 255, 255, .72); }

/* Bento grid: 4 cols, with two tiles spanning 2 cols on a diagonal. */
.ai-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ai-tile {
  position: relative; overflow: hidden;
  grid-column: span 1;
  /* Centre content so stretched-row tiles split spare height evenly (no bottom gap). */
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.ai-tile--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 22px; }
.ai-tile--wide .ai-tile-body { min-width: 0; }
/* Gradient accent that lights up on hover */
.ai-tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(90% 120% at 100% 0%, rgba(203, 79, 16, .28), transparent 60%);
  transition: opacity .35s;
}
.ai-tile:hover { transform: translateY(-5px); border-color: rgba(203, 79, 16, .55); background: rgba(255, 255, 255, .06); }
.ai-tile:hover::before { opacity: 1; }
.ai-num {
  position: absolute; top: 18px; right: 22px; z-index: 1;
  font-size: 1.1rem; font-weight: 800; letter-spacing: .04em;
  color: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums;
}
.ai-tile-icon {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(203, 79, 16, .32), rgba(203, 79, 16, .08));
  border: 1px solid rgba(127, 194, 255, .25);
}
.ai-tile-icon svg { width: 26px; height: 26px; fill: none; stroke: #fcc29c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-tile h3 { position: relative; z-index: 1; color: #fff; margin-bottom: 9px; font-size: 1.15rem; }
.ai-tile p { position: relative; z-index: 1; color: rgba(255, 255, 255, .68); font-size: .96rem; margin: 0; }
.ai-tile--wide h3 { font-size: 1.32rem; }
.ai-tile--wide .ai-tile-icon { margin-bottom: 0; }

@media (max-width: 900px) {
  .ai-bento { grid-template-columns: repeat(2, 1fr); }
  .ai-tile, .ai-tile--wide { grid-column: span 2; }
  .ai-tile:not(.ai-tile--wide) { grid-column: span 1; }
}

/* ---------- AI models (dual opposing logo marquee) ---------- */
.logo-marquee {
  display: grid; gap: 20px; margin-top: 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-row { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.logo-row.reverse { animation-direction: reverse; }
.logo-row:hover { animation-play-state: paused; }
.logo-track { display: flex; flex: 0 0 auto; }
.ai-logo {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px;
  margin: 0 9px; padding: 13px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.ai-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(203, 79, 16, .4); }
.ai-logo img { height: 26px; width: auto; display: block; }
.ai-logo span { font-weight: 700; font-size: .98rem; color: var(--navy); white-space: nowrap; }
@media (max-width: 560px) {
  .ai-logo { padding: 11px 18px; gap: 9px; }
  .ai-logo img { height: 22px; }
  .ai-logo span { font-size: .9rem; }
}

/* ---------- Product / case-study pages ---------- */
.product-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: radial-gradient(120% 100% at 85% -10%, #572e19 0%, var(--navy) 55%, #120b08 100%);
}
.back-link { display: inline-block; color: rgba(255, 255, 255, .7); font-weight: 600; margin-bottom: 26px; }
.back-link:hover { color: #fff; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.product-hero-copy h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4rem); margin: 0 0 18px; }
.product-hero .grad { background: linear-gradient(90deg, #f89762, #fcc29c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-tagline { font-size: 1.25rem; font-weight: 600; color: #fff; margin: 0 0 16px; }
.product-hero .lead { font-size: 1.06rem; color: rgba(255, 255, 255, .78); margin: 0 0 30px; }
.product-hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .12); }

/* Product-page screenshots — show the WHOLE image at its natural ratio
   (no 16:10 cover-crop, which off-centred the sparse card shots).
   Overrides the homepage-specific [src*="drawpost"] left-crop rule above. */
.feature-media img[src*="/drawpost/"],
.feature-media img[src*="/postermaker/"] { aspect-ratio: auto; object-fit: contain; object-position: center; }

.prose { max-width: 760px; margin: 0 auto; text-align: center; }
.prose h2 { margin: 12px 0 16px; }
.prose p { color: var(--muted); font-size: 1.1rem; }

/* How-it-works steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 24px; box-shadow: var(--shadow-sm); }
.step-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px; }
.step-shot img { width: 100%; height: auto; display: block; }
.step-num { display: inline-block; font-size: 1.4rem; font-weight: 900; color: var(--blue); margin: 0 14px 6px; font-variant-numeric: tabular-nums; }
.step h3 { margin: 0 14px 8px; font-size: 1.15rem; }
.step p { margin: 0 14px; color: var(--muted); font-size: .96rem; }

/* Compact, text-only step row (no screenshots) — fits 4 or 5 steps neatly */
.steps-compact { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps-compact .step { padding: 26px 22px; }
.steps-compact .step-num,
.steps-compact .step h3,
.steps-compact .step p { margin-left: 0; margin-right: 0; }
@media (max-width: 620px) { .steps-compact { grid-template-columns: 1fr; } }

/* Two-up card grid */
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }

/* Industries — light, scannable chips (icon + name) */
.ind-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.ind-chip {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s, color .2s;
}
.ind-chip svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.ind-chip:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue-700); box-shadow: var(--shadow); }

/* Who we build for — horizontal cards (icon on the left) */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.who-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.who-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(203, 79, 16, .35); }
.who-icon {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-700)); box-shadow: 0 8px 20px rgba(203, 79, 16, .3);
}
.who-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.who-body { min-width: 0; }
.who-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.who-body p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Process journey ---------- */
.journey { position: relative; padding-top: 8px; }
.journey-steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
/* Connecting track through the node centres (pure CSS — always visible) */
.journey-steps::before {
  content: ""; position: absolute; z-index: 0; top: 35px; left: 8.33%; right: 8.33%; height: 3px; transform: translateY(-50%);
  background: linear-gradient(90deg, #f57a3d, var(--blue-700)); border-radius: 999px;
}
.jstep { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.jnode {
  position: relative; width: 70px; height: 70px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, #f57a3d, var(--blue-700));
  box-shadow: 0 10px 24px rgba(203, 79, 16, .35); border: 4px solid var(--bg-alt);
}
.jnode svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jnum {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--blue-700);
  font-weight: 800; font-size: .8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.jbody { max-width: 230px; }
.jbody h3 { font-size: 1.1rem; margin-bottom: 7px; }
.jbody p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Mobile: vertical timeline */
@media (max-width: 760px) {
  .journey-steps { grid-template-columns: 1fr; gap: 0; }
  .journey-steps::before {
    top: 18px; bottom: 18px; left: 27px; right: auto; width: 3px; height: auto; transform: none;
    background: linear-gradient(180deg, #f57a3d, var(--blue-700));
  }
  .jstep { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; padding: 14px 0; }
  .jnode { width: 54px; height: 54px; margin-bottom: 0; }
  .jnode svg { width: 24px; height: 24px; }
  .jbody { max-width: none; padding-top: 4px; }
}

/* Generated-content gallery */
.post-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.post-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.post-shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-shot img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .post-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .post-gallery { grid-template-columns: repeat(2, 1fr); } }

/* Platform list */
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.platforms li {
  display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 26px; box-shadow: var(--shadow-sm);
}
.platforms strong { color: var(--navy); font-size: 1.05rem; }
.platforms span { color: var(--muted); font-size: .85rem; }

/* Tech stack (sits inside the dark .ai section) */
.tech-flow {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
  margin: 0 auto 48px; max-width: 880px;
}
.tech-flow span {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .92rem;
}
.tech-flow i { color: #faac80; font-style: normal; font-weight: 700; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.tech-group { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px 22px; }
.tech-group h3 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.tech-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags li { background: rgba(203, 79, 16, .16); border: 1px solid rgba(127, 194, 255, .25); color: #fbd8c2; border-radius: 8px; padding: 5px 11px; font-size: .85rem; font-weight: 600; }
.tech-models { text-align: center; }
.tech-models h3 { color: #fff; margin: 0 0 18px; }
.model-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tech-models .ai-logo { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; cursor: default; }
.tech-models .ai-logo:hover { transform: none; }
.tech-models .ai-logo span { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .9rem; }
.tech-note { color: rgba(255, 255, 255, .6); font-size: .92rem; max-width: 640px; margin: 22px auto 0; }
.tech-tags--center { justify-content: center; max-width: 760px; margin: 0 auto; }

/* Service-page hero icon panel (used instead of a screenshot) */
.service-ico-panel {
  aspect-ratio: 16 / 11; display: grid; place-items: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.service-ico-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 70% 20%, rgba(203, 79, 16, .35), transparent 70%); pointer-events: none;
}
.service-ico-panel svg { position: relative; width: 38%; height: auto; fill: none; stroke: #fcc29c; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-flow i { display: none; }
}
@media (max-width: 560px) {
  .ai-bento { grid-template-columns: 1fr; }
  .ai-tile, .ai-tile--wide { grid-column: span 1; }
  .ai-tile--wide { flex-direction: column; gap: 0; }
  .ai-tile--wide .ai-tile-icon { margin-bottom: 18px; }
}

/* ---------- Featured products ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature-body { min-width: 0; }
.feature-reverse .feature-media { order: 2; }

/* Media sits in a tinted "stage" frame with a soft glow for depth */
.feature-media {
  position: relative; border-radius: 22px; padding: clamp(16px, 2.4vw, 30px);
  background: linear-gradient(150deg, rgba(203, 79, 16, .12), rgba(28, 22, 18, .05));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.feature-media::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 70%; height: 90%;
  background: radial-gradient(circle, rgba(203, 79, 16, .35), transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.feature:hover .feature-media { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; display: block;
  border-radius: 12px; box-shadow: 0 18px 44px rgba(28, 22, 18, .26); border: 1px solid rgba(255, 255, 255, .6);
  transition: transform .4s var(--ease);
}
.feature:hover .feature-media img { transform: scale(1.015); }
/* DrawPost is wider than the box — show its left side (nav + first columns) instead of centre-cropping both edges */
.feature-media img[src*="drawpost"] { object-position: left center; }

.feature-body .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(203, 79, 16, .1); color: var(--blue-700); border: 1px solid rgba(203, 79, 16, .22);
  font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.feature-body .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(203, 79, 16, .18); }
.feature-body h3 { font-size: 2rem; margin-bottom: 14px; }
.feature-body p { color: var(--muted); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--blue-700); font-weight: 700; font-size: .95rem;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.link-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(203, 79, 16, .3); }

/* ---------- More work (understated secondary strip) ---------- */
.more-work { margin-top: 64px; }
/* Centred label with a hairline rule on each side */
.more-work-label { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; color: var(--muted); }
.more-work-label::before, .more-work-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.more-work-label span { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mw {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.mw:hover { transform: translateY(-3px); border-color: rgba(203, 79, 16, .4); box-shadow: var(--shadow-sm); }
.mw-thumb { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 11px; overflow: hidden; background: var(--bg-alt); }
.mw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mw-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mw-text strong { color: var(--ink); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-text span { color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.why-copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 24px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-list li { display: flex; gap: 14px; }
.why-list svg { flex: 0 0 auto; width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; padding: 4px; background: rgba(203, 79, 16, .1); border-radius: 8px; box-sizing: content-box; }
.why-list h3 { margin: 0 0 4px; font-size: 1.06rem; }
.why-list p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, #9b2f08 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, .9); margin: 0; }

/* ---------- Testimonials (slider) ---------- */
.testimonials {
  background: radial-gradient(120% 90% at 15% -10%, #572e19 0%, var(--navy) 55%, #120b08 100%);
  color: #fff; overflow: hidden;
}
/* Heading row with the nav arrows on the right */
.section-head-row {
  max-width: none; text-align: left; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px;
}
.section-head-row h2 { color: #fff; margin-bottom: 8px; }
.section-head-row p { color: rgba(255, 255, 255, .72); margin: 0; }
.tcar-nav { display: flex; gap: 12px; flex: 0 0 auto; }
.tcar-btn {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background .2s, border-color .2s, transform .2s var(--ease), opacity .2s;
}
.tcar-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tcar-btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.tcar-btn:disabled { opacity: .35; cursor: default; transform: none; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }

/* The track: horizontal scroll-snap (native swipe on touch) */
.tcar {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px; margin: 0 -4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.tcar::-webkit-scrollbar { display: none; }
.tcar:focus-visible { outline: 2px solid rgba(127, 194, 255, .6); outline-offset: 4px; border-radius: 18px; }
.tcard {
  flex: 0 0 calc(50% - 12px); scroll-snap-align: start; min-width: 0;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px; padding: 32px 30px; display: flex; flex-direction: column; gap: 16px;
}
.tcard-stars { color: #ffc24b; letter-spacing: 3px; font-size: 1.05rem; }
.tcard blockquote {
  margin: 0; font-size: 1.12rem; line-height: 1.6; color: #fff; flex: 1;
  quotes: "\201C" "\201D";
}
.tcard blockquote::before { content: open-quote; color: #faac80; font-size: 1.4em; margin-right: 2px; vertical-align: -.15em; }
.tcard blockquote::after { content: close-quote; color: #faac80; font-size: 1.4em; margin-left: 1px; vertical-align: -.15em; }
.tperson { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.tavatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-weight: 800; font-size: .92rem; color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, #f57a3d, var(--blue-700));
}
.tmeta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.tmeta strong { color: #fff; font-size: 1rem; }
.tmeta span { color: rgba(255, 255, 255, .6); font-size: .88rem; }

/* Dots */
.tcar-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.tcar-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .25); transition: width .25s var(--ease), background .25s;
}
.tcar-dots button[aria-selected="true"] { width: 28px; background: var(--blue); }

@media (max-width: 760px) {
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .tcard { flex-basis: 100%; padding: 28px 24px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(203, 79, 16, .4); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--blue); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-700); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: .98rem; }
.faq-answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 28px; align-items: stretch; }
.contact-info, .contact-form { min-width: 0; max-width: 100%; }

/* Info panel — dark, with a soft glow for depth */
.contact-info {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 110% -10%, #572e19 0%, var(--navy) 55%, #120b08 100%);
  color: #fff; border-radius: 20px; padding: 40px 36px;
}
.contact-info::before {
  content: ""; position: absolute; top: -30%; right: -20%; width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(203, 79, 16, .3), transparent 65%); filter: blur(10px); pointer-events: none;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; color: #faac80; margin-bottom: 12px; }
.contact-info-head h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.contact-info-head p { color: rgba(255, 255, 255, .74); font-size: .98rem; margin: 0 0 30px; }

.info-list { display: flex; flex-direction: column; gap: 20px; margin: 0 0 26px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; }
.info-item > div { min-width: 0; }
.info-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(203, 79, 16, .18); border: 1px solid rgba(127, 194, 255, .25);
}
.info-icon svg { width: 21px; height: 21px; fill: none; stroke: #fcc29c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-item h4 { color: #fff; font-size: 1rem; margin-bottom: 3px; }
.info-item p, .info-item address { color: rgba(255, 255, 255, .78); margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.info-item a { color: #fcc29c; overflow-wrap: anywhere; }
.info-item a:hover { color: #fff; }

.contact-availability {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin: 0 0 24px;
  font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 15px;
}
.contact-availability .dot { width: 9px; height: 9px; border-radius: 50%; background: #38d39f; box-shadow: 0 0 0 4px rgba(56, 211, 159, .22); }

.social-links { display: flex; gap: 12px; margin-top: auto; }
.social-links a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s;
}
.social-links a:hover { background: var(--blue); transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Form card */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 38px 34px; box-shadow: var(--shadow); }
.form-title { font-size: 1.3rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fefdfc; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #8f8580; }
.field input:hover, .field textarea:hover { border-color: #ddd5cf; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(203, 79, 16, .14); }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn-block { width: 100%; }
.form-status { font-weight: 600; font-size: .95rem; margin-bottom: 14px; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status.show { display: block; }
.form-status.ok { background: #e8f8ee; color: #1a7d44; border: 1px solid #bfe9cf; }
.form-status.err { background: #fdeaea; color: #b42525; border: 1px solid #f3c9c9; }
.form-note { text-align: center; color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.contact-form button[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 180px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { font-size: .95rem; overflow-wrap: anywhere; }
.footer-contact a { color: #fcc29c; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 24px; text-align: center; }
.footer-bottom p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .55); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(203, 79, 16, .4);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-600); color: #fff; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Hero entrance is CSS-only AND transform-only: the LCP headline paints at full
   opacity from the first frame (counts for LCP immediately) and just slides up.
   transform doesn't affect layout, so CLS stays 0. */
@keyframes heroIn { from { transform: translateY(28px); } to { transform: none; } }
/* Both the home hero and the subpage hero (.product-hero) animate on LOAD via CSS,
   so above-the-fold hero content is never gated behind a scroll trigger. */
#hero .reveal, .product-hero .reveal { opacity: 1; animation: heroIn .6s var(--ease) both; transition: none; }
#hero .hero-copy > .reveal:nth-child(1),
.product-hero .product-hero-copy > .reveal:nth-child(1) { animation-delay: .05s; }
#hero .hero-copy > .reveal:nth-child(2),
.product-hero .product-hero-copy > .reveal:nth-child(2) { animation-delay: .17s; }
#hero .hero-copy > .reveal:nth-child(3),
.product-hero .product-hero-copy > .reveal:nth-child(3) { animation-delay: .29s; }
#hero .hero-copy > .reveal:nth-child(4),
.product-hero .product-hero-copy > .reveal:nth-child(4) { animation-delay: .41s; }
#hero .hero-copy > .reveal:nth-child(5),
.product-hero .product-hero-copy > .reveal:nth-child(5) { animation-delay: .53s; }

/* ---------- Legal pages ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: calc(var(--header-h) + 56px) 0 48px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: rgba(255, 255, 255, .7); margin: 10px 0 0; }
.legal { padding: 64px 0 84px; }
/* Hero title and body use the same full container width as the header */
.legal h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.legal h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.legal p, .legal li { color: var(--body); }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1rem; }
.legal li { margin-bottom: .4rem; }
.legal section { margin-bottom: 1.5rem; }
.legal .contact-box { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 20px 24px; margin-top: 1rem; }
.legal .contact-box p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .cards, .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .why-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(85vw, 360px);
    background: var(--navy); padding: calc(var(--header-h) + 6px) 16px 28px;
    transform: translateX(100%); transition: transform .35s var(--ease), box-shadow .35s;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  /* Shadow only while open — otherwise the off-screen panel's left-pointing
     shadow bleeds back onto the page's right edge. */
  .nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, .35); }
  /* The scrolled header's backdrop-filter makes it a containing block for the
     fixed nav panel, clipping it to header height. Drop the blur while the menu
     is open so the panel fills the full viewport. */
  body.nav-open .header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 14px 14px; border-radius: 12px; font-size: 1.05rem; font-weight: 600; }
  .nav-cta { margin: 16px 2px 0; text-align: center; padding: 15px; }

  /* Dropdown becomes an inline accordion inside the slide-out menu */
  .nav-item.has-dropdown { position: static; }
  .dropdown-menu {
    position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; box-shadow: none; border: 0; border-left: 2px solid rgba(255, 255, 255, .14);
    margin: 2px 0 8px 18px; padding: 2px 0;
    /* Large cap so long menus (Services has 9) aren't clipped — the panel scrolls. */
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  /* Neutralise the desktop hover/focus transform (higher specificity) on touch */
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu { transform: none; }
  .has-dropdown.open .dropdown-menu { max-height: 760px; }
  .has-dropdown.open > .nav-link::after { transform: rotate(-135deg); top: 1px; }
  /* Long two-column menu collapses to a single accordion column on mobile */
  .dropdown-menu--2col { display: block; min-width: 0; }
  /* Compact single-line items (category tags hidden on mobile to save height) */
  .dropdown-link { padding: 10px 14px; border-radius: 8px; color: rgba(255, 255, 255, .78); }
  .dropdown-link:hover, .dropdown-link:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }
  .dropdown-link[aria-current="page"] { background: rgba(203, 79, 16, .2); color: #fff; }
  .dropdown-name { font-size: .96rem; font-weight: 600; }
  .dropdown-tag { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .cards, .more-grid, .why-list, .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cta-inner { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, #hero .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  * { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  /* Decorative logo marquees are intentionally exempt — they must keep looping. */
  .marquee { animation-duration: 32s !important; }
  .logo-row { animation-duration: 46s !important; }
}
