/* FlowNexus Energy — site styles
   Typeface: Open Sans (brand kit). UI palette follows the approved website design;
   the logo artwork keeps its own locked colors and is never recolored. */

@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0A3046;
  --navy-deep: #082638;
  --burgundy: #871A38;
  --burgundy-dark: #6E142D;
  --slate: #334A59;
  --muted: #536B78;
  --teal: #24536A;
  --steel: #72909E;
  --pink: #F3BCC9;
  --paper: #F7F8F7;
  --white: #FFFFFF;
  --panel: #E6ECEF;
  --line: #D8DFE3;
  --font: "Open Sans", Arial, Helvetica, sans-serif;
  --gutter: clamp(20px, 5.2vw, 100px);
  --max: 1640px;
  --header-h: 100px;
  --section: clamp(64px, 8.5vw, 136px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--slate); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--white); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--navy); color: var(--white); padding: 12px 18px; font-weight: 600; border-radius: var(--radius); transition: top .15s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-top: 3px solid var(--burgundy); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: calc(var(--header-h) - 4px); }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; margin-left: -8px; }
.brand-symbol { width: 68px; height: 68px; flex: none; }
.brand-name { font-size: 1.875rem; font-weight: 700; letter-spacing: -.04em; color: var(--navy); line-height: 1; white-space: nowrap; }
.brand-name span { color: var(--burgundy); }

.site-nav { display: flex; align-items: center; gap: clamp(28px, 3.2vw, 60px); }
.site-nav a { font-weight: 600; font-size: 1.0625rem; color: var(--navy); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.site-nav a:not(.nav-cta):hover, .site-nav a[aria-current="page"]:not(.nav-cta) { color: var(--burgundy); }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.site-nav .nav-cta { font-weight: 700; padding: 13px 20px; background: var(--white); border: 1px solid #B7C2C9; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; background: var(--white); border: 1px solid #B7C2C9; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle-bars span { display: block; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  :root { --header-h: 76px; }
  .brand-symbol { width: 56px; height: 56px; }
  .brand-name { font-size: 1.5rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px rgba(8, 38, 56, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 20px; text-align: center; padding: 15px 20px; border: 1px solid var(--navy); background: var(--navy); color: var(--white); }
}
@media (max-width: 380px) {
  .brand-symbol { width: 48px; height: 48px; }
  .brand-name { font-size: 1.3125rem; }
}

/* ---------- Type helpers ---------- */
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); }
.on-dark .eyebrow { color: var(--pink); }
.display { font-size: clamp(2.5rem, 5.1vw + .4rem, 5.6rem); line-height: 1.02; letter-spacing: -.045em; }
.h-xl { font-size: clamp(2.25rem, 4.3vw + .3rem, 4.75rem); line-height: 1.06; letter-spacing: -.045em; }
.h-lg { font-size: clamp(1.875rem, 2.6vw + .5rem, 3.25rem); line-height: 1.1; letter-spacing: -.04em; }
.h-md { font-size: clamp(1.5rem, 1.5vw + .7rem, 2.375rem); line-height: 1.15; letter-spacing: -.035em; }
.h-sm { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; }
.accent { color: var(--burgundy); }
.lead { font-size: clamp(1.125rem, .55vw + 1rem, 1.4375rem); line-height: 1.6; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }

.text-link { display: inline-block; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .32em; text-decoration-color: currentColor; transition: color .2s, text-decoration-color .2s; }
.text-link:hover { color: var(--burgundy); }
.on-dark .text-link { color: var(--white); }
.on-dark .text-link:hover { color: var(--pink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 16px 28px; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--pink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--burgundy); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(8, 38, 56, .97) 10%, rgba(8, 38, 56, .8) 28%, rgba(8, 38, 56, .32) 60%, rgba(8, 38, 56, .06) 100%), linear-gradient(0deg, rgba(8, 38, 56, .5) 0%, rgba(8, 38, 56, 0) 34%); }
.hero-inner { padding-block: clamp(72px, 8vw, 132px) clamp(72px, 7.5vw, 124px); min-height: min(76vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.hero-copy { max-width: 880px; }
.hero .display { margin-top: clamp(22px, 2.4vw, 36px); }
.hero .lead { margin-top: clamp(22px, 2.2vw, 34px); max-width: 30em; color: #EEF3F5; }
.hero .actions { margin-top: clamp(30px, 3vw, 46px); }
@media (max-width: 900px) {
  .hero-media { width: 100%; }
  .hero-media img { object-position: 70% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(8, 38, 56, .9) 0%, rgba(8, 38, 56, .74) 55%, rgba(8, 38, 56, .86) 100%); }
  .hero-inner { min-height: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--navy); border-bottom: 4px solid var(--burgundy); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .97fr); gap: clamp(32px, 5vw, 96px); align-items: center; padding-block: clamp(56px, 6.6vw, 112px); }
.page-hero .display { margin-top: clamp(18px, 2vw, 30px); }
.page-hero .eyebrow + .display { margin-top: clamp(18px, 2vw, 30px); }
.page-hero .display:first-child { margin-top: 0; }
.page-hero .lead { margin-top: clamp(18px, 1.8vw, 28px); max-width: 26em; color: #EEF3F5; }
.page-hero .actions { margin-top: clamp(26px, 2.6vw, 40px); }
.hero-figure { position: relative; border: 1px solid rgba(255, 255, 255, .28); background: var(--navy-deep); overflow: hidden; }
.hero-figure img { width: 100%; aspect-ratio: 790 / 494; object-fit: cover; }
.hero-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 22px 18px; font-weight: 600; font-size: 1.0625rem; color: var(--white); background: linear-gradient(0deg, rgba(8, 38, 56, .86), rgba(8, 38, 56, 0)); }
.page-hero-compact .page-hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: clamp(48px, 5.4vw, 92px); }
.page-hero-compact .lead { max-width: 34em; }
@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-figure figcaption { font-size: .9375rem; padding: 44px 16px 14px; }
}

/* ---------- Section sub-navigation ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: clamp(28px, 3.2vw, 58px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 19px 0 17px; font-weight: 700; font-size: 1.0625rem; color: var(--navy); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--burgundy); }
.subnav a.is-active { color: var(--burgundy); border-bottom-color: var(--burgundy); }
@media (max-width: 900px) {
  .subnav .wrap { width: 100%; }
  .subnav ul { padding-inline: var(--gutter); }
  .subnav a { font-size: 1rem; padding: 15px 0 13px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-white { background: var(--white); }
.section-rule { border-top: 1px solid var(--line); }
.section-flush-top { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(36px, 4.4vw, 72px); }
.section-head .eyebrow { margin-bottom: clamp(16px, 1.6vw, 26px); }
.section-head-aside p { font-size: clamp(1.0625rem, .4vw + 1rem, 1.3125rem); line-height: 1.65; }
.section-head-aside .text-link { margin-top: 18px; }
.section-head-single { grid-template-columns: minmax(0, 1fr); max-width: 1080px; }
@media (max-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Two columns under a rule (approach block) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 26px; }
.duo-item { border-top: 2px solid var(--steel); padding-top: clamp(26px, 2.6vw, 40px); }
.duo-item:nth-child(even) { border-top-color: var(--burgundy); }
.duo-item p { margin-top: 16px; max-width: 30em; font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); }
.duo-item .text-link { margin-top: 24px; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Service domain cards */
.domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.domain { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: clamp(24px, 2.6vw, 44px); }
.domain-surface { border-top-color: var(--burgundy); }
.domain-tag { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.domain-art { margin: clamp(18px, 2vw, 30px) 0; aspect-ratio: 510 / 150; }
.domain-art svg { width: 100%; height: 100%; }
.domain p { margin-top: 14px; max-width: 34em; }
.domain .text-link { margin-top: auto; padding-top: 26px; align-self: flex-start; }
@media (max-width: 760px) { .domains { grid-template-columns: minmax(0, 1fr); } }

/* Three stages strip */
.stages-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border: 1px solid var(--line); background: var(--white); }
.stages-strip li { padding: clamp(20px, 2vw, 32px); border-right: 1px solid var(--line); }
.stages-strip li:last-child { border-right: 0; }
.stages-strip .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--burgundy); }
.stages-strip h3 { margin-top: 6px; font-size: 1.375rem; letter-spacing: -.03em; }
.stages-strip p { margin-top: 6px; font-size: 1rem; }
.section-white .stages-strip { background: var(--paper); }
@media (max-width: 760px) {
  .stages-strip { grid-template-columns: minmax(0, 1fr); }
  .stages-strip li { border-right: 0; border-bottom: 1px solid var(--line); }
  .stages-strip li:last-child { border-bottom: 0; }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: clamp(22px, 2vw, 34px); }
.pillar:nth-child(2) { border-top-color: var(--teal); }
.pillar:nth-child(3) { border-top-color: var(--steel); }
.pillar:nth-child(4) { border-top-color: var(--burgundy); }
.section-white .pillar { background: var(--paper); }
.pillar-num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.pillar-icon { width: 48px; height: 48px; margin-top: 22px; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.pillar:nth-child(4) .pillar-icon { stroke: var(--burgundy); }
.pillar h3 { margin-top: 18px; font-size: 1.625rem; letter-spacing: -.035em; }
.pillar p { margin-top: 10px; font-size: 1rem; }
.pillar .pillar-tag { margin-top: auto; padding-top: 22px; font-weight: 700; font-size: .9375rem; color: var(--navy); }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* Split content: heading left, detail right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px clamp(36px, 6vw, 120px); align-items: start; }
.split-intro .eyebrow { margin-bottom: clamp(14px, 1.4vw, 22px); }
.split-intro p { margin-top: 20px; max-width: 32em; font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); }
.split-intro .text-link { margin-top: 26px; }
.split-art { margin-top: clamp(24px, 3vw, 44px); max-width: 520px; aspect-ratio: 510 / 150; }
.split-art svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.question-list { border-top: 2px solid var(--navy); }
.question-list.is-burgundy { border-top-color: var(--burgundy); }
.question-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: clamp(18px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--line); }
.question-list .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--burgundy); padding-top: .35em; }
.question-list h3 { font-size: clamp(1.125rem, .5vw + 1rem, 1.375rem); letter-spacing: -.02em; line-height: 1.3; }
.question-list p { grid-column: 2; font-size: 1rem; }
.list-label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Stage comparison */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: clamp(22px, 2.2vw, 38px); }
.compare-card:nth-child(2) { border-top-color: var(--teal); }
.compare-card:nth-child(3) { border-top-color: var(--burgundy); }
.section-white .compare-card { background: var(--paper); }
.compare-card .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--burgundy); }
.compare-card h3 { margin-top: 8px; }
.compare-card .compare-question { margin-top: 12px; font-size: 1.125rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.compare-card dl { margin: 22px 0 0; }
.compare-card dt { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.compare-card dd { margin: 6px 0 16px; font-size: 1rem; }
.compare-card dd:last-child { margin-bottom: 0; }
@media (max-width: 1000px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Ways of working comparison */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.way { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: clamp(24px, 2.8vw, 48px); display: flex; flex-direction: column; }
.way:nth-child(2) { border-top-color: var(--burgundy); }
.way > p { margin-top: 14px; font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem); }
.way dl { margin: 26px 0 0; }
.way dt { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.way dd { margin: 6px 0 18px; }
.way .text-link { margin-top: auto; padding-top: 12px; align-self: flex-start; }
@media (max-width: 860px) { .ways { grid-template-columns: minmax(0, 1fr); } }

/* Numbered sequence (pillars in practice) */
.sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--navy); counter-reset: step; }
.sequence li { padding: clamp(22px, 2.2vw, 36px) clamp(18px, 2vw, 32px) clamp(22px, 2.2vw, 36px) 0; border-right: 1px solid var(--line); }
.sequence li + li { padding-left: clamp(18px, 2vw, 32px); }
.sequence li:last-child { border-right: 0; padding-right: 0; }
.sequence .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--burgundy); }
.sequence h3 { margin-top: 8px; font-size: 1.5rem; letter-spacing: -.03em; }
.sequence .sequence-role { margin-top: 4px; font-weight: 600; color: var(--navy); }
.sequence p { margin-top: 10px; font-size: 1rem; }
@media (max-width: 1000px) {
  .sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sequence li, .sequence li + li { padding: 24px 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sequence li:nth-child(even) { padding-left: 20px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .sequence { grid-template-columns: minmax(0, 1fr); }
  .sequence li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Connection trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.trio li { border-top: 2px solid var(--steel); padding-top: 24px; }
.trio li:nth-child(2) { border-top-color: var(--navy); }
.trio li:nth-child(3) { border-top-color: var(--burgundy); }
.trio p { margin-top: 10px; }
@media (max-width: 760px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* Statement band */
.statement { background: var(--panel); border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 112px); }
.statement-inner { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 96px); }
.statement .eyebrow { padding-top: .9em; color: var(--muted); }
.statement p { margin-top: 24px; max-width: 46em; font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); }
@media (max-width: 900px) { .statement-inner { grid-template-columns: minmax(0, 1fr); } .statement .eyebrow { padding-top: 0; } }

/* Fact rows (about) */
.facts { border-top: 2px solid var(--navy); }
.facts > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 6px 28px; padding: clamp(18px, 1.8vw, 26px) 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.facts dd { margin: 0; font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); color: var(--navy); font-weight: 600; line-height: 1.45; }
.facts dd span { display: block; margin-top: 4px; font-size: 1rem; font-weight: 400; color: var(--slate); }
@media (max-width: 560px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--burgundy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px clamp(32px, 6vw, 96px); padding-block: clamp(52px, 6vw, 96px); }
.cta-band p { margin-top: 16px; font-size: clamp(1.0625rem, .5vw + 1rem, 1.375rem); color: #FBEFF2; max-width: 38em; }
.cta-band .btn { flex: none; }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Scenario ---------- */
.scenario { border-radius: 10px; background: radial-gradient(90% 90% at 100% 100%, rgba(98, 38, 66, .55) 0%, rgba(98, 38, 66, 0) 60%), linear-gradient(110deg, #0A3046 0%, #0C3850 55%, #1D4D63 100%); padding: clamp(24px, 4.4vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(32px, 4.6vw, 84px); align-items: center; }
.scenario-copy .h-lg { margin-top: clamp(14px, 1.4vw, 22px); }
.scenario-copy p { margin-top: clamp(18px, 1.8vw, 28px); font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); color: #EEF3F5; max-width: 30em; }
.scenario-links { display: grid; justify-items: start; gap: 22px; margin-top: clamp(26px, 2.6vw, 40px); }
.scenario-panel { background: #E9EFF2; border-radius: 8px; padding: clamp(20px, 2.4vw, 38px); color: var(--slate); }
.scenario-panel legend { padding: 0; font-weight: 700; font-size: 1.0625rem; color: var(--navy); margin-bottom: 14px; }
.forecast-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.forecast-option { position: relative; display: block; cursor: pointer; }
.forecast-option input { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin: -9px 0 0; accent-color: var(--burgundy); cursor: pointer; }
.forecast-option-body { display: block; height: 100%; padding: 12px 12px 12px 42px; border: 1px solid #93A6B1; border-radius: var(--radius); background: rgba(255, 255, 255, .35); transition: background .15s, border-color .15s, box-shadow .15s; }
.forecast-option-body strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.forecast-option-body span { display: block; font-size: .9375rem; color: var(--muted); }
.forecast-option input:checked + .forecast-option-body { background: var(--white); border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.forecast-option input:checked + .forecast-option-body span { color: var(--navy); font-weight: 600; }
.forecast-option input:focus-visible + .forecast-option-body { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.scenario-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.scenario-stats dt { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.scenario-stats dd { margin: 4px 0 0; font-size: clamp(1.75rem, 1.4vw + 1rem, 2.25rem); font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1.2; }
.key { flex: none; display: inline-block; }
.key-range { width: 12px; height: 12px; background: var(--teal); border-radius: 2px; }
.key-capacity { width: 3px; height: 14px; background: var(--burgundy); }
.scenario-chart { margin-top: 18px; }
.chart-track { position: relative; height: 36px; border: 1px solid #A9B8C1; background: rgba(255, 255, 255, .42); }
.chart-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: #A9B8C1; }
.chart-range { position: absolute; top: 5px; bottom: 5px; background: var(--teal); border-radius: 2px; transition: left .35s ease, width .35s ease; }
.chart-capacity { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; background: var(--burgundy); }
.chart-scale { position: relative; height: 26px; margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.chart-scale span { position: absolute; transform: translateX(-50%); }
.chart-scale span:first-child { transform: none; }
.chart-scale span:last-child { transform: translateX(-100%); }
.scenario-result { margin-top: 14px; padding-top: 22px; border-top: 1px solid #C3CFD6; }
.result-figure { font-size: 1.0625rem; color: var(--muted); }
.result-figure strong { font-size: clamp(1.5rem, 1vw + 1rem, 1.875rem); font-weight: 700; letter-spacing: -.03em; color: var(--burgundy); margin-right: 2px; }
.result-figure.is-within strong { color: var(--teal); }
.scenario-result h3 { margin-top: 12px; font-size: 1.25rem; letter-spacing: -.02em; }
.scenario-result p { margin-top: 6px; }
.scenario-note { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
@media (max-width: 1100px) { .scenario { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .forecast-options { grid-template-columns: minmax(0, 1fr); }
  .scenario { border-radius: 8px; margin-inline: calc(var(--gutter) * -.4); }
}

.scenario-stages { margin-top: clamp(36px, 4vw, 64px); }
.scenario-stages-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.scenario-stages-head p { font-weight: 600; color: var(--navy); }
.scenario-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.scenario-stage-grid li { padding: clamp(20px, 2.2vw, 34px); border-right: 1px solid var(--line); }
.scenario-stage-grid li:last-child { border-right: 0; }
.scenario-stage-grid .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--burgundy); }
.scenario-stage-grid h4 { margin-top: 6px; font-size: 1.375rem; letter-spacing: -.03em; }
.scenario-stage-grid p { margin-top: 8px; font-size: 1rem; }
@media (max-width: 860px) {
  .scenario-stage-grid { grid-template-columns: minmax(0, 1fr); }
  .scenario-stage-grid li { border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-stage-grid li:last-child { border-bottom: 0; }
}

/* ---------- Inquiry ---------- */
.inquiry-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(28px, 4vw, 72px); align-items: start; }
.inquiry-form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.form-step { padding: clamp(22px, 3vw, 48px); border-bottom: 1px solid var(--line); }
.form-step legend, .form-step-title { display: flex; align-items: baseline; gap: 14px; padding: 0; font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); font-weight: 700; letter-spacing: -.035em; color: var(--navy); line-height: 1.2; }
.form-step legend { float: left; width: 100%; }
.form-step legend + * { clear: both; }
.form-step legend + .choice-grid { padding-top: 22px; margin-top: 0; }
.form-step .num { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--burgundy); }
.form-step-hint { padding-top: 8px; color: var(--muted); }
.optional { font-weight: 400; font-size: .9375rem; color: var(--muted); letter-spacing: 0; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 22px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; margin: 0; accent-color: var(--burgundy); cursor: pointer; }
.choice-body { display: block; height: 100%; padding: 15px 16px 15px 46px; border: 1px solid var(--slate); border-radius: var(--radius); background: var(--white); transition: background .15s, box-shadow .15s, border-color .15s; }
.choice-body strong { display: block; color: var(--navy); line-height: 1.35; }
.choice-body span { display: block; margin-top: 2px; font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.choice input:checked + .choice-body { background: #F3F6F8; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.choice-grid-compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice-grid-compact .choice input { top: 50%; margin-top: -9px; }

.field { display: grid; gap: 8px; margin-top: 22px; min-width: 0; }
.field label, .field-label { font-weight: 700; color: var(--navy); }
.field input, .field textarea { width: 100%; padding: 14px 16px; background: var(--white); border: 1px solid var(--slate); border-radius: var(--radius); color: var(--navy); font-size: 1.0625rem; line-height: 1.5; }
.field textarea { min-height: 220px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7C8E99; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); }
.field-error { font-size: .9375rem; font-weight: 600; color: var(--burgundy); }
.field-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: minmax(0, 1fr); } }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.prompts { margin-top: 18px; padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--steel); }
.prompts p { font-weight: 700; color: var(--navy); }
.prompts ul { margin-top: 8px; display: grid; gap: 6px; }
.prompts li { position: relative; padding-left: 18px; font-size: 1rem; }
.prompts li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 2px; background: var(--burgundy); }

.form-submit { padding: clamp(22px, 3vw, 48px); background: var(--paper); }
.form-submit .actions { margin-top: 20px; }
.form-privacy { font-size: .9375rem; color: var(--muted); max-width: 44em; }
.form-privacy a { color: var(--navy); font-weight: 600; }
.turnstile-slot { margin-top: 20px; min-height: 0; }
.form-status { margin-top: 18px; font-weight: 600; color: var(--burgundy); }
.form-status:empty { display: none; }

.inquiry-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.aside-card { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 2vw, 30px); }
.aside-card h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.aside-card-navy { background: var(--navy); border-color: var(--navy); color: #EEF3F5; }
.aside-card-navy h2 { color: var(--white); }
.draft-list { margin: 16px 0 0; display: grid; gap: 14px; }
.draft-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.draft-list dd { margin: 3px 0 0; color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.draft-list dd.is-empty { color: #B9C8D1; font-weight: 400; }
.steps-list { margin-top: 14px; display: grid; gap: 14px; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; font-size: 1rem; }
.steps-list li::before { counter-increment: s; content: "0" counter(s); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--burgundy); padding-top: .25em; }
@media (max-width: 1100px) {
  .inquiry-layout { grid-template-columns: minmax(0, 1fr); }
  .inquiry-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) { .inquiry-aside { grid-template-columns: minmax(0, 1fr); } }

.inquiry-done { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: clamp(28px, 4vw, 64px); max-width: 900px; }
.inquiry-done h2 { margin-top: 14px; }
.inquiry-done p { margin-top: 16px; font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); max-width: 40em; }
.inquiry-done .reference { display: inline-block; margin-top: 22px; padding: 10px 16px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.inquiry-done .actions { margin-top: 30px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 48px; font-size: clamp(1.5rem, 1vw + 1rem, 1.875rem); letter-spacing: -.035em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--burgundy); }
.prose a { color: var(--navy); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #D5DFE5; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px clamp(40px, 8vw, 160px); padding-block: clamp(48px, 5vw, 84px) clamp(32px, 3vw, 48px); }
.footer-brand img { width: 290px; margin: -12px 0 0 -8px; }
.footer-brand p { margin-top: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #B9C8D1; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.footer-nav h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.footer-nav ul { margin-top: 14px; display: grid; gap: 4px; }
.footer-nav a { display: inline-block; padding: 5px 0; color: var(--white); font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 22px 30px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; color: #B9C8D1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand img { width: 250px; } }

/* ---------- Not found ---------- */
.notfound { padding-block: clamp(72px, 10vw, 160px); }
.notfound h1 { margin-top: 20px; }
.notfound .lead { margin-top: 20px; max-width: 34em; }
.notfound .actions { margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .subnav, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* =====================================================================
   Design system, second pass: engineering-drawing details, varied section
   layouts, service pages and motion. Later rules refine the ones above.
   ===================================================================== */

/* Section labels carry a short rule, like a drawing callout */
.section-head .eyebrow, .split-intro .eyebrow, .statement .eyebrow { display: flex; align-items: center; gap: 14px; }
.section-head .eyebrow::before, .split-intro .eyebrow::before { content: ""; flex: none; width: 34px; height: 2px; background: currentColor; }

/* Arrow on forward links */
.arrow { display: inline-block; width: 1.1em; height: .7em; margin-left: .5em; background: currentColor; transition: transform .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h19M14 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h19M14 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.duo-item .domain-tag { margin-bottom: 12px; }
.text-link:hover .arrow, .btn:hover .arrow, .service-row:hover .arrow { transform: translateX(4px); }

/* ---------- Hero stage strip ---------- */
.hero-inner { justify-content: flex-end; padding-bottom: 0; min-height: min(84vh, 800px); }
.hero-copy { margin-block: auto; padding-bottom: clamp(40px, 5vw, 72px); }
.hero-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .26); }
.hero-strip li { padding: 20px 28px 26px 0; }
.hero-strip li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .26); }
.hero-strip .num { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--pink); }
.hero-strip strong { display: block; margin-top: 4px; font-size: 1.1875rem; letter-spacing: -.02em; color: var(--white); }
.hero-strip span.desc { display: block; margin-top: 2px; font-size: .9375rem; color: #D5DFE5; }
@media (max-width: 900px) {
  .hero-inner { min-height: 0; }
  .hero-strip li { padding: 14px 12px 18px 0; }
  .hero-strip li + li { padding-left: 12px; }
  .hero-strip strong { font-size: 1rem; }
  .hero-strip span.desc { display: none; }
}

/* ---------- Figures and the cross-section diagram ---------- */
.figure { position: relative; margin: 0; padding: clamp(14px, 2.6vw, 40px) clamp(10px, 2.6vw, 40px) 0; background: var(--paper); border: 1px solid var(--line); }
.figure::before { content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--navy), var(--navy)) left top / 22px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) left top / 2px 22px no-repeat,
    linear-gradient(var(--navy), var(--navy)) right top / 22px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) right top / 2px 22px no-repeat,
    linear-gradient(var(--navy), var(--navy)) left bottom / 22px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) left bottom / 2px 22px no-repeat,
    linear-gradient(var(--navy), var(--navy)) right bottom / 22px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) right bottom / 2px 22px no-repeat; }
.figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: clamp(8px, 1.4vw, 20px); padding: 14px 0 16px; border-top: 1px solid var(--line); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.figure figcaption span:first-child { color: var(--burgundy); }

.dg { display: block; width: 100%; height: auto; overflow: visible;
  --dg-ink: #0A3046; --dg-1: #597585; --dg-2: #8FA6B2; --dg-3: #B4C3CB; --dg-4: #CBD6DC;
  --dg-accent: #871A38; --dg-plant: #334A59; --dg-text: #536B78; --dg-halo: #F7F8F7; }
.on-dark .dg, .dg-on-dark .dg { --dg-ink: #FFFFFF; --dg-1: #D5DFE5; --dg-2: #A9BDC8; --dg-3: #7F9CAB; --dg-4: #5F8192;
  --dg-accent: #F3BCC9; --dg-plant: #E6ECEF; --dg-text: #D5DFE5; --dg-halo: #0A3046; }
.dg path, .dg rect, .dg circle { stroke-width: 2.2; }
.dg-ruler path, .dg-dim path { stroke: var(--dg-3); stroke-width: 1.4; }
.dg-ink { stroke: var(--dg-ink); stroke-width: 2.6 !important; }
.dg-hatch { stroke: var(--dg-2); stroke-width: 1.4 !important; }
.dg-s1 { stroke: var(--dg-1); } .dg-s2 { stroke: var(--dg-2); } .dg-s3 { stroke: var(--dg-3); } .dg-s4 { stroke: var(--dg-4); }
.dg-plant { stroke: var(--dg-plant); }
.dg-accent { stroke: var(--dg-accent); stroke-width: 2.8 !important; }
.dg-dot { fill: var(--dg-accent); stroke: var(--dg-halo); stroke-width: 3 !important; }
.dg-labels text { font: 600 12px var(--font); letter-spacing: .08em; fill: var(--dg-text); stroke: var(--dg-halo); stroke-width: 6px; paint-order: stroke; }
.dg-labels .dg-label-strong { font-weight: 700; letter-spacing: .16em; fill: var(--dg-ink); }
.dg-sub, .dg-surface { transition: opacity .3s; }
.dg-focus-sub .dg-surface, .dg-focus-surface .dg-sub { opacity: .32; }
@media (max-width: 760px) {
  .dg-labels { display: none; }
  .dg path, .dg rect, .dg circle { stroke-width: 4; }
  .dg-accent { stroke-width: 5 !important; }
  .dg-ink { stroke-width: 4.5 !important; }
  .dg-ruler path, .dg-dim path, .dg-hatch { stroke-width: 2.4 !important; }
  .dg-dot { r: 8px; }
}

/* Diagram used as a hero figure on the service pages */
.hero-diagram { margin: 0; padding: clamp(18px, 2.4vw, 34px) clamp(14px, 2.2vw, 30px) 0; border: 1px solid rgba(255, 255, 255, .28); background:
  linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 40px,
  linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 40px 100%,
  var(--navy-deep); }
.hero-diagram .dg-labels { display: none; }
.hero-diagram figcaption { margin-top: 10px; padding: 14px 0 16px; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: 1rem; color: var(--white); }

/* Line drawing: runs once on load for hero figures, on scroll elsewhere */
@keyframes dg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dg-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .dg-autoplay .dg-draw { stroke-dasharray: 1; animation: dg-draw 1.8s cubic-bezier(.45, 0, .2, 1) both; }
  .dg-autoplay .dg-s2 { animation-delay: .12s; } .dg-autoplay .dg-s3 { animation-delay: .24s; } .dg-autoplay .dg-s4 { animation-delay: .36s; }
  .dg-autoplay .dg-well { animation-delay: .5s; } .dg-autoplay .dg-flow { animation-delay: 1.3s; animation-duration: 1.1s; }
  .dg-autoplay .dg-fade { animation: dg-fade .6s ease 1.9s both; }
  .js .will-reveal .dg-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .will-reveal .dg-fade { opacity: 0; }
  .js .will-reveal.is-in .dg-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.45, 0, .2, 1) .15s; }
  .js .will-reveal.is-in .dg-s2 { transition-delay: .27s; } .js .will-reveal.is-in .dg-s3 { transition-delay: .39s; } .js .will-reveal.is-in .dg-s4 { transition-delay: .51s; }
  .js .will-reveal.is-in .dg-well { transition-delay: .65s; } .js .will-reveal.is-in .dg-flow { transition-delay: 1.45s; transition-duration: 1.1s; }
  .js .will-reveal.is-in .dg-fade { opacity: 1; transition: opacity .6s ease 2s; }

  /* Scroll reveal for blocks below the first screen */
  .js [data-reveal].will-reveal { opacity: 0; transform: translateY(18px); }
  .js [data-reveal].will-reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .6, .2, 1); }
  .js figure[data-reveal].will-reveal { transform: none; }
}

/* ---------- Service index rows ---------- */
.service-rows { border-top: 2px solid var(--navy); }
.service-row { display: grid; grid-template-columns: clamp(64px, 8vw, 132px) minmax(0, 1fr) minmax(0, 1.15fr) 200px; gap: 14px clamp(24px, 3.4vw, 64px); align-items: start; padding: clamp(28px, 3.6vw, 60px) 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.service-row .spec-num { padding-top: .08em; }
.service-row .domain-tag { margin-bottom: 10px; }
.service-row h3 { transition: color .2s; }
.service-row:hover h3 { color: var(--burgundy); }
.service-row p { font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); }
.service-row .row-points { margin-top: 16px; display: grid; gap: 6px; font-size: 1rem; }
.service-row .row-points li { position: relative; padding-left: 18px; }
.service-row .row-points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--burgundy); }
.service-row .row-go { align-self: center; justify-self: end; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--navy); white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .32em; }
.service-row:hover .row-go { color: var(--burgundy); }
.service-row:nth-child(2) .spec-num { color: var(--burgundy); }
@media (max-width: 1000px) {
  .service-row { grid-template-columns: clamp(52px, 9vw, 96px) minmax(0, 1fr); }
  .service-row > :nth-child(n+3) { grid-column: 2; }
  .service-row .row-go { align-self: start; justify-self: start; }
}

/* ---------- Spec rows (pillars) ---------- */
.spec { border-top: 2px solid var(--navy); }
.spec li { display: grid; grid-template-columns: clamp(64px, 8vw, 132px) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 8px clamp(24px, 3.4vw, 64px); align-items: baseline; padding: clamp(22px, 2.5vw, 40px) 0; border-bottom: 1px solid var(--line); }
.spec-num { font-size: clamp(2rem, 2.4vw + 1rem, 3.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--steel); font-variant-numeric: tabular-nums; }
.spec li:last-child .spec-num { color: var(--burgundy); }
.spec p { font-size: clamp(1.0625rem, .25vw + 1rem, 1.1875rem); }
.spec .spec-tag { font-weight: 700; color: var(--navy); text-align: right; }
@media (max-width: 1000px) {
  .spec li { grid-template-columns: clamp(52px, 9vw, 96px) minmax(0, 1fr); }
  .spec li > :nth-child(n+3) { grid-column: 2; }
  .spec .spec-tag { text-align: left; margin-top: 4px; }
}

/* ---------- Stage comparison as ruled columns, not boxes ---------- */
.compare { gap: 0; border-top: 2px solid var(--navy); }
.compare-card, .section-white .compare-card { background: none; border: 0; border-right: 1px solid var(--line); padding: clamp(24px, 2.6vw, 44px) clamp(20px, 2.6vw, 44px) clamp(8px, 1vw, 16px); }
.compare-card:first-child { padding-left: 0; }
.compare-card:last-child { border-right: 0; padding-right: 0; }
.compare-card .num { font-size: clamp(2rem, 2.4vw + 1rem, 3.5rem); letter-spacing: -.05em; line-height: 1; color: var(--steel); display: block; }
.compare-card:last-child .num { color: var(--burgundy); }
.compare-card h3 { margin-top: 18px; }
.compare-card .compare-question { min-height: 3.2em; }
@media (max-width: 1000px) {
  .compare-card, .section-white .compare-card { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 14px; }
  .compare-card .compare-question { min-height: 0; }
}

/* Home stage strip retired in favour of the hero strip */
.duo-services { margin-top: clamp(28px, 3.4vw, 56px); }

/* ---------- Connected section on service pages ---------- */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px clamp(32px, 5vw, 96px); align-items: center; }
.connect p { margin-top: 20px; max-width: 32em; font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); }
.connect .text-link { margin-top: 26px; }
.connect .eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(14px, 1.4vw, 22px); }
.connect .eyebrow::before { content: ""; flex: none; width: 34px; height: 2px; background: currentColor; }
@media (max-width: 1000px) { .connect { grid-template-columns: minmax(0, 1fr); } }

/* Breadcrumb in service page heroes */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .3em; }
.crumbs span[aria-hidden] { opacity: .6; }

/* Diagram at half width (service heroes, connected section): heavier lines, no in-drawing labels */
.hero-diagram .dg path, .hero-diagram .dg rect, .hero-diagram .dg circle,
.connect .dg path, .connect .dg rect, .connect .dg circle { stroke-width: 3.6; }
.hero-diagram .dg-accent, .connect .dg-accent { stroke-width: 4.6 !important; }
.hero-diagram .dg-ink, .connect .dg-ink { stroke-width: 4 !important; }
.hero-diagram .dg-ruler path, .hero-diagram .dg-dim path, .hero-diagram .dg-hatch,
.connect .dg-ruler path, .connect .dg-dim path, .connect .dg-hatch { stroke-width: 2.2 !important; }
.hero-diagram .dg-dot, .connect .dg-dot { r: 7px; }
.connect .dg-labels { display: none; }
.page-hero-inner:has(.hero-diagram) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
@media (max-width: 900px) { .page-hero-inner:has(.hero-diagram) { grid-template-columns: minmax(0, 1fr); } }
