/* ==========================================================================
   Software Insight Pty. Ltd. — "Editorial Instrument" design system
   --------------------------------------------------------------------------
   Direction  : editorial paper × precision instrument
   Type       : Fraunces (display serif) · Sora (body) · JetBrains Mono (data)
   Palette    : warm paper + navy ink, teal hazard accent, ochre hairlines
   Signature  : numbered section rail, hairline tick rules, corner-tick frames
   Motion     : restrained — orchestrated entrance, scroll reveal, magnetic
                hover, instrument read-outs. All guarded by reduced-motion.
   ========================================================================== */

:root {
  /* surfaces */
  --paper: #f8f5ef;
  --paper-2: #f1ece2;
  --card: #fffdf9;
  --navy: #001848;
  --navy-2: #002c72;
  --navy-dark: #000b22;
  --navy-mid: #071a3f;

  /* ink */
  --ink: #141e36;
  --ink-2: #39455e;
  --muted: #5d6679;
  --muted-dark: #8d99ba;

  /* accents — two only */
  --teal: #00939a;          /* accessible accent on light surfaces */
  --teal-bright: #00c0c0;   /* logo teal, for dark surfaces */
  --teal-ink: #006a70;
  --ochre: #97682e;         /* editorial hairline accent, used sparingly */

  /* lines & shadows */
  --line: rgba(0, 24, 72, .13);
  --line-strong: rgba(0, 24, 72, .30);
  --hair: rgba(0, 24, 72, .07);
  --shadow-1: 0 1px 2px rgba(16, 30, 54, .05);
  --shadow-2: 0 14px 34px rgba(16, 30, 54, .10);
  --shadow-3: 0 26px 58px rgba(16, 30, 54, .16);
  --shadow-glow: 0 0 0 1px rgba(0, 192, 192, .35), 0 16px 40px rgba(0, 40, 90, .28);

  /* type stacks */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .22s;
  --t: .32s;
  --t-slow: .6s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font: 15px/1.68 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* engineering-paper texture: very fine dot grid, barely there */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 24, 72, .045) 1px, transparent 0);
  background-size: 26px 26px;
  counter-reset: si-sec;
}

img { border: 0; }
a { color: var(--teal-ink); text-decoration: none; }

::selection { background: var(--teal-bright); color: var(--navy); }

/* ------------------------------------------------------------------ layout */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 26px;
}
.narrow { max-width: 900px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
hr.soft { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
p { margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }

/* skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* film grain over the whole page — kills the flat "template" feel */
.grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .30;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* signature gesture 1 — the fixed measurement rail along the left edge */
.edge-rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22px;
  z-index: 6;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(to bottom,
      var(--line-strong) 0 1px, transparent 1px 12px);
  background-position: 0 0;
  background-size: 7px 12px;
  background-repeat: repeat-y;
  border-right: 1px solid var(--hair);
}
.edge-rail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 7px;
  height: 42vh;
  background: repeating-linear-gradient(to bottom,
    var(--teal) 0 1px, transparent 1px 60px);
  opacity: .5;
}

/* signature gesture 2 — scroll progress rail across the top */
.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 61;
  pointer-events: none;
  background: rgba(0, 24, 72, .08);
}
.scroll-rail span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal-bright), var(--teal));
  box-shadow: 0 0 12px rgba(0, 192, 192, .55);
}

/* --------------------------------------------------------- utility topbar */
.topbar {
  background: var(--navy-dark);
  color: var(--muted-dark);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 26px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); letter-spacing: .02em; }
.topbar-item svg { width: 13px; height: 13px; color: var(--teal-bright); flex: none; }
.topbar a { color: #c7d6f2; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------ main header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand img { height: 88px; width: auto; display: block; }
.header-side { text-align: right; }
.tagline {
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  color: var(--navy-2);
  letter-spacing: .01em;
}
.chips { display: flex; gap: 10px; margin-top: 12px; justify-content: flex-end; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 7px 13px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--navy);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.chip svg { width: 14px; height: 14px; color: var(--teal); flex: none; }
.chip:hover { border-color: var(--teal); background: #fff; text-decoration: none; }

/* --------------------------------------------------- navigation + dropdown */
.mainnav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 3px 14px rgba(0, 18, 52, .22);
  transition: box-shadow var(--t) var(--ease);
}
.mainnav.is-scrolled { box-shadow: 0 6px 22px rgba(0, 18, 52, .34); }
.mainnav ul { list-style: none; display: flex; }
.mainnav ul > li { position: relative; }
.mainnav a.top {
  display: block;
  color: #e8eefb;
  padding: 16px 17px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--body);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.mainnav a.top:hover { background: var(--navy-2); color: #fff; }
.mainnav li.active > a.top {
  background: var(--navy-2);
  box-shadow: inset 0 -3px 0 var(--teal-bright);
}
.mainnav li.has-sub > a.top::after {
  content: "\25BE";
  margin-left: 8px;
  font-size: 10px;
  color: var(--teal-bright);
  vertical-align: 1px;
}
.mainnav a.top[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal-bright); background: var(--navy-2); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 272px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  padding: 7px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.mainnav li.has-sub:hover .dropdown,
.mainnav li.has-sub.open .dropdown,
.mainnav li.has-sub:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border-left: 3px solid transparent;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.dropdown a:hover {
  background: var(--paper-2);
  border-left-color: var(--teal);
  color: var(--navy);
  text-decoration: none;
}

/* --------------------------------------------------------------- home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #001848 0%, #002c72 100%);
}
#heroFlow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; will-change: transform; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 192, 192, .45);
  background: rgba(0, 192, 192, .07);
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: #9fe8e8;
  text-transform: uppercase;
}
.hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  animation: pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(0, 192, 192, .65); }
  70% { box-shadow: 0 0 0 9px rgba(0, 192, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 192, 192, 0); }
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.14;
  max-width: 940px;
  margin: 22px auto 0;
  color: #fff;
  letter-spacing: -.015em;
}
.hero .sub {
  font-size: 17px;
  color: #c2d0ea;
  max-width: 760px;
  margin: 20px auto 0;
  line-height: 1.72;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; }

/* rotating word */
.rotator { position: relative; display: inline-block; min-width: 5.4em; text-align: left; vertical-align: bottom; }
.rot-word {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  color: var(--teal-bright);
  white-space: nowrap;
}
.rot-word.is-on { position: relative; opacity: 1; transform: none; }

/* glass business-event chips */
.flow-chips {
  position: absolute;
  top: 74px;
  right: 46px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
  max-width: 320px;
}
.flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(0, 192, 192, .38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: #dfe9f8;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.flow-chip.is-in { opacity: 1; transform: none; }
.flow-chip.is-out { opacity: 0; transform: translateX(28px); transition: opacity .4s ease, transform .4s ease; }
.flow-chip svg { width: 13px; height: 13px; color: var(--teal-bright); flex: none; }

/* hero entrance choreography */
.hero-rise { opacity: 0; transform: translateY(18px); animation: heroRise .75s var(--ease) forwards; }
.d0 { animation-delay: .05s; }
.d1 { animation-delay: .18s; }
.d2 { animation-delay: .30s; }
.d3 { animation-delay: .42s; }
.d4 { animation-delay: 1.1s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* primary hero button: restrained sheen sweep */
.btn-hero { position: relative; overflow: hidden; }
.btn-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn-hero:hover::after { left: 135%; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 16px;
  left: 50%;
  margin-left: -14px;
  width: 26px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 9px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal-bright);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { top: 8px; opacity: 0; }
  30% { opacity: 1; }
  100% { top: 27px; opacity: 0; }
}

/* ------------------------------------------- signature lines animation band */
.anim-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#linesAnim { display: block; width: 100%; height: 300px; }

/* -------------------------------------------------------------- bands/body */
.band { padding: 68px 0; }
.band-white { background: var(--card); }
.band-gray { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-body { padding: 62px 0; background: var(--card); }

/* section titles carry the instrument rail: mono index + tick ruler */
.st {
  position: relative;
  font-size: clamp(19px, 2.1vw, 23px);
  color: var(--navy);
  letter-spacing: .005em;
  font-weight: 600;
  margin-bottom: 16px;
  counter-increment: si-sec;
}
.st::before {
  content: counter(si-sec, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--teal);
  margin-bottom: 9px;
}
.st::after {
  content: "";
  display: block;
  width: 168px;
  height: 3px;
  margin-top: 12px;
  background: repeating-linear-gradient(90deg,
    var(--teal) 0 14px, transparent 14px 20px, var(--ochre) 20px 22px, transparent 22px 28px);
}
.st.center { text-align: center; }
.st.center::after { margin-left: auto; margin-right: auto; }
.st-sub { color: var(--muted); font-size: 15px; margin: 16px 0 0; }

.lead { font-size: 16px; color: #24314e; }
p.body-text { color: #2d3954; }

/* editorial lead: hairline + drop-cap-ish accent */
.page-body .lead {
  border-left: 3px solid var(--teal);
  padding-left: 22px;
  font-size: 17.5px;
  line-height: 1.75;
  color: #22314e;
}

/* "Your concern / Our service" paired panels */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.panel-lead {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: 22px 26px;
}
.panel-lead b {
  display: block;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--ochre);
  margin-bottom: 8px;
}

/* --------------------------------------------------- instrument card family */
/* one shared "instrument panel" treatment: hairline frame + corner ticks */
.quick-card,
.module-box,
.addon-box,
.mini-card,
.service-card,
.reason-card,
.text-card,
.project-card,
.facts,
.contact-details,
.callout,
.focus-panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

/* corner ticks — the instrument frame */
.quick-card::before, .module-box::before, .service-card::before,
.text-card::before, .project-card::before, .mini-card::before,
.facts::before, .contact-details::before, .callout::before,
.focus-panel::before, .reason-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  opacity: .85;
  pointer-events: none;
}

.qc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-card {
  border-top: 3px solid var(--navy);
  padding: 32px 28px 28px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.quick-card svg { width: 42px; height: 42px; color: var(--navy-2); }
.quick-card h3 { font-size: 17px; margin: 16px 0 10px; }
.quick-card p { font-size: 13.5px; color: var(--muted); }
.qc-more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--teal-ink);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.quick-card:hover .qc-more { color: var(--ochre); }

/* ------------------------------------------------------------ module boxes */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module-box {
  display: block;
  padding: 34px 22px 26px;
  text-align: center;
  text-decoration: none;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.module-box:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
}
.module-box svg { width: 46px; height: 46px; color: var(--navy); margin-bottom: 14px; }
.module-box .mb-name {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.module-box .mb-tag { font-size: 13px; color: var(--muted); margin-top: 9px; line-height: 1.55; }
.module-box .mb-more {
  display: inline-block;
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-ink);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.module-box:hover .mb-more { color: var(--ochre); }

/* add-on boxes */
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon-box {
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.addon-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.addon-box svg { width: 30px; height: 30px; color: var(--navy-2); flex: none; margin-top: 2px; }
.addon-box b {
  display: block;
  font-size: 12.5px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 5px;
}
.addon-box span { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ------------------------------------------------------ diamond bullet list */
ul.diamond { list-style: none; margin: 20px 0; }
ul.diamond li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  font-size: 15px;
  color: #333e52;
  line-height: 1.62;
}
ul.diamond li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--teal);
  background: rgba(0, 192, 192, .18);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------ two columns */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }

/* ------------------------------------------------------------- news items */
.news-item { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-date {
  flex: 0 0 64px;
  height: 64px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 3px solid var(--teal-bright);
}
.news-date .d { font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1; }
.news-date .m { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--teal-bright); text-transform: uppercase; margin-top: 5px; }
.news-title { font-size: 16.5px; font-weight: 600; color: var(--navy); font-family: var(--display); }
.news-item p { font-size: 14px; color: var(--muted); margin-top: 7px; margin-bottom: 0; }
.news-item a.alink { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; display: inline-block; }

.alink { color: var(--teal-ink); font-weight: 600; border-bottom: 1px solid rgba(0, 147, 154, .35); }
.alink:hover { color: var(--ochre); border-bottom-color: var(--ochre); text-decoration: none; }

/* ------------------------------------------------------------ contact strip */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 36px 40px;
}
.cs-col h4 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 15px;
}
.cs-col h4 svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.cs-col p { font-size: 14px; color: #414c60; margin-bottom: 5px; line-height: 1.6; }
.cs-col a { color: var(--teal-ink); font-weight: 600; font-size: 14px; }
.cs-col a:hover { color: var(--ochre); text-decoration: underline; }

/* ------------------------------------------------------- inner page banner */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 56px 0 60px;
  background: linear-gradient(135deg, #001848 0%, #002c72 100%);
  color: #fff;
}
.page-banner .wrap { position: relative; z-index: 2; }
.crumbs { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: #8fa3c9; margin-bottom: 16px; }
.crumbs a { color: #c7d6f2; }
.crumbs a:hover { color: var(--teal-bright); text-decoration: underline; }
.page-banner h1 {
  font-size: clamp(25px, 3.1vw, 33px);
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.2;
}
.page-banner h1::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  margin-top: 18px;
  background: repeating-linear-gradient(90deg,
    var(--teal-bright) 0 14px, transparent 14px 20px, rgba(255, 255, 255, .55) 20px 22px, transparent 22px 28px);
}
.banner-sub { margin-top: 18px; color: #bccbe8; font-size: 15.5px; max-width: 820px; line-height: 1.7; }
.banner-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgba(0, 192, 192, .45);
  background: rgba(0, 192, 192, .08);
}
.banner-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.banner-actions .btn { padding: 12px 22px; font-size: 12.5px; }

/* staggered banner entrance */
.b-rise { opacity: 0; transform: translateY(16px); animation: bannerRise .7s var(--ease) forwards; }
.b-d0 { animation-delay: .05s; }
.b-d1 { animation-delay: .17s; }
.b-d2 { animation-delay: .29s; }
.b-d3 { animation-delay: .41s; }
.b-d4 { animation-delay: .53s; }
@keyframes bannerRise { to { opacity: 1; transform: none; } }

/* slow light sweep — kept but quieter than before */
.page-banner::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 160px;
  left: -280px;
  background: linear-gradient(105deg, transparent 0%, rgba(0, 192, 192, .10) 45%, rgba(255, 255, 255, .05) 55%, transparent 100%);
  transform: skewX(-18deg);
  animation: bannerSweep 11s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes bannerSweep {
  0% { left: -280px; }
  55% { left: 105%; }
  100% { left: 105%; }
}

/* --------------------------------------------------------- product page lede */
.product-lede { display: grid; grid-template-columns: 1.65fr 1fr; gap: 40px; align-items: start; }
.facts { list-style: none; background: var(--paper-2); border: 1px solid var(--line); padding: 24px 26px; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
}
.facts li:last-child { border-bottom: 0; }
.facts b { color: var(--navy); text-align: right; font-family: var(--body); font-size: 13.5px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini-card {
  border-top: 3px solid var(--teal);
  padding: 24px 22px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.mini-card b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 9px; font-family: var(--display); }
.mini-card p { font-size: 13.5px; color: var(--muted); }

/* -------------------------------------------------------- request CTA panel */
.request-panel {
  position: relative;
  background: linear-gradient(135deg, #001848 0%, #002c72 100%);
  color: #fff;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 46px;
  overflow: hidden;
}
.request-panel::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 18px; height: 18px;
  border-top: 2px solid var(--teal-bright);
  border-left: 2px solid var(--teal-bright);
}
.request-panel::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 18px; height: 18px;
  border-bottom: 2px solid var(--teal-bright);
  border-right: 2px solid var(--teal-bright);
}
.request-panel h3 { font-size: 20px; color: #fff; }
.request-panel p { color: #bccbe8; font-size: 14px; margin-top: 7px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #041c22;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 27px;
  border: 2px solid var(--teal);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline:hover { background: rgba(255, 255, 255, .10); border-color: var(--teal-bright); color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }

/* -------------------------------------------------------------- data tables */
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); }
.data-table th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  padding: 13px 16px;
}
.data-table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; color: #333e52; vertical-align: top; }
.data-table tr:nth-child(even) td { background: rgba(0, 24, 72, .025); }
.tick { color: var(--teal-ink); font-weight: 700; }
.cross { color: #98a2b8; }

/* ------------------------------------------------------------------ timeline */
.timeline { border-left: 2px solid var(--line-strong); margin: 26px 0 6px 8px; padding-left: 30px; }
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border: 2px solid var(--navy);
  transform: rotate(45deg);
}
.timeline-year { font-family: var(--mono); font-weight: 500; color: var(--ochre); font-size: 15px; letter-spacing: .1em; }
.timeline-item p { font-size: 14.5px; color: #333e52; margin-top: 3px; }

/* -------------------------------------------------------------- FAQ details */
details.faq {
  border: 1px solid var(--line);
  background: var(--card);
  margin-bottom: 10px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
details.faq[open] { border-color: var(--teal); box-shadow: var(--shadow-1); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--mono); font-size: 19px; color: var(--teal); font-weight: 500; line-height: 1; }
details.faq[open] summary::after { content: "\2212"; }
details.faq .faq-body { padding: 0 22px 18px; color: #414c60; font-size: 14.5px; border-top: 1px solid var(--hair); padding-top: 14px; }

/* -------------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 7px;
}
.form-field label .req { color: #c0455b; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 192, 192, .18);
}
textarea { resize: vertical; min-height: 140px; }
.field-error { border-color: #c0455b !important; }
.form-field.full { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #eaf7f5;
  border: 1px solid var(--teal);
  border-left: 3px solid var(--teal);
  color: #05565c;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 14px;
}
.form-success.show { display: block; }
.form-success.err { background: #fdeef0; border-color: #c0455b; color: #8c1d33; }

/* ------------------------------------------------------------ contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: start; }
.contact-details { background: var(--paper-2); border: 1px solid var(--line); padding: 32px 34px; }
.contact-details h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.contact-details h3 svg { width: 18px; height: 18px; color: var(--teal); }
.contact-details p { font-size: 14px; color: #414c60; margin-bottom: 6px; }

/* ------------------------------------------------------------------- footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--muted-dark);
  font-size: 13.5px;
  border-top: 3px solid var(--teal-bright);
}
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 38px; padding: 56px 0 44px; }
.footer-wordmark {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-wordmark span { color: var(--teal-bright); }
.footer-contact { margin-top: 16px !important; line-height: 1.75; font-size: 13px; color: #8d99ba; }
.footer-legal-note-wrap { grid-column: 1 / -1; margin-top: -18px; }
.footer-brand p { line-height: 1.75; font-size: 13px; color: #8d99ba; max-width: 300px; }
.footer-main h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: .26em;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-main ul { list-style: none; }
.footer-main ul li { margin-bottom: 9px; }
.footer-main ul a { color: #a9b6d6; }
.footer-main ul a:hover { color: #fff; text-decoration: underline; }
.footer-legal-note { font-size: 12px; color: #6d7a9e; margin-top: 14px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #8d99ba;
}
.footer-bottom a { color: #a9b6d6; margin-left: 18px; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .sep { margin-left: 18px; color: #45507a; }

/* ------------------------------------------------------------- back to top */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--teal-bright);
  color: #fff;
  padding: 0;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  box-shadow: 0 8px 22px rgba(0, 18, 52, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease),
              visibility var(--t), background var(--t-fast) var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: var(--navy-2); }

/* -------------------------------------------------------------- misc / docs */
.focus-panel { background: var(--paper-2); border: 1px solid var(--line); padding: 30px 34px; }
.legal-doc h2 {
  font-size: 20px;
  color: var(--navy);
  margin: 36px 0 12px;
  letter-spacing: .005em;
  counter-increment: si-sec;
}
.legal-doc h2::before {
  content: counter(si-sec, decimal-leading-zero) " \2014 ";
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--teal);
  vertical-align: 3px;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { font-size: 14.5px; color: #333e52; line-height: 1.72; }
.legal-doc ul { margin: 10px 0 16px 22px; }
.legal-doc li { margin-bottom: 8px; }
.legal-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .22em;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

/* ============================ content components ========================= */

/* stats band — instrument read-outs */
.stats-band {
  background: var(--navy-dark);
  color: #fff;
  padding: 48px 0;
  border-bottom: 3px solid var(--teal-bright);
  position: relative;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .05) 0 1px, transparent 1px 44px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.stat { text-align: center; }
.stat-num {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--teal-bright);
  letter-spacing: .01em;
}
.stat-label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #a9b6d6;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* homepage intro split with photo */
.intro-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: center; }
.intro-photo { box-shadow: var(--shadow-3); border: 1px solid var(--line); }

/* photos */
.photo-box {
  width: 100%;
  background-color: #0e2a5e;
  background-repeat: no-repeat;
  display: block;
  border: 1px solid var(--line);
}
.photo-fig { margin: 0; }
.photo-fig figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .04em;
  padding-left: 12px;
  border-left: 2px solid var(--teal);
  line-height: 1.5;
}
.case-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-photos .photo-fig + .photo-fig { margin-top: 0; }
.article-photo { margin: 10px 0 26px; }
.mt-photo { margin-top: 22px; }
.two-col-img { align-items: center; }
.two-col-img .photo-box { box-shadow: var(--shadow-3); border: 1px solid var(--line); }

/* text cards (project / insight previews) */
.text-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.text-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--navy);
  padding: 26px 26px 24px;
  text-decoration: none;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.text-card.insight-card { border-top-color: var(--teal); }
.text-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.tc-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre);
}
.text-card b { font-family: var(--display); font-size: 18px; line-height: 1.32; color: var(--navy); font-weight: 600; }
.text-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.tc-more {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--teal-ink);
  text-transform: uppercase;
}
.text-card:hover .tc-more { color: var(--ochre); }
.center-link { text-align: center; margin-top: 34px; }

/* service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--teal);
  padding: 30px 28px;
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.sc-icon svg { width: 44px; height: 44px; color: var(--navy-2); }
.service-card b { font-family: var(--display); font-size: 18px; color: var(--navy); font-weight: 600; }
.service-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.sc-more {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--teal-ink);
  text-transform: uppercase;
}
.service-card:hover .sc-more { color: var(--ochre); }

/* numbered reason cards */
.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.reason-card {
  border-left: 3px solid var(--teal);
  padding: 28px 30px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.reason-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.reason-card .rc-n {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ochre);
  letter-spacing: .24em;
  margin-bottom: 12px;
}
.reason-card b { display: block; font-family: var(--display); font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 600; }
.reason-card p { font-size: 14px; color: #414c60; margin: 0; }

/* numbered steps */
.steps { list-style: none; margin-top: 22px; }
.steps li { display: flex; gap: 18px; margin-bottom: 22px; }
.steps li:last-child { margin-bottom: 0; }
.step-n {
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid var(--teal);
  color: var(--navy);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 192, 192, .07);
}
.steps b { display: block; font-family: var(--display); font-size: 17px; color: var(--navy); margin-bottom: 5px; font-weight: 600; }
.steps p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* callout panel */
.callout {
  border-left: 3px solid var(--navy);
  padding: 24px 28px;
  margin-top: 28px;
  background: var(--paper-2);
}
.callout b {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 8px;
}
.callout p { font-size: 14.5px; color: #333e52; margin: 0; }
.callout-teal { border-left-color: var(--teal); background: #eefaf8; }
.callout-teal b { color: var(--teal-ink); }

/* project / insight cards with photo */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 24px;
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.project-card .pc-photo { border: 0; border-bottom: 3px solid var(--teal); }
.pc-kicker {
  padding: 0 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ochre);
}
.project-card b { padding: 0 26px; font-family: var(--display); font-size: 18px; line-height: 1.32; color: var(--navy); font-weight: 600; }
.project-card p { padding: 0 26px; font-size: 13px; color: var(--muted); margin: 0; }
.pc-more {
  padding: 0 26px;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--teal-ink);
  text-transform: uppercase;
}
.project-card:hover .pc-more { color: var(--ochre); }

/* case study pages */
.article-head { max-width: 900px; }
.article-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
}
.case-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

/* quote form checkbox grid */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 4px 0; }
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #333e52;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.check-item input { accent-color: var(--teal); width: 15px; height: 15px; }

/* article body tweaks for insight pages */
.article-body h2 { margin-top: 32px; font-size: 21px; }
.article-body h2:first-of-type { margin-top: 10px; }
.article-body p { font-size: 15.5px; line-height: 1.78; color: #2b3752; }

/* ==========================================================================
   REDUCED MOTION — every animation collapses to a clean static frame
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-rise, .b-rise { animation: none; opacity: 1; transform: none; }
  .hero .eyebrow::before { animation: none; }
  .scroll-cue span { animation: none; opacity: .7; }
  .flow-chip { display: none; }
  .btn-hero::after { display: none; }
  .page-banner::after { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
.no-motion .hero-rise, .no-motion .b-rise { animation: none; opacity: 1; transform: none; }
.no-motion .page-banner::after, .no-motion .flow-chip { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  /* the fixed edge rail would crowd the content — retire it */
  .edge-rail { display: none; }
}

@media (max-width: 1180px) {
  .qc-grid, .module-grid, .addon-grid, .mini-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-strip, .service-grid, .text-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 26px; }
  .footer-legal-note-wrap { grid-column: 1 / -1; margin-top: 0; }
  .product-lede, .intro-split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-split .intro-photo { max-width: 560px; }
}

@media (max-width: 780px) {
  body { font-size: 15.5px; }
  .band { padding: 44px 0; }
  .hero { padding: 56px 0 50px; }
  .hero h1 { font-size: 30px; }
  .hero .sub { font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .flow-chips { display: none; }
  .page-banner { padding: 36px 0 40px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner .banner-sub { font-size: 14.5px; }
  .banner-actions { flex-direction: column; align-items: stretch; }
  .banner-actions .btn { width: 100%; }
  #linesAnim { height: 190px; }

  .topbar .wrap { flex-direction: column; gap: 6px; align-items: flex-start; }
  .topbar-left, .topbar-right { gap: 12px 18px; flex-wrap: wrap; }
  .topbar-item { font-size: 12px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-header .chips { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
  .brand img { height: 74px; }

  .mainnav .wrap { padding: 0; }
  .mainnav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
  }
  .mainnav ul::-webkit-scrollbar { display: none; }
  .mainnav > .wrap > ul > li { flex: 0 0 auto; }
  .mainnav a.top { white-space: nowrap; padding: 13px 12px; font-size: 13px; }
  .mainnav .dropdown { left: 0; min-width: 220px; }

  .duo > *, .two-col > *, .product-lede > *, .contact-grid > *,
  .intro-split > *, .form-grid > *, .stats-grid > *, .qc-grid > *,
  .module-grid > *, .addon-grid > *, .mini-grid > *, .project-grid > *,
  .contact-strip > *, .service-grid > *, .text-grid > *, .reason-grid > *,
  .case-photos > *, .check-grid > * { min-width: 0; }

  .duo, .two-col, .qc-grid, .module-grid, .addon-grid, .mini-grid,
  .project-grid, .contact-strip, .service-grid, .text-grid, .reason-grid,
  .case-photos, .check-grid, .form-grid, .contact-grid, .product-lede,
  .intro-split { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand p { max-width: none; }

  table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table th, table td { white-space: nowrap; }

  img { max-width: 100%; height: auto; }
  .photo-box { background-size: cover; }

  .request-panel { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 22px; margin-top: 32px; }
  .request-panel .btn { width: 100%; }

  input[type="text"], input[type="email"], input[type="tel"], select, textarea { font-size: 16px; }
  .form-grid { gap: 16px; }
}

@media (max-width: 460px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 25px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .stat-num { font-size: 32px; }
  .mainnav a.top { padding: 12px 10px; font-size: 12.5px; }
  .btn { max-width: 100%; padding: 13px 18px; text-align: center; }
  .legal-doc h2::before, .st::before { letter-spacing: .16em; }
}

/* --------------------------------------------------------------- printing */
@media print {
  .topbar, .site-header, .mainnav, .to-top, .request-panel,
  .banner-actions, .hero-actions, .anim-band, .grain, .edge-rail,
  .scroll-rail, .skip-link { display: none !important; }
  body { background: #fff; }
  .page-banner { background: none !important; color: #000; padding: 0 0 12px; }
  .page-banner h1, .page-banner .banner-sub { color: #000; }
  a { text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
