/* ==========================================================================
   Larisel furniture — the shop around the configurator
   --------------------------------------------------------------------------
   The header (the wordmark hard left, the way round the shop hard right),
   the drawers the cart and the saved designs open in, the footer, and the
   quiet pages: the material library, the atelier, help, contact, checkout
   and orders. Paper and ink like the spec sheet beside the stage; copper
   only for rules, prices and focus. (Tokens: css/base.css.)
   ========================================================================== */

/* --- Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font: 500 var(--t-small) / 1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--d-fast) var(--e-out), color var(--d-fast) var(--e-out),
              border-color var(--d-fast) var(--e-out), transform var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out);
}
.btn--solid {
  color: var(--panel);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 1px 2px rgba(25, 20, 16, 0.2), 0 12px 26px -16px rgba(25, 20, 16, 0.7);
}
.btn--solid:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--line { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* --- Language ---------------------------------------------------------------- */

.lang {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--panel);
}
.lang__btn {
  position: relative;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color var(--d-fast) var(--e-out), background var(--d-fast) var(--e-out);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
@media (pointer: coarse) {
  .lang__btn::before { content: ""; position: absolute; inset: -10px -6px; }
}

/* --- Header ------------------------------------------------------------------
   Full width: the wordmark hard left, the shop's way round hard right, only the
   side padding between them and the edge. It sits on the page's paper and gains
   a hairline once something has scrolled under it. */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(16px, 2.6vw, 36px);
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-base) var(--e-out);
}
.site-head.is-scrolled, .site-head--line { border-bottom-color: var(--line-soft); }

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand__name {
  font-family: var(--f-display);
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand__sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--muted);
}
.brand__sub i {
  font-style: normal;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  letter-spacing: 0.1em;
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.site-nav a {
  position: relative;
  font-size: var(--t-small);
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--d-fast) var(--e-out);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-base) var(--e-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }

.site-tools { display: flex; align-items: center; gap: 4px; }
.site-tools .lang { margin-right: 10px; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink);
  transition: background var(--d-fast) var(--e-out);
}
.icon-btn:hover { background: var(--panel-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[aria-current="page"] { background: var(--panel-2); }
.icon-btn--menu { display: none; }
.badge {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font: 600 10px / 1 var(--f-body);
  font-style: normal;
  box-shadow: 0 0 0 2px var(--panel);
}

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
}
@media (max-width: 960px) {
  :root { --head-h: 58px; }
  .site-nav, .site-tools .lang { display: none; }
  .icon-btn--menu { display: inline-grid; }
  .brand__sub span { display: none; }
}

/* --- Drawers -------------------------------------------------------------- */

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__veil {
  position: absolute; inset: 0;
  background: rgba(25, 20, 16, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 420ms var(--e-out);
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  box-shadow: -30px 0 80px -30px rgba(25, 20, 16, 0.45);
  transform: translateX(104%);
  transition: transform 520ms var(--e-out);
}
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 26px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__head h2 { font: 400 1.45rem / 1.1 var(--f-display); letter-spacing: -0.01em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 26px 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 26px 26px; border-top: 1px solid var(--line-soft); background: var(--panel); }
html.has-drawer { overflow: hidden; }

.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-hair); }
.line:last-child { border-bottom: 0; }
.line__pic { display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); aspect-ratio: 4 / 3; }
.line__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.line__text { display: grid; gap: 4px; align-content: start; min-width: 0; }
.line__title { font: 400 1.08rem / 1.25 var(--f-display); }
.line__spec { font-size: var(--t-fine); color: var(--ink-soft); line-height: 1.45; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.line__price { font: 400 1.08rem / 1 var(--f-display); font-variant-numeric: tabular-nums; }
.line__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.line__links a, .line__links button {
  font-size: var(--t-fine);
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  padding: 0;
}
.line__links a:hover, .line__links button:hover { color: var(--ink); text-decoration-color: currentColor; }

.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-soft); border-radius: var(--r-pill); padding: 2px; }
.qty span { min-width: 22px; text-align: center; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.qty button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.qty button:hover { background: var(--panel-2); }
.qty button[disabled] { opacity: 0.3; pointer-events: none; }
.qty svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.sums { margin: 0 0 6px; display: grid; gap: 7px; }
.sums div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-small); color: var(--ink-soft); }
.sums dt, .sums dd { margin: 0; }
.sums__total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line-soft); color: var(--ink) !important; }
.sums__total dd { font: 400 1.5rem / 1 var(--f-display); font-variant-numeric: tabular-nums; }
.sums__note { font-size: var(--t-fine); color: var(--muted); margin: 0 0 16px; }

.empty { display: grid; justify-items: start; gap: 12px; padding: 30px 0; }
.empty__title { font: 400 1.35rem / 1.2 var(--f-display); }
.empty__lead { color: var(--ink-soft); font-size: var(--t-small); max-width: 34ch; }

.menu-nav { display: grid; gap: 2px; padding: 10px 0 24px; }
.menu-nav a {
  font: 400 1.6rem / 1.25 var(--f-display);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-hair);
}
.lang--menu { display: inline-flex; }

/* --- Toast ---------------------------------------------------------------- */

.toast-host {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--e-out), transform 420ms var(--e-out);
}
.toast-host.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 32px);
  padding: 12px 14px 12px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--panel);
  font-size: var(--t-small);
  box-shadow: 0 20px 40px -20px rgba(25, 20, 16, 0.6);
}
.toast-pill button {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(253, 251, 247, 0.14);
  color: var(--panel);
  font-size: var(--t-fine);
  font-weight: 500;
  white-space: nowrap;
}
.toast-pill button:hover { background: var(--accent); }

/* --- Footer ----------------------------------------------------------------- */

.site-foot {
  padding: clamp(48px, 6vw, 80px) clamp(16px, 2.6vw, 36px) 32px;
  background: var(--panel);
  border-top: 1px solid var(--line-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
}
.brand--foot { margin: 0 0 14px; }
.foot-tag { max-width: 30ch; color: var(--ink-soft); font: 400 1.25rem / 1.35 var(--f-display); margin-bottom: 18px; }
.foot-mail { color: var(--ink); font-size: var(--t-small); text-underline-offset: 4px; text-decoration-color: var(--line); }
.foot-mail:hover { text-decoration-color: currentColor; }
.foot-col { display: grid; align-content: start; gap: 9px; }
.foot-title {
  margin-bottom: 6px;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--muted);
}
.foot-col a { font-size: var(--t-small); color: var(--ink-soft); text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--ink); }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-fine);
  color: var(--muted);
}
.foot-base p { max-width: 70ch; }
.foot-base a { color: inherit; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}

/* --- Pages ------------------------------------------------------------------ */

.page { background: var(--bg-warm); }
.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * clamp(16px, 4vw, 48px)); }

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-line::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 {
  margin: 18px 0 16px;
  font: 400 clamp(2.3rem, 5vw, 4rem) / 1.04 var(--f-display);
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.page-hero p { max-width: 60ch; font-size: 1.02rem; color: var(--ink-soft); }

.section { padding: clamp(44px, 6vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section__head { display: grid; gap: 12px; margin-bottom: clamp(26px, 3.5vw, 44px); max-width: 64ch; }
.section__head h2 { font: 400 clamp(1.7rem, 3vw, 2.5rem) / 1.12 var(--f-display); letter-spacing: -0.02em; }
.section__head p { color: var(--ink-soft); }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  padding: 26px 24px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--panel);
}
.card h3 { font: 400 1.3rem / 1.2 var(--f-display); margin: 14px 0 8px; }
.card p { font-size: var(--t-small); color: var(--ink-soft); }
.card__icon { display: block; width: 34px; height: 34px; color: var(--accent); }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* promises: each told by a small drawing that says it at a glance, struck in a
   paper medal — a raised disc of the page's own paper, a fine ink line, the one
   detail that carries the meaning in copper */
.promises { gap: 0; border-top: 1px solid var(--line); }
.promise { padding: 34px 28px 8px 0; }
.promise + .promise { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.medal {
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fffefb 0%, var(--panel) 42%, #efe8dc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(25, 20, 16, 0.06),
    0 0 0 1px rgba(25, 20, 16, 0.06),
    0 14px 26px -16px rgba(25, 20, 16, 0.45);
}
.medal svg { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.medal rect, .medal circle { fill: var(--panel); }
.medal .a { stroke: var(--accent); fill: none; }
.medal circle.a { fill: var(--accent); stroke: none; }
.medal .a-fill { fill: var(--accent); stroke: none; font: 500 12.5px / 1 var(--f-display); letter-spacing: -0.02em; }
.promise__unit {
  margin: 22px 0 10px;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent);
}
.promise h3 { font: 400 1.22rem / 1.25 var(--f-display); margin-bottom: 8px; }
.promise p:last-child { font-size: var(--t-small); color: var(--ink-soft); max-width: 30ch; }
@media (max-width: 960px) {
  .promise:nth-child(3) { padding-left: 0; border-left: 0; }
  .promise { padding-bottom: 24px; }
}
@media (max-width: 520px) {
  .promise, .promise + .promise { padding: 26px 0 8px; border-left: 0; }
  .promise + .promise { border-top: 1px solid var(--line-soft); }
}

.step { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.step__n { font: italic 400 1rem / 1 var(--f-display); color: var(--accent); }
.step h3 { font: 400 1.25rem / 1.25 var(--f-display); margin: 12px 0 8px; }
.step p { font-size: var(--t-small); color: var(--ink-soft); }

.figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-deep); }
.figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.prose { display: grid; gap: 14px; color: var(--ink-soft); max-width: 66ch; }
.prose h3 { color: var(--ink); font: 400 1.3rem / 1.25 var(--f-display); margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }

/* questions that open: a summary and its answer */
.faq { border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  cursor: pointer;
  font: 400 1.12rem / 1.35 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 1.4px solid var(--ink-soft);
  border-bottom: 1.4px solid var(--ink-soft);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--d-base) var(--e-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .faq__a { padding: 0 2px 22px; color: var(--ink-soft); max-width: 70ch; font-size: var(--t-small); line-height: 1.7; }

/* --- Forms ------------------------------------------------------------------- */

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span { font-size: var(--t-fine); color: var(--ink-soft); }
.field > span small { color: var(--muted); font-size: inherit; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  color: var(--ink);
  font: 400 var(--t-body) / 1.4 var(--f-body);
  transition: border-color var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #b4472a; }
.field__err { font-size: var(--t-fine); color: #b4472a; min-height: 0; }
.field__err:empty { display: none; }

.choice { display: grid; gap: 10px; }
.choice label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  cursor: pointer;
  transition: border-color var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out);
}
.choice label:hover { border-color: var(--ink-soft); }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice b { font-weight: 500; font-size: var(--t-small); display: block; }
.choice small { display: block; color: var(--muted); font-size: var(--t-fine); }
.choice em { font-style: normal; font-size: var(--t-small); color: var(--ink); white-space: nowrap; }

.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-fine); color: var(--ink-soft); }
.check-line input { accent-color: var(--ink); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }

.note {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--panel-2);
  color: var(--ink-soft);
  font-size: var(--t-fine);
}

/* --- The shop under the configurator (index) -------------------------------- */

.below { background: var(--bg-warm); border-top: 1px solid var(--line-soft); }
.spec-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .spec-grid { grid-template-columns: 1fr; } }
.specs { margin: 0; border-top: 1px solid var(--line-soft); }
.specs div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--t-small); }
.specs dt { color: var(--muted); margin: 0; }
.specs dd { margin: 0; color: var(--ink); }

.fit { padding: 26px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); display: grid; gap: 16px; }
.fit h3 { font: 400 1.35rem / 1.2 var(--f-display); }
.fit p { font-size: var(--t-small); color: var(--ink-soft); }
.fit__inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fit__out { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--panel-2); font-size: var(--t-small); color: var(--ink); }
.fit__out i { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--muted); }
.fit__out[data-v="yes"] i { background: #4f7a52; }
.fit__out[data-v="tight"] i { background: #c08a2c; }
.fit__out[data-v="no"] i { background: #b4472a; }

.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--panel);
}
.band h2 { font: 400 clamp(1.5rem, 2.6vw, 2.1rem) / 1.15 var(--f-display); }
.band p { color: rgba(253, 251, 247, 0.72); margin-top: 8px; font-size: var(--t-small); }
.band .btn--solid { background: var(--panel); color: var(--ink); border-color: var(--panel); }
.band .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--panel); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 14 / 9; background: var(--bg-deep); }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--e-out); }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.spec-title { margin: 16px 0 10px; font: 400 clamp(1.8rem, 3vw, 2.5rem) / 1.1 var(--f-display); letter-spacing: -0.02em; }
.spec-lead { color: var(--ink-soft); max-width: 52ch; margin-bottom: 26px; }
.row-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.steps { list-style: none; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__veil, .toast-host, .strip img { transition-duration: 0.01ms !important; }
}

/* --- Checkout ------------------------------------------------------------------ */

.page-hero--tight { padding-bottom: 24px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: 80px; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } .co-summary { order: -1; position: static !important; } }
.co-step { margin: 0; padding: 0 0 26px; border: 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 16px; }
.co-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font: 400 1.35rem / 1.2 var(--f-display); }
.co-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font: 500 var(--t-fine) / 1 var(--f-body); color: var(--ink-soft); }
.co-summary { position: sticky; top: calc(var(--head-h) + 24px); padding: 26px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); }
.co-summary h2 { font: 400 1.35rem / 1.2 var(--f-display); margin-bottom: 6px; }
.co-summary .sums { margin-top: 14px; }
.co-edit { font-size: var(--t-fine); color: var(--muted); text-underline-offset: 3px; }
.co-submit { margin-top: 4px; }
.line--small { grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; }
.line--small .line__title { font-size: 1rem; }
.co-done { display: grid; justify-items: start; gap: 14px; max-width: 720px; padding: clamp(48px, 7vw, 96px) 0 90px; }
.co-done h1 { font: 400 clamp(2.2rem, 4.6vw, 3.6rem) / 1.05 var(--f-display); letter-spacing: -0.02em; }
.co-done__lead { color: var(--ink-soft); max-width: 56ch; font-size: 1.02rem; }
.co-done__mark svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.co-done__mark circle { stroke: var(--line); }
.co-done__facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 40px; margin: 14px 0 6px; }
.co-done__facts dt { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.co-done__facts dd { margin: 6px 0 0; font: 400 1.3rem / 1.2 var(--f-display); }
@media (max-width: 560px) { .co-done__facts { grid-template-columns: 1fr; } }
.co-next { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.co-next li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: var(--t-small); color: var(--ink-soft); }
.co-next b { font-weight: 500; color: var(--ink); }
@media (max-width: 560px) { .co-next li { grid-template-columns: 1fr; gap: 4px; } }

/* --- Orders -------------------------------------------------------------------- */

.lookup { display: grid; grid-template-columns: minmax(0, 320px) max-content; justify-content: start; align-items: end; gap: 12px; margin-top: 28px; }
.lookup .field__err { grid-column: 1 / -1; }
.orders { display: grid; gap: 18px; padding-bottom: 90px; }
.order { padding: 26px clamp(18px, 3vw, 32px); border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); transition: box-shadow var(--d-base) var(--e-out); }
.order.is-found { box-shadow: 0 0 0 2px var(--accent-soft), 0 0 0 1px var(--accent); }
.order__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.order__id { font: 400 1.4rem / 1.1 var(--f-display); letter-spacing: 0.01em; }
.order__meta { font-size: var(--t-fine); color: var(--muted); margin-top: 4px; }
.stage-pill { flex: none; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: var(--t-fine); font-weight: 500; white-space: nowrap; }
.stage-pill--done { background: rgba(79, 122, 82, 0.12); color: #3f6a43; }
.order__pics { display: flex; gap: 8px; margin: 18px 0 6px; }
.order__pics img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: var(--bg); }
.track { list-style: none; margin: 22px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; position: relative; }
.track::before, .track::after { content: ""; position: absolute; top: 4px; left: 0; height: 2px; border-radius: 2px; }
.track::before { right: 0; background: var(--line-soft); }
.track::after { width: calc(var(--p) * (100% - 100% / 7) + 5px); background: var(--accent); }
.track li { position: relative; display: grid; gap: 3px; padding-top: 6px; font-size: var(--t-fine); color: var(--muted); }
.track li::before { content: ""; position: absolute; top: -22px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line); }
.track li.is-past::before, .track li.is-now::before { border-color: var(--accent); background: var(--accent); }
.track li.is-now::before { box-shadow: 0 0 0 4px var(--accent-soft); }
.track b { font-weight: 500; color: var(--ink-soft); line-height: 1.3; }
.track li.is-now b { color: var(--ink); }
.track span { font-size: 0.75rem; }
@media (max-width: 760px) {
  .track { grid-template-columns: 1fr; gap: 14px; padding: 0 0 0 26px; }
  .track::before, .track::after { top: 6px; left: 4px; width: 2px; right: auto; }
  .track::before { bottom: 6px; height: auto; }
  .track::after { height: calc(var(--p) * (100% - 12px)); }
  .track li { padding-top: 0; }
  .track li::before { top: 2px; left: -26px; }
}
.order__when { margin-top: 18px; font-size: var(--t-small); color: var(--ink); }
.order__toggle { margin-top: 10px; padding: 0; font-size: var(--t-fine); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.order__toggle:hover { color: var(--ink); }
.order__more { margin-top: 12px; border-top: 1px solid var(--line-soft); }
.order__facts { margin: 12px 0 0; display: grid; gap: 8px; font-size: var(--t-small); }
.order__facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.order__facts dt { color: var(--muted); }
.order__facts dd { margin: 0; }

/* --- Contact -------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 90px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.card--form { padding: clamp(22px, 3vw, 34px); }
.card--form .btn--solid { justify-self: start; }
.ct-how { font-size: var(--t-fine); color: var(--muted); }
.ct-sent { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r-md); background: var(--panel-2); font-size: var(--t-small); color: var(--ink-soft); }
.ct-sent__title { font: 400 1.25rem / 1.25 var(--f-display); color: var(--ink); }
.ct-sent .row-links { margin-top: 8px; }
.contact-side { display: grid; border-top: 1px solid var(--line); }
.info { padding: 22px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 6px; }
.info__k { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.info__v { font: 400 1.25rem / 1.3 var(--f-display); color: var(--ink); text-decoration: none; }
a.info__v:hover { color: var(--accent); }
.info__n { font-size: var(--t-small); color: var(--ink-soft); }

/* --- Materials ----------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips .chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--t-fine); color: var(--ink); text-decoration: none; transition: border-color var(--d-fast) var(--e-out), background var(--d-fast) var(--e-out); }
.chips .chip:hover { border-color: var(--ink); }
.chips .chip--ink { background: var(--ink); border-color: var(--ink); color: var(--panel); }
.chips .chip--ink:hover { background: var(--accent); border-color: var(--accent); }
.lib { scroll-margin-top: var(--head-h); }
.lib__group { margin: 34px 0 16px; font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.lib__group:first-of-type { margin-top: 0; }
.mats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mat { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 12px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); transition: border-color var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out); }
.mat__pic { display: block; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 22px -14px rgba(25, 20, 16, 0.6); transition: transform var(--d-base) var(--e-out); }
.mat__pic[data-look] { cursor: zoom-in; }
.mat__pic[data-look]:hover { transform: scale(1.05); }
.mat__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mat__name { font: 400 1.02rem / 1.25 var(--f-display); }
.mat__meta { font-size: 0.75rem; color: var(--muted); min-height: 1.2em; }

.sheet-lite { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.sheet-lite__veil { position: absolute; inset: 0; background: rgba(25, 20, 16, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 380ms var(--e-out); }
.sheet-lite__card { position: relative; width: min(1000px, 100%); max-height: calc(100dvh - 40px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(14px) scale(0.985); opacity: 0; transition: transform 480ms var(--e-out), opacity 380ms var(--e-out); }
.sheet-lite.is-open .sheet-lite__veil { opacity: 1; }
.sheet-lite.is-open .sheet-lite__card { transform: none; opacity: 1; }
.sheet-lite__pic { margin: 0; aspect-ratio: 14 / 9; background: var(--bg-deep); }
.sheet-lite__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet-lite__text { display: grid; align-content: center; gap: 12px; padding: 34px 30px; }
.sheet-lite__text h2 { font: 400 clamp(1.6rem, 2.4vw, 2.2rem) / 1.1 var(--f-display); }
.sheet-lite__text p:not(.eyebrow-line) { font-size: var(--t-small); color: var(--ink-soft); line-height: 1.65; }
.sheet-lite__text .btn { justify-self: start; margin-top: 8px; }
.sheet-lite__close { position: absolute; top: 12px; right: 12px; background: rgba(253, 251, 247, 0.92); }
@media (max-width: 760px) { .sheet-lite { align-items: end; padding: 10px; } .sheet-lite__card { grid-template-columns: 1fr; } }

/* --- Help ------------------------------------------------------------------------- */

.help { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: 90px; }
.help__nav { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 2px; }
.help__nav a { padding: 8px 0; font-size: var(--t-small); color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-hair); }
.help__nav a:hover { color: var(--ink); }
.help__sec { padding: 6px 0 46px; scroll-margin-top: calc(var(--head-h) + 16px); }
.help__sec + .help__sec { padding-top: 40px; border-top: 1px solid var(--line-soft); }
.help__sec > h2 { font: 400 clamp(1.6rem, 2.6vw, 2.2rem) / 1.15 var(--f-display); letter-spacing: -0.015em; margin-bottom: 20px; }
.help__note { margin-top: 16px; font-size: var(--t-small); color: var(--muted); max-width: 66ch; }
.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.care article { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.care h3 { font: 400 1.15rem / 1.3 var(--f-display); margin-bottom: 6px; }
.care p { font-size: var(--t-small); color: var(--ink-soft); }
.band--soft { margin-top: 40px; background: var(--panel); color: var(--ink); border: 1px solid var(--line-soft); }
.band--soft p { color: var(--ink-soft); }
.band--soft .btn--solid { background: var(--ink); color: var(--panel); border-color: var(--ink); }
@media (max-width: 820px) {
  .help { grid-template-columns: 1fr; }
  .help__nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .help__nav a { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--t-fine); }
  .care { grid-template-columns: 1fr; }
}

/* --- The atelier ------------------------------------------------------------- */

.figure--wide { aspect-ratio: 14 / 7; }
.story .section__head { margin-bottom: 0; }
.values article { padding-top: 18px; border-top: 1px solid var(--line); }
.values__n { font: italic 400 1.1rem / 1 var(--f-display); color: var(--accent); }
.values h3 { font: 400 1.35rem / 1.25 var(--f-display); margin: 14px 0 8px; }
.values p:last-child { font-size: var(--t-small); color: var(--ink-soft); }
.making { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.making .figure { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.making h3 { font: 400 1.2rem / 1.25 var(--f-display); margin: 10px 0 6px; }
.making p { font-size: var(--t-small); color: var(--ink-soft); }
@media (max-width: 960px) { .making { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .making { grid-template-columns: 1fr; } }
.pair .figure { aspect-ratio: 4 / 3; }
.prose--page { padding-bottom: 90px; }
