/* Furnico — site styles
   Palette: paper white, stone, charcoal ink and the rust of the logo's F.
   Type: Instrument Serif for display, Instrument Sans for text. Both self-hosted (OFL). */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --stone: #f2f1ee;
  --stone-2: #e7e5e0;
  --line: #dcd9d3;
  --ink: #24231f;
  --ink-2: #5d5a54;
  --ink-3: #8a867f;
  --rust: #993300;
  --rust-deep: #7a2900;
  --night: #22211d;
  --night-2: #2e2c27;
  --night-line: #3d3a34;
  --on-night: #f2f1ee;
  --on-night-2: #b8b4ab;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 68px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 1px 2px rgba(36, 35, 31, .06), 0 12px 40px rgba(36, 35, 31, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul[role="list"], .plain-list { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
::selection { background: #e9d3c7; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Type ---------- */
h1, .h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.55rem + 3.9vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2, .h2 {
  font-family: var(--serif);
  font-size: clamp(2.125rem, 1.6rem + 1.75vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.008em;
  text-wrap: balance;
}
h3 { font-family: var(--serif); font-size: 1.875rem; line-height: 1.1; }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.section-head { max-width: 46rem; }
.section-head p { margin-top: 18px; color: var(--ink-2); max-width: 40em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .9375rem; letter-spacing: .01em; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--rust); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--rust); color: var(--rust); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--stone-2); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .25em; transition: color .2s, text-decoration-color .2s; }
.link:hover { color: var(--rust); text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; padding: 6px 0; }
.brand img { height: 26px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav--desktop ul { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav--desktop a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 8px; text-decoration-thickness: 1.5px; }
.nav--mobile { display: none; position: relative; }
.nav--mobile summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; cursor: pointer; font-size: .9375rem; }
.nav--mobile summary::-webkit-details-marker { display: none; }
.nav__burger { position: relative; width: 20px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.nav__burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.nav--mobile[open] .nav__burger { border-color: transparent; }
.nav--mobile[open] .nav__burger::after { transform: rotate(45deg); }
.nav--mobile[open] .nav__burger::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: rotate(-45deg); }
.nav--mobile nav {
  position: absolute; right: 0; top: calc(100% + 12px);
  min-width: 220px; padding: 10px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-soft);
}
.nav--mobile nav a { display: block; padding: 12px 14px; font-size: 1.0625rem; color: var(--ink); border-radius: var(--radius); }
.nav--mobile nav a:hover { background: var(--stone); }

@media (max-width: 820px) {
  .nav--desktop, .header-cta { display: none; }
  .nav--mobile { display: block; }
  .brand img { height: 23px; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 104px);
}
.hero h1 { font-size: clamp(2.75rem, 1.6rem + 3.4vw, 4.625rem); }
.hero__lead { margin-top: 28px; max-width: 30em; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.hero .actions { margin-top: 36px; }

.hero__wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  height: clamp(420px, 46vw, 640px); overflow: hidden;
}
.wall-col { display: flex; flex-direction: column; gap: 14px; }
.wall-col:nth-child(1) { margin-top: 72px; }
.wall-col:nth-child(3) { margin-top: 148px; }
.wall-tile {
  position: relative; display: block; flex: none; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 3px; background: var(--stone);
}
.wall-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wall-tile:hover img { transform: scale(1.04); }
.wall-tile__label {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 9px; border-radius: 3px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .75rem; line-height: 1.2; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
  .wall-tile { animation: rise .9s var(--ease) both; }
  .wall-col:nth-child(1) .wall-tile:nth-child(1) { animation-delay: .10s; }
  .wall-col:nth-child(2) .wall-tile:nth-child(1) { animation-delay: .00s; }
  .wall-col:nth-child(3) .wall-tile:nth-child(1) { animation-delay: .20s; }
  .wall-col:nth-child(1) .wall-tile:nth-child(2) { animation-delay: .30s; }
  .wall-col:nth-child(2) .wall-tile:nth-child(2) { animation-delay: .22s; }
  .wall-col:nth-child(3) .wall-tile:nth-child(2) { animation-delay: .40s; }
  .wall-col:nth-child(2) .wall-tile:nth-child(3) { animation-delay: .44s; }
}
@keyframes rise { from { opacity: .01; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .hero__wall { height: clamp(300px, 70vw, 520px); }
}
@media (max-width: 560px) {
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { padding: 0 12px; }
  .hero__wall { gap: 10px; height: 96vw; }
  .wall-col { gap: 10px; }
  .wall-col:nth-child(1) { margin-top: 36px; }
  .wall-col:nth-child(3) { margin-top: 84px; }
  .wall-tile__label { left: 6px; bottom: 6px; font-size: .6875rem; padding: 4px 6px; }
}

/* ---------- Library ---------- */
.library { padding-bottom: clamp(56px, 7vw, 112px); border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 96px); }
.library__head { margin-bottom: 32px; }

.toolbar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .toolbar { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.toolbar__inner { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 14px 32px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.search { position: relative; }
.search__label { position: absolute; left: 14px; top: 7px; font-size: .6875rem; color: var(--ink-3); pointer-events: none; }
.search__input {
  width: 100%; height: 50px; padding: 18px 14px 6px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font-size: 1rem; font-variant-numeric: tabular-nums;
  transition: border-color .2s;
}
.search__input::placeholder { color: var(--ink-3); }
.search__input:hover { border-color: var(--ink-3); }
.search__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(153, 51, 0, .14); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%235d5a54' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") center / 16px no-repeat; }
.filters { display: grid; gap: 8px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer;
  font-size: .875rem; line-height: 1; color: var(--ink); transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip__n { font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__n { color: #c9c5bc; }
.chip--quiet { min-height: 30px; padding: 0 11px; font-size: .8125rem; border-color: transparent; background: var(--stone); }
.chip--quiet:hover { border-color: var(--line); }

@media (max-width: 900px) {
  .toolbar__inner { grid-template-columns: 1fr; padding-top: 10px; padding-bottom: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 38px; }
  .chip--quiet { min-height: 34px; }
}

.results { margin: 28px 0 8px; font-size: .875rem; color: var(--ink-2); }
.collection { padding-top: 40px; }
.collection + .collection { margin-top: 24px; border-top: 1px solid var(--line); }
.collection[hidden] { display: none; }
.collection__head {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 48px;
  margin-bottom: 30px; align-items: start;
}
.collection__title { grid-row: span 2; }
.collection__count { margin-top: 8px; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.collection__blurb { color: var(--ink-2); max-width: 44em; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-size: .875rem; }
.specs div { display: flex; flex-direction: column; gap: 2px; }
.specs dt { color: var(--ink-3); font-size: .75rem; }
.specs dd { margin: 0; color: var(--ink); }
@media (max-width: 760px) {
  .collection__head { grid-template-columns: 1fr; }
  .collection__title { grid-row: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .collection__count { margin: 0; }
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 18px; }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.tile[hidden] { display: none; }
.tile__link { display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius); }
.tile__frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--c, var(--stone)); }
.tile__frame::after, .wall-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(36, 35, 31, .09); pointer-events: none; }
.tile__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile__link:hover .tile__frame img { transform: scale(1.05); }
.tile__label { display: block; margin-top: 10px; font-size: .9375rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.tile__sub { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.35; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__link:hover .tile__label { text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: .22em; }
.tile__link:focus-visible { outline-offset: 4px; }

.empty { margin: 48px 0 24px; padding: 40px; background: var(--stone); border-radius: 6px; text-align: center; }
.empty[hidden] { display: none; }
.empty__title { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 8px; }
.empty p:not(.empty__title) { color: var(--ink-2); max-width: 34em; margin-inline: auto; }
.empty .btn { margin-top: 22px; }

/* ---------- Manufacturers ---------- */
.makers { background: var(--stone); padding: clamp(64px, 8vw, 120px) 0; }
.makers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
.maker { padding: 8px 32px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.maker + .maker { padding-left: 32px; border-left: 1px solid var(--line); }
.maker p { color: var(--ink-2); }
.maker .link { margin-top: auto; padding-top: 6px; font-size: .9375rem; align-self: flex-start; }
@media (max-width: 900px) {
  .makers__grid { grid-template-columns: 1fr; }
  .maker, .maker + .maker { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- CTA + footer ---------- */
.cta { background: var(--night); color: var(--on-night); padding: clamp(64px, 8vw, 112px) 0; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: end; }
.cta h2 { max-width: 15ch; }
.cta__side { display: grid; gap: 24px; justify-items: start; }
.cta p { color: var(--on-night-2); max-width: 32em; }
@media (max-width: 820px) { .cta__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 36px 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand img { height: 29px; width: auto; }
.site-footer__brand p { margin-top: 18px; max-width: 26em; }
.site-footer h2 { font-family: var(--sans); font-size: .875rem; color: var(--on-night); margin-bottom: 14px; letter-spacing: .01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-night-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: .25em; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding: 24px 0 32px; border-top: 1px solid var(--night-line); font-size: .8125rem; color: #8f8b83; }
.site-footer__base p:last-child { max-width: 46em; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__col:last-child { grid-column: 1 / -1; } }

/* ---------- Viewer (dialog) ---------- */
.viewer {
  width: min(1040px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 19, 17, .35); overflow: hidden;
}
.viewer::backdrop { background: rgba(26, 25, 22, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: min(640px, calc(100dvh - 48px)); }
.viewer__media { grid-row: 1 / span 2; display: grid; place-items: center; padding: 36px; background: var(--stone); }
.viewer__img { width: auto; height: auto; max-width: 100%; max-height: min(560px, calc(100dvh - 120px)); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 2px rgba(36,35,31,.08), 0 18px 40px rgba(36,35,31,.18); background: var(--stone-2); transition: opacity .25s; }
.viewer__img.is-loading { opacity: .85; }
.viewer__body { padding: 56px 48px 24px; overflow-y: auto; }
.viewer__collection { font-size: .875rem; color: var(--ink-2); }
.viewer__title { margin-top: 10px; font-family: var(--serif); font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem); line-height: 1.04; font-variant-numeric: tabular-nums; }
.viewer__sub { margin-top: 10px; color: var(--ink-2); font-size: 1.0625rem; }
.specs--stack { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.specs--stack div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; flex-direction: row; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs--stack dt { font-size: .875rem; color: var(--ink-2); }
.specs--stack dd { font-size: .9375rem; }
.viewer__actions { margin-top: 28px; }
.viewer__note { margin-top: 16px; font-size: .8125rem; color: var(--ink-3); }
.viewer__nav { display: flex; align-items: center; gap: 10px; padding: 16px 48px 28px; }
.viewer__count { font-size: .875rem; color: var(--ink-2); min-width: 7em; text-align: center; font-variant-numeric: tabular-nums; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; color: var(--ink); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.viewer__close { position: absolute; top: 14px; right: 14px; border-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .viewer[open] { animation: viewer-in .28s var(--ease); }
  .viewer[open]::backdrop { animation: fade-in .28s ease; }
}
@keyframes viewer-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 760px) {
  .viewer { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .viewer__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; min-height: 100%; height: 100%; }
  .viewer__media { grid-row: auto; padding: 56px 20px 20px; }
  .viewer__img { max-height: 46dvh; }
  .viewer__body { padding: 20px 20px 8px; }
  .viewer__nav { padding: 12px 20px 20px; justify-content: space-between; border-top: 1px solid var(--line); }
  .viewer__close { background: var(--paper); border-color: var(--line); }
}

/* ---------- Inner pages ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero h1 { max-width: 15ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero .actions { margin-top: 32px; }
@media (min-width: 1000px) {
  .page-hero--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 72px; align-items: end; }
  .page-hero--split h1 { max-width: 19ch; }
  .page-hero--split .lead { margin-top: 0; padding-bottom: .5em; }
}
.page-hero--center { text-align: center; padding-bottom: clamp(88px, 12vw, 168px); }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .actions { justify-content: center; }
.band { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--line); }
.band--stone { background: var(--stone); border-top: 0; }
.band--stone + .band--stone { padding-top: 0; }

/* About: story timeline and key facts */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 10px 32px; padding: 30px 0; border-top: 1px solid var(--ink); }
.timeline li + li { border-top-color: var(--line); }
.timeline__when { font-family: var(--serif); font-size: 2.75rem; line-height: .95; color: var(--rust); }
.timeline h3 { margin-bottom: 10px; }
.timeline li p:not(.timeline__when) { color: var(--ink-2); max-width: 38em; }
.story__close { padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
ul.facts { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.facts li { padding-top: 20px; border-top: 1px solid var(--ink); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.facts span { display: block; margin-top: 12px; color: var(--ink-2); font-size: .9375rem; max-width: 18em; }
@media (max-width: 900px) { ul.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; padding: 24px 0; }
  .timeline__when { font-size: 2.25rem; }
}
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; }
.split > header h2 { max-width: 12ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.supply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.supply__item { padding: 22px 0; border-top: 1px solid var(--line); }
.supply__item h3 { font-size: 1.5rem; }
.supply__item p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 700px) { .supply { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: var(--rust); margin-bottom: 14px; }
.steps h3 { font-size: 1.5rem; }
.steps p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.who { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.who li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9375rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq summary:hover { color: var(--rust); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 46em; }
.faq .answer p + p { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 72px; align-items: start; padding-bottom: clamp(64px, 8vw, 120px); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .9375rem; }
.field .opt { color: var(--ink-3); font-size: .8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 168px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(153, 51, 0, .14); }
.field input:user-invalid, .field textarea:user-invalid, .field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--rust); }
.field__error { font-size: .875rem; color: var(--rust); }
.field__error:empty { display: none; }
.field__hint { font-size: .8125rem; color: var(--ink-3); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__foot p { font-size: .8125rem; color: var(--ink-3); max-width: 30em; }
.notice { padding: 18px 20px; border-radius: 6px; background: var(--stone); }
.notice--error { background: #f6e6df; color: #5c1f00; }
.notice h2 { font-size: 1.75rem; margin-bottom: 6px; }
.notice p { color: inherit; }
.success { padding: clamp(24px, 4vw, 40px); border-radius: 8px; background: var(--stone); }
.tips { margin-top: 40px; padding: 28px 28px 30px; border-radius: 8px; background: var(--stone); }
.tips h2 { font-size: 1.625rem; line-height: 1.15; }
.tips ul { margin: 16px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: .9688rem; }
.tips li + li { margin-top: 8px; }
.tips li::marker { color: var(--rust); }
.success h2 { margin-bottom: 12px; }
.success p { color: var(--ink-2); max-width: 32em; }
.success .actions { margin-top: 24px; }

.details { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.details__row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.details__row dt { font-size: .8125rem; color: var(--ink-3); margin-bottom: 4px; }
.details__row dd { margin: 0; font-size: 1.0625rem; }
.details__row a { text-decoration: none; }
.details__row a.link { text-decoration: underline; text-decoration-color: var(--line); }
.details__row li + li { margin-top: 4px; }
.details__row .details__action { margin-top: 10px; font-size: .9375rem; }
.details__row dd a { overflow-wrap: anywhere; }
.details__row a:hover { color: var(--rust); }
.details__row a:hover { color: var(--rust); text-decoration: underline; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Decor placeholder colours (generated) ---------- */
.c-matt-wood-504{--c:#cbc6c5}.c-matt-wood-505{--c:#c8ab99}.c-matt-wood-506{--c:#b7aba3}.c-matt-wood-507{--c:#bbc2c9}.c-matt-wood-549{--c:#b0a59b}.c-matt-wood-550{--c:#998173}.c-matt-wood-552{--c:#bcb5b0}.c-matt-wood-553{--c:#c0a38c}.c-matt-wood-556{--c:#ba9680}.c-matt-wood-562{--c:#948c8a}.c-matt-wood-563{--c:#d1c5c1}.c-elegant-a7111{--c:#b8bab9}.c-elegant-a7112{--c:#a29b94}.c-elegant-a7113{--c:#bbae9d}.c-elegant-a7114{--c:#bdb5ac}.c-elegant-a7115{--c:#8c8f8e}.c-elegant-a7116{--c:#8f8a87}.c-elegant-a7117{--c:#d0ccc3}.c-elegant-a7118{--c:#bdbfbd}.c-elegant-a7119{--c:#d3d6da}.c-elegant-a7120{--c:#9f9b96}.c-elegant-a7121{--c:#a39c91}.c-elegant-a7122{--c:#e0d6c5}.c-elegant-a7123{--c:#4b4343}.c-elegant-a7124{--c:#dbd2c9}.c-elegant-a7125{--c:#bcb4a9}.c-elegant-a7126{--c:#b4b1ab}.c-elegant-a7127{--c:#a9a5a2}.c-elegant-a7128{--c:#6f8690}.c-elegant-a7129{--c:#b5bbac}.c-elegant-a7130{--c:#dbcac9}.c-elegant-a7131{--c:#b4a699}.c-elegant-a7132{--c:#55504a}.c-elegant-a7133{--c:#ccd1d4}.c-elegant-a7134{--c:#9ca2a9}.c-elegant-a7135{--c:#989896}.c-elegant-a7136{--c:#9b9da1}.c-acrylic-101{--c:#f5dacc}.c-acrylic-102{--c:#e3beab}.c-acrylic-103{--c:#8d7c71}.c-acrylic-104{--c:#ebcbc4}.c-acrylic-105{--c:#393c3b}.c-acrylic-106{--c:#b6303f}.c-acrylic-107{--c:#c1c2c3}.c-acrylic-108{--c:#b6b1ad}.c-acrylic-109{--c:#baa085}.c-acrylic-110{--c:#b9aaa3}.c-acrylic-111{--c:#f2dbd3}.c-acrylic-112{--c:#536885}.c-acrylic-113{--c:#592b37}.c-acrylic-114{--c:#acb2ae}.c-acrylic-115{--c:#746c5f}.c-acrylic-116{--c:#2c2d2c}.c-acrylic-117{--c:#736560}.c-acrylic-118{--c:#2c2321}.c-acrylic-119{--c:#4e4c56}.c-partex-prome-teak{--c:#b5783f}.c-partex-burma-teak{--c:#c08d56}.c-partex-shan-teak{--c:#a36239}.c-partex-mahogany{--c:#453132}.c-partex-white-beech{--c:#c3b391}.c-partex-beech{--c:#cda15e}.c-partex-albino-oak{--c:#beb297}.c-partex-havana-oak{--c:#a3947d}.c-partex-a-nature{--c:#d1a468}.c-partex-dark-oak{--c:#8c522a}.c-partex-cherry-light{--c:#e59946}.c-partex-red-oak-01{--c:#c39f6c}.c-partex-maple{--c:#e2c27d}.c-partex-ctg-teak{--c:#956e3d}.c-partex-premium-teak{--c:#ab7047}.c-partex-cherry-deep{--c:#e3893d}.c-partex-pearl-white{--c:#b7aa85}.c-partex-wenge{--c:#3a362d}.c-partex-nigerian-teak{--c:#847566}.c-partex-sheedi-brown{--c:#9e8276}.c-partex-coast-line{--c:#897f6a}.c-partex-canadian-pine{--c:#b27c54}.c-partex-canadian-teak{--c:#b77732}.c-partex-light-patch{--c:#8e7874}.c-partex-silky-black{--c:#454545}.c-partex-silver-line{--c:#443637}.c-partex-white-cedar{--c:#a8a69a}.c-partex-walnut-regular{--c:#5c2f26}.c-partex-brown-wood{--c:#8c7b72}.c-partex-silk-line{--c:#c7bd99}.c-partex-zebra-line{--c:#55554f}.c-partex-queen-flower{--c:#594231}.c-partex-golden-flower{--c:#764c31}.c-partex-china-rose{--c:#3f392d}.c-partex-brown-carpet{--c:#792116}.c-partex-winter-cherry{--c:#a54c44}.c-partex-red-pine{--c:#be6030}.c-partex-wood-flower{--c:#7b7259}.c-partex-mexican-oak{--c:#c99e5f}.c-partex-spider{--c:#7f4521}.c-partex-brown-spider{--c:#5c312d}.c-partex-brown-patee{--c:#4c2f20}.c-partex-orange-circle{--c:#9b593a}.c-partex-butterfly{--c:#5a829a}.c-partex-brown-flower{--c:#8a7772}.c-partex-brown-rope{--c:#846d5c}.c-partex-brown-line{--c:#72432e}.c-partex-golden-leaf{--c:#6b3d31}.c-partex-american-walnut{--c:#9e7c61}.c-partex-brown-oak{--c:#a76b31}.c-partex-fossil-oak{--c:#704f36}.c-partex-walnut{--c:#5d3026}.c-partex-white-ash{--c:#efefef}.c-partex-blue{--c:#2c337d}.c-partex-red{--c:#e43b34}.c-partex-orange{--c:#f36f21}.c-partex-yellow{--c:#ffdd00}.c-partex-black{--c:#231f20}.c-partex-graphite{--c:#52494b}.c-partex-grey{--c:#e6e7e8}.c-partex-white{--c:#ffffff}.c-partex-burma-teak-high-gloss{--c:#6d412b}.c-partex-mahogany-high-gloss{--c:#401e1b}.c-partex-golden-leaf-3d{--c:#542c24}.c-partex-walnut-3d{--c:#52211d}.c-partex-shan-teak-4d{--c:#985b36}.c-partex-brown-patee-4d{--c:#654638}.c-super-board-101{--c:#fffbf7}.c-super-board-102{--c:#bfb9b7}.c-super-board-103{--c:#ffffff}.c-super-board-104{--c:#1d3d91}.c-super-board-106{--c:#f7a600}.c-super-board-107{--c:#e94e0f}.c-super-board-108{--c:#d90812}.c-super-board-110{--c:#181b1c}.c-super-board-111{--c:#757677}.c-super-board-203{--c:#b3701a}.c-super-board-205{--c:#b4543e}.c-super-board-207{--c:#39a03e}.c-super-board-209{--c:#6a481a}.c-super-board-210{--c:#e3c369}.c-super-board-219{--c:#c38939}.c-super-board-240{--c:#614f37}.c-super-board-246{--c:#5e5247}.c-super-board-251{--c:#6d4921}.c-super-board-253{--c:#a19183}.c-super-board-309{--c:#826857}.c-super-board-312{--c:#775239}.c-super-board-315{--c:#d5d6dc}.c-super-board-316{--c:#daddeb}.c-super-board-317{--c:#252223}.c-super-board-709{--c:#bc5716}.c-super-board-710{--c:#e97e1d}.c-super-board-717{--c:#eab949}.c-super-board-718{--c:#603126}.c-super-board-722{--c:#ad844c}.c-super-board-725{--c:#5d351e}.c-super-board-726{--c:#493d39}.c-super-board-728{--c:#5c4941}.c-super-board-731{--c:#d3883f}.c-super-board-732{--c:#99947b}.c-super-board-733{--c:#daddc5}.c-super-board-734{--c:#6d7480}.c-super-board-742{--c:#ada293}.c-super-board-747{--c:#c59072}.c-super-board-749{--c:#ba7527}.c-super-board-750{--c:#d07c1a}.c-super-board-751{--c:#de7720}.c-super-board-752{--c:#7f4431}.c-super-board-753{--c:#563a2f}.c-super-board-755{--c:#966352}.c-super-board-769{--c:#9b8e62}.c-super-board-770{--c:#cfa74f}.c-super-board-771{--c:#e2ddda}.c-super-board-772{--c:#b7b49e}.c-super-board-773{--c:#d4d0ae}.c-super-board-774{--c:#c5beb3}.c-super-board-775{--c:#c2b16a}.c-super-board-776{--c:#a7a9a0}.c-super-board-780{--c:#603c22}.c-super-board-781{--c:#e09d35}.c-super-board-782{--c:#dbad35}.c-super-board-783{--c:#5e3c26}.c-super-board-784{--c:#b7904c}.c-super-board-785{--c:#595856}.c-super-board-787{--c:#837871}.c-super-board-789{--c:#8d6b48}.c-super-board-790{--c:#626369}.c-super-board-791{--c:#c6c6cb}.c-super-board-792{--c:#c8c8c5}.c-super-board-793{--c:#9f7e61}.c-super-board-794{--c:#6b5958}
