:root {
  --ink: #241d18;
  --ink-soft: #5d5147;
  --paper: #f4eee4;
  --paper-deep: #e7ded1;
  --line: rgba(22, 24, 23, 0.16);
  --dark: #0e1110;
  --dark-soft: #1d2420;
  --cream: #fffaf1;
  --gold: #c89437;
  --copper: #9f6426;
  --green: #7b5222;
  --blue: #3b6d86;
  --surface: rgba(255, 252, 246, 0.72);
  --shadow: 0 18px 54px rgba(52, 41, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Avenir Next, Helvetica Neue, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(28px, 4vw, 48px);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 248, 236, 0.08);
  background: rgba(8, 12, 10, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.brand-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  color: var(--cream);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  object-fit: cover;
}

.site-nav {
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 250, 241, 0.92);
  font-size: 0.92rem;
}

.site-nav a:last-child {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.9) 0%, rgba(7, 9, 8, 0.58) 44%, rgba(7, 9, 8, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.08) 52%, rgba(7, 9, 8, 0.78) 100%),
    url("assets/atum-passive-tube-eq-ui.png") center 48% / cover no-repeat;
  transform: scale(1.01);
}

.hero-copy {
  position: relative;
  max-width: 620px;
  padding: 120px clamp(18px, 6vw, 72px) 66px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  font-family: Georgia, Times New Roman, serif;
  line-height: 0.95;
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.4vw, 3.35rem);
  font-family: Georgia, Times New Roman, serif;
  line-height: 1.06;
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, Times New Roman, serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 28px;
  color: rgba(255, 248, 236, 0.84);
  font-size: clamp(1.04rem, 1.65vw, 1.24rem);
  line-height: 1.56;
}

.hero-actions,
.product-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.product-actions {
  align-items: flex-start;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  color: #16120a;
  background: var(--gold);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #dfad50;
}

.button.secondary {
  color: var(--cream);
  border-color: rgba(255, 248, 236, 0.48);
  background: rgba(255, 248, 236, 0.06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--gold);
}

.button.dark {
  color: var(--ink);
  border-color: rgba(22, 24, 23, 0.32);
  background: rgba(255, 255, 255, 0.28);
}

.intro-section,
.product-section,
.details-section {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 6vw, 72px);
}

.intro-section {
  background: #f7f1e8;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 6vw, 80px);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.32;
}

.intro-grid p:first-child {
  font-family: Georgia, Times New Roman, serif;
}

.intro-grid p:last-child {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.product-image-wrap {
  position: relative;
  overflow: visible;
  padding: clamp(8px, 1.5vw, 14px);
  border: 1px solid rgba(36, 29, 24, 0.12);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(215, 208, 197, 0.42)),
    #ebe5db;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 38px rgba(52, 41, 31, 0.12);
}

.product-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0;
  filter: drop-shadow(0 14px 14px rgba(12, 10, 8, 0.2));
}

.product-copy {
  max-width: 440px;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.spec-list {
  display: grid;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  color: var(--green);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.offer-note {
  flex-basis: 100%;
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.4;
}

.audio-demos {
  max-width: 1180px;
  margin: clamp(42px, 6vw, 68px) 0 0;
  padding-top: clamp(22px, 3.4vw, 34px);
  border-top: 1px solid var(--line);
}

.audio-demos-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.audio-demos-heading h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.audio-demos-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.audio-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 12px;
  align-items: start;
}

.audio-demo-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.audio-demo-card {
  container-type: inline-size;
  padding: 10px;
  align-self: start;
  border: 1px solid rgba(36, 29, 24, 0.12);
  border-radius: 6px;
  background: rgba(255, 252, 246, 0.5);
}

.audio-demo-card h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: Georgia, Times New Roman, serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.demo-subtitle {
  margin: 9px 0 5px;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-track {
  display: grid;
  grid-template-columns: minmax(68px, 84px) minmax(250px, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.demo-track span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.2;
}

.demo-track audio {
  width: 100%;
  min-width: 250px;
  height: 28px;
  border: 1px solid rgba(36, 29, 24, 0.18);
  border-radius: 999px;
  background: #f2eadf;
  color-scheme: light;
  accent-color: var(--gold);
}

.demo-track audio::-webkit-media-controls-enclosure {
  border-radius: 999px;
  background: #f2eadf;
}

.demo-track audio::-webkit-media-controls-panel {
  background: #f2eadf;
}

.demo-track audio::-webkit-media-controls-timeline {
  border-radius: 999px;
  filter: contrast(1.35) brightness(0.82);
}

.demo-track audio::-webkit-media-controls-current-time-display,
.demo-track audio::-webkit-media-controls-time-remaining-display {
  color: var(--ink);
  text-shadow: none;
}

@container (max-width: 359px) {
  .demo-track {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .demo-track audio {
    min-width: 0;
  }
}

.details-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--paper);
}

.detail {
  min-height: 210px;
  padding: clamp(24px, 3.4vw, 36px);
  color: var(--cream);
  border: 0;
  border-radius: 0;
  background: #26302c;
}

.detail:nth-child(2) {
  background: #31483d;
}

.detail:nth-child(3) {
  background: #314e5e;
}

.detail p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.98rem;
  line-height: 1.62;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 72px);
  color: #6b5d51;
  border-top: 1px solid rgba(36, 29, 24, 0.1);
  background: rgba(255, 252, 246, 0.72);
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6b5d51;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

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

.legal-main {
  min-height: 100svh;
  padding: 136px clamp(18px, 6vw, 72px) 72px;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.42), rgba(231, 222, 209, 0.72));
}

.legal-document {
  max-width: 920px;
}

.legal-document h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.legal-document h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.legal-document ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.legal-date {
  margin-bottom: 34px;
  color: var(--copper);
  font-weight: 760;
}

@media (max-width: 1120px) {
  .audio-demos {
    max-width: 760px;
  }

  .audio-demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: center;
  }

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

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 9, 8, 0.92) 0%, rgba(7, 9, 8, 0.56) 42%, rgba(7, 9, 8, 0.9) 100%),
      url("assets/atum-passive-tube-eq-ui.png") center 52% / auto 82% no-repeat;
  }

  .hero-copy {
    padding-top: 140px;
  }

  .intro-grid,
  .product-layout,
  .details-section,
  .audio-demo-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: none;
  }

}

@media (max-width: 560px) {
  .site-header {
    flex-direction: row;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 0;
  }

  .brand-mark {
    gap: 9px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .brand-mark span {
    font-size: 0.92rem;
  }

  .site-nav {
    gap: 8px;
    font-size: 0.78rem;
  }

  .site-nav a:last-child {
    padding: 7px 12px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    padding-bottom: 46px;
  }

  .button {
    width: 100%;
  }

  .product-actions {
    align-items: stretch;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}
