/* =========================================================
   ASHNET — Systems Integration website
   Design system v4: corporate / photo-led integrator style.
   Real photography carries the visual weight — no abstract
   gradients, no node-graphs. White + navy + red.
   ========================================================= */

:root {
  --navy:        #1c305b;
  --navy-deep:   #101c37;
  --red:         #ed2526;
  --red-dim:     #c81f20;

  --ink:         #10192b;
  --ink-soft:    #3d4a63;
  --muted:       #5c6a85;
  --faint:       #8891a5;

  --bg:          #ffffff;
  --bg-soft:     #f3f5f8;
  --border:      #e2e5ec;
  --border-strong: #cfd4e0;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1200px;
  --radius-lg: 10px;
  --radius: 8px;
  --radius-sm: 6px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body { background: var(--bg); color: var(--ink-soft); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 0.75rem 1.25rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.05rem; color: var(--ink); }

p { color: var(--muted); max-width: 62ch; }
p.lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 58ch; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--space-6) 0; }
@media (max-width: 720px) { section { padding: var(--space-5) 0; } }

.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.section-head--wide { max-width: 760px; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--red); margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

.bg-soft { background: var(--bg-soft); }
.border-top { border-top: 1px solid var(--border); }

/* ---------- Buttons (rounded-rect, corporate) ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1.7rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; white-space: nowrap; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dim); }
.btn--ghost { border-color: var(--border-strong); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--on-photo { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); }
.btn--on-photo:hover { background: rgba(255,255,255,0.18); }
.btn--small { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 0.9rem 1.5rem; display: flex; align-items: center; gap: 1.75rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; }
.brand__mark { border-radius: 4px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; gap: 0.15rem; }
.brand__wordmark { height: 19px; width: auto; display: block; }
.brand__tagline { font-size: 0.7rem; color: var(--faint); white-space: nowrap; }

.primary-nav ul { display: flex; gap: 1.1rem; white-space: nowrap; }
.primary-nav a { font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); border-color: var(--red); }
.site-header__actions { display: flex; gap: 0.75rem; align-items: center; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--border); background: #fff; }
.mobile-nav ul { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a { display: block; padding: 0.85rem 0.25rem; color: var(--ink); border-bottom: 1px solid var(--border); font-size: 1.02rem; }
.mobile-nav__cta { color: var(--red) !important; font-weight: 600; border-bottom: none !important; }

@media (max-width: 1180px) { .primary-nav, .site-header__actions { display: none; } .nav-toggle { display: flex; } }

/* ---------- Photo hero ---------- */
.photo-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.photo-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,25,43,0.78) 0%, rgba(16,25,43,0.72) 40%, rgba(16,25,43,0.92) 100%); }
.photo-hero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: var(--space-6) 1.5rem var(--space-5); width: 100%; }
.photo-hero__eyebrow { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 1rem; font-weight: 500; }
.photo-hero h1 { color: #fff; max-width: 760px; margin-bottom: var(--space-3); }
.photo-hero p.lede { color: rgba(255,255,255,0.92); max-width: 620px; margin-bottom: 0.75rem; }
.photo-hero p { color: rgba(255,255,255,0.72); max-width: 620px; margin-bottom: var(--space-4); }
.photo-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 720px) { .photo-hero { min-height: 560px; } }

/* ---------- Stat strip (dark navy) ---------- */
.stat-strip { background: var(--navy-deep); }
.stat-strip__inner { max-width: var(--container); margin: 0 auto; padding: var(--space-4) 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.stat-strip__item .stat-strip__num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: #fff; display: block; }
.stat-strip__item .stat-strip__label { font-size: 0.85rem; color: rgba(255,255,255,0.62); }
@media (max-width: 780px) { .stat-strip__inner { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Stage flow ---------- */
.stage-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-4); }
.stage-flow__item { padding: 0.9rem 1.4rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 0.92rem; color: var(--ink); background: #fff; }
.stage-flow__sep { color: var(--faint); font-size: 1.1rem; }

/* ---------- Split sections (image + text, alternating) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text .section-tag { display: block; }
.split__text ul.list-plain { margin-top: var(--space-3); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--space-3); }
  .split--reverse .split__media, .split--reverse .split__text { order: initial; }
}
.split + .split { margin-top: var(--space-6); }
@media (max-width: 720px) { .split + .split { margin-top: var(--space-5); } }

/* ---------- Capability breakdown table ---------- */
.cap-table { margin-top: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cap-row { display: grid; grid-template-columns: 280px 1fr; border-top: 1px solid var(--border); }
.cap-row:first-child { border-top: none; }
.cap-row__domain { padding: var(--space-3); background: var(--bg-soft); display: flex; align-items: center; }
.cap-row__domain h3 { font-size: 1.1rem; }
.cap-row__detail { padding: var(--space-3); display: flex; align-items: center; }
.cap-row__detail p { margin: 0; font-size: 0.97rem; }
@media (max-width: 780px) { .cap-row { grid-template-columns: 1fr; } .cap-row__domain { padding-bottom: 0.5rem; } }

/* ---------- Execution capability tiles (text-led, no photos) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: var(--space-4); }
.tile { background: #fff; padding: var(--space-3); }
.tile__index { display: inline-block; font-family: var(--font-display); color: var(--red); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: 0.04em; }
.tile h3 { margin-bottom: 0.5rem; }
.tile p { font-size: 0.95rem; }
@media (max-width: 720px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- Lifecycle (8 stage) ---------- */
.lifecycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--space-4); border-top: 1px solid var(--border-strong); }
.lifecycle__stage { padding: var(--space-3) var(--space-2) var(--space-2); border-right: 1px solid var(--border); position: relative; }
.lifecycle__stage:nth-child(4n) { border-right: none; }
.lifecycle__stage::before { content: ''; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--red); }
.lifecycle__num { font-family: var(--font-display); color: var(--faint); font-size: 0.95rem; display: block; margin-bottom: 0.75rem; }
.lifecycle__stage h4 { margin-bottom: 0.4rem; }
.lifecycle__stage p { font-size: 0.9rem; }
@media (max-width: 860px) { .lifecycle { grid-template-columns: repeat(2, 1fr); } .lifecycle__stage:nth-child(4n) { border-right: 1px solid var(--border); } .lifecycle__stage:nth-child(2n) { border-right: none; } }
@media (max-width: 540px) { .lifecycle { grid-template-columns: 1fr; } .lifecycle__stage { border-right: none !important; border-bottom: 1px solid var(--border); } }

/* ---------- Steps (3-part explainers) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: var(--space-4); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); }
.step__num { font-family: var(--font-display); color: var(--red); font-size: 1.6rem; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* ---------- ASHNET roles (editorial list, with photo alongside) ---------- */
.role-list { margin-top: var(--space-4); }
.role-row { display: grid; grid-template-columns: 60px 260px 1fr; gap: var(--space-3); align-items: baseline; padding: var(--space-2) 0; border-top: 1px solid var(--border); }
.role-row:last-child { border-bottom: 1px solid var(--border); }
.role-row__index { font-family: var(--font-display); color: var(--red); font-size: 1.1rem; }
.role-row h3 { font-size: 1.15rem; }
@media (max-width: 780px) { .role-row { grid-template-columns: 1fr; gap: 0.35rem; } .role-row__index { display: none; } }

/* ---------- Technology Universe (on dark photo panel) ---------- */
.tech-universe-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: var(--space-5) var(--space-3); }
.tech-universe-panel__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.tech-universe-panel__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,28,55,0.93), rgba(16,28,55,0.97)); }
.tech-universe-panel > :not(.tech-universe-panel__bg):not(.tech-universe-panel__scrim) { position: relative; z-index: 2; }
.tech-universe-panel h2, .tech-universe-panel .section-tag { color: #fff; }
.tech-universe-panel p.lede { color: rgba(255,255,255,0.85); }

.tech-universe { position: relative; max-width: 780px; margin: var(--space-5) auto 0; aspect-ratio: 1 / 1; }
.tech-universe__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 116px; height: 116px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; letter-spacing: 0.02em; z-index: 3; text-align: center; font-size: 0.95rem; box-shadow: 0 0 0 8px rgba(237,37,38,0.15); }
.tech-universe__node { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.tech-universe__node button { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); color: #fff; border-radius: var(--radius-sm); padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 500; white-space: nowrap; backdrop-filter: blur(3px); transition: border-color 0.2s ease, background-color 0.2s ease; }
.tech-universe__node button:hover, .tech-universe__node button[aria-expanded="true"] { border-color: var(--red); background: rgba(237,37,38,0.18); }
.tech-universe svg.tech-universe__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tech-universe__lines .tech-universe__line { stroke: rgba(255,255,255,0.18); stroke-width: 1; }
.tech-universe__detail { margin-top: var(--space-3); min-height: 3.2em; text-align: center; max-width: 520px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.85); }

@media (max-width: 780px) { .tech-universe { display: none; } .tech-universe__detail { display: none; } }
.tech-universe-list { display: none; margin-top: var(--space-4); }
@media (max-width: 780px) {
  .tech-universe-list { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); overflow: hidden; }
  .tech-universe-list .panel { background: rgba(255,255,255,0.04); border: none; border-radius: 0; padding: var(--space-2) var(--space-3); }
  .tech-universe-list .panel h3 { color: #fff; }
  .tech-universe-list .panel p { color: rgba(255,255,255,0.7); }
}

/* ---------- Generic panel grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid, .grid--2 { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); }
.panel h3 { margin-bottom: 0.6rem; }
.panel p { font-size: 0.96rem; }

.industry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: var(--space-4); }
@media (max-width: 720px) { .industry-list { grid-template-columns: 1fr; } }

/* ---------- Photo tile grid (experience) ---------- */
.photo-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: var(--space-4); }
.photo-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,25,43,0) 40%, rgba(16,25,43,0.85) 100%); }
.photo-tile__label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; color: #fff; font-weight: 600; font-size: 0.98rem; z-index: 1; }
@media (max-width: 940px) { .photo-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-tiles { grid-template-columns: 1fr; } }

/* ---------- Chips ---------- */
.capability-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-3); }
.chip { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0.45rem 1rem; font-size: 0.85rem; color: var(--ink-soft); background: #fff; }

/* ---------- Model / integration diagram ---------- */
.model { display: grid; grid-template-columns: 1fr; gap: var(--space-2); text-align: center; max-width: 760px; margin: var(--space-4) auto 0; }
.model__tier { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); background: #fff; }
.model__tier--brand { border: none; background: var(--navy); color: #fff; }
.model__tier--brand h4 { color: #fff; }
.model__tier--brand .chip { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); color: #fff; }
.model__tier h4 { margin-bottom: 0.5rem; }
.model__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.model__arrow { color: var(--faint); font-size: 1.3rem; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--border); }
.feature-row:last-child { border-bottom: 1px solid var(--border); }
@media (max-width: 720px) { .feature-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- CTA (photo background) ---------- */
.cta-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: var(--space-5) var(--space-4); text-align: center; }
.cta-photo__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-photo__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,25,43,0.86), rgba(16,25,43,0.92)); }
.cta-photo > :not(.cta-photo__bg):not(.cta-photo__scrim) { position: relative; z-index: 2; }
.cta-photo h2 { color: #fff; margin-bottom: 1rem; }
.cta-photo p { margin: 0 auto var(--space-3); color: rgba(255,255,255,0.82); }
.cta-photo .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta-band { background: var(--navy); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); text-align: center; color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { margin: 0 auto var(--space-3); color: rgba(255,255,255,0.82); }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Signature band ---------- */
.signature-band { position: relative; text-align: center; padding: var(--space-6) var(--space-3); background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.signature-band > .container { position: relative; z-index: 2; }
.signature-band h2 { max-width: 820px; margin: 0 auto 1rem; }
.signature-band .signature-band__reply { font-family: var(--font-display); color: var(--red); font-size: 1.3rem; margin-bottom: 1.5rem; }
.signature-band p.lede { margin: 0 auto var(--space-3); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: var(--space-5); background: var(--bg-soft); }
.site-footer__top { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem var(--space-4); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-4); }
@media (max-width: 820px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer__logo { margin-bottom: 1rem; }
.site-footer__brand p { font-size: 0.9rem; margin-top: 0.4rem; }
.site-footer h2 { font-size: 0.85rem; color: var(--faint); font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer__col ul li { margin-bottom: 0.6rem; }
.site-footer__col a { color: var(--muted); font-size: 0.92rem; }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__sister p { font-size: 0.88rem; margin-bottom: 1rem; }
.site-footer__bottom { border-top: 1px solid var(--border); margin-top: var(--space-4); padding: var(--space-3) 1.5rem; max-width: var(--container); margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--faint); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-5); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-types { display: flex; flex-direction: column; gap: 0.85rem; margin-top: var(--space-3); }
.contact-types .panel { padding: var(--space-2) var(--space-3); }

.form-field { margin-bottom: var(--space-2); }
.form-field label { display: block; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--ink-soft); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem; color: var(--ink); font-family: var(--font-body); font-size: 0.98rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: var(--space-3); font-size: 0.95rem; }
.form-notice--success { background: #eafaf1; border: 1px solid #b6ecc9; color: #1a7a41; }
.form-notice--error { background: #fdecec; border: 1px solid #f6bcbc; color: #b42323; }

/* ---------- Page intro (photo banner variant) ---------- */
.page-banner { position: relative; padding: var(--space-6) 0 var(--space-5); overflow: hidden; }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,25,43,0.82), rgba(16,25,43,0.9)); }
.page-banner__inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; }
.page-banner p.lede { color: rgba(255,255,255,0.88); }
.page-banner .page-intro__eyebrow { color: #ff9d9d; }

.page-intro { padding: var(--space-5) 0 var(--space-4); border-bottom: 1px solid var(--border); }
.page-intro__eyebrow { color: var(--red); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.9rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-plain li { color: var(--muted); padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.list-plain li:last-child { border-bottom: none; }

/* =========================================================
   Motion and interaction layer
   Adds hover feedback and a scroll-reveal system. The reveal
   only activates once JS confirms it's running (html.js-anim),
   so content is always visible if JS fails or is disabled.
   ========================================================= */

/* ---------- Hero load-in (always on, respects reduced motion via the global reset) ---------- */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.photo-hero__inner > * { animation: heroFadeUp 0.7s ease both; }
.photo-hero__inner > *:nth-child(1) { animation-delay: 0s; }
.photo-hero__inner > *:nth-child(2) { animation-delay: 0.08s; }
.photo-hero__inner > *:nth-child(3) { animation-delay: 0.16s; }
.photo-hero__inner > *:nth-child(4) { animation-delay: 0.24s; }
.photo-hero__inner > *:nth-child(5) { animation-delay: 0.32s; }

/* ---------- Buttons: lift + shadow on hover ---------- */
.btn { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary:hover { box-shadow: 0 10px 22px -10px rgba(237,37,38,0.55); }
.btn--ghost:hover { box-shadow: 0 10px 20px -14px rgba(16,25,43,0.3); }
.btn--on-photo:hover { box-shadow: 0 10px 20px -14px rgba(0,0,0,0.4); }
.btn:active { transform: translateY(0); }

/* ---------- Nav: animated underline instead of a static border ---------- */
.primary-nav a { position: relative; border-bottom: none; }
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { width: 100%; }

/* ---------- Cards / panels: lift on hover ---------- */
.panel, .tile, .step, .bento__card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.panel:hover, .tile:hover, .step:hover, .bento__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px -24px rgba(16,25,43,0.35);
  border-color: var(--border-strong);
}
.cap-row { transition: background-color 0.2s ease; }
.cap-row:hover { background: var(--bg-soft); }
.role-row, .feature-row { transition: background-color 0.2s ease; }
.role-row:hover, .feature-row:hover { background: var(--bg-soft); }

/* ---------- Chips: subtle highlight on hover ---------- */
.chip { transition: border-color 0.2s ease, color 0.2s ease, transform 0.18s ease; }
.chip:hover { border-color: var(--navy); color: var(--ink); transform: translateY(-2px); }

/* ---------- Split image zoom on hover ---------- */
.split__media img { transition: transform 0.6s ease; }
.split:hover .split__media img { transform: scale(1.06); }

/* ---------- Photo tiles (used for photo grids) ---------- */
.photo-tile img { transition: transform 0.6s ease; }
.photo-tile:hover img { transform: scale(1.06); }

/* ---------- Tech universe nodes: slightly livelier hover ---------- */
.tech-universe__node button { transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.tech-universe__node button:hover { transform: scale(1.08); }

/* ---------- Footer / text links ---------- */
.site-footer__col a { transition: color 0.2s ease; }
.panel__link { transition: color 0.2s ease; }

/* ---------- Scroll reveal ---------- */
html.js-anim .reveal-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js-anim .reveal-target.in-view { opacity: 1; transform: none; }

/* Stagger repeated items within a revealed group */
.tile-grid .tile:nth-child(1), .role-list .role-row:nth-child(1), .photo-tiles .photo-tile:nth-child(1), .grid > *:nth-child(1), .industry-list > *:nth-child(1), .steps .step:nth-child(1), .lifecycle__stage:nth-child(1) { transition-delay: 0s; }
.tile-grid .tile:nth-child(2), .role-list .role-row:nth-child(2), .photo-tiles .photo-tile:nth-child(2), .grid > *:nth-child(2), .industry-list > *:nth-child(2), .steps .step:nth-child(2), .lifecycle__stage:nth-child(2) { transition-delay: 0.08s; }
.tile-grid .tile:nth-child(3), .role-list .role-row:nth-child(3), .photo-tiles .photo-tile:nth-child(3), .grid > *:nth-child(3), .industry-list > *:nth-child(3), .steps .step:nth-child(3), .lifecycle__stage:nth-child(3) { transition-delay: 0.16s; }
.tile-grid .tile:nth-child(4), .role-list .role-row:nth-child(4), .photo-tiles .photo-tile:nth-child(4), .grid > *:nth-child(4), .industry-list > *:nth-child(4), .steps .step:nth-child(4), .lifecycle__stage:nth-child(4) { transition-delay: 0.24s; }
.tile-grid .tile:nth-child(5), .role-list .role-row:nth-child(5), .grid > *:nth-child(5), .industry-list > *:nth-child(5), .lifecycle__stage:nth-child(5) { transition-delay: 0.32s; }
.tile-grid .tile:nth-child(6), .role-list .role-row:nth-child(6), .grid > *:nth-child(6), .lifecycle__stage:nth-child(6) { transition-delay: 0.4s; }
.role-list .role-row:nth-child(7) { transition-delay: 0.48s; }
.lifecycle__stage:nth-child(7) { transition-delay: 0.48s; }
.lifecycle__stage:nth-child(8) { transition-delay: 0.56s; }

/* ---------- Stat numbers: quiet count-up feel via a fade+rise ---------- */
html.js-anim .stat-strip__item { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js-anim .stat-strip__item.in-view { opacity: 1; transform: none; }
.stat-strip__item:nth-child(1) { transition-delay: 0s; }
.stat-strip__item:nth-child(2) { transition-delay: 0.1s; }
.stat-strip__item:nth-child(3) { transition-delay: 0.2s; }
.stat-strip__item:nth-child(4) { transition-delay: 0.3s; }

/* =========================================================
   Living-website layer: ambient and data-flow motion.
   Everything here is transform/opacity driven for performance,
   and the global reduced-motion reset (top of file) neutralises
   all of it for anyone who has that preference set.
   ========================================================= */

/* ---------- Hero / photo panels: slow continuous Ken Burns drift ---------- */
@keyframes heroKenBurns {
  0%   { transform: scale(1) translate3d(0,0,0); }
  100% { transform: scale(1.09) translate3d(-1%, -1%, 0); }
}
.photo-hero__bg { animation: heroKenBurns 18s ease-in-out infinite alternate; will-change: transform; }
.page-banner__bg, .tech-universe-panel__bg, .cta-photo__bg {
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

/* A slow-moving light sweep across dark photo scrims, echoing a
   data signal passing through infrastructure. Kept subtle. */
@keyframes lightSweep {
  0%   { transform: translateX(-40%) skewX(-12deg); opacity: 0; }
  15%  { opacity: 0.5; }
  50%  { opacity: 0.5; }
  85%  { opacity: 0; }
  100% { transform: translateX(140%) skewX(-12deg); opacity: 0; }
}
.photo-hero, .tech-universe-panel, .cta-photo, .signature-band { position: relative; }
.photo-hero::after, .tech-universe-panel::after, .cta-photo::after, .signature-band::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  animation: lightSweep 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.signature-band::after { background: linear-gradient(90deg, transparent, rgba(28,48,91,0.07), transparent); }

/* ---------- Section tags: a small red underline draws in on reveal ---------- */
.section-tag { position: relative; padding-bottom: 0.5rem; display: inline-block; }
.section-tag::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 28px;
  background: var(--red);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.15s;
}
html.js-anim .section-tag.in-view::after { transform: scaleX(1); }
html:not(.js-anim) .section-tag::after { transform: scaleX(1); }

/* ---------- Lifecycle: the red marker draws in left to right ---------- */
.lifecycle__stage::before { transform: scaleX(0); transform-origin: left center; transition: transform 0.5s ease 0.1s; }
html.js-anim .lifecycle__stage.in-view::before { transform: scaleX(1); }
html:not(.js-anim) .lifecycle__stage::before { transform: scaleX(1); }

/* ---------- Buttons: a light shine sweeps across on hover ---------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

/* ---------- Split media: settle in with a gentle zoom-out + fade ---------- */
.split__media img { transform: scale(1.08); opacity: 0.001; transition: transform 1s ease, opacity 0.9s ease; }
html.js-anim .split.in-view .split__media img { transform: scale(1); opacity: 1; }
html:not(.js-anim) .split__media img { transform: none; opacity: 1; }
.split:hover .split__media img { transform: scale(1.06); }

/* ---------- Chips: soft colour ripple on hover ---------- */
.chip { position: relative; overflow: hidden; z-index: 0; }
.chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237,37,38,0.12), rgba(28,48,91,0.12));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
  z-index: -1;
}
.chip:hover::after { transform: scaleX(1); }

/* ---------- Tech universe: connecting lines get an animated dash flow ---------- */
.tech-universe__lines .tech-universe__line {
  stroke-dasharray: 4 5;
  animation: dashFlow 2.6s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -18; } }
.tech-universe__pulse { fill: var(--red); filter: drop-shadow(0 0 3px rgba(237,37,38,0.9)); }

/* ---------- Tech universe centre: a slow breathing glow ---------- */
@keyframes softPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
.tech-universe__center { animation: softPulse 3.2s ease-in-out infinite; }

/* ---------- Stat numbers: digits are animated by JS; this just keeps them steady width ---------- */
.stat-strip__num { font-variant-numeric: tabular-nums; display: inline-block; }
