/* Micton Web Design: inner pages and shared visuals.
   Uses var(--color-*) tokens only (brand/brand.md). Loaded on every page after styles.css.

   COMPONENTS (for page authors)
   .phero > .wrap.phero__grid > .phero__copy ({{breadcrumb}}, .kicker, h1.phero__title, p.phero__lead, .phero__ctas) + .phero__visual
       .phero__grid--text   text-only hero, no visual column
   .band                    a section. Modifiers: --line (top rule), --blue (Klein blue), --soft (blue tint)
   .split > .split__copy + .split__visual      two columns; .split--flip puts the visual first
   .h2, .lead               section heading and intro paragraph inside .split or .band
   .prose                   long-form text (guides, legal)
   .feat > li > span.mono + h3 + p             numbered feature grid (3 columns; .feat--2 for 2)
   .cards > a.card (.card__media optional, .card__n, h3, p, .card__go)   link cards; .cards--2 for 2 columns
   .facts > div > dt + dd   case-study facts row
   .plist > li > span.mono + h3 + p            process steps (light background)
   .cta-band                closing call to action (blue). Buttons: .btn--white, .btn--line-white
   .note                    small mono caption

   VISUALS
   figure.shot(.shot--scroll) > .shot__bar (i i i span.mono URL) + .shot__view > img     browser frame;
       --scroll slowly scrolls a tall full-page screenshot while it's on screen (set --dur)
   figure.phone(.phone--scroll) > .phone__view > img           phone frame, same scrolling
   .duo > figure.shot + figure.phone                           desktop + phone together
   figure.ht > img          1-bit halftone image printed in Klein blue
   .layers > .layers__scene > .layers__p[style="--i:0"]...     exploded page layers that assemble on scroll
   .board > .found__art.serp / .found__art.map / .found__art.answer   search + map + AI answer, stacked
   .brandboard              logo, colours and type board
   .feed                    a social profile on a phone */

/* ---------- Page hero ---------- */
.phero { position: relative; padding: calc(var(--space-7) + 48px) 0 var(--space-6); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.phero__grid--text { grid-template-columns: minmax(0, 1fr); }
.phero__grid--text > * { max-width: 1040px; }
.phero__title {
  font-family: var(--font-display); font-weight: 900; font-stretch: 104%;
  font-size: clamp(42px, 6.2vw, 96px); line-height: .92; letter-spacing: -.05em;
  margin: 0 0 24px; text-wrap: balance;
}
.phero__lead { font-size: clamp(18px, 1.4vw, 21px); color: var(--color-ink-muted); max-width: 48ch; margin: 0; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.phero__visual { position: relative; min-width: 0; }
.phero .kicker { margin-bottom: 18px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0 0 26px; padding: 0; font-size: 11.5px; color: var(--color-ink-muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--color-accent); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--color-accent); }
.crumbs [aria-current] { color: var(--color-ink); }
.nav__links a[aria-current] { background-size: 100% 1.5px; }

/* ---------- Sections ---------- */
.band { position: relative; z-index: 1; padding: var(--space-7) 0; }
.band--line { border-top: 1.5px solid var(--color-ink); }
.band--soft { background: var(--color-accent-soft); }
.band--blue { background: var(--color-accent); color: var(--color-accent-ink); }
.band--blue .sec-title, .band--blue .h2 { color: var(--color-accent-ink); }
.band--blue .sec-sub, .band--blue .lead, .band--blue p { color: var(--color-on-accent-muted); }
.band--blue .kicker { color: var(--color-on-accent-muted); }
.band--blue .kicker span { color: var(--color-accent-ink); }
.band--blue .kicker::after { border-top-color: var(--color-accent-ink); }
.band--blue :focus-visible { outline-color: var(--color-accent-ink); }
.band + .band:not(.band--blue):not(.band--soft):not(.band--line) { padding-top: 0; }

.h2 {
  font-family: var(--font-display); font-weight: 900; font-stretch: 104%;
  font-size: clamp(32px, 3.8vw, 58px); line-height: .96; letter-spacing: -.04em;
  margin: 0 0 20px; text-wrap: balance;
}
.lead { font-size: 19px; color: var(--color-ink-muted); max-width: 50ch; margin: 0 0 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.split--flip > .split__visual { order: -1; }
.split__copy > p:not(.kicker):not(.lead) { color: var(--color-ink-muted); max-width: 52ch; }
.split__visual { min-width: 0; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--color-line); }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--color-accent); }
.band--blue .ticks, .band--blue .ticks li { border-color: color-mix(in srgb, var(--color-accent-ink) 30%, transparent); }
.band--blue .ticks li::before { background: var(--color-accent-ink); }

/* Long-form text */
.prose { max-width: 70ch; font-size: 18px; line-height: 1.65; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.03em; margin: 56px 0 14px; }
.prose h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--color-ink-muted); }
.prose strong { color: var(--color-ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--color-accent); font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--color-ink); }
.prose .answer-first { font-size: 21px; color: var(--color-ink); padding: 20px 22px; border: 1px solid var(--color-ink); background: var(--color-surface); }
.toc { margin: 0 0 40px; padding: 18px 20px; border: 1px solid var(--color-line); background: var(--color-surface); font-size: 12px; }
.toc ol { margin: 10px 0 0; padding-left: 1.4em; line-height: 2; }
.toc a { color: var(--color-ink); text-decoration: none; }
.toc a:hover { color: var(--color-accent); }

.faq__grid > .faq__list { align-self: start; }

/* Feature grid */
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-5); border-top: 1.5px solid var(--color-ink); }
.feat--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat li { padding: 26px 0 30px; border-bottom: 1px solid var(--color-line); }
.feat li > span { display: block; color: var(--color-accent); margin-bottom: 14px; }
.feat h3 { font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 8px; }
.feat p { color: var(--color-ink-muted); font-size: 16.5px; margin: 0; max-width: 42ch; }
.band--blue .feat { border-top-color: var(--color-accent-ink); }
.band--blue .feat li { border-bottom-color: color-mix(in srgb, var(--color-accent-ink) 30%, transparent); }
.band--blue .feat li > span { color: var(--color-accent-ink); }

.band--blue .feat p { color: var(--color-on-accent-muted); }

/* Link cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 24px;
  color: var(--color-ink); text-decoration: none;
  background: var(--color-surface); border: 1px solid var(--color-ink);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 0 var(--color-accent); }
.card__media { margin: -24px -24px 22px; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--color-ink); background: var(--color-bg); }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.03); }
.card__media.ht { margin: -24px -24px 22px; border: 0; border-bottom: 1px solid var(--color-ink); }
.card__n { color: var(--color-accent); margin: 0 0 12px; font-size: 11.5px; }
.card h3 { font-family: var(--font-display); font-weight: 800; font-size: 25px; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 10px; }
.card p { color: var(--color-ink-muted); font-size: 16px; margin: 0 0 18px; }
.card__go { margin-top: auto; color: var(--color-accent); font-size: 11.5px; }
.card__go::after { content: " \2192"; transition: margin .3s var(--ease-out); }
.card:hover .card__go::after { margin-left: 4px; }

/* Case-study facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin: 0; border-top: 1.5px solid var(--color-ink); }
.facts dd { overflow-wrap: anywhere; }
.facts > div { padding: 16px 18px 18px 0; border-bottom: 1px solid var(--color-line); }
.facts dt { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-muted); }
.facts dd { margin: 8px 0 0; font-weight: 600; }
.facts a { color: var(--color-accent); text-underline-offset: 3px; }

/* Process steps on light background */
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-5); border-top: 1.5px solid var(--color-ink); }
.plist li { padding: 24px 0 28px; border-bottom: 1px solid var(--color-line); }
.plist li > span { display: block; color: var(--color-accent); margin-bottom: 14px; }
.plist h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 8px; }
.plist p { color: var(--color-ink-muted); margin: 0; max-width: 40ch; }

/* Closing call to action */
.cta-band { position: relative; z-index: 1; overflow: hidden; padding: var(--space-7) 0; background: var(--color-accent); color: var(--color-accent-ink); }
.cta-band .wrap { position: relative; }
.cta-band h2 { font-family: var(--font-display); font-weight: 900; font-stretch: 104%; font-size: clamp(38px, 5.4vw, 84px); line-height: .93; letter-spacing: -.045em; margin: 0 0 20px; max-width: 15ch; }
.cta-band p { color: var(--color-on-accent-muted); font-size: 19px; max-width: 46ch; margin: 0 0 30px; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cta-band__phone { color: var(--color-accent-ink); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--color-on-accent-muted); }
.cta-band__mark { position: absolute; right: var(--gutter); top: 50%; width: min(34vw, 420px); height: auto; transform: translateY(-50%); opacity: .2; overflow: visible; pointer-events: none; }
.cta-band__mark .mk-ink, .cta-band__mark .mk-blue, .cta-band__mark .mk-layer { fill: var(--color-accent-ink); }
.cta-band__mark .mk-guide line { stroke: var(--color-accent-ink); }
.cta-band :focus-visible { outline-color: var(--color-accent-ink); }
.btn--white { background: var(--color-surface); color: var(--color-accent); border-color: var(--color-surface); }
.btn--white:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 0 var(--color-ink); }
.btn--line-white { background: transparent; color: var(--color-accent-ink); border-color: var(--color-accent-ink); }
.btn--line-white:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 0 var(--color-ink); }

.note { font-size: 11.5px; color: var(--color-ink-muted); margin: 16px 0 0; }
.more { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--color-accent); font-size: 12px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more::after { content: "\2192"; }

/* ---------- Visual: browser frame ---------- */
.shot {
  margin: 0; background: var(--color-surface); border: 1px solid var(--color-ink);
  box-shadow: 12px 12px 0 -1px var(--color-bg), 12px 12px 0 0 var(--color-accent);
}
.shot__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--color-ink); background: var(--color-bg); }
.shot__bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--color-ink); }
.shot__bar i:first-child { background: var(--color-accent); border-color: var(--color-accent); }
.shot__bar span { flex: 1; max-width: 62%; margin-left: 10px; padding: 3px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; text-transform: none; letter-spacing: .02em; color: var(--color-ink-muted); border: 1px solid var(--color-line); background: var(--color-surface); }
.shot__view { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg); }
.shot__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.shot--still .shot__view img { object-fit: cover; }
.shot--scroll.is-on .shot__view img { animation: shot-scroll var(--dur, 30s) var(--ease-inout) infinite alternate; }
.shot--scroll:hover .shot__view img, .phone--scroll:hover .phone__view img { animation-play-state: paused; }
@keyframes shot-scroll { 0%, 6% { object-position: 50% 0; } 94%, 100% { object-position: 50% 100%; } }
.shot figcaption, .phone figcaption { display: none; }

/* ---------- Visual: phone frame ---------- */
.phone {
  margin: 0; width: 100%; max-width: 290px; padding: 9px;
  background: var(--color-ink); border-radius: 36px;
  box-shadow: 10px 10px 0 -1px var(--color-bg), 10px 10px 0 0 var(--color-accent);
}
.phone__view { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 28px; background: var(--color-surface); }
.phone__view::before { content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); border-radius: 12px; background: var(--color-ink); }
.phone__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.phone--scroll.is-on .phone__view img { animation: shot-scroll var(--dur, 36s) var(--ease-inout) infinite alternate; }

/* Desktop + phone */
.duo { position: relative; padding-bottom: 9%; }
.duo .shot { width: 84%; }
.duo .phone { position: absolute; right: 0; bottom: 0; width: 27%; max-width: 240px; padding: 6px; border-radius: 26px; }
.duo .phone .phone__view { border-radius: 21px; }
.duo .phone .phone__view::before { top: 6px; height: 13px; }

/* ---------- Visual: halftone printed in blue ---------- */
.ht { position: relative; margin: 0; overflow: hidden; background: var(--color-accent); border: 1px solid var(--color-ink); }
.ht img { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
.ht--frame { box-shadow: 12px 12px 0 -1px var(--color-bg), 12px 12px 0 0 var(--color-ink); }
.ht figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--color-surface); color: var(--color-ink); border: 1px solid var(--color-ink); }

/* Example page built on a halftone photo (industry pages) */
.mock { position: relative; }
.mock .ht { width: 100%; }
.mock__card {
  position: absolute; left: -6%; bottom: -8%; width: 58%; max-width: 330px; padding: 18px;
  background: var(--color-surface); border: 1px solid var(--color-ink);
  box-shadow: 8px 8px 0 -1px var(--color-bg), 8px 8px 0 0 var(--color-accent);
}
.mock__card b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 1.7vw, 24px); line-height: 1; letter-spacing: -.03em; margin: 6px 0 12px; }
.mock__card .mono { font-size: 10px; color: var(--color-ink-muted); }
.mock__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mock__btns em { font-style: normal; font-weight: 600; font-size: 12px; padding: 8px 11px; border: 1.5px solid var(--color-ink); white-space: nowrap; }
.mock__btns em:first-child { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.mock__note, .ht .mock__note { position: absolute; left: auto; bottom: auto; right: 10px; top: 10px; }

/* ---------- Visual: exploded layers ---------- */
.layers { position: relative; aspect-ratio: 1 / .86; min-height: 280px; overflow: hidden; container-type: inline-size; isolation: isolate; }
.layers__scene {
  position: absolute; left: 50%; top: 62%; width: 62%; aspect-ratio: 16 / 10;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(57deg) rotateZ(-36deg);
}
.layers__p {
  position: absolute; inset: 0; padding: 7%;
  background: color-mix(in srgb, var(--color-surface) 82%, transparent);
  border: 1px solid var(--color-ink);
  transform: translateZ(calc(var(--i) * 8px));
  transition: transform 1.3s var(--ease-out) calc(var(--i) * 90ms);
}
.layers.in .layers__p, .no-io .layers__p { transform: translateZ(calc(var(--i) * var(--gap, 8.5cqw))); }
.layers__p:last-child { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.layers__p i { position: absolute; display: block; background: var(--color-ink); }
.lp-bar { height: 7%; left: 7%; border-radius: 1px; }
.lp-img { background: var(--color-layer) !important; }
.lp-btn { height: 12%; background: var(--color-accent) !important; }
.lp-line { height: 2.5%; background: var(--color-line) !important; }
.lp-grid { inset: 0 6%; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 22%, transparent) 0 1px, transparent 1px 8.33%) !important; }
.layers__tag { position: absolute; display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--color-ink); white-space: nowrap; }
.layers__tag::before { content: ""; width: 26px; border-top: 1px solid var(--color-accent); }
.layers__tag b { color: var(--color-accent); font-weight: 500; }

/* ---------- Visual: search, map and AI answer, stacked ---------- */
.board { position: relative; min-height: 560px; }
.board .found__art { position: absolute; margin: 0; min-height: 0; }
.board .found__art.serp { left: 0; top: 0; width: 74%; }
.board .found__art.map { right: 0; top: 30%; width: 50%; height: 190px; }
.board .found__art.answer { left: 6%; bottom: 0; width: 60%; }
.board .found__art { box-shadow: 10px 10px 0 -1px var(--color-bg), 10px 10px 0 0 var(--color-accent); }
.board__label { position: absolute; right: 0; bottom: 6px; }

/* ---------- Visual: brand board ---------- */
.brandboard { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.brandboard > * { background: var(--color-surface); border: 1px solid var(--color-ink); }
.bb-mark { grid-row: span 2; display: grid; place-items: center; padding: 10%; aspect-ratio: 1 / 1.1; background: radial-gradient(color-mix(in srgb, var(--color-ink) 18%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--color-surface); }
.bb-mark svg { width: 86%; height: auto; overflow: visible; }
.bb-swatches { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 110px; padding: 0; }
.bb-swatches i { display: block; border-right: 1px solid var(--color-ink); }
.bb-swatches i:last-child { border-right: 0; }
.bb-swatches i:nth-child(1) { background: var(--color-ink); }
.bb-swatches i:nth-child(2) { background: var(--color-accent); }
.bb-swatches i:nth-child(3) { background: var(--color-layer); }
.bb-swatches i:nth-child(4) { background: var(--color-bg); }
.bb-type { padding: 16px 18px; }
.bb-type b { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: clamp(52px, 6vw, 88px); line-height: .9; letter-spacing: -.05em; }
.bb-type span { display: block; margin-top: 8px; font-size: 10.5px; color: var(--color-ink-muted); }
.bb-card { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.bb-card svg { width: 44px; height: 40px; flex: none; }
.bb-card b { font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -.02em; }
.bb-card span { font-size: 10.5px; color: var(--color-ink-muted); text-align: right; }

/* ---------- Visual: social profile on a phone ---------- */
.feed .phone__view { display: flex; flex-direction: column; padding: 38px 10px 10px; gap: 10px; }
.feed__head { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.feed__head i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--color-ink); background: var(--color-surface); display: grid; place-items: center; overflow: hidden; }
.feed__head i svg { width: 26px; height: 24px; }
.feed__head b { font-size: 12px; display: block; }
.feed__head span { font-size: 9.5px; color: var(--color-ink-muted); }
.feed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.feed__grid > * { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-layer); }
.feed__grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed__grid .ht { border: 0; background: var(--color-accent); }
.feed__grid .ht img { height: 100%; object-fit: cover; }
.feed__tile--ink { background: var(--color-ink) !important; display: grid; place-items: center; }
.feed__tile--blue { background: var(--color-accent) !important; display: grid; place-items: center; }
.feed__tile--ink svg, .feed__tile--blue svg { width: 60%; height: auto; }
.feed__tile--blue .mk-ink, .feed__tile--blue .mk-blue, .feed__tile--blue .mk-layer, .feed__tile--ink .mk-layer { fill: var(--color-accent-ink); }
.feed__reel::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px; background: color-mix(in srgb, var(--color-accent-ink) 40%, transparent); }
.feed__reel::before { content: ""; position: absolute; z-index: 1; left: 6px; bottom: 6px; height: 3px; width: 0; background: var(--color-accent-ink); }
.feed.is-on .feed__reel::before { animation: reel 6s linear infinite; }
@keyframes reel { to { width: calc(100% - 12px); } }
.feed__play { position: absolute; inset: 0; display: grid; place-items: center; }
.feed__play::before { content: ""; border-left: 14px solid var(--color-accent-ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }

/* ---------- Home: case frames as browser windows ---------- */
.case__shot { display: block; color: inherit; text-decoration: none; transition: transform .4s var(--ease-out); }
.case__shot:hover { transform: translate(-6px, -6px); }
.case__shot .shot { box-shadow: 10px 10px 0 -1px var(--color-bg), 10px 10px 0 0 var(--color-accent); }
.case__meta .more { margin-top: 14px; }

/* ---------- Home: moving strip of real client sites ---------- */
.reel { position: relative; z-index: 1; overflow: hidden; padding: 30px 0 var(--space-6); }
.reel__head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 30px; color: var(--color-ink-muted); font-size: 11.5px; }
.reel__head a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.reel__track { display: flex; align-items: flex-end; gap: 34px; width: max-content; padding: 0 0 16px 34px; animation: reel-x 70s linear infinite; }
.reel:hover .reel__track, .reel:focus-within .reel__track { animation-play-state: paused; }
.reel__item { flex: none; display: block; color: inherit; text-decoration: none; }
.reel__item .shot { width: clamp(250px, 31vw, 470px); box-shadow: 9px 9px 0 -1px var(--color-bg), 9px 9px 0 0 var(--color-accent); transition: transform .4s var(--ease-out); }
.reel__item .phone { width: clamp(120px, 11vw, 168px); padding: 6px; border-radius: 24px; box-shadow: 8px 8px 0 -1px var(--color-bg), 8px 8px 0 0 var(--color-accent); transition: transform .4s var(--ease-out); }
.reel__item .phone .phone__view { border-radius: 19px; }
.reel__item .phone .phone__view::before { top: 6px; height: 12px; }
.reel__item:hover .shot, .reel__item:hover .phone { transform: translate(-5px, -5px); }
.reel__cap { display: block; margin-top: 14px; font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-ink-muted); }
.reel__cap b { color: var(--color-ink); font-weight: 500; }
@keyframes reel-x { to { transform: translateX(-50%); } }
@media (hover: none) { .reel__hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel__track { animation: none; }
}

/* ---------- Footer ---------- */
.foot__cols--site { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.foot__h { margin: 0 0 4px; color: var(--color-ink); font-weight: 500; }
.foot__nap { margin: 22px 0 0; font-size: 12px; line-height: 1.9; color: var(--color-ink-muted); }
.foot__nap a { text-decoration: none; }
.foot__nap a:hover { color: var(--color-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .foot__cols--site { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .phero { padding-top: calc(var(--space-6) + 56px); }
  .phero__grid, .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .split--flip > .split__visual { order: 0; }
  .feat, .plist { grid-template-columns: minmax(0, 1fr); }
  .feat--2 { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { min-height: 520px; }
  .mock__card { left: 4%; }
  .cta-band__mark { width: 52vw; top: auto; bottom: -12%; transform: none; opacity: .14; }
}
@media (max-width: 620px) {
  .cards, .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .foot__cols--site { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { min-height: 540px; }
  .board .found__art.serp { width: 92%; }
  .board .found__art.map { width: 66%; top: 30%; height: 160px; }
  .board .found__art.answer { left: 0; width: 84%; }
  .mock__card { position: relative; left: auto; bottom: auto; width: auto; max-width: none; margin: -24px 12px 0; }
  .duo .phone { width: 32%; }
  .layers { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot--scroll .shot__view img, .phone--scroll .phone__view img, .feed__reel::before { animation: none !important; }
  .layers__p { transition: none; transform: translateZ(calc(var(--i) * var(--gap, 8.5cqw))); }
  .card, .card__media img, .case__shot { transition: none; }
}
