@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('./fonts/archivo-latin.woff2') format('woff2'); }
@font-face { font-family: Literata; font-style: normal; font-weight: 200 900; font-display: swap; src: url('./fonts/literata-latin.woff2') format('woff2'); }
:root { color-scheme: dark; --ink: #080b0c; --panel: #101617; --text: #eceee7; --muted: #a7b1ac; --amber: #ffbf69; --green: #b7e4c7; --line: #35433d; font-family: Archivo, sans-serif; background: var(--ink); color: var(--text); font-synthesis: none; font-kerning: normal; scroll-padding-bottom: 104px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
a { color: var(--green); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber); }
button, select { font: inherit; min-height: 48px; width: 100%; border-radius: 0; }
button { cursor: pointer; background: var(--amber); border: 1px solid var(--amber); color: var(--ink); font-weight: 700; padding: 10px 14px; }
button:hover { background: #ffe0ad; }
button.secondary { background: var(--panel); color: var(--text); border-color: var(--line); font-weight: 600; }
button.secondary:hover { border-color: var(--muted); background: var(--panel); }
button:disabled { cursor: default; background: var(--panel); border-color: var(--line); color: var(--muted); }
select { background: var(--panel); color: var(--text); border: 1px solid var(--line); padding: 10px 32px 10px 12px; margin-bottom: 16px; }
select:hover, select:focus { border-color: var(--muted); }
select:disabled { opacity: 1; -webkit-text-fill-color: var(--text); }
.shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 14px; }
header a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { font-weight: 700; letter-spacing: -.01em; }
.skip { position: absolute; left: 16px; top: 8px; padding: 12px; background: var(--text); color: var(--ink); transform: translateY(-180%); z-index: 5; }
.skip:focus { transform: none; }
.intro { padding-block: 20px 14px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
h1 { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -.05em; margin-bottom: 8px; }
h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 12px; }
p { margin: 0 0 12px; max-width: 65ch; }
.intro p { font-family: Literata, Georgia, serif; font-size: 16px; color: var(--muted); margin: 0; }
.fixed-note, #view-status, noscript p, .request-intro { color: var(--muted); font-size: 14px; }
.configurator { display: grid; gap: 24px; }
.preview { min-width: 0; }
.stage { position: relative; height: clamp(230px, 65vw, 340px); background: var(--panel); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.stage img, .stage canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.stage canvas { position: absolute; inset: 0; touch-action: pan-y pinch-zoom; cursor: ew-resize; }
.stage canvas:focus-visible { outline-offset: -4px; }
.motion-tools { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-block: 12px; }
#view-status { min-height: 42px; margin-bottom: 4px; }
.fixed-note { font-size: 13px; }
.options { min-width: 0; border-top: 1px solid var(--line); padding-top: 24px; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sizes > div { min-width: 0; }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 12px; cursor: pointer; color: var(--green); font-size: 14px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
details[open] > summary::after { background-size: 100% 2px, 0 0; }
.available { border-top: 1px solid var(--line); }
ul { padding-left: 20px; color: var(--muted); font-size: 14px; }
.request { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 12px; display: grid; gap: 32px; }
.estimate, .summary { min-width: 0; }
.sample-label { color: var(--amber); font-size: 14px; }
dl { margin: 16px 0 0; }
dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; }
.sample-total { font-size: clamp(40px, 11vw, 56px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.045em; margin-bottom: 10px; }
.sample-total span { display: block; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
#price-lines { margin: 0; padding: 0; list-style: none; }
#price-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 13px; }
#price-lines strong { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
#price-lines small { display: block; font-size: 12px; margin-top: 4px; }
.request-status { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* The next step: the one block that speaks to the owner directly. */
.pitch { background: var(--panel); border: 1px solid var(--line); padding: 20px; margin-block: 20px 8px; }
.pitch h2 { font-size: clamp(28px, 7.4vw, 40px); margin-bottom: 10px; }
.pitch p { font-family: Literata, Georgia, serif; font-size: 16px; line-height: 1.55; color: var(--text); margin-bottom: 16px; }
.pitch .contact { font-family: Archivo, sans-serif; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.pitch .contact a { display: inline-flex; align-items: center; min-height: 44px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; background: var(--amber); color: var(--ink); font-weight: 700; line-height: 1.2; text-decoration: none; }
.cta:hover { background: #ffe0ad; color: var(--ink); }
.cta svg { flex: none; }
/* Sticks only inside .after (options and estimate), so it can never sit over
   the canvas or the Open gate button, which live above that wrapper. */
.nextbar { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 14px; margin: 24px -20px 0; padding: 10px 20px max(10px, env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); animation: nextbar-in .18s ease-out; }
.nextbar p { margin: 0; flex: none; font-size: 12px; line-height: 1.3; color: var(--muted); }
.nextbar strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.nextbar .cta { flex: 1; min-width: 0; min-height: 48px; padding: 8px 14px; font-size: 15px; }
@keyframes nextbar-in { from { opacity: 0; transform: translateY(8px); } }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-block: 20px; margin-top: 32px; font-size: 13px; color: var(--muted); }
@media (min-width: 800px) {
  .shell { width: min(1200px, calc(100% - 80px)); }
  header { min-height: 80px; }
  .intro { padding-block: 36px 24px; }
  .configurator { grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
  .stage { height: 420px; }
  .after { display: contents; }
  .options { border-top: 0; padding-top: 0; }
  .request { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 36px; margin-top: 0; }
  .sample-total { font-size: 56px; }
  .pitch { padding: 28px; }
  .pitch h2 { font-size: 40px; }
  .nextbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto; animation: none; transition: none; } }
