:root {
  --bg: #000;
  --ink: #e3e8ef;
  --muted: #8b8b8b;
  --muted-2: #5f5f5f;
  --panel: #202020;
  --panel-2: #292929;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --accent: #75d1e5;
  --accent-soft: #bcecf5;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--muted);
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
}

body::selection {
  color: #000;
  background: var(--accent);
}

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

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

.site-header {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto 28px;
  align-items: start;
  gap: clamp(22px, 4vw, 52px);
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: 24px clamp(15px, 3.2vw, 44px) 0;
  min-height: 156px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f4f4f4;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: 0;
}

.wordmark > span:last-child > span {
  font-weight: 700;
}

.wordmark-logo {
  width: clamp(38px, 4.2vw, 58px);
  height: clamp(38px, 4.2vw, 58px);
  object-fit: contain;
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-top: 28px;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.store-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.store-brand:hover,
.store-brand:focus-visible {
  color: var(--accent);
}

.mark-box {
  width: clamp(34px, 4vw, 52px);
  aspect-ratio: 1;
  border: 2px solid #fff;
  transform: rotate(30deg);
  opacity: 0.92;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 17px 31px;
  max-width: 700px;
  padding-top: 38px;
  color: #f2f2f2;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.cart-link:hover,
.cart-link:focus-visible {
  color: var(--accent);
}

.cart-link {
  position: relative;
  padding-top: 36px;
  color: #f2f2f2;
  font-size: 0.75rem;
}

.cart-link::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 43px;
  width: 11px;
  height: 8px;
  border: 1px solid currentColor;
  border-top: 0;
}

.title-hero {
  min-height: clamp(410px, 55vh, 610px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: clamp(30px, 6vw, 82px) 18px clamp(75px, 9vw, 126px);
  text-align: center;
}

.kicker,
.tiny-label {
  margin: 0;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.kicker {
  font-size: clamp(1.9rem, 3.3vw, 3.2rem);
}

.title-hero h1,
.hero-type,
.copy-column h2,
.center-feature h2,
.big-center,
.workflow-copy h2,
.buy-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.title-hero h1 {
  font-size: clamp(4.5rem, 11vw, 10rem);
}

.hero-type {
  color: #d8d8d8;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 300;
}

.hero-media-block,
.gallery-stack,
.cinema-strip {
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto;
}

.wide-compare {
  position: relative;
  aspect-ratio: 2.04 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #080808;
}

.wide-compare > img,
.compare-after img,
.cinema-strip video,
.workflow-image img,
.resolve-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
}

.compare-handle {
  position: absolute;
  left: 58%;
  bottom: 23px;
  transform: translateX(-50%);
  width: min(42%, 520px);
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: ew-resize;
}

.compare-handle::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
}

.compare-handle span {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 1px;
  height: 26px;
  background: currentColor;
}

.compare-labels {
  position: absolute;
  inset: auto 16px 15px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.56);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 300;
}

.hairline {
  width: min(310px, 42vw);
  height: 1px;
  margin: clamp(125px, 16vw, 210px) auto clamp(115px, 15vw, 190px);
  background: var(--line);
}

.section-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  width: min(1026px, calc(100% - 30px));
  margin: 0 auto clamp(120px, 17vw, 230px);
}

/* Keep the promise close to the product story instead of leaving a large empty gap. */
.product-intro.section-pair {
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-pair.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.78fr);
}

.interface-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.interface-panel img {
  width: 100%;
}

.slim-ui {
  padding: 22px;
  background: var(--panel);
}

.slim-ui img {
  border-radius: 4px;
}

.copy-column {
  max-width: 520px;
}

.tiny-label {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4.2vw, 4.1rem);
}

.copy-column h2 {
  color: var(--accent);
  font-size: clamp(4rem, 8.5vw, 7.8rem);
}

.copy-column h2 span,
.buy-copy h2 span {
  color: var(--accent-soft);
  font-weight: 300;
}

.copy-column p,
.workflow-copy p,
.buy-copy p,
.parameter p,
.install-list p,
.site-footer span,
.site-footer a {
  color: var(--muted);
  font-size: clamp(1rem, 1.24vw, 1.16rem);
  line-height: 1.75;
}

.center-feature {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: clamp(250px, 32vh, 360px);
  padding: clamp(22px, 3vw, 36px) 20px;
  text-align: center;
}

.center-feature h2 {
  max-width: 720px;
  color: var(--accent);
  font-size: clamp(4rem, 8.5vw, 7.8rem);
  font-weight: 700;
  text-transform: uppercase;
}

.center-feature h2 span {
  color: var(--accent-soft);
  font-weight: 300;
}

.center-feature-copy {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.24vw, 1.16rem);
  line-height: 1.75;
}

.center-feature.compact {
  min-height: clamp(340px, 48vh, 520px);
}

.cinema-strip {
  aspect-ratio: 2.39 / 1;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: clamp(128px, 18vw, 240px);
}

.gallery-stack {
  display: grid;
  gap: clamp(40px, 7vw, 92px);
  margin-bottom: clamp(130px, 17vw, 230px);
}

.look-row .wide-compare {
  aspect-ratio: 1.44 / 1;
}

.parameter-section {
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto clamp(128px, 17vw, 230px);
}

.big-center {
  color: var(--ink);
  font-size: clamp(3.7rem, 8vw, 8.2rem);
  text-align: center;
}

.parameter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 6vw, 72px);
  background: var(--line-soft);
}

.parameter {
  min-height: 260px;
  padding: clamp(26px, 4vw, 48px);
  background: #030303;
}

.parameter h3 {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: 0;
}

.workflow-section,
.buy-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto clamp(128px, 17vw, 230px);
}

.workflow-image {
  aspect-ratio: 1.66 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.workflow-copy h2 {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: clamp(3.2rem, 5.9vw, 6rem);
}

.install-section {
  width: min(960px, calc(100% - 30px));
  margin: 0 auto clamp(128px, 17vw, 230px);
  text-align: center;
}

.install-section .tiny-label {
  color: var(--accent);
}

.install-list {
  margin-top: clamp(42px, 6vw, 74px);
  text-align: left;
  border-top: 1px solid var(--line-soft);
}

.install-list p {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.install-list span {
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.buy-section {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: start;
  padding-top: clamp(20px, 4vw, 52px);
}

.buy-copy h2 {
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(3.4rem, 6.8vw, 7rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  color: #f2f2f2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.button.primary {
  border-color: var(--accent);
  color: #000;
  background: var(--accent);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #000;
  background: var(--accent-soft);
}

.buy-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto;
  padding: 62px 0 84px;
  border-top: 1px solid var(--line-soft);
}

.site-footer div {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 900ms ease, transform 900ms ease;
}

/* Hide only after JavaScript is ready, so local-file and slow-load views never lose content. */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(36px);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header,
  .section-pair,
  .section-pair.reverse,
  .workflow-section,
  .buy-section,
  .parameter-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    min-height: auto;
    gap: 22px;
  }

  .site-nav {
    justify-content: flex-start;
    padding-top: 0;
  }

  .store-brand {
    padding-top: 0;
  }

  .cart-link {
    display: none;
  }

  .title-hero {
    min-height: 390px;
  }

  .copy-column {
    max-width: 100%;
  }

  .reverse .copy-column {
    order: -1;
  }

  .parameter {
    min-height: 190px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 660px) {
  .site-header {
    padding-top: 18px;
  }

  .wordmark {
    font-size: clamp(2.25rem, 16vw, 3.8rem);
  }

  .mark-box {
    width: 30px;
  }

  .store-brand {
    gap: 7px;
    font-size: 1.08rem;
  }

  .store-brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 12px 18px;
    font-size: 0.74rem;
  }

  .title-hero {
    min-height: 360px;
    padding-bottom: 58px;
  }

  .wide-compare,
  .look-row .wide-compare,
  .cinema-strip {
    aspect-ratio: 1.08 / 1;
  }

  .compare-labels {
    inset: auto 11px 12px;
    font-size: 1.15rem;
  }

  .compare-handle {
    bottom: 34px;
    width: 56%;
  }

  .hairline {
    margin-top: 90px;
    margin-bottom: 86px;
  }

  .section-pair,
  .gallery-stack,
  .workflow-section,
  .buy-section,
  .parameter-section,
  .install-section {
    margin-bottom: 104px;
  }

  .center-feature {
    min-height: 250px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .cinema-strip {
    margin-bottom: 104px;
  }

  .install-list p {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .button {
    width: 100%;
  }
}

/* AVF FilmGrade-V1 integration */
.hero-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
}

.hero-action {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 180ms ease, border-color 180ms ease;
}

.hero-action.primary,
.hero-action:hover,
.hero-action:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.text-links,
.support-links {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.text-links a,
.inline-arrow,
.support-links a {
  width: fit-content;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  transition: color 180ms ease;
}

.text-links a:hover,
.text-links a:focus-visible,
.inline-arrow:hover,
.inline-arrow:focus-visible,
.support-links a:hover,
.support-links a:focus-visible {
  color: var(--accent-soft);
}

.inline-arrow {
  display: inline-block;
  margin-top: 14px;
}

/* Keep the source frames whole so Log / Rec.709 / graded comparisons are not cropped. */
.wide-compare {
  aspect-ratio: auto;
}

.wide-compare > img,
.compare-after img {
  height: auto;
  object-fit: contain;
}

.stage-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 22px);
}

.stage-strip figure {
  margin: 0;
}

.stage-strip img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #080808;
}

.stage-strip figcaption {
  margin-top: 13px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  letter-spacing: 0.06em;
}

.parameter-grid-detailed {
  align-items: stretch;
}

.parameter-grid-detailed .parameter {
  min-height: 100%;
}

.parameter-grid-detailed .parameter p {
  margin: 0 0 12px;
  font-size: clamp(0.9rem, 1.1vw, 1.04rem);
  line-height: 1.55;
}

.parameter-grid-detailed .parameter p:last-child {
  margin-bottom: 0;
}

.parameter strong {
  color: var(--ink);
  font-weight: 600;
}

.centered-buttons {
  justify-content: center;
}

.purchase-options {
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.purchase-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color 180ms ease, border-color 180ms ease;
}

.purchase-line:hover,
.purchase-line:focus-visible {
  color: var(--accent-soft);
  border-color: var(--accent);
}

.purchase-line span {
  display: grid;
  gap: 6px;
}

.purchase-line strong,
.purchase-line b {
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
  letter-spacing: 0.02em;
}

.purchase-line small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.purchase-line b {
  color: var(--accent);
  white-space: nowrap;
}

.demo-line b {
  color: var(--accent-soft);
}

.fine-print {
  max-width: 620px;
  margin-top: 25px;
  color: var(--muted-2) !important;
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  width: min(960px, calc(100% - 30px));
  margin: 0 auto clamp(120px, 16vw, 210px);
  padding-top: 38px;
  border-top: 1px solid var(--line-soft);
}

.support-section .tiny-label {
  color: var(--ink);
}

.support-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

@media (max-width: 980px) {
  .support-section {
    grid-template-columns: 1fr;
  }

  .support-links {
    margin-top: 10px;
  }
}

@media (max-width: 660px) {
  .hero-note {
    max-width: 280px;
    text-align: center;
    line-height: 1.45;
  }

  .stage-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .stage-strip figure {
    flex: 0 0 min(78vw, 360px);
    scroll-snap-align: start;
  }

  .stage-strip figcaption {
    margin-top: 8px;
    font-size: 0.88rem;
  }

  .purchase-line {
    align-items: flex-start;
  }

  .purchase-line strong {
    font-size: 1.25rem;
  }

  .purchase-line small {
    font-size: 0.68rem;
  }

  .support-links {
    grid-template-columns: 1fr;
  }
}

.footage-section {
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto clamp(128px, 17vw, 230px);
}

.footage-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(300px, 1fr) minmax(220px, 0.75fr);
  align-items: end;
  gap: clamp(28px, 5vw, 76px);
  margin-bottom: clamp(44px, 7vw, 78px);
}

.footage-heading .tiny-label {
  align-self: start;
  color: var(--accent);
}

.footage-heading .big-center {
  text-align: left;
}

.footage-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.footage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(66px, 10vw, 138px);
}

.footage-card {
  margin: 0;
  background: #050505;
}

.footage-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b0b0b;
}

.footage-card figcaption {
  padding: 14px 0 0;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

@media (max-width: 980px) {
  .footage-heading {
    grid-template-columns: 1fr 1fr;
  }

  .footage-heading > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 660px) {
  .footage-heading,
  .footage-grid {
    grid-template-columns: 1fr;
  }

  .footage-heading .big-center {
    text-align: center;
  }

  .footage-heading > p:last-child {
    grid-column: auto;
  }
}

.cinema-strip-primary {
  margin-bottom: clamp(48px, 7vw, 84px);
}

.cinema-strip-secondary {
  aspect-ratio: auto;
  overflow: visible;
  margin-bottom: clamp(92px, 13vw, 170px);
}

.cinema-strip-secondary video {
  height: auto;
  aspect-ratio: 2.39 / 1;
  border-radius: 10px;
}

.video-caption {
  margin: 13px 0 0;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: 0.06em;
}

/* Give every clip a clear explanation without letting the copy compete with the image. */
.cinema-strip-with-copy {
  aspect-ratio: auto;
  overflow: visible;
}

.cinema-strip-with-copy video {
  width: 100%;
  height: auto;
  aspect-ratio: 2.39 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.video-description {
  max-width: 64ch;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.08vw, 1rem);
  line-height: 1.65;
}

.video-description strong {
  color: var(--ink);
  font-weight: 600;
}

.footage-card {
  min-width: 0;
}

.footage-card .video-description {
  max-width: none;
  margin-top: 10px;
}

/* A soft edge keeps the comparison images integrated into the dark cinematic page. */
.wide-compare > img,
.compare-after img {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 70%, rgba(0, 0, 0, 0.9) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 70%, rgba(0, 0, 0, 0.9) 86%, transparent 100%);
}

@media (max-width: 660px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .site-nav {
    max-width: 100%;
    justify-content: flex-start;
  }

  .hero-actions {
    width: min(100%, 340px);
    gap: 14px;
  }

  .hero-action {
    width: 100%;
    text-align: center;
  }

  .cinema-strip-with-copy {
    margin-bottom: 76px;
  }

  .cinema-strip-with-copy video {
    aspect-ratio: 2.39 / 1;
  }

  .video-caption {
    margin-top: 10px;
    font-size: 1.04rem;
    line-height: 1.12;
  }

  .video-description,
  .footage-card .video-description {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .footage-grid {
    gap: 54px;
  }

  .footage-card figcaption {
    font-size: 1.05rem;
    line-height: 1.15;
  }
}

/* Final layout refinements for the product cover and moved comparison. */
.product-intro .interface-panel {
  width: min(320px, 100%);
  justify-self: center;
}

.product-intro .interface-panel img {
  width: 100%;
  height: auto;
}

@media (max-width: 660px) {
  .product-intro .interface-panel {
    width: min(270px, 100%);
  }

}

/* Let both comparisons size from the real image instead of a fixed blank canvas. */
.gallery-stack .wide-compare {
  aspect-ratio: auto !important;
  height: auto;
  min-height: 0;
}

.gallery-stack {
  margin-bottom: clamp(72px, 9vw, 120px);
}

/* AVF Store page refinement */
.title-hero,
.center-feature,
.footage-heading,
.parameter-section,
.install-section,
.workflow-copy,
.buy-copy,
.demo-copy,
.contact-section,
.section-pair .copy-column {
  text-align: center;
}

.footage-heading .big-center {
  text-align: center;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
  width: min(960px, calc(100% - 30px));
  margin: 0 auto clamp(54px, 7vw, 88px);
  padding: clamp(34px, 5vw, 62px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #080808;
}

.demo-cover {
  width: min(320px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

.demo-cover img {
  width: 100%;
  height: auto;
}

.demo-copy {
  max-width: 560px;
  justify-self: center;
}

.demo-copy h2 {
  margin: 0 0 22px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.7rem);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.demo-copy h2 span {
  color: var(--accent-soft);
  font-weight: 300;
}

.demo-copy p {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.demo-copy .button {
  width: auto;
  margin-top: 28px;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 42px;
  width: min(960px, calc(100% - 30px));
  margin: 0 auto clamp(72px, 10vw, 130px);
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}

.contact-section a {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

@media (max-width: 980px) {
  .demo-section {
    grid-template-columns: 1fr;
  }

  .demo-copy {
    max-width: 620px;
  }
}

@media (max-width: 660px) {
  .demo-section {
    width: calc(100% - 30px);
    gap: 30px;
    padding: 30px 20px 34px;
  }

  .demo-cover {
    width: min(270px, 100%);
  }

  .demo-copy .button {
    width: 100%;
  }

  .contact-section {
    gap: 16px;
    padding: 28px 0;
  }
}

/* Final AVF STORE presentation pass */
.title-hero,
.center-feature,
.feature-split .copy-column,
.parameter-section,
.parameter,
.footage-heading,
.workflow-section,
.install-section,
.demo-copy,
.buy-copy {
  text-align: center;
}

.feature-split .copy-column > p,
.workflow-section p,
.install-section p,
.buy-copy > p {
  margin-left: auto;
  margin-right: auto;
}

.parameter h3 {
  text-align: center;
}

.parameter-grid-detailed {
  text-align: center;
}

.parameter-grid-detailed p {
  margin-left: auto;
  margin-right: auto;
}

.button-row,
.centered-buttons,
.text-links {
  justify-content: center;
}

.site-footer {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 38px;
  text-align: center;
}

.site-footer a {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-soft);
}

@media (max-width: 660px) {
  .site-footer {
    gap: 14px 24px;
    padding-bottom: 52px;
  }

  .site-footer a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* AVF FilmDensity before / after video gallery */
.video-comparison-section {
  width: min(var(--max), calc(100% - 30px));
  margin: 0 auto clamp(128px, 17vw, 230px);
}

.video-comparison-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.video-comparison-heading .big-center {
  margin-bottom: 24px;
}

.video-comparison-heading > p:last-child {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.video-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 72px) clamp(20px, 3vw, 44px);
  margin-top: clamp(55px, 8vw, 92px);
}

.video-compare {
  min-width: 0;
  margin: 0;
}

.video-compare-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #080808;
  isolation: isolate;
  touch-action: none;
}

.compare-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-compare-after {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  animation: film-density-fade 8s ease-in-out infinite;
  animation-play-state: paused;
} 

.video-compare.is-comparing .video-compare-after {
  animation-play-state: running;
}

@keyframes film-density-fade {
  0%,
  28% {
    opacity: 0;
  }
  50%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.video-compare-after .compare-video {
  max-width: none;
}

.video-compare-label {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 7px 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.before-label {
  left: 16px;
}

.after-label {
  right: 16px;
}

.video-compare figcaption {
  margin-top: 15px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  letter-spacing: 0.06em;
  text-align: center;
}

@media (max-width: 760px) {
  .video-comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-compare-after {
    animation: none;
    opacity: 1;
  }
}

/* FilmDensity keeps the workflow section focused on the process, not another cover. */
.workflow-section-text-only {
  display: block;
  width: min(820px, calc(100% - 30px));
  text-align: center;
}

.workflow-section-text-only .workflow-copy {
  max-width: 760px;
  margin: 0 auto;
}

.workflow-section-text-only .workflow-copy h2,
.workflow-section-text-only .workflow-copy p {
  margin-left: auto;
  margin-right: auto;
}

/* FilmDensity still comparisons and full-frame motion gallery */
.still-comparison-grid {
  display: block;
  margin-top: clamp(55px, 8vw, 92px);
}

.still-compare {
  width: 100vw;
  margin: 0 0 clamp(68px, 10vw, 140px) calc(50% - 50vw);
}

.still-compare .wide-compare {
  width: 100%;
  border-radius: 0;
}

.still-compare .wide-compare {
  aspect-ratio: auto;
  height: auto;
}

.still-compare .wide-compare > img,
.still-compare .compare-after img {
  height: auto;
  object-fit: contain;
}

.still-compare .compare-after img {
  max-width: none;
}

.still-compare .before-label {
  right: 16px;
  left: auto;
}

.still-compare .after-label {
  right: auto;
  left: 16px;
}

.still-compare figcaption,
.density-full-video figcaption {
  margin-top: 15px;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  letter-spacing: 0.06em;
  text-align: center;
}

.density-video-section {
  width: 100%;
  margin: 0 auto clamp(128px, 17vw, 230px);
}

.density-video-heading {
  width: min(760px, calc(100% - 30px));
  margin: 0 auto clamp(55px, 8vw, 92px);
  text-align: center;
}

.density-video-heading .big-center {
  margin-bottom: 24px;
}

.density-video-heading > p:last-child {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

.density-full-video {
  width: 100vw;
  margin: 0 0 clamp(65px, 9vw, 125px) calc(50% - 50vw);
}

.density-full-video video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #080808;
}

.density-full-video figcaption {
  width: min(var(--max), calc(100% - 30px));
  margin: 15px auto 0;
}

@media (max-width: 760px) {
  .still-comparison-grid {
    grid-template-columns: 1fr;
  }

  .density-full-video video {
    height: auto;
    min-height: 0;
  }
}
}
