:root {
  --ink: #05070a;
  --graphite: #11161d;
  --steel: #cbd4de;
  --paper: #f3f5f6;
  --muted: #919aa4;
  --accent: #1676c8;
  --line: rgba(203, 212, 222, 0.2);
  --display: "Bodoni 72", Didot, Georgia, serif;
  --sans: "Arial Narrow", "Aptos Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 4vw, 70px);
  background: linear-gradient(to bottom, rgba(3, 5, 8, 0.72), transparent);
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand-mark {
  display: block;
  width: clamp(148px, 14vw, 230px);
  height: auto;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(5, 7, 10, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta::after {
  margin-left: 10px;
  color: #62b5f4;
  content: "↗";
  font-size: 1.15em;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.image-stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.image-fallback,
.full-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  z-index: 1;
}

.image-fallback,
.full-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-fallback {
  background-image: url("assets/hero-products.webp");
}

.scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 4, 7, 0.94) 0%, rgba(2, 4, 7, 0.58) 34%, transparent 62%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100svh;
  width: min(47rem, 58vw);
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 6vw, 110px) 90px;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--steel);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.72;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 0 2rem;
}

.promise {
  max-width: 34rem;
  margin-bottom: 2.2rem;
  color: rgba(243, 245, 246, 0.84);
  font-size: clamp(1.06rem, 1.6vw, 1.42rem);
}

.primary-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid var(--accent);
  background: var(--accent);
  box-shadow: 0 16px 44px rgba(22, 118, 200, 0.3);
  color: white;
  font-family: "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(0.9rem, 1.15vw, 1.06rem);
  font-weight: 900;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.primary-cta::after {
  margin-left: 14px;
  content: "↗";
  font-family: Arial, sans-serif;
  font-size: 1.25em;
  line-height: 1;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  box-shadow: 0 18px 54px rgba(22, 118, 200, 0.42);
  color: var(--ink);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 40px;
  background: var(--paper);
  animation: pulse 1.8s ease-in-out infinite;
}

.video-control {
  position: absolute;
  z-index: 5;
  right: clamp(22px, 4vw, 70px);
  bottom: 30px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 7, 10, 0.66);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.video-control:hover,
.video-control:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.text-section {
  padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 120px);
}

.products {
  min-height: 82svh;
  background: #dce2e7;
  color: var(--ink);
}

.products .eyebrow,
.difference .eyebrow {
  color: #4e5964;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 40px;
  margin-bottom: clamp(70px, 9vw, 130px);
}

.section-heading h2,
.difference h2,
.closing h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.92;
}

.no-minimum {
  margin: 1.25rem 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #0d1218;
  border: 2px solid #0d1218;
}

.product-card {
  min-width: 0;
  background: var(--paper);
}

.product-visual {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #10151b;
}

.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.025);
}

.product-info {
  display: flex;
  min-height: 176px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 40px);
}

.product-type {
  margin-bottom: 18px;
  color: #59636d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.7vw, 3.2rem);
  font-weight: 400;
  line-height: 0.98;
}

.product-size {
  margin: 0;
  color: #58616a;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.product-price {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.8;
  white-space: nowrap;
}

.product-foot {
  display: flex;
  justify-content: flex-start;
  padding-top: 22px;
  color: #44505a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.media-credit {
  font-size: 0.84rem;
}

.product-foot p {
  margin: 0;
}

.detail-image {
  background-image: url("assets/detail-advertising.webp");
  background-position: 42% center;
}

.scrim-right {
  background: linear-gradient(270deg, rgba(3, 5, 8, 0.85) 0%, rgba(3, 5, 8, 0.24) 40%, transparent 65%);
}

.image-statement {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(24px, 7vw, 120px);
  width: min(35rem, 38vw);
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.2vw, 7rem);
  line-height: 0.92;
  transform: translateY(-50%);
}

.difference {
  display: grid;
  min-height: 92svh;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  background: var(--steel);
  color: var(--ink);
}

.difference h2 {
  grid-column: 2;
}

.difference-copy {
  display: grid;
  grid-column: 2;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-self: end;
  padding-top: 90px;
  border-top: 1px solid rgba(5, 7, 10, 0.3);
}

.difference-copy p {
  max-width: 29rem;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
}

.installed-image {
  background-image: url("assets/installed-saloon.webp");
}

.closing {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 36px;
  text-align: center;
  background: var(--ink);
}

.closing::before {
  position: absolute;
  top: -22vw;
  left: 50%;
  width: min(78vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(22, 118, 200, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 160px rgba(22, 118, 200, 0.08);
  content: "";
  transform: translateX(-50%);
}

.closing-logo {
  width: min(72vw, 520px);
  margin-bottom: 2.8rem;
}

.closing h2 {
  max-width: 70rem;
  margin-bottom: 2rem;
}

.closing-copy {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.closing footer {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 70px);
  color: #6e7781;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.legal-nav {
  justify-content: flex-end;
}

.closing footer a,
.legal-nav button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-nav button:hover,
.legal-nav button:focus-visible,
.closing footer a:hover,
.closing footer a:focus-visible {
  color: var(--paper);
  text-decoration: underline;
}

.legal-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(84vh, 900px);
  padding: 0;
  border: 1px solid rgba(203, 212, 222, 0.34);
  background: #0e1319;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
  color: var(--paper);
}

.legal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(7px);
}

.legal-dialog-inner {
  position: relative;
  padding: clamp(34px, 6vw, 72px);
}

.legal-dialog h2 {
  margin-bottom: 2rem;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
}

.legal-dialog h3 {
  margin: 2.1rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
}

.legal-dialog p,
.legal-dialog dd {
  color: #bec6ce;
}

.legal-dialog a {
  color: #72b8ee;
}

.legal-dialog dl {
  margin: 2rem 0;
  border-top: 1px solid var(--line);
}

.legal-dialog dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.legal-dialog dt {
  color: #87919b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-dialog dd {
  margin: 0;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  max-width: 980px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(203, 212, 222, 0.42);
  background: #0e1319;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #bec6ce;
}

.cookie-banner .cookie-title {
  margin-bottom: 5px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.45rem;
}

.cookie-actions {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-button {
  min-width: 128px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-button.primary {
  background: var(--accent);
  color: white;
}

.cookie-button.secondary {
  background: transparent;
  color: white;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.55); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 820px) {
  .site-header {
    gap: 12px;
    padding: 18px 20px;
  }

  .header-cta {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.65rem;
    letter-spacing: 0.025em;
    white-space: nowrap;
  }

  .brand-mark {
    min-width: 0;
    width: clamp(104px, 32vw, 142px);
  }

  .hero-fallback,
  .hero-media {
    object-position: 67% center;
    background-position: 67% center;
  }

  .scrim {
    background: linear-gradient(180deg, rgba(2, 4, 7, 0.4), rgba(2, 4, 7, 0.86) 66%, rgba(2, 4, 7, 0.98));
  }

  .hero-copy {
    width: 100%;
    justify-content: flex-end;
    padding: 120px 22px 90px;
  }

  .hero-logo {
    width: min(88vw, 520px);
    max-width: 100%;
  }

  .promise {
    max-width: 100%;
    font-size: 1rem;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading,
  .difference {
    display: block;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-info {
    min-height: 150px;
  }

  .product-foot {
    gap: 8px;
    flex-direction: column;
  }

  .detail-image {
    background-position: 30% center;
  }

  .image-statement {
    top: auto;
    right: 22px;
    bottom: 56px;
    left: 22px;
    width: auto;
    font-size: clamp(3rem, 15vw, 5.2rem);
    transform: none;
  }

  .difference h2 {
    margin-bottom: 80px;
  }

  .difference-copy {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .installed-image {
    background-position: 66% center;
  }

  .closing footer {
    position: static;
    margin-top: 70px;
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }

  .footer-meta,
  .legal-nav {
    justify-content: center;
  }


  .primary-cta {
    width: 100%;
    max-width: 420px;
    padding: 0 18px;
    text-align: center;
    white-space: normal;
  }

  .video-control {
    right: 18px;
    bottom: 18px;
    min-height: 40px;
    font-size: 0.66rem;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    min-width: 0;
  }

  .legal-dialog dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 370px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-cta {
    padding: 0 9px;
    font-size: 0.59rem;
  }

  .brand-mark {
    width: 98px;
  }

  .hero-copy {
    padding-right: 18px;
    padding-left: 18px;
  }

  .primary-cta {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue i { animation: none; }
  .hero-media { display: none; }
  .video-control { display: none; }
}
