/* ===== Tokens ===== */
:root {
  --bg: #F3F4F5;
  --surface: #FFFFFF;
  --ink: #111317;
  --ink-2: #4A515C;
  --ink-3: #5B6370;
  --line: #D6D9DE;
  --line-2: #C9CDD3;
  --accent: #2C4A6E;
  --dark: #111317;
  --dark-2: #1D2026;
  --dark-line: #3A3F48;
  --dark-ink-2: #AEB4BE;
  --ph: #E3E5E8;
  --error: #B42318;
  --display: 'Michroma', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --sans: 'Manrope', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --header-h: 84px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.kicker { font-family: var(--display); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }
.h1 { font-weight: 300; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -.035em; }
.h1-sm { font-weight: 300; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -.03em; }
.h2 { margin-top: 18px; font-weight: 300; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.h3 { font-weight: 300; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; }
.body { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.small { font-size: 14px; color: var(--ink-3); }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.border-top { border-top: 1px solid var(--line); }
@media (max-width: 640px) { .section { padding: 80px 0; } .section-sm { padding: 56px 0; } }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; background: var(--ink); color: #fff; font-family: var(--display); font-size: 11px; letter-spacing: .24em; text-decoration: none; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--display); font-size: 11px; letter-spacing: .2em; text-decoration: none; text-transform: uppercase; display: inline-flex; gap: 10px; padding: 12px 0; }

/* ===== Placeholder image ===== */
.ph { display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--ph); color: var(--ink-3); font-size: 13px; letter-spacing: .08em; text-align: center; }
.ph-dark { background: var(--dark-2); color: #9AA1AC; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243, 244, 245, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.logo { font-family: var(--display); font-size: 20px; letter-spacing: .32em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: stretch; height: 100%; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-item { display: flex; }
.nav-link { display: flex; align-items: center; font-family: var(--display); font-size: 10px; letter-spacing: .22em; text-decoration: none; color: var(--ink); white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link, .nav-link[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }

.panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(17, 19, 23, .08); }
.nav-item:hover > .panel, .nav-item:focus-within > .panel { display: block; }
.panel-inner { padding-top: 40px; padding-bottom: 44px; display: flex; gap: 56px; }
.panel-title { width: 220px; flex-shrink: 0; font-weight: 300; font-size: 28px; letter-spacing: -.02em; }
.panel-cols { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.panel-col-title { display: block; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15px; text-decoration: none; }
.panel-col a.sub { display: block; padding: 7px 0; font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: var(--ink-2); text-decoration: none; }
.panel-col a.sub:hover { color: var(--accent); }
.panel-links { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; }
.panel-links a { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.panel-links a span:first-child { font-weight: 500; font-size: 16px; }
.panel-links a span:last-child { font-size: 14px; color: var(--ink-3); }
.panel-links a:hover span:first-child { color: var(--accent); }

.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 0 16px; font-family: var(--display); font-size: 11px; letter-spacing: .22em; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: '+'; font-family: var(--sans); font-size: 20px; }
.mobile-menu details[open] summary::after { content: '−'; }
.mobile-menu .m-links { padding: 0 16px 16px; display: flex; flex-direction: column; }
.mobile-menu .m-links a { padding: 12px 0; text-decoration: none; color: var(--ink-2); }
.mobile-menu .m-home { display: flex; align-items: center; min-height: 60px; padding: 0 16px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 11px; letter-spacing: .22em; text-decoration: none; }

@media (max-width: 1100px) { .nav { gap: 22px; } .panel-title { display: none; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-top { padding-top: 64px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.footer-col h4 { margin: 0 0 14px; font-family: var(--display); font-size: 10px; font-weight: 400; letter-spacing: .24em; }
.footer-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-3); text-decoration: none; }
.footer-bottom a.strong { color: var(--ink); font-weight: 600; }

/* ===== Home ===== */
.hero { padding-top: 112px; padding-bottom: 64px; text-align: center; }
.hero .h1 { margin: 28px auto 0; max-width: 1000px; }
.hero .body { margin: 32px auto 0; max-width: 560px; }
.hero .btn-row { justify-content: center; margin-top: 40px; }
.row-list { border-bottom: 1px solid var(--line-2); }
.row-link { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--ink); transition: padding .2s; }
.row-link:hover { color: var(--accent); padding-left: 12px; }
.row-num { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.row-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; }
.row-title { font-size: clamp(24px, 3vw, 40px); font-weight: 300; letter-spacing: -.02em; }
.row-sub { font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: var(--ink-3); }
@media (max-width: 640px) { .row-link { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; } }

.dark { background: var(--dark); color: #F3F4F5; }
.dark .kicker { color: #9AA1AC; }
.dark .body { color: var(--dark-ink-2); }
.values { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.values div { border-top: 1px solid var(--dark-line); padding-top: 20px; }
.values strong { display: block; font-family: var(--display); font-size: 11px; font-weight: 400; letter-spacing: .24em; }
.values p { margin-top: 12px; color: var(--dark-ink-2); font-size: 15px; line-height: 1.65; }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

.panel-card { background: var(--surface); padding: 56px 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (max-width: 640px) { .panel-card { padding: 40px 24px; } }

/* ===== Page header ===== */
.page-head { padding-top: 96px; padding-bottom: 56px; }
.page-head .h1-sm { margin-top: 20px; max-width: 960px; }
.page-head .body { margin-top: 24px; max-width: 640px; }
.pills { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ===== Products ===== */
.product { background: var(--surface); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.product .ph { aspect-ratio: 16 / 10; }
.product-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.tag { align-self: flex-start; font-family: var(--display); font-size: 9px; letter-spacing: .22em; color: var(--ink-3); border: 1px solid var(--line-2); padding: 6px 10px; }
.product-name { font-family: var(--display); font-size: 22px; letter-spacing: .14em; }
.specs { margin: 8px 0 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; }
.product .link-arrow { margin-top: auto; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 16px); }
.feature .ph { min-height: 340px; }
.feature .product-body { padding: 48px; }
@media (max-width: 640px) { .feature .product-body { padding: 32px 24px; } }

.table-wrap { margin-top: 48px; background: var(--surface); overflow-x: auto; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-family: var(--display); font-size: 12px; font-weight: 400; letter-spacing: .18em; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.compare thead th a { text-decoration: none; }
.compare tbody th { font-weight: 400; color: var(--ink-3); width: 26%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ===== Steps ===== */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 40px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 24px; }
.steps .n { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.steps h3 { margin-top: 20px; font-weight: 400; font-size: 24px; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

.info-card { background: var(--surface); padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.info-card .n { font-family: var(--display); font-size: 11px; letter-spacing: .22em; color: var(--ink-3); }
.info-card h3 { font-weight: 400; font-size: 24px; }
.info-card p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .legend { font-size: 14px; color: var(--ink-2); }
.req { color: var(--error); }
.input { width: 100%; min-height: 52px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 0; font-size: 16px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111317' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.input { min-height: 160px; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input[aria-invalid="true"] { border-color: var(--error); }
.err { display: none; font-size: 13px; color: var(--error); }
.field.has-error .err { display: block; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.checks .check { min-height: 44px; align-items: center; }
.checks .check input { margin: 0; }
.form-card { background: var(--surface); padding: 48px; }
@media (max-width: 640px) { .form-card { padding: 28px 20px; } }
.notice { padding: 24px; border: 1px solid var(--ink); background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.notice dl { margin: 0; }
.notice dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.notice dt { color: var(--ink-3); }
.notice dd { margin: 0; text-align: right; }
.notice.error { border-color: var(--error); }
.hint { font-size: 13px; color: var(--ink-3); }

/* type cards (contact) */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; border: 0; margin: 0; padding: 0; }
.type-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; min-height: 112px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card strong { font-weight: 500; font-size: 18px; }
.type-card span { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.type-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.type-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* tabs */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tab { flex: 1; min-height: 52px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: var(--ink-3); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* installer finder */
.finder-bar { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.finder-bar .field { flex: 1 1 220px; }
.results-meta { margin-top: 32px; font-size: 15px; color: var(--ink-3); }
.results { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.installer { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.installer h3 { font-weight: 500; font-size: 19px; }
.installer .meta { font-size: 15px; color: var(--ink-2); }
.installer .svc { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 9px; letter-spacing: .2em; color: var(--ink-3); }
.empty { padding: 48px 24px; background: var(--surface); text-align: center; color: var(--ink-3); grid-column: 1 / -1; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 16px 0; font-size: 18px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 300; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 28px; max-width: 760px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

.doc { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; text-decoration: none; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); transition: box-shadow .2s; }
.doc:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.doc h3 { font-weight: 400; font-size: 22px; }
.doc p { color: var(--ink-2); font-size: 15px; line-height: 1.6; flex-grow: 1; }
.doc .link-arrow { padding: 0; }

.layers { display: flex; flex-direction: column; gap: 8px; }
.layers div { background: var(--surface); padding: 22px 28px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.layers strong { font-weight: 500; font-size: 18px; }
.layers span { color: var(--ink-3); font-size: 14px; text-align: right; }

.hidden { display: none !important; }
.check-wrap { display: flex; flex-direction: column; gap: 6px; }
.check-wrap.has-error .err { display: block; }

/* =========================================================
   v2 — Hybrid tone (dark for visual sections, light for information)
   ========================================================= */
:root { --night: #0B0C0F; --night-2: #16181D; --night-line: #23262D; --night-ink: #8A919C; }
body { overflow-x: clip; }

/* Header: dark */
.site-header { background: rgba(11, 12, 15, .92); border-bottom-color: var(--night-line); }
.logo, .logo:hover { color: #F3F4F5; }
.nav-link { color: #C9CDD3; }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link, .nav-link[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.burger { border-color: #3A3F48; color: #F3F4F5; }

/* Dark page band (sub-page headers) */
.page-band { background: var(--night); color: #F3F4F5; }
.page-band .kicker { color: #9AA1AC; }
.page-band .body { color: var(--dark-ink-2); }
.page-band .ph { background: var(--night-2); color: #9AA1AC; }
.page-band .pill { border-color: #3A3F48; color: #E3E5E8; }
.page-band .pill:hover { border-color: #fff; color: #fff; }
.page-band .btn { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.page-band .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.page-band .btn-line { background: transparent; color: #F3F4F5; border-color: #5B6370; }
.page-band .btn-line:hover { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.page-band a:not(.btn):not(.pill) { color: #F3F4F5; }

/* Home hero */
.hero2 { position: relative; overflow: hidden; background: var(--night); color: #F3F4F5; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; }
.hero2 > .wrap { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 96px; }
.hero2 h1 { margin-top: 28px; font-weight: 300; font-size: clamp(48px, 8vw, 128px); line-height: .98; letter-spacing: -.04em; max-width: 1100px; }
.hero2 .kicker { color: #9AA1AC; }
.hero2 .body { color: var(--dark-ink-2); max-width: 520px; margin-top: 28px; }
.hero2 .btn-row { margin-top: 40px; }
.hero2 .btn { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.hero2 .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero2 .btn-line { background: transparent; color: #F3F4F5; border-color: #5B6370; }
.hero2 .btn-line:hover { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.panes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pane { position: absolute; top: -10%; height: 130%; transform: skewX(-14deg); border-left: 1px solid rgba(255, 255, 255, .14); animation: drift 16s ease-in-out infinite alternate; }
.pane:nth-child(1) { left: 40%; width: 20%; background: linear-gradient(180deg, rgba(140, 165, 200, .10), rgba(255, 255, 255, 0) 70%); }
.pane:nth-child(2) { left: 56%; width: 16%; background: linear-gradient(180deg, rgba(44, 74, 110, .32), rgba(44, 74, 110, 0) 75%); animation-delay: -4s; }
.pane:nth-child(3) { left: 70%; width: 24%; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 65%); animation-delay: -8s; }
.pane:nth-child(4) { left: 90%; width: 14%; background: linear-gradient(180deg, rgba(120, 140, 170, .12), rgba(255, 255, 255, 0) 70%); animation-delay: -2s; }
@keyframes drift { from { transform: skewX(-14deg) translateX(0); } to { transform: skewX(-14deg) translateX(-48px); } }
@media (prefers-reduced-motion: reduce) { .pane { animation: none; } }
.ph-note { position: absolute; right: 32px; top: 24px; z-index: 2; font-size: 12px; letter-spacing: .08em; color: var(--night-ink); }
@media (max-width: 640px) { .pane:nth-child(1) { left: 20%; } .ph-note { right: 16px; } }

/* Category stage with glass cards */
.stage { position: relative; background: var(--night); color: #F3F4F5; padding: 120px 0; overflow: hidden; }
.stage-bg { position: absolute; inset: 0; background: var(--night-2); display: flex; align-items: flex-start; justify-content: center; padding-top: 32px; color: var(--night-ink); font-size: 12px; letter-spacing: .08em; }
.stage > .wrap { position: relative; z-index: 1; }
.stage .kicker { color: #9AA1AC; }
.glass-row { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.glass { display: flex; flex-direction: column; gap: 18px; padding: 36px 32px; min-height: 360px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-decoration: none; color: #F3F4F5; transition: background .25s, transform .25s; }
.glass:hover { background: rgba(255, 255, 255, .10); color: #fff; transform: translateY(-4px); }
.glass svg { width: 44px; height: 44px; }
.glass h3 { font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.glass ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--dark-ink-2); font-size: 15px; line-height: 1.5; }
.glass li { padding-left: 18px; position: relative; }
.glass li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: #8A919C; }
.glass .row-sub { color: #9AA1AC; }
.glass .link-arrow { margin-top: auto; padding: 0; color: #F3F4F5; }

/* Lineup carousel */
.lineup-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.track { margin-top: 40px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) { .track { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (max-width: 760px) { .track { grid-auto-columns: 72%; gap: 16px; } }
.lcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.lcard:hover { color: var(--ink); }
.swatch { aspect-ratio: 1 / 1; background: var(--surface); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: box-shadow .2s; }
.lcard:hover .swatch { box-shadow: inset 0 0 0 1px var(--ink); }
.swatch i { display: block; }
.swatch i.roll { width: 78%; height: 20%; border-radius: 999px; transform: rotate(-28deg); box-shadow: 0 18px 30px rgba(17, 19, 23, .18); }
.swatch i.bottle { width: 24%; height: 56%; border-radius: 12px 12px 8px 8px; box-shadow: 0 18px 30px rgba(17, 19, 23, .18); position: relative; }
.swatch i.bottle::before { content: ''; position: absolute; left: 30%; right: 30%; top: -14%; height: 14%; background: #2A2D33; border-radius: 3px 3px 0 0; }
.swatch small { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.lcard h3 { font-family: var(--display); font-size: 13px; font-weight: 400; letter-spacing: .16em; }
.lcard .meta { font-size: 13px; color: var(--ink-3); margin-top: -6px; }
.round-btns { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.round:hover { border-color: var(--ink); }
.round:disabled { opacity: .35; cursor: default; border-color: var(--line-2); }
.round svg { width: 18px; height: 18px; }

/* Floating quick buttons */
.quick { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.quick a { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; border: 1px solid #3A3F48; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); position: relative; transition: background .2s; }
.quick a:hover { background: var(--accent); color: #fff; }
.quick a span { position: absolute; right: 62px; white-space: nowrap; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em; padding: 6px 10px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.quick a:hover span, .quick a:focus-visible span { opacity: 1; }
.quick svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .quick { right: 12px; bottom: 12px; gap: 8px; } .quick a { width: 46px; height: 46px; } }

/* Footer: dark */
.site-footer { background: var(--night); border-top-color: var(--night-line); color: #AEB4BE; }
.site-footer .small { color: var(--night-ink); }
.footer-col h4 { color: #F3F4F5; }
.footer-col a { color: #AEB4BE; }
.footer-col a:hover { color: #fff; }
.footer-mid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 40px; }
.certs { display: flex; flex-wrap: wrap; gap: 12px; }
.cert { width: 64px; height: 64px; border: 1px dashed #3A3F48; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--night-ink); text-align: center; line-height: 1.2; }
.fq { display: flex; flex-wrap: wrap; gap: 10px; }
.fq a { display: flex; flex-direction: column; justify-content: space-between; width: 128px; height: 100px; padding: 14px; border: 1px solid #3A3F48; color: #F3F4F5; text-decoration: none; font-size: 13px; line-height: 1.3; transition: border-color .2s; }
.fq a:hover { border-color: #fff; color: #fff; }
.fq svg { width: 20px; height: 20px; }
.footer-bottom { border-top-color: var(--night-line); color: var(--night-ink); }
.footer-bottom a { color: var(--night-ink); }
.footer-bottom a.strong { color: #F3F4F5; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border: 1px solid #3A3F48; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #C9CDD3; }
.social a:hover { border-color: #fff; color: #fff; }
.social svg { width: 16px; height: 16px; }

/* Product detail */
.p-hero { position: relative; background: var(--night); color: #F3F4F5; overflow: hidden; }
.p-hero-media { position: absolute; inset: 0; background: var(--night-2); display: flex; align-items: flex-start; justify-content: flex-end; padding: 32px; color: var(--night-ink); font-size: 12px; letter-spacing: .08em; }
.p-hero > .wrap { position: relative; z-index: 1; min-height: 72vh; padding-top: 160px; padding-bottom: 80px; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.breadcrumb { font-size: 13px; color: var(--night-ink); }
.breadcrumb a { color: #C9CDD3; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.p-hero .kicker { color: #9AA1AC; }
.p-name { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6.5vw, 96px); letter-spacing: .08em; line-height: 1; }
.p-tagline { font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); color: #E3E5E8; max-width: 760px; }
.p-hero .btn { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.p-hero .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.p-hero .btn-line { background: transparent; color: #F3F4F5; border-color: #5B6370; }
.p-hero .btn-line:hover { background: #F3F4F5; color: var(--ink); border-color: #F3F4F5; }
.p-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 64px; align-items: start; }
@media (max-width: 900px) { .p-layout { grid-template-columns: 1fr; gap: 40px; } }
.aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.aside h3 { font-family: var(--display); font-size: 11px; font-weight: 400; letter-spacing: .24em; color: var(--ink-3); margin-bottom: 10px; }
.aside .big { font-weight: 300; font-size: 32px; letter-spacing: -.02em; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span { border: 1px solid var(--line-2); padding: 8px 12px; font-size: 14px; }
.aside .btn { width: 100%; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 48px; }
.video { aspect-ratio: 16 / 9; background: var(--night-2); color: var(--night-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 13px; letter-spacing: .06em; text-align: center; padding: 16px; }
.video svg { width: 56px; height: 56px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 48px; }
.gallery figure { margin: 0; }
.gallery .ph { aspect-ratio: 4 / 5; background: var(--night-2); color: var(--night-ink); }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--dark-ink-2); }
.gallery figcaption a { color: #F3F4F5; }

/* Hero background video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: var(--night); }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 12, 15, .88) 0%, rgba(11, 12, 15, .55) 50%, rgba(11, 12, 15, .3) 100%), linear-gradient(0deg, rgba(11, 12, 15, .75) 0%, rgba(11, 12, 15, 0) 55%); }
.hero-toggle { position: absolute; right: 96px; bottom: 32px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(11, 12, 15, .4); color: #F3F4F5; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-toggle:hover { border-color: #fff; }
.hero-toggle svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .hero-toggle { right: auto; left: 16px; bottom: 16px; } }

/* Photo backgrounds */
.stage-bg.has-photo, .p-hero-media.has-photo, .band-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.stage-bg.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 15, .82) 0%, rgba(11, 12, 15, .55) 45%, rgba(11, 12, 15, .80) 100%); }
.p-hero-media.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 15, .85) 0%, rgba(11, 12, 15, .45) 55%, rgba(11, 12, 15, .25) 100%), linear-gradient(0deg, rgba(11, 12, 15, .8) 0%, rgba(11, 12, 15, 0) 55%); }
.band-photo { position: relative; }
.band-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 15, .9) 0%, rgba(11, 12, 15, .55) 60%, rgba(11, 12, 15, .35) 100%), linear-gradient(0deg, rgba(11, 12, 15, .85) 0%, rgba(11, 12, 15, 0) 60%); }
.band-photo > * { position: relative; }
.band-photo .page-head { padding-top: 220px; }
@media (max-width: 640px) { .band-photo .page-head { padding-top: 140px; } }

/* Photo placeholders filled with real images */
.ph.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; color: transparent; border: 0; }
a.wf-card { text-decoration: none; color: var(--ink); }
a.wf-card:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
a.wf-card .product-body { flex-direction: row; justify-content: space-between; align-items: center; padding: 24px 28px; }
a.wf-card .link-arrow { margin: 0; padding: 0; }

/* TDS tables */
.compare.tds { min-width: 860px; }
.compare.tds td, .compare.tds thead th { text-align: right; font-variant-numeric: tabular-nums; }
.compare.tds tbody th { width: 30%; }
.compare .unit { color: var(--ink-3); font-size: 13px; }
.compare .method { text-align: left !important; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.compare td { font-variant-numeric: tabular-nums; }
.compare.tds thead th:first-child { text-align: left; }

/* Guides: non-link cards */
div.doc { cursor: default; }
div.doc:hover { box-shadow: none; }
div.doc .link-arrow { padding: 4px 0; }
.doc.soon { opacity: .72; }
.doc.soon .kicker { color: var(--ink-3); }
/* Lineup card with a real photo */
.swatch.photo { background-size: cover; background-position: center; }
