:root {
  --bg: #f8f4ed;
  --bg-alt: #f0ebe3;
  --surface: #fffdf9;
  --surface-soft: #f5efe6;
  --ink: #171311;
  --charcoal: #171311;
  --muted: #6a5d54;
  --line: rgba(23, 19, 17, 0.1);
  --accent: #f47a1f;
  --accent-deep: #d86410;
  --accent-soft: #f7c79c;
  --dark: #151311;
  --dark-soft: #221d19;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  --radius: 2px;
  --max: 1240px;
  --font-display: "Archivo", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.utility-bar .wrap,
.site-header .wrap,
main .wrap,
.site-footer .wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.utility-bar {
  background: #161311;
  color: #d9c8ba;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.utility-links,
.utility-note,
.hero-actions,
.inline-actions,
.chip-row,
.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.utility-pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #ece4d9;
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.95rem 0;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark img {
  width: auto;
  height: clamp(74px, 6vw, 92px);
}

.brand-copy {
  display: none;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid #dcd2c6 !important;
  background: #ffffff !important;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  color: #171311 !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-toggle svg {
  stroke: #171311 !important;
  display: block;
}

.nav-toggle:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: rgba(244, 122, 31, 0.08) !important;
}

.nav-toggle:hover svg {
  stroke: var(--accent) !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.site-nav a:not(.cta-link) {
  position: relative;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #3c342e;
}

.site-nav a:not(.cta-link):hover,
.site-nav a:not(.cta-link)[aria-current="page"] {
  color: var(--accent);
}

.site-nav a:not(.cta-link)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--accent);
}

.site-nav .nav-cta {
  margin-left: 0.8rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cta-link:hover {
  transform: translateY(-1px);
}

.cta-link.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(244, 122, 31, 0.2);
}

.cta-link.primary:hover {
  background: var(--accent-deep);
}

.cta-link.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.cta-link.secondary.dark {
  color: var(--ink);
  border-color: rgba(23, 19, 17, 0.22);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.hero,
.section-block,
.page-hero,
.cta-band,
.story-section,
.page-section {
  padding: 5rem 0;
}

.hero {
  padding-top: 0;
}

.who-band {
  background: #fffdf9;
}

.mechanics-band {
  background: var(--bg-alt);
}

.intro-duo-band {
  padding: 0;
}

.intro-duo-band .wrap {
  width: 100%;
  max-width: none;
}

.intro-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.intro-duo-panel {
  display: flex;
  align-items: center;
  min-height: 390px;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
}

.intro-duo-panel .section-header {
  width: 100%;
  margin-bottom: 0;
}

.intro-duo-panel .section-title {
  font-size: clamp(2.35rem, 3.8vw, 4rem);
}

.intro-duo-panel .section-copy {
  max-width: 36rem;
}

.ownership-band {
  background: #fffdf9;
}

.network-intro {
  background: #fffdf9;
}

.field-feature {
  background: #fffdf9;
}

.hero-grid,
.split-grid,
.story-grid,
.feature-grid,
.stats-grid,
.cluster-grid,
.insight-grid,
.footer-grid,
.form-layout {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 0;
}

.hero-copy,
.panel,
.story-panel,
.contact-card,
.quote-form {
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.hero-copy .eyebrow {
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(244, 122, 31, 0.3);
  background: rgba(244, 122, 31, 0.12);
}

.hero-copy .eyebrow::before {
  display: none;
}

.hero-copy h1,
.page-hero h1,
.section-title,
.footer-title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.15rem);
}

.home-page .hero-copy h1,
.home-page.premium-page .hero-copy h1 {
  max-width: 100%;
  font-size: clamp(2.35rem, 3.65vw, 3.55rem);
  font-weight: 580;
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
  color: var(--accent);
}

.keep-word {
  white-space: nowrap;
}

.premium-page:not(.home-page) .hero-copy h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.premium-page .hero-copy p {
  font-size: 1.15rem;
}

/* Client ask: make the hero eyebrow line stand out more, keypad/badge-like. */
.eyebrow-standout {
  padding: 0.6rem 1rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.2em !important;
  border: 1px solid rgba(244, 122, 31, 0.55) !important;
  background: rgba(244, 122, 31, 0.18) !important;
  box-shadow: 0 0 0 4px rgba(244, 122, 31, 0.08);
}

.eyebrow-standout::before {
  display: none;
}

.hero-copy p,
.page-hero p,
.section-copy,
.lede,
.panel p,
.story-panel p,
.contact-card p,
.quote-form p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.hero-copy p {
  color: #c9c1ba;
}

.hero-copy .hero-subline {
  margin-top: 1.4rem;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: #fff;
}

.home-page .hero-copy .hero-subline,
.home-page.premium-page .hero-copy .hero-subline {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-top: 0.8rem;
}

.hero-copy p + .hero-subline {
  margin-top: 1.4rem;
}

.hero-copy .hero-subline + p {
  margin-top: 0.35rem;
}

.home-page .hero-copy h1,
.home-page.premium-page .hero-copy h1 {
  margin-bottom: 0;
}

.home-page .hero-copy .chip-row {
  margin-top: 1rem;
}

.home-page .hero-copy .cta-link.secondary.dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-visual,
.page-hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-visual img,
.page-hero-visual img,
.media-card img,
.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-visual img.image-contain {
  object-fit: contain;
  background: #050606;
}

.page-hero-visual img.image-light {
  background: #fdf3e7;
}

.hero-visual::after,
.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 16, 0.03), rgba(22, 18, 16, 0.22));
}

.floating-note,
.visual-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  padding: 0.75rem 0.95rem;
  background: rgba(20, 18, 16, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
}

.floating-note strong,
.visual-badge strong {
  display: block;
  font-size: 0.96rem;
}

.floating-note span,
.visual-badge span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.cluster-card,
.insight-card,
.process-step {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.stat-card span,
.meta-line,
.process-step span {
  display: inline-block;
  margin-top: 0.62rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.section-header.centered-copy {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-header.centered-copy .section-copy {
  max-width: 54rem;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.home-page main > section.section-block:not(.catalog-band):not(.process-band) .section-header .section-title {
  font-weight: 800;
}

.section-header .section-copy,
.lede {
  max-width: 40rem;
}

.chip-row {
  margin-top: 1.35rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.85rem;
  border: 1px solid rgba(244, 122, 31, 0.16);
  background: rgba(244, 122, 31, 0.08);
  font-size: 0.88rem;
}

.feature-grid,
.cluster-grid,
.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card h3,
.cluster-card h3,
.insight-card h3,
.process-step h3,
.story-panel h3,
.contact-card h3,
.catalog-card h3 {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.18;
}

.feature-card-media {
  width: calc(100% + 3rem);
  aspect-ratio: 4 / 3;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: -1.5rem -1.5rem 1rem;
  max-width: none;
}

.phase-count {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.phase-card h3 {
  margin-top: 0.7rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.14;
}

.feature-card ul,
.contact-card ul,
.quote-form ul {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.media-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.media-card figcaption {
  padding: 1rem 1.2rem 1.2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.split-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.story-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.about-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-mission-section {
  padding-top: 0;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.vision-mission-panel {
  min-height: 20rem;
}

.vision-mission-panel h2 {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.vision-mission-panel p {
  margin-top: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.profile-link-row {
  margin-top: 1.1rem;
}

.profile-link {
  padding: 0.72rem 0.95rem;
}

.story-panel,
.contact-card,
.quote-form,
.panel {
  padding: 1.7rem;
}

.process-flow {
  display: grid;
  gap: 1rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.process-step .count {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.cta-band .panel {
  background: var(--dark);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem);
}

.cta-band .panel p,
.cta-band .panel .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.insight-card {
  background: linear-gradient(180deg, #fffefb, #f4ede4);
}

.form-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.quote-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.field label {
  color: var(--muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(23, 19, 17, 0.16);
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field.full {
  grid-column: 1 / -1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(244, 122, 31, 0.16);
  border-color: var(--accent);
}

.form-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 3.25rem 0 2.3rem;
  background: #111111;
  color: #fff;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 0.8fr);
  align-items: start;
  gap: 2.5rem;
}

.footer-title {
  font-size: 2.05rem;
}

.footer-brand img {
  width: auto;
  height: clamp(104px, 8vw, 128px);
}

.footer-column {
  display: grid;
  gap: 0.9rem;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-note {
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 19rem;
}

.footer-quote .cta-link {
  width: fit-content;
  min-width: 12rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero .wrap {
  width: 100%;
  max-width: none;
}

.page-about .page-hero .wrap {
  width: min(calc(100% - 3rem), var(--max));
  max-width: var(--max);
}

.page-section .wrap,
.story-section .wrap,
.cta-band .wrap {
  width: min(calc(100% - 3rem), 1120px);
}

body:not(.home-page) .page-hero {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

body:not(.home-page) .page-hero .hero-copy {
  padding-left: max(3rem, calc((100vw - var(--max)) / 2 + 3rem));
  padding-right: 3rem;
}

body:not(.home-page) .page-hero .hero-grid,
body:not(.home-page) .page-hero .split-grid,
body:not(.home-page) .page-section .feature-grid,
body:not(.home-page) .page-section .insight-grid,
body:not(.home-page) .story-section .story-grid,
body:not(.home-page) .form-layout {
  gap: 1.25rem;
}

body:not(.home-page) .hero-copy,
body:not(.home-page) .page-hero-visual,
body:not(.home-page) .panel,
body:not(.home-page) .story-panel,
body:not(.home-page) .contact-card,
body:not(.home-page) .quote-form,
body:not(.home-page) .feature-card,
body:not(.home-page) .cluster-card,
body:not(.home-page) .insight-card,
body:not(.home-page) .process-step {
  box-shadow: var(--shadow);
}

/* start-a-program has no hero-copy/hero-visual split, so it must not inherit
   the edge-to-edge .page-hero .wrap treatment other subpages use to make
   room for a full-bleed hero image. Without this, the enquiry form and
   intro copy stretch unconstrained on wide screens instead of aligning
   with the site's max-width column. */
.page-start-program .page-hero .wrap {
  width: min(calc(100% - 2rem), var(--max));
  max-width: var(--max);
}

.page-capability .page-hero-visual {
  min-height: 680px;
  background: #17393b;
}

.page-capability .page-hero-visual img {
  object-position: 68% center;
}

@media (min-width: 981px) {
  body.page-capability .page-hero.page-hero,
  body.page-fabric-products .page-hero.page-hero,
  body.page-network .page-hero.page-hero,
  body.page-production-ledger .page-hero.page-hero,
  body.page-field-notes .page-hero.page-hero {
    display: flex;
    height: 60vh;
    min-height: 60vh;
    padding-top: 0;
    padding-bottom: 0;
  }

  body.page-capability .page-hero .hero-grid,
  body.page-fabric-products .page-hero .hero-grid,
  body.page-network .page-hero .hero-grid,
  body.page-production-ledger .page-hero .hero-grid,
  body.page-field-notes .page-hero .hero-grid {
    flex: 1;
    height: 100%;
    min-height: 0;
  }

  body.page-capability .page-hero .hero-copy,
  body.page-capability .page-hero .page-hero-visual,
  body.page-fabric-products .page-hero .hero-copy,
  body.page-fabric-products .page-hero .page-hero-visual,
  body.page-network .page-hero .hero-copy,
  body.page-network .page-hero .page-hero-visual,
  body.page-production-ledger .page-hero .hero-copy,
  body.page-production-ledger .page-hero .page-hero-visual,
  body.page-field-notes .page-hero .hero-copy,
  body.page-field-notes .page-hero .page-hero-visual {
    height: 100%;
    min-height: 0;
  }
}

body:not(.home-page) .page-hero h1 {
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.05;
}

body:not(.home-page) .section-title {
  font-weight: 600;
}

.page-capability .page-hero .wrap {
  width: 100%;
}

.page-production-ledger .process-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.page-production-ledger .process-step {
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 180px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-production-ledger .process-step .count {
  margin-bottom: 0.35rem;
}

.home-page .hero {
  padding: 0;
}

.home-page .hero .wrap {
  width: 100%;
  max-width: none;
}

.home-page .hero-grid {
  background: var(--dark);
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0;
}

.home-page .hero-copy {
  padding: 4rem 3rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-page .hero-visual {
  min-height: 660px;
}

.home-page .hero-visual img {
  object-position: center top;
}

.home-page .floating-note {
  left: 1.4rem;
}

@media (min-width: 981px) {
  .home-page .hero-grid {
    min-height: calc(95vh - 130px);
    min-height: calc(95svh - 130px);
  }

  .home-page .hero-copy,
  .home-page .hero-visual {
    min-height: inherit;
  }
}

@media (min-width: 981px) and (min-height: 820px) {
  .home-page .hero-grid {
    height: calc(95vh - 130px);
    height: calc(95svh - 130px);
  }
}

.home-marquee {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid #d96412;
  border-bottom: 1px solid #d96412;
  white-space: nowrap;
  width: 100%;
}

.home-marquee-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 0.8rem 0;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: homeMarquee 24s linear infinite;
}

.home-marquee-track span:nth-child(2n) {
  opacity: 0.58;
}

.stats-section {
  background: var(--dark);
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;
  padding: 0;
  width: 100%;
}

.home-stats-grid .stat-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  color: #fff;
}

.home-stats-grid .stat-card span {
  line-height: 1.3;
  min-height: 2.6em;
}

.home-stats-grid .stat-card:first-child {
  border-left: none;
  padding-left: 0;
}

.home-stats-grid .stat-card:last-child {
  padding-right: 0;
}

.home-stats-grid .stat-card strong {
  color: #fff;
}

.home-stats-grid .stat-card p {
  color: #928981;
  margin-bottom: 0;
}

.home-stats-cta {
  display: flex;
  justify-content: flex-end;
  background: var(--dark);
  padding: 0 0 2rem;
  width: 100%;
  padding-right: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
}

.catalog-band {
  background: var(--bg-alt);
}

.fabric-band {
  background: #fffdf9;
}

.catalog-header {
  max-width: 70%;
  margin-bottom: 2rem;
}

.catalog-header .section-title {
  font-weight: 800;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: start;
}

.catalog-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-tile {
  overflow: hidden;
}

.catalog-card.product-tile img {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.product-tile h2 {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.18;
}

.tech-pack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.tech-pack-card {
  border: 1px solid #dfd4c7;
  background: #fff;
  overflow: hidden;
}

.tech-pack-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.compact-visual-grid {
  width: min(100%, 820px);
  margin-inline: auto;
}

.compact-visual-grid .tech-pack-card img {
  min-height: 300px;
}

.lab-dips-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-inline: auto;
  width: min(100%, 820px);
}

.lab-dips-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: #ffffff;
}

.cert-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.catalog-card {
  border: 1px solid #dfd4c7;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.catalog-card img.image-contain {
  object-fit: contain;
  background: #050606;
}

.category-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: #ece4d8;
}

.category-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 900ms ease;
}

.category-slider img.is-active {
  opacity: 1;
}

.category-subitems {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.category-subitem {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.category-subitem:first-child {
  padding-top: 0;
  border-top: none;
}

.category-subitem h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.25;
}

.category-subitem p {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.category-subitem p strong {
  color: var(--ink);
}

.catalog-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card-heading {
  padding: 1rem 1rem 1.1rem;
}

.catalog-card-heading h3 {
  margin-top: 0.35rem;
}

.catalog-card-body p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.field-note-grid {
  margin-top: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fabric-card .catalog-card-body {
  min-height: 12rem;
}

.fabric-card h3 {
  min-height: 2.9rem;
}

.catalog-count {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-band {
  background: #fffdf8;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: start;
}

.process-intro .section-title {
  max-width: 17ch;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.02;
  font-weight: 800;
}

.process-band .process-flow {
  gap: 0;
}

.process-band .process-step {
  background: transparent;
  border: none;
  border-top: 1px solid #e8ddd0;
  padding: 1.2rem 0;
}

.process-band .process-step h3 {
  margin: 0;
}

.process-band .process-step p {
  margin: 0.38rem 0 0;
  color: var(--muted);
}

.home-quote-band {
  background: var(--accent);
  color: #fff;
  padding-top: 3rem;
}

.home-quote-band .wrap {
  display: grid;
  gap: 1.8rem;
}

.home-quote-header {
  display: grid;
  gap: 1rem;
}

.home-quote-header .section-title,
.home-quote-header .section-copy,
.home-quote-band .eyebrow {
  color: #fff;
}

.home-quote-header .section-title {
  width: 70%;
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.home-quote-header .section-copy {
  max-width: 54rem;
  font-size: 0.98rem;
}

.home-quote-eyebrow::before {
  background: #fff;
}

.home-quote-form.panel {
  background: rgba(167, 80, 22, 0.24);
  border-color: rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.quote-visual {
  position: relative;
  min-height: 100%;
  background: #a4592d;
}

.quote-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 1;
  border-radius: 8px;
}

.quote-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.22), rgba(10, 8, 7, 0.68));
  pointer-events: none;
}

.quote-visual-copy {
  position: absolute;
  inset: auto 1.6rem 1.6rem 1.6rem;
  color: #fff;
  z-index: 1;
}

.quote-visual-copy span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-visual-copy h3 {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.05;
}

.quote-visual-copy p {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.quote-form-pane {
  padding: 2rem 2rem 2rem 1.8rem;
}

.quote-band-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.quote-band-topline span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-band-topline p {
  max-width: 26rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.quote-band-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-quote-band .field label {
  color: rgba(255, 255, 255, 0.82);
}

.home-quote-band .field input,
.home-quote-band .field textarea {
  border-color: rgba(255, 255, 255, 0.16);
  background: #fff;
}

.home-quote-band .field.full .cta-link.primary {
  width: 100%;
  background: #111111;
}

@keyframes homeMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Quick-jump index: lets a visitor see every capability without scrolling
   past the hero image first, since most traffic lands here on mobile. */
.quick-jump {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.quick-jump .wrap {
  padding: 1.1rem 0;
}

.quick-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.quick-jump-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(23, 19, 17, 0.14);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
}

.quick-jump-list a:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.quick-jump-list a span {
  color: var(--accent);
}

.hsn-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0.4rem 0.7rem;
  border: 1px dashed rgba(244, 122, 31, 0.4);
  background: rgba(244, 122, 31, 0.06);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-deep);
}

/* Quality-control pipeline diagram: connected stage nodes with sub-checks. */
.qc-pipeline {
  display: grid;
  gap: 0;
}

.qc-stage {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-top: 1px solid #e8ddd0;
}

.qc-stage:last-child {
  border-bottom: 1px solid #e8ddd0;
}

.qc-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.qc-node-dot {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.qc-node-line {
  width: 1px;
  flex: 1;
  min-height: 0.6rem;
  background: #e8ddd0;
}

.qc-stage:last-child .qc-node-line {
  display: none;
}

.qc-stage h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.qc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.qc-checks li {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(23, 19, 17, 0.12);
  background: var(--surface-soft);
  font-size: 0.82rem;
  color: var(--muted);
}

.qc-checks li strong {
  color: var(--ink);
}

/* Problems-we-solve checklist. */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.94rem;
  line-height: 1.5;
}

.problem-item .check {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(244, 122, 31, 0.14);
  color: var(--accent-deep);
  font-weight: 800;
}

.problem-solved {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Certification / compliance grid on the Our Network page. */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.compliance-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.2rem;
}

.compliance-card .meta-line {
  margin-top: 0;
}

.compliance-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.cluster-reveal {
  margin-top: 1.2rem;
}

.cluster-grid[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qc-stage {
    grid-template-columns: 2.6rem 1fr;
  }
}

@media (max-width: 640px) {
  .problem-grid,
  .compliance-grid,
  .why-grid,
  .lab-dips-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-header .wrap {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.8rem;
    padding-bottom: 0.6rem;
    margin-top: 0.5rem;
    border-top: 1px solid #eee5da;
    gap: 0.2rem;
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav a:not(.cta-link) {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2b2520 !important;
    border-bottom: 1px solid #f2ebe2;
  }

  .site-nav a:not(.cta-link):hover,
  .site-nav a:not(.cta-link)[aria-current="page"] {
    color: var(--accent) !important;
  }

  .site-nav .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 0.85rem;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    background: var(--accent);
    color: #ffffff !important;
  }

  .hero-grid,
  .split-grid,
  .story-grid,
  .vision-mission-grid,
  .form-layout,
  .footer-grid,
  .process-layout,
  .tech-pack-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cluster-grid,
  .insight-grid,
  .stats-grid,
  .catalog-grid,
  .catalog-grid.three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-production-ledger .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .page-hero-visual {
    min-height: 420px;
  }

  .page-hero .wrap {
    width: 100%;
  }

  .page-section .wrap,
  .story-section .wrap,
  .cta-band .wrap {
    width: min(calc(100% - 1.6rem), 1120px);
  }

  .page-capability .page-hero .wrap {
    width: 100%;
  }

  body:not(.home-page) .page-hero .hero-copy {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  body:not(.home-page) .page-hero {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
  }

  .home-page .hero .wrap {
    width: 100%;
  }

  .home-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .home-page .hero-visual {
    min-height: 320px;
  }

  .home-page .hero-copy {
    padding: 2rem 1.35rem;
  }

  .home-page .hero-copy h1,
  .home-page.premium-page .hero-copy h1 {
    font-size: clamp(1.9rem, 7vw, 2.65rem);
  }

  .intro-duo-grid {
    grid-template-columns: 1fr;
  }

  .intro-duo-panel {
    min-height: auto;
    padding: 3.5rem 1.35rem;
  }

  .intro-duo-panel .section-title {
    font-size: clamp(2.05rem, 8vw, 3rem);
  }

  .catalog-header {
    max-width: 100%;
  }

  .home-quote-form.panel {
    grid-template-columns: 1fr;
  }

  .quote-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .utility-bar .wrap,
  .site-header .wrap,
  main .wrap,
  .site-footer .wrap {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .hero,
  .section-block,
  .page-hero,
  .cta-band,
  .story-section,
  .page-section {
    padding: 3.5rem 0;
  }

  .feature-grid,
  .cluster-grid,
  .insight-grid,
  .stats-grid,
  .catalog-grid,
  .catalog-grid.three-col,
  .catalog-grid.two-col,
  .quote-form form,
  .quote-band-form {
    grid-template-columns: 1fr;
  }

  .vision-mission-panel {
    min-height: auto;
  }

  .page-production-ledger .process-flow {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .panel,
  .story-panel,
  .contact-card,
  .quote-form {
    padding: 1.35rem;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-link {
    width: 100%;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .floating-note,
  .visual-badge {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .stats-section {
    padding: 3rem 0;
  }

  .home-stats-grid {
    padding: 0;
  }

  .home-stats-cta {
    width: 100%;
    padding-right: 0.8rem;
  }

  .home-stats-grid .stat-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
  }

  .home-stats-grid .stat-card:first-child {
    border-top: none;
    padding-top: 0;
  }

  .home-stats-grid .stat-card:last-child {
    padding-bottom: 0;
  }

  .home-quote-header,
  .quote-band-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-form-pane {
    padding: 1.35rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
