/* modugauge.com
   Rules: the gauge is the only colour; chrome is warm white on the renders'
   own black (#0a0c10). Circles are the gauge, everything else is square-edged.
   Barlow and Barlow Semi Condensed (OFL), sentence case. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap;
  src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap;
  src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap;
  src: url(/fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap;
  src: url(/fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-raised: #f6f6f6;
  --bg-sunk: #eeeeee;
  --ink: #111111;
  --ink-2: #424242;
  --ink-3: #606060;
  --rule: rgba(0, 0, 0, 0.14);
  --rule-strong: rgba(0, 0, 0, 0.3);
  --paper: #f7f7f7;
  --paper-2: #e9e6e0;
  --paper-ink: #131518;
  --paper-ink-2: #4c5157;
  --paper-rule: rgba(19, 21, 24, 0.14);
  --look: #ff7a2f;
  --error: #ff8a80;
  --display: "Barlow Semi Condensed", "Barlow", "Segoe UI", system-ui, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header: 96px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--paper-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.005em; margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type scale */
.display { font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.015em; }
.title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; }
.subtitle { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.paper .lede { color: var(--paper-ink-2); }
.fine { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.paper .fine { color: var(--paper-ink-2); }
.kicker { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.paper .kicker { color: var(--paper-ink-2); }

/* Buttons: square-edged, quiet */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  font: 500 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.button.primary { background: var(--ink); color: var(--bg); }
.button.primary:hover { background: #333; }
.button.secondary { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.button.secondary:hover { border-color: var(--ink); }
.paper .button.primary { background: var(--paper-ink); color: var(--paper); }
.paper .button.primary:hover { background: #000; }
.paper .button.secondary { border-color: var(--paper-rule); color: var(--paper-ink); }
.paper .button.secondary:hover { border-color: var(--paper-ink); }
.button.wide { width: 100%; }
.button[disabled] { opacity: .55; cursor: progress; }
.button .arrow { transition: transform .15s; }
.button:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-row { height: 100%; display: flex; align-items: center; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; font: 600 23px/1 var(--display); letter-spacing: 0.01em; text-decoration: none; }
.wordmark img { width: 88px; height: 88px; object-fit: contain; }
.footer-brand .wordmark img { width: 144px; height: 144px; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 28px); margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 16px; padding: 6px 0; white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1100px) { .nav a { font-size: 15px; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-button, .menu-button, .icon-button {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--ink); border-radius: 2px;
}
.cart-button:hover, .icon-button:hover { background: rgba(255,255,255,.06); }
.cart-count {
  position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--ink); color: var(--bg); border-radius: 9px; font: 600 12px/18px var(--body); text-align: center;
}
.menu-button { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s;
}
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.menu-button[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {   /* header: phone menu once the eight links no longer fit */
  :root { --header: 80px; }
  .site-header .wordmark img { width: 72px; height: 72px; }
  .site-header .brand-name { font-size: 21px; }
  .menu-button { display: grid; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
}

/* Sections */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section.tight { padding: clamp(48px, 7vw, 88px) 0; }
.rule-top { border-top: 1px solid var(--rule); }
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lede { justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }

/* Hero */
/* The product image has its own dark backdrop; the copy stays on white. */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1600px; margin: auto; }
.hero-media { grid-column: 2; grid-row: 1; }
.hero-concept-note { padding: 10px 16px; color: var(--ink-2); font-size: 13px; text-align: center; }
.hero-media img, .hero-media video { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; }
.hero > .wrap { grid-column: 1; grid-row: 1; }
.hero-copy { padding: clamp(48px, 7vw, 100px) 0; max-width: 600px; }
.hero-copy .lede { margin-top: 24px; }
.hero-copy .actions { margin-top: 36px; }
.hero-price { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; color: var(--ink-2); }
.hero-price strong { font: 500 28px/1 var(--display); color: var(--ink); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { grid-column: 1; grid-row: 2; }   /* The headline and buttons first on a phone; the picture follows. */
  .hero-media img { aspect-ratio: 1 / 1; object-position: center; }
  .hero > .wrap { grid-column: 1; grid-row: 1; }
  .hero-copy { padding: 28px 0 24px; }
}

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts div { padding: 26px 24px 28px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.facts strong { display: block; font: 500 26px/1.1 var(--display); margin-bottom: 6px; }
.facts span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* Looks */
.looks { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bezel {
  --size: min(100%, 520px);
  width: var(--size); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; padding: 4.2%;
  background:
    radial-gradient(circle at 50% 50%, #000 63%, transparent 63.4%),
    conic-gradient(from 210deg, #3a3f46, #101215 18%, #2b2f35 32%, #0c0d10 50%, #3d4148 66%, #0f1114 82%, #3a3f46);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -30px rgba(0,0,0,.9), inset 0 1px 1px rgba(255,255,255,.18);
  position: relative;
}
.bezel::after {
  content: ""; position: absolute; inset: 4.2%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 32%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
}
.bezel img { width: 100%; height: 100%; border-radius: 50%; transition: opacity .25s; }
.bezel img.fading { opacity: 0; }
.look-tabs { display: flex; flex-wrap: wrap; gap: 0 22px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.look-tabs button {
  background: none; border: 0; padding: 14px 0; cursor: pointer;
  color: var(--ink-3); font: 500 20px/1 var(--display); border-bottom: 2px solid transparent; margin-bottom: -1px;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.look-tabs button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); opacity: .5; }
.look-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.look-tabs button[aria-selected="true"]::before { opacity: 1; }
.look-name { margin-bottom: 14px; }
.look-desc { color: var(--ink-2); max-width: 32em; min-height: 4.65em; }
.page-picker { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.page-picker button {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-3); font-size: 14px;
  display: grid; justify-items: center; gap: 10px; width: 76px;
}
.page-picker img { width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule-strong); transition: box-shadow .15s, transform .15s; }
.page-picker button:hover img { transform: translateY(-2px); }
.page-picker button[aria-pressed="true"] { color: var(--ink); }
.page-picker button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.look-note { margin-top: 32px; }
@media (max-width: 860px) { .looks { grid-template-columns: 1fr; } .bezel { --size: min(100%, 420px); } }

/* Feature list */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-media { position: sticky; top: calc(var(--header) + 32px); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 28px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 16px; }
.feature-list li:last-child { border-bottom: 1px solid var(--rule); }
.feature-list .n { font: 500 15px/1.6 var(--display); color: var(--ink-3); }
.feature-list h3 { font-size: 23px; line-height: 1.2; margin-bottom: 8px; }
.feature-list p { color: var(--ink-2); grid-column: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { position: static; } .split-media img { aspect-ratio: 16 / 10; } }

/* Studio band */
.studio-band .split { align-items: center; }
.studio-frame {
  position: relative; background: #fff; border: 1px solid var(--paper-rule);
  aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center;
}
.studio-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.studio-poster { display: grid; justify-items: center; gap: 22px; padding: 24px; text-align: center; }
.studio-poster .bezel { --size: min(46vw, 230px); }
.studio-steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 0; }
.studio-steps li { display: grid; grid-template-columns: 7rem 1fr; padding: 14px 0; border-top: 1px solid var(--paper-rule); }
.studio-steps li:last-child { border-bottom: 1px solid var(--paper-rule); }
.studio-steps b { font: 500 18px/1.4 var(--display); }
.studio-steps span { color: var(--paper-ink-2); }

/* The kit, photographed on the workbench */
.kit-scene { margin: 0; }
.kit-scene img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kit-scene figcaption { display: flex; justify-content: space-between; gap: 12px 32px; padding-top: 18px; color: var(--ink-3); font-size: 14px; }
.kit-scene figcaption span:first-child { color: var(--ink-2); }
@media (max-width: 680px) {
  .kit-scene figcaption { flex-direction: column; gap: 6px; }
}

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 16px 16px 16px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.table thead th { color: var(--ink-3); font-weight: 400; font-size: 14px; border-top: 0; padding-top: 0; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 1px solid var(--rule); }
.table th[scope="row"] { font-weight: 500; width: 34%; }
.table td { color: var(--ink-2); }
.paper .table th, .paper .table td { border-color: var(--paper-rule); }
.paper .table td { color: var(--paper-ink-2); }
.badge { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.badge.ready::before { background: currentColor; }
.badge.custom::before { border-style: dotted; }
.table-scroll { overflow-x: auto; }

/* Buy block */
.buy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.price { font: 500 clamp(3rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -0.01em; }
.availability { margin: 18px 0 28px; display: grid; gap: 6px; }
.availability .status-dot { font-weight: 500; }
.availability p { color: var(--ink-2); }
.in-box { margin: 28px 0 0; padding: 0; list-style: none; }
.in-box li { padding: 12px 0 12px 22px; border-top: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.in-box li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 1px; background: var(--ink-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: 2px; height: 48px; }
.qty button { width: 44px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 20px; color: var(--ink); }
.qty button:hover { background: rgba(255,255,255,.06); }
.qty output, .qty span { min-width: 32px; text-align: center; font-weight: 500; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }

/* Product page */
.product-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(24px, 4vw, 48px); align-items: start; }
.gallery-main { background: var(--bg); aspect-ratio: 16 / 11; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.housing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.housing-grid figure { margin: 0; min-width: 0; }
.housing-grid img { width: 100%; height: auto; background: var(--bg-raised); }
.housing-grid figcaption { padding: 24px 0 0; }
.housing-grid p, .housing-fit p { color: var(--ink-2); margin-top: 12px; }
.housing-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.housing-note { margin-top: 28px; max-width: 920px; }
.split-media.housing-media img { aspect-ratio: 16 / 11; object-fit: contain; }
@media (max-width: 860px) {
  .housing-grid, .housing-fit { grid-template-columns: 1fr; }
  .housing-grid { gap: 40px; }
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--rule); background: var(--bg); cursor: pointer; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 2px; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-panel { position: sticky; top: calc(var(--header) + 24px); }
.product-panel h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.product-panel .summary { color: var(--ink-2); margin: 12px 0 22px; font-size: 18px; }
.product-panel .price { font-size: 40px; }
.buy-row { display: flex; gap: 12px; margin-top: 8px; }
.buy-row .button { flex: 1; }
.promise { list-style: none; padding: 0; margin: 28px 0 0; font-size: 15px; color: var(--ink-2); }
.promise li { padding: 12px 0; border-top: 1px solid var(--rule); display: flex; gap: 12px; }
.promise li::before { content: "—"; color: var(--ink-3); }
@media (max-width: 960px) { .product-top { grid-template-columns: 1fr; } .product-panel { position: static; } }

/* Prose pages */
.page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.page-head .lede { margin-top: 18px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 56px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 8px; }
.prose p, .prose ul, .prose ol { color: var(--ink-2); margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 500; }
.toc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.toc { position: sticky; top: calc(var(--header) + 32px); align-self: start; display: grid; gap: 10px; font-size: 15px; padding-top: 60px; }
.toc a { color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--ink); }
@media (max-width: 860px) { .toc-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 500 20px/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: currentColor; transition: transform .2s;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 46em; }
.faq .answer p + p { margin-top: 12px; }

/* Studio page */
.studio-shell { border-top: 1px solid var(--rule); background: #fff; }
.studio-shell iframe { display: block; width: 100%; height: calc(100svh - var(--header)); min-height: 640px; border: 0; }
.studio-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding: 40px 0 32px; }
.studio-shell + .build-video { border-bottom: 1px solid var(--rule); }
.build-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; border: 1px solid var(--rule); border-radius: 2px; }
.notice { border-left: 2px solid var(--ink-3); padding: 4px 0 4px 16px; color: var(--ink-2); font-size: 15px; max-width: 46em; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--ink-3); margin-top: 14px; max-width: 22em; font-size: 15px; }
.site-footer nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer h2 { font: 500 15px/1.2 var(--body); color: var(--ink); margin-bottom: 4px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 14px; }
.footer-base a { color: var(--ink-3); margin-left: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); animation: fade .2s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--bg-raised); border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; animation: slide .24s cubic-bezier(.2,.7,.2,1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--rule); }
.drawer-head h2 { font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.cart-line img { width: 76px; height: 76px; object-fit: cover; background: var(--bg); }
.cart-line h3 { font: 500 17px/1.25 var(--body); }
.cart-line .meta { color: var(--ink-3); font-size: 14px; }
.cart-line .qty { height: 36px; margin-top: 8px; }
.cart-line .qty button { width: 34px; font-size: 17px; }
.cart-line .line-price { align-self: start; font-weight: 500; }
.cart-line .remove { background: none; border: 0; color: var(--ink-3); font-size: 14px; cursor: pointer; padding: 4px 0; margin-left: 12px; text-decoration: underline; }
.cart-empty { padding: 32px 0; color: var(--ink-2); }
.cart-total { padding: 18px 0 8px; }
.cart-total div { display: flex; justify-content: space-between; font-size: 18px; }
.cart-total strong { font-weight: 500; }
.cart-total .fine { margin-top: 6px; }

.waitlist-form { display: grid; gap: 16px; padding-top: 18px; }
.waitlist-intro { color: var(--ink-2); font-size: 16px; padding: 4px 0; }
.waitlist-form label { display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.waitlist-form .optional { color: var(--ink-3); font-size: 13px; }
.waitlist-form input[type="email"], .waitlist-form input[type="text"], .waitlist-form select {
  height: 46px; padding: 0 12px; background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--ink); font-size: 16px;
}
.waitlist-form input:focus, .waitlist-form select:focus { outline: none; border-color: var(--ink); }
.waitlist-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.waitlist-form .consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 14px; }
.waitlist-form .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 15px; }
.waitlist-done { padding: 28px 0; border-top: 1px solid var(--rule); margin-top: 18px; }
.waitlist-done h3 { font-size: 26px; margin-bottom: 10px; }
.waitlist-done p { color: var(--ink-2); }

/* Design gallery: owners' Studio designs, faces drawn by the firmware */
.gallery-bar { margin-bottom: clamp(28px, 4vw, 48px); }
.gallery-sort { margin-bottom: 0; }
.gallery-sort button::before { display: none; }
.gallery-status { padding: 24px 0; }
.design-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.design-card { display: grid; align-content: start; gap: 6px; min-width: 0; }
.design-card .bezel { --size: 100%; margin: 0 0 18px; }
.design-card.linked .bezel { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink), 0 40px 80px -30px rgba(0,0,0,.9); }
.design-title { font-size: 22px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-meta { color: var(--ink-2); font-size: 16px; min-height: 1.55em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.design-actions .button { min-height: 42px; padding: 0 16px; font-size: 15px; }
.design-file { color: var(--ink-2); font-size: 15px; }
.gallery-more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* Order result pages */
.result { min-height: 60vh; display: grid; align-content: center; gap: 18px; padding: 96px 0; max-width: 640px; }

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

.gallery-link { margin-top: 32px; }

/* The gallery's numbered pages (js/gallery.js), eight designs to a page. */
.gallery-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(40px, 5vw, 64px); }
.gallery-pages[hidden] { display: none; }
.gallery-page { min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.gallery-page:hover:not(:disabled) { border-color: var(--ink); }
.gallery-page[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery-page:disabled { opacity: .4; cursor: default; }
.gallery-gap { padding: 0 4px; color: var(--ink-3); }
@media (max-width: 520px) {
  .gallery-pages { gap: 6px; }
  .gallery-page { min-width: 40px; height: 40px; padding: 0 10px; }
}
