/* Site styles */

:root {
  --cream: #F7F1E6;
  --ink: #2B1F17;
  --ink-soft: #5C4A3C;
  --teal: #1B9A8F;
  --teal-text: #12766D;
  --mustard: #E8B23A;
  --white: #FFFFFF;
  --tint-gatore: #D7EEEA;
  --tint-karla: #F6E6BC;
  --tint-fyzz: #E6E0F4;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  --line: 2px solid var(--ink);
  --line-thin: 1.5px solid var(--ink);
  --soft-line: #D9CDBA;
  --rule: 1px solid var(--soft-line);
  --detail-line: #E6DCCB;
  --rule-inner: 1px solid var(--detail-line);
  --radius-card: 16px;
  --radius-btn: 12px;
  --gutter: 40px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body.cf {
  margin: 0;
  overflow-x: clip;
  background-color: var(--cream);
  background-image: url("../img/site/grain.svg");
  background-blend-mode: multiply;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

.cf img {
  max-width: 100%;
}

.cf a {
  color: var(--ink);
}

.cf a:hover {
  color: var(--teal-text);
}

.cf a:focus-visible,
.cf button:focus-visible {
  outline: 3px solid var(--teal-text);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--cream) !important;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header ---------- */

.cf-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}

.cf-logo {
  display: flex;
  width: 56px;
  height: 56px;
  transform: rotate(-6deg);
}

.cf-logo img {
  display: block;
  width: 56px;
  height: 56px;
}

.cf-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 15px;
}

.cf-nav a {
  display: block;
  padding: 13px 12px;
  text-decoration: none;
}

.cf-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.cf-menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: var(--line);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
}

.cf-menu-btn svg {
  width: 18px;
  height: 13px;
}

/* ---------- Type ---------- */

.label {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--teal-text);
}

.h-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 9.4vw, 136px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.h-page {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h-cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.h-card {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.h-sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 600px;
  font-size: 22px;
  line-height: 1.5;
}

.body-lg {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.soft {
  color: var(--ink-soft);
}

.mono {
  font-family: var(--font-mono);
}

.squiggle {
  position: relative;
  white-space: nowrap;
}

.squiggle svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 12px;
}

/* ---------- Sections ---------- */

.section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 32px 0 112px;
  border-top: var(--rule);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 88px 0 72px;
  border-bottom: var(--line);
}

/* Bird hero */
.bird-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 40px;
  padding-top: 88px;
  border-bottom: var(--line);
}

.bird-hero-text {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 80px;
}

.bird-hero-art {
  flex: 1 1 220px;
  display: flex;
  justify-content: center;
}

.bird-hero-art img {
  display: block;
  width: auto;
  height: 380px;
  margin-bottom: -12px;
}

/* ---------- Buttons, tags, status ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cf .btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 22px;
  border: var(--line);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.cf .btn--solid {
  background: var(--ink);
  color: var(--cream);
}

.cf .btn--solid:hover {
  background: var(--teal-text);
  border-color: var(--teal-text);
  color: var(--cream);
}

.cf .btn--outline:hover {
  background: var(--white);
  color: var(--ink);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
}

.tag {
  border: 1.5px solid var(--ink-soft);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.tag--progress {
  background: var(--mustard);
  color: var(--ink);
}

.tags--lg {
  gap: 8px;
  font-size: 13px;
}

.tags--lg .tag {
  padding: 6px 14px;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
}

.status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.text-link {
  align-self: flex-start;
  display: inline-block;
  padding: 10px 0;
  font-weight: 600;
  font-size: 16px;
}

/* ---------- Images ---------- */

.shot {
  display: block;
  width: 100%;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-card);
  object-fit: cover;
  object-position: top center;
}

.shot--gatore { background: var(--tint-gatore); }
.shot--karla { background: var(--tint-karla); }
.shot--fyzz { background: var(--tint-fyzz); }

/* ---------- Home ---------- */

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 0;
  padding: 44px 0;
  list-style: none;
}

.highlights li {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 36px;
  border-left: var(--rule-inner);
}

.highlights li:first-child {
  padding-left: 0;
  border-left: 0;
}

.highlights li:last-child {
  padding-right: 0;
}

.highlights strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
}

.highlights span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 16px;
}

.card {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.card-img {
  display: block;
  height: 220px;
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 28px;
}

.card-body p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.card-body .text-link {
  margin-top: auto;
}

.decisions {
  list-style: none;
  padding: 0;
}

.decisions li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 40px;
  padding: 40px 0;
}

.decisions li + li {
  border-top: var(--rule-inner);
}

.decision-num {
  flex: 0 0 120px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  line-height: 0.9;
  color: var(--teal-text);
}

.decision-text {
  flex: 999 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.decision-text p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.decision-text .from {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

.decision-img {
  flex: 1 1 300px;
  max-width: 340px;
  height: 200px;
  border-radius: var(--radius-btn);
}

/* ---------- Work ---------- */

.cs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 56px;
  padding: 56px 0;
}

.cs-row + .cs-row {
  border-top: var(--rule-inner);
}

.cs-row-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-row-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--teal-text);
}

.cs-row-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.cs-row-text > p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cs-row-text .text-link {
  font-size: 17px;
}

.cs-row-img {
  flex: 1.2 1 440px;
  min-width: 0;
  aspect-ratio: 16 / 10;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.facts dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-text);
}

.facts dd {
  font-size: 15px;
}

/* Rows */
.rows {
  list-style: none;
  padding: 0;
}

.rows > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 40px;
  padding: 24px 0;
}

.rows > li + li {
  border-top: var(--rule-inner);
}

.rows .when {
  flex: 0 0 160px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
}

.rows .what {
  flex: 999 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rows .what p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.rows .what a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.rows--exp > li {
  align-items: flex-start;
  gap: 8px 40px;
  padding: 28px 0;
}

.rows--exp .when {
  flex-basis: 180px;
  padding-top: 6px;
}

.rows--exp .what {
  gap: 6px;
}

.rows--exp .org {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.rows--exp .what p:not(.org) {
  max-width: 620px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 96px;
  padding-top: 48px;
  border-top: var(--rule);
}

.cta p {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px;
  padding: 88px 0 112px;
}

.about-intro-text {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.photo-frame {
  position: relative;
  flex: 1 1 300px;
  max-width: 380px;
  padding: 18px 0 0 18px;
}

.photo-frame .shot {
  aspect-ratio: 4 / 5;
  object-position: center;
  background: var(--tint-gatore);
  border: var(--line);
}

.three-up {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 0;
}

.three-up > * {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.three-up p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.outside {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 40px;
  padding-top: 32px;
  border-top: var(--rule);
  border-bottom: var(--line);
}

.outside-text {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 64px;
}

.outside-list {
  list-style: none;
  padding: 0;
}

.outside-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 16px 0;
  border-top: var(--rule-inner);
}

.outside-list strong {
  flex: 0 0 140px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.outside-list span {
  flex: 1 1 260px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.outside .bird-hero-art img {
  height: 320px;
  margin-bottom: -10px;
}

/* ---------- Contact ---------- */

.link-rows {
  list-style: none;
  padding: 16px 0 0;
}

.link-rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 40px;
  padding: 28px 0;
}

.link-rows li + li {
  border-top: var(--rule-inner);
}

.link-rows .label {
  flex: 0 0 160px;
  font-size: 14px;
}

.link-rows a {
  flex: 999 1 360px;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.link-rows a span:first-child {
  overflow-wrap: anywhere;
}

.link-rows .note {
  flex: 1 1 100%;
  padding-left: 200px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Case study ---------- */

.back-link {
  align-self: flex-start;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
}

.cs-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 56px 0;
}

.cs-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cs-hero-text {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.cs-hero-text > p:not(.label) {
  max-width: 680px;
  font-size: 24px;
  line-height: 1.4;
}

.cs-logo {
  flex: 0 1 340px;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.cs-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 104px;
}

.summary dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  border-top: var(--rule-inner);
}

.summary dl > div {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
}

.summary dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal-text);
}

.summary dd {
  font-size: 16px;
  line-height: 1.45;
}

.cs-section {
  gap: 28px;
  padding-bottom: 104px;
}

.cs-img {
  max-width: 820px;
  aspect-ratio: 16 / 10;
}

.cs-img--wide {
  aspect-ratio: 16 / 9;
}

.cs-list {
  max-width: 720px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cs-list--ink {
  color: var(--ink);
}

.cs-list strong {
  color: var(--ink);
}

.cs-section .h-sub {
  margin-top: 16px;
}

.choices {
  list-style: none;
  padding: 0;
}

.choices > li {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 36px 0;
}

.choices > li + li {
  border-top: var(--rule-inner);
}

.choice-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.choice-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--teal-text);
}

.choice-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.choice-text dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice-text dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-text);
}

.choice-text dd {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.55;
}

.choice-text dd.soft {
  color: var(--ink-soft);
}

.choice-img {
  flex: 1 1 380px;
  min-width: 0;
}

.choice-img .shot {
  aspect-ratio: 4 / 3;
}

.before-after {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.before-after figure {
  flex: 0 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.before-after img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.before-after figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.before-after figcaption .label {
  font-size: 13px;
}

.before-after figcaption span:last-child {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.fine-print {
  max-width: 720px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.gallery figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery .shot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-btn);
}

.gallery figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

.lightbox-img {
  cursor: zoom-in;
}

.next-project {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: var(--rule);
}

.next-project .next {
  padding: 8px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* ---------- Footer ---------- */

.cf-footer {
  margin-top: 120px;
  background: var(--ink);
  color: var(--cream);
}

.cf-footer .wrap {
  padding-top: 56px;
  padding-bottom: 24px;
}

.cf .cf-footer a {
  display: block;
  padding: 12px 0;
  color: var(--cream);
  text-decoration: none;
}

.cf .cf-footer a:hover {
  color: #8FD6CB;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cf .cf-footer a:focus-visible {
  outline-color: #8FD6CB;
}

.cf-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  list-style: none;
  padding: 0;
}

.cf-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 56px;
  border-bottom: 1.5px solid var(--ink-soft);
}

.cf-footer-cta {
  flex: 2 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 40px;
}

.cf-footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.cf-footer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #E9DFCF;
}

.cf-footer-status::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8FD6CB;
}

.cf-footer-bird {
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: 170px;
  margin-bottom: -2px;
}

.cf-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--ink-soft);
  font-size: 16px;
}

.cf-footer-site ul {
  gap: 0 24px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.cf-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #E9DFCF;
}

.cf-footer-bottom p {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cf-footer-bottom img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ---------- Phone ---------- */

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

  .cf-header {
    padding: 18px 0;
  }

  .cf-logo,
  .cf-logo img {
    width: 50px;
    height: 50px;
  }

  .cf-menu-btn {
    display: flex;
  }

  .cf-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    padding: 8px;
    border: var(--line);
    border-radius: var(--radius-card);
    background: var(--cream);
  }

  .cf-header.is-open .cf-nav {
    display: block;
  }

  .cf-nav ul {
    flex-direction: column;
    font-size: 16px;
  }

  .cf-nav a {
    padding: 14px 12px;
  }

  .h-hero {
    font-size: 60px;
  }

  .label {
    font-size: 14px;
  }

  .lede {
    font-size: 21px;
  }

  .page-hero {
    padding: 40px 0 48px;
  }

  .bird-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 40px;
  }

  .bird-hero-text {
    flex: none;
    gap: 18px;
    padding-bottom: 32px;
  }

  .bird-hero-art {
    flex: none;
    justify-content: flex-end;
    padding-right: 12px;
  }

  .bird-hero-art img,
  .outside .bird-hero-art img {
    height: 250px;
    margin-bottom: -8px;
  }

  .cf .btn {
    height: 48px;
    padding: 0 18px;
  }

  .section {
    gap: 28px;
    padding: 24px 0 80px;
  }

  .highlights {
    flex-direction: column;
    gap: 20px;
    padding: 28px 0;
  }

  .highlights li,
  .highlights li:first-child {
    padding: 20px 0 0;
    border-left: 0;
    border-top: var(--rule-inner);
  }

  .highlights li:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .highlights strong {
    font-size: 24px;
  }

  .cards {
    gap: 24px;
    padding-top: 0;
  }

  .card-img {
    height: 190px;
    width: calc(100% - 20px);
    margin: 10px 10px 0;
  }

  .card-body {
    gap: 12px;
    padding: 20px 20px 22px;
  }

  .h-card {
    font-size: 26px;
  }

  .decisions li {
    gap: 16px;
    padding: 28px 0;
  }

  .decision-num {
    flex-basis: 100%;
    font-size: 44px;
  }

  .decision-img {
    max-width: none;
    flex-basis: 100%;
  }

  .cs-row {
    padding: 40px 0;
  }

  .about-intro {
    gap: 40px;
    padding: 40px 0 80px;
  }

  .outside {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .outside-text {
    padding-bottom: 24px;
  }

  .link-rows .note {
    padding-left: 0;
  }

  .cs-hero {
    padding: 24px 0 40px;
  }

  .cs-hero-text > p:not(.label) {
    font-size: 21px;
  }

  .summary {
    padding-bottom: 72px;
  }

  .cta {
    margin-top: 56px;
  }

  .cf-footer {
    margin-top: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Home hero */
.hero-role {
  margin-top: 6px;
}

.hero-lede {
  max-width: 520px;
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.4;
}

.hero-btns {
  padding-top: 10px;
}

.section--flush {
  padding-bottom: 0;
}

.section--far {
  margin-top: 128px;
}

@media (max-width: 720px) {
  .section--far {
    margin-top: 80px;
  }
}

.page-hero .h-page {
  max-width: 900px;
}

.page-hero .lede {
  max-width: 560px;
}

.section--tight {
  gap: 24px;
}

.rows > li > .tag {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
}

.h-sub--lg {
  font-size: 26px;
}

.h-sub--sm {
  font-size: 22px;
}

.about-intro-text .body-lg {
  max-width: 600px;
}

.lede--narrow {
  max-width: 560px;
}

.bird-hero-text--roomy {
  gap: 24px;
}

.bird-hero--contact .bird-hero-art img {
  height: 340px;
  margin-bottom: -11px;
}

.lede--wide {
  max-width: 720px;
}

@media (max-width: 720px) {
  .bird-hero--contact .bird-hero-art img {
    height: 250px;
    margin-bottom: -8px;
  }
}

.cs-list--roomy {
  gap: 10px;
}

.cs-section .gallery-head {
  margin-top: 0;
}

.cs-section .gallery-head--next {
  margin-top: 8px;
}

.cs-img-wrap {
  max-width: 820px;
}

/* Lightbox tokens */
.cf {
  --color-white: #FFFFFF;
  --font-body: var(--font-sans);
  --radius-md: 12px;
  --space-4: 1rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --weight-medium: 500;
}

/* ---------- Case study section nav ---------- */

.cf .section-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}

.cf .section-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cf .section-nav .nav-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  color: var(--ink-soft);
  text-decoration: none;
}

.cf .section-nav .nav-dot::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border: var(--line-thin);
  border-radius: 50%;
  background: var(--cream);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cf .section-nav .nav-dot:hover::before {
  background: var(--ink);
}

.cf .section-nav .nav-dot.active::before {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.15);
}

.cf .section-nav .nav-dot span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cream);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cf .section-nav .nav-dot:hover span,
.cf .section-nav .nav-dot:focus-visible span {
  opacity: 1;
  transform: none;
}

.cf .section-nav .nav-dot.active span {
  color: var(--teal-text);
}

@media (max-width: 1399px) {
  .cf .section-nav {
    display: none;
  }
}

/* Case study logo */
.cs-logo {
  border: 0;
  background: transparent;
  padding: 0;
  aspect-ratio: auto;
}

@media (max-width: 720px) {
  .highlights li {
    flex: none;
  }
}

/* Section nav: wide screens */
@media (min-width: 1600px) {
  .cf .section-nav .nav-dot.active span {
    opacity: 1;
    transform: none;
  }
}

/* Bird images */
.cf-logo img {
  object-fit: contain;
}

@media (max-width: 720px) {
  .cf-footer .wrap {
    padding-top: 40px;
  }

  .cf-footer-cta {
    padding-bottom: 0;
  }

  .cf-footer-bird {
    height: 130px;
    margin-left: auto;
  }
}

/* ---------- Clickable cards ---------- */

.card,
.cs-row {
  position: relative;
}

.card .text-link::after,
.cs-row .text-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:has(.text-link):hover {
  transform: translateY(-4px);
  border-color: var(--teal-text);
  box-shadow: 0 6px 0 var(--teal-text);
}

.card:has(.text-link):hover .text-link,
.cs-row:has(.text-link):hover .text-link,
.cs-row:has(.text-link):hover .cs-row-title {
  color: var(--teal-text);
}

.cs-row-img {
  transition: transform 0.25s ease;
}

.cs-row:has(.text-link):hover .cs-row-img {
  transform: translateY(-4px);
}

.card:has(.text-link:focus-visible),
.cs-row:has(.text-link:focus-visible) {
  outline: 3px solid var(--teal-text);
  outline-offset: 6px;
  border-radius: var(--radius-card);
}

.card .text-link:focus-visible,
.cs-row .text-link:focus-visible {
  outline: none;
}

/* Fyzz sign-off crop */
.decision-img--signoff {
  object-position: 50% 37%;
}

/* ---------- Interactions ---------- */

/* Hero squiggle */
.squiggle path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: squiggle-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
}

@keyframes squiggle-draw {
  from {
    stroke-dashoffset: 1;
  }
}

/* Nav and footer links */
.cf .cf-nav a,
.cf .cf-footer a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-origin: content-box;
  background-size: 0% 2px;
  background-position: 0 calc(100% + 6px);
  transition: background-size 0.25s ease, color 0.2s ease;
}

.cf .cf-nav a {
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0% 3px;
  text-decoration: none;
}

.cf .cf-footer a {
  background-position: 0 calc(100% + 2px);
}

.cf .cf-nav a:hover,
.cf .cf-nav a:focus-visible,
.cf .cf-nav a[aria-current="page"],
.cf .cf-footer a:hover,
.cf .cf-footer a:focus-visible {
  background-size: 100% 3px;
  text-decoration: none;
}

.cf .cf-footer a:hover,
.cf .cf-footer a:focus-visible {
  background-size: 100% 2px;
}

/* Case study links */
.cf .text-link {
  text-underline-offset: 4px;
}

/* Buttons */
.cf .btn {
  box-shadow: 0 0 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s ease, color 0.2s ease;
}

.cf .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 0 var(--ink);
}

.cf .btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 var(--ink);
}

/* Screenshot pan */
.pan {
  object-position: 50% 0;
  transition: object-position 0.8s ease, transform 0.25s ease;
}

.card:hover .pan,
.cs-row:hover .pan {
  object-position: 50% 100%;
  transition: object-position 4s ease-in-out, transform 0.25s ease;
}

/* Page transitions */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

::view-transition-group(*) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.cf-header { view-transition-name: site-header; }
.vt-title { width: fit-content; }
.vt-title-gatore { view-transition-name: title-gatore; }
.vt-title-karla { view-transition-name: title-karla; }
.vt-title-fyzz { view-transition-name: title-fyzz; }
.vt-shot-gatore { view-transition-name: shot-gatore; }
.vt-shot-karla { view-transition-name: shot-karla; }

@media (prefers-reduced-motion: reduce) {
  .squiggle path {
    stroke-dashoffset: 0;
  }

  .card:hover .pan,
  .cs-row:hover .pan {
    object-position: 50% 0;
  }

  .cf .btn:hover,
  .cf .btn:active {
    transform: none;
  }
}

/* Stat count-ups */
.stat-number {
  font-variant-numeric: tabular-nums;
}

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

/* ---------- Bird ---------- */

.bird-hero-art {
  --bird-h: 380px;
  --bird-drop: -1px;
}

.bird-hero--contact .bird-hero-art {
  --bird-h: 340px;
  --bird-drop: -1px;
}

.outside .bird-hero-art {
  --bird-h: 320px;
  --bird-drop: -1px;
}

.bird-hero-art > .bird-svg,
.bird-hero-art > img.js-bird {
  display: block;
  width: auto;
  height: var(--bird-h);
  margin-bottom: var(--bird-drop);
}

/* Header logo wiggle */
.cf-logo:hover img {
  animation: logo-wiggle 0.6s ease;
}

@keyframes logo-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-4deg); }
}

/* Footer bird peek */
.cf-footer-perch {
  flex: 0 0 auto;
  overflow: hidden;
  margin-bottom: -2px;
  padding-top: 10px;
}

.cf-footer-perch .cf-footer-bird {
  margin-bottom: 0;
}

.has-js .cf-footer-perch .cf-footer-bird {
  transform: translateY(105%);
  transition: transform 0.8s cubic-bezier(0.3, 1.35, 0.5, 1) 0.15s;
}

.has-js .cf-footer.is-seen .cf-footer-perch .cf-footer-bird {
  transform: none;
}

@media (max-width: 720px) {
  .bird-hero-art,
  .bird-hero--contact .bird-hero-art,
  .outside .bird-hero-art {
    --bird-h: 250px;
    --bird-drop: -1px;
  }

  .cf-footer-perch {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .cf-footer-perch .cf-footer-bird {
    transform: none;
  }
}

/* ---------- Case study components ---------- */

.theme-karla {
  --accent: #8F4BB1;
}

.theme-fyzz {
  --accent: #B8330F;
}

/* Stat band */
.stat-band {
  margin: 8px calc(50% - 50vw) 0;
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  background: var(--accent, var(--ink));
  color: var(--cream);
}

.stat-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 64px;
}

.stat-band-intro {
  flex: 1 1 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
}

.stat-band .stat {
  flex: 0 1 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.stat-band .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-band .stat-label {
  font-size: 16px;
  line-height: 1.45;
}

.stat-band-sources {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Figures with captions */
.cs-figure {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-figure figcaption {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cs-figure .shot {
  height: auto;
}

/* Country cards */
.country-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}

.country-cards li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: var(--rule);
  border-radius: var(--radius-card);
  background: var(--white);
}

.country-cards strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.country-cards span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Pull quote */
.pull-quote {
  max-width: 720px;
  margin: 0;
  padding-left: 24px;
  border-left: 3px solid var(--accent, var(--teal));
}

.pull-quote p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pull-quote footer {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

/* Detail grid */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px 40px;
  max-width: 900px;
}

.detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-grid dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal-text);
}

.detail-grid dd {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Lessons */
.lessons {
  list-style: none;
  padding: 0;
  max-width: 820px;
}

.lessons li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  padding: 24px 0;
}

.lessons li + li {
  border-top: var(--rule-inner);
}

.lessons .lesson-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--teal-text);
}

.lessons h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.lessons p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Sources */
.cs-sources {
  margin-top: 64px;
  padding-top: 24px;
  border-top: var(--rule);
}

.cs-sources summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--teal-text);
  cursor: pointer;
}

.cs-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px 48px;
  padding-top: 16px;
}

.cs-sources h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.cs-sources ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cs-section .shot--karla { background: var(--tint-karla); }

.choice-img .crop-left {
  object-position: left top;
}

.cs-figure--narrow {
  max-width: 560px;
}

.gallery--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .gallery--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shot--karla {
  object-position: left top;
}

/* GATORE hero and posters */
.hero-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hero-pair figure,
.poster-pair figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-pair .shot {
  aspect-ratio: 16 / 10;
}

.hero-pair figcaption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.poster-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 20px;
}

.poster-pair .shot {
  height: auto;
}

@media (max-width: 720px) {
  .hero-pair {
    grid-template-columns: 1fr;
  }

  .poster-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Artwork pairs */
.art-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.art-pair figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.art-pair .shot {
  height: auto;
  border: 0;
}

.art-pair figcaption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .art-pair {
    grid-template-columns: 1fr;
  }
}

/* Feathers */
.bird-hero-art {
  position: relative;
}

.feather {
  position: absolute;
  z-index: 2;
  height: auto;
  margin: -20px 0 0 -20px;
  pointer-events: none;
}

/* Photo feathers */
.photo-feather {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.photo-feather--1 {
  left: -8px;
  top: -14px;
  width: 58px;
  transform: rotate(-32deg);
}

.photo-feather--2 {
  right: -6px;
  top: 34px;
  width: 36px;
  transform: rotate(18deg);
}

.photo-feather--3 {
  right: -8px;
  bottom: -16px;
  width: 50px;
  transform: rotate(34deg);
}

@media (max-width: 720px) {
  .photo-feather--2 {
    right: 2px;
  }

  .photo-feather--3 {
    right: 6px;
  }
}

/* Pencil and envelope on the line */
.bird-hero-art img.hero-object {
  display: block;
  width: auto;
  margin-bottom: -1px;
}

.bird-hero-art img.hero-object--pencil {
  height: 220px;
}

.bird-hero-art img.hero-object--envelope {
  height: auto;
  width: clamp(200px, 22vw, 300px);
}

@media (max-width: 720px) {
  .bird-hero-art img.hero-object--pencil {
    height: 160px;
  }

  .bird-hero-art img.hero-object--envelope {
    width: 190px;
  }
}

.decision-img--prefs {
  object-position: 50% 76%;
}

.choice-img .crop-prefs {
  object-position: 50% 76%;
}
