/* 1-LK
   The palette is lacquer work: the near-black of an oiled halmilla plank, the
   lac red that gets melted into a turning board, brass, Kandyan green, and the
   coconut-ivory of a cowrie. Display type is Bricolage Grotesque held narrow;
   everything you actually read is Newsreader. */

:root {
  --ink: #100b07;
  --ink-2: #1b130d;
  --ink-3: #271c13;
  --line: #3a2a1c;
  --lac: #c3341c;
  --lac-deep: #8e2415;
  --turmeric: #e8a93c;
  --tea: #1e4f40;
  --tea-2: #2f7d62;
  --ivory: #f4e9d6;
  --ivory-2: #e5d5ba;
  --dim: #b0977a;

  /* Eczar was drawn for Devanagari and Latin together, so its Latin already
     carries the swelling stroke and flared terminal of a South Asian hand — it
     sits with the painted boards instead of arguing with them. Abhaya Libre is
     a Sinhala family from Mooniak in Colombo whose Latin is Baskerville-based,
     which means the Sinhala on this page is set in a Sri Lankan typeface rather
     than whatever the reader's machine happens to have. */
  --font-display: "Eczar", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Abhaya Libre", "Iskoola Pota", Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 68px);
  --max: 1360px;
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.04;
}
i, em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.98em;
  letter-spacing: 0.004em;
}
:focus-visible { outline: 2.5px solid var(--turmeric); outline-offset: 3px; border-radius: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--turmeric); color: var(--ink); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 14px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: 0.005em;
  padding: 13px 20px; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s;
}
.btn-solid { background: var(--lac); color: var(--ivory); }
.btn-solid:hover { background: var(--turmeric); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ivory-2); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--turmeric); color: var(--turmeric); }

/* ---------------- nav ---------------- */

.nav {
  position: sticky; top: 0; z-index: 60;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--turmeric); }
.brand-mark svg { display: block; }
.brand-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: 25px; letter-spacing: -0.005em; color: var(--ivory);
}
.nav-links { display: flex; gap: 26px; font-size: 16px; color: var(--dim); }
.nav-links a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav-links a:hover { color: var(--ivory); border-bottom-color: var(--lac); }
.burger { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ivory); }
.menu { position: sticky; top: 69px; z-index: 59; background: var(--ink-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
.menu a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ---------------- hero ---------------- */

.hero { padding-top: clamp(34px, 5vw, 62px); }
.hero-copy {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end;
}
.hero-kicker {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; color: var(--turmeric);
  padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.9vw, 5rem);
  font-weight: 800;
  line-height: 1.0; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--ivory-2); max-width: 46ch; padding-bottom: 6px; }

@media (max-width: 880px) {
  .hero-copy { grid-template-columns: 1fr; align-items: start; }
  .hero-lede { margin-top: 20px; }
}

/* ---------------- the table ---------------- */

.stage {
  position: relative;
  margin: clamp(18px, 2.4vw, 32px) auto 0;
  width: 100%; max-width: 1560px;
  height: clamp(460px, 74vh, 800px);
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.stage canvas:focus-visible { outline: 2.5px solid var(--turmeric); outline-offset: -4px; }
.stage::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to top, var(--ink), transparent); pointer-events: none;
}

.stage-tabs {
  position: absolute; left: var(--gutter); top: 8px; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid var(--line);
}
.tab {
  appearance: none; background: none; border: 0; border-left: 2px solid transparent;
  margin-left: -1px; padding: 9px 16px; text-align: left; cursor: pointer; color: var(--dim);
  display: grid; gap: 1px;
  transition: color .16s, border-color .16s;
}
.tab-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.005em; }
.tab-note { font-size: 13.5px; opacity: .7; letter-spacing: .012em; }
.tab:hover { color: var(--ivory-2); border-left-color: var(--line); }
.tab.is-on { color: var(--ivory); border-left-color: var(--lac); }
.tab.is-on .tab-note { color: var(--turmeric); opacity: 1; }

.readout {
  position: absolute; right: var(--gutter); bottom: 18px; z-index: 3;
  width: min(320px, 42vw);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); padding: 16px 18px 18px;
}
.readout-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0 0 14px; }
.readout-figures:empty { display: none; }
.readout-figures dt { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--dim); }
.readout-figures dd {
  margin: 1px 0 0; font-family: var(--font-display);
  font-weight: 700; font-size: 23px; line-height: 1.1; letter-spacing: -0.005em; color: var(--turmeric);
}
.readout-hint { font-size: 15px; color: var(--ivory-2); min-height: 3.2em; }
.readout .btn { margin-top: 12px; width: 100%; }

@media (max-width: 1080px) {
  .stage { height: auto; display: flex; flex-direction: column; }
  .stage canvas { position: relative; height: 52vh; min-height: 340px; }
  .stage::after { display: none; }
  .stage-tabs { position: static; flex-direction: row; border-left: 0; border-top: 1px solid var(--line); order: -1; margin-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .stage-tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; border-left: 0; border-top: 2px solid transparent; margin-left: 0; padding: 10px 0 12px; margin-right: 22px; }
  .tab-name, .tab-note { white-space: nowrap; }
  .tab:hover { border-top-color: var(--line); }
  .tab.is-on { border-top-color: var(--lac); }
  .readout { position: static; width: auto; margin: 12px var(--gutter) 0; }
  .readout-figures { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 620px) { .readout-figures { grid-template-columns: 1fr 1fr; } }

/* ---------------- finish picker ---------------- */

.finishes {
  position: absolute; left: var(--gutter); bottom: 18px; z-index: 3;
  display: flex; flex-direction: column; gap: 1px;
  background: color-mix(in srgb, var(--ink) 76%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); padding: 12px 14px 13px;
  max-width: 220px;
}
.finishes-group {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600; color: var(--turmeric);
  margin: 10px 0 4px; letter-spacing: .01em;
}
.finishes-group:first-of-type { margin-top: 2px; }
.finishes-label {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500; color: var(--dim); margin-bottom: 8px;
}
.finish {
  appearance: none; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 5px 6px 5px 0; text-align: left; color: var(--dim);
  transition: color .16s;
}
.finish:hover { color: var(--ivory-2); }
.finish.is-on { color: var(--ivory); }
.finish-swatch { display: flex; flex: 0 0 auto; border: 1px solid var(--line); }
.finish-swatch i { display: block; width: 11px; height: 16px; }
.finish.is-on .finish-swatch { outline: 1.5px solid var(--turmeric); outline-offset: 1px; border-color: transparent; }
.finish-name { font-size: 14.5px; line-height: 1.2; }

@media (max-width: 1080px) {
  .finishes {
    position: static; flex-direction: row; flex-wrap: wrap; align-items: center;
    max-width: none; margin: 12px var(--gutter) 0; padding: 12px 14px;
    background: none; backdrop-filter: none; gap: 4px 16px;
  }
  .finishes-group {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600; color: var(--turmeric);
  margin: 10px 0 4px; letter-spacing: .01em;
}
.finishes-group:first-of-type { margin-top: 2px; }
.finishes-label { margin: 0 4px 0 0; }
  .finish-name { font-size: 13.5px; }
}
@media (max-width: 560px) { .finish-name { display: none; } .finish-swatch i { width: 14px; height: 20px; } }

/* ---------------- ticker ---------------- */

.ticker {
  margin-top: clamp(28px, 4vw, 56px);
  background: var(--lac); color: var(--ivory);
  overflow: hidden; padding: 13px 0;
  border-block: 1px solid var(--lac-deep);
}
.ticker-track { display: flex; width: max-content; gap: 0; animation: roll 46s linear infinite; }
.ticker-track span {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; white-space: nowrap; padding-inline: 26px;
  display: flex; align-items: center;
}
.ticker-track span::after {
  content: ""; width: 6px; height: 6px; margin-left: 26px; margin-right: -26px;
  background: var(--turmeric); rotate: 45deg;
}
@keyframes roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------------- section heads ---------------- */

.section-head {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px);
  align-items: baseline;
  padding-bottom: 30px; margin-bottom: clamp(40px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.section-head p { color: var(--dim); max-width: 48ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------------- board bands ---------------- */

.boards { padding-block: clamp(64px, 9vw, 130px); }

.board {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px); align-items: start;
  padding-block: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
}
.board:first-of-type { border-top: 0; padding-top: 0; }
.board-flip .board-art { order: 2; }

.board-art {
  position: sticky; top: 100px;
  background: var(--ink-2); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 34px);
}
.board-art svg { width: 100%; height: auto; }
.s-frame { fill: #2a1c12; stroke: var(--line); stroke-width: 1; }
.s-bed { fill: #3b2a1a; }
.s-line { fill: none; stroke: var(--ivory-2); stroke-width: 1.1; opacity: .8; }
.s-red { fill: var(--lac); stroke: none; }
.s-pocket circle { fill: var(--ink); stroke: var(--turmeric); stroke-width: 1; }
.s-cell rect { fill: rgba(232,169,60,.09); stroke: var(--ivory-2); stroke-width: 0.9; opacity: .85; }
.s-cell .s-home { fill: color-mix(in srgb, var(--tea-2) 42%, transparent); }
.s-castle { fill: none; stroke: var(--lac); stroke-width: 1.4; }
.s-cell .s-seat { fill: color-mix(in srgb, var(--turmeric) 26%, transparent); }
.s-centre { fill: color-mix(in srgb, var(--tea-2) 40%, transparent); stroke: var(--ivory-2); stroke-width: 0.9; }
.s-cup, .s-cup-g circle { fill: var(--ink); stroke: var(--turmeric); stroke-width: 1; }
.s-store { fill: var(--ink); stroke: var(--lac); stroke-width: 1.4; }
.s-bits circle { fill: #3b2a1a; stroke: var(--line); }
.s-striker { fill: var(--ivory-2); }

.board-index {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; color: var(--turmeric); margin-bottom: 12px;
}
.board-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 20px; max-width: 20ch; }
.board-text p { max-width: var(--measure); margin-bottom: 18px; color: var(--ivory-2); }

.specs { list-style: none; margin: 26px 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 540px; }
.specs li {
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ivory);
}
.specs li:nth-child(odd) { padding-right: 22px; }
.specs li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.specs b { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--dim); }

.board-note { color: var(--dim); font-size: 15.5px; }
.board-play a { color: var(--turmeric); border-bottom: 1px solid color-mix(in srgb, var(--turmeric) 40%, transparent); padding-bottom: 2px; }
.board-play a:hover { border-bottom-color: var(--turmeric); }

@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; }
  .board-flip .board-art { order: 0; }
  .board-art { position: static; max-width: 420px; }
  .specs { grid-template-columns: 1fr; }
  .specs li:nth-child(even) { padding-left: 0; border-left: 0; }
  .specs li:nth-child(odd) { padding-right: 0; }
}

/* ---------------- finishes section ---------------- */

.finish-section { padding-block: clamp(56px, 8vw, 110px); background: var(--ink-2); border-block: 1px solid var(--line); }
.finish-grid {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
  margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: clamp(20px, 2.4vw, 34px);
}
.finish-card { display: flex; flex-direction: column; gap: 9px; }
.finish-bar { display: flex; height: 74px; border: 1px solid var(--line); }
.finish-bar i { display: block; flex: 1; }
.finish-card h3 { font-size: 1.22rem; margin-top: 6px; }
.finish-si { font-size: 17px; font-weight: 500; color: var(--turmeric); line-height: 1.5; }
.finish-card p:not(.finish-si):not(.finish-tag) { font-size: 15px; color: var(--dim); }
.finish-tag {
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; color: var(--lac);
}
.finish-card[data-carved] .finish-bar { outline: 1px solid color-mix(in srgb, var(--turmeric) 45%, transparent); outline-offset: 2px; }
.finish-try {
  align-self: flex-start; margin-top: auto; padding: 0 0 2px; background: none; border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--turmeric) 40%, transparent);
  color: var(--turmeric); font-family: var(--font-body); font-size: 15px; cursor: pointer;
}
.finish-try:hover { border-bottom-color: var(--turmeric); }
.finish-foot {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
  margin: clamp(28px, 4vw, 48px) auto 0; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--dim);
}

/* ---------------- questions ---------------- */

.faq { padding-block: clamp(56px, 8vw, 110px); }
.faq-list {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
  margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0 clamp(30px, 5vw, 72px);
}
.faq-item { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.2rem; margin-bottom: 10px; max-width: 34ch; }
.faq-item p { color: var(--ivory-2); font-size: 16px; max-width: 60ch; }

/* ---------------- workshop ---------------- */

.workshop {
  background: var(--ivory); color: #2a1b10;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(60px, 8vw, 116px) var(--gutter);
}
.workshop-text { max-width: 52ch; justify-self: end; width: 100%; }
.workshop h2 { font-size: clamp(1.7rem, 3.3vw, 2.7rem); margin-bottom: 22px; color: #21150c; }
.workshop p { margin-bottom: 18px; color: #4a3320; }
.workshop-key { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; max-width: 380px; }
.workshop-key li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(42,27,16,.18); font-size: 15.5px; }
.workshop-key b { font-family: var(--font-body); font-weight: 600; color: var(--lac-deep); }
.workshop-stage { height: clamp(320px, 46vh, 520px); }
.workshop-stage canvas { width: 100%; height: 100%; }
@media (max-width: 900px) { .workshop { grid-template-columns: 1fr; } .workshop-text { justify-self: start; } }

/* ---------------- avurudu ---------------- */

.avurudu { background: var(--tea); color: var(--ivory); padding-block: clamp(30px, 4vw, 44px); }
.vine { height: 24px; opacity: .7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24' viewBox='0 0 64 24'%3E%3Cpath d='M0 12C10 2 22 22 32 12S54 2 64 12' fill='none' stroke='%23e8a93c' stroke-width='1.5'/%3E%3Cpath d='M10 8c3-6 9-5 10 1c-5 4-9 3-10-1z' fill='%23c3341c'/%3E%3Cpath d='M42 16c3 6 9 5 10-1c-5-4-9-3-10 1z' fill='%23c3341c'/%3E%3Ccircle cx='32' cy='12' r='2.4' fill='%23e8a93c'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: center; }
.vine-flip { transform: scaleY(-1); }
.avurudu-body {
  width: 100%; max-width: 900px; margin-inline: auto; padding: clamp(40px, 6vw, 76px) var(--gutter);
  text-align: center;
}
.avurudu-when {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; color: var(--turmeric); margin-bottom: 18px;
}
.avurudu h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin-bottom: 24px; text-wrap: balance; }
.avurudu p + p { margin-top: 16px; }
.avurudu-body > p { color: color-mix(in srgb, var(--ivory) 84%, var(--tea)); max-width: 54ch; margin-inline: auto; }

/* ---------------- shop ---------------- */

.shop { padding-block: clamp(64px, 9vw, 120px); }
.shop-grid {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter));
  margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 1080px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: 1fr; } }
.card { background: var(--ink); padding: 26px clamp(20px, 2.4vw, 32px) 28px; display: flex; flex-direction: column; gap: 18px; }
.card-art { background: var(--ink-2); padding: 22px; }
.card-art svg { width: 100%; max-width: 190px; margin-inline: auto; height: auto; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--turmeric); }
.card h3 { font-size: 1.32rem; }
.card p { font-size: 15.5px; color: var(--dim); }
.card-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-price span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ivory); }
.card-price a { color: var(--turmeric); font-size: 15px; border-bottom: 1px solid color-mix(in srgb, var(--turmeric) 40%, transparent); }
.card-price a:hover { border-bottom-color: var(--turmeric); }

/* ---------------- list ---------------- */

.list {
  width: 100%; max-width: var(--max); margin-inline: auto;
  margin-bottom: clamp(60px, 8vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 60px); align-items: center;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 4vw, 54px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
}
.list { width: auto; margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.list h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.list-body p { color: var(--dim); max-width: 42ch; }
.list-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.list-form input {
  font-family: var(--font-body); font-size: 16px; color: var(--ivory);
  background: var(--ink); border: 1px solid var(--line); border-radius: 2px; padding: 13px 15px;
}
.list-form input::placeholder { color: #7b6650; }
.list-form input:focus-visible { border-color: var(--turmeric); }
.list-msg { grid-column: 1 / -1; font-size: 15px; color: var(--turmeric); min-height: 1.5em; }
@media (max-width: 820px) { .list { grid-template-columns: 1fr; } }

/* ---------------- footer ---------------- */

.foot {
  border-top: 1px solid var(--line);
  width: 100%; max-width: var(--max); margin-inline: auto; padding: clamp(44px, 5vw, 70px) var(--gutter) 40px;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.foot-brand p { color: var(--dim); max-width: 30ch; margin-top: 12px; font-size: 15.5px; }
.foot-col h3 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--turmeric); margin-bottom: 12px; }
.foot-col p { font-size: 15.5px; color: var(--dim); margin-bottom: 8px; }
.foot-col a:hover { color: var(--ivory); }
.foot-fine {
  grid-column: 1 / -1; margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: 14px; color: #7b6650;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px;
}
.foot-credit a { color: var(--dim); border-bottom: 1px solid color-mix(in srgb, var(--dim) 35%, transparent); padding-bottom: 1px; }
.foot-credit a:hover { color: var(--turmeric); border-bottom-color: var(--turmeric); }
.notfound-credit { margin-top: 26px; font-size: 14px; color: #7b6650; }
.notfound-credit a { color: var(--dim); border-bottom: 1px solid color-mix(in srgb, var(--dim) 35%, transparent); }
.notfound-credit a:hover { color: var(--turmeric); border-bottom-color: var(--turmeric); }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------------- no webgl ---------------- */

.no-webgl .stage canvas,
.no-webgl .workshop-stage { display: none; }
.no-webgl .stage { height: auto; }

/* ---------------- 404 ---------------- */

.notfound {
  min-height: 100svh; display: grid; align-content: center; gap: 18px;
  padding: var(--gutter); max-width: 44rem; margin-inline: auto;
}
.notfound-code {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(3.4rem, 12vw, 7.5rem); line-height: 0.85;
  color: var(--lac); letter-spacing: -0.02em;
}
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.7rem); max-width: 18ch; }
.notfound p:not([class]) { color: var(--ivory-2); max-width: 52ch; }
.notfound-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 12px; }
.notfound-links a:not(.btn) { color: var(--turmeric); border-bottom: 1px solid color-mix(in srgb, var(--turmeric) 40%, transparent); }

/* ---------------- forms shared by the shop and the ask box ---------------- */

.field { display: grid; gap: 5px; }
.field label {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  color: var(--dim); letter-spacing: .01em;
}
.field input, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ivory);
  background: var(--ink); border: 1px solid var(--line); border-radius: 2px; padding: 11px 13px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--turmeric); }
.form-msg { font-size: 15px; color: var(--turmeric); min-height: 1.5em; }
.form-msg.is-bad { color: var(--lac); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- ask the workshop ---------------- */

.ask {
  width: 100%; max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  border-top: 1px solid var(--line);
}
.ask h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.ask-body p { color: var(--dim); max-width: 44ch; }
.ask-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ask-form .field-wide, .ask-form .form-msg, .ask-form > .btn { grid-column: 1 / -1; }
.ask-form > .btn { justify-self: start; }
@media (max-width: 820px) { .ask { grid-template-columns: 1fr; } .ask-form { grid-template-columns: 1fr; } }

/* ---------------- the shop card, now that a finish moves the price -------- */

.card-finish { display: grid; gap: 5px; margin-top: 4px; }
.card-finish label {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--dim);
}
.card-finish select {
  font-family: var(--font-body); font-size: 15px; color: var(--ivory);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; padding: 9px 11px; width: 100%;
}
.card-finish select:focus-visible { border-color: var(--turmeric); }
.card-price span.is-carved { color: var(--turmeric); }
.card-ask {
  appearance: none; background: none; border: 0; padding: 0 0 2px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; color: var(--turmeric);
  border-bottom: 1px solid color-mix(in srgb, var(--turmeric) 40%, transparent);
}
.card-ask:hover { border-bottom-color: var(--turmeric); }

/* ---------------- asking for one ---------------- */

.order {
  width: min(30rem, calc(100vw - 2 * var(--gutter)));
  background: var(--ink-2); color: var(--ivory);
  border: 1px solid var(--line); border-radius: 3px; padding: 0;
}
.order::backdrop { background: rgba(8, 5, 3, .74); backdrop-filter: blur(3px); }
.order-form { display: grid; gap: 14px; padding: clamp(22px, 4vw, 32px); position: relative; }
.order-close {
  position: absolute; top: 10px; right: 12px; appearance: none; background: none; border: 0;
  color: var(--dim); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.order-close:hover { color: var(--ivory); }
.order-kicker { font-size: 12.5px; font-weight: 700; color: var(--turmeric); }
.order-form h2 { font-size: 1.5rem; }
.order-line { font-size: 16px; color: var(--ivory-2); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.order-form .btn { justify-self: start; }

/* ---------------- the shop, pointed at from the front page ---------------- */

.shop-band {
  width: 100%; max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.shop-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin: 12px 0 16px; max-width: 18ch; }
.shop-band p { color: var(--dim); max-width: 46ch; }
.shop-band-go { margin-top: 28px; }
.shop-band-list { list-style: none; margin: 0; padding: 0; display: grid; }
.shop-band-list li {
  display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px;
}
.shop-band-list li:last-child { border-bottom: 1px solid var(--line); }
.shop-band-list b { font-weight: 700; }
.shop-band-list span { color: var(--dim); font-size: 15px; white-space: nowrap; }
@media (max-width: 900px) { .shop-band { grid-template-columns: 1fr; } }
