/* Highvalor: reset, type, layout, buttons, forms, header, drawers, footer, cookie banner, toasts. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
em, i, cite, address, dfn, var { font-style: normal; }
b, strong { font-weight: 600; }
::selection { background: var(--car); color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.is-locked { overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--car); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top var(--t-fast); }
.skip:focus { top: 12px; }

/* type */
.mega, .d1, .d2, .d3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -.012em; text-wrap: balance; }
.mega { font-size: var(--fs-mega); line-height: .8; letter-spacing: -.02em; }
.d1 { font-size: var(--fs-d1); }
.d2 { font-size: var(--fs-d2); line-height: .9; }
.d3 { font-size: var(--fs-d3); font-weight: 700; line-height: .95; }
.h3 { font: 600 var(--fs-h3)/1.25 var(--text); letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--fs-xs)/1 var(--text); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--car); }
.mute { color: var(--mute); }
.num { font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; }
.prose p, .prose ul { margin-top: 1em; }
.prose h2 { font: 700 clamp(24px, 2.2vw, 30px)/1.2 var(--text); margin-top: 2em; letter-spacing: -.01em; }
.prose h3 { font: 600 19px/1.3 var(--text); margin-top: 1.6em; }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose code, code { font: 500 .9em/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--bg-2); padding: .1em .35em; }

/* layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--edge); }
.sec { padding-block: var(--sec); position: relative; }
.sec--sm { padding-block: var(--sec-sm); }
.sec--top0 { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 64px); }
.sec-head > div:not(.seg) { display: grid; gap: 18px; justify-items: start; }
.sec-head .lead { margin-top: 2px; }
.stage { --bg: var(--stage); background: var(--stage); color: var(--stage-ink); --ink: var(--stage-ink); --ink-2: var(--stage-soft); --mute: var(--stage-mute); --line: var(--stage-line); --link: #fff; --focus: #fff; --line-2: rgb(255 255 255 / .32); --bg-2: #15171c; --panel: #14161b; --panel-2: #1a1d23; color-scheme: dark; }
.cut-b { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(var(--sec) + var(--cut)); }
.cut-t { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--sec) + var(--cut)); margin-top: calc(var(--cut) * -1); }
.cut-tb { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-block: calc(var(--sec) + var(--cut)); }
.page-head { padding-top: calc(var(--bar) + clamp(48px, 7vw, 120px)); padding-bottom: clamp(40px, 5vw, 80px); }
.page-head .d1 { margin-top: 20px; }
.page-head .lead { margin-top: 22px; }

/* buttons */
.btn { --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 22px; border: 1px solid transparent; background: none; font: 600 15px/1 var(--text); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), translate var(--t-fast) var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; transition: translate var(--t-fast) var(--ease); }
.btn:hover svg { translate: 3px 0; }
.btn--primary { background: var(--car); color: #fff; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); padding-right: 28px; }
.btn--primary:hover { box-shadow: inset 0 0 0 100px rgb(0 0 0 / .18); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: #0c0d10; }
.btn--light:hover { background: #e9eaec; }
.btn--sm { --bh: 40px; padding: 0 16px; font-size: 13px; }
.btn--sm.btn--primary { padding-right: 22px; }
.btn--lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn--lg.btn--primary { padding-right: 34px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { color: var(--link); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link svg { width: 14px; height: 14px; transition: translate var(--t-fast) var(--ease); }
.link:hover svg { translate: 3px 0; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: none; color: inherit; position: relative; transition: border-color var(--t-fast), background var(--t-fast); }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--car); color: #fff; font: 700 11px/20px var(--text); text-align: center; }

/* forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.label { font: 600 14px/1.3 var(--text); color: var(--ink); }
.label .opt { font-weight: 400; color: var(--mute); }
.hint { font-size: 13px; color: var(--mute); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 0; color: var(--ink); font-size: 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--mute); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.input::placeholder, .textarea::placeholder { color: var(--mute); opacity: 1; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--car); box-shadow: 0 0 0 1px var(--car); }
.err { font-size: 13px; font-weight: 600; color: var(--ink); display: none; gap: 6px; align-items: center; }
.err::before { content: ""; width: 8px; height: 8px; background: var(--car); flex: none; }
.field.is-invalid .err, .checks.is-invalid .err { display: flex; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; flex: none; margin: 1px 0 0; border: 1.5px solid var(--line-2); background: var(--panel); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--car); border-color: var(--car); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border: 0; background: #fff; border-radius: 50%; rotate: 0deg; translate: 0 0; }
.success { padding: clamp(28px, 4vw, 48px); background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--car); display: grid; gap: 14px; justify-items: start; }
.success h2, .success h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--text); }
.success h2:focus, .success h3:focus { outline: none; }

/* header */
.hd { position: sticky; top: 0; z-index: 40; height: var(--bar); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); transition: background var(--t), border-color var(--t), color var(--t); }
.hd--film { position: fixed; inset: 0 0 auto; background: linear-gradient(to bottom, rgb(7 8 10 / .6), rgb(7 8 10 / 0)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; --line: rgb(255 255 255 / .22); --line-2: rgb(255 255 255 / .4); --focus: #fff; }
.hd--film.is-scrolled { background: rgb(7 8 10 / .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: rgb(255 255 255 / .1); }
.hd-in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.6vw, 44px); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 19px/1 var(--text); text-transform: uppercase; letter-spacing: .14em; flex: none; }
.logo svg { width: 30px; height: 35px; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-right: auto; }
.nav a { font: 600 14px/1 var(--text); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; padding: 26px 0 23px; border-bottom: 3px solid transparent; transition: border-color var(--t-fast); }
.nav a:hover { border-color: var(--line-2); }
.nav a[aria-current="page"] { border-color: var(--car); }
.hd-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: block; }
html[data-theme="dark"] .theme-btn .moon { display: none; }
.menu-btn { display: inline-grid; }
@media (max-width: 1100px) { .nav { display: none; } }
@media (max-width: 560px) { .hd-cta { display: none; } .logo span { display: none; } .hd-tools { gap: 8px; } }

/* drawers (menu, cart) */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgb(0 0 0 / .55); opacity: 0; transition: opacity var(--t) var(--ease); }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; translate: 100% 0; transition: translate var(--t) var(--ease); border-left: 4px solid var(--car); }
.drawer.is-open .drawer-panel { translate: 0 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--edge); height: var(--bar); border-bottom: 1px solid var(--line); flex: none; }
.drawer-head h2 { font: 700 18px/1 var(--text); text-transform: uppercase; letter-spacing: .1em; }
.drawer-body { padding: 28px var(--edge); overflow: auto; flex: 1; display: grid; align-content: start; gap: 28px; }
.drawer-nav { display: grid; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 30px/1.1 var(--text); text-transform: uppercase; letter-spacing: .01em; }
.drawer-nav a svg { width: 20px; height: 20px; opacity: .7; }
.drawer-nav a[aria-current="page"] { color: var(--car); }
html[data-theme="dark"] .drawer-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 4px 0 0 var(--car); padding-left: 14px; }
.drawer-small { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.drawer-small a { font-size: 15px; color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.drawer-small a:hover { color: var(--ink); text-decoration: underline; }

/* footer */
.ft { background: var(--stage); color: var(--stage-ink); --ink: #fff; --ink-2: var(--stage-soft); --mute: var(--stage-mute); --line: var(--stage-line); --line-2: rgb(255 255 255 / .34); --panel: #14161b; --focus: #fff; --link: #fff; color-scheme: dark; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--cut) + clamp(64px, 7vw, 112px)); margin-top: calc(var(--cut) * -1 + var(--sec-sm)); position: relative; overflow: hidden; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 120px); }
.ft-line { font: 500 clamp(26px, 2.6vw, 36px)/1.15 var(--text); max-width: 18ch; letter-spacing: -.02em; }
.ft-mail { margin-top: 14px; font-size: 15px; color: var(--mute); }
.ft-mail a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s ease; }
.ft-mail a:hover { text-decoration-color: currentColor; }
.ft-news { margin-top: 28px; max-width: 460px; }
.ft-news-row { display: flex; gap: 8px; }
.ft-news-row .input { background: transparent; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft-cols h2 { font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: .14em; color: var(--stage-mute); margin-bottom: 18px; }
.ft-cols ul { display: grid; gap: 10px; }
.ft-cols a { text-decoration: none; font-size: 15px; color: var(--stage-soft); }
.ft-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft-mark { display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 32px); margin-top: clamp(64px, 8vw, 128px); }
.ft-mark svg { width: clamp(52px, 8vw, 128px); height: auto; flex: none; margin-bottom: .6vw; }
.ft-mark .mega { font-size: clamp(56px, 19.4vw, 380px); line-height: .74; color: #fff; white-space: nowrap; }
.ft-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 24px 0 28px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--stage-mute); }
.theme-switch { display: inline-flex; border: 1px solid var(--line-2); }
.theme-switch button { background: none; border: 0; padding: 8px 14px; font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: .08em; color: var(--stage-soft); }
.theme-switch button[aria-pressed="true"] { background: #fff; color: #0c0d10; }
@media (max-width: 1000px) { .ft-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ft-cols { grid-template-columns: 1fr 1fr; } .ft-news-row { flex-direction: column; } }

/* cookie banner: bottom right */
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: min(380px, calc(100% - 32px)); background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--car); box-shadow: var(--shadow); padding: 22px 22px 20px; display: grid; gap: 12px; translate: 0 24px; opacity: 0; transition: translate var(--t) var(--ease), opacity var(--t); }
.cookie.is-in { translate: 0 0; opacity: 1; }
.cookie h2 { font: 700 17px/1.2 var(--text); }
.cookie p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* toasts */
.toasts { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 80; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #0c0d10; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .5); border-left: 4px solid var(--car); animation: toast-in .3s var(--ease); }
.toast svg { width: 16px; height: 16px; }
.toast.is-out { opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s; }
@keyframes toast-in { from { opacity: 0; translate: 0 10px; } }

/* film */
.film { position: relative; overflow: hidden; background: var(--stage); }
.film > video, .film > .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { translate: 0 0; } 20% { translate: -3% 2%; } 40% { translate: 2% -3%; } 60% { translate: -2% -1%; } 80% { translate: 3% 3%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }
