/* ==========================================================================
   Sunhope International
   Implements DESIGN.md — Dyson style reference, Sunhope palette by role.
   Weight 300 display · 36px display cap · 2px/8px radius · no shadows ever.

   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons & links
   6.  Masthead, standing band, navigation
   7.  Full-screen mobile menu
   8.  Heroes
   9.  Editorial split
   10. Figures
   11. Content modules
   12. Forms
   13. Legal & error pages
   14. Footer
   15. Reveal motion
   16. Print
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Canvas is never pure white; white is a card surface. */
  --canvas: #f5f2ea;
  --canvas-2: #efece2;
  --paper: #ffffff;
  --evergreen: #0b3d2e;
  --ink: #17211c;
  --body: #59645e;
  --mute: #9aa29c;
  --border: #e5e1d6;
  --rule: #d8d3c6;
  --teal: #008c72;
  --orange: #f29a2e;
  --label: #8a5a12;
  --error: #a4321c;

  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.74);
  --rule-dark: rgba(255, 255, 255, 0.22);

  --font: "Jost", "Futura PT", "Avenir Next", "Century Gothic", sans-serif;

  /* The whole type scale. Nothing between these values. */
  --t-caption: 12px;
  --t-body-sm: 14px;
  --t-body: 16px;
  --t-sub: 18px;
  --t-h3: 24px;
  --t-h2s: 28px;
  --t-h2: 32px;
  --t-h1: 36px;

  --lh-caption: 1.67;
  --lh-body-sm: 1.56;
  --lh-body: 1.5;
  --lh-sub: 1.44;
  --lh-h3: 1.33;
  --lh-h2s: 1.3;
  --lh-h2: 1.25;
  --lh-h1: 1.22;

  /* 4px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-14: 56px;
  --s-18: 72px;

  --maxw: 1280px;
  --maxw-narrow: 720px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(48px, 7vw, 72px);

  --r: 2px;
  --r-img: 8px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 0.65, 0.26, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--s-6));
}

body {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

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

a {
  color: inherit;
}

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

::selection {
  background: var(--teal);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  z-index: 200;
  transform: translateY(-160%);
  background: var(--evergreen);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r);
  font-size: var(--t-body-sm);
  font-weight: 500;
  text-decoration: none;
  transition: transform 220ms var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

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

/* --------------------------------------------------------------------------
   3. Typography — weight 300 display, never above 500
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.display-1 {
  font-size: var(--t-h1);
  line-height: var(--lh-h1);
  font-weight: 300;
  max-width: 16ch;
}

.display-2 {
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  font-weight: 300;
  max-width: 20ch;
}

.display-3 {
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  font-weight: 300;
}

p {
  text-wrap: pretty;
}

.lede {
  font-size: var(--t-sub);
  line-height: var(--lh-sub);
  color: var(--body);
  max-width: 46ch;
}

.body {
  color: var(--body);
  max-width: 60ch;
}

.body + .body {
  margin-top: var(--s-4);
}

.body-tight {
  color: var(--body);
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  max-width: 52ch;
}

/* Kicker replaces the old letter-spaced eyebrow — plain teal text, no dot. */
.eyebrow {
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.section-head {
  display: grid;
  gap: var(--s-4);
  max-width: 62ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head--center .lede,
.section-head--center .body {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: calc(var(--maxw-narrow) + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--border);
}

.section--tight {
  padding-block: clamp(32px, 5vw, 48px);
}

.section--flush-top {
  padding-block-start: 0;
}

/* A background shift, never a shadow, and never a jump to dark mid-page. */
.section--paper {
  background: var(--canvas-2);
}

.section--mist {
  background: var(--canvas-2);
}

.section--last {
  border-bottom: 0;
}

.section--hairline-top {
  border-top: 1px solid var(--border);
}

.stack-sm > * + * {
  margin-top: var(--s-3);
}

.stack > * + * {
  margin-top: var(--s-5);
}

.stack-lg > * + * {
  margin-top: var(--s-10);
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

@media (max-width: 30em) {
  .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 44px;
  padding-inline: var(--s-6);
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: var(--t-body);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
    border-color 200ms var(--ease);
}

/* The one filled promotional button. Orange appears nowhere else. */
.btn--primary,
.btn:not(.btn--ghost):not(.btn--light) {
  background: var(--orange);
  color: var(--paper);
  border-color: var(--orange);
}

.btn--primary:hover,
.btn:not(.btn--ghost):not(.btn--light):hover {
  background: #dd8a22;
  border-color: #dd8a22;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--canvas);
}

.btn--light {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--rule-dark);
}

.btn--light:hover {
  background: var(--on-dark);
  color: var(--evergreen);
  border-color: var(--on-dark);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

button[aria-busy="true"] {
  cursor: progress;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-body-sm);
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms var(--ease);
}

.arrow-link:hover {
  border-bottom-color: var(--teal);
}

.arrow-link svg {
  flex: none;
}

.text-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.mail-link {
  display: inline-block;
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  font-weight: 300;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--s-1);
  overflow-wrap: anywhere;
  transition: border-color 200ms var(--ease);
}

.mail-link:hover {
  border-bottom-color: var(--teal);
}

/* --------------------------------------------------------------------------
   6. Masthead, standing band, navigation
   -------------------------------------------------------------------------- */

/* Logo sits on the cream masthead. It measures 2.88:1 on evergreen — under the
   3:1 floor for a logo-sized graphic — so the dark band goes beneath it. */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand__img {
  width: auto;
  height: 21px;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
  padding: 0;
}

.nav__link {
  display: inline-block;
  font-size: var(--t-body-sm);
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding-block: var(--s-1);
  border-bottom: 2px solid transparent;
  transition: border-color 200ms var(--ease);
}

.nav__link:hover {
  border-bottom-color: var(--rule);
}

/* Active state is spatial, not chromatic. */
.nav__link[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.nav__cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: none;
  border: 0;
  padding: var(--s-2) 0;
  cursor: pointer;
  color: var(--ink);
  font-size: var(--t-body-sm);
  font-weight: 500;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: currentColor;
}

/* Standing band — the structural constant, directly under the masthead. */
.announce {
  background: var(--evergreen);
  color: var(--on-dark-muted);
}

.announce__text {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  padding-block: var(--s-2);
  text-align: center;
}

.announce__text b {
  font-weight: 500;
  color: var(--on-dark);
}

@media (min-width: 64em) {
  .nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }
}

/* Category strip — spatial nav, no colour state */
.cats {
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.cats__inner {
  display: flex;
  gap: var(--s-10);
  height: 52px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.cats__inner::-webkit-scrollbar {
  display: none;
}

.cats__inner a {
  font-size: var(--t-body-sm);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding-block: var(--s-1);
  border-bottom: 2px solid transparent;
}

.cats__inner a[aria-current] {
  border-bottom-color: var(--ink);
}

.cats__meta {
  margin-left: auto;
  color: var(--mute);
  font-size: var(--t-caption);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. Full-screen mobile menu
   -------------------------------------------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--evergreen);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 300ms var(--ease), visibility 0s linear 0s;
}

.menu__bar {
  height: var(--nav-h);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--rule-dark);
}

.menu__close {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: none;
  border: 0;
  padding: var(--s-2) 0;
  cursor: pointer;
  color: var(--on-dark);
  font-size: var(--t-body-sm);
  font-weight: 500;
}

.menu__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-10);
  padding-block: var(--s-12);
}

.menu__list {
  list-style: none;
  padding: 0;
  display: grid;
}

.menu__item {
  border-bottom: 1px solid var(--rule-dark);
}

.menu__item:first-child {
  border-top: 1px solid var(--rule-dark);
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-block: var(--s-4);
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  font-weight: 300;
  color: var(--on-dark);
  text-decoration: none;
}

.menu__num {
  font-size: var(--t-caption);
  font-weight: 500;
  color: var(--on-dark-muted);
  flex: none;
}

.menu__link:hover {
  color: var(--orange);
}

.menu__link[aria-current="page"] .menu__num {
  color: var(--orange);
}

.menu__meta {
  display: grid;
  gap: var(--s-2);
}

.menu__meta p {
  font-size: var(--t-caption);
  color: var(--on-dark-muted);
}

.menu__meta a {
  font-size: var(--t-sub);
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body.is-locked {
  overflow: hidden;
  padding-right: var(--sbw, 0px);
}

@media (min-width: 64em) {
  .menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   8. Heroes — editorial split, the Dyson pattern
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(40px, 6vw, 56px);
  border-bottom: 1px solid var(--border);
}

.hero__copy {
  display: grid;
  gap: var(--s-4);
  align-content: center;
}

.hero__copy .btn-row {
  margin-top: var(--s-3);
}

.hero__media {
  margin-top: var(--s-8);
  border-radius: var(--r-img);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: clamp(220px, 42vw, 340px);
  object-fit: cover;
  object-position: 62% center;
}

.hero__note {
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  color: var(--mute);
}

@media (min-width: 64em) {
  .hero__grid,
  .hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-12);
    align-items: center;
  }

  .hero__media {
    margin-top: 0;
  }

  .hero__media img {
    height: 340px;
  }

  /* Photo-left variant simply reorders; no bleeding panels. */
  .hero--reverse .hero__media {
    grid-column: 1;
    grid-row: 1;
  }

  .hero--reverse .hero__copy {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Typographic hero — no image */
.hero--type .hero__copy {
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   9. Editorial split
   -------------------------------------------------------------------------- */

.editorial {
  display: grid;
  gap: var(--s-10);
  align-items: center;
}

.editorial__copy {
  display: grid;
  gap: var(--s-4);
  align-content: center;
}

.editorial__media {
  border-radius: var(--r-img);
  overflow: hidden;
}

.editorial__media img {
  width: 100%;
  height: clamp(220px, 34vw, 320px);
  object-fit: cover;
}

@media (min-width: 64em) {
  .editorial {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-12);
  }

  .editorial--wide-copy {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .editorial--wide-media {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .editorial--reverse .editorial__media {
    grid-column: 1;
    grid-row: 1;
  }

  .editorial--reverse .editorial__copy {
    grid-column: 2;
    grid-row: 1;
  }

  .editorial--top {
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   10. Figures
   -------------------------------------------------------------------------- */

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--r-img);
}

.figure__caption {
  margin-top: var(--s-3);
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  max-width: 46ch;
}

.band {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.band img {
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  object-fit: cover;
  object-position: center 55%;
}

.band--ritual img {
  object-position: 60% center;
}

.band__caption {
  padding-block: var(--s-3);
}

/* --------------------------------------------------------------------------
   11. Content modules
   -------------------------------------------------------------------------- */

/* Ruled index — flat, hairline-separated, no cards */
.ruled-index {
  display: grid;
  gap: var(--s-8);
  list-style: none;
  padding: 0;
  margin-top: var(--s-10);
}

.ruled-index__item {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-4);
  display: grid;
  gap: var(--s-2);
  align-content: start;
}

.ruled-index__num {
  font-size: var(--t-caption);
  font-weight: 500;
  color: var(--label);
}

.ruled-index__title {
  font-size: var(--t-sub);
  line-height: var(--lh-sub);
  font-weight: 400;
  color: var(--ink);
}

.ruled-index__text {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--body);
  max-width: 40ch;
}

@media (min-width: 48em) {
  .ruled-index--4,
  .ruled-index--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-8) var(--s-8);
  }

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

@media (min-width: 68em) {
  .ruled-index--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Brand index rows */
.brand-index {
  margin-top: var(--s-10);
  border-top: 1px solid var(--rule);
}

.brand-index__row {
  display: grid;
  gap: var(--s-2) var(--s-8);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background-color 200ms var(--ease);
}

.brand-index__row:hover {
  background: var(--canvas-2);
}

.brand-index__name {
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  font-weight: 300;
  color: var(--ink);
}

.brand-index__desc {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--body);
  max-width: 52ch;
}

.brand-index__go {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-body-sm);
  font-weight: 500;
  color: var(--teal);
}

@media (min-width: 60em) {
  .brand-index__row {
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.56fr) auto;
    align-items: center;
  }
}

/* Numbered process list */
.process {
  list-style: none;
  padding: 0;
  margin-top: var(--s-10);
  border-top: 1px solid var(--rule);
}

.process__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--s-1) var(--s-4);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--border);
}

.process__num {
  grid-row: span 2;
  font-size: var(--t-body-sm);
  font-weight: 500;
  color: var(--label);
}

.process__title {
  font-size: var(--t-sub);
  line-height: var(--lh-sub);
  font-weight: 400;
}

.process__text {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--body);
  max-width: 60ch;
}

@media (min-width: 60em) {
  .process__item {
    grid-template-columns: 48px minmax(0, 0.3fr) minmax(0, 0.7fr);
    align-items: baseline;
    gap: var(--s-4) var(--s-6);
  }

  .process__num {
    grid-row: 1;
  }
}

/* Spec rows — label left, value right */
.specs {
  margin-top: var(--s-6);
  border-top: 1px solid var(--rule);
}

.spec {
  display: flex;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--border);
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
}

.spec__k {
  color: var(--body);
}

.spec__v {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

/* Timeline — reuses the spec rhythm */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}

.timeline__item {
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: var(--s-1);
}

.timeline__year {
  font-size: var(--t-body-sm);
  font-weight: 500;
  color: var(--label);
}

.timeline__title {
  font-size: var(--t-sub);
  line-height: var(--lh-sub);
  font-weight: 400;
  color: var(--ink);
}

.timeline__text {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--body);
  max-width: 56ch;
}

@media (min-width: 60em) {
  .timeline__item {
    grid-template-columns: 96px minmax(0, 0.3fr) minmax(0, 0.7fr);
    gap: var(--s-6);
    align-items: baseline;
  }
}

.sticky-head {
  align-self: start;
}

@media (min-width: 64em) {
  .sticky-head {
    position: sticky;
    top: calc(var(--nav-h) + var(--s-8));
  }
}

/* Callout — a flat background shift, no card */
.callout {
  display: grid;
  gap: var(--s-4);
  justify-items: center;
  text-align: center;
}

.callout__text {
  font-size: var(--t-h2s);
  line-height: var(--lh-h2s);
  font-weight: 300;
  color: var(--ink);
  max-width: 34ch;
  text-wrap: balance;
}

/* Brand detail blocks */
.brand-detail {
  scroll-margin-top: calc(var(--nav-h) + var(--s-6));
}

.brand-detail__label {
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  font-weight: 300;
}

.brand-detail__descriptor {
  font-size: var(--t-sub);
  line-height: var(--lh-sub);
  color: var(--teal);
}

/* Category labels — plain text, not pills */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  list-style: none;
  padding: 0;
  margin-top: var(--s-2);
}

.tag-list li {
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  font-weight: 500;
  color: var(--label);
}

.tag-list li + li::before {
  content: "· ";
  color: var(--mute);
}

/* Notice / small print */
.notice {
  border-left: 2px solid var(--rule);
  padding: var(--s-1) 0 var(--s-1) var(--s-4);
  color: var(--body);
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  max-width: 72ch;
}

.notice strong {
  color: var(--ink);
  font-weight: 500;
}

/* Closing CTA */
.cta-band {
  display: grid;
  gap: var(--s-5);
  justify-items: center;
  text-align: center;
}

.cta-band .body {
  max-width: 52ch;
}

.statement {
  font-size: var(--t-h2s);
  line-height: var(--lh-h2s);
  font-weight: 300;
  color: var(--ink);
  max-width: 24ch;
}

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: var(--s-5);
  max-width: 40rem;
}

.field {
  display: grid;
  gap: var(--s-2);
}

.field__label {
  font-size: var(--t-body-sm);
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
}

.field__optional {
  font-weight: 400;
  font-size: var(--t-caption);
  color: var(--mute);
}

.field__control {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-body);
  color: var(--ink);
  transition: border-color 200ms var(--ease);
}

.field__control::placeholder {
  color: var(--mute);
}

.field__control:hover {
  border-color: var(--body);
}

.field__control:focus {
  outline: none;
  border-color: var(--teal);
}

.field__control:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

textarea.field__control {
  min-height: 152px;
  resize: vertical;
  line-height: var(--lh-body);
}

select.field__control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2359645e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  padding-right: var(--s-10);
}

.field__hint {
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  color: var(--mute);
}

.field__error {
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  font-weight: 500;
  color: var(--error);
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.field.has-error .field__control {
  border-color: var(--error);
}

.field--check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: var(--s-1) var(--s-3);
}

.field--check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
  cursor: pointer;
}

.field--check .field__checklabel {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--body);
  cursor: pointer;
}

.field--check .field__error {
  grid-column: 2;
}

.field--turnstile {
  gap: var(--s-2);
  justify-items: start;
}

.form__counter {
  font-variant-numeric: tabular-nums;
}

.form__status {
  border-left: 2px solid var(--teal);
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--ink);
}

.form__status:empty {
  display: none;
}

.form__status--error {
  border-left-color: var(--error);
  color: var(--error);
}

.form__status:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.form__note {
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
  color: var(--body);
  max-width: 56ch;
}

.noscript-note {
  border-left: 2px solid var(--orange);
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  font-size: var(--t-body-sm);
  color: var(--body);
}

/* Submitting requires scripting — the Turnstile check runs in the browser, so a
   no-JS post could never pass verification. */
html:not(.js) [data-contact-form] {
  display: none;
}

/* --------------------------------------------------------------------------
   13. Legal & error pages
   -------------------------------------------------------------------------- */

.legal {
  display: grid;
  gap: var(--s-10);
}

.legal__body > * + * {
  margin-top: var(--s-4);
}

.legal__body p {
  color: var(--body);
  max-width: 70ch;
}

.legal__meta {
  font-size: var(--t-caption);
  color: var(--mute);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

.legal__aside {
  align-self: start;
  display: grid;
  gap: var(--s-3);
  border-top: 1px solid var(--rule);
  padding-top: var(--s-4);
}

.legal__aside h2 {
  font-size: var(--t-caption);
  font-weight: 500;
  color: var(--mute);
}

.legal__aside ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.legal__aside a {
  font-size: var(--t-body-sm);
  color: var(--teal);
  text-decoration: none;
}

.legal__aside a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (min-width: 60em) {
  .legal {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.28fr);
    gap: var(--s-12);
  }

  .legal__aside {
    position: sticky;
    top: calc(var(--nav-h) + var(--s-8));
  }
}

.error-page {
  display: grid;
  gap: var(--s-5);
  justify-items: center;
  text-align: center;
  padding-block: var(--s-8);
}

.error-page .body {
  max-width: 48ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--canvas);
  padding-block: var(--s-12) var(--s-8);
}

.footer__top {
  display: grid;
  gap: var(--s-10);
}

.footer__brandcol {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  max-width: 40ch;
}

.footer__logo {
  width: auto;
  height: 21px;
}

.footer__statement {
  color: var(--body);
  font-size: var(--t-body-sm);
  line-height: var(--lh-body-sm);
}

.footer__established {
  font-size: var(--t-caption);
  color: var(--mute);
}

.footer__cols {
  display: grid;
  gap: var(--s-8);
}

.footer__heading {
  font-size: var(--t-caption);
  font-weight: 500;
  color: var(--mute);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-4);
}

.footer__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.footer__list a {
  font-size: var(--t-body-sm);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer__list a:hover {
  border-bottom-color: var(--rule);
}

.footer__list a[aria-current="page"] {
  color: var(--body);
}

.footer__bottom {
  margin-top: var(--s-10);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--s-4);
}

.footer__disclaimer {
  font-size: var(--t-caption);
  line-height: var(--lh-caption);
  color: var(--mute);
  max-width: 96ch;
}

.footer__legal {
  font-size: var(--t-caption);
  color: var(--mute);
}

@media (min-width: 40em) {
  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .footer__top {
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
    gap: var(--s-12);
  }

  .footer__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--s-8);
  }
}

/* --------------------------------------------------------------------------
   15. Reveal motion — opacity and transform only
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal="fade"],
.js [data-reveal="left"],
.js [data-reveal="right"] {
  transform: none;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */

@media print {
  .announce,
  .header,
  .menu,
  .cats,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
