/* Design tokens – George Coltman Design brand refresh (July 2026). Define once here, use everywhere. */
:root {
  /* Colour */
  --bone: #E6DDD2;
  --bone-deep: #DCD2C5;
  --eucalyptus: #444425;
  --oxblood: #4A0F0F;
  --charcoal: #1E1F1E;
  --boxgum: #BDC6BE;
  --ink: var(--eucalyptus);
  --paper: var(--bone);

  /* Type */
  --display: "Copernicus New Condensed", Georgia, serif;
  --body: "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --tracking-body: 0.02em;
  --tracking-label: 0.06em;
  --leading-display: 0.92;
  --step--1: clamp(0.8125rem, 0.78rem + 0.12vw, 0.875rem); /* small caps body */
  --step-0: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem); /* prose */
  --step-body: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem); /* sentence-case body on the home values and key pages – 2pt under --step-0 at desktop, per Clare (23 Nov 2026) */
  --leading-body: 1.6; /* 15/24 at desktop – about 2pt tighter than 17px at 1.55 */
  --step-1: clamp(1rem, 0.94rem + 0.3vw, 1.25rem);
  --step-nav: clamp(0.8125rem, 0.75rem + 0.25vw, 1rem); /* desktop header navigation – about 3pt smaller than --step-1 (Oct 2026 feedback) */
  --step-2: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem); /* tile titles */
  --step-3: clamp(2.5rem, 1.8rem + 3vw, 4.75rem); /* section headings */
  --step-4: clamp(3rem, 1.9rem + 4.8vw, 6.5rem); /* page titles */

  /* Space and layout */
  --gutter: clamp(16px, 4vw, 56px);
  --edge: clamp(8px, 1vw, 16px); /* inset for edge-to-edge images */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  --space-l: clamp(2.5rem, 1.8rem + 3vw, 5rem);
  --space-xl: clamp(4rem, 2.8rem + 5vw, 8rem);
  --measure: 26em;
  --measure-prose: 66ch;
  --container: 1440px;
  --wide: 1920px;
  --radius: 6px;
  --rule: 1px solid var(--ink);
  --header-h: clamp(4.5rem, 3.4rem + 3.6vw, 8.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-rise: 900ms;
}

/*
  Self-hosted fonts (no third-party requests).

  Display: Copernicus New Condensed 090 (Klim, licensed web font, used as supplied).
  George's mockups use the 100 weight, which isn't in the licensed pack; 090 is the
  closest stroke weight. Body: IBM Plex Sans Condensed (OFL), Latin subset.
*/
@font-face {
  font-family: "Copernicus New Condensed";
  src: url("/assets/fonts/copernicus-new-cond-090.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/assets/fonts/ibm-plex-sans-condensed-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/assets/fonts/ibm-plex-sans-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base – reset, typography and utilities */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Keep the footer at the bottom of the window on short pages (404, thanks) */
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: var(--leading-display);
  text-transform: uppercase;
  text-wrap: balance;
}

p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

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

/* Small, tracked uppercase body copy from the brand system */
.caps {
  font-size: var(--step--1);
  line-height: 1.4;
  letter-spacing: var(--tracking-body);
  text-transform: uppercase;
}

.caps p + p {
  margin-top: 1em;
}

.label {
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  line-height: 1.3;
  text-transform: uppercase;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.prose {
  max-width: var(--measure-prose);
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  margin-top: 1.5em;
  font-size: var(--step-2);
}

.prose h3 {
  margin-top: 1.5em;
  font-size: calc(var(--step-2) * 0.75);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.button {
  display: inline-block;
  padding: 0.85em 2.5em;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover {
  background: var(--charcoal);
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: var(--space-s);
  left: var(--space-s);
  padding: 0.75em 1.25em;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body > main {
  flex: 1 0 auto;
}

/* Components – one block per partial in src/_includes/partials/ */

/* ---------- Header: split navigation around a centred wordmark ---------- */
.site-header {
  position: relative;
  border-bottom: var(--rule);
  background: var(--paper);
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--wide);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-nav__list {
  display: flex;
  justify-content: space-evenly;
  gap: var(--space-s);
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: block;
  padding-block: 0.5em;
  font-size: var(--step-nav);
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.4em;
}

.site-header__wordmark {
  display: block;
  width: clamp(185px, 9rem + 10vw, 360px);
  color: var(--ink);
}

.wordmark {
  display: block;
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
}

@media (max-width: 899.98px) {
  .site-nav {
    grid-template-columns: 44px 1fr 44px;
  }

  .site-nav__list {
    display: none;
  }

  .site-header__wordmark {
    grid-column: 2;
    justify-self: center;
    width: clamp(150px, 42vw, 200px);
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
}

/* Mobile menu – a native popover, so it works without JavaScript */
.site-menu {
  display: none;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--gutter);
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.site-menu:popover-open {
  display: flex;
  flex-direction: column;
}

.site-menu.is-open {
  position: fixed;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.site-menu::backdrop {
  background: rgb(30 31 30 / 0.4);
}

.site-menu nav {
  margin-block: auto;
}

.site-menu ul {
  display: grid;
  gap: var(--space-s);
  padding: 0;
  list-style: none;
  text-align: center;
}

.site-menu a {
  font-family: var(--display);
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.site-menu__close {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* ---------- Home hero collage ---------- */
.hero {
  overflow: hidden;
  padding-block: var(--space-m);
}

.collage {
  position: relative;
  max-width: var(--wide);
  aspect-ratio: 484 / 620;
  margin-inline: auto;
}

.collage__piece {
  position: absolute;
  overflow: hidden;
}

.collage__piece picture,
.collage__piece img {
  width: 100%;
  height: 100%;
}

.collage__piece img {
  object-fit: cover;
}

.collage__piece--fleece { z-index: 2; top: 7%; left: 3%; width: 45%; aspect-ratio: 3 / 2; }
.collage__piece--tree { z-index: 2; top: 0; right: 0; width: 27%; aspect-ratio: 13 / 17; }
.collage__piece--map { z-index: 1; top: 23%; left: 13%; width: 73%; aspect-ratio: 5 / 4; }
.collage__piece--history { z-index: 3; top: 52%; left: 64%; width: 30%; aspect-ratio: 2 / 3; }
.collage__piece--feathers { z-index: 2; top: 70%; left: 0; width: 38%; aspect-ratio: 3 / 2; }

.collage__heading {
  position: absolute;
  z-index: 4;
  top: 36%;
  right: 6%;
  left: 6%;
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  text-align: center;
}

@media (min-width: 900px) {
  .collage { aspect-ratio: 1705 / 820; }
  .collage__piece--fleece { top: 3%; left: 0; width: 27.7%; }
  .collage__piece--map { top: 19%; left: 7%; width: 45%; aspect-ratio: 767 / 615; }
  .collage__piece--feathers { top: 71%; left: 2.4%; width: 19.8%; aspect-ratio: 338 / 235; }
  .collage__piece--tree { top: 1.5%; right: 13.2%; width: 16.5%; aspect-ratio: 281 / 365; }
  .collage__piece--history { top: 35%; right: 0; left: auto; width: 18.2%; aspect-ratio: 311 / 467; }

  /* Vertically centred in the collage (Clare, 23 Nov 2026). translate, not transform, so the rise animation still works */
  .collage__heading {
    top: 50%;
    right: 20%;
    left: 36%;
    translate: 0 -50%;
    font-size: clamp(3rem, 5.6vw, 7rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .collage__piece,
  .collage__heading {
    animation: rise var(--duration-rise) var(--ease-out) both;
  }

  .collage__piece--fleece { animation-delay: 100ms; }
  .collage__piece--tree { animation-delay: 200ms; }
  .collage__heading { animation-delay: 250ms; }
  .collage__piece--history { animation-delay: 300ms; }
  .collage__piece--feathers { animation-delay: 400ms; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }
}

/* ---------- Band: full-width image with two-part heading ---------- */
.band {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-inline: var(--edge);
}

.band picture,
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.band img {
  object-fit: cover;
}

.band__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(0.75rem, 2.5vw, 2.5rem);
  font-size: clamp(2.25rem, 0.5rem + 8vw, 9.5rem);
}

.band__top,
.band__bottom {
  max-width: 5.5em;
}

.band__top {
  color: var(--ink);
}

.band__bottom {
  align-self: flex-end;
  color: var(--bone);
  text-align: right;
}

@media (min-width: 900px) {
  .band { aspect-ratio: 16 / 9; }
}

/* ---------- Frame device (notched corners) ---------- */
.frame {
  position: absolute;
  inset: clamp(6px, 1vw, 12px);
  border: 14px solid transparent;
  border-image: url("/assets/static/frame-bone.svg") 14 stretch;
  pointer-events: none;
}

.frame--ink {
  border-image-source: url("/assets/static/frame-ink.svg");
}

/* ---------- Values ---------- */
.values {
  padding-block: var(--space-xl) var(--space-l);
}

.values__heading {
  margin-bottom: var(--space-l);
  font-size: var(--step-3);
  text-align: center;
}

.values__grid {
  display: grid;
  gap: var(--space-l);
  width: min(100% - 2 * var(--gutter), 30rem);
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

.value__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 247 / 168;
}

.value__media picture,
.value__media img {
  width: 100%;
  height: 100%;
}

.value__media img {
  object-fit: cover;
}

.value__title {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--bone);
  font-size: var(--step-2);
  text-align: center;
}

.value__text {
  max-width: 32em;
  margin-top: var(--space-s);
  font-size: var(--step-body);
  line-height: var(--leading-body);
}

/* Paragraph spacing held at its old size (Clare was happy with it) */
.value__text p + p {
  margin-top: 1.125em;
}

.value__list {
  margin-top: 1.125em;
}

@media (min-width: 900px) {
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xs);
    width: min(100% - 2 * var(--edge), 1600px);
  }

  .value__text {
    padding-right: var(--space-m);
  }
}

/* ---------- Split: text one side, full-bleed image with an inset on the other ---------- */
.split {
  display: grid;
}

.split__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-m);
  padding: var(--space-l) var(--gutter);
  text-align: center;
}

.split__title {
  font-size: var(--step-4);
}

/* Same size as the body copy below it (Liam, 23 Nov 2026) */
.split__intro {
  max-width: var(--measure);
  font-size: var(--step-body);
  line-height: var(--leading-body);
}

.split__media {
  position: relative;
  display: grid;
  place-items: center;
  order: -1;
  overflow: hidden;
  aspect-ratio: 517 / 510;
}

.split__bg,
.split__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.split__bg img {
  object-fit: cover;
}

.split__inset {
  position: relative;
  width: 36%;
  aspect-ratio: 302 / 470;
}

.split__inset picture,
.split__inset img {
  width: 100%;
  height: 100%;
}

.split__inset img {
  object-fit: cover;
}

/* Phones: more room above the headline and below the intro on the four key pages */
@media (max-width: 899.98px) {
  .split:not(.split--content) .split__text {
    padding-block: calc(var(--space-l) * 2);
  }
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100svh - var(--header-h));
  }

  /* The image stays fixed in place; if the text column is taller than the window, only the text scrolls */
  .split__media {
    position: sticky;
    top: 0;
    align-self: start;
    order: 0;
    aspect-ratio: auto;
    /* Full window height, not minus the header: the header scrolls away, so a shorter image leaves a gap below it once stuck */
    height: 100svh;
    min-height: 36rem;
  }

  .split--reverse .split__media {
    order: -1;
  }
}

/* Content below a split or page header */
.page-body {
  padding-block: var(--space-xl);
}

/* Body copy sits under the intro in the text column – sentence case per Clare (20 Nov 2026) */
.split__body {
  max-width: var(--measure);
  font-size: var(--step-body);
  line-height: var(--leading-body);
}

.split__body > * + * {
  margin-top: 1.7em;
}

.page-header {
  padding: var(--space-xl) var(--gutter) var(--space-m);
  text-align: center;
}

.page-header h1 {
  font-size: var(--step-4);
}

/* ---------- Full-bleed image ---------- */
.full-bleed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-inline: var(--edge);
}

.full-bleed picture,
.full-bleed img {
  width: 100%;
  height: 100%;
}

.full-bleed img {
  object-fit: cover;
}

@media (min-width: 900px) {
  .full-bleed { aspect-ratio: 21 / 9; }
}

/* ---------- Quote ---------- */
.quote {
  padding: var(--space-xl) var(--gutter);
  text-align: center;
}

.quote blockquote {
  max-width: 24ch;
  margin-inline: auto;
  font-family: var(--display);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 4.25rem);
  line-height: var(--leading-display);
  text-transform: uppercase;
  text-wrap: balance;
}

.quote figcaption {
  margin-top: var(--space-m);
}

/* ---------- Call to action ---------- */
.cta {
  padding: var(--space-l) var(--gutter) var(--space-xl);
}

.cta__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-m);
  max-width: 52rem;
  margin-inline: auto;
  padding: var(--space-l) var(--space-m);
  text-align: center;
}

.cta__inner .frame {
  inset: 0;
}

.cta__heading {
  font-size: var(--step-3);
}

.cta__text {
  max-width: var(--measure);
}

/* ---------- Contact form ---------- */
.contact {
  display: grid;
  gap: var(--space-l);
  width: min(100%, 30rem);
  text-align: left;
}

.contact__title {
  text-align: center;
}

.contact-form {
  scroll-margin-top: var(--space-m);
}

.form-fields {
  overflow: hidden;
  border: var(--rule);
  border-radius: 8px;
}

.field {
  display: block;
  padding: 0.55rem 1rem 0.45rem;
  border-top: var(--rule);
}

.field:first-child {
  border-top: 0;
}

.field:focus-within {
  outline: 2px solid var(--oxblood);
  outline-offset: -2px;
}

.field__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

.field select {
  appearance: none;
  padding-right: 1.5rem;
  background: url("/assets/static/chevron.svg") no-repeat right center / 0.85rem;
  cursor: pointer;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-error {
  margin-bottom: var(--space-s);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--oxblood);
  color: var(--bone);
}

.form-error[hidden] {
  display: none;
}

.form-note {
  margin-top: var(--space-s);
  font-size: var(--step--1);
}

.turnstile {
  min-height: 65px;
  margin-top: var(--space-s);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-s);
}

/* Honeypot – off-screen for people, tempting for bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-m);
}

.contact-details address {
  font-style: normal;
}

.contact-details h2 {
  margin-bottom: 0.25rem;
}

/* ---------- Social links ---------- */
.social-links {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -6px;
}

.social-links svg {
  width: 30px;
  height: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--space-l) var(--gutter) var(--space-m);
  background: var(--eucalyptus);
  color: var(--bone);
}

.site-footer :focus-visible {
  outline-color: var(--bone);
}

.site-footer__inner {
  display: grid;
  grid-template-areas:
    "nav nav"
    "social social"
    "mark copyright";
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: var(--space-m) var(--space-l);
  max-width: var(--wide);
  margin-inline: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m) var(--space-l);
  grid-area: nav;
}

.site-footer__nav ul {
  display: grid;
  gap: 0.15rem;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  display: inline-block;
  padding-block: 0.3rem;
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__social {
  grid-area: social;
}

.site-footer__social h2 {
  margin-bottom: 0.25rem;
}

.site-footer__mark {
  display: block;
  width: clamp(72px, 5rem + 2vw, 110px);
  grid-area: mark;
  color: var(--bone);
}

.site-footer__copyright {
  grid-area: copyright;
  justify-self: end;
  font-size: 0.75rem;
  letter-spacing: var(--tracking-body);
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-areas:
      "mark nav social"
      "copyright copyright copyright";
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }

  .site-footer__nav {
    gap: var(--space-xl);
    padding-left: var(--space-l);
  }

  .site-footer__copyright {
    justify-self: start;
  }
}

/* ---------- Notices: 404 and thanks ---------- */
main:has(> .notice) {
  display: flex;
  flex-direction: column;
}

.notice {
  flex: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-m);
  padding: var(--space-l) var(--gutter);
  text-align: center;
}

.notice h1 {
  font-size: var(--step-4);
}

.notice__mark {
  width: clamp(90px, 12vw, 140px);
}

.notice__action {
  margin-top: var(--space-m);
}

/* ---------- Review note on draft legal pages ---------- */
.review-note {
  padding: var(--space-s) var(--space-m);
  border: 1px solid var(--oxblood);
  border-radius: var(--radius);
  background: var(--bone-deep);
}

.review-note > * + * {
  margin-top: 0.75em;
}

/* ---------- Motion: scroll reveals and hover transitions ----------
   Reveals only hide content once motion.js has run (.motion-ready), and never with reduced motion.
   Everything animates opacity and transform only, so nothing shifts the layout. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready [data-reveal] {
    transition:
      opacity 900ms var(--ease-out),
      transform 900ms var(--ease-out);
  }

  .motion-ready [data-reveal]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(1.75rem);
  }

  /* Value tiles follow one another in */
  .motion-ready .value[data-reveal]:nth-child(2) { transition-delay: 120ms; }
  .motion-ready .value[data-reveal]:nth-child(3) { transition-delay: 240ms; }

  /* The band's two lines slide in from opposite sides */
  .motion-ready .band__heading[data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .band__heading[data-reveal] > span {
    transition:
      opacity 1100ms var(--ease-out),
      transform 1100ms var(--ease-out);
  }

  .motion-ready .band__heading:not(.is-revealed) .band__top {
    opacity: 0;
    transform: translateX(-2rem);
  }

  .motion-ready .band__heading:not(.is-revealed) .band__bottom {
    opacity: 0;
    transform: translateX(2rem);
  }

  .band__heading .band__bottom {
    transition-delay: 200ms;
  }

  /* Full-bleed images settle from a slight zoom */
  .full-bleed img {
    transition: transform 1600ms var(--ease-out);
  }

  .motion-ready .full-bleed:not(.is-revealed) img {
    transform: scale(1.06);
  }

  .motion-ready .full-bleed:not(.is-revealed) {
    transform: none;
  }

  /* Hover: value photos drift closer, links underline from the left, buttons lift */
  .value__media img {
    transition: transform 1200ms var(--ease-out);
  }

  .value:hover .value__media img {
    transform: scale(1.04);
  }

  .site-nav__list a,
  .site-footer__nav a {
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
    transition: background-size 350ms var(--ease-out);
  }

  .site-nav__list a:hover,
  .site-nav__list a[aria-current="page"],
  .site-footer__nav a:hover {
    text-decoration: none;
    background-size: 100% 1px;
  }

  .button {
    transition:
      background-color 250ms ease,
      transform 250ms var(--ease-out);
  }

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

  .social-links a {
    transition: opacity 250ms ease;
  }

  .social-links a:hover {
    opacity: 0.7;
  }

  /* The mobile menu fades in */
  .site-menu:popover-open {
    animation: menu-in 300ms var(--ease-out);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
  }
}
