/* ==========================================================================
   Rutilium Recruitment — v3
   Identity derived from the Rutilium logo: ink navy ground (#0c1c2b, the
   exact logo background), azure accent, brushed-steel text tones, and the
   chiselled geometry of the "R" (notched corners, sharp diagonals).
   Colour is applied as flat blocks only — depth comes from the navy tonal
   ladder (ink / raised / card / deep) and solid azure keylines, never
   gradient fills.
   Type: Archivo (headings) + IBM Plex Sans (body).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colour — sampled from Rutilium-Logo.jpeg */
  --ink: #0c1c2b;            /* page ground = logo background            */
  --ink-raised: #102337;     /* raised panels / alternating bands        */
  --ink-card: #142b42;       /* cards                                    */
  --ink-deep: #081420;       /* footer / recessed areas                  */
  --azure: #1681cf;          /* logo azure                               */
  --azure-bright: #35a2ee;   /* hover / highlights                       */
  --steel: #aebccb;          /* body text — brushed steel                */
  --steel-dim: #8296aa;      /* secondary text                          */
  --steel-bright: #eef3f8;   /* headings                                 */
  --line: rgba(140, 170, 200, 0.16);
  --line-strong: rgba(140, 170, 200, 0.30);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --text-xs: 0.8rem;
  --text-sm: 0.9rem;
  --text-md: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --text-2xl: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --text-hero: clamp(2.3rem, 1.6rem + 3.6vw, 4.2rem);

  /* Layout */
  --container: 1180px;
  --container-wide: 1360px;
  --space-section: clamp(4rem, 3rem + 4vw, 7rem);
  --notch: 14px;             /* chiselled corner size                    */
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::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(--ink);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--steel-bright);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 750;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--azure-bright); text-decoration: none; }
a:hover { color: var(--steel-bright); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

strong { color: var(--steel-bright); font-weight: 600; }

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

:focus-visible {
  outline: 2px solid var(--azure-bright);
  outline-offset: 3px;
}

/* ---------- Utility ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--wide { width: min(100% - 2.5rem, var(--container-wide)); }

.section { padding-block: var(--space-section); position: relative; }
.section--raised { background: var(--ink-raised); }
.section--deep { background: var(--ink-deep); }

/* Blueprint grid backdrop — drawn like a QS's drawing sheet */
.bg-blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(53, 162, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 162, 238, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}

/* Chiselled corner — echoes the bevelled counter of the logo R */
.notch {
  clip-path: polygon(
    0 0,
    calc(100% - var(--notch)) 0,
    100% var(--notch),
    100% 100%,
    0 100%
  );
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azure-bright);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--azure);
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--text-2xl); }
.section-head .lede { font-size: var(--text-lg); color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--azure); color: #fff; }
.btn--primary:hover { background: var(--azure-bright); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--steel-bright);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--azure-bright); color: var(--azure-bright); }

.btn--light { background: var(--steel-bright); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }

.btn svg { width: 1em; height: 1em; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azure-bright);
}
.text-link svg { width: 0.9em; height: 0.9em; transition: transform 0.25s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12, 28, 43, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(8, 20, 32, 0.92);
  border-bottom-color: var(--line);
}

.site-header .container--wide {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }

.site-nav ul {
  display: flex;
  gap: clamp(1.1rem, 2vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0.4rem 0;
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--azure-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { color: var(--steel-bright); }

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

.site-nav .btn { padding: 0.65rem 1.3rem; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--steel-bright);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4rem, 8vw, 8rem));
  padding-bottom: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  max-width: 17ch;
  margin-bottom: 1.2rem;
}

.hero h1 .accent { color: var(--azure-bright); }

.hero .lede {
  font-size: var(--text-lg);
  max-width: 56ch;
  margin-bottom: 2.2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-aside {
  margin-top: 2.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-sm);
  color: var(--steel-dim);
}
.hero-aside a { color: var(--steel-bright); font-weight: 600; }
.hero-aside a:hover { color: var(--azure-bright); }
.hero-aside svg { width: 18px; height: 18px; color: var(--azure-bright); flex-shrink: 0; }

/* Page hero (interior pages) */
.hero--page { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.hero--page h1 { font-size: var(--text-2xl); max-width: 22ch; }

.breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-dim);
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
}
.breadcrumb a { color: var(--steel-dim); }
.breadcrumb a:hover { color: var(--azure-bright); }
.breadcrumb .sep { margin-inline: 0.5rem; color: var(--azure); }

/* ---------- Roles ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--ink-deep);
  overflow: hidden;
  padding-block: 0.95rem;
}

.ticker-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
}

.ticker-track span::after { content: "▪"; color: var(--azure); font-size: 0.7em; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

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

.card {
  background: var(--ink-card);
  border: 1px solid var(--line);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.card::before { /* azure keyline that draws on hover */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--azure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }

.card h3 { font-size: var(--text-lg); margin-bottom: 0.5em; }
.card p { font-size: var(--text-sm); color: var(--steel); }

.icon-chip {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(22, 129, 207, 0.12);
  border: 1px solid rgba(53, 162, 238, 0.35);
  color: var(--azure-bright);
  margin-bottom: 1.3rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.icon-chip svg { width: 26px; height: 26px; }

/* ---------- Audience split (Hays-style dual journey) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.split-panel {
  position: relative;
  padding: clamp(2.2rem, 4vw, 3.4rem);
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--azure);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s;
}

.split-panel:hover { border-color: rgba(53, 162, 238, 0.5); }

.split-panel h3 { font-size: var(--text-xl); }
.split-panel p { margin-bottom: 1.6rem; }
.split-panel .btn { margin-top: auto; }

.split-panel .panel-tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azure-bright);
  margin-bottom: 1rem;
}

/* ---------- Feature / photo rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: center;
}

.feature-row--flip > .feature-media { order: 2; }

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.feature-media::after { /* offset azure frame, like a drawing border */
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid rgba(53, 162, 238, 0.4);
  z-index: -1;
}

.feature-copy h2 { font-size: var(--text-2xl); }

.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.85rem; }

.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: var(--text-md);
}

.checklist li svg {
  width: 22px;
  height: 22px;
  color: var(--azure-bright);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.checklist li strong { display: block; }
.checklist li span { color: var(--steel-dim); font-size: var(--text-sm); display: block; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--ink-card);
  border: 1px solid var(--line);
}

.step .step-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(53, 162, 238, 0.65);
  display: block;
  margin-bottom: 1.1rem;
}

.step h3 { font-size: var(--text-md); text-transform: uppercase; letter-spacing: 0.06em; }
.step p { font-size: var(--text-sm); color: var(--steel-dim); margin: 0; }

/* ---------- Insights cards ---------- */
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-card);
  border: 1px solid var(--line);
  padding: 1.9rem 1.7rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  height: 100%;
}

.insight-card:hover { transform: translateY(-5px); border-color: rgba(53, 162, 238, 0.5); }

.insight-meta {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
  margin-bottom: 1rem;
}

.insight-meta .tag {
  color: var(--azure-bright);
  border: 1px solid rgba(53, 162, 238, 0.4);
  padding: 0.15rem 0.6rem;
  font-weight: 650;
}

.insight-card h3 { font-size: var(--text-lg); }
.insight-card h3 a { color: var(--steel-bright); }
.insight-card h3 a:hover { color: var(--azure-bright); }
.insight-card p { font-size: var(--text-sm); color: var(--steel-dim); flex-grow: 1; }
.insight-card .text-link { margin-top: 1.4rem; }

/* ---------- Article ---------- */
.article-body {
  max-width: 720px;
  font-size: 1.05rem;
}

.article-body h2 {
  font-size: var(--text-xl);
  margin-top: 2.2em;
}

.article-body ul li, .article-body ol li { margin-bottom: 0.5em; }

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.8rem;
  border-left: 3px solid var(--azure);
  background: var(--ink-raised);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--steel-bright);
  font-weight: 550;
}

/* ---------- FAQ accordion ---------- */
.accordion { display: grid; gap: 0.8rem; max-width: 820px; }

.accordion-item {
  background: var(--ink-card);
  border: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 650;
  color: var(--steel-bright);
}

.accordion-trigger:hover { color: var(--azure-bright); }

.accordion-trigger .chev {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--azure-bright);
  transition: transform 0.3s var(--ease-out);
}

.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.accordion-panel > div { overflow: hidden; }

.accordion-panel p {
  padding: 0 1.5rem 1.4rem;
  font-size: var(--text-sm);
  color: var(--steel);
}

.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink-raised);
  border-block: 1px solid var(--line);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  text-align: center;
}

.cta-band h2 { font-size: var(--text-2xl); max-width: 24ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--ink-card);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }

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

.form-field label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ink);
  border: 1px solid var(--line-strong);
  color: var(--steel-bright);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--azure-bright);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: var(--text-xs); color: var(--steel-dim); margin-top: 0.9rem; }

.form-status {
  margin-top: 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { color: #5fd39a; }
.form-status.is-error { color: #f08a8a; }

/* Honeypot — hidden from humans, catches bots */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-channel {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-channel:last-of-type { border-bottom: none; }

.contact-channel .icon-chip { margin: 0; width: 46px; height: 46px; flex-shrink: 0; }
.contact-channel .icon-chip svg { width: 22px; height: 22px; }

.contact-channel h3 { font-size: var(--text-md); margin-bottom: 0.15em; }
.contact-channel p { font-size: var(--text-sm); color: var(--steel-dim); margin: 0; }
.contact-channel a { font-weight: 600; }

.booking-panel {
  background: var(--ink-card);
  border: 1px solid rgba(53, 162, 238, 0.4);
  border-top: 3px solid var(--azure);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 2rem;
}

.booking-panel h2 { font-size: var(--text-xl); }

/* ---------- Values / stat-style strip (no invented numbers) ---------- */
.pillar-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.pillar {
  border-left: 3px solid var(--azure);
  padding: 0.4rem 0 0.4rem 1.4rem;
}

.pillar h3 {
  font-size: var(--text-lg);
  margin-bottom: 0.3em;
}

.pillar p { font-size: var(--text-sm); color: var(--steel-dim); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  font-size: var(--text-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}

.footer-brand img { height: 84px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--steel-dim); max-width: 34ch; }

.site-footer h3 {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-bright);
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-links a { color: var(--steel-dim); }
.footer-links a:hover { color: var(--azure-bright); }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--steel-dim); }
.footer-contact svg { width: 18px; height: 18px; color: var(--azure-bright); flex-shrink: 0; margin-top: 0.25em; }
.footer-contact a { color: var(--steel); }
.footer-contact a:hover { color: var(--azure-bright); }

.newsletter-form { display: flex; gap: 0.6rem; margin-top: 0.4rem; }

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  color: var(--steel-bright);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.newsletter-form input:focus { outline: none; border-color: var(--azure-bright); }

.newsletter-form .btn { padding: 0.7rem 1.1rem; font-size: 0.8rem; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--steel-dim);
  font-size: var(--text-xs);
}

.footer-legal a { color: var(--steel-dim); }
.footer-legal a:hover { color: var(--azure-bright); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger helpers */
.reveal-d1 { --reveal-delay: 0.08s; }
.reveal-d2 { --reveal-delay: 0.16s; }
.reveal-d3 { --reveal-delay: 0.24s; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 200;
  background: var(--azure);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    padding: 1rem 1.4rem 1.8rem;
    transform: translateY(-115%);
    transition: transform 0.35s var(--ease-out);
    visibility: hidden;
  }

  .site-nav.is-open { transform: translateY(0); visibility: visible; }

  .site-nav ul { flex-direction: column; gap: 0; }

  .site-nav ul a:not(.btn) {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav ul a:not(.btn)::after { display: none; }

  .site-nav .btn { margin-top: 1.2rem; width: 100%; }

  .nav-toggle { display: inline-flex; }

  .split, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row--flip > .feature-media { order: 0; }
  .feature-media::after { inset: 0.8rem -0.8rem -0.8rem 0.8rem; }
  .pillar-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid--2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .brand img { height: 38px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .btn:hover, .card:hover, .insight-card:hover { transform: none; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
