@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --black: #000;
  --white: #fff;
  --fog: #f4f4f2;
  --mid: #5b5b5b;
  --line: #d7d7d3;
  --header-height: 56px;
}

@font-face {
  font-family: "Gotham Site";
  src: local("Gotham Medium"), local("Gotham-Medium");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Gotham Site";
  src: local("Gotham Bold"), local("Gotham-Bold");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

* { box-sizing: border-box; }
main [hidden] { display: none !important; }
html { background: var(--white); scroll-behavior: smooth; }
html[data-i18n-loading="true"] body { visibility: hidden; }
body { margin: 0; min-width: 300px; color: var(--black); background: var(--white); font-family: "Poppins", "Helvetica Neue", sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }
html[data-theme="dark"] { color-scheme: dark; --black: #f5f5f2; --white: #0b0b0b; --fog: #171715; --mid: #777; --line: #3c3c38; }
html[data-theme="dark"] body, html[data-theme="dark"] .selection-page, html[data-theme="dark"] .catalogue-page, html[data-theme="dark"] .lineup-page, html[data-theme="dark"] .text-page { color: #f5f5f2; background: #0b0b0b; }
html[data-theme="dark"] .category-grid article > p, html[data-theme="dark"] .selection-heading > p:last-child, html[data-theme="dark"] .lineup-heading p { color: #b8b8b2; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--header-height); padding: 0 clamp(20px, 3vw, 42px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--black); transition: color 240ms ease, background 240ms ease; }
.site-header[data-tone="dark"] { color: #fff; }
.site-header[data-home="true"] { color: #fff; background: transparent; }
.mark-link { width: 38px; height: 38px; display: grid; place-items: center; color: inherit; }
.brand-mark { width: 30px; height: 30px; display: block; background: currentColor; -webkit-mask: url("assets/avilion-brand-mark.png") center / contain no-repeat; mask: url("assets/avilion-brand-mark.png") center / contain no-repeat; }
.primary-nav { position: relative; display: flex; align-items: center; gap: clamp(24px, 2.5vw, 38px); font-size: clamp(14px, 1.1vw, 16px); letter-spacing: .01em; }
.primary-nav a { position: relative; padding: 7px 0 9px; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 3px; border-radius: 3px; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform 180ms ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { transform: scaleX(1); }
.help-link { justify-self: end; font-size: 24px; }
.profile-button { width: 34px; height: 34px; padding: 0; border: 0; justify-self: end; display: grid; place-items: center; color: inherit; background: transparent; cursor: pointer; }
.profile-button span { width: 20px; height: 20px; position: relative; display: block; border: 1.6px solid currentColor; border-radius: 50%; }
.profile-button span::before { content: ""; width: 5px; height: 5px; position: absolute; top: 4px; left: 50%; border: 1.4px solid currentColor; border-radius: 50%; transform: translateX(-50%); }
.profile-button span::after { content: ""; width: 10px; height: 5px; position: absolute; left: 50%; bottom: 3px; border: 1.4px solid currentColor; border-radius: 8px 8px 5px 5px; transform: translateX(-50%); }
.profile-menu { width: 220px; padding: 8px; position: fixed; z-index: 60; top: calc(var(--header-height) - 2px); right: clamp(16px, 3vw, 42px); color: #111; background: #fff; border: 1px solid #d6d6d2; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.profile-menu[hidden] { display: none; }
.profile-menu a, .profile-menu button { width: 100%; min-height: 38px; padding: 0 10px; border: 0; display: flex; align-items: center; color: inherit; background: transparent; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.profile-menu [hidden] { display: none !important; }
.profile-menu a:hover, .profile-menu button:hover { color: #fff; background: #111; }
.locale-picker { display: grid; gap: 5px; padding: 8px 10px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.locale-picker select { width: 100%; min-height: 34px; border: 1px solid #d6d6d2; padding: 0 8px; color: inherit; background: transparent; font: inherit; text-transform: none; letter-spacing: 0; }
.eu-language-notice { position: fixed; z-index: 150; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.55); }
.eu-language-notice > div { width: min(520px, 100%); padding: 28px; color: #111; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.eu-language-notice h2 { margin: 0 0 12px; font-size: 22px; }
.eu-language-notice p { margin: 0 0 22px; color: #555; line-height: 1.55; }
.eu-language-notice button { min-height: 40px; padding: 0 18px; border: 0; color: #fff; background: #111; font: inherit; cursor: pointer; }
.locale-sync-prompt{position:fixed;z-index:140;right:16px;bottom:16px;width:min(360px,calc(100vw - 32px));padding:18px;color:#111;background:#fff;box-shadow:0 18px 55px rgba(0,0,0,.22)}.locale-sync-prompt p{margin:0 0 12px;font-size:12px}.locale-sync-prompt div{display:flex;gap:7px}.locale-sync-prompt button{min-height:36px;border:1px solid #111;padding:0 11px;background:transparent;font:inherit;font-size:10px;cursor:pointer}.locale-sync-prompt button:first-child{color:#fff;background:#111}
.menu-toggle { display: none; }

#app { min-height: 100vh; }
.page-enter { animation: page-in 500ms cubic-bezier(.2,.75,.25,1) both; }
.page-leave { opacity: 0; transform: translateX(-40px); transition: opacity 250ms ease, transform 250ms ease; pointer-events: none; }
body::after { content: ""; position: fixed; z-index: 2000; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
body.route-transitioning::after { opacity: 1; }
@keyframes page-in { from { transform: translateX(18px); } to { transform: none; } }
.page-shell { min-height: 100vh; padding: calc(var(--header-height) + 76px) clamp(28px, 5vw, 78px) 64px; }

.original-home { overflow: hidden; color: #fff; background: #000; }
.original-home .hero { position: relative; min-height: 100vh; padding: 108px clamp(30px, 5.4vw, 80px); display: flex; justify-content: space-between; align-items: center; isolation: isolate; }
.hero-bg { position: absolute; z-index: -1; inset: 0 0 0 auto; width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: right center; opacity: .55; pointer-events: none; }
.hero-left h1 { margin: 0; font-size: clamp(48px, 5.35vw, 74px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.hero-left h1 strong { font-weight: 700; }
.copyright { margin: 34px 0 0; color: #d6d6d6; font-size: clamp(11px, .8vw, 13px); }
.hero-right { position: relative; width: 40%; min-height: 100px; }
.learn-btn { position: absolute; top: 50%; right: 10%; min-width: 118px; padding: 12px 25px; border: 1px solid #e5e5e5; border-radius: 10px; color: #000; background: #e5e5e5; text-align: center; font-size: 13px; font-weight: 700; transition: color 200ms ease, background 200ms ease, transform 200ms ease; }
.learn-btn:hover { color: #fff; background: transparent; transform: translateY(-3px); }
.about-section { min-height: 100vh; padding: 120px clamp(42px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(70px, 11vw, 180px); }
.about-section h2 { margin: 0; font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.about-section h2 strong { font-weight: 700; }
.about-section p { margin: 0; color: #dcdcdc; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.6; }
.divider { width: min(100%, 420px); height: 2px; margin: 15px 0 20px; background: #fff; }
.offerings-section { padding: 116px clamp(24px, 4vw, 64px) 124px; border-top: 1px solid #303030; color: #fff; background: #666; }
.section-intro { text-align: center; }
.section-intro p { margin: 0 0 12px; font-size: 16px; }
.section-intro h2 { margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; }
.offering-grid { max-width: 1500px; margin: 76px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.offering-card { min-width: 0; color: #000; background: #f4f4f4; display: grid; grid-template-rows: 74px auto 1fr 80px; text-align: center; }
.offering-card h3 { margin: 0; display: grid; place-items: center; color: #fff; background: #000; font-size: clamp(19px, 1.5vw, 24px); font-weight: 500; }
.offering-card ul { margin: 0; padding: 0; list-style: none; background: #fff; }
.offering-card li { min-height: 54px; padding: 14px 18px; border-bottom: 1px solid #d7d7d7; display: grid; place-items: center; font-size: 14px; }
.offering-summary { min-height: 118px; padding: 24px; display: grid; align-content: center; gap: 8px; background: #fff; }
.offering-summary strong { font-size: clamp(20px, 1.7vw, 27px); font-weight: 500; letter-spacing: .04em; }
.offering-summary span { color: #777; font-size: 12px; }
.offering-card > a { place-self: center; padding: 10px 18px; color: #fff; background: #000; font-size: 13px; font-weight: 600; }
.offering-card > a:hover { color: #000; background: #fff; outline: 1px solid #000; }
.values-section { padding: 112px clamp(28px, 7vw, 112px) 104px; color: #fff; background: #050505; }
.values-heading { max-width: 1180px; margin: 0 auto 78px; display: grid; grid-template-columns: minmax(220px, .65fr) minmax(420px, 1.35fr); gap: 44px clamp(54px, 8vw, 120px); align-items: start; text-align: left; }
.values-heading h2 { margin: 0; font-size: clamp(34px, 3.8vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.values-heading > p:last-child { max-width: 710px; margin: 0; color: #c8c8c8; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; }
.values-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px clamp(64px, 9vw, 130px); }
.values-grid article { max-width: 560px; text-align: left; }
.values-grid h3 { margin: 0 0 12px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; }
.values-grid p { margin: 0; color: #bdbdbd; font-size: 15px; line-height: 1.65; }
.about-footnote { max-width: 1180px; margin: 76px auto 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.about-footnote p { max-width: 560px; margin: 0; color: #858585; font-size: 13px; line-height: 1.6; }
.about-footnote a { color: #fff; font-size: 14px; font-weight: 600; }
.project-section { min-height: 480px; padding: 80px clamp(28px, 6vw, 96px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; color: #fff; background: #666; }
.project-copy p { margin: 0; color: #e5e5e5; font-size: 14px; }
.project-copy h2 { margin: 2px 0 8px; font-size: clamp(36px, 4vw, 62px); font-weight: 500; letter-spacing: -.04em; }
.project-copy > span { display: block; margin-bottom: 22px; font-size: 13px; }
.project-copy a { display: inline-flex; gap: 10px; padding: 10px 16px; color: #fff; background: #000; font-size: 13px; font-weight: 600; }
.sound-mark { min-height: 230px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.sound-mark i { width: 10px; border-radius: 8px; background: #000; }
.sound-mark i:nth-child(1) { height: 110px; }.sound-mark i:nth-child(2) { height: 190px; }.sound-mark i:nth-child(3) { height: 82px; }.sound-mark i:nth-child(4) { height: 130px; }.sound-mark i:nth-child(5) { height: 70px; }.sound-mark i:nth-child(6) { width: 14px; height: 14px; }
.performance-section { padding: 74px clamp(28px, 5vw, 78px) 92px; color: #fff; background: #000; }
.metric-grid { max-width: 1500px; margin: 0 auto 84px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.metric-grid article { text-align: center; }
.metric-grid strong { display: block; font-size: clamp(28px, 2.5vw, 40px); font-weight: 500; }
.metric-grid span { color: #d0d0d0; font-size: 12px; }
.skills-layout { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 160px); align-items: end; }
.skills-copy h2 { margin: 0 0 14px; font-size: 26px; font-weight: 500; }
.skills-copy p { max-width: 520px; margin: 0; color: #c8c8c8; font-size: 13px; line-height: 1.65; }
.skill-bars { display: grid; gap: 18px; }
.skill-bars > div { display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; }
.skill-bars span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.skill-bars i { grid-column: 1 / -1; height: 16px; display: block; background: #fff; }
.skill-bars b { width: var(--score); height: 100%; display: block; background: #666; }
.capability-statement { max-width: 760px; align-self: end; }
.capability-statement p { margin: 0; color: #f3f3f3; font-size: clamp(20px, 2vw, 30px); font-weight: 400; line-height: 1.3; letter-spacing: -.025em; }
.capability-statement p + p { max-width: 620px; margin-top: 22px; color: #a9a9a9; font-size: 13px; line-height: 1.65; letter-spacing: 0; }
.skill-bars small { grid-column: 2; grid-row: 1; font-size: 11px; }
.home-footer { min-height: 440px; padding: 92px clamp(32px, 6vw, 92px) 72px; border-top: 1px solid #303030; display: grid; grid-template-columns: .8fr 1.35fr .5fr; gap: clamp(48px, 8vw, 130px); align-items: start; background: #000; }
.global-footer { min-height: 300px; padding-top: 64px; padding-bottom: 54px; color: #fff; }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 38px; object-fit: cover; }
.home-footer p { margin: 0; color: #aaa; font-size: 13px; line-height: 1.75; }
.footer-legal { display: grid; gap: 24px; max-width: 650px; }
.footer-legal a { color: #fff; border-bottom: 1px solid #666; }
.footer-links { display: grid; gap: 18px; justify-items: stretch; }
.footer-links > a,
.footer-links > button { width: 100%; padding: 0 0 10px; border: 0; border-bottom: 1px solid #444; display: flex; justify-content: space-between; gap: 26px; color: inherit; background: transparent; font: inherit; font-size: 14px; font-weight: 400; line-height: inherit; text-align: left; text-decoration: none; }
.footer-links > a:hover,
.footer-links > button:hover { border-color: #fff; }
.reveal-section { opacity: 0; transform: translateY(34px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal-section.is-visible { opacity: 1; transform: none; }

.feature-arrow span, .product-row i em { width: 42%; height: 42%; background: var(--white); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.feature-arrow, .product-row i { flex: 0 0 auto; width: clamp(58px, 5.5vw, 82px); height: clamp(58px, 5.5vw, 82px); border: 0; border-radius: 50%; background: var(--mid); display: grid; place-items: center; transition: transform 180ms ease, background 180ms ease; }
.feature-arrow:hover, .product-row:hover i { transform: scale(1.06); background: #747474; }
.cta { min-height: 52px; padding: 0 22px; border-radius: 4px; display: inline-flex; align-items: center; gap: 18px; background: var(--mid); color: var(--white); font-size: clamp(15px, 1.2vw, 18px); font-weight: 750; transition: transform 180ms ease, background 180ms ease; }
.cta:hover { transform: translateY(-3px); background: #333; }
.cta span { font-size: 1.65em; line-height: 1; }

.eyebrow { margin: 0; font-weight: 750; font-size: clamp(18px, 1.7vw, 27px); }
.eyebrow.centered { text-align: center; }
.selection-page { display: grid; align-content: start; }
.selection-heading { width: min(100%, 1180px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 14px 70px; align-items: end; }
.selection-heading .eyebrow { grid-column: 1 / -1; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.selection-heading h1 { margin: 0; max-width: 700px; font-size: clamp(42px, 4.6vw, 66px); line-height: 1; letter-spacing: -.045em; }
.selection-heading > p:last-child { margin: 0 0 7px; max-width: 480px; color: #555; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; }
.category-grid { width: min(100%, 1180px); margin: 64px auto 0; display: grid; }
.category-grid article { min-width: 0; min-height: 178px; padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1.15fr .75fr auto; gap: 30px; align-items: center; text-align: left; }
.category-grid article:last-child { border-bottom: 1px solid var(--line); }
.category-grid h1 { margin: 0; font-size: clamp(27px, 2.5vw, 36px); letter-spacing: -.035em; }
.category-grid article > p { min-height: 0; margin: 0; color: #555; font-size: 14px; line-height: 1.55; }
.category-grid ul { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.75; font-weight: 600; }
.category-grid li::before { content: "— "; color: #777; }
.category-grid .cta { min-height: 44px; margin: 0; padding: 0 16px; font-size: 13px; }

.detail-label { margin: 0; color: #777; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.catalogue-page { max-width: 1280px; margin: 0 auto; padding-top: calc(var(--header-height) + 50px); }
.catalogue-heading h1 { margin: 0; font-size: clamp(34px, 3.2vw, 48px); letter-spacing: -.045em; line-height: .95; }
.catalogue-heading p, .catalogue-page > h2 { margin: 11px 0 21px; font-size: clamp(17px, 1.5vw, 23px); font-weight: 750; }
.catalogue-page > h2 { margin: 23px 0 13px; }
.product-list { display: grid; gap: 12px; }
.product-row { min-height: 70px; padding: 12px 11px 12px 15px; border: 1px solid #e7e7e4; border-radius: 6px; background: var(--fog); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-row span:first-child { display: grid; gap: 6px; }
.product-row b { font-size: clamp(15px, 1.2vw, 19px); }
.product-row small { font-size: clamp(10px, .72vw, 12px); font-weight: 650; }
.product-row i { width: 46px; height: 46px; }
.product-row i em { display: block; }
.product-row.unavailable strong { margin-right: 18px; }

.software-note { margin-top: 54px; padding: 26px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.software-note p { margin: 0; font-size: 18px; }
.software-note a { font-weight: 600; }
.lineup-page { max-width: 1380px; margin: 0 auto; }
.lineup-heading { max-width: 680px; margin-bottom: 40px; }
.lineup-heading h1 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 54px); font-weight: 500; letter-spacing: -.04em; }
.lineup-heading p { margin: 0; color: #555; font-size: 15px; line-height: 1.65; }
.lineup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lineup-grid-single { grid-template-columns: minmax(280px, 420px); }
.lineup-card { min-width: 0; min-height: 430px; padding: 14px 14px 22px; display: flex; flex-direction: column; color: #111; background: #f1f1ee; border: 1px solid #deded9; transition: transform 180ms ease, border-color 180ms ease; }
a.lineup-card:hover { border-color: #111; transform: translateY(-3px); }
.lineup-card.legacy { color: #777; }
.lineup-image { height: 230px; margin-bottom: 20px; background: #e4e4e0 var(--lineup-image) center / contain no-repeat; }
.conductor-silhouette { background: #deded9; }
.lineup-card .lineup-status { margin: 12px 0 0; color: #666; font-size: 11px; }
.lineup-card h2 { margin: 0 0 9px; font-size: 22px; font-weight: 600; }
.lineup-card span { color: #555; font-size: 12px; line-height: 1.55; }
.lineup-card strong { margin-top: auto; padding-top: 24px; font-size: 13px; }
.software-detail { min-height: 100vh; color: #fff; background: #050505; }
.software-detail-hero { min-height: 58vh; padding: calc(var(--header-height) + 58px) clamp(28px, 6vw, 96px) 58px; display: grid; align-content: end; }
.software-detail-kind { margin: 14px 0 0; color: #aaa; font-size: 14px; }
.software-detail h1 { margin: 0; font-size: clamp(46px, 6vw, 84px); line-height: .95; letter-spacing: -.05em; }
.software-detail-tagline { margin: 20px 0 26px; font-size: clamp(17px, 1.5vw, 22px); }
.software-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.secondary-action { min-height: 52px; padding: 0 22px; border: 1px solid #555; display: inline-flex; align-items: center; }
.software-detail-body { padding: 72px clamp(28px, 6vw, 96px); border-top: 1px solid #333; display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.software-intro h2 { margin: 0 0 18px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; }
.software-intro > p:last-child { color: #bbb; font-size: 17px; line-height: 1.65; }
.software-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #333; }
.software-facts div { min-height: 145px; padding: 24px; border-right: 1px solid #333; border-bottom: 1px solid #333; }
.software-facts div:nth-child(2n) { border-right: 0; }
.software-facts div:nth-last-child(-n+2) { border-bottom: 0; }
.software-facts dt { font-size: clamp(24px, 2.5vw, 38px); font-weight: 600; }
.software-facts dd { margin: 8px 0 0; color: #aaa; font-size: 13px; }
.cos-page { max-width: 1180px; margin: 0 auto; }
.cos-intro { max-width: 820px; padding: 26px 0 64px; }
.cos-intro h1 { margin: 0 0 24px; font-size: clamp(46px, 6vw, 78px); font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.cos-intro p { margin: 0; color: #555; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; }
.cos-principles { padding: 52px 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 100px); border-top: 1px solid var(--line); }
.cos-principles h2, .release-section > h2, .guide-section > h2, .download-section h2 { margin: 0 0 16px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; }
.cos-principles p, .release-history p, .download-section p { margin: 0; color: #666; font-size: 14px; line-height: 1.7; }
.release-section, .guide-section, .download-section { padding: 64px 0; border-top: 1px solid var(--line); }
.release-history { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 68px; }
.release-history article { padding: 24px 0; display: grid; grid-template-columns: 100px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.release-history h3 { margin: 0; font-size: 18px; font-weight: 600; }
.guide-section ol { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-section li { counter-increment: guide; min-height: 82px; padding: 18px 0; display: grid; grid-template-columns: 40px minmax(180px, .55fr) 1fr; gap: 22px; align-items: start; border-bottom: 1px solid var(--line); }
.guide-section li::before { content: counter(guide, decimal-leading-zero); font-size: 13px; }
.guide-section li strong { font-size: 15px; }
.guide-section li span { color: #666; font-size: 14px; line-height: 1.6; }
.download-section { min-height: 220px; }

.fabrication-page { min-height: 100vh; padding-top: var(--header-height); color: #111; background: #f5f5f2; }
.fabrication-hero { padding: 52px clamp(24px, 6vw, 96px) 46px; display: grid; grid-template-columns: minmax(220px, .65fr) minmax(340px, 1.35fr); gap: 34px 7vw; align-items: center; background: #fff; }
.fabrication-hero h1 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.fabrication-hero > span { max-width: 680px; color: #555; font-size: 15px; line-height: 1.65; }
.fabrication-workspace { padding: 42px clamp(20px, 4vw, 64px) 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .62fr) minmax(290px, .68fr); gap: 18px; align-items: start; }
.model-panel, .quote-controls, .quote-results { min-width: 0; padding: 24px; background: #fff; }
.viewer-toolbar { min-height: 48px; margin-bottom: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.viewer-toolbar > div { display: grid; gap: 4px; }
.viewer-toolbar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.viewer-toolbar span, .model-status { color: #777; font-size: 12px; }
.viewer-toolbar button { border: 0; padding: 7px 0; color: #333; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.viewer-toolbar button:disabled { color: #aaa; cursor: default; }
.model-viewer { height: clamp(360px, 48vw, 610px); position: relative; overflow: hidden; color: #f5f5f2; background: #141414; }
.model-viewer.dragging { background: #0d0d0d; }
#modelCanvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#modelCanvas:active { cursor: grabbing; }
.model-gizmo { width: 72px; height: 72px; position: absolute; z-index: 3; top: 14px; right: 14px; border: 1px solid rgba(0,0,0,.22); border-radius: 50%; background: rgba(255,255,255,.88); cursor: grab; touch-action: none; }
.model-gizmo:active { cursor: grabbing; }
.viewer-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.viewer-empty[hidden] { display: none; }
.viewer-empty strong { font-size: 18px; }
.viewer-empty span { margin-top: 5px; color: #aaa; font-size: 13px; }
.viewer-help { position: absolute; left: 16px; bottom: 10px; margin: 0; color: #aaa; font-size: 10px; pointer-events: none; }
.file-control { min-height: 60px; margin-top: 14px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: #111; cursor: pointer; }
.file-control span { font-size: 14px; font-weight: 600; }
.file-control small { color: #aaa; font-size: 10px; }
.model-status { margin: 12px 0 0; line-height: 1.5; }
.model-file-list { margin-top: 10px; display: grid; gap: 6px; }
.model-file-list button { width: 100%; padding: 9px 10px; border: 0; display: flex; justify-content: space-between; gap: 16px; color: #555; background: #f0f0ed; text-align: left; font-size: 11px; cursor: pointer; }
.model-file-list button.active { color: #fff; background: #555; }
.quote-controls { display: grid; gap: 28px; }
.quote-controls fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 16px; }
.quote-controls legend { width: 100%; margin-bottom: 18px; padding: 0; font-size: 18px; font-weight: 600; }
.quote-controls label { display: grid; gap: 7px; color: #555; font-size: 11px; font-weight: 600; }
.orientation-control { display: grid; gap: 8px; color: #555; font-size: 11px; font-weight: 600; }
.orientation-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.orientation-buttons button { min-height: 38px; padding: 7px 9px; border: 1px solid #d5d5d1; color: #111; background: #fff; font: inherit; cursor: pointer; }
.orientation-buttons button:hover { color: #fff; background: #111; border-color: #111; }
.orientation-control output { color: #777; font-size: 10px; font-weight: 400; }
.quote-controls select, .quote-controls input[type="text"], .quote-controls input[type="email"], .quote-controls input[type="number"] { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid #d5d5d1; border-radius: 0; color: #111; background: #fff; font: inherit; font-size: 13px; }
.quote-controls label small { color: #888; font-size: 9px; font-weight: 400; }
.model-file-list button { align-items: center; }
.model-file-list .model-list-copy { min-width: 0; flex: 1; display: flex; justify-content: space-between; gap: 12px; }
.model-file-list .model-list-copy span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-file-list .model-delete { width: 28px; min-width: 28px; min-height: 28px; padding: 0; display: grid; place-items: center; color: inherit; background: transparent; border: 1px solid currentColor; }
.range-control > span { display: flex; justify-content: space-between; }
.range-control input { width: 100%; accent-color: #111; }
.payment-fieldset > p, .estimate-note { margin: -8px 0 0; color: #777; font-size: 11px; font-weight: 400; line-height: 1.55; }
.quote-results { position: sticky; top: calc(var(--header-height) + 18px); }
.quote-results h2 { margin: 0 0 28px; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.quote-results h3 { margin: 24px 0 8px; color: #333; font-size: 12px; font-weight: 600; }
.quote-results header + h3 { margin-top: 0; }
.order-estimate-details { margin-top: 0; }
.quote-results dl { margin: 0; }
.quote-results dl div { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.quote-results dt { color: #777; font-size: 11px; }
.quote-results dd { margin: 0; text-align: right; font-size: 12px; font-weight: 600; }
.quote-results dd.invalid { color: #a32525; }
.quote-total { margin-top: 24px; padding-top: 22px; display: grid; gap: 5px; border-top: 1px solid #ddd; }
.quote-total span, .quote-total small { color: #777; font-size: 11px; }
.quote-total strong { font-size: 28px; font-weight: 500; }
.quote-request { width: 100%; min-height: 54px; margin-top: 22px; padding: 0 16px; border: 0; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #111; font-size: 13px; font-weight: 600; cursor: pointer; }
.quote-request:disabled { color: #999; background: #ddd; cursor: not-allowed; }
.order-status { min-height: 18px; margin: 10px 0 0; color: #666; font-size: 11px; line-height: 1.5; }
.payment-disclaimer { margin: 10px 0 0; color: #666; font-size: 10px; line-height: 1.5; }

.product-feature { min-height: 100vh; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: clamp(14px, 2vw, 30px); padding: calc(var(--header-height) + 20px) clamp(18px, 2.7vw, 43px) 24px; color: #fff; background-color: rgba(0,0,0,.58); background-image: var(--feature-image); background-blend-mode: multiply; background-position: center; background-size: cover; background-repeat: no-repeat; }
.feature-copy { padding-left: 4vw; }
.feature-copy h1 { margin: 0; font-size: clamp(34px, 3.35vw, 50px); letter-spacing: -.045em; line-height: .95; }
.feature-copy p { margin: 7px 0 0; font-size: clamp(13px, 1.08vw, 16px); }
.feature-arrow { cursor: pointer; }
.feature-arrow.previous span { transform: rotate(180deg); }
.cta-dark { background: #1b1b1b; }

.purchase-button { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; gap: 18px; color: #000; background: #fff; font-weight: 700; white-space: nowrap; }
.product-status { margin: 0 0 15px; color: #ccc; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
.product-detail-page { min-height: 100vh; padding: calc(var(--header-height) + 34px) clamp(20px, 4vw, 64px) 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); gap: clamp(28px, 5vw, 74px); align-items: start; background: #fff; }
.product-detail-main { min-width: 0; display: grid; gap: 64px; }
.product-detail-media { height: min(68vh, 680px); margin: 0; position: relative; background: #ddd var(--feature-image) center / cover no-repeat; }
.product-detail-media figcaption { position: absolute; left: 16px; bottom: 14px; padding: 7px 10px; color: #fff; background: rgba(0,0,0,.78); font-size: 10px; }
.product-detail-intro { max-width: 820px; }
.product-detail-intro > p { margin: 0 0 12px; color: #666; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.product-detail-intro h1 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 70px); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.product-detail-intro > span { display: block; max-width: 720px; color: #4c4c4c; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.product-copy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(34px, 6vw, 80px); }
.product-copy-grid h2, .product-specifications > h2 { margin: 0 0 14px; font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.product-copy-grid p { margin: 0; color: #5c5c5c; font-size: 14px; line-height: 1.7; }
.product-specifications dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-specifications dl div { min-height: 74px; padding: 15px 14px 15px 0; border-top: 1px solid #ddd; display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; align-content: start; }
.product-specifications dl div:nth-child(odd) { margin-right: 28px; }
.product-specifications dt { color: #777; font-size: 11px; }
.product-specifications dd { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.45; }
.frequency-response { margin: 44px 0 0; }
.frequency-response img { width: 100%; height: auto; display: block; background: #0b0b0b; }
.frequency-response figcaption { margin-top: 10px; color: #777; font-size: 10px; }
.product-buy-panel { max-height: calc(100vh - var(--header-height) - 52px); padding: 4px 12px 24px 2px; position: sticky; top: calc(var(--header-height) + 26px); overflow-y: auto; scrollbar-width: thin; }
.buy-summary { margin-bottom: 34px; }
.buy-summary > p { margin: 0 0 9px; color: #777; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.buy-summary h2 { margin: 0 0 10px; font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.buy-summary > span { color: #666; font-size: 13px; }
.buy-summary strong { color: #111; font-size: 16px; }
.product-options { display: grid; gap: 30px; }
.product-options fieldset { margin: 0; padding: 0; border: 0; }
.product-options legend { width: 100%; margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 600; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid label > span { min-height: 48px; padding: 9px 10px; border: 1px solid #d7d7d3; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.choice-grid input:checked + span { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.color-choices span::before { content: ""; width: 16px; height: 16px; flex: 0 0 auto; border: 1px solid #aaa; background: var(--swatch); }
.storage-choices { grid-template-columns: repeat(3, 1fr); }
.storage-choices label > span { align-items: flex-start; flex-direction: column; }
.storage-choices small { color: #777; font-size: 9px; }
.option-select { margin-top: 10px; display: grid; gap: 6px; color: #666; font-size: 10px; }
.option-select select { width: 100%; min-height: 44px; padding: 0 9px; border: 1px solid #d7d7d3; border-radius: 0; color: #111; background: #fff; font: inherit; font-size: 12px; }
.buy-total { margin-top: 34px; padding-top: 22px; border-top: 1px solid #ddd; display: grid; gap: 5px; }
.buy-total > span, .buy-total small { color: #777; font-size: 10px; line-height: 1.4; }
.buy-total strong { font-size: 28px; font-weight: 500; }
.product-purchase-button { min-height: 54px; margin-top: 18px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #111; font-size: 13px; font-weight: 600; }
.purchase-fineprint { margin: 12px 0 0; color: #888; font-size: 10px; line-height: 1.55; }
.cookie-consent { width: min(620px, calc(100vw - 28px)); padding: 22px; position: fixed; z-index: 2100; right: 14px; bottom: 14px; color: #fff; background: #111; border: 1px solid #444; }
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.cookie-consent p { margin: 0 0 16px; color: #bbb; font-size: 12px; line-height: 1.55; }
.cookie-consent [hidden] { display: none !important; }
.cookie-consent > div, .cookie-consent fieldset > div { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.cookie-consent button { min-height: 38px; padding: 0 12px; border: 1px solid #777; color: #fff; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.cookie-consent button:first-child, .cookie-consent fieldset [data-cookie-action="save"] { color: #111; background: #fff; border-color: #fff; }
.cookie-consent fieldset { margin: 14px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid #444; }
.cookie-consent legend { padding: 0 0 10px; font-size: 13px; font-weight: 600; }
.cookie-consent label { display:flex; align-items:flex-start; gap:8px; margin-bottom:11px; font-size:11px; }
.cookie-consent label input { margin-top:3px; accent-color:#fff; }
.cookie-consent label span { display:flex; flex-direction:column; gap:2px; }
.cookie-consent label strong { font-size:11px; }
.cookie-consent label small { color:#aaa; font-size:10px; line-height:1.4; }
.footer-links [data-cookie-settings] { cursor:pointer; }

.text-page { max-width: 1040px; }
.text-page h1 { margin: 18px 0 38px; font-size: clamp(46px, 5vw, 72px); letter-spacing: -.045em; }
.text-content { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }
.text-content h2 { margin-top: 42px; font-size: 1.2em; }

@media (max-width: 900px) {
  :root { --header-height: 56px; }
  .site-header { padding: 0 16px; grid-template-columns: 1fr auto auto; gap: 10px; border-bottom: 1px solid rgba(127,127,127,.25); }
  .site-header[data-tone="dark"] { background: #000; }
  .site-header[data-tone="light"] { background: #fff; }
  .site-header[data-home="true"] { color: #fff; background: transparent; }
  .mark-link { width: 44px; height: 44px; }
  .brand-mark { width: 36px; height: 36px; }
  .menu-toggle { min-width: 54px; min-height: 44px; display: block; border: 0; background: transparent; color: inherit; font-size: 15px; }
  .primary-nav { position: fixed; inset: var(--header-height) 0 auto; padding: 12px 18px 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); color: var(--black); border-bottom: 1px solid var(--line); font-size: 20px; box-shadow: 0 16px 30px rgba(0,0,0,.12); }
  .primary-nav.open { display: flex; }
  .primary-nav a { min-height: 52px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .primary-nav a.active { font-weight: 600; }
  .help-link { font-size: 25px; }
  .original-home .hero { padding-left: 54px; padding-right: 54px; }
  .hero-right { width: 34%; }
  .about-section { gap: 58px; }
  .offering-grid { grid-template-columns: 1fr; max-width: 660px; gap: 28px; }
  .offering-card { grid-template-rows: 68px auto 1fr 76px; }
  .values-heading { grid-template-columns: 1fr; }
  .project-section { min-height: 420px; }
  .skills-layout { grid-template-columns: 1fr; gap: 54px; }
  .selection-heading { grid-template-columns: 1fr; gap: 22px; }
  .selection-heading .eyebrow { grid-column: auto; }
  .category-grid { margin-top: 42px; }
  .lineup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid article { min-height: 0; grid-template-columns: .65fr 1.35fr auto; }
  .category-grid ul { display: none; }
  .product-feature { grid-template-columns: auto 1fr auto; align-content: center; }
  .feature-copy { grid-column: 1 / -1; grid-row: 1; padding: 0; text-align: center; }
  .product-feature .cta { grid-column: 1 / -1; justify-self: center; }
  .fabrication-workspace { grid-template-columns: 1fr 1fr; }
  .model-panel { grid-column: 1 / -1; }
  .quote-results { position: static; }
  .product-detail-page { grid-template-columns: 1fr; }
  .product-buy-panel { width: min(100%, 620px); max-height: none; padding-right: 0; position: static; overflow: visible; }
  .software-detail-body { grid-template-columns: 1fr; }
  .release-history { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-shell { padding: calc(var(--header-height) + 44px) 16px 50px; }
  .original-home .hero { min-height: 100svh; padding: 116px 22px 48px; display: grid; align-content: center; gap: 62px; }
  .hero-bg { width: 120%; height: 100%; max-width: none; right: -50%; object-fit: cover; opacity: .38; }
  .hero-left h1 { font-size: clamp(58px, 18vw, 78px); line-height: .98; }
  .copyright { margin-top: 30px; max-width: 250px; line-height: 1.45; }
  .hero-right { width: 100%; min-height: auto; }
  .learn-btn { position: static; display: block; width: 100%; padding: 17px 24px; border-radius: 12px; }
  .about-section { min-height: auto; padding: 100px 22px; grid-template-columns: 1fr; gap: 82px; }
  .about-section h2 { font-size: 34px; }
  .offerings-section { padding: 82px 16px 88px; }
  .offering-grid { margin-top: 52px; }
  .values-section { padding: 84px 22px 78px; }
  .values-heading { margin-bottom: 68px; gap: 20px; }
  .values-heading h2 { font-size: clamp(45px, 14vw, 62px); }
  .values-heading > p:last-child { font-size: 16px; }
  .values-grid { grid-template-columns: 1fr; gap: 44px; }
  .values-grid article { max-width: none; }
  .about-footnote { margin-top: 68px; align-items: flex-start; flex-direction: column; gap: 24px; }
  .project-section { min-height: auto; padding: 72px 22px; grid-template-columns: 1fr; gap: 38px; }
  .sound-mark { min-height: 170px; transform: scale(.8); }
  .performance-section { padding: 66px 22px 76px; }
  .metric-grid { margin-bottom: 70px; grid-template-columns: repeat(2, 1fr); gap: 42px 20px; }
  .home-footer { min-height: auto; padding: 72px 22px 58px; grid-template-columns: 1fr; gap: 52px; }
  .footer-brand img { margin-bottom: 26px; }
  .footer-links { justify-items: stretch; }
  .cta { min-height: 50px; padding: 0 20px; gap: 16px; }
  .category-grid article { padding: 26px 0; grid-template-columns: 1fr; gap: 12px; }
  .lineup-grid { grid-template-columns: 1fr; }
  .lineup-card { min-height: 390px; }
  .category-grid article > p { max-width: 520px; }
  .category-grid .cta { margin-top: 8px; justify-self: start; }
  .circle-link, .feature-arrow { width: 58px; height: 58px; }
  .catalogue-page { padding-left: 16px; padding-right: 16px; }
  .catalogue-heading h1 { font-size: 46px; }
  .catalogue-heading p { font-size: 20px; }
  .product-row { min-height: 96px; border-radius: 6px; padding-left: 18px; }
  .product-row i { width: 66px; height: 66px; }
  .product-feature { grid-template-columns: auto auto; justify-content: space-between; }
  .product-feature .cta { order: 4; }
  .purchase-button { justify-content: space-between; }
  .fabrication-hero { padding: 56px 20px 50px; grid-template-columns: 1fr; }
  .fabrication-hero > p { grid-column: auto; }
  .fabrication-workspace { padding: 16px 12px 50px; grid-template-columns: 1fr; }
  .model-panel { grid-column: auto; padding: 14px; }
  .quote-controls, .quote-results { padding: 20px; }
  .model-viewer { height: 390px; }
  .file-control { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .product-detail-page { padding: calc(var(--header-height) + 18px) 16px 58px; gap: 42px; }
  .product-detail-main { gap: 46px; }
  .product-detail-media { height: 56svh; }
  .product-copy-grid, .product-specifications dl { grid-template-columns: 1fr; }
  .product-specifications dl div:nth-child(odd) { margin-right: 0; }
  .software-note { align-items: flex-start; flex-direction: column; gap: 18px; }
  .software-detail-hero { min-height: 72svh; padding: calc(var(--header-height) + 52px) 20px 52px; }
  .software-detail h1 { max-width: 100%; font-size: clamp(48px, 14vw, 64px); letter-spacing: -.055em; }
  .software-detail-body { padding: 66px 20px; }
  .software-facts { grid-template-columns: 1fr; }
  .software-facts div, .software-facts div:nth-child(2n), .software-facts div:nth-last-child(-n+2) { min-height: 116px; border-right: 0; border-bottom: 1px solid #333; }
  .software-facts div:last-child { border-bottom: 0; }
  .cos-intro { padding-bottom: 46px; }
  .cos-principles { grid-template-columns: 1fr; gap: 34px; }
  .release-section, .guide-section, .download-section { padding: 48px 0; }
  .release-history article { grid-template-columns: 72px 1fr; gap: 16px; }
  .guide-section li { grid-template-columns: 34px 1fr; gap: 10px 14px; }
  .guide-section li span { grid-column: 2; }
}

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

/* Night mode keeps every interactive surface legible; product imagery remains unchanged. */
html[data-theme="dark"] .site-header[data-tone="light"] { color: #f5f5f2; background: #0b0b0b; }
html[data-theme="dark"] .feature-arrow span,
html[data-theme="dark"] .product-row i em { background: #fff; }
html[data-theme="dark"] .cta { color: #fff; }
html[data-theme="dark"] .category-grid article,
html[data-theme="dark"] .software-note,
html[data-theme="dark"] .release-section,
html[data-theme="dark"] .guide-section,
html[data-theme="dark"] .download-section,
html[data-theme="dark"] .cos-principles { border-color: #3c3c38; }
html[data-theme="dark"] .lineup-card { color: #f5f5f2; background: #171715; border-color: #3c3c38; }
html[data-theme="dark"] .lineup-card p,
html[data-theme="dark"] .lineup-card span,
html[data-theme="dark"] .cos-principles p,
html[data-theme="dark"] .release-history p,
html[data-theme="dark"] .download-section p,
html[data-theme="dark"] .guide-section li span { color: #b8b8b2; }
html[data-theme="dark"] .product-detail-page { color: #f5f5f2; background: #0b0b0b; }
html[data-theme="dark"] .product-detail-intro > p,
html[data-theme="dark"] .product-detail-intro > span,
html[data-theme="dark"] .product-copy-grid p,
html[data-theme="dark"] .product-specifications dt,
html[data-theme="dark"] .frequency-response figcaption,
html[data-theme="dark"] .buy-summary > p,
html[data-theme="dark"] .buy-summary > span,
html[data-theme="dark"] .storage-choices small,
html[data-theme="dark"] .option-select,
html[data-theme="dark"] .buy-total > span,
html[data-theme="dark"] .buy-total small,
html[data-theme="dark"] .purchase-fineprint { color: #b8b8b2; }
html[data-theme="dark"] .buy-summary strong { color: #fff; }
html[data-theme="dark"] .product-specifications dl div,
html[data-theme="dark"] .choice-grid label > span,
html[data-theme="dark"] .buy-total { border-color: #444; }
html[data-theme="dark"] .choice-grid input:checked + span { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
html[data-theme="dark"] .option-select select { color: #f5f5f2; background: #171715; border-color: #555; color-scheme: dark; }
html[data-theme="dark"] .product-purchase-button { color: #111; background: #fff; }
html[data-theme="dark"] .fabrication-page { color: #f5f5f2; background: #0b0b0b; }
html[data-theme="dark"] .fabrication-hero,
html[data-theme="dark"] .model-panel,
html[data-theme="dark"] .quote-controls,
html[data-theme="dark"] .quote-results { color: #f5f5f2; background: #171715; }
html[data-theme="dark"] .fabrication-hero > span,
html[data-theme="dark"] .viewer-toolbar span,
html[data-theme="dark"] .model-status,
html[data-theme="dark"] .viewer-toolbar button,
html[data-theme="dark"] .viewer-empty span,
html[data-theme="dark"] .viewer-help,
html[data-theme="dark"] .quote-controls label,
html[data-theme="dark"] .orientation-control,
html[data-theme="dark"] .orientation-control output,
html[data-theme="dark"] .payment-fieldset > p,
html[data-theme="dark"] .estimate-note,
html[data-theme="dark"] .quote-results h3,
html[data-theme="dark"] .quote-results dt,
html[data-theme="dark"] .quote-total span,
html[data-theme="dark"] .quote-total small,
html[data-theme="dark"] .order-status,
html[data-theme="dark"] .payment-disclaimer { color: #b8b8b2; }
html[data-theme="dark"] .quote-controls select,
html[data-theme="dark"] .quote-controls input[type="text"],
html[data-theme="dark"] .quote-controls input[type="email"],
html[data-theme="dark"] .quote-controls input[type="number"],
html[data-theme="dark"] .orientation-buttons button { color: #f5f5f2; background: #0f0f0e; border-color: #555; color-scheme: dark; }
html[data-theme="dark"] .orientation-buttons button:hover { color: #111; background: #fff; border-color: #fff; }
html[data-theme="dark"] .model-file-list button { color: #ddd; background: #292927; }
html[data-theme="dark"] .model-file-list button.active { color: #111; background: #eee; }
html[data-theme="dark"] .quote-total { border-color: #444; }
html[data-theme="dark"] .quote-request { color: #111; background: #fff; }
html[data-theme="dark"] .quote-request:disabled { color: #777; background: #333; }
.fabrication-policy{margin:18px 0 0;display:flex;align-items:flex-start;gap:9px;color:#666;font-size:10px;line-height:1.55}.fabrication-policy input{margin-top:3px;accent-color:#111}.fabrication-policy a{text-decoration:underline}html[data-theme="dark"] .fabrication-policy{color:#aaa}html[data-theme="dark"] .fabrication-policy input{accent-color:#fff}

.product-reviews { display: grid; gap: 32px; padding-top: 46px; border-top: 1px solid #c8c8c4; }
.review-heading { display: grid; gap: 10px; margin: 0; }
.product-reviews h2 { margin: 0; font-size: 28px; line-height: 1.15; }
.review-heading p { max-width: 560px; margin: 0; color: #666; line-height: 1.6; }
.review-content { display: grid; gap: 24px; align-items: start; }
.review-list { display: grid; gap: 16px; }
.review-empty { max-width: 560px; margin: 0; padding: 2px 0; color: #666; line-height: 1.6; }
.review-list article { padding: 20px 0; border-bottom: 1px solid #d4d4d0; }
.review-list article > div { display: flex; justify-content: space-between; gap: 20px; }
.review-list article p { line-height: 1.6; }
.review-list article small { color: #666; }
.review-form { max-width: 620px; margin: 0; display: grid; gap: 14px; }
.review-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.review-form input,.review-form select,.review-form textarea { min-height: 42px; padding: 10px 12px; border: 1px solid #999; border-radius: 0; background: #fff; font: inherit; }
.review-form textarea { min-height: 120px; resize: vertical; }
.review-form button,.review-sign-in { width: max-content; min-height: 42px; margin: 0; padding: 0 18px; border: 1px solid #111; color: #fff; background: #111; cursor: pointer; }
.review-eligibility { max-width: 560px; margin: 0; padding-top: 4px; color: #666; font-size: 12px; line-height: 1.6; }
.site-announcement { width: min(420px,calc(100vw - 28px)); padding: 20px 52px 20px 22px; position: fixed; z-index: 9000; right: 18px; bottom: 18px; color: #fff; background: #111; border: 1px solid #444; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.site-announcement button { position: absolute; top: 8px; right: 10px; border: 0; color: inherit; background: transparent; font-size: 24px; cursor: pointer; }
.site-announcement strong { font-size: 18px; }
.site-announcement p { margin: 7px 0 0; color: #c8c8c4; line-height: 1.45; }
html[data-theme="dark"] .product-reviews { border-color: #444; }
html[data-theme="dark"] .review-heading p,html[data-theme="dark"] .review-empty,html[data-theme="dark"] .review-eligibility,html[data-theme="dark"] .review-list article small { color: #aaa; }
html[data-theme="dark"] .review-list article { border-color: #444; }
html[data-theme="dark"] .review-form input,html[data-theme="dark"] .review-form select,html[data-theme="dark"] .review-form textarea { color:#fff;background:#121211;border-color:#555;color-scheme:dark; }
html[data-theme="dark"] .review-form button,html[data-theme="dark"] .review-sign-in { color:#111;background:#fff;border-color:#fff; }

/* Unified navigation motion and mobile visibility. */
.nav-scrim {
  position: fixed;
  z-index: 49;
  inset: var(--header-height) 0 0;
  border: 0;
  background: rgba(0, 0, 0, .46);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}
.profile-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease, visibility 0s linear 180ms;
}
.profile-menu[hidden] { display: block; }
.profile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.menu-toggle { align-items: center; justify-content: center; gap: 9px; cursor: pointer; }
.menu-toggle i,
.menu-toggle i::before {
  width: 15px;
  height: 1px;
  display: block;
  position: relative;
  background: currentColor;
  transition: transform 200ms ease;
}
.menu-toggle i::before { content: ""; position: absolute; top: 5px; }
.menu-toggle[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::before { transform: translateY(-5px) rotate(-90deg); }

@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body.mobile-nav-open { overflow: hidden; }
  .site-header {
    background: rgba(248,248,245,.78);
    border-bottom-color: rgba(80,80,76,.18);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
  }
  .site-header[data-tone="dark"],
  .site-header[data-home="true"] { background: rgba(8,8,8,.68); }
  .site-header[data-menu-open="true"] { color: var(--black); background: var(--white); border-bottom-color: var(--line); }
  .menu-toggle { display: flex; }
  .primary-nav {
    z-index: 51;
    display: flex;
    padding: 10px 18px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    pointer-events: none;
    box-shadow: none;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 240ms;
  }
  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    transition-delay: 0s;
  }
  .primary-nav a { opacity: 0; transform: translateY(-6px); transition: opacity 140ms ease, transform 180ms ease; }
  .primary-nav.open a { opacity: 1; transform: translateY(0); }
  .primary-nav.open a:nth-child(2) { transition-delay: 35ms; }
  .primary-nav.open a:nth-child(3) { transition-delay: 70ms; }
  .site-header[data-menu-open="true"] .nav-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .profile-menu { top: calc(var(--header-height) + 6px); right: 12px; width: min(250px, calc(100vw - 24px)); }
  html[data-theme="dark"] .primary-nav,
  html[data-theme="dark"] .site-header[data-menu-open="true"],
  html[data-theme="dark"] .profile-menu { color: #f5f5f2; background: #0b0b0b; border-color: #3c3c38; }
  html[data-theme="dark"] .profile-menu a:hover,
  html[data-theme="dark"] .profile-menu button:hover { color: #111; background: #fff; }
}

html[data-page="home"],
html[data-page="home"] body { background: #000; }

@media (max-width: 700px) {
  html, body { max-width: 100%; overflow-x: clip; }
  button, input, select, textarea { font-size: max(16px, 1em); }
  .original-home .hero { padding: 104px 20px 42px; gap: 40px; }
  .hero-bg { inset: 0; width: 100%; height: 100%; object-position: 62% center; opacity: .42; }
  .hero-left h1 { max-width: 7ch; font-size: clamp(50px, 15vw, 66px); }
  .about-section, .values-section, .project-section, .performance-section { padding-left: 20px; padding-right: 20px; }
  .selection-heading h1, .lineup-heading h1, .catalogue-heading h1 { font-size: clamp(38px, 12vw, 50px); line-height: 1.02; }
  .page-shell { padding-top: calc(var(--header-height) + 34px); }
  .lineup-card { min-height: 330px; }
  .product-detail-media { height: min(54svh, 480px); }
  .product-detail-intro h1 { overflow-wrap: anywhere; }
  .product-buy-panel { width: 100%; }
  .choice-grid { grid-template-columns: 1fr; }
  .model-viewer { height: min(66svh, 430px); min-height: 330px; }
  .viewer-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .orientation-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orientation-buttons button { min-width: 0; min-height: 44px; }
  .model-file-list button { min-height: 44px; }
  .cookie-consent { right: 12px; bottom: 12px; left: 12px; width: auto; max-height: calc(100svh - 24px); overflow-y: auto; }
  .site-announcement { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .home-footer { padding-bottom: calc(44px + env(safe-area-inset-bottom)); }
}
