/* ITAR - itar.com.au
   Same system as the Remaker Space site: tokens, sections, split layouts,
   cards, process steps, sticky header, theme toggle. Light is the default. */

/* Fonts (self-hosted variable fonts, Latin subset) */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-var.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

/* Design tokens.
   Brand orange (#FE6B19) and green (#12B304) carry structure only: buttons with
   dark text, rules, labels, figures and icons. Text-weight accents use the
   darker --accent / --link inks in the light theme so they pass WCAG AA. */
:root {
  --brand-orange: #FE6B19;
  --brand-green: #12B304;
  --brand-white: #FFFFFF;
  --on-brand: #1A0B02;

  --bg: #FFFFFF;
  --surface: #F4F5F1;
  --surface-2: #EAECE5;
  --border: #D7DBD2;
  --text: #131A15;
  --text-muted: #4A544C;
  --accent: #B3470B;
  --link: #0B7303;
  --link-hover: #B3470B;
  --focus: #B3470B;

  /* Deep bands stay dark in both themes */
  --deep: #0F1813;
  --deep-2: #16211A;
  --deep-border: #2A382E;
  --on-deep: #F1F4EE;
  --on-deep-muted: #B9C3BA;
  --accent-on-dark: #FF9255;

  --overlay: 6, 11, 8;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 1px 2px rgba(15, 24, 19, 0.06), 0 8px 24px -12px rgba(15, 24, 19, 0.18);
}

[data-theme="dark"] {
  --bg: #0C110E;
  --surface: #131A15;
  --surface-2: #1A231C;
  --border: #2B372E;
  --text: #EDF0EA;
  --text-muted: #A9B3AA;
  --accent: #FE6B19;
  --link: #3DCB2E;
  --link-hover: #FF8C4D;
  --focus: #FF8C4D;

  --deep: #070C09;
  --deep-2: #101812;
  --deep-border: #26332A;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { max-width: 68ch; padding-left: 1.25rem; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Sections */
.section { padding-block: var(--section-y); background: var(--bg); }
.section-alt { background: var(--surface); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section + .section:not(.section-alt):not(.section-deep) { border-top: 1px solid var(--border); }
.section-alt + .section-alt { border-top: 1px solid var(--border); }

.section-deep {
  background: var(--deep);
  color: var(--on-deep);
}
.section-deep p { color: var(--on-deep-muted); }
.section-deep h2, .section-deep h3 { color: #FFFFFF; }
[data-theme="dark"] .section-deep, [data-theme="dark"] .fact-strip { border-block: 1px solid var(--deep-border); }
.section-deep a:not(.btn) { color: var(--on-deep); }
.section-deep a:not(.btn):hover { color: var(--brand-orange); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-orange);
  flex-shrink: 0;
}
.eyebrow-green::before { background: var(--brand-green); }
.eyebrow-on-dark, .section-deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .photo-band .eyebrow, .standard-callout .eyebrow { color: var(--accent-on-dark); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--brand-orange);
  color: var(--on-brand);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; color: var(--on-brand); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-orange); color: var(--on-brand); }
.btn-primary:hover { background: #FF8A4A; color: var(--on-brand); }
.btn-green { background: var(--brand-green); color: var(--on-brand); }
.btn-green:hover { background: #2BC91C; color: var(--on-brand); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.85); }
.btn-outline-light:hover { background: #FFFFFF; color: var(--deep); border-color: #FFFFFF; }
.btn-large { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }

.btn-text, .btn-text-light {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 700;
  text-decoration: none;
}
.btn-text { color: var(--link); }
.btn-text:hover { color: var(--link-hover); }
.btn-text-light { color: #FFFFFF; }
.btn-text-light:hover { color: var(--brand-orange); }
.btn-text span, .btn-text-light span { transition: transform 0.15s ease; }
.btn-text:hover span, .btn-text-light:hover span { transform: translateX(3px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; padding-block: 8px; }
.brand .logo { height: 52px; width: auto; max-width: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }

.site-nav { margin-left: auto; }
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.site-nav li { margin: 0; position: relative; }
.site-nav a,
.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  color: var(--text);
  background: none;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover { color: var(--accent); }
.site-nav a[aria-current="page"],
.has-sub.is-active > .sub-toggle {
  color: var(--text);
  box-shadow: inset 0 -3px 0 var(--brand-orange);
  border-radius: 0;
}
.chev { transition: transform 0.15s ease; }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.subnav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px;
  max-width: none;
}
.sub-toggle[aria-expanded="true"] + .subnav { display: block; }
.subnav a { width: 100%; }
.subnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand-orange); border-radius: 4px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.btn-call { min-height: 44px; padding: 10px 16px; font-size: 0.95rem; white-space: nowrap; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1100px) {
  .subnav {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 290px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.9rem;
}
.breadcrumb li { margin: 0; color: var(--on-deep-muted); }
.breadcrumb li + li::before { content: "/"; margin-inline: 0.55rem; opacity: 0.6; }
.breadcrumb a { color: #FFFFFF; }
.breadcrumb a:hover { color: var(--brand-orange); }

/* Hero (home) and page heroes: full-bleed photo, dark overlay, both themes */
.hero, .page-hero, .photo-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
  color: var(--on-deep);
}
.hero-bg, .photo-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay, .photo-band-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--overlay), 0.94) 0%, rgba(var(--overlay), 0.88) 48%, rgba(var(--overlay), 0.5) 100%),
    linear-gradient(0deg, rgba(var(--overlay), 0.6) 0%, rgba(var(--overlay), 0) 40%);
}
@media (max-width: 860px) {
  .hero-overlay, .photo-band .photo-band-overlay {
    background: linear-gradient(0deg, rgba(var(--overlay), 0.95) 0%, rgba(var(--overlay), 0.88) 100%);
  }
}
.hero { min-height: clamp(600px, 86vh, 820px); display: flex; align-items: center; }
.hero-content { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem); width: 100%; }
.hero h1 { max-width: 15ch; color: #FFFFFF; }
.hero .lead, .page-hero .lead { color: var(--on-deep); max-width: 60ch; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: none;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.98rem;
}
.hero-points svg { color: var(--brand-green); flex-shrink: 0; }

.page-hero { min-height: clamp(420px, 60vh, 600px); display: flex; align-items: flex-end; }
.page-hero-content { padding-block: clamp(5rem, 10vw, 7rem) clamp(2.75rem, 5vw, 4rem); width: 100%; }
.page-hero h1 { max-width: 18ch; color: #FFFFFF; }
.page-hero .tagline { font-family: "Archivo", sans-serif; font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); color: #FFFFFF; margin-bottom: 0.75rem; }
.page-hero-short { min-height: clamp(320px, 42vh, 420px); }
.page-hero-plain { min-height: 0; }
.page-hero-plain .page-hero-content { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }

/* Fact strip under heroes */
.fact-strip {
  background: var(--deep-2);
  color: var(--on-deep);
  border-top: 1px solid var(--deep-border);
}
.fact-strip ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.fact-strip li {
  margin: 0;
  padding: 1.4rem 1.5rem 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fact-strip li + li { padding-left: 1.5rem; border-left: 1px solid var(--deep-border); }
.fact-strip strong {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #FFFFFF;
  line-height: 1.2;
}
.fact-strip span { color: var(--on-deep-muted); font-size: 0.95rem; }

/* Priority cards (home): photo cards with copy over a dark gradient */
.priority-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-height: 720px;
}
.priority-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
  color: #FFFFFF;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  text-decoration: none;
}
.priority-card:first-child { grid-row: span 2; }
.priority-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}
.priority-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(var(--overlay), 0.96) 0%, rgba(var(--overlay), 0.88) 50%, rgba(var(--overlay), 0.45) 100%);
}
.priority-card:hover img { transform: scale(1.03); }
.priority-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.priority-num {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
  background: rgba(var(--overlay), 0.92);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}
.priority-card:nth-child(2) .priority-num { color: var(--brand-green); }
.priority-card h3 { color: #FFFFFF; font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 0.5rem; }
.priority-card:first-child h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.priority-card p { color: #E1E6DF; margin-bottom: 1rem; }
.priority-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: #FFFFFF;
}
.priority-link span { transition: transform 0.15s ease; }
.priority-card:hover .priority-link span { transform: translateX(4px); }
.priority-card:focus-visible { outline-offset: 4px; }

/* Impact figures */
.figures-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.figures-head h2 { margin: 0; color: #FFFFFF; }
.figures-head p { margin: 0; }
.year-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--deep-border);
  border-radius: 999px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--on-deep);
  background: var(--deep-2);
}
.figures {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.figures-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figures-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figure {
  margin: 0;
  padding: 1.25rem 1.5rem 0.5rem;
  border-left: 1px solid var(--deep-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.figure:first-child { border-left: 0; padding-left: 0; }
.figure-value {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  font-variant-numeric: lining-nums tabular-nums;
}
.figure:nth-child(odd) .figure-value { color: var(--brand-orange); }
.figure:nth-child(even) .figure-value { color: var(--brand-green); }
.figure-unit { font-weight: 700; color: #FFFFFF; }
.figure-prefix { font-size: 0.32em; font-weight: 700; letter-spacing: 0.02em; color: var(--on-deep-muted); vertical-align: 0.9em; }
.figure-label { color: var(--on-deep-muted); font-size: 0.95rem; line-height: 1.45; max-width: 26ch; }
.figures-note { margin: 2rem 0 0; font-size: 0.9rem; }

/* Light-surface version of the figures, for use outside deep bands */
.figures-light .figure { border-left-color: var(--border); }
.figures-light .figure-value, .figures-light .figure-unit { color: var(--text); }
.figures-light .figure:nth-child(odd) .figure-value { color: var(--accent); }
.figures-light .figure:nth-child(even) .figure-value { color: var(--link); }
.figures-light .figure-unit { color: var(--text); }
.figures-light .figure-label, .figures-light .figure-prefix { color: var(--text-muted); }

/* Process steps */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  max-width: none;
  position: relative;
}
.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 0 1.25rem 0 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand-orange);
  color: var(--text);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.section-alt .steps li::before { background: var(--surface); }
.steps li:nth-child(even)::before { border-color: var(--brand-green); }
.steps li::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 52px;
  right: 0;
  height: 2px;
  background: var(--border);
}
.steps li:last-child::after { display: none; }
.steps h3, .steps h4 { font-size: 1.2rem; margin: 0 0 0.45rem; }
.steps-vertical { grid-template-columns: 1fr; gap: 1.5rem; }
.steps-vertical li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1.25rem; padding: 0; }
.steps-vertical li::before { grid-row: span 2; margin: 0; }
.steps-vertical li::after { top: 52px; bottom: -1.5rem; left: 25px; right: auto; width: 2px; height: auto; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* Split layout: text + image */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split-reverse .split-media { order: -1; }
.split-top { align-items: start; }
.split-media { margin: 0; position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-media.tall img { aspect-ratio: 4 / 5; }
.media-accent::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius);
  background: var(--brand-orange);
  z-index: -1;
}
.media-accent.green::before { background: var(--brand-green); }
.split-reverse .media-accent::before { inset: 22px 22px -22px -22px; }
.split-media { isolation: isolate; }
.split-text > :last-child { margin-bottom: 0; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  position: relative;
}
.section-alt .card { background: var(--bg); }
.section:not(.section-alt) .card { background: var(--surface); }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); }
.card-accent { border-top: 4px solid var(--brand-orange); }
.card-accent.green { border-top-color: var(--brand-green); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-orange);
  color: var(--on-brand);
  margin-bottom: 1.1rem;
}
.card-icon.green { background: var(--brand-green); }
.card-link { margin-top: auto; }

/* Method cards (data destruction) */
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.method {
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--deep);
  color: var(--on-deep);
  border: 1px solid var(--deep-border);
}
.method h3 { color: #FFFFFF; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.35rem; }
.method .method-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 1.25rem;
}
.method:nth-child(2) .method-label { color: var(--brand-green); }
.method p { color: var(--on-deep-muted); }
.method .method-result { color: #FFFFFF; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.15rem; }

/* Standard callout */
.standard-callout {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--on-deep);
  border: 1px solid var(--deep-border);
  border-left: 6px solid var(--brand-orange);
}
.standard-callout .eyebrow { margin-bottom: 0.75rem; }
.standard-callout p { margin: 0; color: var(--on-deep-muted); }
.standard-callout .standard-name {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

/* Check lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231A0B02' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.checklist.cols-2 { columns: 2; column-gap: 2.5rem; max-width: none; }
.checklist.cols-2 li { break-inside: avoid; }
.crosslist li::before {
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%234A544C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* Compare (Remaker Space) */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare .card h3 { font-size: 1.25rem; }
.compare .spec { font-size: 0.95rem; color: var(--text-muted); margin-top: -0.25rem; }
.compare-win { border: 2px solid var(--brand-green); }

/* Pricing (repair) */
.price-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.price {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.9rem;
}
.price-quoted { font-size: 1.4rem; line-height: 1.2; padding-block: 0.35rem; }
.price-card p:last-child { font-size: 0.95rem; }

/* Mission quote over photography */
.photo-band { padding-block: clamp(5rem, 11vw, 8.5rem); }
.photo-band .photo-band-overlay {
  background: linear-gradient(90deg, rgba(var(--overlay), 0.93) 0%, rgba(var(--overlay), 0.86) 55%, rgba(var(--overlay), 0.66) 100%);
}
.photo-band h2 { color: #FFFFFF; max-width: 20ch; }
.photo-band .lead { color: var(--on-deep); max-width: 60ch; }
.mission-quote { margin: 0; max-width: 900px; }
.mission-quote blockquote { margin: 0; position: relative; }
.mission-quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 6rem;
  line-height: 0.6;
  height: 2.6rem;
  color: var(--brand-orange);
}
.mission-quote p {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  max-width: 40ch;
  margin: 0;
}
.mission-quote figcaption {
  margin-top: 1.75rem;
  font-weight: 600;
  color: var(--on-deep-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mission-quote figcaption::before { content: ""; width: 36px; height: 3px; border-radius: 2px; background: var(--brand-green); }

/* Pull line: a short statement given visual weight beside body copy */
.pull-line {
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  border-left: 6px solid var(--brand-orange);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  max-width: 22ch;
}
.section-deep .pull-line { color: #FFFFFF; }

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.partner-grid li { margin: 0; }
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.partner:hover { border-color: var(--brand-orange); transform: translateY(-2px); }
.partner img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* Areas */
.areas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.areas-list {
  columns: 3;
  column-gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.areas-list li {
  break-inside: avoid;
  margin: 0 0 0.5rem;
  padding-left: 1.4rem;
  position: relative;
  font-weight: 500;
}
.areas-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--brand-green);
}

/* Crosslink tiles (repair / Remaker Space) */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}
.section:not(.section-alt) .tile { background: var(--surface); }
.tile-media { margin: 0; overflow: hidden; }
.tile-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.tile-body h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.tile-body p { color: var(--text-muted); }
.tile-body .cta-row { margin-top: auto; padding-top: 0.5rem; }

/* Service rows (services hub) */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.service-row + .service-row { margin-top: 24px; }
.service-row-media { margin: 0; min-height: 340px; position: relative; }
.service-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-row-body { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.service-row-body h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.service-row-body p { color: var(--text-muted); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-num {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* Brand lockup band (Remaker Space) */
.lockup-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.lockup-band img { width: clamp(220px, 30vw, 360px); height: auto; }

/* Info panel / callouts */
.callout {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 6px solid var(--brand-green);
}
.callout h2, .callout h3 { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout-orange { border-left-color: var(--brand-orange); }
.section-alt .callout { background: var(--bg); }

.note { font-size: 0.92rem; color: var(--text-muted); }
.note-spaced { margin-top: 2rem; }
.figure-note { margin-top: 1.75rem; }
.h3-size { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

/* CTA band */
.cta-band {
  background: var(--deep);
  color: var(--on-deep);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  position: relative;
  border-top: 6px solid var(--brand-orange);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 33%;
  height: 6px;
  background: var(--brand-green);
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: var(--on-deep-muted); margin-bottom: 0; }
.cta-band .cta-note { margin-top: 1rem; }
.cta-band p a { color: #FFFFFF; }
.cta-band p a:hover { color: var(--brand-orange); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.cta-actions .btn { flex: 1 1 220px; }
.cta-noscript { color: var(--on-deep-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: none; }
.contact-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
}
.contact-list .cl-label { display: block; font-size: 0.85rem; color: var(--text-muted); line-height: 1.3; }
.contact-list a, .contact-list .cl-value { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }

/* 404 */
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 1.5rem 0 0; }

/* Footer */
.site-footer {
  background: var(--deep);
  color: var(--on-deep-muted);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  font-size: 0.97rem;
  border-top: 1px solid var(--deep-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
.footer-logo { width: 120px; height: auto; margin-bottom: 1.25rem; }
.footer-legal, .footer-country { max-width: 40ch; }
.footer-heading {
  font-family: "Archivo", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin: 0.4rem 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0; }
.footer-col p { margin: 0; }
.footer-hours { padding-block: 0.4rem; }
.site-footer a {
  color: var(--on-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}
.site-footer a:hover { color: var(--brand-orange); text-decoration: underline; }
.footer-base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--deep-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.9rem;
}
.footer-base p { margin: 0; max-width: 80ch; }

/* Reveal on scroll (only when JS has run and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1099px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin: 0;
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a, .sub-toggle { width: 100%; padding: 12px 6px; font-size: 1.05rem; justify-content: space-between; }
  .site-nav a[aria-current="page"], .has-sub.is-active > .sub-toggle { box-shadow: inset 4px 0 0 var(--brand-orange); padding-left: 16px; border-radius: 0; }
  .subnav { padding: 0 0 8px 14px; }
  .subnav li { border-bottom: 0; }
  .subnav a { font-size: 1rem; padding: 10px 6px; }
  .header-actions { margin-left: auto; }

  .priority-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
  .priority-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .figure:nth-child(4) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1.25rem; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 52px; bottom: -1.5rem; left: 25px; right: auto; width: 2px; height: auto; }
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .price-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .split, .areas, .cta-inner, .contact-grid, .lockup-band { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 3 / 2; }
  .split-media.tall img { aspect-ratio: 4 / 3; }
  .media-accent::before, .split-reverse .media-accent::before { inset: 14px -10px -14px 14px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row-media { min-height: 240px; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .method-grid, .compare, .tile-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .fact-strip ul { grid-template-columns: 1fr; }
  .fact-strip li, .fact-strip li + li { padding: 1rem 0; border-left: 0; }
  .fact-strip li + li { border-top: 1px solid var(--deep-border); }
  .standard-callout { grid-template-columns: 1fr; }
  .checklist.cols-2 { columns: 1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand .logo { height: 44px; }
  .btn-call { width: 44px; padding: 0; }
  .btn-call-text { display: none; }
  .header-actions { gap: 8px; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-card, .priority-card:first-child { min-height: 380px; }
  .figures, .figures-3 { grid-template-columns: 1fr 1fr; }
  .figures-2 { grid-template-columns: 1fr 1fr; }
  .figure, .figure:first-child, .figure:nth-child(4) { border-left: 0; padding: 0 0 0 1rem; border-left: 3px solid var(--deep-border); }
  .figures-light .figure { border-left-color: var(--border); }
  .figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { height: 96px; }
  .areas-list { columns: 2; }
  .price-list, .card-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .cta-actions .btn { flex-basis: 100%; }
  .hero { min-height: 0; }
  .hero-points { flex-direction: column; }
}

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