/* Home v2 — ritmo escuro / claro / laranja. Cenas ligadas à rolagem animam só transform, opacity e clip-path. */

.btn--glass {
  --bg: rgba(255, 255, 255, 0.08);
  --fg: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) {
  .btn--glass:hover { --bg: rgba(255, 255, 255, 0.16); }
}

/* Sections stack like plates: each colored block slides over the previous one. */
.mf, .hs, .tx, .cs, .fx, .ox { position: relative; }
.hs, .tx, .fx, .ox { border-radius: 28px 28px 0 0; margin-top: -28px; }
.hs { z-index: 2; } .tx { z-index: 3; } .cs { z-index: 4; } .fx { z-index: 5; } .ox { z-index: 6; }
.footer--bare { position: relative; z-index: 7; border-radius: 28px 28px 0 0; margin-top: -28px; padding-top: 24px; }

/* ---------- Hero ---------- */

.hx {
  position: relative;
  height: 100svh;
  min-height: 640px;
  background: var(--kiln);
  color: #fff;
  overflow: hidden;
}
.hx__frame {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--kiln);
  will-change: transform, clip-path;
}
.hx__poster, .hx__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hx__video { opacity: 0; transition: opacity 900ms ease; }
.hx__video.is-playing { opacity: 1; }
.hx__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 17, 16, 0.55) 0%, rgba(19, 17, 16, 0) 26%),
    linear-gradient(0deg, rgba(19, 17, 16, 0.86) 0%, rgba(19, 17, 16, 0.32) 46%, rgba(19, 17, 16, 0.1) 70%);
}

/* Entrance: the film opens like a furnace door, then settles. */
.js .hx__frame { clip-path: inset(18% 12% 18% 12% round 20px); transform: scale(1.0); }
.js .hx__poster, .js .hx__video { transform: scale(1.18); }
.js .is-ready .hx__frame {
  clip-path: inset(0 0 0 0 round 0px);
  transition: clip-path 1500ms var(--ease-in-out) 80ms;
}
.js .is-ready .hx__poster, .js .is-ready .hx__video {
  transform: scale(1.04);
  transition: transform 2200ms var(--ease-out) 80ms, opacity 900ms ease;
}

.hx__content {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: clamp(24px, 3.4vw, 44px);
  will-change: transform, opacity;
}
.hx__meta { display: flex; justify-content: space-between; gap: 16px; color: rgba(255, 255, 255, 0.72); }
.hx__main { display: grid; align-content: end; gap: clamp(28px, 3.6vw, 48px); }
.hx__title {
  margin: 0;
  font-variation-settings: "wdth" 118;
  font-weight: 600;
  font-size: clamp(52px, 10.4vw, 176px);
  line-height: 0.86;
  letter-spacing: -0.055em;
}
.hx__title em { font-style: normal; color: var(--orange); }
.hx__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
  gap: 24px 40px;
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hx__lede { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 30em; }
.hx__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hx__aside { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.hx__scroll { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.6); }
.hx__scroll-line { position: relative; width: 44px; height: 1px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.hx__scroll-line::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform: translateX(-100%);
  animation: scrollhint 2.4s var(--ease-in-out) 2.2s infinite;
}
@keyframes scrollhint { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }

.js .hx__fade { opacity: 0; transform: translateY(12px); }
.js .is-ready .hx__fade { opacity: 1; transform: none; transition: opacity 800ms ease var(--d, 0ms), transform 1000ms var(--ease-out) var(--d, 0ms); }

.vbtn { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.78); transition: color 160ms ease; }
.vbtn:active .vbtn__icon { transform: scale(0.92); }
.vbtn__icon {
  position: relative;
  width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  transition: transform 160ms var(--ease-out);
}
.vbtn__icon::before, .vbtn__icon::after {
  content: ""; position: absolute; top: 12px; width: 2px; height: 10px; background: currentColor; border-radius: 1px;
}
.vbtn__icon::before { left: 13px; }
.vbtn__icon::after { left: 19px; }
.vbtn[aria-pressed="true"] .vbtn__icon::before { left: 14px; top: 11px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; }
.vbtn[aria-pressed="true"] .vbtn__icon::after { display: none; }
@media (hover: hover) and (pointer: fine) { .vbtn:hover { color: #fff; } }

/* ---------- Marquee ---------- */

.mq {
  position: relative; z-index: 1;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 34px) 0;
}
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__set { display: flex; align-items: center; flex-shrink: 0; }
.mq__item {
  font-variation-settings: "wdth" 120;
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  padding-inline: clamp(18px, 2vw, 32px);
}
.mq__sep { width: clamp(28px, 3vw, 46px); height: clamp(12px, 1.3vw, 20px); background: var(--orange); border-radius: 3px; transform: skewX(-18deg); flex-shrink: 0; }

/* ---------- Manifesto ---------- */

.mf { padding-block: clamp(84px, 11vw, 168px) clamp(110px, 13vw, 190px); background: var(--paper); z-index: 1; }
.mf__text {
  margin: 28px 0 0;
  font-variation-settings: "wdth" 108;
  font-weight: 500;
  font-size: clamp(30px, 4.3vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 17em;
  text-wrap: pretty;
}
.mf__text em { font-style: normal; }
.js .mf__text .w { color: rgba(21, 19, 17, 0.16); transition: color 300ms ease; }
.js .mf__text .w.is-lit { color: var(--ink); }
.js .mf__text em .w.is-lit { color: var(--orange-ink); }
.mf__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter);
  margin-top: clamp(64px, 8vw, 120px);
  align-items: end;
}
.mf__photo { grid-column: 1 / span 5; margin: 0; }
.mf__frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--paper-2); }
.mf__frame img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 62% 50%; will-change: transform; }
.mf__values { grid-column: 7 / -1; display: grid; gap: 0; }
.mf__value { display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.mf__value .mono { color: var(--orange-ink); grid-row: span 2; padding-top: 6px; }
.mf__value p { margin: 0; color: var(--muted); }
.mf__values > div:last-child { padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Horizontal portfolio (orange) ---------- */

.hs { background: var(--orange); color: var(--ink); }
.hs__sticky {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + 12px);
}
.hs__track {
  display: flex; align-items: center; gap: 16px;
  min-height: 0; height: 100%;
  padding: 0 var(--gutter) 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: max-content;
  will-change: transform;
}
.hs__intro {
  width: min(520px, 80vw);
  flex-shrink: 0;
  display: grid; align-content: center; gap: 24px;
  padding-right: clamp(24px, 4vw, 80px);
}
.hs__intro .eyebrow { color: rgba(21, 19, 17, 0.7); }
.hs__intro .eyebrow::before { background: var(--ink); }
.hs__title {
  margin: 0;
  font-variation-settings: "wdth" 118; font-weight: 600;
  font-size: clamp(44px, 6vw, 96px); line-height: 0.9; letter-spacing: -0.05em;
}
.hs__intro p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 26em; color: rgba(21, 19, 17, 0.78); }
.hs__intro .btn { justify-self: start; }

.hcard {
  position: relative;
  flex-shrink: 0;
  width: clamp(300px, 28vw, 420px);
  height: min(68vh, 620px);
  align-self: center;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 8px;
  padding: 22px;
  background: var(--paper);
  border-radius: 10px;
  transition: transform 300ms var(--ease-out), background-color 260ms ease;
}
.hcard:active { transform: scale(0.985); }
.hcard__top { display: flex; justify-content: space-between; color: var(--dim); }
.hcard__img { display: grid; place-items: center; min-height: 0; padding: 10px 0; }
.hcard__img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; transition: transform 600ms var(--ease-out); }
.hcard__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.hcard__title { font-variation-settings: "wdth" 110; font-weight: 600; font-size: clamp(24px, 2.1vw, 32px); letter-spacing: -0.03em; line-height: 1.05; }
.hcard__name .arw { width: 22px; height: 22px; transition: transform 260ms var(--ease-out), color 200ms ease; }
.hcard__list { color: var(--muted); font-size: 14px; line-height: 1.4; min-height: 2.8em; }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover { background: #f4f3f0; }
  .hcard:hover .hcard__img img { transform: translateY(-8px) scale(1.04); }
  .hcard:hover .arw { transform: translateX(5px); color: var(--orange); }
}
.hcard--ask { background: var(--ink); color: var(--paper); grid-template-rows: auto 1fr auto; }
.hcard--ask .hcard__top { color: rgba(230, 229, 225, 0.55); }
.hcard__ask { align-self: end; font-variation-settings: "wdth" 110; font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.03em; padding-bottom: 20px; }
.hcard--ask .btn { justify-self: start; }

.hs__foot { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-block: 18px 26px; color: rgba(21, 19, 17, 0.72); }
.hs__bar { height: 2px; background: rgba(21, 19, 17, 0.18); border-radius: 2px; overflow: hidden; }
.hs__fill { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Thermal, scrubbed by scroll ---------- */

.tx { background: var(--kiln); color: var(--on-kiln); height: 260vh; }
.tx__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.tx__glow {
  position: absolute; inset: auto -10% -45% -10%;
  height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242, 111, 35, 0.55), rgba(184, 54, 11, 0.18) 45%, rgba(19, 17, 16, 0) 72%);
  opacity: 0;
  transform: translateY(20%) scale(0.9);
  pointer-events: none;
  will-change: transform, opacity;
}
.tx__inner { position: relative; padding-top: var(--header-h); }
.tx__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gutter); align-items: end; margin-bottom: clamp(40px, 6vh, 80px); }
.tx__head > div:first-child { grid-column: 1 / span 7; display: grid; gap: 20px; }
.tx__head .eyebrow { color: var(--on-kiln-muted); }
.tx__read { grid-column: 9 / -1; justify-self: end; text-align: right; display: grid; gap: 4px; color: var(--on-kiln-muted); }
.tx__num {
  font-variation-settings: "wdth" 118; font-weight: 600;
  font-size: clamp(64px, 9vw, 150px); line-height: 0.88; letter-spacing: -0.05em;
  color: var(--on-kiln);
}
.tx__num small { font-size: 0.34em; letter-spacing: -0.01em; color: var(--orange-hi); margin-left: 0.08em; vertical-align: 1.4em; }
.tx__scale { position: relative; padding-top: 220px; }
.tx .scale__track { overflow: visible; }
.tx__fill { transform: scaleX(0); }
.tx__head-dot {
  position: absolute; top: 50%; left: 0;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: #fff3d6;
  box-shadow: 0 0 0 6px rgba(255, 173, 77, 0.25), 0 0 40px 10px rgba(255, 138, 61, 0.55);
  will-change: transform;
}
.js .tx .mark { opacity: 0.18; transform: none; transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.js .tx .mark--end { transform: translateX(-100%); }
.js .tx .mark.is-on { opacity: 1; }
.tx .mark.is-on .mark__t { color: var(--orange-hi); }
.tx .mark--ref.is-on .mark__t { color: var(--on-kiln); }
.tx__note { margin-top: clamp(28px, 5vh, 48px); color: var(--on-kiln-muted); font-size: 14px; max-width: 60em; }

/* ---------- Case ---------- */

.cs { background: var(--paper); padding-block: clamp(120px, 14vw, 200px) clamp(100px, 12vw, 180px); overflow: hidden; }
.cs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter); align-items: center; position: relative; }
.cs__fig { grid-column: 1 / span 6; display: grid; gap: 14px; position: relative; z-index: 1; }
.cs__big {
  display: flex; align-items: baseline;
  font-variation-settings: "wdth" 122; font-weight: 600;
  font-size: clamp(104px, 15.5vw, 250px); line-height: 0.8; letter-spacing: -0.065em;
  white-space: nowrap;
  color: var(--orange);
}
.cs__minus { margin-right: 0.02em; }
.cs__pct { font-size: 0.4em; letter-spacing: -0.03em; }
.cs__cap { color: var(--muted); }
.cs__copy { grid-column: 8 / -1; grid-row: 1 / span 2; display: grid; gap: 28px; position: relative; z-index: 1; }
.cs__copy .lede { font-size: 18px; }
.cs__render { grid-column: 1 / span 5; grid-row: 2; margin-top: -10px; pointer-events: none; will-change: transform; }
.cs__render img { width: 100%; height: auto; }

.odo { display: inline-flex; }
.odo__d { position: relative; display: inline-block; height: 0.8em; overflow: hidden; vertical-align: baseline; }
.odo__col { display: flex; flex-direction: column; transform: translateY(0); }
.odo__col > span { display: block; height: 0.8em; line-height: 0.8; }
.odo.is-in .odo__col { transform: translateY(calc(var(--n) * -0.8em)); transition: transform 1600ms var(--ease-in-out) var(--d, 0ms); }

/* ---------- Plant ---------- */

.fx { background: var(--kiln); color: var(--on-kiln); padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 12vw, 160px); }
.fx .eyebrow { color: var(--on-kiln-muted); }
.fx__head { display: grid; gap: 12px; }
.fx__title {
  margin: 0;
  font-variation-settings: "wdth" 125; font-weight: 600;
  font-size: clamp(72px, 15vw, 250px); line-height: 0.82; letter-spacing: -0.06em;
}
.fx__stage { position: relative; margin-top: clamp(32px, 4vw, 56px); }
.fx__frame { position: relative; height: min(88vh, 860px); overflow: hidden; will-change: clip-path; }
.fx__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; will-change: transform; }
.fx__film {
  position: absolute; left: var(--gutter); bottom: var(--gutter);
  display: flex; align-items: center; gap: 16px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: rgba(19, 17, 16, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  color: #fff;
  text-align: left;
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}
.fx__film:active { transform: scale(0.97); }
.fx__film > span:last-child { display: grid; gap: 2px; }
.fx__film .mono { font-size: 11px; color: rgba(255, 255, 255, 0.66); }
.fx__film-t { font-weight: 600; font-size: 17px; }
.fx__play { width: 54px; height: 54px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform 260ms var(--ease-out); }
.fx__play svg { width: 18px; margin-left: 3px; }
@media (hover: hover) and (pointer: fine) {
  .fx__film:hover { background: rgba(19, 17, 16, 0.72); }
  .fx__film:hover .fx__play { transform: scale(1.08); }
}
.fx__team {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter);
  align-items: center;
  margin-top: clamp(96px, 11vw, 170px);
}
.fx__team-copy { grid-column: 1 / span 6; display: grid; gap: 24px; justify-items: start; }
.fx__team-title {
  margin: 0;
  font-variation-settings: "wdth" 118; font-weight: 600;
  font-size: clamp(40px, 5vw, 80px); line-height: 0.92; letter-spacing: -0.045em;
  text-wrap: balance;
}
.fx__team-copy p { margin: 0; color: var(--on-kiln-muted); font-size: 17px; line-height: 1.55; max-width: 30em; }
.fx__team-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fx__team-photo { grid-column: 7 / -1; margin: 0; }
.fx__team-frame { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 884 / 400; background: var(--kiln-2); }
.fx__team-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.fx__team-photo .figcap { color: var(--on-kiln-muted); }
.fx__info {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter);
  margin-top: clamp(64px, 7vw, 104px);
  border-top: 1px solid var(--kiln-line);
}
.fx__info > div { display: grid; gap: 10px; align-content: start; padding-top: 22px; }
.fx__info .mono { color: var(--on-kiln-muted); }
.fx__info p { margin: 0; font-size: 17px; line-height: 1.55; }
.fx__info a { transition: color 160ms ease; }
.fx__map { border-color: rgba(236, 235, 230, 0.3); }
@media (hover: hover) and (pointer: fine) { .fx__info a:hover { color: var(--orange-hi); } }

/* ---------- Orange CTA ---------- */

.ox { background: var(--orange); color: var(--ink); padding-block: clamp(100px, 13vw, 190px) clamp(96px, 11vw, 160px); overflow: hidden; }
.ox__eye { color: rgba(21, 19, 17, 0.7); }
.ox__eye::before { background: var(--ink); }
.ox__title {
  margin: 28px 0 0;
  font-variation-settings: "wdth" 120; font-weight: 600;
  font-size: clamp(48px, 9.2vw, 156px); line-height: 0.88; letter-spacing: -0.055em;
}
.js .ox__title .ln > span { transform: translateY(105%); }
.js .ox__title.is-in .ln > span { transform: none; transition: transform 1000ms var(--ease-out) var(--d, 0ms); }
.ox__row { display: grid; grid-template-columns: auto 1fr; gap: 40px clamp(40px, 7vw, 120px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.ox__cta {
  width: clamp(160px, 15vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-content: center; justify-items: center; gap: 8px;
  font-weight: 500; font-size: 16px; text-align: center;
  will-change: transform;
}
.ox__cta .arw { width: 20px; height: 20px; transition: transform 260ms var(--ease-out); }
.ox__cta:active { scale: 0.96; }
@media (hover: hover) and (pointer: fine) { .ox__cta:hover .arw { transform: translateX(4px); } }
.ox__links { display: grid; border-top: 1px solid rgba(21, 19, 17, 0.25); }
.ox__links a {
  position: relative;
  display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(21, 19, 17, 0.25);
  font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.02em;
  isolation: isolate;
}
.ox__links a::before {
  content: ""; position: absolute; inset: 0 calc(-1 * 16px); z-index: -1;
  background: var(--ink);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 380ms var(--ease-out);
}
.ox__links .mono { color: rgba(21, 19, 17, 0.62); }
.ox__links .arw { width: 18px; height: 18px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ox__links a:hover { color: var(--paper); }
  .ox__links a:hover .mono { color: rgba(230, 229, 225, 0.6); }
  .ox__links a:hover::before { clip-path: inset(0 0 0 0); }
  .ox__links a:hover .arw { transform: translate(2px, -2px); color: var(--orange); }
  .ox__links a { transition: color 240ms ease; }
}

/* ---------- Film dialog ---------- */

.film { padding: 0; border: 0; background: transparent; width: min(1200px, 92vw); max-width: none; overflow: visible; }
.film::backdrop { background: rgba(19, 17, 16, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film[open] { animation: filmIn 360ms var(--ease-out); }
.film[open]::backdrop { animation: fadeIn 300ms ease; }
@keyframes filmIn { from { opacity: 0; transform: scale(0.96); } }
@keyframes fadeIn { from { opacity: 0; } }
.film__box { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.film__video, .film__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film__close {
  position: absolute; top: -52px; right: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1;
  transition: transform 160ms var(--ease-out);
}
.film__close:active { transform: scale(0.94); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hx__bottom { grid-template-columns: 1fr; }
  .hx__aside { justify-content: space-between; }
  .mf__photo, .mf__values { grid-column: 1 / -1; }
  .mf__photo { max-width: 480px; }

  /* No pin on touch-sized screens: the rail becomes a native swipe. */
  .hs__sticky { position: static; height: auto; padding-block: clamp(80px, 12vw, 120px) 0; display: block; }
  .hs__track { width: auto; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 32px var(--gutter) 8px; scroll-padding-inline: var(--gutter); transform: none !important; }
  .hs__track::-webkit-scrollbar { display: none; }
  .hs__intro { width: auto; padding-right: 8px; scroll-snap-align: start; align-content: end; gap: 18px; }
  .hs__title { font-size: clamp(40px, 11vw, 56px); }
  .hs__intro p { font-size: 16px; }
  .hcard { width: auto; height: 460px; scroll-snap-align: start; }
  .hs__foot { grid-template-columns: 1fr; }
  .hs__foot > :first-child, .hs__bar { display: none; }

  .tx { height: 240vh; }
  .tx__head > div:first-child, .tx__read { grid-column: 1 / -1; }
  .tx__read { justify-self: start; text-align: left; }
  .tx__scale { padding-top: 0; }
  .tx .marks { display: none; }
  .tx .scale__legend { display: grid; margin-top: 24px; border-top: 1px solid var(--kiln-line); }
  .tx .legend__row { opacity: 0.32; transition: opacity 300ms ease; }
  .tx .legend__row.is-on { opacity: 1; }
  .tx__head-dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
  .tx__note { display: none; }

  .cs__fig, .cs__copy { grid-column: 1 / -1; }
  .cs__copy { grid-row: auto; }
  .cs__render { width: 80%; justify-self: end; grid-column: 1 / -1; grid-row: auto; margin-top: 0; }

  .fx__frame { height: 62vh; }
  .fx__team-copy, .fx__team-photo { grid-column: 1 / -1; }
  .fx__team-photo { order: -1; }
  .fx__info { grid-template-columns: 1fr; }
  .fx__info > div { padding: 18px 0; border-bottom: 1px solid var(--kiln-line); }
  .ox__row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hx { min-height: 600px; }
  .hx__meta > :first-child { display: none; }
  .hx__meta { justify-content: flex-end; }
  .hx__actions .btn { flex: 1 1 auto; }
  .hx__scroll { display: none; }
  .hs, .tx, .fx, .ox, .footer--bare { border-radius: 20px 20px 0 0; margin-top: -20px; }
  .mf__value { grid-template-columns: 44px 1fr; }
  .tx .legend__row { grid-template-columns: 84px 1fr; padding: 10px 0; }
  .fx__film { left: 12px; bottom: 12px; padding-right: 16px; }
  .fx__play { width: 46px; height: 46px; }
  .ox__links a { grid-template-columns: 1fr auto; }
  .ox__links .mono { grid-column: 1 / -1; }
  .film__close { top: -50px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hx__frame { clip-path: none !important; }
  .js .hx__poster, .js .hx__video { transform: none !important; }
  .js .hx__fade, .js .ox__title .ln > span { opacity: 1; transform: none !important; }
  .hx__scroll-line::after { animation: none; }
  .js .mf__text .w { color: var(--ink); }
  .odo .odo__col { transition-duration: 0ms !important; }
}
