/* ==========================================================================
   OSCO — design system
   Product-led and light, unlike the two dark-hero trade sites. Product
   photography carries the page, so the chrome stays quiet.
   Single stylesheet, no build step. Re-skin from the tokens below.
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Brand — taken from the OSCO logo: #070945 navy ground, #e9cdb3 sand mark */
  --slate-900: #070945;
  --slate-800: #0d1157;
  --slate-700: #191f70;
  --slate-500: #3f4787;
  --slate-100: #e7e8f2;

  /* Accent — the logo's champagne sand. 500 is the true brand value and is
     only legible on the navy; 700/600 are darkened for use on white. */
  --accent-700: #7d5c33; /* 5.4:1 on white — safe for body-size text */
  --accent-600: #96703f;
  --accent-500: #e9cdb3; /* true brand sand — dark backgrounds only */
  --accent-100: #f8f1e8;

  /* Neutrals — cool-tinted, the opposite of the warm ramps elsewhere */
  --ink: #14161f;
  --ink-soft: #4f5468;
  --ink-faint: #686d7f; /* 4.9:1 on white, 4.8:1 on --surface-alt */
  --line: #dfe0e9;
  --line-soft: #eceded;
  --surface: #ffffff;
  --surface-alt: #f7f7fa;
  --surface-deep: #eeeff5;

  /* Type — a high-contrast serif for display sizes against Manrope for
     everything else. The serif echoes the thin elliptical O of the logo;
     it ships in a single weight, so size and tracking carry the emphasis
     rather than boldness. */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia,
    "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.36vw, 1.44rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.66rem + 2.1vw, 3.4rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.2vw, 4.4rem);

  /* Space + shape */
  --gutter: clamp(1.15rem, 0.9rem + 1.2vw, 2rem);
  --section-y: clamp(3.5rem, 2.6rem + 4vw, 6rem);
  --radius: 3px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(7, 9, 69, 0.06),
    0 3px 10px rgba(7, 9, 69, 0.05);
  --shadow-md: 0 2px 6px rgba(7, 9, 69, 0.07),
    0 14px 34px rgba(7, 9, 69, 0.09);
  --maxw: 1220px;
}

/* --- Reset --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--slate-800);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

:focus-visible {
  outline: 3px solid var(--accent-600);
  outline-offset: 3px;
  border-radius: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

/* --- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 780px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section--alt {
  background: var(--surface-alt);
}

.section--ink {
  background: var(--slate-900);
  color: #cdd8e2;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-4);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.section-head {
  max-width: 64ch;
  margin-bottom: clamp(2rem, 1.6rem + 1.6vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-700);
}

.section--ink .eyebrow {
  color: var(--accent-500);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.section--ink .lede {
  color: #b3c2d0;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: var(--step--1);
}

.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;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--slate-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.5rem;
  color: #fff;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    color 0.16s ease, transform 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--slate-900);
  border-color: var(--slate-900);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-700);
  border-color: var(--accent-700);
  color: #fff;
}

/* On the navy band the filled button inverts to the brand sand, which
   carries dark text rather than white. */
.cta .btn--primary,
.section--ink .btn--primary {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--slate-900);
}

.cta .btn--primary:hover,
.section--ink .btn--primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--slate-900);
}

.btn--secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--slate-800);
}

.btn--secondary:hover {
  background: var(--slate-800);
  border-color: var(--slate-800);
  color: #fff;
}

.section--ink .btn--secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section--ink .btn--secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--slate-900);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--slate-900);
  color: #a8b8c6;
  font-size: var(--step--1);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  padding-block: 0.5rem;
}

.topbar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--accent-500);
  text-decoration: underline;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

/* The wordmark is the supplied OSCO logo, so it is never re-typeset —
   only scaled, and swapped between the navy and sand colour variants. */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  display: block;
  width: auto;
  height: 30px;
}

.brand__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 420px) {
  .brand__logo {
    height: 25px;
  }

  .brand__tag {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
}

.site-footer .brand__logo {
  height: 34px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--ink);
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.2rem + 1.4vw, 1.75rem);
}

.nav__link {
  position: relative;
  padding-block: 0.35rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--slate-800);
}

.nav__link[aria-current="page"] {
  color: var(--slate-800);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent-600);
}

.nav .btn {
  padding: 0.6rem 1.1rem;
  font-size: var(--step--1);
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding-block: 0.85rem;
    font-size: var(--step-0);
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav .btn {
    margin-top: 1rem;
    padding: 0.85rem 1.5rem;
    font-size: var(--step-0);
  }
}

/* --- Hero: brand navy ground, product photography alongside --------------- */
/* The navy is the logo's own ground colour, so the first screen reads as
   OSCO before a word is read. The sand accent is the logo's mark colour. */
.hero {
  background: var(--slate-900);
  color: #fff;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding-block: clamp(3rem, 2.2rem + 4vw, 5.5rem);
}

.hero .eyebrow {
  color: var(--accent-500);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-5);
  letter-spacing: -0.012em;
  line-height: 1.02;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-500);
}

.hero__lede {
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: #c4cade;
}

/* Filled button inverts to the brand sand, carrying dark text */
.hero .btn--primary {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--slate-900);
}

.hero .btn--primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--slate-900);
}

.hero .btn--secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.hero .btn--secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--slate-900);
}

/* A thin sand rule under the hero, picking the logo colour back up */
.hero::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent-500);
}

.hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-800);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Sand section: the logo's mark colour as a ground -------------------- */
.section--sand {
  background: var(--accent-100);
}

.section--sand .card,
.section--sand .product,
.section--sand .cats {
  background: var(--surface);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  font-weight: 700;
  /* Sits on the brand navy, not on white */
  color: #c4cade;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__points svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent-500);
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

/* --- Category grid: the spine of a product site -------------------------- */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cat {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease;
}

.cat:hover {
  background: var(--surface-alt);
  color: inherit;
}

.cat__icon {
  width: 54px;
  height: 54px;
  padding: 11px;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cat:hover .cat__icon {
  background: var(--slate-900);
  color: var(--accent-500);
}

.cat h3 {
  margin-bottom: 0.4rem;
  font-size: var(--step-0);
  font-weight: 800;
  letter-spacing: 0.005em;
}

.cat p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--ink-soft);
}

.cat__more {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-700);
}

.cat:hover .cat__more {
  color: var(--slate-800);
}

/* --- Image tiles: photographic entry points to the three ranges ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-900);
  text-decoration: none;
  color: #fff;
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile:hover img {
  transform: scale(1.045);
}

/* Scrim only across the lower third, so the photograph stays readable */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 9, 69, 0.92) 0%,
    rgba(7, 9, 69, 0.72) 22%,
    rgba(7, 9, 69, 0.12) 48%,
    rgba(7, 9, 69, 0) 68%
  );
  pointer-events: none;
}

.tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(1rem, 0.85rem + 0.6vw, 1.5rem);
}

.tile__label h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  color: #fff;
}

.tile__label p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: #d3d7e6;
}

.tile__label span {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-500);
}

/* --- Product cards ------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.product__figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--surface-deep);
  border-bottom: 1px solid var(--line);
}

.product__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder shown until real product photography lands */
.product__figure--empty {
  color: var(--ink-faint);
}

.product__figure--empty svg {
  width: 46%;
  height: auto;
  opacity: 0.45;
}

.product__body {
  padding: 1rem 1.1rem 1.2rem;
}

.product__body h3 {
  margin-bottom: 0.3rem;
  font-size: var(--step-0);
  font-weight: 800;
}

.product__body p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
}

.product__spec {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--2);
  color: var(--ink-faint);
}

.product__spec li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.3rem 0;
  border-top: 1px solid var(--line-soft);
}

.product__spec strong {
  font-weight: 700;
  color: var(--ink-soft);
}

/* --- Badges (finish swatches, compliance marks) -------------------------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.badge {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--surface);
}

.badge--accent {
  border-color: var(--accent-100);
  background: var(--accent-100);
  color: var(--accent-700);
}

/* Finish swatch dots */
.finishes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finish {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
}

.finish::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sw, #ccc);
  box-shadow: inset 0 -8px 14px rgba(0, 0, 0, 0.12),
    inset 0 6px 10px rgba(255, 255, 255, 0.45);
}

/* --- Spec table ---------------------------------------------------------- */
.spec-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.spec-table table {
  min-width: 460px;
}

.spec-table th,
.spec-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.spec-table thead th {
  background: var(--surface-alt);
  font-size: var(--step--2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody th {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* --- Two-up tables (specification guide) --------------------------------- */
.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  align-items: start;
}

.spec-table caption {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-900);
  background: var(--accent-100);
  border-bottom: 1px solid var(--line);
}

.spec-table .spec-note {
  vertical-align: middle;
  color: var(--ink-soft);
  background: var(--surface-alt);
}

/* --- Callout: a fact worth stopping on ----------------------------------- */
.callout {
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  padding: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem);
  border-left: 4px solid var(--accent-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--accent-100);
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--ink-soft);
}

.callout strong {
  color: var(--ink);
}

.section--alt .callout {
  background: var(--surface);
}

/* --- Feature list -------------------------------------------------------- */
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.feature-list svg {
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  color: var(--accent-600);
}

.feature-list strong {
  display: block;
  color: var(--ink);
}

.section--ink .feature-list strong {
  color: #fff;
}

.feature-list span {
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.6;
}

.section--ink .feature-list span {
  color: #a9bacb;
}

.section--ink .feature-list svg {
  color: var(--accent-500);
}

/* --- Split layout -------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 1.2rem + 3vw, 4rem);
  align-items: center;
}

.media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-deep);
}

.media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

figure.media {
  margin: 0;
}

figure.media figcaption {
  padding: 0.75rem 1rem 0.9rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  background: var(--surface-alt);
}

/* --- Process steps ------------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  padding-top: 1.35rem;
  border-top: 3px solid var(--line);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-700);
}

.steps h3 {
  font-size: var(--step-0);
  font-weight: 800;
}

.steps p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* --- FAQ ----------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: var(--step-0);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent-600);
  border-bottom: 2px solid var(--accent-600);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq details p {
  margin: 0 0 1.15rem;
  max-width: 74ch;
  color: var(--ink-soft);
}

/* --- CTA band ------------------------------------------------------------ */
.cta {
  background: var(--slate-900);
  color: #fff;
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

.cta h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-4);
  letter-spacing: -0.01em;
  color: #fff;
}

.cta p {
  margin: 0;
  max-width: 54ch;
  color: #b3c2d0;
}

.cta .btn-row {
  margin-top: 0;
}

.cta .btn--secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cta .btn--secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--slate-900);
}

/* --- Contact blocks ------------------------------------------------------ */
.contact-list {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.contact-list dt {
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact-list dd {
  margin: 0.2rem 0 0;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.4;
}

.contact-list dd a {
  text-decoration: none;
  color: var(--slate-800);
}

.contact-list dd a:hover {
  color: var(--accent-700);
  text-decoration: underline;
}

.contact-list .small {
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--ink-soft);
}

/* --- Forms --------------------------------------------------------------- */
.form {
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 1.15rem;
}

.field > label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.field .req {
  color: var(--accent-700);
}

.field .hint {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-600);
  box-shadow: 0 0 0 3px rgba(13, 17, 87, 0.18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14);
}

.field .error {
  display: none;
  margin-top: 0.3rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: #b03024;
}

.field.is-invalid .error {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 1rem;
}

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-bottom: 1.35rem;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* 24px is the WCAG 2.5.8 minimum target size. */
.consent input {
  width: 24px;
  height: 24px;
  margin: 0.1rem 0 0;
  accent-color: var(--slate-900);
}

/* Honeypot — hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 600;
}

.form__status:empty {
  display: none;
}

.form__status[data-state="ok"] {
  background: #e6f4ec;
  border: 1px solid #b0dcc2;
  color: #1c6a3a;
}

.form__status[data-state="error"] {
  background: #fdeceb;
  border: 1px solid #f3c2be;
  color: #a52c21;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--slate-900);
  color: #9db0c1;
  font-size: var(--step--1);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: clamp(2.75rem, 2.2rem + 2vw, 4rem);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.85rem;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer .brand__tag {
  color: #8398ab;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: #c6d4e0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #8398ab;
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* --- Page header (interior pages) ---------------------------------------- */
.page-head {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-5);
  letter-spacing: -0.012em;
  line-height: 1.05;
}

.page-head p {
  max-width: 64ch;
  margin: 0;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.breadcrumb {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--step--1);
  color: var(--ink-faint);
}

.breadcrumb a {
  color: var(--ink-faint);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-700);
  text-decoration: underline;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

/* --- Prose (legal pages) ------------------------------------------------- */
.prose h2 {
  margin-top: 2.5rem;
  font-size: var(--step-2);
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

/* --- Scroll reveal ------------------------------------------------------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js-reveal .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js-reveal .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* --- Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .site-header,
  .cta,
  .btn,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
  }
}
