/* Re. — Rethink. Rebuild. Perform.
   Design tokens from the Re. brand identity: Forest, Ivory, Re. Gold. */

:root {
  --forest: #1B2E27;
  --forest-deep: #16261F;
  --forest-hover: #243d33;
  --ivory: #F6F2EA;
  --gold: #D4AF37;
  --sage: #3E5248;
  --moss: #4A6B57;       /* headline emphasis on light grounds */
  --moss-light: #8FA899; /* the same emphasis, on Forest */
  --stone: #C8C0B0;
  --rule: #DDD6C8;
  --rule-dark: #35493F;
  --band: #EDE8DD;
  --white: #FFFFFF;
  --oxblood: #7A1F24;

  --sans: Inter, Arial, sans-serif;
  --display: Poppins, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1240px;
  --gutter: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--forest);
  background: var(--ivory);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, p { margin: 0; }

/* Class-level `display` would otherwise beat the UA rule for [hidden]. */
[hidden] { display: none !important; }

img { display: block; }

input, textarea, button { font-family: var(--sans); }
input:focus, textarea:focus { outline: none; border-color: var(--forest); }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- shell */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ------------------------------------------------------------- wordmark */

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.wordmark__dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 0.08em;
}

.wordmark--footer { font-size: 24px; }

/* The mark set inline in running display type — inherits the heading's
   face, weight and size, so the dot scales with it. */
.mark {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-end;
  margin-left: auto;
}

.site-nav a,
.site-nav__cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__cta {
  background: var(--forest);
  color: var(--ivory);
  padding: 12px 20px;
}

.site-nav__cta:hover {
  background: var(--forest-hover);
  color: var(--ivory);
}

/* --------------------------------------------------------------- kicker */

/* The label system: every small uppercase mark is set in mono, which is
   what gives the page its precision. Headings and body stay as they are. */
.kicker,
.pillar__label,
.phase__meta,
.service__num,
.stat__label,
.about__role,
.insights__byline,
.article__byline,
.hero__badge-kicker,
.article__cta-kicker,
.foot-col__head,
.foot-bar__tag,
.foot-bar__legal,
.site-nav a,
.site-nav__cta,
.btn-solid,
.btn-underline,
.btn-back,
.foot-btn,
.field,
.chip-group__label,
.progress__meta,
.review__label,
.review__edit,
.step-nav__back,
.stat__figure-suffix {
  font-family: var(--mono);
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
}

.kicker--dark { color: var(--stone); }

/* --------------------------------------------------------- display type */

.display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.h1-hero {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h1-hero__muted { color: var(--sage); }

/* Tonal emphasis inside a headline. Green, not gold: the brand doc allows
   one gold element per composition and no gold headlines. */
.h2__muted { color: var(--moss); }

/* On Forest the emphasis has to go lighter than the Ivory, not darker. */
.band-forest .h2__muted { color: var(--moss-light); }

.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------- button */

.btn-solid {
  display: inline-block;
  background: var(--forest);
  color: var(--ivory);
  border: none;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-solid:hover { background: var(--forest-hover); color: var(--ivory); }
.btn-solid:disabled { cursor: default; }

.btn-underline {
  display: inline-block;
  padding: 16px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

.btn-underline--tight { padding: 14px 4px; }
.btn-underline--onDark { color: var(--ivory); }
.btn-underline--onDark:hover { color: var(--gold); }

.btn-gold {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  color: var(--forest);
  padding: 18px 28px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold:hover {
  color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}

.btn-gold__arrow { font-size: 18px; line-height: 1; }

.btn-back {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------------------------------------------------------- image slots */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--band);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo--hero { aspect-ratio: 4 / 5; max-height: 640px; }
.photo--about { aspect-ratio: 4 / 5; max-height: 560px; }
.photo--standards { aspect-ratio: 4 / 3; max-height: 520px; }
.photo--insight { aspect-ratio: 3 / 2; }

/* Matches the framing chosen on the design canvas. */
.photo--standards img { object-position: 88% 50%; }

/* ----------------------------------------------------------------- hero */

.hero {
  padding-top: 96px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: end;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--sage);
  max-width: 520px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__media { position: relative; }

.hero__badge {
  position: absolute;
  left: -24px;
  bottom: 40px;
  background: var(--forest);
  color: var(--ivory);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 260px;
}

.hero__badge-kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--stone);
}

.hero__badge-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}

/* ----------------------------------------------------------------- stats */

.stats {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px 24px;
}

.stats .stat__figure { font-size: clamp(38px, 4.4vw, 54px); }

/* The one gold element here. The brand doc's data style: a large gold key
   figure with a quiet supporting label. */
.stat__figure-suffix {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: 0;
}

/* -------------------------------------------------------------- pillars */

.band-forest { background: var(--forest); color: var(--ivory); }

.pillars__inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.pillars__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.pillars__head .h2 { max-width: 620px; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule-dark);
}

.pillar {
  background: var(--forest);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pillar__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.pillar__label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.pillar__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
}

.pillar__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
  text-wrap: pretty;
}

/* ------------------------------------------------------------- services */

.services__inner {
  padding-top: 112px;
  padding-bottom: 112px;
}

.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.services__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 620px;
}

.services__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sage);
  max-width: 52ch;
  text-wrap: pretty;
}

/* Hairline grid: a 1px gap over a rule-coloured ground draws the dividers,
   the same technique the pillars use. */
/* Fixed columns, not auto-fit: six cards have to divide exactly, or the
   spare cells show through as bare rule colour. */
.services__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 620px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 950px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service {
  background: var(--ivory);
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s ease;
}

.service:hover { background: var(--band); }

.service__num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.service__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
}

.service__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sage);
  text-wrap: pretty;
}

/* -------------------------------------------------------------- process */

.process {
  background: var(--band);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.process__inner {
  padding-top: 112px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.process__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 680px;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.phase {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 2px solid var(--forest);
}

.phase--final { border-top-color: var(--gold); }

.phase__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.phase__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
}

.phase__body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--sage);
  text-wrap: pretty;
}

/* ------------------------------------------------------------ standards */

.standards__inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}

.standards__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.standards__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.standards__head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  max-width: 480px;
  text-wrap: balance;
}

.standards__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  max-width: 460px;
  text-wrap: pretty;
}

.standards__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-dark);
}

.standard {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-dark);
}

.standard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

.standard__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.standard__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
}

.standard__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- about */

.about {
  padding-top: 112px;
  padding-bottom: 112px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
  align-items: center;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about__role {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.about__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--sage);
  text-wrap: pretty;
}

.about__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__figure {
  font-family: var(--display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
}

.stat__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ------------------------------------------------------------- insights */

.insights__inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* The whole piece is the link, not just the cue at the bottom. */
.insight-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border: 1px solid var(--rule-dark);
  overflow: hidden;
  color: var(--ivory);
}

.insight-card:hover { color: var(--ivory); }
.insight-card .photo { background: var(--forest); }

.insight-card img { transition: transform 0.5s ease; }
.insight-card:hover img { transform: scale(1.03); }

.insight-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 44px 40px;
}

.insight-card__copy .h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  text-wrap: balance;
}

.insights__lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
  max-width: 52ch;
  text-wrap: pretty;
}

.insights__byline {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.insight-card__cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
  transition: color 0.15s ease;
}

.insight-card:hover .insight-card__cue { color: var(--gold); }
.insight-card__arrow { color: var(--gold); }

/* --------------------------------------------------------------- footer */

/* A shade below Forest, so the footer reads as its own plane where it
   meets the Forest Insights band above it. */
.site-footer {
  background: var(--forest-deep);
  color: var(--ivory);
  border-top: 1px solid var(--rule-dark);
}

.site-footer__inner {
  padding-top: 52px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.site-footer__lead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.foot-col__head {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

.foot-col__link,
.foot-col__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ivory);
}

.foot-col__link { color: var(--ivory); }
.foot-col__link:hover { color: var(--gold); }

.foot-social { display: flex; gap: 12px; }

/* Circular containers echo the Re. dot — the brand's pattern unit — and
   keep the glyphs to the 1.5pt line weight the guidelines call for. */
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  color: var(--ivory);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.foot-social a:hover { color: var(--gold); border-color: var(--gold); }
.foot-social svg { width: 17px; height: 17px; }

.foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ivory);
  color: var(--forest);
  padding: 13px 26px;
  border-radius: 9999px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease;
}

.foot-btn:hover { color: var(--forest); transform: translateY(-2px); }

.foot-btn__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.foot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
}

.foot-bar .wordmark { color: var(--ivory); }

.foot-bar__tag,
.foot-bar__legal {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* --------------------------------------------------------- contact page */

.contact {
  padding-top: 72px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
  align-items: start;
}

.contact__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__copy h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.contact__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sage);
  max-width: 460px;
  text-wrap: pretty;
}

.contact__email {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  word-break: break-all;
}

.contact__card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.field input {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--forest);
  background: var(--ivory);
  border: 1px solid var(--stone);
  letter-spacing: 0;
  text-transform: none;
}

.chip-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chip-group__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--stone);
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  color: var(--ivory);
  background: var(--forest);
  border-color: var(--forest);
}

.contact__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.contact__note { font-size: 13px; color: var(--sage); }

.thanks {
  background: var(--forest);
  color: var(--ivory);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.thanks__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
}

.thanks h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.thanks p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  text-wrap: pretty;
}

/* --------------------------------------------------------- article page */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 112px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.article__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.article__standfirst {
  font-size: 20px;
  line-height: 1.55;
  color: var(--sage);
  text-wrap: pretty;
}

.article__byline {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.photo--article { aspect-ratio: 3 / 2; }

.article__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--forest);
  text-wrap: pretty;
}

.article__body h2 {
  margin-top: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.article__cta {
  margin-top: 24px;
  background: var(--forest);
  color: var(--ivory);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article__cta-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.article__cta-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}

.article__cta-btn {
  align-self: flex-start;
  background: var(--gold);
  color: var(--forest);
  padding: 14px 24px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article__cta-btn:hover { color: var(--forest); }

/* ---------------------------------------------------------- intake page */

.intake { min-height: 70vh; }

.intake__inner {
  padding-top: 72px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intake__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}

.intake__head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.intake__frame {
  background: var(--ivory);
  border: 1px solid var(--rule);
}

.intake__form {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.progress {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.progress__track {
  height: 2px;
  background: var(--rule);
  position: relative;
}

/* Moss rather than gold: the mark's dot is the one gold element on this
   screen, and the brand doc allows one per composition. */
.progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--moss);
  transition: width 0.2s ease;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 380px;
}

.step__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.step__hint {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sage);
  max-width: 560px;
  text-wrap: pretty;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.path-card {
  text-align: left;
  padding: 26px 24px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--stone);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.path-card:hover { border-color: var(--forest); }

.path-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--forest);
}

.path-card__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
}

.path-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--sage);
}

.path-card[aria-pressed="true"] {
  color: var(--ivory);
  background: var(--forest);
  border-color: var(--forest);
}

.path-card[aria-pressed="true"] .path-card__dot {
  background: var(--gold);
  border-color: var(--gold);
}

.path-card[aria-pressed="true"] .path-card__desc { color: var(--stone); }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.option {
  text-align: left;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--stone);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
}

.option:hover { border-color: var(--forest); }

.option__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  background: transparent;
  border: 1px solid var(--forest);
}

.option[aria-pressed="true"] {
  color: var(--ivory);
  background: var(--forest);
  border-color: var(--forest);
}

.option[aria-pressed="true"] .option__dot {
  background: var(--gold);
  border-color: var(--gold);
}

.step textarea {
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--stone);
  resize: vertical;
}

.intake-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.intake-fields .field input { background: var(--white); }

.review {
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.review__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  text-align: left;
  padding: 16px 20px;
  border: none;
  border-bottom: 1px solid var(--band);
  background: none;
  cursor: pointer;
}

.review__row:hover { background: var(--ivory); }

.review__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.review__value {
  font-size: 15px;
  line-height: 1.45;
  color: var(--forest);
}

.review__edit {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-error {
  font-size: 14px;
  line-height: 1.5;
  color: var(--oxblood);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  flex-wrap: wrap;
}

.step-nav__back {
  background: none;
  border: none;
  padding: 14px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  cursor: pointer;
}

.intake-done {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 0;
}

.intake-done h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.intake-done p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--sage);
  max-width: 520px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------- narrow */

@media (max-width: 720px) {
  :root { --gutter: 22px; }

  /* Wordmark + Contact stay on the first row; the section links get their
     own swipeable strip beneath, so nothing is pushed off-screen. */
  .site-header__inner { flex-wrap: wrap; gap: 12px 16px; padding-top: 14px; padding-bottom: 12px; }
  .wordmark { font-size: 28px; }
  .site-nav__cta { margin-left: auto; padding: 10px 16px; }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: 12px; }

  .hero { padding-top: 64px; padding-bottom: 56px; }
  .hero__badge { left: 0; bottom: 0; max-width: none; width: 100%; }

  .pillars__inner,
  .standards__inner,
  .insights__inner { padding-top: 72px; padding-bottom: 72px; }

  .services,
  .process__inner,
  .about { padding-top: 72px; padding-bottom: 72px; gap: 44px; }

  .services__intro { position: static; }

  .contact__card { padding: 26px 22px; }

  .article { padding: 44px 22px 72px; gap: 28px; }
  .article__body { font-size: 17px; }
  .article__cta { padding: 26px 22px; }

  .intake__form { padding: 44px 22px 64px; }

  .review__row { grid-template-columns: minmax(0, 1fr) auto; }
  .review__label { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
