.afia-case-page {
  --afia-clay: #a14f3a;
  --afia-clay-deep: #672b1e;
  --afia-olive: #3f4630;
  --afia-olive-deep: #283020;
  --afia-cream: #f4eee7;
  --afia-gold: #c5aa72;
  --afia-line: rgba(101, 57, 42, 0.2);
  background: var(--afia-cream);
}

.afia-case-page h1,
.afia-case-page h2,
.afia-case-page h3 { font-weight: 430; }
.afia-case-page h1 em,
.afia-case-page h2 em { font-weight: 370; }

.afia-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + var(--hero-space-top)) 0 var(--hero-space-bottom);
  background:
    radial-gradient(circle at 88% 15%, rgba(161, 79, 58, 0.19), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(197, 170, 114, 0.22), transparent 24%),
    linear-gradient(118deg, var(--afia-cream) 0 63%, #eadbd4 63% 100%);
}
.afia-hero::before,
.afia-hero::after { position: absolute; border: 1px solid rgba(161, 79, 58, 0.12); border-radius: 50%; content: ""; pointer-events: none; }
.afia-hero::before { top: -18rem; right: -16rem; width: 43rem; height: 43rem; box-shadow: 0 0 0 5rem rgba(161, 79, 58, 0.035), 0 0 0 10rem rgba(161, 79, 58, 0.02); }
.afia-hero::after { bottom: -16rem; left: -12rem; width: 31rem; height: 31rem; }
.afia-hero .section-shell { position: relative; z-index: 1; }
.afia-hero-grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(31rem, 0.95fr); gap: clamp(3rem, 7vw, 8rem); }
.afia-project-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.5rem; }
.afia-project-tags span { padding: 0.62rem 0.9rem; border: 1px solid rgba(161, 79, 58, 0.24); border-radius: 999px; background: rgba(255, 255, 255, 0.48); color: var(--afia-clay-deep); font-size: var(--text-label); font-weight: 500; }
.afia-hero-copy h1 { max-width: 13ch; margin: 0; font-size: var(--type-page-title); line-height: 1.04; letter-spacing: -0.055em; }
.afia-hero-copy h1 em { color: var(--afia-clay); }
.afia-hero-copy > p { max-width: 45rem; margin: 1.5rem 0 0; color: var(--slate); font-size: var(--text-lead); line-height: 1.7; }
.afia-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.afia-hero-actions .button { border-color: var(--afia-clay); background: var(--afia-clay); color: #fff; }
.afia-hero-actions .button:hover,
.afia-hero-actions .button:focus-visible { border-color: var(--afia-olive); background: var(--afia-olive); color: #fff; }
.afia-hero-actions .button-ghost { border-color: rgba(161, 79, 58, 0.58); background: transparent; color: var(--afia-clay-deep); }
.afia-hero-actions .button-ghost:hover,
.afia-hero-actions .button-ghost:focus-visible { border-color: var(--afia-clay); background: var(--afia-clay); color: #fff; }

.afia-hero-stage { position: relative; min-height: clamp(36rem, 45vw, 44rem); }
.afia-hero-stage figure { position: absolute; overflow: hidden; margin: 0; border: 0.55rem solid rgba(255, 255, 255, 0.8); background: #fff; box-shadow: 0 1.8rem 4rem rgba(63, 46, 36, 0.18); }
.afia-stage-site { z-index: 2; top: 4%; left: 0; width: 58%; height: 77%; border-radius: 1.8rem; transform: rotate(-2.4deg); }
.afia-stage-product { z-index: 3; right: 1%; bottom: 3%; width: 50%; height: 61%; border-radius: 1.6rem; transform: rotate(3deg); }
.afia-stage-site img,
.afia-stage-product img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.afia-stage-logo { z-index: 5; top: 6%; right: 4%; width: clamp(8rem, 12vw, 11.5rem); aspect-ratio: 1; border-radius: 50%; transform: rotate(4deg); }
.afia-stage-logo img { width: 100%; height: 100%; object-fit: contain; }
.afia-stage-orbit { position: absolute; z-index: 1; border: 1px solid rgba(161, 79, 58, 0.2); border-radius: 50%; }
.afia-stage-orbit-one { inset: 8% 5% 11% 15%; animation: afia-orbit 12s ease-in-out infinite alternate; }
.afia-stage-orbit-two { inset: 20% 17% 22% 3%; border-color: rgba(197, 170, 114, 0.34); animation: afia-orbit 15s ease-in-out infinite alternate-reverse; }

.afia-scope { border-block: 1px solid rgba(255, 255, 255, 0.12); background: var(--afia-olive); color: #fff; }
.afia-scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.afia-scope article { display: flex; min-height: 9rem; padding: 1.8rem clamp(1rem, 2.4vw, 2.4rem); flex-direction: column; justify-content: center; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.afia-scope article:last-child { border-right: 1px solid rgba(255, 255, 255, 0.12); }
.afia-scope strong { font-size: var(--type-card-title-small); font-weight: 430; line-height: 1.2; }
.afia-scope span { margin-top: 0.45rem; color: rgba(255, 255, 255, 0.66); font-size: var(--text-support); line-height: 1.5; }

.afia-thread { position: relative; overflow: hidden; padding: var(--section-space) 0; background: linear-gradient(135deg, var(--afia-clay-deep), #7f3929 55%, #5c291f); color: #fff; }
.afia-thread::before { position: absolute; inset: 0; opacity: 0.2; background-image: radial-gradient(circle at center, rgba(255,255,255,.12) 1px, transparent 1.5px); background-size: 2.8rem 2.8rem; content: ""; }
.afia-thread .section-shell { position: relative; z-index: 1; }
.afia-section-heading { display: grid; align-items: end; grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr); gap: clamp(2.5rem, 7vw, 8rem); }
.afia-section-heading h2 { max-width: 14ch; margin: 0; font-size: var(--type-section-title); line-height: 1.08; letter-spacing: -0.045em; }
.afia-section-heading h2 em { color: var(--afia-clay); }
.afia-section-heading p { margin: 0; color: var(--slate); font-size: var(--text-lead); line-height: 1.7; }
.afia-section-heading-light h2 em { color: #f0cda3; }
.afia-section-heading-light p { color: rgba(255, 255, 255, 0.72); }
.afia-thread-path { position: relative; display: grid; margin-top: var(--content-space); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.afia-thread-path::before { position: absolute; top: 2.25rem; right: 8%; left: 8%; height: 0.18rem; background: linear-gradient(90deg, rgba(240,205,163,.22), #f0cda3 50%, rgba(240,205,163,.22)); content: ""; }
.afia-thread-path article { position: relative; padding: 5.3rem clamp(1.2rem, 2.7vw, 2.6rem) 0; border-left: 1px solid rgba(255, 255, 255, 0.13); }
.afia-thread-path article:last-child { border-right: 1px solid rgba(255, 255, 255, 0.13); }
.afia-thread-path article > span { position: absolute; z-index: 1; top: 0.75rem; left: clamp(1.2rem, 2.7vw, 2.6rem); display: grid; width: 3rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; background: var(--afia-clay-deep); color: #f0cda3; font-family: var(--font-mono); font-size: var(--text-label); }
.afia-thread-path h3 { margin: 0; font-size: var(--type-card-title); line-height: 1.2; }
.afia-thread-path p { margin: 0.8rem 0 0; color: rgba(255, 255, 255, 0.68); line-height: 1.65; }

.afia-identity { padding: var(--section-space) 0; background: #f8f3ed; }
.afia-identity-grid { display: grid; align-items: start; grid-template-columns: minmax(23rem, 0.84fr) minmax(0, 1.16fr); gap: clamp(3rem, 8vw, 9rem); }
.afia-brand-board { position: sticky; top: calc(var(--header-height) + 2rem); overflow: hidden; min-height: 43rem; padding: clamp(2rem, 4vw, 4rem); border-radius: 2.5rem; background: linear-gradient(150deg, #ad5942, var(--afia-clay) 52%, #7d3828); color: #fff; box-shadow: 0 2rem 4.5rem rgba(75, 40, 28, 0.15); }
.afia-brand-board::before { position: absolute; inset: 10% -20% auto auto; width: 25rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.025), 0 0 0 8rem rgba(255,255,255,.018); content: ""; }
.afia-brand-logo { position: relative; z-index: 1; width: min(100%, 24rem); margin-inline: auto; }
.afia-brand-logo img { width: 100%; height: auto; filter: drop-shadow(0 1.2rem 2rem rgba(53, 22, 14, 0.18)); }
.afia-palette { position: relative; z-index: 1; display: grid; margin-top: 2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
.afia-palette span { display: flex; min-height: 6.5rem; padding: 0.7rem; align-items: flex-end; border: 1px solid rgba(255,255,255,.28); border-radius: 1rem; background: var(--swatch); }
.afia-palette i { padding: 0.25rem 0.4rem; border-radius: 0.35rem; background: rgba(0,0,0,.34); color: #fff; font-family: var(--font-mono); font-size: var(--text-label); font-style: normal; }
.afia-brand-board > p { position: relative; z-index: 1; margin: 2rem 0 0; color: rgba(255,255,255,.75); font-family: var(--font-mono); font-size: var(--text-label); letter-spacing: 0.09em; text-align: center; text-transform: uppercase; }
.afia-identity-copy h2 { max-width: 13ch; margin: 0; font-size: var(--type-section-title); line-height: 1.08; letter-spacing: -0.045em; }
.afia-identity-copy h2 em { color: var(--afia-clay); }
.afia-identity-copy > p { margin: 1.5rem 0 0; color: var(--slate); font-size: var(--text-lead); line-height: 1.7; }
.afia-identity-copy ul { display: grid; margin: 2rem 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--afia-line); }
.afia-identity-copy li { position: relative; padding: 1.15rem 1rem 1.15rem 1.4rem; border-bottom: 1px solid var(--afia-line); color: var(--coal); }
.afia-identity-copy li:nth-child(odd) { padding-left: 1.4rem; border-right: 1px solid var(--afia-line); }
.afia-identity-copy li::before { position: absolute; top: 1.65rem; left: 0; width: 0.52rem; aspect-ratio: 1; border-radius: 50%; background: var(--afia-clay); content: ""; }
.afia-identity-copy li:nth-child(even)::before { left: 0.2rem; }
.afia-campaign-piece { overflow: hidden; margin: 3rem 0 0; padding: 0.65rem; border: 1px solid var(--afia-line); border-radius: 1.8rem; background: #fff; box-shadow: 0 1.6rem 3rem rgba(75, 40, 28, 0.1); transform: rotate(1deg); }
.afia-campaign-piece img { width: 100%; height: auto; border-radius: 1.2rem; }
.afia-campaign-piece figcaption { padding: 0.9rem 0.6rem 0.35rem; color: var(--slate); font-size: var(--text-support); }

.afia-site { overflow: hidden; padding: var(--section-space) 0; background: linear-gradient(140deg, var(--afia-olive-deep), var(--afia-olive)); color: #fff; }
.afia-site-grid { --afia-bleed: max(var(--page-padding), calc((100vw - 1540px) / 2 + var(--page-padding))); display: grid; align-items: start; grid-template-columns: minmax(21rem, 0.72fr) minmax(36rem, 1.28fr); gap: clamp(3rem, 7vw, 8rem); }
.afia-site-copy { position: sticky; top: calc(var(--header-height) + 2rem); }
.afia-site-copy h2 { max-width: 13ch; margin: 0; font-size: var(--type-section-title-compact); line-height: 1.08; letter-spacing: -0.045em; }
.afia-site-copy h2 em { color: #d9bd89; }
.afia-site-copy > p { margin: 1.4rem 0 0; color: rgba(255,255,255,.7); font-size: var(--text-lead); line-height: 1.65; }
.afia-site-notes { margin-top: 2.25rem; border-top: 1px solid rgba(255,255,255,.16); }
.afia-site-notes p { display: flex; margin: 0; padding: 1.15rem 0; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,.16); }
.afia-site-notes strong { font-weight: 500; }
.afia-site-notes span { margin-top: 0.3rem; color: rgba(255,255,255,.58); font-size: var(--text-support); }
.afia-site-browser { width: calc(100% + var(--afia-bleed)); margin-right: calc(0px - var(--afia-bleed)); padding: 0.75rem 0 0.75rem 0.75rem; border: 1px solid rgba(255,255,255,.16); border-right: 0; border-radius: 2rem 0 0 2rem; background: rgba(255,255,255,.06); box-shadow: 0 2rem 5rem rgba(0,0,0,.24); }
.afia-browser-bar { display: flex; height: 3rem; padding: 0 1rem; align-items: center; gap: 0.45rem; background: #ebe7df; color: #5f6258; }
.afia-browser-bar span { width: 0.62rem; aspect-ratio: 1; border: 1px solid rgba(31,31,31,.16); border-radius: 50%; background: #fff; }
.afia-browser-bar span:first-child { background: var(--afia-clay); }
.afia-browser-bar i { overflow: hidden; margin-left: 0.6rem; font-family: var(--font-mono); font-size: var(--text-label); font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.afia-browser-bar b { margin-left: auto; font-size: var(--text-label); font-weight: 500; white-space: nowrap; }
.afia-site-scroll { overflow-y: auto; height: clamp(38rem, 58vw, 50rem); background: #fff; overscroll-behavior: contain; scrollbar-color: var(--afia-clay) rgba(63,70,48,.12); scrollbar-width: thin; }
.afia-site-scroll img { width: 100%; height: auto; }

.afia-commerce { position: relative; overflow: hidden; padding: var(--section-space) 0; background: var(--afia-cream); }
.afia-commerce::before { position: absolute; top: 13rem; right: -18rem; width: 42rem; aspect-ratio: 1; border: 1px solid rgba(161,79,58,.11); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(161,79,58,.025), 0 0 0 10rem rgba(161,79,58,.018); content: ""; }
.afia-commerce .section-shell { position: relative; z-index: 1; }
.afia-commerce-canvas { position: relative; min-height: 58rem; margin-top: var(--content-space); }
.afia-commerce-desktop { overflow: hidden; width: 79%; margin: 0; padding: 0.65rem; border: 1px solid var(--afia-line); border-radius: 2rem; background: #fff; box-shadow: 0 2rem 5rem rgba(74, 48, 37, 0.15); transform: rotate(-0.7deg); }
.afia-commerce-desktop .afia-browser-bar { border-radius: 1.25rem 1.25rem 0 0; }
.afia-commerce-scroll { overflow-y: auto; height: 49rem; border-radius: 0 0 1.25rem 1.25rem; background: #fff; overscroll-behavior: contain; scrollbar-color: var(--afia-clay) rgba(63,70,48,.12); scrollbar-width: thin; }
.afia-commerce-scroll img,
.afia-phone-scroll img { width: 100%; height: auto; }
.afia-commerce-phone { position: absolute; z-index: 3; right: 1%; bottom: 0; width: clamp(15rem, 20vw, 19rem); margin: 0; padding: 1.1rem 0.7rem 0.8rem; border: 0.45rem solid #2b3022; border-radius: 2.5rem; background: #2b3022; box-shadow: 0 2rem 4rem rgba(63,46,36,.24); transform: rotate(2deg); }
.afia-phone-speaker { width: 4.5rem; height: 0.35rem; margin: 0 auto 0.8rem; border-radius: 999px; background: rgba(255,255,255,.25); }
.afia-phone-scroll { overflow-y: auto; height: 38rem; border-radius: 1.45rem; background: #fff; overscroll-behavior: contain; scrollbar-width: none; }
.afia-phone-scroll::-webkit-scrollbar { display: none; }
.afia-commerce-notes { position: absolute; z-index: 4; top: 3.5rem; right: 0; width: min(25rem, 35%); padding: 1.5rem; border-radius: 1.5rem; background: var(--afia-clay-deep); color: #fff; box-shadow: 0 1.6rem 3rem rgba(63,46,36,.22); }
.afia-commerce-notes > strong { display: block; font-size: var(--type-card-title); font-weight: 430; line-height: 1.2; }
.afia-commerce-notes p { display: grid; margin: 1rem 0 0; padding-top: 1rem; grid-template-columns: 2.2rem 1fr; gap: 0.7rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.75); font-size: var(--text-support); }
.afia-commerce-notes span { color: #f0cda3; font-family: var(--font-mono); font-size: var(--text-label); }

.afia-delivery { padding: var(--section-space) 0; background: #e0e5da; }
.afia-delivery-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 0.77fr) minmax(0, 1.23fr); gap: clamp(3rem, 8vw, 9rem); }
.afia-delivery-intro { position: sticky; top: calc(var(--header-height) + 2rem); }
.afia-delivery h2 { max-width: 12ch; margin: 0; font-size: var(--type-section-title); line-height: 1.08; letter-spacing: -0.045em; }
.afia-delivery h2 em { color: var(--afia-clay); }
.afia-delivery-intro p { margin: 1.35rem 0 0; color: var(--slate); font-size: var(--text-lead); }
.afia-delivery-list { border-top: 1px solid rgba(63,70,48,.24); }
.afia-delivery-list p { display: grid; margin: 0; padding: 1.5rem 0; grid-template-columns: minmax(10rem, .7fr) minmax(0, 1.3fr); gap: 1.5rem; border-bottom: 1px solid rgba(63,70,48,.24); }
.afia-delivery-list span { color: var(--afia-clay-deep); font-family: var(--font-mono); font-size: var(--text-label); font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.afia-delivery-list strong { font-size: 1.1rem; font-weight: 430; line-height: 1.5; }

.afia-outcomes { padding: var(--section-space-compact) 0; background: linear-gradient(130deg, var(--afia-clay-deep), var(--afia-clay)); color: #fff; }
.afia-outcomes h2 { max-width: 12ch; margin: 0; font-size: var(--type-section-title); line-height: 1.08; letter-spacing: -0.045em; }
.afia-outcomes h2 em { color: #f0cda3; }
.afia-outcome-grid { display: grid; margin-top: var(--content-space); grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.afia-outcome-grid p { display: flex; min-height: 15rem; margin: 0; padding: clamp(2rem, 4vw, 4rem); flex-direction: column; justify-content: space-between; border-left: 1px solid rgba(255,255,255,.16); }
.afia-outcome-grid p:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.afia-outcome-grid strong { max-width: 17ch; font-size: var(--type-card-title-large); font-weight: 430; line-height: 1.18; }
.afia-outcome-grid span { margin-top: 1.5rem; color: rgba(255,255,255,.68); }

.afia-next-step { padding: var(--section-space-cta) 0; background: #ece6dd; }
.afia-next-step-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.72fr); gap: clamp(3rem, 8vw, 9rem); }
.afia-next-step h2 { max-width: 13ch; margin: 0; font-size: var(--type-section-title-compact); line-height: 1.08; letter-spacing: -0.045em; }
.afia-next-step h2 em { color: var(--afia-clay); }
.afia-next-step p { max-width: 43rem; margin: 1.35rem 0 1.8rem; color: var(--slate); font-size: var(--text-lead); }
.afia-next-step .button { background: var(--afia-olive); border-color: var(--afia-olive); }
.afia-service-links { display: flex; flex-direction: column; border-top: 1px solid var(--afia-line); }
.afia-service-links a { display: flex; min-height: 5.2rem; padding: 1.1rem 0; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--afia-line); font-size: 1.1rem; font-weight: 500; transition: padding 180ms ease, color 180ms ease; }
.afia-service-links a:hover { padding-left: 0.7rem; color: var(--afia-clay-deep); }
.afia-service-links i { color: var(--afia-clay); font-style: normal; }
.afia-project-nav { --project-accent: var(--afia-gold); }

@keyframes afia-orbit {
  from { transform: translate3d(-0.3rem, 0.15rem, 0) rotate(-1deg); }
  to { transform: translate3d(0.5rem, -0.35rem, 0) rotate(2deg); }
}

@media (max-width: 1180px) {
  .afia-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(27rem, .9fr); gap: 3rem; }
  .afia-hero-stage { min-height: 37rem; }
  .afia-commerce-canvas { min-height: 55rem; }
  .afia-commerce-desktop { width: 76%; }
  .afia-commerce-notes { width: 22rem; }
}

@media (max-width: 960px) {
  .afia-hero-grid,
  .afia-section-heading,
  .afia-identity-grid,
  .afia-site-grid,
  .afia-delivery-grid,
  .afia-next-step-grid { grid-template-columns: 1fr; }
  .afia-hero-copy h1 { max-width: 14ch; }
  .afia-hero-stage { width: min(100%, 45rem); min-height: 40rem; margin-inline: auto; }
  .afia-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afia-scope article:nth-child(3),
  .afia-scope article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
  .afia-thread-path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .afia-thread-path::before { display: none; }
  .afia-thread-path article { padding-top: 4.8rem; }
  .afia-thread-path article:nth-child(3) { border-top: 1px solid rgba(255,255,255,.13); }
  .afia-brand-board,
  .afia-site-copy,
  .afia-delivery-intro { position: static; }
  .afia-brand-board { width: min(100%, 42rem); min-height: 0; margin-inline: auto; }
  .afia-identity-copy { max-width: 48rem; }
  .afia-site-grid { gap: 2.5rem; }
  .afia-site-copy { max-width: 48rem; }
  .afia-site-browser { width: 100%; margin-right: 0; padding-right: .75rem; border-right: 1px solid rgba(255,255,255,.16); border-radius: 2rem; }
  .afia-site-scroll { height: 42rem; }
  .afia-commerce-canvas { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1rem; }
  .afia-commerce-desktop { width: 100%; grid-row: 1 / 3; }
  .afia-commerce-scroll { height: 47rem; }
  .afia-commerce-phone,
  .afia-commerce-notes { position: static; width: 100%; transform: none; }
  .afia-commerce-phone { align-self: end; }
  .afia-commerce-notes { align-self: start; }
  .afia-phone-scroll { height: 30rem; }
  .afia-delivery-intro { max-width: 45rem; }
}

@media (max-width: 700px) {
  .afia-hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    background: linear-gradient(160deg, var(--afia-cream) 0 72%, #eadbd4 72% 100%);
  }
  .afia-hero-copy h1 { font-size: clamp(2.8rem, 12vw, 3.65rem); }
  .afia-hero-stage { min-height: 28rem; }
  .afia-stage-site { width: 62%; height: 76%; }
  .afia-stage-product { width: 53%; height: 58%; }
  .afia-stage-logo { width: 7.5rem; }
  .afia-scope-grid { grid-template-columns: 1fr; }
  .afia-scope article { min-height: 7.5rem; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .afia-section-heading h2,
  .afia-identity-copy h2,
  .afia-delivery h2,
  .afia-outcomes h2 { font-size: clamp(2.35rem, 10vw, 3rem); }
  .afia-site-copy h2,
  .afia-next-step h2 { font-size: clamp(2.2rem, 9.7vw, 2.85rem); }
  .afia-thread-path { grid-template-columns: 1fr; gap: 0; }
  .afia-thread-path article { padding: 5rem 0 2rem 1rem; border-top: 1px solid rgba(255,255,255,.13); border-right: 0; border-left: 1px solid rgba(255,255,255,.13); }
  .afia-thread-path article:last-child { border-right: 0; }
  .afia-thread-path article > span { left: 1rem; }
  .afia-identity-copy ul { grid-template-columns: 1fr; }
  .afia-identity-copy li:nth-child(odd) { border-right: 0; }
  .afia-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afia-site-scroll { height: 34rem; }
  .afia-browser-bar b { display: none; }
  .afia-commerce-canvas { grid-template-columns: 1fr; }
  .afia-commerce-desktop { grid-row: auto; }
  .afia-commerce-scroll { height: 32rem; }
  .afia-commerce-notes { grid-row: 1; }
  .afia-commerce-phone { width: min(100%, 20rem); margin-inline: auto; }
  .afia-phone-scroll { height: 33rem; }
  .afia-delivery-list p { grid-template-columns: 1fr; gap: .55rem; }
  .afia-outcome-grid { grid-template-columns: 1fr; }
  .afia-outcome-grid p { min-height: 0; padding: 2rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .afia-outcome-grid p:last-child { border-right: 0; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .afia-stage-orbit { animation: none; }
}
