@font-face {
  font-family: Inter;
  src: url("../01-assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fffff7;
  --white: #fff;
  --ink: #080d0e;
  --charcoal: #242424;
  --lime: #b8e943;
  --muted: #242424;
  --line: #ccccc6;
  --dark-line: #595d5e;
  --pale: #f8f8f1;
  --radius: 22px;
  --gutter: clamp(18px, 5.8vw, 88px);
  --space: clamp(64px, 10vw, 138px);
  --shadow: 4px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 104px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 16px/1.55 Inter, Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 4px; }
.dark :focus-visible { outline-color: var(--lime); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { letter-spacing: -.055em; line-height: 1.04; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5.3vw, 5.35rem); }
h2 { font-size: clamp(2rem, 4.3vw, 4.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 2.25rem); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1320px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 20; transform: translateY(-180%); background: var(--white); padding: 12px; }
.skip:focus { transform: none; }
.site-header { position: sticky; z-index: 10; top: 16px; margin: 16px auto 0; width: min(calc(100% - 36px), 1440px); min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px 9px 22px; border: 1px solid var(--ink); border-radius: 36px; background: var(--white); }
.site-header img { width: clamp(104px, 15vw, 180px); max-height: 44px; }
.site-header nav { display: flex; gap: clamp(12px, 2vw, 32px); }
.site-header nav a { text-decoration: none; font-weight: 550; }

@media (hover: hover){.site-header nav a:hover{ text-decoration: underline; }}
.button { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--ink); border-radius: 99px; background: var(--lime); color: var(--ink); padding: 4px 5px 4px 16px; min-height: 44px; width: fit-content; font-weight: 650; text-decoration: none; white-space: nowrap; transition: transform .22s, box-shadow .22s; }
.button i, .card-arrow { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-style: normal; flex: none; transition: transform .25s; }

@media (hover: hover){.button:hover{ transform: translate(-2px,-2px); box-shadow: var(--shadow); }}

@media (hover: hover){.button:hover i, .project:hover .card-arrow{ transform: rotate(12deg); }}
.hero { margin-top: -84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,1fr); min-height: clamp(570px, 58vw, 820px); }
.hero-copy { align-self: center; padding: 112px clamp(20px, 5vw, 86px) 55px 0; }
.tag { display: inline-block; width: fit-content; margin-bottom: 14px; font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--charcoal); }
.hero .tag { border: 1px solid var(--ink); border-radius: 99px; padding: 5px 11px; color: var(--ink); }
.hero-copy > p:not(.tag) { color: var(--muted); margin: 18px 0 26px; }
mark { display: inline-block; background: var(--lime); border-radius: 99px; padding: .015em .21em .08em; color: inherit; transform: rotate(-3deg); box-shadow: 2px 2px var(--ink); }
.hero-media { position: relative; min-width: 0; background: var(--charcoal); }
.hero-media > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.proof { position: absolute; background: var(--white); border: 1px solid var(--ink); box-shadow: var(--shadow); border-radius: 16px; padding: clamp(10px, 2vw, 24px); font-size: clamp(.75rem,1.5vw,1rem); line-height: 1.3; }
.proof strong { display: block; font-size: clamp(1.25rem, 3vw, 2.55rem); letter-spacing: -.06em; }
.proof span { display: block; color: var(--charcoal); margin-top: 9px; }
.proof-reviews { top: 19%; left: -12%; }
.proof-projects { left: -15%; bottom: 14%; padding: 10px 14px; }
.proof-projects strong { display: inline; font-size: 1.12rem; }
.proof-rating { bottom: 5%; right: 5%; text-align: center; }
.proof-rating strong { display: grid; place-items: center; border: 7px solid var(--lime); border-radius: 50%; aspect-ratio: 1; width: clamp(62px, 8vw, 112px); margin: 0 auto 8px; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track, .marquee-set { display: flex; width: max-content; }
.marquee-track { animation: marquee 34s linear infinite; }
.marquee:focus-within .marquee-track{ animation-play-state: paused; }
@media (hover: hover){.marquee:hover .marquee-track{ animation-play-state: paused; }}
.marquee-set span { display: grid; place-items: center; width: clamp(115px, 18vw, 240px); height: clamp(66px, 7vw, 96px); padding: 16px 24px; border-inline-end: 1px solid var(--line); }
.marquee-set img { width: 100%; height: 38px; object-fit: contain; filter: grayscale(1); }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { padding-block: var(--space); }
.dark { background: var(--ink); color: var(--white); }
.dark .tag { color: var(--lime); }
.section-head { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); align-items: end; gap: 24px 42px; margin-bottom: clamp(28px,5vw,58px); }
.section-head .button { margin-top: 14px; }
.section-head p:not(.tag) { max-width: 40ch; }
.services-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.service-card, .project { border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: box-shadow .25s, background .25s; }
.service-card { display: grid; align-content: start; gap: 14px; padding: clamp(14px, 2vw, 27px); }
.service-card h3 { font-size: clamp(1.12rem,1.7vw,1.6rem); }
.service-card p { font-size: .9rem; color: var(--muted); }
.service-card svg { width: 42px; height: 42px; color: var(--charcoal); }
.card-index { justify-self: end; font-size: .8rem; }

@media (hover: hover){.service-card:hover, .project:hover{ background: var(--pale); box-shadow: var(--shadow); }}
.metrics { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3,minmax(0,1fr)); gap: 12px; }
.metrics img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--radius); }
.metric { display: flex; min-height: 240px; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(16px,2vw,32px); border: 1px solid var(--dark-line); border-radius: var(--radius); }
.metric h3 { font-size: clamp(1.12rem,2vw,1.65rem); }
.metric strong { color: var(--lime); font-size: clamp(2rem,4.6vw,4.8rem); line-height: 1; letter-spacing: -.075em; }
.method { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 20px; align-items: start; }
.method-counter, .step { border: 1px solid var(--ink); border-radius: var(--radius); padding: clamp(22px,4vw,50px); }
.method-counter { position: sticky; top: 108px; background: var(--charcoal); color: var(--white); }
.method-counter .tag { color: var(--lime); }
.method-counter .button { margin-top: 18px; }
.step-count { font-size: clamp(2.2rem,8vw,7rem); font-weight: 750; line-height: 1; letter-spacing: -.075em; margin: 8px 0 20px; }
.step-count span { font-size: .4em; color: var(--lime); }
.method ol { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.step { min-height: 250px; display: grid; align-content: center; gap: 13px; background: var(--white); transition: background .3s; }
.step.is-active { background: var(--pale); }
.step > span, .step small { color: var(--charcoal); font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.project { display: block; overflow: hidden; padding: 16px; }
.project:nth-child(3) { grid-column: 1/-1; }
.project > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 14px; }
.project img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }
.project:nth-child(3) img { aspect-ratio: 2.25; }
.project p { margin-top: 12px; font-size: .9rem; }
.carousel { min-width: 0; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 4px 3px 14px; }
.track > * { flex: 0 0 calc(100% - 3px); min-width: 0; scroll-snap-align: start; }
.carousel-controls { display: flex; justify-content: end; gap: 8px; margin-top: 12px; }
.carousel-controls button, .menu-toggle { min-width: 44px; min-height: 44px; border: 1px solid var(--ink); border-radius: 999px; background: var(--lime); color: var(--ink); }
.carousel-controls button:disabled { opacity: .5; cursor: default; }
.case-card, .journal-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.case-card img, .journal-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.case-card > div, .journal-card > div { align-content: center; padding: clamp(22px,4vw,54px); }
.case-card p:not(.tag), .journal-card p:not(.tag) { margin: 14px 0 18px; }
.journal-card { background: var(--white); }
.review { flex-basis: min(76%,370px); min-height: 236px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: 3px 3px var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.quote-mark { font-size: 3.1rem; line-height: .7; font-weight: 800; color: var(--charcoal); }
.review blockquote { margin: 0; }
.review figcaption { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; }
#journal { padding-top: 0; }
.callout { padding-bottom: 0; text-align: center; background: var(--charcoal); }
.callout h2 { max-width: 16ch; margin: 0 auto 28px; }
.callout .marquee { background: var(--paper); margin-top: clamp(42px,7vw,92px); }
.faq-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 24px; align-items: start; }
.faq-person { overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.faq-person img { width: 100%; height: clamp(220px,32vw,350px); object-fit: cover; object-position: center 30%; }
.faq-person div { padding: 20px; }
.faq-person .button { margin-top: 14px; }
details { border: 1px solid var(--ink); border-radius: 15px; background: var(--white); margin-bottom: 10px; padding: 0 15px; }
summary { cursor: pointer; min-height: 62px; display: flex; align-items: center; gap: 13px; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; margin-left: auto; font-size: 1.45rem; }
details[open] summary::after { content: '−'; }
summary span { color: var(--charcoal); }
details p { margin: 0 0 16px 36px; }
footer.section { padding-bottom: 24px; }
.footer-top { display: grid; grid-template-columns: minmax(0,2fr) repeat(2,minmax(0,1fr)); gap: 28px; }
.footer-top nav, .socials { display: grid; gap: 9px; align-content: start; }
.footer-top h2 { margin-bottom: 20px; }
.footer-logo { width: 100%; max-height: 300px; object-fit: contain; margin: 60px 0 24px; filter: brightness(0) invert(1); }
.legal { border-top: 1px solid var(--dark-line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: .85rem; }
.legal span { margin-right: auto; }
.reveal.is-visible { animation: rise .65s both; }
.hero-copy { animation: rise .65s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 1050px) { .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 800px) {
  .site-header { flex-wrap: wrap; min-height: 60px; }
  .site-header > .button { display: none; }
  .site-header nav { flex: 1 0 100%; flex-wrap: wrap; }
  .site-header.is-enhanced nav { display: none; }
  .site-header.is-enhanced .menu-toggle { display: inline-block; padding-inline: 12px; }
  .site-header.is-enhanced nav.is-open { display: flex; padding: 6px 0; }
  .site-header nav a { padding-block: 7px; }
  .hero { margin-top: 0; }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-copy { padding: 28px 0 38px; max-width: 520px; }
  .hero-media { min-height: clamp(340px,70vw,480px); margin-bottom: 24px; border-radius: 14px; }
  .hero-media > img { border-radius: inherit; }
  .proof-reviews { top: 5%; left: 5%; }
  .proof-projects { left: 4%; bottom: 7%; }
  .proof-rating { right: 5%; bottom: 18%; }
  .section-head, .faq-grid { grid-template-columns: minmax(0,1fr); }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metrics img, .metric { min-height: 160px; }
  .method { grid-template-columns: minmax(0,1fr); }
  .method-counter { position: static; }
  .step { min-height: 180px; }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid, .case-card, .journal-card { grid-template-columns: minmax(0,1fr); }
  .project:nth-child(3) img { aspect-ratio: 16/10; }
  .case-card img, .journal-card img { min-height: 0; aspect-ratio: 16/10; }
  .journal-card img { grid-row: 1; }
  .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-top > div:first-child { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; }
  .marquee-set[aria-hidden] { display: none; }
}

.track { position: relative; scroll-padding-inline-start: 3px; }
.motion-toggle { padding-inline: 14px; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-toggle { display: block; margin: 8px var(--gutter) 12px auto; min-height: 44px; background: transparent; border: 1px solid currentColor; border-radius: 99px; }
.callout { display: flow-root; }
@media (min-width: 801px) { .menu-toggle { display: none; } }
.marquee-set img { height: 52px; }
.hero-media > img { object-position: 52% center; }
/* Reference alignment for the light homepage and imported Home A sections. */
:root { --heading-1: 60px; --heading-2: 46px; --heading-3: 28px; }
h1 { font-size: var(--heading-1); }
h2 { font-size: var(--heading-2); }
h3 { font-size: var(--heading-3); }
.site-header { width: min(calc(100% - var(--gutter) * 2), 1320px); }
.hero-gallery { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; isolation: isolate; }
.hero-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.marquee-set span { padding-inline: 14px; }
.marquee-set img { width: clamp(96px, 11vw, 165px); height: 58px; max-width: none; }
.marquee-set img[src$="Discovery-Health.webp"],
.marquee-set img[src$="Unileaver-BW.webp"],
.marquee-set img[src$="DT-BW.webp"] { transform: scale(1.35); }
.services-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.service-card { min-height: 325px; grid-template-rows: auto auto auto 1fr auto; align-content: stretch; border-radius: 14px; padding: clamp(17px, 2vw, 25px); }
.service-card h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
.service-card p { font-size: 1rem; }

@media (hover: hover){.service-card:hover{ background: var(--white); box-shadow: none; }}
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--ink); border-radius: 14px; box-shadow: 2px 3px var(--ink); }
.service-action { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .85rem; font-weight: 650; }
.service-action > span:first-child { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .28s, opacity .25s; }
.service-action .card-arrow { width: 40px; height: 40px; transition: background .25s, color .25s; }
.service-card:focus-visible .service-action > span:first-child{ max-width: 100px; opacity: 1; }
@media (hover: hover){.service-card:is(:hover,:focus-visible) .service-action > span:first-child{ max-width: 100px; opacity: 1; }}
.service-card:focus-visible .card-arrow{ background: var(--lime); color: var(--ink); }
@media (hover: hover){.service-card:is(:hover,:focus-visible) .card-arrow{ background: var(--lime); color: var(--ink); }}
#why { background: var(--paper); color: var(--ink); }
#why .tag { color: var(--charcoal); }
#why .section-head { display: block; }
#why .section-head h2 { text-transform: uppercase; }
#why .section-head p:not(.tag) { margin-top: 16px; max-width: 58ch; }
.metrics { grid-template-columns: minmax(0,.9fr) minmax(0,2fr); gap: 14px; }
.metrics-image { min-height: 100%; position: relative; overflow: hidden; border-radius: 14px; background: var(--pale); }
.metrics-image img { position: absolute; inset: 0; min-height: 0; object-position: 50% 25%; }
.metrics-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.metric { border: 1px solid var(--ink); border-radius: 14px; min-height: 205px; background: var(--white); padding: clamp(15px, 2.3vw, 30px); }
.metric p { color: var(--muted); margin-top: 8px; }
.metric strong { color: var(--charcoal); }
.metric-wide { grid-column: 1/-1; flex-direction: row; align-items: end; min-height: 160px; }
.method { column-gap: clamp(30px, 5.5vw, 76px); }
.method ol { position: relative; }
.method ol::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(clamp(30px, 5.5vw, 76px) / -2); width: 2px; border-radius: 99px; background: var(--charcoal); }
.project { background: var(--ink); border-radius: 14px; padding: 2px; }

@media (hover: hover){.project:hover{ background: var(--ink); box-shadow: none; }}
.project > .project-header { min-height: 60px; padding: 8px 14px; background: var(--paper); border-radius: 12px; }
.project-header h3 { font-size: clamp(1.15rem, 2.1vw, 1.55rem); }
.project > .project-media { position: relative; display: block; overflow: hidden; padding: 0; border-radius: 12px; margin-top: 2px; }
.project-media img { transition: transform .45s cubic-bezier(.2,.7,.25,1); }
.project:focus-visible .project-media img{ transform: scale(1.07); }
@media (hover: hover){.project:is(:hover,:focus-visible) .project-media img{ transform: scale(1.07); }}
.project-tags { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.project-tags li { padding: 4px 9px; font-size: .75rem; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 99px; }
.callout { background: var(--paper); text-align: left; }
.callout-panel { padding: clamp(24px, 6vw, 80px); border-radius: 28px; overflow: hidden; }
.callout-copy { max-width: 780px; margin-inline: auto; text-align: center; }
.callout h2 { max-width: 21ch; margin: 0 auto 16px; text-transform: uppercase; }
.callout-copy > p:not(.tag) { max-width: 49ch; margin-inline: auto; }
.callout-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button-secondary { background: var(--paper); }
.callout .marquee { background: transparent; border: 0; margin-top: clamp(34px, 6vw, 80px); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.callout .marquee-set { align-items: center; gap: 30px; padding-right: 30px; }
.callout .marquee-set span { width: 108px; height: 40px; padding: 0; border: 0; }
.callout .marquee-set img { width: 108px; height: 36px; filter: grayscale(1) brightness(0) invert(1); }
.footer-logo { width: min(75%, 820px); max-height: 220px; margin-inline: auto; }
@media (max-width: 991px) {
  :root { --heading-1: 52px; --heading-2: 40px; --heading-3: 26px; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {

  .metrics { grid-template-columns: minmax(0,1fr); }
  .metrics-image { min-height: clamp(200px,54vw,370px); }
  .method ol::before { display: none; }
}
@media (max-width: 767px) {
  :root { --heading-1: 44px; --heading-2: 34px; --heading-3: 24px; }
}
@media (max-width: 479px) {
  :root { --heading-1: 36px; --heading-2: 30px; --heading-3: 22px; }
  .service-card { min-height: 260px; gap: 10px; }
  .service-card p { font-size: .875rem; }
  .metric { min-height: 175px; }
  .metric-wide { min-height: 138px; }
}
@media (prefers-reduced-motion: reduce) {

  .callout .marquee { mask-image: none; }
}
/* Everglow typography, surface contrast and component proportions. */
:root { --white: #fff; --black: #000; --case-surface: #171b1c; }
body { color: var(--charcoal); line-height: 1.5; }
h1, h2, h3 { color: var(--black); }
h1 { line-height: 1.06; letter-spacing: -.043em; }
h2 { font-weight: 600; line-height: 1.1; letter-spacing: -1px; }
h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.dark :is(h2,h3) { color: var(--white); }
.section-head { gap: 24px 64px; }
.section-head .tag, .callout-copy > .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; line-height: 1; font-weight: 500; letter-spacing: normal; margin-bottom: 16px; }
.section-head .tag::before, .callout-copy > .tag::before { content: ''; width: 24px; height: 24px; flex: 0 0 24px; background: center / contain no-repeat url('../01-assets/icons/reference-section-dark.webp'); }
.dark .section-head .tag::before, .callout-copy > .tag::before { background-image: url('../01-assets/icons/reference-section-lime.webp'); }
.section-head > div:nth-child(2) { display: grid; justify-items: start; gap: 20px; }
.section-head .button { margin-top: 0; }
#services .section-head h2, #work .section-head h2 { max-width: 20ch; }
#services, #work { background: var(--paper); }
#methodology { background: var(--white); }
#why { background: var(--pale); }
#testimonials, #journal, #faq { background: var(--paper); }
.service-card{ background: transparent; border-radius: 12px; }
@media (hover: hover){.service-card:hover{ background: transparent; border-radius: 12px; }}
.service-icon { border-radius: 12px; }
.project-tags li { border-radius: 4px; padding: 6px 10px; border: 0; font-size: .8125rem; line-height: 1; text-transform: uppercase; }
.method-counter { background: var(--ink); }
.method ol::before { background: var(--lime); }
.metric { background: transparent; }
.metric strong { color: var(--ink); }
.hero-gallery img:first-child { object-position: 55% 50%; }
.marquee-track { animation-duration: 52s; }
.marquee-set span { overflow: hidden; }
.marquee-set img { width: clamp(108px, 12vw, 182px); height: 66px; transform: scale(1.18); }
.marquee-set img[src$="Discovery-Health.webp"], .marquee-set img[src$="Unileaver-BW.webp"], .marquee-set img[src$="DT-BW.webp"] { transform: scale(1.55); }
.callout .marquee-set img { height: 40px; }
#case-studies .section-head, #testimonials .section-head { grid-template-columns: minmax(0,1fr); text-align: center; justify-items: center; }
#case-studies .section-head > div:nth-child(2) { justify-items: center; }
#case-studies-track { gap: 24px; }
#case-studies-track > .case-card { flex-basis: min(84%, 865px); grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 20px; padding: 12px; background: var(--case-surface); border-radius: 20px; }
.case-card > .case-media { align-content: initial; padding: 0; position: relative; border-radius: 14px; overflow: hidden; }
.case-media :is(img,video) { display: block; width: 100%; height: clamp(195px, 25vw, 280px); min-height: 0; object-fit: cover; }
.case-card > .case-content { padding: 12px 12px 12px 0; }
.case-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.case-motion-toggle { position: absolute; bottom: 8px; right: 8px; min-height: 44px; border-radius: 99px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: .75rem; }
.testimonial-reel { display: grid; gap: 20px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.review-row { overflow: hidden; }
.review-belt, .review-set { display: flex; width: max-content; }
.review-set { gap: 20px; padding: 4px 20px 7px 0; }
.review-belt { animation: marquee 46s linear infinite; }
.review-row:nth-child(2) .review-belt { animation-direction: reverse; animation-duration: 41s; }
.testimonial-reel:focus-within .review-belt, .testimonial-reel.is-paused .review-belt{ animation-play-state: paused; }
@media (hover: hover){.testimonial-reel:hover .review-belt{ animation-play-state: paused; }}
.testimonial-reel .review { flex: 0 0 clamp(246px, 34vw, 383px); border-radius: 12px; padding: 24px; min-height: 226px; background: var(--paper); box-shadow: 2px 3px var(--ink); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-stars { letter-spacing: .13em; color: var(--ink); }
.review-top .quote-mark { color: var(--ink); }
.review-controls { display: flex; justify-content: center; padding: 15px var(--gutter) 0; }
.review-controls button { min-height: 44px; border-radius: 99px; border: 1px solid var(--ink); background: var(--paper); }
@media (max-width: 800px) {
  #case-studies-track > .case-card { grid-template-columns: minmax(0,1fr); align-items: start; }
  .case-card > .case-content { padding: 4px 8px 12px; }
}
@media (max-width: 520px) {
  #case-studies-track > .case-card { flex-basis: 92%; }
  .case-media :is(img,video) { height: 170px; aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-reel { mask-image: none; }
  .review-row { overflow-x: auto; }
  .review-set[aria-hidden] { display: none; }
}
/* Shared heading and button details, then the selected section variants. */
.section-head .tag::before, .dark .section-head .tag::before, .callout-copy > .tag::before {
  content: "↑";
  background: none;
  display: grid;
  place-items: center;
  transform: rotate(5deg);
  font-size: 24px;
  font-weight: 700;
}
.section .button, footer .button { border-radius: 10px; }
.section .button i, footer .button i { border-radius: 8px; }
#why .section-head, #methodology .section-head { grid-template-columns: minmax(0,1fr); text-align: center; justify-items: center; }
#why .section-head > div:nth-child(2) { justify-items: center; }
#why .section-head h2, #methodology .section-head h2 { max-width: 24ch; margin-inline: auto; }
#why .section-head p:not(.tag) { margin-inline: auto; }
#why .section-head p.tag { margin-bottom: 16px; }
#services .services-grid { gap: clamp(14px,1.9vw,24px); }
.service-card { min-height: 360px; gap: 20px; transition: background .24s, box-shadow .24s, translate .24s; }
.service-card .card-index { justify-self: start; }
.service-card .service-icon { box-shadow: none; border-color: var(--line); transition: background .24s; }
.service-card:focus-visible{ background: var(--white); box-shadow: 5px 5px var(--black); translate: 0 -2px; }
@media (hover: hover){.service-card:is(:hover,:focus-visible){ background: var(--white); box-shadow: 5px 5px var(--black); translate: 0 -2px; }}
.service-card:focus-visible .service-icon{ background: var(--lime); }
@media (hover: hover){.service-card:is(:hover,:focus-visible) .service-icon{ background: var(--lime); }}
.service-action { position: relative; color: var(--black); }
.service-action > span:first-child { max-width: none; opacity: 0; transition: opacity .24s; }
.service-action .card-arrow { position: absolute; left: 0; color: var(--white); background: var(--black); font-size: 21px; transition: left .3s cubic-bezier(.2,.65,.25,1), background .24s, color .24s; }
.service-card:focus-visible .service-action .card-arrow{ left: calc(100% - 40px); }
@media (hover: hover){.service-card:is(:hover,:focus-visible) .service-action .card-arrow{ left: calc(100% - 40px); }}
.method ol::before { background: var(--line); }
.method ol::after { content: ""; position: absolute; inset-block: 0; left: calc(clamp(30px, 5.5vw, 76px) / -2); width: 2px; background: var(--lime); border-radius: 99px; transform: scaleY(var(--step-progress,0)); transform-origin: top; }
.metric-plus { color: var(--lime); -webkit-text-stroke: 1px var(--ink); }
.review-stars { color: #906000; }
.callout .marquee-set { gap: 24px; padding-right: 24px; }
.callout .marquee-set span { width: 126px; height: 54px; background: var(--pale); border-radius: 7px; }
.callout .marquee-set img { width: 106px; height: 43px; filter: grayscale(1); }
.callout .marquee-set img[src] { transform: none; }
#case-studies-track > .case-card { flex-basis: min(92%, 1060px); grid-template-columns: minmax(0, .52fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.case-media :is(img,video) { height: 100%; min-height: 300px; }
.case-card > .case-content { padding: 0 12px 8px 0; align-content: start; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding-block: 12px; border-bottom: 1px solid var(--dark-line); }
.case-top .tag { margin: 0; flex: none; }
.case-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(105px,.42fr); gap: clamp(14px,2.6vw,32px); padding-top: 20px; }
.case-story h4 { color: var(--white); margin: 0; font-size: clamp(1.2rem,2.2vw,1.75rem); line-height: 1.18; letter-spacing: -.025em; }
.case-story > p, .case-client p { color: var(--line); }
.case-card .case-client p { margin: 4px 0 0; }
.case-client { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; border-left: 1px solid var(--dark-line); padding-left: clamp(12px,2vw,24px); }
.case-logo { display: grid; place-items: center; width: min(100%,80px); aspect-ratio: 1; padding: 9px; border-radius: 8px; background: var(--paper); }
.case-logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.case-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; border-top: 1px solid var(--dark-line); margin: 18px 0; padding-top: 15px; }
.case-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.case-stats dt { color: var(--line); font-size: .875rem; }
.case-stats dd { margin: 0; font-size: clamp(1.15rem,2vw,1.45rem); font-weight: 700; }
.case-card .case-link { display: grid; place-items: center; width: 100%; padding: 10px; border: 0; border-radius: 8px; min-height: 50px; text-align: center; }
#case-studies .carousel-controls { justify-content: center; margin-top: 24px; }
#case-studies .carousel-controls button { background: transparent; color: var(--white); border-color: var(--dark-line); }
@media (max-width: 800px) {
  .method ol::after { display: none; }
  #case-studies-track > .case-card { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .case-media :is(img,video) { height: clamp(180px,45vw,280px); min-height: 0; }
  .case-card > .case-content { padding: 0 8px 8px; }
}
@media (max-width: 520px) {
  .service-card { min-height: 280px; gap: 10px; }
  .service-action { font-size: .72rem; }
  .service-action .card-arrow { width: 32px; height: 32px; }
.service-card:focus-visible .service-action .card-arrow{ left: calc(100% - 32px); }
@media (hover: hover){.service-card:is(:hover,:focus-visible) .service-action .card-arrow{ left: calc(100% - 32px); }}
  .case-detail { grid-template-columns: minmax(0,1fr); }
  .case-client { flex-direction: row; align-items: center; justify-content: start; border-left: 0; border-top: 1px solid var(--dark-line); padding: 12px 0 0; }
  .case-logo { width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .method ol::after { transform: none; }
.service-card:focus-visible{ translate: none; }
@media (hover: hover){.service-card:is(:hover,:focus-visible){ translate: none; }}
}
.section-head .tag::before, .dark .section-head .tag::before, .callout-copy > .tag::before {
  content: "";
  background: currentColor;
  clip-path: polygon(58% 4%, 100% 40%, 73% 40%, 64% 96%, 37% 96%, 46% 40%, 12% 40%);
  transform: none;
}
.metric-plus { -webkit-text-stroke: 0; }
.hero-gallery :is(img,video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* The incoming slide fades in on top while the outgoing one stays opaque underneath, so a white
     flash at the end of one clip dissolves straight into the next with no dark dip. */
  transition: opacity .65s ease .65s;
}
.hero-gallery .is-current { opacity: 1; z-index: 1; transition-delay: 0s; }
.project-media .project-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
  opacity: 0;
  transition: opacity .35s;
}
.project:focus-visible .project-preview{ opacity: 1; }
@media (hover: hover){.project:is(:hover,:focus-visible) .project-preview{ opacity: 1; }}
@media (hover: none) { .project-media .project-preview { opacity: 1; } }
#case-studies-track, .review-row { scrollbar-width: none; }
#case-studies-track::-webkit-scrollbar, .review-row::-webkit-scrollbar { display: none; }
#case-studies-track { padding-bottom: 4px; }
#case-studies-track > .case-card { flex-basis: min(100%, 1060px); }
#case-studies .carousel-controls { margin-top: clamp(24px, 5vw, 60px); }
#case-studies .carousel-controls button { width: 48px; height: 48px; display: grid; place-items: center; }
#case-studies .carousel-controls button:not(:disabled):focus-visible{ border-color: var(--lime); color: var(--lime); }
@media (hover: hover){#case-studies .carousel-controls button:not(:disabled):is(:hover,:focus-visible){ border-color: var(--lime); color: var(--lime); }}
.review figcaption { display: grid; gap: 2px; }
.review figcaption span { font-size: .875rem; color: var(--muted); font-weight: 400; }
.testimonial-reel .review { min-height: 246px; }
.review-row:focus { overflow-x: auto; }
.review-row:focus .review-belt { animation: none; }
.review-row:focus .review-set[aria-hidden] { display: none; }
.callout .marquee-set span { width: 126px; height: 46px; background: transparent; border-radius: 0; padding: 0; }
.callout .marquee-set img { width: 122px; height: 45px; filter: grayscale(1) invert(1) brightness(1.7); mix-blend-mode: screen; }
.callout .marquee-set img[src] { transform: scale(1.7); }
.footer-links, .footer-contact { display: grid; align-content: start; justify-items: start; gap: 10px; }
.footer-links h3, .footer-contact h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 4px; }
.footer-links a, .footer-contact a, .legal a {
  text-decoration: none;
  background-image: linear-gradient(var(--lime),var(--lime));
  background-position: left bottom;
  background-size: 0 1px;
  background-repeat: no-repeat;
  transition: background-size .25s ease, color .25s ease, text-shadow .25s ease;
  overflow-wrap: anywhere;
}
.footer-links a:focus-visible, .footer-contact a:focus-visible, .legal a:focus-visible{
  color: var(--lime);
  background-size: 100% 1px;
  text-shadow: 0 0 12px color-mix(in srgb,var(--lime) 50%,transparent);
}
@media (hover: hover){.footer-links a:is(:hover,:focus-visible), .footer-contact a:is(:hover,:focus-visible), .legal a:is(:hover,:focus-visible){
  color: var(--lime);
  background-size: 100% 1px;
  text-shadow: 0 0 12px color-mix(in srgb,var(--lime) 50%,transparent);
}}
.footer-wordmark { margin: clamp(36px,6vw,86px) 0 24px; }
.footer-wordmark .footer-logo { width: 100%; height: auto; max-height: none; margin: 0; }
.footer-progress { position: relative; overflow: hidden; height: 2px; margin-top: clamp(14px,2vw,24px); background: var(--dark-line); }
.footer-progress::after { content: ""; position: absolute; top: 0; left: 0; width: 28%; height: 100%; background: linear-gradient(90deg,transparent,var(--lime),transparent); animation: footer-progress 4.5s linear infinite; }
@keyframes footer-progress { from { transform: translateX(-100%); } to { transform: translateX(358%); } }
@media (min-width: 992px) {
  #case-studies-track > .case-card { min-height: 450px; grid-template-columns: minmax(0, .52fr) minmax(0,1fr); }
  .case-card > .case-media { min-height: 0; }
  .case-media :is(img,video) { position: absolute; inset: 0; height: 100%; min-height: 0; }
}
@media (max-width: 991px) {
  #case-studies-track > .case-card { flex-basis: 84%; grid-template-columns: minmax(0,1fr); gap: 14px; }
  .case-media :is(img,video) { height: clamp(170px,42vw,280px); min-height: 0; }
  .case-card > .case-content { padding: 0 8px 8px; }
}
@media (max-width: 520px) {
  #case-studies-track > .case-card { flex-basis: 92%; }
  .footer-top { column-gap: 18px; }
}
@media (min-width: 801px) and (min-height: 560px) {
  .method ol { isolation: isolate; }
  .method .step { position: sticky; top: calc(max(96px,12vh) + var(--stack-offset, 0px)); z-index: var(--stack-layer, 1); min-height: clamp(280px,46vh,376px); }
  .method .step:nth-child(2) { --stack-offset: 20px; --stack-layer: 2; }
  .method .step:nth-child(3) { --stack-offset: 40px; --stack-layer: 3; }
  .method .step:nth-child(4) { --stack-offset: 60px; --stack-layer: 4; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-gallery video, .project-media .project-preview { display: none; }
  .footer-progress::after { width: 100%; background: var(--lime); }
}
/* The section mark traces the arrow cutout in the LMP master SVG. */
.section-head .tag::before, .dark .section-head .tag::before, .callout-copy > .tag::before {
  clip-path: none;
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='40 18 53 80'%3E%3Cpath d='M69.71 21.60 89.16 44.72H73.53L65.55 95.02H50.43L58.31 44.78H43.85L43.63 44.15Z'/%3E%3C/svg%3E");
}
.button-roll { display: inline-flex; }
.button-roll-letter { display: inline-block; height: 1.4em; line-height: 1.4; overflow: hidden; }
.button-roll-letter > span { display: flex; flex-direction: column; transition: transform .36s cubic-bezier(.22,.68,.32,1); transition-delay: var(--letter-delay); }
.button-roll-letter > span > span { display: block; }
.button:focus-visible .button-roll-letter > span{ transform: translateY(-50%); }
@media (hover: hover){.button:is(:hover,:focus-visible) .button-roll-letter > span{ transform: translateY(-50%); }}
.case-card .case-story .case-scenario { font-size: .8rem; line-height: 1.4; margin: -5px 0 12px; }
.review-row, .review-row:focus, .testimonial-reel { scrollbar-width: none; }
.testimonial-reel::-webkit-scrollbar, .review-row::-webkit-scrollbar { display: none; }
.review-stars { letter-spacing: .025em; font-size: .95rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption > div { display: grid; gap: 2px; }
.review figcaption .review-avatar { flex: 0 0 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: var(--charcoal); background: #e9e9df; }
.review-avatar-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4.15vw, 60px); align-items: stretch; }
.faq-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.faq-intro .section-head { display: block; margin: 0; }
.faq-intro h2 { max-width: 15ch; text-wrap: balance; }
.faq-intro .faq-lead { max-width: 48ch; margin-top: 16px; color: var(--muted); }
.faq-person { display: grid; grid-template-columns: minmax(84px, 35%) minmax(0, 1fr); align-items: center; gap: 16px; padding: 8px; background: var(--ink); border: 0; border-radius: 16px; }
.faq-person img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; object-position: center 34%; }
.faq-person div { padding: 8px 8px 8px 0; }
.faq-person h3 { font-size: clamp(1rem, 1.6vw, 1.2rem); }
.faq-person p { margin-top: 4px; }
.faq-person .button { margin-top: 14px; }
#faq details { margin-bottom: 12px; padding: 0 clamp(12px, 2vw, 24px); border-radius: 12px; background: transparent; }
#faq details:last-child { margin-bottom: 0; }
#faq summary { min-height: 74px; gap: clamp(12px, 2vw, 28px); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.35; font-weight: 500; padding-block: 12px; }
#faq summary::after { font-weight: 400; }
#faq details p { margin: 0; padding: 16px 0 22px; border-top: 1px dashed var(--ink); }
.footer-wordmark .footer-logo { width: min(78%, 920px); margin-inline: auto; }
.legal { position: relative; overflow: hidden; align-items: center; border-top: 0; background: linear-gradient(var(--dark-line),var(--dark-line)) top / 100% 1px no-repeat; }
.legal::before { content: ""; position: absolute; top: 0; left: 0; width: 28%; height: 1px; background: linear-gradient(90deg,transparent,var(--lime),transparent); animation: footer-progress 4.5s linear infinite; pointer-events: none; }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 7px; }
.footer-socials a:focus-visible{ background-color: var(--case-surface); }
@media (hover: hover){.footer-socials a:is(:hover,:focus-visible){ background-color: var(--case-surface); }}
.footer-socials img { width: 19px; height: 19px; filter: brightness(0) invert(1); }
.footer-socials a:focus-visible img{ filter: brightness(0) saturate(100%) invert(88%) sepia(36%) saturate(830%) hue-rotate(21deg); }
@media (hover: hover){.footer-socials a:is(:hover,:focus-visible) img{ filter: brightness(0) saturate(100%) invert(88%) sepia(36%) saturate(830%) hue-rotate(21deg); }}
@media (max-width: 800px) {
  .faq-grid { grid-template-columns: minmax(0,1fr); }
  .faq-person { max-width: 440px; }
  .faq-intro { gap: 22px; }
}
@media (max-width: 390px) {
  .faq-person { gap: 12px; }
  .faq-person div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
.button:focus-visible .button-roll-letter > span{ transform: none; }
@media (hover: hover){.button:is(:hover,:focus-visible) .button-roll-letter > span{ transform: none; }}
  .legal::before { width: 100%; background: var(--lime); }
}
.case-story:has(.case-scenario) > p:not(.case-scenario) { margin: 8px 0 10px; }
.case-story:has(.case-scenario) .case-stats { margin-block: 10px; }

.project[href$="/select-dog-food"] .project-media img { object-position: center 32%; }
.project[href$="/minnie-dlamini"] .project-media img { object-position: center 23%; }

.minnie-loop-card > a.project-header { display:flex; justify-content:space-between; align-items:center; gap:12px; color:inherit; text-decoration:none; }
.minnie-loop-card > .loop-controls { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:0; margin:0; color:var(--white); }
.minnie-loop-card > .loop-controls:has(.loop-trigger:not([hidden])), .minnie-loop-card > .loop-controls:has(.loop-status:not(:empty)) { padding:10px 14px; }
.loop-trigger { min-height:44px; border:1px solid var(--ink); border-radius:8px; background:var(--lime); color:var(--ink); padding:7px 12px; }
.minnie-loop-card .loop-status { margin:0; font-size:.875rem; }
.minnie-loop-card > .loop-player { display:block; padding:0; margin:2px 0 0; overflow:hidden; aspect-ratio:16/9; min-height:200px; }
.loop-player iframe { display:block; width:100%; height:100%; min-height:200px; border:0; }

/* Home A and Home B phone layouts. */
.site-header .menu-toggle { padding: 0; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle svg, .button i svg, .card-arrow svg { display: block; flex: none; }
.hero .hero-trust { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; }
.hero-trust svg { padding: 4px; width: 23px; height: 23px; border-radius: 50%; background: var(--lime); color: var(--black); }
.hero-copy h1 { text-wrap: balance; }
.service-copy { display: contents; }
.marquee-set span { align-items: center; justify-items: center; }
.marquee-set span img { align-self: center; justify-self: center; object-position: center; }
.metrics-image img { object-position: center 10%; }
.mobile-review-hint { display: none; }
@media (min-width: 801px) {
  .hero-copy { text-align: center; padding-inline: clamp(18px, 4vw, 64px); }
  .hero-copy > p:not(.tag) { max-width: 45ch; margin-inline: auto; }
}
@media (max-width: 800px) {
  .site-header.is-enhanced .menu-toggle { display: inline-flex; padding: 0; }
  .hero .hero-trust { padding: 3px 9px 3px 4px; border: 1px solid var(--ink); }
  .hero-copy h1 { text-wrap: initial; }
  .marquee-set span { width: clamp(104px, 31vw, 144px); height: 78px; padding: 8px 10px; }
  .marquee-set img { width: 96px; height: 48px; }
  .metrics-image img { object-position: center 4%; }
  .method { row-gap: 28px; }
  .method .step { border-radius: 12px; padding: 24px 20px; min-height: 220px; }
}
@media (max-width: 600px) {
  #services .services-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .service-card { display: grid; grid-template-columns: 60px minmax(0,1fr); grid-template-rows: auto auto auto; gap: 16px; align-items: start; min-height: 0; border-radius: 10px; padding: 20px; }
  .service-card .card-index, .service-card .service-action { grid-column: 1/-1; }
  .service-card .service-icon { width: 60px; height: 60px; border-radius: 10px; }
  .service-copy { display: grid; gap: 8px; }
  .service-card h3 { font-size: 1.18rem; }
  .service-card p { font-size: .94rem; }
  .service-action .card-arrow { width: 40px; height: 40px; }
.service-card:focus-visible .service-action .card-arrow{ left: calc(100% - 40px); }
@media (hover: hover){.service-card:is(:hover,:focus-visible) .service-action .card-arrow{ left: calc(100% - 40px); }}
  .project > .project-header { min-height: 52px; }
  .project > .project-header .card-arrow { width: 32px; height: 32px; }
  #case-studies-track { gap: 24px; }
  #case-studies-track > .case-card { flex-basis: 88%; gap: 14px; padding: 12px; border-radius: 16px; }
  .case-card > .case-media { border-radius: 12px; }
  .case-media :is(img,video) { height: auto; aspect-ratio: 16/9; }
  .case-card > .case-content { padding: 0 4px 5px; }
  .case-top { min-height: 0; padding: 7px 0 10px; }
  .case-top h3 { font-size: 1.12rem; }
  .case-top .tag { font-size: .68rem; }
  .case-detail { padding-top: 13px; gap: 12px; grid-template-columns: minmax(0,1fr); }
  .case-story h4 { font-size: 1.12rem; }
  .case-card .case-story > p:not(.case-scenario) { font-size: .875rem; margin: 8px 0 10px; }
  .case-stats { padding-top: 9px; margin-block: 10px; }
  .case-stats dt { font-size: .75rem; }
  .case-stats dd { font-size: 1rem; }
  .case-card .case-link { min-height: 44px; white-space: normal; font-size: .875rem; }
  .case-client { flex-direction: row; align-items: center; justify-content: start; border-left: 0; border-top: 1px solid var(--dark-line); padding: 10px 0 0; gap: 10px; font-size: .875rem; }
  .case-logo { width: 40px; }
  .mobile-review-hint { display: block; margin: 0 0 10px; color: var(--muted); font-size: .875rem; }
  .testimonial-reel { display: flex; gap: 14px; padding: 4px 4px 10px; overflow-x: auto; scroll-snap-type: x mandatory; mask-image: none; scrollbar-width: none; }
  .testimonial-reel .review-row, .testimonial-reel .review-belt, .testimonial-reel .review-set { display: contents; animation: none; }
  .testimonial-reel .review-set[aria-hidden] { display: none; }
  .testimonial-reel .review { flex: 0 0 min(89%, 383px); min-height: 210px; scroll-snap-align: start; padding: 18px; }
  .testimonial-reel .review figcaption span { overflow-wrap: anywhere; }
  .callout-panel { padding: 40px 16px; border-radius: 16px; }
}
@media (max-width: 800px) and (min-height: 500px) and (prefers-reduced-motion: no-preference) {
  .method ol { isolation: isolate; }
  .method .step { position: sticky; top: calc(96px + var(--phone-stack, 0px)); z-index: var(--phone-layer, 1); min-height: min(280px,42vh); }
  .method .step:nth-child(2) { --phone-stack: 12px; --phone-layer: 2; }
  .method .step:nth-child(3) { --phone-stack: 24px; --phone-layer: 3; }
  .method .step:nth-child(4) { --phone-stack: 36px; --phone-layer: 4; }
}
.service-action .card-arrow svg { width: 20px; height: 20px; color: inherit; }

footer .footer-contact{min-width:0}footer .footer-contact a{overflow-wrap:anywhere}

/* Keep a still hero and ordinary reading flow whenever reduced motion is requested. */
@media (prefers-reduced-motion: reduce) { .hero-gallery > :is(img,video) { opacity:0 !important; } .hero-gallery > img:first-child { opacity:1 !important; } .method .step { position:static; top:auto; } }

/* Shared press/lift easing for hover effects matched to the Everglow reference */
:root { --ease-press: cubic-bezier(.455,.03,.515,.955); }

/* Hero proof cards on desktop: a slow float, a few pixels of drift towards the cursor
   (pointer position set on .hero by homepage.js, depth per card) and a small lift on hover. GPU-only properties (18 Nov 2026). */
@keyframes proof-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (hover: hover) and (pointer: fine) and (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .hero .proof {
    --depth: 10px;
    translate: calc(var(--pointer-x, 0) * var(--depth)) calc(var(--pointer-y, 0) * var(--depth));
    transition: translate .9s cubic-bezier(.22,.61,.36,1), scale .35s ease, box-shadow .35s ease;
    animation: proof-float 6s ease-in-out infinite;
  }
  .hero .proof-reviews { --depth: 14px; }
  .hero .proof-projects { animation-duration: 7s; animation-delay: -2.4s; }
  .hero .proof-rating { --depth: 18px; animation-duration: 6.6s; animation-delay: -4.1s; }
  .hero .proof:hover { scale: 1.04; box-shadow: 6px 7px 0 var(--ink); }
}

/* Phones: the "website" pill in the headline sways very slightly */
@keyframes mark-sway {
  0%, 100% { transform: rotate(-3deg) translateY(0) scale(1); }
  25% { transform: rotate(-6deg) translateY(-2px) scale(1.02); }
  50% { transform: rotate(-1deg) translateY(-3px) scale(1.04); }
  75% { transform: rotate(-5deg) translateY(-1px) scale(1.02); }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .hero h1 mark { animation: mark-sway 2.6s ease-in-out infinite; }
}
/* Stop the hero's looping animations while the hero is scrolled out of view (class set by homepage.js) */
.hero.is-offscreen :is(.proof, h1 mark) { animation-play-state: paused; }
