/* =================================================================
   DESIGN TOKENS
   Edit here to refine the palette, type, and spacing site-wide.
   Contrast notes (WCAG): charcoal on ivory 13.6:1, ivory on oxblood
   12.4:1, gold on oxblood 5.1:1, gold-ink on ivory 5.2:1.
   Muted gold (#B49A65) is only 2.4:1 on ivory: use for rules and
   ornaments there, never for text. Use --gold-ink for small text.
   ================================================================= */
:root {
  /* Color */
  --oxblood: #4A1F2B;
  --oxblood-deep: #3B1822;
  --oxblood-soft: #5C2D3A;
  --ivory: #F7F2E9;
  --ivory-raised: #FBF8F2;
  --gold: #B49A65;
  --gold-ink: #7A6234;
  --gold-light: #CDB685;
  --charcoal: #292522;
  --taupe: #DCD2C5;
  --taupe-soft: #EDE6DB;
  --muted: #5E554D;
  --error: #9B2C2C;
  --error-on-dark: #F4B9B0;
  --success: #2F5D46;

  --text: var(--charcoal);
  --text-muted: var(--muted);
  --bg: var(--ivory);
  --line: rgba(41, 37, 34, 0.14);
  --line-strong: rgba(41, 37, 34, 0.28);
  --line-on-dark: rgba(247, 242, 233, 0.22);

  /* Type */
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3.25rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  --fs-h4: 1.0625rem;
  --fs-lede: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
  --container: 1240px;
  --container-narrow: 760px;
  --measure: 62ch;

  /* Shape & motion */
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 600ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

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

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

.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-light); }

::selection { background: var(--oxblood); color: var(--ivory); }

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--oxblood);
  color: var(--ivory);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* =================================================================
   LAYOUT
   ================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--taupe-soft); }
.section--dark { background: var(--oxblood); color: var(--ivory); }

.text-center { text-align: center; }

.section-head {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--space-8); }
}
.section-head__aside { color: var(--text-muted); font-size: var(--fs-small); max-width: 42ch; }
.section-head__aside .tag { display: table; margin-bottom: var(--space-3); }

/* =================================================================
   TYPOGRAPHY
   ================================================================= */
.display, .h2, .h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.025em; }
.display em { font-style: italic; color: var(--oxblood); }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 400; }
.h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: 0.005em;
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--on-dark { color: var(--gold-light); }
.eyebrow--on-dark::before { background: var(--gold-light); }
.eyebrow__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.lede { font-size: var(--fs-lede); line-height: 1.6; max-width: 48ch; color: var(--text); }

.prose > * + * { margin-top: var(--space-4); }
.prose > .h4 { margin-top: var(--space-6); }
.prose p { max-width: var(--measure); }

.note {
  font-size: var(--fs-small);
  color: var(--text-muted);
  padding-left: var(--space-4);
  border-left: 1px solid var(--gold);
  max-width: 48ch;
}

/* =================================================================
   PLACEHOLDERS
   .ph        inline placeholder text
   .ph-block  paragraph-level placeholder
   .ph-media  image frame awaiting a real asset
   .tag       status label (To verify / Draft / To confirm)
   Toggle highlights off with the draft bar or html.ph-quiet
   ================================================================= */
.ph {
  background: rgba(180, 154, 101, 0.18);
  box-shadow: inset 0 -1px 0 var(--gold);
  padding: 0 0.15em;
  border-radius: 1px;
}
.ph--on-dark, .section--dark .ph { background: rgba(205, 182, 133, 0.16); box-shadow: inset 0 -1px 0 var(--gold-light); }

.ph-block {
  color: var(--text-muted);
  font-style: italic;
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--gold);
  background: rgba(180, 154, 101, 0.07);
}
.ph-block--sm { font-size: var(--fs-small); padding: var(--space-2) var(--space-3); }

/* Written copy that still needs her review or confirmation */
[data-unverified] { outline: 1px dashed var(--gold); outline-offset: 4px; }
.section--dark [data-unverified] { outline-color: var(--gold-light); }
html.ph-quiet [data-unverified] { outline: none; }

html.ph-quiet .ph,
html.ph-quiet .ph--on-dark { background: none; box-shadow: none; padding: 0; }
html.ph-quiet .ph-block { border-color: transparent; background: none; padding-inline: 0; }

.tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border: 1px solid currentColor;
  padding: 0.15em 0.6em;
  line-height: 1.5;
  vertical-align: 0.15em;
  white-space: nowrap;
}
.tag--draft { color: var(--oxblood); }
.tag--on-dark { color: var(--gold-light); }
.prose .tag { margin-right: var(--space-2); }

.ph-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  background-color: var(--taupe);
  background-image:
    linear-gradient(135deg, transparent 49.6%, rgba(41, 37, 34, 0.08) 50%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, rgba(41, 37, 34, 0.08) 50%, transparent 50.4%);
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}
.ph-media--portrait { aspect-ratio: 4 / 5; }
.ph-media--tall { aspect-ratio: 3 / 4; }
.ph-media--cover { aspect-ratio: 3 / 4; }
.ph-media--spread { aspect-ratio: 4 / 3; }
.ph-media--on-dark {
  background-color: var(--oxblood-soft);
  background-image:
    linear-gradient(135deg, transparent 49.6%, rgba(247, 242, 233, 0.1) 50%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, rgba(247, 242, 233, 0.1) 50%, transparent 50.4%);
  color: var(--taupe);
}
.ph-media__label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  background: var(--ivory);
  color: var(--charcoal);
  padding: var(--space-3) var(--space-4);
  max-width: 80%;
}
.ph-media__label small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.ph-media--spread .ph-media__label { padding: var(--space-1) var(--space-3); }

/* Draft bar */
.draft-bar {
  background: var(--charcoal);
  color: var(--taupe);
  font-size: 0.8125rem;
}
.draft-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}
.draft-bar strong { color: var(--ivory); font-weight: 600; }
.draft-bar__toggle {
  font: inherit;
  color: var(--ivory);
  background: none;
  border: 1px solid rgba(247, 242, 233, 0.4);
  padding: 0.2em 0.8em;
  cursor: pointer;
}
.draft-bar__toggle:hover { border-color: var(--ivory); }
.draft-bar :focus-visible { outline-color: var(--gold-light); }

/* =================================================================
   BUTTONS & LINKS
   ================================================================= */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--charcoal);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn--primary { --btn-bg: var(--oxblood); --btn-fg: var(--ivory); --btn-bd: var(--oxblood); }
.btn--primary:hover { --btn-bg: var(--oxblood-deep); --btn-bd: var(--oxblood-deep); }
.btn--ghost:hover { --btn-bd: var(--charcoal); --btn-bg: rgba(41, 37, 34, 0.04); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--oxblood); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: var(--taupe); --btn-bd: var(--taupe); }

.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .btn__label { opacity: 0.55; }
.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--oxblood);
  text-decoration: none;
  padding-block: var(--space-2);
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
}
.link-arrow::after {
  content: "→";
  transition: transform 200ms var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* =================================================================
   HEADER & NAV
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease), background-color 250ms var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(8px); background: rgba(247, 242, 233, 0.86); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.wordmark__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.wordmark__role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3em;
}

.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__list { display: flex; gap: var(--space-5); list-style: none; padding: 0; margin: 0; }
.site-nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: var(--space-2);
  background: linear-gradient(var(--oxblood), var(--oxblood)) left bottom / 0 1px no-repeat;
  transition: background-size 250ms var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="true"] { background-size: 100% 1px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 var(--space-3);
  margin-right: calc(var(--space-3) * -1);
  font: 500 0.9375rem var(--font-sans);
  color: var(--charcoal);
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle__icon { display: grid; gap: 6px; width: 22px; }
.menu-toggle__icon span {
  display: block; height: 1px; background: currentColor;
  transition: transform 250ms var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 959px) {
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .js .site-header { backdrop-filter: none; background: var(--ivory); }
  .js .menu-toggle { display: inline-flex; }

  .js .site-nav {
    position: fixed;
    inset: var(--header-top, var(--header-h)) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--space-6);
    padding: var(--space-6) var(--gutter) var(--space-7);
    background: var(--ivory);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s linear 250ms;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 250ms var(--ease), transform 250ms var(--ease);
  }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list a {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--line);
    background: none;
  }
  .js .site-nav__cta { width: 100%; min-height: 52px; }

  /* Without JS, nav wraps under the wordmark */
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: var(--space-3); }
  .no-js .site-nav { flex-wrap: wrap; gap: var(--space-4); }
  .no-js .site-nav__list { flex-wrap: wrap; }
}

/* =================================================================
   1. HERO
   ================================================================= */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 6rem) var(--section-y); }
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.hero__copy { max-width: 40rem; }
.hero__copy .display { margin-bottom: var(--space-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); }

.hero__media { width: 100%; max-width: 520px; justify-self: center; }

.frame--offset { position: relative; }
.frame--offset::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.frame--offset > * { position: relative; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-9); }
  .hero__media { justify-self: end; }
}
@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .frame--offset::before { inset: 12px -12px -12px 12px; }
  .hero__media { padding-right: 12px; }
}

/* =================================================================
   2. RECOGNITION
   ================================================================= */
.recognition .h2 { margin-bottom: var(--space-5); }
.recognition__intro { color: var(--text-muted); font-size: var(--fs-lede); max-width: 46ch; margin-inline: auto; }
.recognition__list {
  display: grid;
  margin-block: var(--space-8);
  border-top: 1px solid var(--line);
}
.recognition__list li {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.recognition__list p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  font-weight: 300;
  line-height: 1.35;
  max-width: 30ch;
}
@media (min-width: 860px) {
  .recognition__list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .recognition__list li { padding: var(--space-7) var(--space-6); border-bottom: 0; }
  .recognition__list li + li { border-left: 1px solid var(--line); }
  .recognition__list li:first-child { padding-left: 0; }
}
.recognition__close {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-lede);
  color: var(--oxblood);
}

/* =================================================================
   3. ABOUT
   ================================================================= */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; gap: var(--space-7); }
.about__media { max-width: 440px; }
.about__copy .h2 { margin-bottom: var(--space-6); }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-9); align-items: start; }
  .about__media { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
}

.facts { margin-top: var(--space-7); border-top: 1px solid var(--line); }
.facts__row {
  display: grid;
  gap: var(--space-1) var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.2em;
}
.facts dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); }
@media (min-width: 600px) { .facts__row { grid-template-columns: 10rem 1fr; } }

/* =================================================================
   4. SERVICES
   ================================================================= */
.services__list { display: grid; gap: var(--space-7); }
@media (min-width: 860px) {
  .services__list { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}
.service {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--charcoal);
}
.service__num {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--gold-ink);
  letter-spacing: 0.08em;
}
.service__desc { color: var(--text); flex: 1; }
.service__meta {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-4);
  border-block: 1px solid var(--line);
  font-size: var(--fs-small);
}
.service__meta div { display: grid; grid-template-columns: 6rem 1fr; gap: var(--space-3); }
.service__meta dt { color: var(--text-muted); }
.service__meta dd { justify-self: start; }

/* =================================================================
   5. JOURNAL
   ================================================================= */
.journal { position: relative; overflow: hidden; }
.journal__grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 960px) {
  .journal__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-9); align-items: center; }
}

.journal__visual { display: grid; gap: var(--space-4); max-width: 480px; width: 100%; justify-self: center; }
.journal__cover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
.journal__previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }

.journal__copy .h2 { margin-bottom: var(--space-5); }
.journal__desc { font-size: var(--fs-lede); color: var(--taupe); max-width: 46ch; }

.benefits { margin-top: var(--space-6); border-top: 1px solid var(--line-on-dark); }
.benefits li {
  display: flex;
  gap: var(--space-4);
  align-items: baseline;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line-on-dark);
}
.benefits li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  transform: translateY(-0.1em) rotate(45deg);
  border: 1px solid var(--gold-light);
}
.journal__check { margin-top: var(--space-3); }

/* =================================================================
   FORMS (shared)
   ================================================================= */
.form { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 600px) { .form__row--split { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: var(--space-2); align-content: start; }
.field label, .field__label-row { font-size: var(--fs-small); font-weight: 600; }
.field__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.field__count { font-weight: 400; color: var(--text-muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--ivory-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--oxblood);
  box-shadow: 0 0 0 1px var(--oxblood);
}
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }

.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--charcoal);
  border-bottom: 1.5px solid var(--charcoal);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 2.75rem; cursor: pointer; }

.field__hint { font-size: 0.875rem; color: var(--text-muted); }
.field__error { font-size: 0.875rem; font-weight: 500; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }

.field--check { grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.field--check label { font-weight: 400; font-size: var(--fs-small); line-height: 1.5; }
.field--check input {
  appearance: none;
  width: 22px; height: 22px;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--ivory-raised);
  border-radius: var(--radius);
  display: grid;
  place-content: center;
  cursor: pointer;
}
.field--check input::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid var(--ivory);
  border-bottom: 2px solid var(--ivory);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 150ms var(--ease);
}
.field--check input:checked { background: var(--oxblood); border-color: var(--oxblood); }
.field--check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }

.form__footer { display: grid; gap: var(--space-4); justify-items: start; margin-top: var(--space-2); }
.form__fine { font-size: 0.875rem; color: var(--text-muted); max-width: 46ch; }

.form__demo[hidden] { display: none; }
.form__demo {
  font-size: 0.875rem;
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--gold);
  color: var(--charcoal);
  background: rgba(180, 154, 101, 0.1);
}

.form__status:empty { display: none; }
.form__status {
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--success);
  background: var(--ivory-raised);
  color: var(--charcoal);
}
.form__status[data-state="error"] { border-left-color: var(--error); }
.form__status[data-state="demo"] { border-left-color: var(--gold); }
.form__status strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; margin-bottom: var(--space-1); }

/* Form on oxblood */
.form--on-dark .field label, .form--on-dark .field--check label { color: var(--ivory); }
.form--on-dark .field input[type="text"],
.form--on-dark .field input[type="email"] {
  background: var(--ivory);
  border-color: transparent;
}
.form--on-dark .field input:focus-visible { border-color: var(--gold-light); box-shadow: 0 0 0 2px var(--gold-light); }
.form--on-dark .field [aria-invalid="true"] { border-color: var(--error-on-dark); box-shadow: 0 0 0 2px var(--error-on-dark); }
.form--on-dark .field__error { color: var(--error-on-dark); }
.form--on-dark .field--check input { background: transparent; border-color: rgba(247, 242, 233, 0.6); }
.form--on-dark .field--check input:checked { background: var(--ivory); border-color: var(--ivory); }
.form--on-dark .field--check input::after { border-color: var(--oxblood); }
.form--on-dark .form__fine { color: var(--taupe); }
.form--on-dark .form__demo { color: var(--ivory); border-color: var(--gold-light); background: rgba(0, 0, 0, 0.12); }
.form--on-dark .form__status { background: var(--ivory); }

/* =================================================================
   6. PROCESS
   ================================================================= */
.steps { display: grid; gap: var(--space-7); counter-reset: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.step { display: grid; gap: var(--space-3); align-content: start; }
.step__num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--oxblood);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}
.step__num::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.step p { color: var(--text); max-width: 40ch; }

/* =================================================================
   7. CONTACT
   ================================================================= */
.contact__grid { display: grid; gap: var(--space-8); }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-9); }
}
.contact__intro .h2 { margin-bottom: var(--space-5); }
.contact__intro > p { max-width: 44ch; }
.contact__intro > p + p { margin-top: var(--space-5); }

.contact__details { margin-top: var(--space-7); border-top: 1px solid var(--line-strong); }
.contact__details > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-strong);
}
.contact__details dt { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); padding-top: 0.2em; }
.contact__details dd { overflow-wrap: anywhere; }

.contact__form {
  margin-top: 0;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--ivory);
  border: 1px solid var(--line);
}

/* =================================================================
   8. FOOTER
   ================================================================= */
.site-footer {
  background: var(--charcoal);
  color: var(--taupe);
  padding-top: var(--space-9);
  font-size: var(--fs-small);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); text-decoration: underline; }
.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1.3fr; } }
.wordmark--footer .wordmark__name { color: var(--ivory); font-size: 1.75rem; }
.wordmark--footer .wordmark__role { color: var(--gold-light); }
.site-footer__tag { margin-top: var(--space-4); font-family: var(--font-serif); font-style: italic; font-size: 1.0625rem; }
.site-footer__nav ul { display: grid; gap: var(--space-2); }
.site-footer__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: var(--space-3); }
.site-footer__contact p + p { margin-top: var(--space-2); }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5) var(--space-6);
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8125rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-5); }

/* =================================================================
   MOTION
   Content is visible by default; only animates when JS is present
   and the visitor has not asked for reduced motion.
   ================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal:nth-child(2) { transition-delay: 80ms; }
  .js .reveal:nth-child(3) { transition-delay: 160ms; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn__spinner { animation: none; border-right-color: currentColor; opacity: 0.6; }
}

@media print {
  .site-header, .draft-bar, .menu-toggle, form { display: none !important; }
  .section--dark { background: none; color: var(--charcoal); }
}
