@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --card: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --line: #e5e5e5;
  --clay: #111111;
  --clay-dark: #000000;
  --blue: #2387FF;
  --bad: #c42b1c;
  --bad-soft: #fdecea;
  --radius: 12px;
  --shadow: none;
  --serif: var(--sans);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
header.site { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.1rem/1 var(--sans); }
.brand b { font-weight: 650; }
.logo-mark { width: 34px; height: 34px; display: block; }
nav a { text-decoration: none; }
.bar nav { display: flex; align-items: center; gap: 20px; font-weight: 500; font-size: .95rem; }
.order-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.order-link.here { border-color: var(--ink); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--clay); color: #fff; font-size: .78rem; font-weight: 700; }

/* buttons */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 28px; font: 600 1rem/1 var(--sans); cursor: pointer; text-decoration: none; transition: transform .12s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: 0 6px 18px -8px rgb(0 0 0 / 60%); }
.btn.primary:hover { background: #000; color: #fff; }
.btn.big { padding: 20px 28px; font-size: 1.1rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { background: none; border: 0; font: 600 .95rem var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 12px 0; display: block; margin: 0 auto; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.fine-print { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.center { text-align: center; }

/* home */
.hero { padding: clamp(24px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }

.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }
.hero .ctas { margin-top: 24px; }
.hero-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); }
.hero-photo .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.hero-photo .slide.on { opacity: 1; pointer-events: auto; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .model img { object-fit: contain; padding: 8%; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { order: -1; } }
section.band { padding: clamp(40px, 6vw, 88px) 0; }
section.band.alt { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card .pic { aspect-ratio: 1 / 0.92; background: var(--paper-2); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card .foot { font-weight: 600; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: baseline; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 1.1rem var(--serif); align-self: start; }
.steps h3 { margin: 4px 0 2px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* product page */
.pdp { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(16px, 3vw, 36px) 0 64px; align-items: start; }
.gallery { display: grid; gap: 10px; }
.stage { border-radius: 22px; overflow: hidden; background: var(--paper-2); aspect-ratio: 1 / 0.92; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-box { position: relative; }
.stage:has(model-viewer), .stage:has(img[src*="/r/"]) { background: #fff; outline: 1px solid var(--line); outline-offset: -1px; }
.stage model-viewer { width: 100%; height: 100%; background: #fff; --poster-color: #fff; }
.three { position: absolute; right: 14px; bottom: 14px; min-width: 52px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; }
.three[aria-pressed="true"] { background: var(--ink); color: #fff; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 72px; height: 66px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--card); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 88px; }
.buy h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .2em; }
.buy .tagline { font-size: 1.1rem; color: var(--muted); margin-bottom: 10px; }
.buy .price { font: 600 1.9rem/1 var(--serif); margin: 18px 0 22px; }
.choice { border: 0; padding: 0; margin: 0 0 18px; }
.choice legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.opt { text-align: left; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink); display: grid; gap: 2px; transition: border-color .12s; }
.opt b { font-weight: 650; }
.opt span { font-size: .82rem; color: var(--muted); }
.opt:hover { border-color: #bbbbbb; }
.opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buy .btn.big { margin-top: 6px; }
.buy .fine-print { text-align: center; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .buy { position: static; } }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); transition: transform .28s cubic-bezier(.2, .9, .3, 1.2); z-index: 20; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #fff; font-weight: 700; }

/* cart */
.page-h { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 6px; }
.order-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); padding: 26px 0 72px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } }
.lines { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; align-items: center; }
.line .thumb { width: 84px; height: 78px; border-radius: 12px; background: var(--paper-2); overflow: hidden; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line h3 { font-size: 1.1rem; margin: 0; }
.line .specs { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.line .right { display: grid; justify-items: end; gap: 6px; }
.line .amt { font-weight: 700; }
.line .remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; padding: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; border-radius: 50%; color: var(--ink); }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
@media (max-width: 520px) { .line { grid-template-columns: 64px 1fr; } .line .thumb { width: 64px; height: 60px; } .line .right { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; } .line .amt { justify-self: end; } }
.empty { text-align: center; padding: 48px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 28px); }
.panel h2 { font-size: 1.5rem; }
.form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.form .f { grid-column: span 6; display: grid; gap: 5px; }
.form .f.third { grid-column: span 2; }
@media (max-width: 420px) { .form .f.third { grid-column: span 3; } .form .f.third.city { grid-column: span 6; } }
.form label { font-size: .84rem; font-weight: 600; }
.form input, .form select { width: 100%; font: 1rem var(--sans); padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(35 135 255 / 18%); }
.summary { border-top: 1px solid var(--line); margin: 18px 0 4px; padding-top: 12px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.alert { border-radius: 12px; padding: 12px 14px; font-size: .94rem; margin: 12px 0 0; }
.alert.bad { background: var(--bad-soft); color: var(--bad); border: 1px solid #f0c2b9; }
.panel .btn.big { margin-top: 14px; }
.panel .fine-print { margin-top: 12px; line-height: 1.5; }

/* policy pages */
.prose { max-width: 640px; padding: 40px 0 80px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.prose li { margin-bottom: 8px; }

/* footer */
footer.site { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); }
footer.site a { color: var(--ink); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 48px 0 28px; }
.foot .logo-mark rect { fill: var(--paper); }
.foot .logo-mark path { stroke: var(--ink); }
.foot-brand p { margin-top: 14px; font-size: .94rem; }
.foot h2 { font: 600 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #888888; margin-bottom: 12px; }
.foot nav { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: .85rem; color: #888888; margin: 0; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.fine-print.bad { color: var(--bad); }

/* hero: "Made for your ___", the last word rotating */
.hero h1 em { font-style: italic; }
.hero .rot { display: block; overflow: hidden; height: 1.15em; }
.hero .rot span { display: inline-block; transition: transform .35s ease, opacity .35s ease; }
.hero .rot span.out { transform: translateY(-100%); opacity: 0; }
.hero .rot span.in { transform: translateY(100%); opacity: 0; transition: none; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
