/* ============================================================
   HENLEY BUILD — Design system
   Faithful to Brand Guidelines v1 (July 2026)
   Palette: warm-neutral (oklch) · Type: EB Garamond + Inter
   Voice: precise, trusted, understated
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Colour — hex fallbacks */
  --paper: #fbfaf7;
  --paper-deep: #f0ece6;
  --ink: #474747;
  --ink-mid: #7c7975;
  --ink-soft: #a9a69f;
  --clay: #a06c50;
  --clay-deep: #8a5a41;
  --line: #e6e0d4;
  --footer-bg: #3a3835;
  --footer-line: #56534e;

  /* Type */
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-caption: 0.78rem;
  --fs-body: 1.0625rem;      /* 17px */
  --fs-lead: clamp(1.15rem, 1.6vw, 1.375rem);
  --fs-h4: 1.15rem;
  --fs-h3: clamp(1.3rem, 2.2vw, 1.6rem);
  --fs-h2: clamp(1.95rem, 4vw, 2.75rem);
  --fs-h1: clamp(2.6rem, 6vw, 4.4rem);
  --fs-display: clamp(3rem, 7.5vw, 5.25rem);

  /* Rhythm */
  --container: 1220px;
  --measure: 63ch;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 2px;

  --shadow-sm: 0 1px 2px rgba(58, 56, 53, .04);
  --shadow-md: 0 18px 44px -24px rgba(58, 56, 53, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@supports (color: oklch(30% 0.004 75)) {
  :root {
    --paper: oklch(98% 0.005 80);
    --paper-deep: oklch(94% 0.008 80);
    --ink: oklch(30% 0.004 75);
    --ink-mid: oklch(52% 0.004 75);
    --ink-soft: oklch(68% 0.004 75);
    --clay: oklch(56% 0.09 55);
    --clay-deep: oklch(48% 0.088 52);
    --line: oklch(90% 0.01 78);
    --footer-bg: oklch(27% 0.005 70);
    --footer-line: oklch(38% 0.005 70);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, figure, p, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

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

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--ink); color: var(--paper); padding: .7rem 1.2rem;
  z-index: 200; border-radius: 0 0 4px 4px; text-decoration: none; font-size: .9rem;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }

.display { font-size: var(--fs-display); line-height: 1.04; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-mid); font-family: var(--serif); font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin: 0 0 1.2rem;
}
.eyebrow--rule::before {
  content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .7;
}

.prose p { color: var(--ink-mid); max-width: var(--measure); }
.prose p + p { margin-top: 1.15em; }
.prose strong { color: var(--ink); font-weight: 600; }

.link {
  color: var(--clay); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--clay) 40%, transparent);
  padding-bottom: 1px; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link:hover { color: var(--clay-deep); border-color: var(--clay-deep); }

.muted { color: var(--ink-soft); }
.center { text-align: center; }
.measure { max-width: var(--measure); }
.measure-center { max-width: 58ch; margin-inline: auto; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
section { padding-block: var(--section); }
.bg-deep { background: var(--paper-deep); }
.bg-ink { background: var(--footer-bg); color: var(--paper); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--paper); }

.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head .lead { margin-top: 1rem; }
.section-head--split { display: grid; gap: 1.4rem 3rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 820px) {
  .section-head--split { grid-template-columns: 1.1fr .9fr; }
  .section-head--split .section-head__aside { text-align: right; }
}

.stack > * + * { margin-top: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  padding: .95em 1.65em;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover { --bg: var(--clay); --bd: var(--clay); --fg: #fff; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--ink); --bd: var(--ink); --fg: var(--paper); }

.btn--light { --bg: transparent; --fg: var(--paper); --bd: var(--footer-line); }
.btn--light:hover { --bg: var(--paper); --bd: var(--paper); --fg: var(--ink); }

.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.textlink .arrow { transition: transform .3s var(--ease); color: var(--clay); }
.textlink:hover { color: var(--clay); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  font-family: var(--serif); font-weight: 600; font-size: 1.32rem; line-height: 1;
  letter-spacing: -.04em; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 2px;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center; padding-right: .06em;
}
.brand__name {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; padding-left: .1em;
}
.brand__name b { font-weight: 500; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.3rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.nav__link {
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-mid);
  position: relative; padding: .3rem 0; transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--clay); transition: right .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav-toggle { display: none; }
.nav__cta { margin-left: .4rem; }

@media (max-width: 900px) {
  .nav__cta.btn { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; padding: 10px; margin-right: -10px;
  }
  .nav-toggle span { height: 1.5px; width: 100%; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); letter-spacing: .06em; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }
  .nav__link::after { display: none; }
  .nav__cta.btn { display: inline-flex; margin: 1.4rem 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }
.hero__title { margin: .2em 0 0; }
.hero__title .accent { font-style: italic; color: var(--clay); }
.hero__copy { margin-top: 1.6rem; max-width: 46ch; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero__badge {
  position: absolute; left: -1px; bottom: 1.6rem; background: var(--paper);
  padding: 1rem 1.4rem; border: 1px solid var(--line); border-left: 3px solid var(--clay);
  max-width: 15rem;
}
.hero__badge b { font-family: var(--serif); font-size: 1.7rem; display: block; line-height: 1; }
.hero__badge span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.trust-strip { border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); }
.trust-strip__inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.trust-strip p { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem) 1.4rem; text-align: center; }
.bg-deep .stat { background: var(--paper-deep); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: .6rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Editorial split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split__media.tall img { aspect-ratio: 4 / 5; }
.split__list { margin-top: 1.8rem; display: grid; gap: .2rem; }
.split__list li { display: flex; gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--line); color: var(--ink-mid); }
.split__list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; background: var(--clay); border-radius: 50%; }
.split__list strong { color: var(--ink); font-weight: 600; }

/* ---------- Project cards ---------- */
.grid-projects { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-projects--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.bg-deep .card { background: var(--paper); }
.card:hover { transform: translateY(-4px); border-color: var(--ink-soft); box-shadow: var(--shadow-md); }
.card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__loc { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.card__title { font-family: var(--serif); font-size: 1.28rem; margin-top: .5rem; line-height: 1.22; }
.card__desc { color: var(--ink-mid); font-size: .96rem; margin-top: .55rem; }
.card__meta { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card__value { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.card__tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* Simple masonry-ish gallery */
.gallery { columns: 1; column-gap: clamp(1rem, 2.2vw, 1.6rem); }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 960px) { .gallery { columns: 3; } }
.gallery figure { break-inside: avoid; margin: 0 0 clamp(1rem, 2.2vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: .8rem 1rem 1rem; font-size: .84rem; color: var(--ink-mid); }
.gallery figcaption b { display: block; font-family: var(--serif); font-size: 1rem; color: var(--ink); font-weight: 500; letter-spacing: .01em; }

/* ---------- Quotes ---------- */
.quote-feature { max-width: 46ch; }
.quote-feature .mark { font-family: var(--serif); font-size: 4rem; line-height: .5; color: var(--clay); display: block; height: 2rem; }
.quote-feature blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.4; font-style: italic; color: var(--ink); margin: 0; }
.bg-ink .quote-feature blockquote { color: var(--paper); }
.quote-feature cite { display: block; font-style: normal; margin-top: 1.6rem; }
.quote-feature cite b { font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .02em; }
.quote-feature cite span { display: block; font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; margin-top: .15rem; }

.grid-quotes { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-quotes--3 { grid-template-columns: repeat(3, 1fr); } }
.qcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.8rem; display: flex; flex-direction: column; }
.bg-deep .qcard { background: var(--paper); }
.qcard::before { content: "\201C"; font-family: var(--serif); font-size: 2.6rem; line-height: .8; color: var(--clay); }
.qcard blockquote { font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; color: var(--ink); margin: .4rem 0 0; }
.qcard cite { margin-top: auto; padding-top: 1.3rem; font-style: normal; }
.qcard cite b { display: block; font-family: var(--sans); font-weight: 600; font-size: .92rem; }
.qcard cite span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.3rem); display: flex; gap: 1.4rem; }
.bg-deep .step { background: var(--paper-deep); }
.step__n { font-family: var(--serif); font-size: 1.6rem; color: var(--clay); line-height: 1; flex: none; width: 2.6rem; }
.step__n small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; color: var(--ink-soft); margin-top: .5rem; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-mid); font-size: .95rem; margin-top: .5rem; }

/* Compact feature list (key features / PM tools) */
.feature-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--paper); padding: 1.3rem 1.5rem; display: flex; align-items: flex-start; gap: .8rem; font-size: .95rem; color: var(--ink-mid); }
.bg-deep .feature { background: var(--paper-deep); }
.feature svg { flex: none; width: 18px; height: 18px; margin-top: .28rem; color: var(--clay); }
.feature strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin: 1.2rem auto 0; }

/* ---------- Newsletter issues ---------- */
.issues { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); grid-template-columns: 1fr; }
@media (min-width: 780px) { .issues { grid-template-columns: repeat(3, 1fr); } }
.issue { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem; text-decoration: none; color: inherit; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.issue:hover { border-color: var(--ink-soft); transform: translateY(-3px); }
.issue__date { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.issue h3 { font-size: 1.32rem; margin-top: .7rem; }
.issue p { color: var(--ink-mid); font-size: .95rem; margin-top: .7rem; }
.issue .textlink { margin-top: 1.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.field .req { color: var(--clay); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bg-deep .field input, .bg-deep .field textarea, .bg-deep .field select { background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 16%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.form__note { font-size: .82rem; color: var(--ink-soft); max-width: 40ch; }
.form-status { font-size: .95rem; padding: .3rem 0; min-height: 1.4em; }
.form-status.is-error { color: #a13d2d; }
.form-status.is-ok { color: var(--clay-deep); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; pointer-events: none; }

/* Inline subscribe */
.subscribe { display: flex; flex-wrap: wrap; gap: .8rem; max-width: 30rem; }
.subscribe input { flex: 1 1 14rem; }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-list { display: grid; gap: 1.4rem; margin-top: 2rem; }
.info-list div { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.info-list dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.info-list dd { margin: .4rem 0 0; font-family: var(--serif); font-size: 1.25rem; }
.info-list dd a { text-decoration: none; }
.info-list dd a:hover { color: var(--clay); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 2vw, 2rem); }
.page-hero h1 { margin-top: .3em; max-width: 16ch; }
.page-hero .lead { margin-top: 1.3rem; }
.breadcrumb { font-size: .78rem; letter-spacing: .06em; color: var(--ink-soft); }
.breadcrumb a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--clay); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--paper); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.footer-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }
.footer-brand .brand__mark { border-color: var(--paper); color: var(--paper); }
.footer-brand .brand__name { color: var(--paper); }
.footer-brand p { color: color-mix(in srgb, var(--paper) 72%, transparent); margin-top: 1.2rem; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: var(--paper); font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: color-mix(in srgb, var(--paper) 74%, transparent); font-size: .95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-sub p { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: .9rem; margin-bottom: 1rem; }
.footer-sub .field input { background: color-mix(in srgb, var(--paper) 10%, transparent); border-color: var(--footer-line); color: var(--paper); }
.footer-sub .field input::placeholder { color: color-mix(in srgb, var(--paper) 55%, transparent); }
.footer-bottom { border-top: 1px solid var(--footer-line); margin-top: 3rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center; }
.footer-bottom p, .footer-bottom a { font-size: .8rem; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.footer-bottom .footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .card__media img, .btn .arrow { transition: none !important; }
}

/* ---------- Utilities ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: .5em; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mid); border: 1px solid var(--line); border-radius: 100px; padding: .4rem .9rem; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.subscribe .field { gap: 0; }
.subscribe input { min-width: 0; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2.2rem; }
.logo-row span { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-mid); letter-spacing: .01em; }
.aspect-wide img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-radius: var(--radius); }

/* ---------- Team ---------- */
.banner-img img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center; border-radius: var(--radius); filter: grayscale(1); }
.team-grid { display: grid; gap: clamp(1.3rem, 3vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bg-deep .member { background: var(--paper); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.02); background: var(--paper-deep); }
.member__body { padding: 1.2rem 1.35rem 1.5rem; }
.member__body h3 { font-size: 1.18rem; }
.member__role { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-top: .35rem; }
.member__body p { color: var(--ink-mid); font-size: .9rem; margin-top: .85rem; line-height: 1.6; }

/* ---------- Values ---------- */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--paper); padding: clamp(1.9rem, 3vw, 2.7rem); }
.bg-deep .value { background: var(--paper-deep); }
.value .num { font-family: var(--serif); color: var(--clay); font-size: 1.05rem; letter-spacing: .04em; }
.value h3 { margin-top: .7rem; font-size: 1.55rem; }
.value p { color: var(--ink-mid); margin-top: .7rem; font-size: .97rem; }
