/* Tray Avlon · light mock-up (11 Nov 2026). Calm, off-white, one column of thought at a time. */
@font-face { font-family: "Anton"; src: url("fonts/Anton-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F3F1EA; --card: #FBFAF6; --ink: #141413; --soft: #5C5B56; --line: rgba(20,20,19,.14);
  --accent: #E23B1E; --accent-text: #B92D12;
  --display: "Anton", "Impact", sans-serif; --text: "Geist", system-ui, sans-serif;
  --gutter: clamp(1.1rem, 5vw, 3rem); --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.accent { color: var(--accent); }
.soft { color: var(--soft); }
.label { margin: 0 0 1rem; font: 600 .8rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gutter); max-width: var(--max); margin: 0 auto; }
.top img { height: 44px; width: auto; }
.top a.link { font: 600 .95rem/1 var(--text); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .7rem; background: var(--accent); color: #fff; font: 700 1rem/1 var(--text); padding: 1.05rem 1.5rem; border-radius: 4px; text-decoration: none; transition: background-color .16s ease-out, transform .14s ease-out; }
.btn:hover { background: #C9321A; } .btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.btn svg { width: 18px; height: 18px; }
.note { display: block; margin-top: .9rem; font-size: .95rem; color: var(--soft); }

/* sections */
section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
section + section { border-top: 1px solid var(--line); }
h2.display { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 18ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--soft); max-width: 46ch; margin: 1.2rem 0 0; }

/* hero (default: the question) */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7rem); }
.hero h1 { font-size: clamp(2.7rem, 8vw, 6.4rem); max-width: 13ch; }
.hero .lede { margin: 1.6rem 0 2rem; }

/* problem */
.lines { display: grid; gap: .5rem; }
.lines p { font-size: clamp(1.9rem, 4.6vw, 3.4rem); color: #A8A69E; }
.lines p:last-child { color: var(--ink); }

/* how */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4rem 1fr auto; gap: 1.2rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 400 2.6rem/1 var(--display); color: var(--accent); }
.steps h3 { font: 700 1.25rem/1.2 var(--text); margin: 0 0 .3rem; }
.steps p { margin: 0; color: var(--soft); max-width: 50ch; }
.steps .t { font: 600 .95rem/1 var(--text); color: var(--soft); white-space: nowrap; }
.price { margin-top: 2.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.3rem, 3vw, 2rem); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.price b { display: block; font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); }
.price span { color: var(--soft); }
.after { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.after > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.after h4 { font: 700 1.05rem/1.2 var(--text); margin: 0 0 .35rem; }
.after p { margin: 0; color: var(--soft); }
.after small { display: block; margin-top: .6rem; font: 700 .95rem/1 var(--text); color: var(--ink); }

/* case studies */
.case { margin-top: 2.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.4rem, 4vw, 2.6rem); }
.case + .case { margin-top: 1.25rem; }
.case__top { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.case__top .label { margin: 0; }
.case__logos { display: flex; gap: 1.2rem; align-items: center; }
.case__logos img { height: 38px; width: auto; filter: invert(1); opacity: .85; }
.case h3 { font: 400 clamp(1.7rem, 3.6vw, 2.7rem)/1.02 var(--display); text-transform: uppercase; margin: 0 0 1.6rem; max-width: 22ch; text-wrap: balance; }
.case dl { margin: 0; display: grid; grid-template-columns: 11rem 1fr; gap: 0; }
.case dt, .case dd { padding: .95rem 0; border-top: 1px solid var(--line); margin: 0; }
.case dt { font: 700 .78rem/1.5 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); padding-right: 1rem; }
.case dd { max-width: 56ch; }
.case dd.q { font: 600 1.15rem/1.4 var(--text); }
.results { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.results li { border-top: 2px solid var(--ink); padding-top: .8rem; }
.results b { display: block; font: 400 clamp(1.8rem, 3.2vw, 2.5rem)/1 var(--display); }
.results li:first-child b { color: var(--accent); }
.results span { display: block; margin-top: .3rem; color: var(--soft); font-size: .95rem; line-height: 1.45; }
.quote { margin: 1.8rem 0 0; padding-left: 1rem; border-left: 3px solid var(--accent); }
.quote p { margin: 0; font: 500 1.15rem/1.45 var(--text); }
.quote cite { display: block; margin-top: .4rem; font-style: normal; font-size: .92rem; color: var(--soft); }
.revs { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.rev { margin: 0; border: 1px dashed rgba(20,20,19,.35); border-radius: 6px; padding: 1.1rem 1.2rem; }
.rev p { margin: 0 0 .6rem; color: var(--soft); }
.rev cite { font: 700 .76rem/1.3 var(--text); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.about img { border-radius: 6px; width: 100%; }
.about p { max-width: 50ch; }
.fit { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem 3rem; }
.fit h3 { font: 700 1.05rem/1.2 var(--text); margin: 0 0 .7rem; }
.fit ul { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: .5rem; color: var(--soft); }

/* questions */
.qa { margin-top: 2rem; display: grid; }
.qa div { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.qa h3 { font: 700 1.2rem/1.3 var(--text); margin: 0 0 .4rem; }
.qa p { margin: 0; color: var(--soft); max-width: 58ch; }

/* close + footer */
.close h2 { font-size: clamp(2.5rem, 7vw, 5.4rem); max-width: 13ch; margin-bottom: 2rem; }
.foot { border-top: 1px solid var(--line); padding: 1.4rem 0 3.5rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .9rem; color: var(--soft); }

.mock { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: var(--bg); font: 700 .7rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: .5rem .65rem; border-radius: 3px; }

@media (max-width: 760px) {
  .top img { height: 38px; }
  .steps li { grid-template-columns: 2.6rem 1fr; } .steps .t { grid-column: 2; }
  .steps li::before { font-size: 2rem; }
  .price .btn, .hero .btn, .close .btn { width: 100%; justify-content: center; }
  .case dl { grid-template-columns: 1fr; } .case dt { padding-bottom: 0; } .case dd { border-top: 0; padding-top: .25rem; }
  .results { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
}

/* ---------- hero options page ---------- */
.opt { border-top: 1px solid var(--line); }
.opt:first-of-type { border-top: 0; }
.opt__tag { max-width: var(--max); margin: 0 auto; padding: 1.4rem var(--gutter) 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; }
.opt__tag b { font: 700 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: .4rem .55rem; border-radius: 3px; }
.opt__tag span { color: var(--soft); font-size: .95rem; }
.opt .hero { padding-top: clamp(2rem, 5vw, 4rem); }
.h-center { text-align: center; } .h-center h1, .h-center .lede { margin-inline: auto; }
.h-plain h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); max-width: 16ch; }
.h-plain .big { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--display); margin: 1.6rem 0 0; }
.h-plain .big small { font: 500 1rem var(--text); color: var(--soft); }
.topics { list-style: none; margin: 2rem auto 2.2rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 40rem; }
.topics li { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: .95rem; color: var(--soft); background: var(--card); }
.h-face { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.h-face h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 12ch; }
.h-face img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.h-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.h-card h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 12ch; }
.qcard { background: var(--ink); color: var(--bg); border-radius: 8px; padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.qcard small { display: block; font: 600 .76rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #B9B7AE; margin-bottom: 1rem; }
.qcard p { margin: 0; font: 400 clamp(1.8rem, 3.6vw, 2.8rem)/1.02 var(--display); text-transform: uppercase; }
.qcard span { display: block; margin-top: 1.2rem; font-size: 1rem; line-height: 1.5; color: #D9D7CE; }
@media (max-width: 760px) {
  .h-face, .h-card { grid-template-columns: 1fr; }
  .h-face img { aspect-ratio: 1 / 1; object-position: 50% 45%; order: -1; }
}

/* ---------- v2: both names up top, "see how I think", one price ---------- */
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand span { font: 600 .78rem/1.25 var(--text); letter-spacing: .06em; color: var(--soft); border-left: 1px solid var(--line); padding-left: .8rem; }
.vids { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vid { margin: 0; }
.vid__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 8px; background: #1A1A19; overflow: hidden; display: grid; place-items: center; }
.vid__frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 100%); }
.vid__play { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.vid__play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.vid__hook { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; font: 400 clamp(1.15rem, 2vw, 1.5rem)/1.02 var(--display); text-transform: uppercase; color: #F3F1EA; }
.vid__tag { position: absolute; left: 12px; top: 12px; font: 700 .66rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; background: rgba(243,241,234,.92); color: #141413; padding: .35rem .45rem; border-radius: 3px; }
.vid figcaption { margin-top: .7rem; color: var(--soft); font-size: .95rem; line-height: 1.45; }
.vid figcaption b { display: block; color: var(--ink); font-weight: 700; }
.more { margin: 1.8rem 0 0; }
.more a { font-weight: 600; text-underline-offset: 3px; }
.next { margin: 1.4rem 0 0; color: var(--soft); max-width: 60ch; }
.next b { color: var(--ink); }
@media (max-width: 760px) {
  .brand span { display: none; }
  .vids { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .vids::-webkit-scrollbar { display: none; }
  .vid { flex: 0 0 66%; scroll-snap-align: center; }
}

/* phone: links big enough to tap (44px) */
@media (max-width: 760px) {
  .top a.link { display: inline-flex; align-items: flex-end; min-height: 44px; }
  .more a, .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot { gap: .2rem 2rem; }
}

/* ---------- v3: phone landing page (cut down), tap-to-open parts ---------- */
.case__q { margin: 0 0 1.2rem; font: 600 1.15rem/1.4 var(--text); max-width: 56ch; }
.case__q span { display: block; margin-bottom: .35rem; font: 700 .78rem/1.5 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.case__more > summary { display: none; }
.qa details { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.qa summary { font: 700 1.2rem/1.3 var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 1.5rem/1 var(--text); color: var(--accent-text); flex: none; }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin: .6rem 0 0; color: var(--soft); max-width: 58ch; }
.qa summary:focus-visible, .case__more > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sticky { display: none; }

@media (max-width: 760px) {
  section { padding: 2.75rem 0; }
  .hero { padding: 1.5rem 0 2.75rem; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .top a.link { display: none; }
  h2.display { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .lede { font-size: 1.05rem; margin-top: .8rem; }
  .lines { gap: .28rem; } .lines p { font-size: clamp(1.6rem, 7.6vw, 2.2rem); line-height: 1.04; }
  .vids { margin-top: 1.5rem; }
  .vid { flex-basis: 58%; }
  .more { margin-top: 1rem; }
  .steps { margin-top: 1.5rem; }
  .steps li { padding: 1rem 0; gap: .2rem 1rem; }
  .steps p { font-size: .98rem; }
  .price { margin-top: 1.5rem; }
  .case { margin-top: 1.5rem; padding: 1.2rem; }
  .case h3 { font-size: 1.55rem; margin-bottom: 1rem; }
  .case__logos img { height: 30px; }
  .case__q { font-size: 1.05rem; margin-bottom: 0; }
  .case__more { margin-top: 1rem; border-top: 1px solid var(--line); }
  .case__more > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font: 700 .95rem/1 var(--text); cursor: pointer; list-style: none; }
  .case__more > summary::-webkit-details-marker { display: none; }
  .case__more > summary::after { content: "+"; font: 400 1.4rem/1 var(--text); color: var(--accent-text); }
  .case__more[open] > summary::after { content: "–"; }
  .results { margin-top: 1rem; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .results li { padding-top: .6rem; }
  .results b { font-size: 1.45rem; }
  .results span { font-size: .8rem; line-height: 1.35; }
  .quote { margin-top: 1.2rem; } .quote p { font-size: 1rem; }
  .revs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 1.5rem calc(-1 * var(--gutter)) 0; padding-inline: var(--gutter); scrollbar-width: none; }
  .revs::-webkit-scrollbar { display: none; }
  .rev { flex: 0 0 78%; scroll-snap-align: center; }
  .about { gap: 1.2rem; }
  .about img { aspect-ratio: 4 / 3; object-position: 50% 15%; }
  .fit { margin-top: 1.5rem; } .fit__no { display: none; }
  .qa { margin-top: 1rem; } .qa details { padding: 0; } .qa summary { min-height: 56px; align-items: center; font-size: 1.05rem; } .qa details p { margin: 0 0 1.1rem; }
  .close h2 { font-size: clamp(2.3rem, 11vw, 3.2rem); margin-bottom: 1.4rem; }
  .foot { padding-bottom: 6rem; }
  .sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
            padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--ink); color: var(--bg); text-decoration: none;
            transform: translateY(110%); transition: transform .22s ease-out; }
  .sticky.is-on { transform: none; }
  .sticky span { font-size: .95rem; line-height: 1.25; } .sticky span b { display: block; font-weight: 700; }
  .sticky i { font-style: normal; font-weight: 700; background: var(--accent); color: #fff; padding: .85rem 1.3rem; border-radius: 4px; }
}
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } html { scroll-behavior: auto; } }

/* ---------- v5: hero picture, bigger and looping (stuck -> the question -> next move) ---------- */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero__grid h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); }
.hero__art { margin: 0; }
.hero__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.art__tangle, .art__line, .art__head { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.art__tangle { stroke: #8F8D85; stroke-width: 5; }
.art__line, .art__head { stroke-width: 6.5; }
.art__dot circle { fill: var(--accent); }
.art__dot .art__ring { fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; }
.art__dot text { fill: #fff; font: 400 40px/1 var(--display); }
.art__lab { fill: var(--soft); font: 600 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.art__lab--q { fill: var(--accent-text); }

/* One 7-second loop: the tangle draws, the question lands, the arrow shoots out, hold, reset. */
.anim .art__tangle { stroke-dasharray: 1; animation: loopTangle 7s linear infinite; }
.anim .art__dot { transform-box: fill-box; transform-origin: center; animation: loopDot 7s ease-out infinite; }
.anim .art__ring { transform-box: fill-box; transform-origin: center; animation: loopRing 7s ease-out infinite; }
.anim .art__line { stroke-dasharray: 1; animation: loopLine 7s ease-out infinite; }
.anim .art__head { animation: loopHead 7s ease-out infinite; }
@keyframes loopTangle { 0% { stroke-dashoffset: 1; opacity: 1; } 30% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes loopDot { 0%, 29% { transform: scale(0); opacity: 1; } 35% { transform: scale(1.18); } 39% { transform: scale(1); } 90% { transform: scale(1); opacity: 1; } 97%, 100% { transform: scale(1); opacity: 0; } }
@keyframes loopRing { 0%, 36% { transform: scale(1); opacity: 0; } 38% { opacity: .7; } 52% { transform: scale(1.9); opacity: 0; } 60% { transform: scale(1); opacity: 0; } 62% { opacity: .5; } 76%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes loopLine { 0%, 40% { stroke-dashoffset: 1; opacity: 1; } 52% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes loopHead { 0%, 50% { opacity: 0; transform: translateX(-10px); } 55% { opacity: 1; transform: none; } 90% { opacity: 1; } 97%, 100% { opacity: 0; } }

@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero__grid h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero__art { width: 100%; }
  .art__lab { font-size: 14px; }
  .about img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
}

/* ---------- v6: fixes from the council (12 Nov 2026) ---------- */
.proofline { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); max-width: 46ch; font-size: .98rem; line-height: 1.45; color: var(--soft); }
.proofline b { display: block; color: var(--ink); font-weight: 700; }
.after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .after { grid-template-columns: 1fr; margin-top: 1.5rem; } .proofline { margin-top: 1.1rem; } }

/* ---------- v7: two more case studies (Walkies World, Torie Eley) ---------- */
.ba { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ba figure { margin: 0; }
.ba img { width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.ba figcaption { margin-top: .5rem; font: 700 .76rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.case .vids { margin-top: 1.6rem; }
.vid video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #1A1A19; border-radius: 8px; }
@media (max-width: 760px) {
  .ba { margin-top: 1rem; gap: .6rem; }
  .case .vids { margin-top: 1rem; margin-inline: -1.2rem; padding-inline: 1.2rem; }
}

/* ---------- v8: SCYS before/after x4 ---------- */
.ba--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ba--4 img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .ba--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- v9: credential line and certifications ---------- */
.credline { margin: 1.2rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); max-width: 46ch; font: 600 .95rem/1.4 var(--text); color: var(--ink); }
.certs { margin-top: 3rem; }
.certs h3 { font: 700 1.05rem/1.2 var(--text); margin: 0 0 1rem; }
.certs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 760px; }
.certs figure { margin: 0; }
.certs img { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.certs figcaption { margin-top: .6rem; color: var(--soft); font-size: .95rem; line-height: 1.45; }
.certs figcaption b { display: block; color: var(--ink); font-weight: 700; }
.certs__note { margin: 1rem 0 0; color: var(--soft); font-size: .95rem; max-width: 60ch; }
@media (max-width: 760px) { .certs { margin-top: 1.5rem; } .certs__grid { gap: .7rem; } .certs figcaption { font-size: .85rem; } .credline { margin-top: 1rem; } }

/* ---------- v10: How I think (one clinic, five beats, three clips) ---------- */
.beats { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: b; }
.beat { counter-increment: b; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0 1.2rem; padding: 2rem 0; border-top: 1px solid var(--line); align-items: start; }
.beat::before { content: counter(b); font: 400 2.6rem/1 var(--display); color: var(--accent); }
.beat--media { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 clamp(1.2rem, 3vw, 2.5rem); }
.beat__text h3 { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.05 var(--display); text-transform: uppercase; margin: .25rem 0 .8rem; }
.beat__text p { margin: 0 0 .7rem; max-width: 52ch; }
.beat:not(.beat--media) .beat__text p { max-width: 62ch; }
.kills { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .45rem; color: var(--soft); max-width: 52ch; }
.kills s { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.kills b { color: var(--ink); }
.beat__clip { margin: 0; }
.beat__clip video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0A0A0A; border-radius: 8px; border: 1px solid var(--line); }
.beat__clip figcaption { margin-top: .5rem; font: 700 .76rem/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.beats__end { margin: 0; padding-top: 2rem; border-top: 1px solid var(--line); font: 600 clamp(1.1rem, 1.8vw, 1.3rem)/1.4 var(--text); max-width: 46ch; }
@media (max-width: 760px) {
  .beats { margin-top: 1.5rem; }
  .beat, .beat--media { grid-template-columns: 2.6rem minmax(0, 1fr); padding: 1.3rem 0; }
  .beat::before { font-size: 2rem; }
  .beat__clip { grid-column: 1 / -1; margin-top: .9rem; }
  .beat__text h3 { font-size: 1.4rem; margin-bottom: .5rem; }
  .beats__end { padding-top: 1.3rem; }
}
/* keep every beat's text starting on the same line down the page */
@media (min-width: 761px) { .beat { column-gap: clamp(1.2rem, 3vw, 2.5rem); } }

/* ---------- v11: shorter phone page ---------- */
.beats--cont { margin-top: 0; counter-reset: b 2; }
.beats__more > summary { display: none; }
.case .results { margin-top: 1.4rem; }
.case__more .quote { margin-top: 1.6rem; }
@media (max-width: 760px) {
  .beats__more { border-top: 1px solid var(--line); }
  .beats__more > summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; font: 700 1rem/1 var(--text); cursor: pointer; list-style: none; }
  .beats__more > summary::-webkit-details-marker { display: none; }
  .beats__more > summary::after { content: "+"; font: 400 1.4rem/1 var(--text); color: var(--accent-text); }
  .beats__more[open] > summary::after { content: "–"; }
  .beats__more > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
  .case .results { margin-top: 1rem; }
  .case__more .quote { margin-top: 1.1rem; }
}
/* a little air between the numbers and the story on wide screens */
@media (min-width: 761px) { .case__more { margin-top: 1.6rem; } }
