:root {
  --paper: #f4eee7;
  --paper-deep: #ebe3da;
  --page-bg: #f4eee7;
  --ink: #222222;
  --muted: #68615b;
  --line: rgba(44, 38, 33, 0.14);
  --soft: rgba(255, 255, 255, 0.42);
  --shadow: 0 24px 70px rgba(59, 47, 39, 0.13);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
}

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

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

.site-header,
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin: 0;
  padding: 32px clamp(28px, 5vw, 92px) 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(244, 238, 231, 0.94);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-grid;
  gap: 7px;
  width: fit-content;
  letter-spacing: 0.55em;
  line-height: 1;
}

.brand span {
  font-size: clamp(1.16rem, 1.1vw, 1.5rem);
  font-weight: 500;
}

.brand small {
  font-size: clamp(0.62rem, 0.62vw, 0.78rem);
  font-weight: 500;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 5vw, 6.4rem);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.soft-button,
.primary-button {
  border: 0;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.soft-button {
  justify-self: end;
  padding: 17px 28px;
  background: rgba(37, 34, 31, 0.08);
}

.primary-button {
  display: inline-flex;
  min-width: 164px;
  height: 58px;
  align-items: center;
  justify-content: center;
  background: #262626;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.soft-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

main {
  width: 100%;
  margin: 0;
}

.hero {
  min-height: 220vh;
  padding: 0 clamp(28px, 5vw, 92px);
}

.hero-sticky {
  position: sticky;
  top: 84px;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(280px, 0.7fr) minmax(420px, 1.02fr);
  gap: clamp(1.6rem, 4vw, 5rem);
  align-items: center;
  padding: 30px 0 44px;
}

.hero-copy {
  padding-top: 70px;
  opacity: calc(1 - var(--hero-progress, 0) * 1.7);
  transform: translate3d(0, calc(var(--hero-progress, 0) * -170px), 0);
  transition: opacity 120ms linear, transform 120ms linear;
}

.hero h1 {
  margin: 0 0 30px;
  max-width: 760px;
  font-size: clamp(4.3rem, 5.4vw, 8.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.section-copy p,
.cta p {
  max-width: 460px;
  margin: 0;
  color: #37322e;
  font-size: 1.14rem;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 54px;
  margin-top: 42px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(90px, 1fr));
  gap: 30px;
  width: min(100%, 790px);
  margin-top: 58px;
}

.feature-strip article {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 9px;
}

.feature-strip strong,
.feature-strip small {
  display: block;
  line-height: 1.25;
}

.feature-strip strong {
  font-size: 0.74rem;
}

.feature-strip small {
  max-width: 104px;
  color: var(--muted);
  font-size: 0.67rem;
}

.hero-product {
  margin: 0;
  position: relative;
  min-height: 740px;
  display: grid;
  place-items: center;
}

.hero-assembled {
  width: clamp(460px, 35vw, 760px);
  filter: drop-shadow(0 36px 34px rgba(82, 66, 52, 0.18));
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.hero-details {
  opacity: clamp(0, calc((var(--hero-progress, 0) - 0.7) * 4.4), 1);
  transform: translate3d(0, calc((1 - clamp(0, calc((var(--hero-progress, 0) - 0.7) * 4.4), 1)) * 28px), 0);
  transition: opacity 120ms linear, transform 120ms linear;
}

.hero-callouts {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-callouts li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
}

.hero-callouts span {
  display: block;
  width: 100%;
  border-top: 1px dashed rgba(48, 43, 39, 0.32);
}

.hero-callouts div {
  color: #3a3531;
  font-size: 0.82rem;
  line-height: 1.36;
}

.hero-part {
  position: absolute;
  left: 50%;
  top: 50%;
  transform:
    translate(-50%, calc(-50% + var(--hero-start, 0px) + (var(--hero-end, 0px) - var(--hero-start, 0px)) * var(--hero-explode, 0)))
    scaleX(var(--part-scale-x, 1));
  transform-origin: center center;
  opacity: 1;
  transition: transform 120ms linear;
}

.hero-part img {
  display: block;
  width: auto;
  height: auto;
  max-width: 360px;
  max-height: 220px;
  filter: drop-shadow(0 18px 20px rgba(58, 48, 40, 0.14));
}

.hero-part-topcap { --hero-start: -152px; --hero-end: -334px; z-index: 9; }
.hero-part-frame { --hero-start: -136px; --hero-end: -244px; z-index: 6; }
.hero-part-fabric { --hero-start: 16px; --hero-end: -58px; --part-scale-x: 1.42; z-index: 8; }
.hero-part-baffle { --hero-start: 124px; --hero-end: 68px; z-index: 5; }
.hero-part-chamber { --hero-start: 146px; --hero-end: 152px; z-index: 4; }
.hero-part-damping { --hero-start: 172px; --hero-end: 232px; z-index: 3; }
.hero-part-base { --hero-start: 182px; --hero-end: 316px; z-index: 7; }
.hero-part-pcb { --hero-start: 186px; --hero-end: 414px; z-index: 2; }
.hero-part-bottom { --hero-start: 188px; --hero-end: 514px; z-index: 1; }

.hero-part-fabric img {
  max-width: 540px;
  max-height: 330px;
}

.panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(244, 238, 231, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.technology {
  min-height: auto;
  padding: 0 clamp(28px, 5vw, 92px);
}

.technology-sticky {
  position: static;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(300px, 0.88fr) minmax(260px, 0.5fr);
  gap: clamp(28px, 3vw, 58px);
  align-items: start;
  padding: 56px 0 56px;
}

.section-copy h2,
.glance h2,
.lifestyle h2,
.cta h2 {
  margin: 0;
  font-size: clamp(2.25rem, 2.55vw, 3.55rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-copy p {
  margin-top: 30px;
}

.tech-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 3.2vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.tech-intro p {
  margin: 24px 0 0;
  color: #302c29;
  font-size: 0.96rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.tech-rule {
  display: block;
  width: 28px;
  margin-top: 34px;
  border-top: 2px solid rgba(40, 36, 33, 0.84);
}

.exploded-wrap {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 26px;
  min-height: auto;
}

.part-layer {
  position: relative;
  display: grid;
  place-items: center;
}

.part-layer img {
  width: auto;
  max-width: min(100%, 320px);
  height: auto;
  max-height: 210px;
  object-fit: contain;
}

.part-fabric img {
  max-height: 300px;
}

.tech-notes {
  display: grid;
  gap: 34px;
  padding-top: 18px;
}

.tech-notes article,
.mini-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
}

.tech-notes span {
  display: block;
  width: 100%;
  border-top: 1px dashed rgba(48, 43, 39, 0.36);
}

.tech-notes div {
  color: #322f2c;
  font-size: 0.98rem;
  line-height: 1.52;
}

.icon,
.badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.badge {
  border: 2px solid #403c38;
  border-radius: 50%;
  width: 58px;
  height: 58px;
}

.icon::before,
.badge::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
}

.sound { --mask: radial-gradient(circle at 50% 50%, #000 0 2px, transparent 3px), radial-gradient(ellipse at 50% 50%, transparent 0 7px, #000 8px 9px, transparent 10px), radial-gradient(ellipse at 50% 50%, transparent 0 13px, #000 14px 15px, transparent 16px); }
.wifi { --mask: radial-gradient(circle at 50% 74%, #000 0 2px, transparent 3px), radial-gradient(ellipse at 50% 80%, transparent 0 8px, #000 9px 11px, transparent 12px), radial-gradient(ellipse at 50% 92%, transparent 0 18px, #000 19px 21px, transparent 22px); }
.touch { --mask: linear-gradient(#000 0 0) 48% 24%/8% 48%, linear-gradient(#000 0 0) 66% 42%/8% 28%, linear-gradient(#000 0 0) 32% 46%/8% 24%, radial-gradient(circle at 50% 18%, #000 0 8%, transparent 9%); }
.cube { --mask: linear-gradient(30deg, transparent 31%, #000 32% 38%, transparent 39%), linear-gradient(150deg, transparent 31%, #000 32% 38%, transparent 39%), linear-gradient(#000 0 0) 50% 50%/65% 65%; }
.leaf { --mask: radial-gradient(ellipse at 60% 46%, #000 0 38%, transparent 39%), linear-gradient(135deg, transparent 44%, #000 45% 52%, transparent 53%); }

.glance {
  margin-top: 0;
  padding: 38px clamp(28px, 5vw, 92px) 22px;
}

.glance-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.35fr 2.45fr;
  gap: 46px;
  min-height: 338px;
  margin: 26px 0 0;
  padding: 0 44px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.glance-grid article {
  position: relative;
  display: grid;
  grid-template-rows: 36px 1fr 34px;
  justify-items: center;
  align-items: center;
  min-width: 0;
  padding-top: 22px;
}

.glance-grid strong {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.glance-grid img {
  height: 220px;
  width: 178px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 20px rgba(66, 52, 42, 0.16));
}

.rear-view img {
  filter: grayscale(0.4) brightness(0.91);
}

.port {
  position: absolute;
  bottom: 71px;
  width: 54px;
  height: 74px;
  border: 2px solid rgba(32,32,32,0.36);
  border-radius: 13px;
  background: rgba(36, 33, 30, 0.2);
}

.measure {
  color: #5d5650;
  font-size: 0.72rem;
}

.measure.horizontal {
  width: 158px;
  padding-top: 9px;
  text-align: center;
  border-top: 1px solid rgba(32,32,32,0.32);
}

.top-disc {
  width: 226px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  border-radius: 50%;
  border: 5px double rgba(69, 61, 54, 0.28);
  background: #ede6df;
  box-shadow: var(--shadow);
  color: #625c56;
}

.dimensions {
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
}

.dimensions strong {
  grid-column: 1 / -1;
}

.dimensions img {
  grid-row: 2 / span 2;
}

.dimensions .vertical {
  position: absolute;
  left: 6px;
  top: 138px;
  height: 170px;
  display: grid;
  place-items: center;
  padding-left: 16px;
  border-left: 1px solid rgba(32,32,32,0.3);
}

.dimensions dl {
  margin: 36px 0 0;
  display: grid;
  gap: 15px;
  align-self: start;
  font-size: 0.8rem;
}

.dimensions dt {
  color: #4a4540;
  font-weight: 700;
}

.dimensions dd {
  margin: -11px 0 0;
  color: #655e58;
}

.nr10 {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 470px;
  padding: 42px clamp(28px, 5vw, 92px);
  overflow: hidden;
}

.nr10 .section-copy h2 {
  font-size: clamp(3.4rem, 4vw, 5.8rem);
}

.nr10 .lead {
  margin-top: 6px;
  color: #252321;
  font-size: 1.62rem;
  line-height: 1.16;
}

.mini-list {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list .badge {
  width: 42px;
  height: 42px;
  border-width: 1px;
}

.mini-list .badge::before {
  width: 19px;
  height: 19px;
}

.subwoofer img {
  width: 420px;
  height: 430px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 24px rgba(26, 22, 20, 0.24));
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-left: 1px solid var(--line);
  font-size: 0.88rem;
}

.spec-table th,
.spec-table td {
  padding: 17px 0 17px 42px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: #514b46;
  font-weight: 700;
}

.spec-table td {
  color: #625b55;
}

.lifestyle {
  position: relative;
  min-height: 250px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--page-bg);
}

.lifestyle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle div {
  position: relative;
  z-index: 1;
  padding: 36px 96px;
}

.lifestyle p {
  margin: 12px 0 28px;
  color: #3d3834;
  font-size: 1.05rem;
  line-height: 1.36;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  gap: 54px;
  align-items: center;
  min-height: 155px;
  padding: 28px 10%;
  border-radius: 13px;
  background: rgba(255,255,255,0.2);
}

.cta > div {
  justify-self: center;
}

.cta .primary-button {
  min-width: 176px;
}

.site-footer {
  padding-top: 18px;
  padding-bottom: 24px;
}

.site-footer .brand span {
  font-size: 0.78rem;
}

.site-footer .brand small {
  font-size: 0.48rem;
}

.site-footer nav {
  gap: 70px;
  font-size: 0.56rem;
}

.social {
  justify-self: end;
  display: flex;
  gap: 20px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr auto;
    padding-inline: 28px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .technology,
  .nr10,
  .cta {
    grid-template-columns: 1fr;
    padding-inline: 28px;
  }

  .hero {
    min-height: auto;
    padding-inline: 28px;
  }

  .hero-sticky {
    position: static;
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 20px 30px;
  }

  .technology {
    min-height: auto;
    padding-inline: 28px;
  }

  .technology-sticky {
    position: static;
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 44px;
  }

  .hero-copy {
    padding-top: 20px;
    opacity: 1;
    transform: none;
  }

  .hero-details {
    display: none;
  }

  .hero-product {
    min-height: 420px;
    place-items: center;
  }

  .hero-assembled {
    width: min(90vw, 520px);
    opacity: 1;
    transition: none;
  }

  .hero-part {
    display: none;
  }

  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .technology,
  .nr10 {
    gap: 34px;
  }

  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    justify-items: start;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 20px 18px 10px;
  }

  .brand {
    letter-spacing: 0.34em;
  }

  .soft-button {
    padding: 13px 16px;
  }

  .hero {
    padding: 12px 18px 30px;
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-product {
    min-height: 360px;
  }

  .hero-assembled {
    width: min(86vw, 400px);
  }

  .hero-actions,
  .colorways {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 22px;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }

  .panel,
  .lifestyle {
    border-radius: 10px;
  }

  .technology,
  .nr10,
  .glance {
    padding: 30px 18px;
  }

  .exploded-wrap {
    gap: 20px;
  }

  .part-layer img {
    max-width: min(100%, 280px);
    max-height: 180px;
  }

  .part-fabric img {
    max-height: 240px;
  }

  .technology-sticky,
  .tech-notes article {
    grid-template-columns: 1fr;
  }

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

  .glance-grid {
    padding-inline: 12px;
  }

  .nr10 {
    overflow: visible;
  }

  .subwoofer img {
    width: 100%;
    max-width: 420px;
  }

  .spec-table {
    border-left: 0;
  }

  .spec-table th,
  .spec-table td {
    padding-left: 0;
  }

  .lifestyle {
    min-height: 360px;
  }

  .lifestyle img {
    object-position: center;
  }

  .lifestyle div {
    padding: 28px 24px;
  }

  .cta {
    padding: 30px 24px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 28px;
  }

  .social {
    justify-self: start;
  }
}
