@font-face {
  font-family: "Vietlinker Sans";
  src: url("/demos/realtor/fonts/vietlinker-sans-vietnamese.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Vietlinker Sans";
  src: url("/demos/realtor/fonts/vietlinker-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0d0d;
  --ink-soft: #171a19;
  --bone: #eeede7;
  --paper: #f8f7f2;
  --white: #fff;
  --acid: #d8ff38;
  --orange: #ff633f;
  --blue: #86a7ff;
  --muted: #747974;
  --line: rgb(11 13 13 / 18%);
  --line-light: rgb(255 255 255 / 18%);
  --sans: "Vietlinker Sans", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(calc(100% - 64px), 1480px);
  --demo-h: 34px;
  --header-h: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--demo-h) + var(--header-h) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 850;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: none;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.demo-bar {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: var(--demo-h);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-inline: clamp(1rem, 2vw, 2rem);
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-bar > span,
.demo-bar > a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.demo-bar > span i {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
}

.demo-bar p {
  font-weight: 650;
  text-align: center;
}

.demo-bar > a {
  justify-self: end;
  font-weight: 800;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: var(--demo-h);
  right: 0;
  left: 0;
  display: grid;
  height: var(--header-h);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-inline: clamp(1rem, 2.4vw, 2.75rem);
  border-bottom: 1px solid var(--line-light);
  color: white;
  transition: background-color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(255 255 255 / 10%);
  background: rgb(11 13 13 / 91%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
}

.brand-signal {
  position: relative;
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: end;
  justify-content: center;
  gap: 0.22rem;
  padding-bottom: 0.7rem;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
}

.brand-signal i {
  display: block;
  width: 0.17rem;
  background: var(--acid);
}

.brand-signal i:nth-child(1) { height: 0.65rem; }
.brand-signal i:nth-child(2) { height: 1.1rem; }
.brand-signal i:nth-child(3) { height: 0.82rem; }

.brand-wordmark {
  display: grid;
  gap: 0.15rem;
  line-height: 1;
}

.brand-wordmark strong {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.brand-wordmark small {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.47rem;
  letter-spacing: 0.15em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 3rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.6rem 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.7rem;
  font-weight: 750;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--acid);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: rgb(255 255 255 / 35%);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.language-switch button {
  padding: 0.45rem 0.3rem;
  background: transparent;
  color: rgb(255 255 255 / 44%);
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--acid);
}

.header-cta,
.button,
.form-submit {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.7rem;
  padding: 0.8rem 1rem;
  font-size: 0.68rem;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.header-cta {
  background: white;
  color: var(--ink);
}

.header-cta:hover,
.button:hover,
.form-submit:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 2.8rem;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.38rem;
  border: 1px solid rgb(255 255 255 / 28%);
  background: transparent;
  cursor: pointer;
}

.menu-button i {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: white;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] i:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: var(--demo-h) 0 0;
  padding: calc(var(--header-h) + 2.5rem) 1.2rem 1.5rem;
  background: var(--ink);
  color: white;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu nav {
  border-top: 1px solid var(--line-light);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.75rem, 7vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.045em;
}

.mobile-menu nav b {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0;
}

.mobile-menu__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mobile-menu__footer > div {
  display: flex;
  gap: 0.5rem;
}

.mobile-menu__footer button {
  padding: 0.6rem;
  background: transparent;
  color: rgb(255 255 255 / 45%);
  font-size: 0.62rem;
  font-weight: 800;
}

.mobile-menu__footer button.is-active { color: var(--acid); }
.mobile-menu__footer small { max-width: 12rem; color: rgb(255 255 255 / 38%); font-family: var(--mono); font-size: 0.48rem; text-align: right; }

.hero-scroll {
  height: 205vh;
  height: 205svh;
  background: var(--ink);
}

.hero {
  --hero-progress: 0;
  --hero-video-scale: 1.015;
  --hero-video-x: 0%;
  --hero-video-y: 0%;
  --hero-content-y: 0px;
  --hero-content-opacity: 1;
  --hero-status-y: 0px;
  --hero-status-opacity: 1;
  --hero-cue-opacity: 1;
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: 62% center;
  transform: translate3d(var(--hero-video-x), var(--hero-video-y), 0) scale(var(--hero-video-scale));
  transform-origin: 64% 50%;
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(5 7 7 / 94%) 0%, rgb(5 7 7 / 73%) 37%, rgb(5 7 7 / 19%) 70%, rgb(5 7 7 / 30%) 100%),
    linear-gradient(0deg, rgb(5 7 7 / 86%) 0%, transparent 44%, rgb(5 7 7 / 34%) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(71vw, 75rem);
  padding: calc(var(--demo-h) + var(--header-h) + 4rem) 0 clamp(6.8rem, 9vw, 9rem) clamp(2rem, 4vw, 5rem);
  opacity: var(--hero-content-opacity);
  transform: translate3d(0, var(--hero-content-y), 0);
  will-change: opacity, transform;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.hero-kicker span {
  padding: 0.45rem 0.55rem;
  background: var(--orange);
  color: var(--ink);
  font-weight: 850;
}

.hero-kicker b { color: rgb(255 255 255 / 63%); }

.hero h1,
.positioning h2,
.section-heading h2,
.health-intro h2,
.services-heading h2,
.contact-copy h2 {
  font-size: clamp(3.8rem, 7.8vw, 9rem);
  font-weight: 870;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero h1 span,
.positioning h2 span,
.section-heading h2 span,
.health-intro h2 span,
.services-heading h2 span,
.contact-copy h2 span {
  color: var(--acid);
}

.hero h1 span {
  transition: color 380ms ease;
}

.hero[data-phase="1"] h1 span {
  color: var(--orange);
}

.hero[data-phase="2"] h1 span {
  color: var(--blue);
}

.hero-copy {
  max-width: 47rem;
  margin-top: 1.6rem;
  color: rgb(255 255 255 / 75%);
  font-size: clamp(0.95rem, 1.25vw, 1.17rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button--acid { background: var(--acid); color: var(--ink); }
.button--acid:hover { background: white; }
.button--glass { border: 1px solid rgb(255 255 255 / 35%); background: rgb(11 13 13 / 26%); color: white; backdrop-filter: blur(10px); }
.button--glass:hover { background: white; color: var(--ink); }

.hero-rail {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 2rem;
  display: flex;
  gap: 1.6rem;
  color: rgb(255 255 255 / 52%);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-rail span {
  opacity: 0.32;
  transition: color 280ms ease, opacity 280ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-rail span.is-active {
  color: var(--acid);
  opacity: 1;
  transform: translateY(-0.4rem);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: clamp(1rem, 2vw, 2rem);
  bottom: 1.4rem;
  display: flex;
  border: 1px solid rgb(255 255 255 / 22%);
  background: rgb(11 13 13 / 55%);
  backdrop-filter: blur(12px);
}

.hero-controls button {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  background: transparent;
  color: white;
  font-family: var(--mono);
  font-size: 0.52rem;
  cursor: pointer;
}

.hero-controls button + button { border-left: 1px solid rgb(255 255 255 / 18%); }
.hero-controls i { width: 0.45rem; aspect-ratio: 1; border-radius: 50%; background: var(--acid); }
.hero-controls button[aria-pressed="true"] i { background: var(--orange); }

.hero-status {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 5rem);
  bottom: 6.2rem;
  width: min(23rem, 28vw);
  border-top: 2px solid var(--acid);
  background: rgb(11 13 13 / 64%);
  backdrop-filter: blur(14px);
  opacity: var(--hero-status-opacity);
  transform: translate3d(0, var(--hero-status-y), 0);
  will-change: opacity, transform;
}

.hero-status > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.hero-status small { color: rgb(255 255 255 / 49%); font-family: var(--mono); font-size: 0.48rem; }
.hero-status strong { font-family: var(--mono); font-size: 1.15rem; }
.hero-status__stream {
  position: relative;
  display: grid;
  min-height: 4.7rem;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  color: rgb(255 255 255 / 68%);
  font-size: 0.66rem;
  line-height: 1.55;
}

.hero-status__stream > i {
  width: 0.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgb(216 255 56 / 55%);
  animation: signal-pulse 2s infinite;
}

.hero-status__stream > span {
  position: absolute;
  top: 50%;
  right: 1rem;
  left: 2.15rem;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 300ms ease, transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-status__stream > span.is-active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.hero-scroll-progress {
  position: absolute;
  z-index: 5;
  bottom: 1.55rem;
  left: clamp(2rem, 4vw, 5rem);
  display: grid;
  width: min(17rem, 26vw);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  color: rgb(255 255 255 / 52%);
  font-family: var(--mono);
  font-size: 0.49rem;
}

.hero-scroll-progress > i {
  display: block;
  height: 1px;
  overflow: hidden;
  background: rgb(255 255 255 / 22%);
}

.hero-scroll-progress > i b {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(var(--hero-progress));
  transform-origin: left;
  will-change: transform;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 1.35rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgb(255 255 255 / 52%);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  opacity: var(--hero-cue-opacity);
  transform: translateX(-50%);
}

.hero-scroll-cue i {
  color: var(--acid);
  font-style: normal;
}

@keyframes signal-pulse {
  50% { box-shadow: 0 0 0 8px rgb(216 255 56 / 0%); }
}

.pulse-strip {
  overflow: hidden;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pulse-strip > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.4rem;
  animation: ticker 28s linear infinite;
}

.pulse-strip i { color: var(--orange); font-style: normal; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-code {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.section-code span {
  display: grid;
  width: 2.3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.section-code--light { color: white; }
.section-code--light span { border-color: rgb(255 255 255 / 48%); color: var(--acid); }

.positioning {
  display: grid;
  grid-template-columns: 0.42fr 1.65fr 0.68fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  padding-block: clamp(7rem, 12vw, 13rem);
}

.positioning h2 {
  font-size: clamp(3.3rem, 6.2vw, 7.4rem);
}

.positioning h2 span { color: var(--orange); }

.positioning-note {
  padding-top: 0.3rem;
}

.positioning-note p {
  color: #565b57;
  font-size: 0.9rem;
  line-height: 1.8;
}

.positioning-note span {
  display: block;
  margin-top: 2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.case-section {
  padding: clamp(6rem, 10vw, 11rem) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.3fr 0.68fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.section-heading h2 {
  font-size: clamp(3.5rem, 6.7vw, 7.9rem);
}

.section-heading h2 span { color: var(--orange); }

.section-heading > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.case-stack {
  display: grid;
  gap: clamp(5rem, 10vw, 11rem);
}

.case-file {
  --case-progress: 0;
  --case-image-scale: 1.035;
  --case-image-y: 0%;
  --case-copy-y: 0px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(21rem, 0.66fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}

.case-file:not(.case-file--compact) {
  min-height: 108vh;
  min-height: 108svh;
  align-items: start;
}

.case-file:not(.case-file--compact) figure {
  position: sticky;
  top: calc(var(--demo-h) + var(--header-h) + 1.5rem);
  height: calc(100vh - var(--demo-h) - var(--header-h) - 3rem);
  height: calc(100svh - var(--demo-h) - var(--header-h) - 3rem);
  min-height: 31rem;
  aspect-ratio: auto;
}

.case-file:not(.case-file--compact) .case-copy {
  margin-top: clamp(7rem, 18vh, 12rem);
  transform: translate3d(0, var(--case-copy-y), 0);
  will-change: transform;
}

.case-file--reverse {
  grid-template-columns: minmax(21rem, 0.72fr) minmax(0, 1.28fr);
}

.case-file--reverse figure { order: 2; }

.case-file figure {
  position: relative;
  aspect-ratio: 1.48;
  overflow: hidden;
  background: var(--ink);
}

.case-file figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(11 13 13 / 72%), transparent 38%);
  content: "";
}

.case-file figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--case-image-y), 0) scale(var(--case-image-scale));
  transition: filter 500ms ease;
  will-change: transform;
}

.case-file:hover figure img { filter: saturate(1.08); }

.case-file figcaption {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: white;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.case-file figcaption span { color: rgb(255 255 255 / 55%); }

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.case-meta b { color: var(--orange); }

.case-readout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.48rem;
  font-style: normal;
}

.case-readout > i {
  display: block;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.case-readout > i b {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(var(--case-progress));
  transform-origin: left;
}

.case-readout em {
  font-style: normal;
}

.case-copy h3 {
  margin-top: 1.6rem;
  font-size: clamp(2rem, 3.6vw, 4.35rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.case-copy > p {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.case-copy dl {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.case-copy dl > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  opacity: 0.35;
  transform: translate3d(0, 12px, 0);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-copy dl > div.is-revealed {
  opacity: 1;
  transform: none;
}

.case-copy dt {
  display: grid;
  width: 1.9rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.case-copy dd { display: grid; gap: 0.15rem; }
.case-copy dd b { font-size: 0.72rem; }
.case-copy dd span { color: var(--muted); font-size: 0.72rem; }

.case-file--compact {
  grid-template-columns: minmax(20rem, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  background: var(--orange);
}

.case-file--compact figure {
  height: 100%;
  min-height: 37rem;
  aspect-ratio: auto;
}

.case-file--compact .case-copy {
  padding: clamp(2rem, 5vw, 6rem);
}

.case-file--compact .case-meta { border-color: rgb(11 13 13 / 25%); }
.case-file--compact .case-meta b { color: var(--ink); }
.case-file--compact .case-readout { color: rgb(11 13 13 / 58%); }
.case-file--compact .case-readout > i { background: rgb(11 13 13 / 24%); }
.case-file--compact .case-readout > i b { background: var(--ink); }
.case-file--compact .case-copy > p { color: rgb(11 13 13 / 72%); }
.case-file--compact .case-copy > a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0.85rem 1rem;
  background: var(--ink);
  color: white;
  font-size: 0.68rem;
  font-weight: 850;
}

.feedback-wall {
  padding: clamp(7rem, 11vw, 12rem) 0 0;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.feedback-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.3fr 0.68fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.feedback-heading h2 {
  font-size: clamp(3.1rem, 5.8vw, 7rem);
  font-weight: 860;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.feedback-heading > p {
  color: rgb(255 255 255 / 54%);
  font-size: 0.78rem;
  line-height: 1.75;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.feedback {
  display: flex;
  min-height: 27rem;
  grid-column: span 4;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.feedback--wide { grid-column: span 8; }
.feedback--acid { background: var(--acid); color: var(--ink); }
.feedback--orange { grid-column: span 8; background: var(--orange); color: var(--ink); }
.feedback > span { font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.1em; opacity: 0.55; }
.feedback > p { max-width: 19ch; margin-block: 2rem; font-size: clamp(1.85rem, 3.3vw, 4.25rem); font-weight: 830; letter-spacing: -0.05em; line-height: 1.04; }
.feedback--wide > p,
.feedback--orange > p { max-width: 27ch; }
.feedback footer { display: grid; gap: 0.3rem; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.06em; }
.feedback footer small { opacity: 0.55; }

.feedback-ticker {
  overflow: hidden;
  padding: 0.9rem 0;
  background: white;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.feedback-ticker > div {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  animation: ticker 22s linear infinite reverse;
}

.feedback-ticker i { color: var(--orange); font-style: normal; }

.watch-section {
  padding: clamp(7rem, 12vw, 13rem) 0;
  background: var(--bone);
}

.video-program {
  display: grid;
  gap: clamp(4rem, 8vw, 8rem);
}

.video-feature,
.video-secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(20rem, 0.62fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
}

.video-secondary {
  grid-template-columns: minmax(20rem, 0.65fr) minmax(0, 1.35fr);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.6rem 0.75rem;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.video-copy > p:first-child {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.video-copy h3 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 4.1vw, 5rem);
  font-weight: 860;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.video-copy > p:not(:first-child) {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.video-copy button {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.67rem;
  font-weight: 850;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.video-copy button:hover { background: var(--ink); color: white; }

.health-check {
  padding: clamp(7rem, 11vw, 12rem) 0;
  background: var(--blue);
  color: var(--ink);
}

.health-shell {
  display: grid;
  grid-template-columns: minmax(19rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.health-intro h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.1rem, 5.6vw, 6.7rem);
}

.health-intro h2 span { color: white; }
.health-intro > p { max-width: 32rem; margin-top: 1.6rem; color: rgb(11 13 13 / 68%); font-size: 0.86rem; line-height: 1.8; }

.check-tool {
  border-top: 3px solid var(--ink);
  background: var(--paper);
}

.check-options button {
  display: grid;
  width: 100%;
  min-height: 5.2rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.check-options button:hover { background: white; }
.check-options button[aria-pressed="true"] { background: var(--acid); }
.check-options button > span { font-family: var(--mono); font-size: 0.57rem; }
.check-options button b { font-size: clamp(0.9rem, 1.4vw, 1.15rem); }
.check-options button i { position: relative; width: 1.5rem; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.check-options button[aria-pressed="true"] i::before,
.check-options button[aria-pressed="true"] i::after { position: absolute; top: 50%; left: 50%; width: 0.7rem; height: 2px; background: var(--ink); content: ""; transform: translate(-50%, -50%); }
.check-options button[aria-pressed="true"] i::after { transform: translate(-50%, -50%) rotate(90deg); }

.check-result {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: var(--ink);
  color: white;
}

.check-result > span { color: var(--acid); font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.1em; }
.check-result strong { display: block; margin-top: 0.8rem; font-size: clamp(1.5rem, 2.4vw, 2.55rem); font-weight: 820; letter-spacing: -0.045em; line-height: 1.08; }
.check-result p { margin-top: 0.75rem; color: rgb(255 255 255 / 60%); font-size: 0.75rem; line-height: 1.65; }
.check-result a { display: flex; width: fit-content; align-items: center; gap: 2rem; margin-top: 1.4rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--acid); color: var(--acid); font-size: 0.68rem; font-weight: 800; }

.services-section {
  padding: clamp(7rem, 12vw, 13rem) 0;
  background: var(--paper);
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(20rem, 0.67fr) minmax(0, 1.33fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.services-heading {
  position: sticky;
  top: calc(var(--demo-h) + var(--header-h) + 2rem);
}

.services-heading h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.1rem, 5.1vw, 6.3rem);
}

.services-heading h2 span { color: var(--orange); }
.services-heading > p { max-width: 31rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.84rem; line-height: 1.8; }

.service-lines {
  border-top: 2px solid var(--ink);
}

.service-lines article {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-key { font-family: var(--mono); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; }
.service-lines h3 { font-size: clamp(2rem, 3.5vw, 4.2rem); font-weight: 850; letter-spacing: -0.055em; line-height: 0.98; }
.service-lines article > div p { margin-top: 0.8rem; color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.service-lines ul { display: flex; grid-column: 2; flex-wrap: wrap; gap: 0.5rem; }
.service-lines li { padding: 0.45rem 0.6rem; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.52rem; }
.service-lines button { display: flex; width: fit-content; grid-column: 2; align-items: center; gap: 2rem; padding: 0.75rem 0.9rem; background: var(--ink); color: white; font-size: 0.64rem; font-weight: 800; cursor: pointer; }
.scope-note { grid-column: 2; max-width: 48rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.53rem; line-height: 1.7; }

.journal-section {
  padding: clamp(7rem, 11vw, 12rem) 0;
  background: var(--acid);
}

.journal-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.journal-heading h2 {
  max-width: 18ch;
  font-size: clamp(3.2rem, 6.1vw, 7.25rem);
  font-weight: 870;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.journal-list {
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 3px solid var(--ink);
}

.journal-list article {
  display: grid;
  grid-template-columns: 0.32fr 1.2fr 0.74fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  min-height: 10rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgb(11 13 13 / 34%);
}

.journal-list article > span { font-family: var(--mono); font-size: 0.53rem; letter-spacing: 0.08em; }
.journal-list h3 { font-size: clamp(1.45rem, 2.5vw, 2.9rem); font-weight: 830; letter-spacing: -0.045em; line-height: 1.04; }
.journal-list p { color: rgb(11 13 13 / 66%); font-size: 0.7rem; line-height: 1.65; }
.journal-list button { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 0.62rem; font-weight: 850; white-space: nowrap; cursor: pointer; }
.journal-disclaimer { max-width: 56rem; margin: 1.5rem 0 0 auto; font-family: var(--mono); font-size: 0.52rem; line-height: 1.7; }

.contact-section {
  padding: clamp(7rem, 11vw, 12rem) 0;
  background: var(--ink);
  color: white;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(27rem, 1.08fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-copy h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.2rem, 5.7vw, 6.8rem);
}

.contact-copy h2 span { color: var(--orange); }
.contact-copy > p { max-width: 42rem; margin-top: 1.5rem; color: rgb(255 255 255 / 60%); font-size: 0.86rem; line-height: 1.8; }

.contact-safety {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
}

.contact-safety > i { position: relative; width: 1.8rem; height: 1.45rem; margin-top: 0.3rem; border: 2px solid var(--acid); border-radius: 0.15rem; }
.contact-safety > i::before { position: absolute; bottom: 100%; left: 50%; width: 0.9rem; height: 0.8rem; border: 2px solid var(--acid); border-bottom: 0; border-radius: 0.8rem 0.8rem 0 0; content: ""; transform: translateX(-50%); }
.contact-safety p { display: grid; gap: 0.25rem; }
.contact-safety b { color: var(--acid); font-size: 0.8rem; }
.contact-safety span { color: rgb(255 255 255 / 52%); font-size: 0.68rem; line-height: 1.6; }

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
  color: var(--ink);
}

.form-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.form-id b { color: var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.form-grid label { display: grid; gap: 0.45rem; }
.form-grid label > span { font-family: var(--mono); font-size: 0.54rem; font-weight: 800; letter-spacing: 0.06em; }
.form-grid input,
.form-grid select { width: 100%; min-width: 0; min-height: 3.25rem; padding: 0.7rem 0.8rem; border: 1px solid rgb(11 13 13 / 28%); border-radius: 0; outline: 0; background: white; font-size: 0.78rem; }
.form-grid input:focus,
.form-grid select:focus { border-color: var(--ink); box-shadow: inset 0 -3px var(--acid); }
.form-grid select[data-touched="true"]:invalid { border-color: #b52617; }
.form-warning { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.2rem; padding: 0.8rem; border: 1px solid rgb(255 99 63 / 48%); background: rgb(255 99 63 / 9%); color: #7d1b10; font-size: 0.65rem; }
.form-warning b { display: grid; width: 1.4rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--orange); color: var(--ink); }
.form-submit { width: 100%; margin-top: 1.1rem; background: var(--ink); color: white; cursor: pointer; }
.form-submit:hover { background: var(--orange); color: var(--ink); }
.contact-form > p { margin-top: 0.75rem; color: var(--muted); font-family: var(--mono); font-size: 0.5rem; line-height: 1.6; }

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--ink-soft);
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-top > p { max-width: 34rem; color: rgb(255 255 255 / 48%); font-size: 0.72rem; }
.footer-top > a:last-child { display: flex; gap: 1rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--acid); color: var(--acid); font-size: 0.65rem; font-weight: 800; }
.footer-legal { display: grid; grid-template-columns: 1fr auto; gap: 2rem; margin-top: 2rem; color: rgb(255 255 255 / 35%); font-family: var(--mono); font-size: 0.48rem; line-height: 1.7; }
.footer-legal p { max-width: 73rem; }

.video-dialog {
  width: min(calc(100% - 2rem), 70rem);
  max-width: none;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: white;
  box-shadow: 0 30px 90px rgb(0 0 0 / 55%);
}

.video-dialog::backdrop { background: rgb(0 0 0 / 78%); backdrop-filter: blur(8px); }
.dialog-top { display: flex; min-height: 3.5rem; align-items: center; justify-content: space-between; padding-left: 1rem; border-bottom: 1px solid var(--line-light); color: var(--acid); font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.08em; }
.dialog-top button { width: 3.5rem; align-self: stretch; border-left: 1px solid var(--line-light); background: transparent; color: white; font-size: 1.4rem; cursor: pointer; }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; background: black; }
.video-dialog > p { padding: 1rem; color: rgb(255 255 255 / 48%); font-size: 0.65rem; line-height: 1.6; }

.toast {
  position: fixed;
  z-index: 220;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: min(calc(100% - 2rem), 25rem);
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-left: 4px solid var(--acid);
  background: var(--ink);
  color: white;
  box-shadow: 0 20px 60px rgb(0 0 0 / 32%);
}

.toast[hidden] { display: none; }
.toast div { display: grid; gap: 0.25rem; }
.toast b { font-size: 0.75rem; }
.toast p { color: rgb(255 255 255 / 58%); font-size: 0.65rem; line-height: 1.55; }
.toast button { background: transparent; color: white; font-size: 1rem; cursor: pointer; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  :root { --shell: min(calc(100% - 40px), 1480px); }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .header-cta { display: none; }
  .hero-content { width: min(78vw, 66rem); padding-left: 2.5rem; }
  .hero-status { width: min(20rem, 30vw); }
  .positioning,
  .section-heading,
  .feedback-heading { grid-template-columns: 0.35fr 1.65fr; }
  .positioning-note,
  .section-heading > p,
  .feedback-heading > p { grid-column: 2; max-width: 40rem; }
  .case-file,
  .case-file--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr); gap: 2.5rem; }
  .feedback { grid-column: span 6; }
  .feedback--wide { grid-column: span 6; }
  .feedback--orange { grid-column: span 6; }
  .video-feature,
  .video-secondary { gap: 2.5rem; }
  .services-shell { gap: 3rem; }
}

@media (max-width: 900px) {
  .hero-scroll {
    height: 190vh;
    height: 190svh;
  }

  .demo-bar { grid-template-columns: 1fr auto; }
  .demo-bar p { display: none; }
  .hero-content { width: calc(100% - 2rem); padding-right: 1rem; padding-left: 1rem; }
  .hero h1 { font-size: clamp(3.4rem, 10.8vw, 6.4rem); }
  .hero-status { display: none; }
  .hero-rail { display: none; }
  .case-file,
  .case-file--reverse { grid-template-columns: 1fr; }
  .case-file:not(.case-file--compact) {
    min-height: 0;
  }
  .case-file:not(.case-file--compact) figure {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.35;
  }
  .case-file:not(.case-file--compact) .case-copy {
    margin-top: 0;
  }
  .case-file--reverse figure { order: 0; }
  .case-file figure { aspect-ratio: 1.35; }
  .case-copy { max-width: 44rem; }
  .case-file--compact { grid-template-columns: 1fr; }
  .case-file--compact figure { min-height: 28rem; }
  .video-feature,
  .video-secondary { grid-template-columns: 1fr; }
  .video-secondary .video-copy { order: 2; }
  .health-shell,
  .services-shell,
  .contact-shell { grid-template-columns: 1fr; }
  .services-heading { position: static; }
  .scope-note { grid-column: 1; }
  .journal-list article { grid-template-columns: 0.35fr 1.35fr auto; }
  .journal-list p { display: none; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top > p { display: none; }
}

@media (max-width: 680px) {
  :root { --shell: min(calc(100% - 32px), 1480px); --header-h: 66px; }
  .demo-bar { font-size: 0.49rem; }
  .demo-bar > a span:first-child { display: none; }
  .site-header { padding-inline: 1rem; }
  .brand-signal { width: 2.3rem; height: 2.3rem; padding-bottom: 0.58rem; }
  .brand-wordmark strong { font-size: 0.75rem; }
  .language-switch { display: none; }
  .hero-video { object-position: 67% center; }
  .hero-scroll {
    height: 180vh;
    height: 180svh;
  }
  .hero {
    min-height: 560px;
  }
  .hero-shade { background: linear-gradient(0deg, rgb(5 7 7 / 96%) 0%, rgb(5 7 7 / 68%) 42%, rgb(5 7 7 / 18%) 72%, rgb(5 7 7 / 48%) 100%); }
  .hero-content { width: 100%; padding-bottom: 8rem; }
  .hero-kicker { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.8rem); line-height: 0.9; }
  .hero-copy { display: -webkit-box; overflow: hidden; font-size: 0.86rem; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-controls { right: 1rem; bottom: 1rem; left: 1rem; justify-content: stretch; }
  .hero-controls button { flex: 1; justify-content: center; }
  .hero-scroll-progress {
    right: 1rem;
    bottom: 4.6rem;
    left: 1rem;
    width: auto;
  }
  .hero-scroll-cue { display: none; }
  .positioning,
  .section-heading,
  .feedback-heading,
  .journal-heading { grid-template-columns: 1fr; gap: 1.6rem; }
  .positioning-note,
  .section-heading > p,
  .feedback-heading > p { grid-column: auto; }
  .positioning h2,
  .section-heading h2,
  .feedback-heading h2,
  .health-intro h2,
  .services-heading h2,
  .contact-copy h2,
  .journal-heading h2 { font-size: clamp(2.9rem, 13vw, 4.7rem); }
  .case-stack { gap: 5rem; }
  .case-file figure { aspect-ratio: 0.98; }
  .case-file:not(.case-file--compact) figure { aspect-ratio: 0.98; }
  .case-file figure img { object-position: 66% center; }
  .case-copy h3 { font-size: clamp(2rem, 9vw, 3.1rem); }
  .case-file--compact figure { min-height: 23rem; }
  .case-file--compact .case-copy { padding: 1.5rem; }
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback,
  .feedback--wide,
  .feedback--orange { min-height: 22rem; grid-column: 1; }
  .feedback > p { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .video-copy h3 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .check-options button { min-height: 4.7rem; }
  .service-lines article { grid-template-columns: 1fr; }
  .service-lines ul,
  .service-lines button { grid-column: 1; }
  .journal-list article { grid-template-columns: 1fr auto; gap: 0.8rem; }
  .journal-list article > span { grid-column: 1 / -1; }
  .journal-list h3 { font-size: 1.45rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > a:last-child { width: fit-content; }
  .footer-legal { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .demo-bar > span b { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero h1 { font-size: 2.75rem; }
  .hero-copy { -webkit-line-clamp: 3; }
  .hero-actions .button--glass { display: none; }
  .case-meta { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
  .journal-list button span:first-child { display: none; }
}

@media (max-height: 680px) and (min-aspect-ratio: 4 / 3) {
  .hero-scroll {
    height: auto;
  }

  .hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 0;
    align-items: end;
  }

  .hero-content {
    padding-top: calc(var(--demo-h) + var(--header-h) + 1.25rem);
    padding-bottom: 5.25rem;
  }

  .hero-kicker {
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 7.2vw, 5.25rem);
  }

  .hero-copy {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.8rem;
    font-size: 0.82rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .hero-status {
    bottom: 4.75rem;
  }

  .hero-status,
  .hero-rail,
  .hero-scroll-progress,
  .hero-scroll-cue {
    display: none;
  }

  .case-file:not(.case-file--compact) {
    min-height: 0;
    align-items: center;
  }

  .case-file:not(.case-file--compact) figure {
    position: relative;
    top: auto;
    height: min(68svh, 34rem);
    min-height: 0;
    aspect-ratio: auto;
  }

  .case-file:not(.case-file--compact) .case-copy {
    margin-top: 0;
    transform: none;
  }

  .case-copy dl > div {
    opacity: 1;
    transform: none;
  }
}

@media (max-height: 480px) and (min-aspect-ratio: 4 / 3) {
  .hero-content {
    padding-top: calc(var(--demo-h) + var(--header-h) + 0.5rem);
    padding-bottom: 3.75rem;
  }

  .hero-kicker {
    margin-bottom: 0.5rem;
  }

  .hero-kicker b,
  .hero-copy,
  .hero-actions .button--glass {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 6.4vw, 3.6rem);
  }

  .hero-actions {
    margin-top: 0.75rem;
  }

  .hero-controls {
    bottom: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video { display: none; }
  .hero-controls { display: none; }
  .hero-scroll {
    height: auto;
  }
  .hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero { background: #101513 url("./hero-business-tax.webp") 64% center / cover no-repeat; }
  .hero-content,
  .hero-status,
  .case-file:not(.case-file--compact) .case-copy,
  .case-file figure img {
    opacity: 1;
    transform: none;
  }
  .hero-scroll-progress,
  .hero-scroll-cue {
    display: none;
  }
  .case-file:not(.case-file--compact) {
    min-height: 0;
  }
  .case-file:not(.case-file--compact) figure {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.48;
  }
  .case-file:not(.case-file--compact) .case-copy {
    margin-top: 0;
  }
  .case-copy dl > div {
    opacity: 1;
    transform: none;
  }
  .pulse-strip > div,
  .feedback-ticker > div { width: auto; flex-wrap: wrap; justify-content: center; white-space: normal; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #3e423f; }
  .hero-shade { background: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 88%) 52%, rgb(0 0 0 / 42%) 100%); }
  .hero-copy,
  .contact-copy > p { color: white; }
  .site-header { background: #000; }
}
