/* ============================================================
   IN VIEW CREATIVE
   1. Tokens          5. Buttons & links     9. Home
   2. Base            6. Header & nav       10. What We Do
   3. Layout          7. Footer             11. The Why
   4. Typography      8. Motion             12. Get In View / 404
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --periwinkle: #D5DEF8;
  --cream: #F7F4F0;
  --navy: #192947;
  --slate: #4E6D93;
  --oxblood: #810603;

  --ink: var(--navy);
  --bg: var(--cream);

  --rule: rgba(25, 41, 71, 0.14);
  --rule-light: rgba(247, 244, 240, 0.22);

  --font-display: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 1560px;
  --section-y: clamp(3.25rem, 6.5vw, 6.5rem);

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: clamp(84px, 8vw, 104px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

/* avoid single-word last lines in running text where supported */
p { text-wrap: pretty; }

a { color: inherit; }

::selection { background: var(--navy); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }

.skip-link {
  position: absolute; left: 0; top: 0;
  transform: translateY(-140%);
  background: var(--navy); color: var(--cream);
  padding: 0.85rem 1.4rem; z-index: 200;
  font-family: var(--font-display); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.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;
}

/* ---------- 3. LAYOUT ---------- */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 4.75vw, 4.75rem); }
.section--dark { background: var(--navy); color: var(--cream); }
/* slate hits only 3.98:1 on periwinkle, so soft fields deepen the token.
   Everything using var(--slate) inside them darkens automatically. */
.section--soft { background: var(--periwinkle); --slate: #41597A; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.section--dark .rule { background: var(--rule-light); }

/* ---------- 4. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(3.1rem, 10.5vw, 9.6rem);
  line-height: 0.88;
  letter-spacing: -0.048em;
}
.h1 { font-size: clamp(2.6rem, 7.2vw, 6.4rem); line-height: 0.92; letter-spacing: -0.042em; }
.h2 { font-size: clamp(2rem, 4.6vw, 4.1rem); line-height: 0.96; letter-spacing: -0.038em; }
.h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.08; letter-spacing: -0.028em; }

.accent-blue { color: var(--slate); }
.section--dark .accent-blue { color: var(--periwinkle); }

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 0.62rem + 0.18vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0;
}
.eyebrow--accent { color: var(--oxblood); }
.section--dark .eyebrow--accent { color: var(--periwinkle); }
.eyebrow .sep { color: var(--oxblood); padding-inline: 0.45em; }
.section--dark .eyebrow .sep { color: var(--periwinkle); }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.42vw, 1.32rem);
  line-height: 1.58;
  color: var(--slate);
  max-width: 48ch;
  margin: 0;
}
.section--dark .lede { color: rgba(247, 244, 240, 0.78); }

.body-copy { color: var(--slate); max-width: 56ch; }
.body-copy p { margin: 0 0 1.15em; }
.body-copy p:last-child { margin-bottom: 0; }
.section--dark .body-copy { color: rgba(247, 244, 240, 0.8); }

.numeral {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--periwinkle);
}
.section--dark .numeral { color: var(--slate); }

/* ---------- 5. BUTTONS & LINKS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--navy);
  background: var(--navy); color: var(--cream);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.btn:hover { background: transparent; color: var(--navy); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }

.section--dark .btn {
  background: var(--cream); color: var(--navy); border-color: var(--cream);
}
.section--dark .btn:hover { background: transparent; color: var(--cream); }

.link-line {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.4rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 0.45s var(--ease);
}
.link-line .arrow { transition: transform 0.4s var(--ease); }
.link-line:hover { background-size: 0% 1px; }
.link-line:hover .arrow { transform: translateX(5px); }

.text-link {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 0.4s var(--ease);
}
.text-link:hover { background-size: 0% 1px; }

/* ---------- 6. HEADER & NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
/* The translucent blur is desktop only. backdrop-filter makes the header the
   containing block for position:fixed children, which would trap the mobile
   menu overlay inside the header instead of filling the viewport. */
@media (min-width: 901px) {
  .site-header {
    background: color-mix(in srgb, var(--cream) 88%, transparent);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
  }
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  min-height: clamp(66px, 7vw, 88px);
}
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; padding-block: 0.65rem; }
.nav__logo img { width: clamp(108px, 11vw, 142px); height: auto; }

.nav__links { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.9rem); }
.nav__link {
  font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; position: relative;
  padding-block: 0.4rem;
  color: var(--navy);
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--slate); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta {
  border: 1px solid var(--navy);
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--navy); color: var(--cream); }
.nav__cta[aria-current="page"] { background: var(--navy); color: var(--cream); }

.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none; border: 0; padding: 0;
  cursor: pointer; position: relative; z-index: 120;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 26px;
  background: var(--navy); margin: 5px auto;
  transition: transform 0.45s var(--ease), opacity 0.3s 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); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    padding: var(--gutter);
    padding-top: 22vh;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease);
    pointer-events: none;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav__link {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
    letter-spacing: -0.03em;
    text-transform: none;
    font-weight: 600;
    padding-block: 0.45rem;
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .nav__links.is-open .nav__link { opacity: 1; transform: none; }
  .nav__links.is-open .nav__link:nth-child(1) { transition-delay: 0.12s; }
  .nav__links.is-open .nav__link:nth-child(2) { transition-delay: 0.18s; }
  .nav__links.is-open .nav__link:nth-child(3) { transition-delay: 0.24s; }
  .nav__links.is-open .nav__link:nth-child(4) { transition-delay: 0.30s; }
  .nav__link::after { display: none; }
  .nav__cta {
    border: 0; padding: 0.45rem 0; margin-top: 0.6rem;
    color: var(--oxblood);
  }
  .nav__cta:hover, .nav__cta[aria-current="page"] { background: none; color: var(--oxblood); }
  body.nav-open { overflow: hidden; }
}

/* ---------- 7. FOOTER ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.footer__top { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer__logo img { width: clamp(150px, 16vw, 200px); height: auto; }
.footer__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0;
  color: var(--periwinkle);
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247, 244, 240, 0.62);
  margin: 0 0 1.1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--periwinkle); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  justify-content: space-between; align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-light);
  font-size: 0.82rem;
  color: rgba(247, 244, 240, 0.6);
}

/* ---------- 8. MOTION ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }

.media { position: relative; overflow: hidden; background: var(--periwinkle); border-radius: 2px; }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* The mask goes on the image, never on the container the observer watches.
   A container clipped to zero height reports no intersection, so the observer
   would never fire and the image would stay masked permanently. */
.js .media-reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.07);
  transition: clip-path 1.05s var(--ease), transform 1.5s var(--ease);
}
.js .media-reveal.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }

.media-hover img { transition: transform 0.9s var(--ease); }
.media-hover:hover img { transform: scale(1.035); }

.no-motion *, .no-motion *::before, .no-motion *::after {
  transition: none !important; animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .media-reveal img, .js .media-reveal.is-visible img { clip-path: none; transform: none; }
}

/* ---------- 9. HOME ---------- */
.nowrap { white-space: nowrap; }

.hero { padding-top: clamp(1.75rem, 3.5vw, 3.5rem); padding-bottom: clamp(2.75rem, 5.5vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); }
.hero__eyebrow {
  color: var(--oxblood);
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.82rem);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.6rem);
}
.hero__eyebrow .sep { padding-inline: 0.55em; }
.hero__title { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.hero__title .line { display: block; }
.hero__media { aspect-ratio: 4 / 5; }
.hero__media img { --pos: 50% 28%; }

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) clamp(290px, 33vw, 520px);
    align-items: end;
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .hero__media {
    aspect-ratio: 3 / 4.15;
    margin-right: calc(var(--gutter) * -1);
  }
  .hero__copy { padding-bottom: clamp(1rem, 3vw, 3rem); }
}

/* "A strategic creative partner": the photo bleeds to the left edge and runs the
   full height of the band, mirroring the hero photo bleeding right. */
.partner__grid { display: grid; }
.partner__copy { padding: var(--section-y) var(--gutter) clamp(2.25rem, 6vw, 3rem); }
.partner__copy .h2 { margin-bottom: 1.5rem; }
.partner__copy .btn-row { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.partner__media { border-radius: 0; aspect-ratio: 5 / 6; order: 2; }
/* Take the photo out of flow so its natural 2:3 height can't set the band's
   height on desktop, where the column has no fixed aspect of its own. */
.partner__media img { position: absolute; inset: 0; }
.partner__media img { --pos: 50% 30%; }
@media (min-width: 720px) {
  .partner__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    max-width: var(--maxw); margin-inline: auto;
    min-height: clamp(520px, 50vw, 760px);
  }
  .partner__media { aspect-ratio: auto; order: 0; }
  .partner__media img { --pos: 50% 32%; }
  .partner__copy {
    align-self: center;
    padding: var(--section-y) var(--gutter) var(--section-y) clamp(2rem, 6vw, 6.5rem);
  }
}

.services-preview { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.svc-preview__head {
  display: grid; gap: 1.25rem; align-items: end;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
@media (min-width: 820px) {
  .svc-preview__head { grid-template-columns: 1fr auto; }
}
/* All three cards share one shape. The images are pre-cropped to exactly 4:5 in
   tools/build-images.py, and subgrid lines the numbers, titles and copy up
   across the row even when one title wraps. */
.svc-grid { display: grid; gap: 2.75rem; }
.svc-item { display: grid; align-content: start; text-decoration: none; color: inherit; }
.svc-item__media { aspect-ratio: 4 / 5; margin-bottom: 1.4rem; }
.svc-item:hover .media-hover img { transform: scale(1.035); }
@media (min-width: 700px) {
  .svc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 3vw, 2.5rem); row-gap: 0;
  }
  .svc-item { grid-row: span 4; grid-template-rows: subgrid; }
}
.svc-item__no {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; color: var(--oxblood); margin: 0 0 0.6rem;
}
.svc-item .h3 { margin-bottom: 0.7rem; }
.svc-item__copy { margin: 0; color: var(--slate); font-size: 0.96rem; }

/* Instagram: a compact sign-off line, not a content section */
.ig-cta__inner {
  display: grid; gap: 0.8rem 3rem; align-items: center;
  padding-block: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--rule);
}
.ig-cta__title {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  line-height: 1.1; letter-spacing: -0.028em;
}
.ig-cta__copy { margin: 0; color: var(--slate); max-width: 46ch; }
.ig-cta .link-line { justify-self: start; margin-top: 0.35rem; }
@media (min-width: 900px) {
  .ig-cta__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ig-cta .link-line { margin-top: 0; }
}

/* the CTA band sits directly above the navy footer: a hairline keeps them apart */
.cta-band { border-bottom: 1px solid var(--rule-light); }
.cta-band__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: end; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1fr auto; } }

/* ---------- 10. WHAT WE DO ---------- */
.page-head { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(2.25rem, 4.5vw, 4.25rem); }
.page-head__grid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }
@media (min-width: 960px) {
  .page-head__grid { grid-template-columns: 1.25fr 1fr; align-items: end; gap: clamp(3rem, 7vw, 7rem); }
}
.page-head .eyebrow { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }

.svc-row { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.25rem, 4.5vw, 4.5rem); }
.svc-row + .svc-row { border-top: 1px solid var(--rule); }
@media (min-width: 960px) {
  .svc-row { grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .svc-row--flip .svc-row__media { order: 2; }
}
.svc-row__media { aspect-ratio: 4 / 5; }
.svc-row--a .svc-row__media { aspect-ratio: 4 / 5; }
.svc-row--a .svc-row__media img { --pos: 50% 28%; }
.svc-row--b .svc-row__media { aspect-ratio: 2 / 3; }
.svc-row--b .svc-row__media img { --pos: 40% 24%; }
.svc-row--c .svc-row__media { aspect-ratio: 1 / 1; }
.svc-row--c .svc-row__media img { --pos: 42% 46%; }

.svc-row__head { display: flex; align-items: baseline; gap: clamp(1rem, 2.5vw, 2rem); margin-bottom: 1.25rem; }
.svc-row__head .h2 { flex: 1; }
.svc-row__body { margin-top: 1.2rem; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem); }

.process { display: grid; gap: 0; }
@media (min-width: 720px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process__step { padding-block: clamp(1.4rem, 2.5vw, 2rem); border-top: 1px solid var(--rule-light); }
@media (min-width: 720px) {
  .process__step { padding-right: 1.5rem; }
}
.process__no {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; color: var(--periwinkle); margin: 0 0 0.55rem;
}
.process__step h3 {
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.7rem;
}
.process__desc {
  margin: 0; font-size: 0.93rem; line-height: 1.6;
  color: rgba(247, 244, 240, 0.7); max-width: 26ch;
}

.closing-line { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
@media (min-width: 900px) { .closing-line { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- 11. THE WHY ---------- */
.why-hero { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(2.75rem, 5.5vw, 5.5rem); }
.why-hero__grid { display: grid; gap: clamp(2.25rem, 5vw, 4rem); align-items: end; }
@media (min-width: 960px) {
  .why-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 6vw, 6rem); }
}
.why-hero__media { aspect-ratio: 4 / 5; }
.why-hero__media img { --pos: 50% 30%; }

.why-story { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 960px) {
  .why-story { grid-template-columns: 0.42fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
}
.why-story .body-copy { font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.2rem); max-width: 60ch; }

.story__lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.04; letter-spacing: -0.035em;
  color: var(--navy); margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  max-width: 18ch; text-wrap: balance;
}
.body-copy .story__pivot {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.3; letter-spacing: -0.02em;
  color: var(--navy);
  border-left: 2px solid var(--oxblood);
  padding-left: 1rem;
  margin: 1.6em 0;
}

.founder { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .founder { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
}
/* Headshot crop: face in the upper third, crossed arms kept, feet never shown */
.founder__media { aspect-ratio: 3 / 4; }
.founder__media img { --pos: 50% 45%; }
.founder__name { margin-bottom: 0.5rem; }
.founder__role {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--oxblood);
  margin: 0 0 1.75rem;
}
.founder__copy .body-copy { max-width: 52ch; }

/* ---------- 12. GET IN VIEW ---------- */
.contact { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.contact__grid { display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: clamp(3.5rem, 8vw, 8rem); align-items: start; }
}
.contact__intro { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.direct { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--rule); }
.direct h2 {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--oxblood);
  margin: 0 0 1.4rem;
}
.direct__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
/* Taller hit areas for tapping. The underline stays on the text because the
   background is clipped to the content box, not the padded box. */
.direct__list a, .footer__list a {
  display: inline-block; padding-block: 0.5rem;
  background-origin: content-box; background-clip: content-box;
}
.direct__list a {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 500; letter-spacing: -0.015em;
}

/* form */
.form { display: grid; gap: clamp(1.6rem, 3vw, 2.1rem); }
.field { display: grid; gap: 0.6rem; }
.field label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate);
}
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--navy);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0.1rem; border-radius: 0;
  transition: border-color 0.35s var(--ease);
  width: 100%;
}
.field textarea {
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.9rem 1rem; min-height: 10rem; line-height: 1.6;
  resize: vertical;
}
/* full slate clears AA on cream; Firefox dims placeholders unless opacity is set */
.field input::placeholder, .field textarea::placeholder { color: var(--slate); opacity: 1; }
.field textarea:hover { border-color: var(--slate); }
.field textarea:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 0 0 0.5px var(--navy); }
.field.has-error textarea { border-color: var(--oxblood); }
.field input:hover { border-bottom-color: var(--slate); }
.field input:focus { outline: none; border-bottom-color: var(--navy); border-bottom-width: 1.5px; }
.field input:focus-visible { outline: none; }
.field.has-error input { border-bottom-color: var(--oxblood); }
.field__error {
  font-size: 0.82rem; color: var(--oxblood); min-height: 0;
  display: none;
}
.field.has-error .field__error { display: block; }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
@media (max-width: 599px) { .form__submit .btn { width: 100%; justify-content: center; } }
.btn[data-loading="true"] { pointer-events: none; opacity: 0.72; }
.btn .spinner {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1.5px solid currentColor; border-top-color: transparent;
  animation: spin 0.7s linear infinite; display: none;
}
.btn[data-loading="true"] .spinner { display: inline-block; }
.btn[data-loading="true"] .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__note { font-size: 0.84rem; color: var(--slate); margin: 0; max-width: 42ch; }
.form__status {
  display: none; margin: 0;
  font-size: 0.92rem; line-height: 1.55; color: var(--oxblood);
  border-left: 2px solid var(--oxblood); padding: 0.2rem 0 0.2rem 0.9rem;
}
.form__status a { color: inherit; }
.form__status.is-visible { display: block; }

.form-success { display: none; }
.form-success.is-visible { display: block; }
.form-success .h2 { margin-bottom: 1rem; }
.form-success p { color: var(--slate); margin: 0; max-width: 40ch; }
.is-submitted .form { display: none; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.error-page .display { margin-bottom: 1.5rem; }
.error-page .btn-row { margin-top: clamp(2rem, 4vw, 3rem); }
