/* AudioMax — graphite, birch and layers */
:root {
  --ink: #171716;
  --ink-2: #3d3a35;
  --muted: #6e685f;
  --paper: #efebe4;
  --paper-2: #e5dfd4;
  --card: #f7f4ef;
  --line: #d3cbbd;
  --graphite: #161616;
  --graphite-2: #222221;
  --graphite-line: #383733;
  --on-dark: #ece6dc;
  --on-dark-muted: #a8a196;
  --birch: #d9c09a;
  --birch-deep: #9a7444;
  --focus: #c48a4f;
  --serif: 'Cormorant', 'Times New Roman', serif;
  --sans: 'Onest', 'Helvetica Neue', Arial, sans-serif;
  --r: 14px;
  --gut: 24px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(0,0,0,.25); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--birch-deep); margin: 0 0 18px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--birch { background: var(--birch); border-color: var(--birch); color: var(--graphite); }
.btn--birch:hover { background: #e7d2b1; border-color: #e7d2b1; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.dark .btn--ghost, .btn--ghost-light { color: var(--on-dark); border-color: rgba(236,230,220,.45); background: transparent; }
.dark .btn--ghost:hover, .btn--ghost-light:hover { background: var(--on-dark); color: var(--graphite); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(22,22,22,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid rgba(255,255,255,.06); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--sans); letter-spacing: .02em; }
.logo svg { width: 26px; height: 26px; color: var(--birch); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--on-dark-muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--on-dark); border-bottom-color: var(--birch); }
.top .btn { background: var(--birch); border-color: var(--birch); color: var(--graphite); }
.nav .nav__cta { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--on-dark); cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 4px; }

/* sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper2 { background: var(--paper-2); }
.dark { background: var(--graphite); color: var(--on-dark); }
.dark .lead, .dark .muted { color: var(--on-dark-muted); }
.dark .eyebrow { color: var(--birch); }
.dark a { text-decoration-color: rgba(255,255,255,.3); }
.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* layered divider, echoing the plywood edge */
.strata { height: 34px; background: repeating-linear-gradient(180deg, var(--birch) 0 2px, transparent 2px 6px); opacity: .55; -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }

/* hero */
.hero { position: relative; background: var(--graphite); color: var(--on-dark); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,22,22,.86) 0%, rgba(22,22,22,.55) 38%, rgba(22,22,22,0) 62%); }
.hero__in { position: relative; z-index: 1; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { max-width: 9.5em; }
.hero .lead { color: #cfc8bc; max-width: 34em; }
.hero__note { position: absolute; z-index: 1; right: var(--gut); bottom: 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 70px); }
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 13em; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--graphite-line); }
.fact { padding: 30px 24px 30px 0; border-right: 1px solid var(--graphite-line); }
.fact + .fact { padding-left: 24px; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font: 500 34px/1.1 var(--serif); color: var(--birch); margin-bottom: 8px; }
.fact span { font-size: 15px; color: var(--on-dark-muted); line-height: 1.45; display: block; }

/* splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: 1.25fr 1fr; }
.split--rev > :first-child { order: 2; }
.media { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1; }
.media--wide { aspect-ratio: 3 / 2; }
.dark .media { background: var(--graphite-2); }
figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }
.dark figcaption { color: var(--on-dark-muted); }
.list { list-style: none; padding: 0; margin: 24px 0 0; }
.list li { padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; }
.list li::before { content: ''; position: absolute; left: 0; top: 22px; width: 18px; height: 8px; background: repeating-linear-gradient(180deg, var(--birch-deep) 0 1.5px, transparent 1.5px 3.3px); }
.dark .list li { border-color: var(--graphite-line); }
.dark .list li::before { background: repeating-linear-gradient(180deg, var(--birch) 0 1.5px, transparent 1.5px 3.3px); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery .media { grid-column: span 4; }
.gallery .g-6 { grid-column: span 6; }
.gallery .g-8 { grid-column: span 8; }
.gallery .g-4 { grid-column: span 4; }
.gallery .g-3 { grid-column: span 3; }

/* process with video */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--graphite-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.step video, .step img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: #111; }
.step__txt { padding: 20px 20px 24px; }
.step__txt::before { counter-increment: s; content: '0' counter(s); display: block; font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--birch); margin-bottom: 12px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--on-dark-muted); margin: 0; line-height: 1.5; }

/* model card */
.model { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 6px; flex-wrap: wrap; }
.price b { font: 500 clamp(36px, 4vw, 52px)/1 var(--serif); }
.price span { color: var(--muted); font-size: 15px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 18px; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; width: 42%; padding-right: 16px; color: var(--muted); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.tbd { color: var(--muted); font-style: italic; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.tl { position: relative; padding-top: 34px; }
.tl::before { content: ''; position: absolute; top: 9px; left: 0; right: -16px; height: 1px; background: var(--graphite-line); }
.tl:last-child::before { right: 0; }
.tl::after { content: ''; position: absolute; top: 4px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--graphite); border: 1px solid var(--birch); }
.tl--now::after { background: var(--birch); }
.tl .media { aspect-ratio: 3 / 4; margin-bottom: 16px; }
.tl time { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--birch); }
.tl h3 { font-size: 22px; margin: 8px 0 6px; }
.tl p { font-size: 14px; color: var(--on-dark-muted); line-height: 1.5; margin: 0; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.card h3 { font-size: 26px; }
.card p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.card__num { font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--birch-deep); margin-bottom: 18px; display: block; }
.dark .card { background: var(--graphite-2); border-color: var(--graphite-line); }
.dark .card p { color: var(--on-dark-muted); }
a.card { text-decoration: none; transition: border-color .2s, transform .2s; display: block; }
a.card:hover { border-color: var(--birch-deep); transform: translateY(-2px); }
.card .media { margin: -28px -28px 22px; border-radius: 0; aspect-ratio: 3 / 2; }

/* quote */
.quote { font: italic 400 clamp(26px, 3vw, 40px)/1.25 var(--serif); max-width: 24em; margin: 0; }
.quote cite { display: block; margin-top: 18px; font: 400 14px/1.4 var(--sans); font-style: normal; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 500 19px/1.4 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 30px/1 var(--sans); color: var(--birch-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 44px; }

/* form */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--on-dark-muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--on-dark); background: var(--graphite-2); border: 1px solid var(--graphite-line); border-radius: 10px; padding: 14px 16px; min-height: 52px; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--birch); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.form .agree input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--birch); flex: none; }
.form__ok { display: none; padding: 18px 20px; border-radius: 10px; background: var(--graphite-2); border: 1px solid var(--birch); }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; }
.contacts { margin-top: 28px; display: grid; gap: 6px; }
.contacts a { text-decoration: none; font-size: 18px; }

/* article */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 12px 10px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-weight: 600; border-top: 0; }
.prose .note { background: var(--card); border-left: 3px solid var(--birch-deep); padding: 18px 22px; border-radius: 0 10px 10px 0; }
.meta-line { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

/* CTA band */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0; max-width: 14em; }

/* footer */
.foot { background: var(--graphite); color: var(--on-dark-muted); font-size: 15px; padding: 72px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot a { color: var(--on-dark-muted); text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: var(--on-dark); }
.foot p { margin: 0 0 8px; }
.foot__h { color: var(--on-dark); font-weight: 500; margin-bottom: 12px !important; }
.foot__soc a { display: inline; }
.logo--foot { color: var(--on-dark); margin-bottom: 18px; }
.foot__lead { max-width: 30ch; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--graphite-line); margin-top: 56px; padding-top: 22px; font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1100px) {
  .hero::after { background: linear-gradient(180deg, rgba(22,22,22,.15) 0%, rgba(22,22,22,.5) 45%, rgba(22,22,22,.96) 100%); }
  .hero__img { object-position: 72% 25%; }
  .hero__in { justify-content: flex-end; min-height: 94vh; padding-bottom: 48px; }
  .hero h1 { max-width: none; }
  .hero__note { display: none; }
}
@media (max-width: 1080px) {
  .nav { gap: 18px; font-size: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .burger { display: block; }
  .top__cta { display: none; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 24px; background: var(--graphite); border-bottom: 1px solid var(--graphite-line); transform: translateY(-120%); transition: transform .25s; margin: 0; }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--graphite-line); font-size: 17px; }
  .nav .nav__cta { display: flex; justify-content: center; margin-top: 18px; padding: 15px; border: 0; border-radius: 999px; background: var(--birch); color: var(--graphite); font-weight: 500; }
  .split, .split--wide-media, .model, .book { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 16px 22px 0; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--graphite-line); }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery .media, .gallery .g-3, .gallery .g-4, .gallery .g-6 { grid-column: span 1; }
  .gallery .g-8 { grid-column: span 2; }
  .hero picture { display: block; position: relative; }
  .hero picture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,22,0) 55%, var(--graphite) 100%); }
  .hero::after { display: none; }
  .hero__img { position: static; height: 62vh; min-height: 380px; object-position: 50% 20%; }
  .hero__in { min-height: 0; margin-top: -56px; padding-top: 0; padding-bottom: 56px; }
  .hero__note { display: none; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step video, .step img { aspect-ratio: 4 / 3; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 12px; row-gap: 32px; }
  .tl::before { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
}
