@font-face {
  font-family: "Antonio CAN";
  font-style: normal;
  font-weight: 325;
  font-display: swap;
  src: url("assets/fonts/antonio-can-325.ttf") format("truetype");
}

/* Curated Adventure Network — site tokens & layout */

:root {
  /* Light olive field + soft grain; ink tuned for contrast */
  --wf-bg: #e8e4d2;
  --wf-surface: #ded9c4;
  --wf-border: #c5bfa8;
  --wf-ink: #1c1b16;
  --wf-muted: #4a483c;

  /* Type roles — system stack for all */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --type-display-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  --type-display-weight: 700;
  --type-display-tracking: -0.02em;
  --type-display-line: 1.1;

  --type-title-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  --type-title-weight: 650;
  --type-title-tracking: -0.015em;
  --type-title-line: 1.2;

  --type-card-size: 1.125rem;
  --type-card-weight: 600;
  --type-card-tracking: -0.01em;
  --type-card-line: 1.3;

  --type-body-size: 1rem;
  --type-body-weight: 400;
  --type-body-tracking: 0;
  --type-body-line: 1.55;

  --type-meta-size: 0.75rem;
  --type-meta-weight: 500;
  --type-meta-tracking: 0.06em;
  --type-meta-line: 1.4;

  --type-ui-size: 0.9375rem;
  --type-ui-weight: 500;
  --type-ui-tracking: 0;
  --type-ui-line: 1.3;

  /* Spacing — 4/8-based */
  --space-1: 0.25rem;   /* 4 */
  --space-2: 0.5rem;    /* 8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-8: 2rem;      /* 32 */
  --space-10: 2.5rem;   /* 40 */
  --space-12: 3rem;     /* 48 */
  --space-16: 4rem;     /* 64 — section pad-y */

  --gutter: 1.25rem;
  --content-max: 76rem;
  --measure: 40rem;
  --form-max: 34rem;

  --header-h: 5.5rem;
}

@media (min-width: 48rem) {
  :root {
    --gutter: 1.75rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  letter-spacing: var(--type-body-tracking);
  line-height: var(--type-body-line);
  color: var(--wf-ink);
  background: var(--wf-bg);
  position: relative;
  z-index: 1;
}

/* —— Site field: light olive + soft grain (Tyler 27 Sep 2026) —— */
.can-plexus-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--wf-bg);
}

/* Fine grain: very slight texture, low opacity */
.can-plexus-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("assets/patterns/bg-olive-grain.png");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.22;
  mix-blend-mode: multiply;
}

/* Soft large-scale opacity modulation (veil), no hard pattern */
.can-plexus-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 18% 12%, rgba(255, 255, 250, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 82% 78%, rgba(90, 95, 60, 0.08), transparent 60%),
    linear-gradient(165deg, rgba(255, 252, 240, 0.18) 0%, transparent 42%, rgba(70, 75, 45, 0.06) 100%);
  opacity: 0.85;
}

html[data-plexus="dark"] .can-plexus-bg,
body[data-plexus="dark"] .can-plexus-bg {
  background-color: #0b1c2c;
}

html[data-plexus="dark"] .can-plexus-bg::before,
body[data-plexus="dark"] .can-plexus-bg::before {
  background-image: url("assets/patterns/bg-plexus-tile.png");
  opacity: 0.45;
}

html[data-plexus="dark"] body,
body[data-plexus="dark"] {
  color: #f2f4f6;
}

html[data-plexus="dark"] .site-header,
body[data-plexus="dark"] .site-header {
  background: rgba(11, 28, 44, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-plexus="dark"] .site-nav a,
body[data-plexus="dark"] .site-nav a {
  color: #c8d0d8;
}

html[data-plexus="dark"] .site-nav a:hover,
body[data-plexus="dark"] .site-nav a:hover {
  color: #fff;
}

html[data-plexus="dark"] .site-locations,
body[data-plexus="dark"] .site-locations {
  color: #c8d0d8;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}


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

a {
  color: inherit;
}

/* —— Role utilities —— */
.role-display {
  font-family: var(--font);
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-display-tracking);
  line-height: var(--type-display-line);
  margin: 0;
}

.role-title {
  font-family: var(--font);
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  letter-spacing: var(--type-title-tracking);
  line-height: var(--type-title-line);
  margin: 0;
}

.role-card {
  font-family: var(--font);
  font-size: var(--type-card-size);
  font-weight: var(--type-card-weight);
  letter-spacing: var(--type-card-tracking);
  line-height: var(--type-card-line);
  margin: 0;
}

.role-body {
  font-family: var(--font);
  font-size: var(--type-body-size);
  font-weight: var(--type-body-weight);
  letter-spacing: var(--type-body-tracking);
  line-height: var(--type-body-line);
  margin: 0;
}

.role-meta {
  font-family: var(--font);
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
  letter-spacing: var(--type-meta-tracking);
  line-height: var(--type-meta-line);
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 0;
}

.role-ui {
  font-family: var(--font);
  font-size: var(--type-ui-size);
  font-weight: var(--type-ui-weight);
  letter-spacing: var(--type-ui-tracking);
  line-height: var(--type-ui-line);
}

/* —— Layout shell —— */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--content-max));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-16);
}

.section + .section {
  border-top: 1px solid var(--wf-border);
}

.eyebrow {
  margin-bottom: var(--space-3);
}

.section-head {
  margin-bottom: var(--space-8);
  max-width: var(--measure);
}

.section-head .role-title {
  margin-top: var(--space-2);
}

.section-lead {
  margin-top: var(--space-4);
  color: var(--wf-muted);
  max-width: var(--measure);
}

/* —— Slots (empty gray boxes) —— */
.slot {
  background: var(--wf-surface);
  border: 1px dashed var(--wf-border);
  color: var(--wf-muted);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-4);
  font-family: var(--font);
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
  letter-spacing: var(--type-meta-tracking);
  text-transform: uppercase;
}

.slot--16x9 {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.slot--3x2 {
  aspect-ratio: 3 / 2;
  width: 100%;
}

.slot--4x3 {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.slot--4x5 {
  aspect-ratio: 4 / 5;
  width: 100%;
}

/* Filled media: crop via cover, never distort */
.slot--media {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  display: block;
  color: transparent;
}

.slot--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.atf__media .slot--media {
  /* Larger visual weight than prior 16:9 / 3:2 frames */
  min-height: 18rem;
}

.atf__media .slot--media img {
  /* SD #79 Badlands ridge; keep both riders in the 4:3 cover crop */
  object-position: center 40%;
}

.slot--identity {
  width: 7.5rem;
  height: 2rem;
  padding: 0;
}

/* —— Chrome / header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--wf-bg);
  border-bottom: 1px solid var(--wf-border);
}

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

.site-header__inner .site-nav {
  margin-left: auto;
}

.site-locations {
  display: none;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--wf-muted);
  font-family: "Antonio CAN", sans-serif;
  font-size: clamp(0.6875rem, 0.3vw + 0.6rem, 0.8125rem);
  font-weight: 325;
  letter-spacing: 0.062em;
  line-height: 1.2;
  white-space: nowrap;
}

/* —— CD-signed CAN wordmark (header) —— */
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  /* clear space ≥ 0.4 × stack height (~56px → ~22px) */
  padding: 1.4rem;
  margin-inline: -1.4rem;
  text-decoration: none;
  line-height: 0;
}

.site-logo__mark {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(90px, 28vw);
}

.site-logo__mark--on-dark {
  display: none;
}

html[data-plexus="dark"] .site-logo__mark--on-light,
body[data-plexus="dark"] .site-logo__mark--on-light {
  display: none;
}

html[data-plexus="dark"] .site-logo__mark--on-dark,
body[data-plexus="dark"] .site-logo__mark--on-dark {
  display: block;
}

@media (max-width: 40rem) {
  .site-logo__mark {
    height: 48px;
  }
}


.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.site-nav a {
  text-decoration: none;
  color: var(--wf-muted);
  border-bottom: 1px dashed transparent;
  padding-block: var(--space-1);
}

.site-nav a:hover {
  color: var(--wf-ink);
  border-bottom-color: var(--wf-border);
}

.nav-slot {
  min-width: 3.5rem;
  display: inline-block;
  border-bottom: 1px dashed var(--wf-border);
  color: var(--wf-muted);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--wf-ink);
  background: var(--wf-ink);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.btn--ghost {
  background: transparent;
  color: var(--wf-ink);
}

.btn--contact {
  padding: var(--space-2) var(--space-4);
}

.text-link {
  color: var(--wf-ink);
  text-underline-offset: 0.2em;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--wf-border);
  background: var(--wf-bg);
  color: var(--wf-ink);
  cursor: pointer;
  font: inherit;
}

@media (min-width: 48rem) {
  .site-locations {
    display: block;
  }
  .site-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  border-top: 1px solid var(--wf-border);
  background: #fff;
  padding: var(--space-4) var(--gutter) var(--space-6);
}

.nav-drawer.is-open {
  display: block;
}

.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nav-drawer__list a {
  text-decoration: none;
  color: var(--wf-muted);
  padding-block: var(--space-2);
  border-bottom: 1px dashed var(--wf-border);
}

.nav-drawer__contact {
  margin-top: var(--space-4);
}

@media (min-width: 48rem) {
  .nav-drawer {
    display: none !important;
  }
}

/* —— 1. ATF —— */
.atf {
  padding-block: var(--space-12) var(--space-16);
}

.atf__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.atf__type {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 36rem;
}

.atf__type .role-display {
  margin-top: var(--space-1);
}

.atf__sub {
  color: var(--wf-muted);
  margin-top: var(--space-2);
  max-width: 32rem;
}

.atf__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

@media (min-width: 64rem) {
  .atf__grid {
    grid-template-columns: 4fr 8fr;
    gap: var(--space-8);
    align-items: stretch;
  }

  .atf__media .slot--media {
    /* Taller ATF presence (4:3 cover crop); never stretch */
    min-height: 32rem;
  }
}

/* —— 2. Proof —— */
.proof {
  padding-block: var(--space-10);
  background: var(--wf-bg);
  border-top: 1px solid var(--wf-border);
  border-bottom: 1px solid var(--wf-border);
}

.proof .section-head {
  margin-bottom: var(--space-6);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.proof-slot {
  aspect-ratio: 3 / 1;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  overflow: hidden;
  /* Contrast: light plate so dark wordmarks read; swap to dark plate only for light/white marks */
  background: var(--wf-surface);
  border: 1px solid var(--wf-border, #d0d0d0);
}

/* Logo rule: full mark, crisp source, contain-fit, sized to cell (not cell-filling) */
.proof-slot img,
.proof-slot svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 62%;
  object-fit: contain;
  object-position: center;
}

/* Catch Surf neon lockup is taller (~1.35:1); tighten pad so it fills the 3:1 cell */
.proof-slot--catch {
  padding: 0.2rem;
}

.proof-slot--catch img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.proof-slot--tsd {
  /* Wide script wordmark: trim pad so mark fills the 3:1 cell without crop */
  padding: 0.35rem 0.5rem;
}
.proof-slot--tsd img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.proof-slot--dark {
  background: #1a1a1a;
  border-color: #1a1a1a;
}


@media (min-width: 40rem) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64rem) {
  .proof-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
  }
}

/* —— 3. Featured work —— */
.work-grid {
  display: grid;
  gap: var(--space-8);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.work-card .role-card {
  margin-top: var(--space-1);
}

.work-card .one-line {
  color: var(--wf-muted);
}

@media (min-width: 64rem) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

/* —— 4. Services —— */
.services-grid {
  display: grid;
  gap: var(--space-8);
}

.service-cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--wf-border);
  background: var(--wf-bg);
}

.service-cell p {
  color: var(--wf-muted);
}

@media (min-width: 48rem) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

/* —— 5. About / Pedigree —— */
.about-pedigree-head {
  margin-bottom: var(--space-4);
}

.pedigree-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

@media (min-width: 48rem) {
  .pedigree-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (min-width: 64rem) {
  .pedigree-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 80rem) {
  .pedigree-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.pedigree-slot {
  aspect-ratio: 3 / 1;
  min-height: 3.25rem;
}

.pedigree-slot img,
.pedigree-slot svg {
  max-width: 70%;
  max-height: 55%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.pedigree-slot--lyft img,
.pedigree-slot--lyft svg {
  max-width: 42%;
  max-height: 38%;
}

.about-copy {
  max-width: var(--measure);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-copy--prose {
  max-width: 42rem;
}

.about-copy--prose .role-title {
  margin-bottom: var(--space-2);
}

.about-copy .role-card {
  margin-bottom: var(--space-1);
}

.about-who {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: stretch;
}

.about-who .about-copy--prose {
  max-width: none;
}

.about-media {
  margin: 0;
  width: min(100%, 14rem);
  max-width: 14rem;
  aspect-ratio: 2 / 3;
  border-radius: 0;
  overflow: hidden;
  background: var(--wf-surface);
  position: relative;
}

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

@media (min-width: 48rem) {
  .about-who {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem;
    column-gap: var(--space-8);
    align-items: stretch;
    gap: var(--space-8);
  }

  .about-who .about-copy--prose {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .about-who .about-copy--prose .role-title {
    margin-bottom: 0;
  }

  .about-media {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 14rem;
    max-width: 14rem;
    margin: 0;
    overflow: hidden;
    aspect-ratio: auto;
    height: auto;
    min-height: 100%;
    align-self: stretch;
  }

  .about-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }
}

/* —— 6. Contact —— */
.contact-grid {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

.contact-form {
  width: 100%;
  max-width: var(--form-max);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-family: var(--font);
  font-size: var(--type-body-size);
  font-weight: 500;
}

.field input,
.field textarea {
  font: inherit;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--wf-border);
  background: #fff;
  color: var(--wf-ink);
  width: 100%;
}

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

.contact-aside {
  color: var(--wf-muted);
  max-width: 18rem;
  text-transform: none;
  letter-spacing: normal;
}

@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: minmax(0, var(--form-max)) minmax(0, 1fr);
    gap: var(--space-10);
  }
}

/* —— 7. Footer —— */
.site-footer {
  border-top: 1px solid var(--wf-border);
  padding-block: var(--space-8);
  background: var(--wf-bg);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--wf-muted);
  border-bottom: 1px dashed var(--wf-border);
}

.footer-meta {
  color: var(--wf-muted);
}

/* Visually hidden (a11y) */
.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;
}


/* Portrait stills in landscape thumbs: show full frame, no head crop */
.slot--media-contain {
  background: var(--wf-surface);
}

.slot--media-contain img {
  object-fit: contain;
  object-position: center center;
}


.work-card__eyebrow {
  margin: 0 0 var(--space-2);
}

/* —— Case snapshot pages —— */
.case-page {
  max-width: var(--measure);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.case-page--wide {
  max-width: min(100%, 52rem);
}

.case-back {
  display: inline-block;
  margin-bottom: var(--space-2);
}

.case-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--measure);
}

.case-intro .role-display,
.case-intro .role-title {
  margin: 0;
}

.case-lede {
  color: var(--wf-muted);
  max-width: var(--measure);
}

.case-lede + .case-lede {
  margin-top: var(--space-3);
}

.case-still {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--wf-surface);
  border: 1px solid var(--wf-border);
}

.case-still img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.case-still video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  background: #000;
}

.case-still--video {
  aspect-ratio: 9 / 16;
  max-width: 22rem;
  background: #000;
}

.case-still--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #000;
}

.case-still--hero {
  aspect-ratio: 16 / 10;
}

.case-still--landscape {
  aspect-ratio: 3 / 2;
}

.case-still--portrait {
  aspect-ratio: 4 / 5;
  max-width: 28rem;
}

.case-still--square {
  aspect-ratio: 1 / 1;
  max-width: 28rem;
}

.case-still--square-ish {
  aspect-ratio: 5 / 4;
}

.case-athlete {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-athlete__blurb {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--measure);
}

.case-athlete__blurb .role-title {
  margin: 0;
}

.case-still__credit {
  margin-top: var(--space-2);
  color: var(--wf-muted);
}

.case-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--wf-border);
  border: 1px solid var(--wf-border);
  margin: 0;
  max-width: var(--measure);
  padding: 0;
}

.case-facts > div {
  background: var(--wf-bg);
  padding: var(--space-3) var(--space-4);
}

.case-facts dt {
  font-family: var(--font);
  font-size: var(--type-meta-size);
  font-weight: var(--type-meta-weight);
  letter-spacing: var(--type-meta-tracking);
  text-transform: uppercase;
  color: var(--wf-muted);
  margin: 0 0 var(--space-1);
}

.case-facts dd {
  margin: 0;
  font-family: var(--font);
  font-size: var(--type-body-size);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: var(--type-body-line);
}

@media (min-width: 40rem) {
  .case-facts {
    grid-template-columns: 1fr 1fr;
  }

  .case-facts > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Case stat pair: big number, benchmark, label. Stacks on mobile. */
.case-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--measure);
}

.case-stats__heading {
  margin: 0;
}

.case-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--wf-border);
  border: 1px solid var(--wf-border);
}

.case-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--wf-bg);
  padding: var(--space-5) var(--space-4);
}

.case-stat p {
  margin: 0;
}

.case-stat__num {
  font-family: var(--font);
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  letter-spacing: var(--type-display-tracking);
  line-height: 1;
}

.case-stat__num + .case-stat__label {
  margin-top: var(--space-1);
}

.case-stat__bench {
  font-weight: 600;
}

.case-stat__detail {
  color: var(--wf-muted);
}

@media (min-width: 40rem) {
  .case-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.case-stops {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--measure);
}

.case-stops .role-title {
  margin: 0;
}

.case-note {
  color: var(--wf-muted);
  max-width: var(--measure);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.case-email-scroll {
  width: 100%;
  max-width: 600px;
  height: 720px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--wf-bg);
  border: 1px solid var(--wf-border);
}

.case-email-scroll img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: unset;
  object-position: unset;
}

@media (max-width: 40rem) {
  .case-email-scroll {
    max-width: none;
  }
}

.case-footer-back {
  margin-top: var(--space-4);
}

.work-card__shot {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card__shot:focus-visible {
  outline: 2px solid var(--wf-ink);
  outline-offset: 3px;
}


.contact-form__status {
  margin: 0 0 var(--space-3);
  min-height: 1.2em;
}
