:root {
  --ink: #111112;
  --muted: #686a6f;
  --paper: #f6f4f0;
  --white: #ffffff;
  --line: rgba(17, 17, 18, 0.12);
  --glass: rgba(255, 255, 255, 0.68);
  --dark-glass: rgba(9, 10, 12, 0.58);
  --red: #a80f18;
  --blue: #b8d7ec;
  --green: #8da28b;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Aptos", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(9, 10, 12, 0.2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.site-header.scrolled {
  color: rgba(18, 18, 20, 0.92);
  background: var(--glass);
  border-color: rgba(18, 18, 20, 0.1);
}

.brand,
.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 14px;
  font-weight: 650;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 13px;
}

.nav-links a,
.nav-cta {
  opacity: 0.76;
  transition: opacity 180ms ease;
}

.nav-links a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta {
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.site-header.scrolled .nav-cta {
  color: #fff;
}

.section-dark {
  color: #fff;
  background: #050506;
}

.band-light {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 80px) 48px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.02) 50%);
}

.hero-media img {
  object-position: center;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding-top: 12vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.dark-tile .eyebrow {
  color: #ff7277;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8.2vw, 112px);
  line-height: 0.94;
  font-weight: 720;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.03;
  font-weight: 690;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.section-dark p,
.dark-tile p {
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 680;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: #050506;
  background: #fff;
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-specs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.hero-specs span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  font-size: 13px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(78px, 10vw, 132px) clamp(20px, 6vw, 80px);
}

.intro-copy,
.section-heading,
.contact-copy {
  max-width: 880px;
}

.intro-grid {
  display: grid;
  gap: 0;
  align-content: center;
  border-top: 1px solid var(--line);
}

.intro-grid div {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid strong {
  font-size: 18px;
}

.intro-grid span {
  color: var(--muted);
  line-height: 1.52;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: 0 clamp(20px, 6vw, 80px) clamp(72px, 8vw, 112px);
  background: var(--paper);
}

.showcase-copy {
  max-width: 470px;
}

.showcase-visual {
  min-height: clamp(380px, 58vw, 720px);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(17, 17, 18, 0.18);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #111;
}

.feature-tile {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
}

.feature-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.04) 62%);
}

.feature-tile img {
  position: absolute;
  inset: 0;
}

.feature-tile div {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.feature-tile h3 {
  color: #fff;
}

.light-tile::after {
  background: linear-gradient(0deg, rgba(246, 244, 240, 0.98), rgba(246, 244, 240, 0.08) 64%);
}

.light-tile h3 {
  color: var(--ink);
}

.light-tile p:not(.eyebrow) {
  color: var(--muted);
}

.home-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: clamp(76px, 9vw, 120px) clamp(20px, 6vw, 80px);
}

.home-media {
  min-height: clamp(360px, 48vw, 680px);
  overflow: hidden;
  border-radius: var(--radius);
}

.home-copy {
  max-width: 560px;
}

.mini-specs {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
}

.mini-specs div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mini-specs dt {
  margin-bottom: 6px;
  font-weight: 720;
}

.mini-specs dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.products,
.contact {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 6vw, 80px);
}

.section-heading {
  margin-bottom: 34px;
}

.product-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 0 17px;
  color: rgba(17, 17, 18, 0.72);
  background: rgba(17, 17, 18, 0.05);
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.filter-button.active {
  color: #fff;
  background: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 17, 18, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 200ms ease, opacity 200ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
}

.product-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.product-card.is-hidden {
  display: none;
}

.product-logo-tile {
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(145deg, #070707, #171719 56%, #070707);
  border: 1px solid rgba(17, 17, 18, 0.08);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.product-logo-tile img {
  width: min(42%, 150px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.34));
}

.product-logo-tile.is-hidden {
  display: none;
}

.product-card div {
  padding: 22px;
}

.product-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 25px;
}

.product-card p {
  margin-bottom: 18px;
  font-size: 15px;
}

.product-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.gallery {
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
}

.gallery-track {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 12px;
  min-width: 980px;
  padding: 0 clamp(20px, 6vw, 80px);
}

.gallery-track img {
  height: 420px;
  border-radius: var(--radius);
}

.gallery-track img:nth-child(2),
.gallery-track img:nth-child(3) {
  margin-top: 64px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(17, 17, 18, 0.08);
}

.contact-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px;
  color: var(--ink);
  border-radius: var(--radius);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(168, 15, 24, 0.06);
  transform: translateY(-1px);
}

.contact-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--red);
  background: rgba(17, 17, 18, 0.05);
  border: 1px solid rgba(17, 17, 18, 0.08);
  border-radius: 50%;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 670;
  line-height: 1.22;
}

.material-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: rgba(246, 244, 240, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(24px);
}

.material-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.dialog-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  max-height: inherit;
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
}

.dialog-heading {
  position: sticky;
  top: 0;
  align-self: start;
  padding-right: 10px;
}

.dialog-heading h2 {
  font-size: clamp(34px, 4.6vw, 58px);
}

.dialog-heading p:not(.eyebrow) {
  font-size: 16px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  min-height: 34px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.material-grid figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 17, 18, 0.08);
  border-radius: var(--radius);
}

.material-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
}

body.modal-open {
  overflow: hidden;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

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

  .intro,
  .showcase,
  .home-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding-top: 76px;
  }

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

  .dialog-inner {
    grid-template-columns: 1fr;
  }

  .dialog-heading {
    position: static;
    padding-right: 56px;
  }

  .feature-tile {
    min-height: 560px;
  }

  .product-card {
    grid-template-rows: 310px 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 54px;
    padding-inline: 14px;
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 30px;
    padding-inline: 13px;
  }

  .hero {
    min-height: 84vh;
    align-items: start;
    padding: 132px 18px 34px;
  }

  h1 {
    font-size: clamp(44px, 12vw, 56px);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.48;
  }

  .hero-specs {
    display: none;
  }

  .intro,
  .showcase,
  .home-section,
  .products,
  .contact {
    padding-inline: 18px;
  }

  .intro {
    padding-top: 38px;
  }

  .feature-tile {
    min-height: 520px;
    padding: 24px 18px;
  }

  .product-card {
    grid-template-rows: 230px 1fr;
  }

  .material-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
  }

  .dialog-inner {
    padding: 22px 14px 14px;
  }

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

  .gallery-track {
    min-width: 760px;
    padding-inline: 18px;
  }

  .gallery-track img {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
