/* Truscope Trading — site styles
   Layout: ivory editorial pages broken by full-width forest-green bands; photography bleeds to the edge, text sits on a 1180px measure. */
:root {
  --forest: #173F35;        /* Deep Forest Green — primary */
  --forest-deep: #0F2E26;   /* darker band / footer rule */
  --ivory: #F6F1E7;         /* Warm Ivory — primary background */
  --ivory-deep: #ECE5D5;    /* band background */
  --brown: #5A3828;         /* Coffee Brown */
  --sage: #78945A;          /* Supporting Green */
  --gold: #D49A22;          /* Turmeric Gold — use sparingly */
  --ink: #202522;           /* Charcoal */
  --ink-soft: #4E5651;
  --white: #FFFFFF;
  --line: rgba(23, 63, 53, 0.16);
  --line-light: rgba(246, 241, 231, 0.2);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section: clamp(48px, 9vw, 68px);
  }
}

/* ---------- Type ---------- */
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.015em;
  line-height: 1.14;
  color: var(--forest);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: var(--forest); text-wrap: balance; }
h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1.3; color: var(--forest); text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 64ch; line-height: 1.6; text-wrap: pretty; }
.prose { display: grid; gap: 1em; max-width: 64ch; color: var(--ink-soft); line-height: 1.65; }
.prose p { text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.stack { display: grid; gap: 20px; align-content: start; justify-items: start; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font: 600 0.88rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--forest); background: var(--forest); color: var(--ivory);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn svg { width: 16px; height: 16px; }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--ivory); }
.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--forest); }
.btn--light:hover { background: var(--white); border-color: var(--white); }
.btn--ghost-light { background: transparent; border-color: var(--ivory); color: var(--ivory); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--forest);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.arrow-link:hover { text-decoration-color: currentColor; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(4px); }
.on-dark .arrow-link { color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(246, 241, 231, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.nav a {
  font-size: 0.86rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding-block: 6px; border-bottom: 1.5px solid transparent; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--gold); }
.header-cta { padding: 11px 20px; font-size: 0.82rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--forest); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero__media { position: absolute; inset: 0 0 0 36%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ivory) 0%, rgba(246,241,231,0.72) 22%, rgba(246,241,231,0) 52%);
}
.hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 112px); }
.hero__copy { max-width: 480px; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.4rem); line-height: 0.96; }
.hero__copy p { color: var(--ink); max-width: 42ch; }
@media (max-width: 760px) {
  .hero__media { position: relative; inset: auto; height: 240px; width: 100%; overflow: hidden; }
  .hero__media::after { background: linear-gradient(180deg, var(--ivory) 0%, rgba(246,241,231,0) 40%); }
  .hero .wrap { padding-block: 44px 28px; }
}

/* ---------- Trust strip (Continuous Marquee) ---------- */
.trust {
  background: var(--ivory-deep);
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  position: relative;
}
.trust__marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent);
}
.trust__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: trustScroll 35s linear infinite;
}
.trust:hover .trust__track {
  animation-play-state: paused;
}
.trust__list {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 56px);
  padding-inline: clamp(17px, 2vw, 28px);
  margin: 0;
  list-style: none;
  flex-shrink: 0;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  white-space: nowrap;
}
.trust svg { flex: none; width: 34px; height: 34px; color: var(--forest); }
.trust b { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.trust span { display: block; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.3; }

@keyframes trustScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--band { background: var(--ivory-deep); }
.section--dark { background: var(--forest); color: var(--ivory); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display { color: var(--ivory); }
.on-dark .prose, .on-dark .lede { color: rgba(246, 241, 231, 0.82); }
.on-dark .prose strong { color: var(--ivory); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .stack { gap: 14px; }

/* Split: text + full-bleed image */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__text { padding: var(--section) var(--gutter); display: flex; }
.split__text > .stack { max-width: 500px; margin-left: auto; margin-right: clamp(0px, 4vw, 56px); width: 100%; }
.split--flip .split__text > .stack { margin-left: clamp(0px, 4vw, 56px); margin-right: auto; }
.split__media { position: relative; min-height: 340px; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,46,38,0.05), rgba(15,46,38,0.62)); }
.split__quote {
  position: absolute; z-index: 1; right: clamp(20px, 5vw, 64px); top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-variation-settings: "opsz" 144; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--ivory);
  padding-block: 18px; border-block: 1px solid var(--line-light);
}
.split__quote--bl { right: auto; left: clamp(20px, 4vw, 48px); top: auto; bottom: clamp(24px, 4vw, 48px); transform: none; border-top: 0; text-transform: uppercase; font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: 0.04em; }
.split--flip .split__media { order: -1; }
.split--flip .split__media::after { background: linear-gradient(0deg, rgba(15,46,38,0.72), rgba(15,46,38,0.05) 60%); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; width: 100%; overflow: hidden; }
  .split__text > .stack, .split--flip .split__text > .stack { margin-inline: 0; max-width: none; width: 100%; }
  .split__media { min-height: 280px; width: 100%; overflow: hidden; }
  .split__quote {
    right: 20px;
    font-size: 1.25rem;
    padding-block: 14px;
  }
}
@media (max-width: 480px) {
  .split__quote {
    right: 16px;
    font-size: 1.12rem;
    padding-block: 10px;
  }
}

/* ==========================================================================
   Balanced Multi-Column Grids
   ========================================================================== */
.grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}
.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}

/* 5 items: Row 1 -> 3 items, Row 2 -> 2 items */
.grid--5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 32px;
}
.grid--5 > :nth-child(1),
.grid--5 > :nth-child(2),
.grid--5 > :nth-child(3) {
  grid-column: span 2;
}
.grid--5 > :nth-child(4),
.grid--5 > :nth-child(5) {
  grid-column: span 3;
}

/* 6 items: Row 1 -> 3 items, Row 2 -> 3 items */
.grid--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 36px;
}

/* 7 items: Row 1 -> 3 items, Row 2 -> 2 items, Row 3 -> 2 items */
.grid--7 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 32px;
}
.grid--7 > :nth-child(1),
.grid--7 > :nth-child(2),
.grid--7 > :nth-child(3) {
  grid-column: span 2;
}
.grid--7 > :nth-child(4),
.grid--7 > :nth-child(5) {
  grid-column: span 3;
}
.grid--7 > :nth-child(6),
.grid--7 > :nth-child(7) {
  grid-column: span 3;
}

/* 8 items: Row 1 -> 3 items, Row 2 -> 3 items, Row 3 -> 2 items */
.grid--8 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 32px;
}
.grid--8 > :nth-child(1),
.grid--8 > :nth-child(2),
.grid--8 > :nth-child(3),
.grid--8 > :nth-child(4),
.grid--8 > :nth-child(5),
.grid--8 > :nth-child(6) {
  grid-column: span 2;
}
.grid--8 > :nth-child(7),
.grid--8 > :nth-child(8) {
  grid-column: span 3;
}

/* 9 items: Row 1 -> 3 items, Row 2 -> 3 items, Row 3 -> 3 items */
.grid--9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}

@media (max-width: 980px) {
  .grid--3, .grid--4, .grid--6, .grid--9 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .grid--5, .grid--7, .grid--8 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .grid--5 > *,
  .grid--7 > *,
  .grid--8 > * {
    grid-column: auto !important;
  }
  .grid--3 > :last-child,
  .grid--5 > :last-child,
  .grid--7 > :last-child,
  .grid--9 > :last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4, .grid--5, .grid--6, .grid--7, .grid--8, .grid--9 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .grid--3 > :last-child,
  .grid--5 > :last-child,
  .grid--7 > :last-child,
  .grid--9 > :last-child {
    grid-column: auto !important;
  }
}

/* Product cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  text-decoration: none;
}
.card__img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ivory-deep);
  box-shadow: 0 6px 18px rgba(23, 63, 53, 0.06);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__img img { transform: scale(1.04); }
.card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-top: 14px;
  margin-bottom: 6px;
  text-wrap: balance;
}
.card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 12px;
  text-wrap: pretty;
}
.card .arrow-link {
  margin-top: auto;
  padding-top: 6px;
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 580px) {
  .cards { grid-template-columns: 1fr; gap: 28px; }
}

/* Feature grid */
.features {
  /* Layout handled by .grid--6 */
}
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}
.feature svg {
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--forest);
  margin-top: 2px;
}
.feature > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.feature h3 {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--forest);
  margin-bottom: 6px;
  text-wrap: balance;
}
.feature p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
}
.on-dark .feature svg { color: var(--gold); }
.on-dark .feature p { color: rgba(246,241,231,0.78); }

/* Stats */
.stats-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin-top: 28px;
}
.stats dt {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--ivory);
  font-variant-numeric: lining-nums;
}
.stats dd {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(246, 241, 231, 0.88);
  margin-top: 8px;
  line-height: 1.35;
  white-space: normal;
  text-wrap: balance;
}
.stats > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.map img { width: 100%; height: auto; display: block; border-radius: 8px; }
.stats-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #09211b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(246, 241, 231, 0.12);
}
.stats-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.stats-media:hover img {
  transform: scale(1.01);
}
@media (max-width: 1040px) {
  .stats-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
  }
  .stats dt { font-size: 2.2rem; }
  .stats dd { font-size: 0.84rem; }
}

/* Regions */
.regions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.regions__media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 380px;
  height: 100%;
  box-shadow: 0 12px 28px rgba(23, 63, 53, 0.08);
}
.regions__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.region-list {
  display: grid;
  gap: 0;
  border-left: 1px dashed var(--gold);
  margin-left: 6px;
}
.region-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 0.95rem;
}
.region-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.15em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.region-list b {
  font-weight: 600;
  color: var(--forest);
}
.region-list span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
@media (max-width: 820px) {
  .regions {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 100%;
  }
  .regions .stack {
    width: 100%;
    max-width: 100%;
  }
  .regions .stack .arrow-link {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .regions__media {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(23, 63, 53, 0.08);
  }
  .regions__media img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
  }
}
@media (max-width: 580px) {
  .regions {
    gap: 28px;
    padding-bottom: 12px;
  }
  .regions__media {
    aspect-ratio: 5 / 4;
  }
}

/* CTA band */
.cta { background: var(--forest-deep); color: var(--ivory); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("../images/Trustscope-image-leaf.webp") center / cover; opacity: 0.2; }
.cta .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-block: clamp(48px, 7vw, 76px); }
.cta h2 { color: var(--ivory); max-width: 22ch; text-wrap: balance; }
.cta p { color: rgba(246,241,231,0.82); max-width: 48ch; margin-top: 14px; text-wrap: pretty; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(44px, 7vw, 84px); }
.page-hero--plain .wrap { grid-template-columns: 1fr; }
.page-hero__img { aspect-ratio: 5 / 4; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(23, 63, 53, 0.08); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
@media (max-width: 820px) { .page-hero .wrap { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* Tiles: plain ruled blocks with equal heights */
.tiles {
  /* Layout handled by .grid--* classes */
}
.tile {
  display: flex;
  flex-direction: column;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  min-width: 0;
  height: 100%;
}
.tile h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--forest);
  margin-bottom: 8px;
  text-wrap: balance;
}
.tile p {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
}
.tile .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}
.on-dark .tile { border-top-color: var(--line-light); }
.on-dark .tile p { color: rgba(246,241,231,0.78); }
.on-dark .tile .tag { color: var(--gold); }

/* Spec tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 620px; }
.spec th, .spec td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { background: var(--forest); color: var(--ivory); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.spec tbody th { font-weight: 600; color: var(--forest); }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 14px; max-width: 78ch; text-wrap: pretty; }

/* Process steps — balanced 3x2 card grid */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  list-style: none;
  padding: 0;
}
.step {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  min-width: 0;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 63, 53, 0.07);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
  font-variant-numeric: lining-nums;
}
.step h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--forest);
  margin-bottom: 10px;
  text-wrap: balance;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.step .out {
  font-size: 0.86rem;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  line-height: 1.45;
}
.step .out b {
  color: var(--forest);
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
}

/* Check list */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 0.95rem; color: var(--ink-soft); }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--sage); margin-top: 3px; }
.checks b { color: var(--ink); font-weight: 600; }
.on-dark .checks li { color: rgba(246,241,231,0.82); }
.on-dark .checks b { color: var(--ivory); }
.on-dark .checks svg { color: var(--gold); }

/* FAQ */
.faq { display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; color: var(--forest); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.4rem; font-weight: 400; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 70ch; }

/* Product index rows */
.prod-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.prod-row:nth-child(even) .prod-row__img { order: 2; }
.prod-row__img { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.prod-row__img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 0.8rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--forest); background: var(--white); }
@media (max-width: 820px) { .prod-row { grid-template-columns: 1fr; } .prod-row:nth-child(even) .prod-row__img { order: 0; } }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact > .stack,
.contact #details {
  position: -webkit-sticky;
  position: sticky;
  top: clamp(84px, 12vh, 104px);
  align-self: start;
  height: fit-content;
}
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .contact > .stack,
  .contact #details {
    position: static;
    top: auto;
  }
}
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--forest); margin-top: 2px; }
.contact-list b { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3.5vw, 36px); }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--forest); }
.field label .req { color: #d9383a; font-weight: 700; margin-left: 3px; font-size: 0.95em; }
.form.was-validated .field input:invalid,
.form.was-validated .field textarea:invalid,
.form.was-validated .field select:invalid { border-color: #d9383a; background: #fff8f8; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--ivory);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; background: var(--white); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 6px; background: var(--ivory-deep); border-left: 3px solid var(--gold); font-size: 0.92rem; line-height: 1.5; }
.form-status--success { background: #eaf5ea; border-left-color: #2e7d32; color: #1b5e20; }
.form-status--error { background: #fdeeee; border-left-color: #d32f2f; color: #b71c1c; }
.form-status--warning { background: #fff8e1; border-left-color: #f57f17; color: #824400; }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; pointer-events: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ivory-deep); border-top: 1px solid var(--line); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 36px 32px; padding-block: clamp(44px, 6vw, 68px); }
.footer-grid img { height: 36px; width: auto; }
.footer-about { display: grid; gap: 18px; align-content: start; max-width: 36ch; color: var(--ink-soft); }
.site-footer h4 { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--forest); text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); overflow-wrap: anywhere; }
.foot-contact svg { flex: none; width: 17px; height: 17px; color: var(--forest); margin-top: 3px; }
.social { display: flex; gap: 14px; }
.social a { color: var(--forest); display: inline-flex; }
.social svg { width: 20px; height: 20px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ----------
   A quiet fade + rise as content enters the viewport, with a small stagger
   between siblings. Runs once per element (js/site.js adds .is-in and stops
   observing). The target list below is mirrored in js/site.js — keep in sync. */
@keyframes rvRise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes rvScale {
  from { transform: scale(1.045); }
  to { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .js :is(
    .stack > *:not(.features, .region-list),
    .hero__media,
    .page-hero__img,
    .section-head > .arrow-link,
    .split__media,
    .cards .card,
    .features .feature,
    .tiles .tile,
    .checks li,
    .faq details,
    .stats-wrap > div > p,
    .stats > div,
    .stats-media,
    .region-list li,
    .regions__media,
    .cta .wrap > *,
    .form,
    .two-col > .prose,
    .step,
    .table-scroll,
    .note,
    .prod-row__img
  ) {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  .js :is(
    .stack > *:not(.features, .region-list),
    .hero__media,
    .page-hero__img,
    .section-head > .arrow-link,
    .split__media,
    .cards .card,
    .features .feature,
    .tiles .tile,
    .checks li,
    .faq details,
    .stats-wrap > div > p,
    .stats > div,
    .stats-media,
    .region-list li,
    .regions__media,
    .cta .wrap > *,
    .form,
    .two-col > .prose,
    .step,
    .table-scroll,
    .note,
    .prod-row__img
  ).is-in {
    animation: rvRise 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s) both;
  }

  /* Photography settles with a barely-there scale. */
  .js :is(.hero__media, .page-hero__img, .split__media, .regions__media, .prod-row__img) img {
    transform: scale(1.045);
  }
  .js :is(.hero__media, .page-hero__img, .split__media, .regions__media, .prod-row__img).is-in img {
    animation: rvScale 1.15s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trust__track { animation: none; }
  * { transition: none !important; }
}
