/* BambuCult — stylesheet */

:root {
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --card: #faf8f3;
  --ink: #1c221d;
  --ink-2: #4b524b;
  --ink-3: #636a61;
  --line: #d9d1c0;
  --line-2: #c5baa4;
  --leaf: #2e4a33;
  --leaf-deep: #213726;
  --culm: #8a6430;
  --culm-soft: #e3d2b1;

  --f-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --f-serif: "Libre Caslon Text", Georgia, serif;
  --f-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 400; }

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
/* On the dark bands the leaf-green ring disappears, so use the paper colour there. */
.topbar :focus-visible,
.branding :focus-visible,
.site-footer :focus-visible,
.toast :focus-visible { outline-color: var(--culm-soft); }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Type */

.eyebrow {
  margin: 0 0 20px;
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.display {
  margin: 0;
  font: 400 clamp(46px, 7vw, 100px)/.98 var(--f-display);
  letter-spacing: -.02em;
}
.display em {
  font-family: var(--f-serif);
  font-size: .9em;
  font-style: italic;
  letter-spacing: -.035em;
  color: var(--leaf);
}

.h2, .section__head h2 {
  margin: 0;
  font: 400 clamp(34px, 4.4vw, 58px)/1.04 var(--f-display);
  letter-spacing: -.015em;
}

.lede {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}

.link-under {
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s;
}
.link-under:hover { color: var(--leaf); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font: 500 15px/1 var(--f-sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--leaf); border-color: var(--leaf); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn--leaf { background: var(--leaf); border-color: var(--leaf); }
.btn--leaf:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); }

.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--culm-soft); border-color: var(--culm-soft); color: var(--ink); }

.text-btn {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-btn:hover { color: var(--ink); }

.chip {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { margin-left: 4px; font: 500 11px var(--f-mono); opacity: .7; }

/* Top bar + header */

.topbar {
  background: var(--ink);
  color: #d9d3c4;
  font: 400 12px/1 var(--f-mono);
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}
.topbar p { margin: 0; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__contact { display: flex; gap: 10px; }
.topbar__contact span { opacity: .4; }

/* Masthead: search, logo, WhatsApp. On small screens it becomes the sticky bar. */

.masthead { position: relative; z-index: 45; background: var(--paper); }
.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 96px;
}

.quick-search, .mobile-nav__search { position: relative; display: flex; align-items: center; }
.quick-search { max-width: 230px; }
.quick-search svg, .mobile-nav__search svg {
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.5;
  pointer-events: none;
}
.quick-search input, .mobile-nav__search input {
  width: 100%;
  padding: 8px 0 8px 24px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  font-size: 14.5px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s;
}
.quick-search input:focus, .mobile-nav__search input:focus { outline: none; border-bottom-color: var(--ink); }
.quick-search input::placeholder, .mobile-nav__search input::placeholder { color: var(--ink-3); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.masthead .brand { justify-self: center; }
.brand__mark { width: 17px; height: 25px; color: var(--leaf); }
.brand__word { font: 400 26px/1 var(--f-display); letter-spacing: -.01em; }
.brand__word em { font-family: var(--f-serif); font-style: italic; color: var(--culm); }
.masthead .brand__mark { width: 21px; height: 31px; }
.masthead .brand__word { font-size: 32px; }

/* Final wordmark: an inline SVG whose B follows --bc-accent and the rest the text colour */
.brand__logo { display: block; height: 22px; width: auto; --bc-accent: var(--culm); }
.masthead .brand__logo { height: 24px; }
.footer__brand .brand__logo { height: 22px; --bc-accent: var(--culm-soft); }

.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.wa-link {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s;
}
.wa-link:hover { color: var(--leaf); }
.masthead .list-link--compact { display: none; }

/* Navbar: the menu row, which sticks to the top while scrolling */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, .96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.navbar__inner { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; height: 52px; }
.navbar__inner .list-link { align-self: center; padding-top: 7px; padding-bottom: 7px; }

.menu { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.menu__item { position: relative; display: flex; }
.menu__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, box-shadow .2s;
}
.menu__link:hover, .has-sub:hover > .menu__link { color: var(--ink); }
.menu__link[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.caret { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: 100%;
  left: -24px;
  z-index: 50;
  width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.has-sub--right .sub { left: auto; right: -24px; }
.has-sub:hover .sub, .has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.has-sub.is-closed .sub { opacity: 0; visibility: hidden; }
.sub__panel {
  margin-top: 1px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 40px rgba(28, 34, 29, .10);
}
.sub__lede { margin: 0 0 14px; font: italic 400 15px/1.5 var(--f-serif); color: var(--ink-2); }
.sub__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sub__list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s, padding .2s;
}
.sub__list a:hover { padding-left: 4px; color: var(--leaf); }
.sub__all {
  display: inline-block;
  margin-top: 14px;
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
}
.sub__all:hover { color: var(--leaf); }

.list-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.list-link:hover, .list-link[aria-current] { background: var(--ink); color: var(--paper); }
.list-link .short { display: none; }

.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--leaf);
  color: var(--paper);
  font: 500 12px/1 var(--f-mono);
}
.count.is-empty { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line-2); }

.menu-btn {
  display: none;
  padding: 9px 0 9px 4px;
  border: 0;
  background: none;
  font: 500 14.5px/1 var(--f-sans);
  cursor: pointer;
}

.mobile-nav {
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--paper);
  overscroll-behavior: contain;
}
.mobile-nav__search { margin: 16px var(--gutter) 6px; }
.mobile-nav__inner > a, .mobile-nav summary {
  display: block;
  padding: 15px var(--gutter);
  border-bottom: 1px solid var(--line);
  font: 400 24px/1.2 var(--f-display);
  text-decoration: none;
  cursor: pointer;
}
.mobile-nav summary { display: flex; align-items: center; justify-content: space-between; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font: 400 20px/1 var(--f-mono); color: var(--ink-3); }
.mobile-nav details[open] summary::after { content: "−"; }
.mobile-nav__sub {
  display: grid;
  padding: 6px var(--gutter) 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.mobile-nav__sub a { padding: 9px 0; font-size: 16px; color: var(--ink-2); text-decoration: none; }
.mobile-nav__sub a:first-child { font-weight: 500; color: var(--ink); }
.mobile-nav__contact {
  display: grid;
  gap: 6px;
  padding: 18px var(--gutter) 24px;
  font: 400 13px/1.5 var(--f-mono);
  color: var(--ink-2);
}

@media (max-width: 1120px) {
  :root { --header-h: 68px; }
  .navbar { display: none; }
  .masthead { position: sticky; top: 0; border-bottom: 1px solid var(--line); }
  .masthead__inner { display: flex; gap: 14px; height: var(--header-h); }
  .masthead .brand { justify-self: auto; }
  .masthead .brand__mark { width: 18px; height: 27px; }
  .masthead .brand__word { font-size: 27px; }
  .masthead .brand__logo { height: 20px; }
  .quick-search, .wa-link { display: none; }
  .masthead__right { margin-left: auto; gap: 14px; }
  .masthead .list-link--compact, .menu-btn { display: inline-flex; }
}
@media (max-width: 720px) {
  .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 440px) {
  :root { --header-h: 64px; }
  .topbar { font-size: 10.5px; letter-spacing: 0; }
  .masthead .brand__word { font-size: 23px; }
  .masthead .brand__logo { height: 18px; }
  .list-link .long { display: none; }
  .list-link .short { display: inline; }
}

/* Image + placeholder */

.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.media img.is-loaded { opacity: 1; }
.media.has-photo .ph { opacity: 0; transition: opacity .4s; }

.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-3);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
}
.ph svg {
  width: 34%;
  max-width: 110px;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph svg * { vector-effect: non-scaling-stroke; }
.ph__fig {
  position: absolute;
  right: 18px;
  bottom: 16px;
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Product card */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 24px;
}

.card { position: relative; display: flex; flex-direction: column; }
.card__media { display: block; }
.card:hover .media img.is-loaded { transform: scale(1.035); }
.card:hover .ph { color: var(--ink-2); }

.card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding-top: 14px; }
.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__meta span:first-child { flex-shrink: 0; white-space: nowrap; }
.card__meta span:last-child { min-width: 0; text-align: right; }
.card__name { margin: 0; font: 400 17px/1.34 var(--f-serif); }
.card__name a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s ease;
}
.card:hover .card__name a { background-size: 100% 1px; }
.card__note { margin: 0; font-size: 13px; color: var(--culm); }

.card__foot { margin-top: auto; padding-top: 10px; }
.card__add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  font: 500 13.5px/1 var(--f-sans);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.card__add::before { content: "+"; font: 500 14px/1 var(--f-mono); }
.card__add:hover { color: var(--leaf); border-color: var(--leaf); }
.card__add[aria-pressed="true"] { color: var(--leaf); border-color: var(--leaf); }
.card__add[aria-pressed="true"]::before { content: "✓"; }

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .card__name { font-size: 15.5px; }
  .card__meta span:last-child { display: none; }
}

/* Home: hero */

.hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.hero__figure { margin: 0; }

.plate {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: max(420px, calc(100vh - 270px));
  background: var(--paper-2);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line-2);
  pointer-events: none;
}
.plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s;
}
.plate img.is-loaded { opacity: 1; }

.hero figcaption {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.hero figcaption span { font: 500 12px/1.6 var(--f-mono); letter-spacing: .08em; color: var(--ink); white-space: nowrap; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(48px, 7vw, 88px) 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.facts div { padding: 22px 24px 26px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt {
  font: 500 11.5px/1.4 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.facts dd { margin: 12px 0 0; font: 400 clamp(28px, 3.2vw, 42px)/1 var(--f-display); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .plate { aspect-ratio: 1 / 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Home: sections */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--flush { padding-top: 0; }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head p:not(.eyebrow) { max-width: 36em; margin: 18px 0 0; font-size: 17px; color: var(--ink-2); }
.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  max-width: none;
}

.index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid;
  grid-template-columns: 36px 72px minmax(200px, 1fr) minmax(0, 1.5fr) 84px 20px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  text-decoration: none;
  transition: background-color .25s;
}
.index a:hover { background: linear-gradient(90deg, transparent, var(--card) 12%, var(--card) 88%, transparent); }
.index__no { font: 500 12px var(--f-mono); letter-spacing: .08em; color: var(--ink-3); }
.index__glyph svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s;
}
.index__glyph svg * { vector-effect: non-scaling-stroke; }
.index__thumb { display: block; width: 72px; }
.index__thumb .ph::before { inset: 4px; }
.index__thumb .ph__fig { display: none; }
.index__thumb .ph svg { width: 54%; }
.index a:hover .index__thumb img.is-loaded { transform: scale(1.06); }
.index__name { font: 400 clamp(24px, 2.5vw, 32px)/1.1 var(--f-display); transition: color .25s; }
.index__blurb { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.index__count { font: 500 12px var(--f-mono); letter-spacing: .04em; color: var(--ink-2); text-align: right; }
.index__arrow { font-size: 18px; transition: transform .25s; }
.index a:hover .index__name { color: var(--leaf); }
.index a:hover .index__glyph svg { stroke: var(--leaf); }
.index a:hover .index__arrow { transform: translateX(5px); }

@media (max-width: 900px) {
  .index a { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 4px 14px; padding: 16px 0; align-items: start; }
  .index__no, .index__arrow { display: none; }
  .index__thumb { grid-column: 1; grid-row: 1 / 3; width: 60px; }
  .index__name { grid-column: 2; grid-row: 1; font-size: 23px; }
  .index__count { grid-column: 3; grid-row: 1; padding-top: 6px; }
  .index__blurb { grid-column: 2 / 4; grid-row: 2; font-size: 14px; }
}

/* Home: building materials */

.build { border-top: 1px solid var(--line); }
.build__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.build__lede { max-width: 32em; margin: 22px 0 0; font-size: 17px; color: var(--ink-2); }
.build__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.build__list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  text-decoration: none;
  transition: color .2s;
}
.build__list a span { flex-shrink: 0; white-space: nowrap; font: 500 11px var(--f-mono); letter-spacing: .06em; color: var(--ink-3); }
.build__list a:hover { color: var(--leaf); }

@media (max-width: 900px) {
  .build__inner { grid-template-columns: 1fr; }
  .build .frame--tall { aspect-ratio: 3 / 2; }
}
@media (max-width: 520px) { .build__list { grid-template-columns: 1fr; } }

/* About and contact pages */

.page--flush { padding-bottom: 0; }
.photo-band { margin: 0; }
.frame { position: relative; overflow: hidden; background: var(--paper-2); }
.frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .4);
  pointer-events: none;
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s;
}
.frame img.is-loaded { opacity: 1; }
.frame--wide { aspect-ratio: 21 / 9; }
.frame--tall { aspect-ratio: 4 / 5; }
.photo-band figcaption { display: flex; gap: 14px; margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.photo-band figcaption span { font: 500 12px/1.6 var(--f-mono); letter-spacing: .08em; color: var(--ink); white-space: nowrap; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.prose p { margin: 0 0 1.1em; font: 400 clamp(18px, 1.6vw, 20px)/1.7 var(--f-serif); }
.about__body .h2 { margin-bottom: 24px; }

.steps.steps--four { grid-template-columns: repeat(4, 1fr); }
.cta-band { border-top: 1px solid var(--line); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-card h2 { margin: 0 0 20px; font: 400 30px/1.1 var(--f-display); }
.details--lg { font-size: 16px; gap: 14px 28px; }
.contact-card .contact__actions { margin-top: 28px; }
.note-box {
  margin: 32px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--culm);
  background: var(--card);
  font-size: 15px;
  color: var(--ink-2);
}
.note-box a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .steps.steps--four { grid-template-columns: 1fr 1fr; }
  .steps--four li, .steps--four li + li { padding: 24px 24px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .frame--wide { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .steps.steps--four { grid-template-columns: 1fr; }
}

/* Home: branding */

.branding { padding: clamp(72px, 10vw, 128px) 0; background: var(--leaf-deep); color: #efe9dc; }
.branding__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.branding .eyebrow { color: #a9b7a3; }
.branding h2 { margin: 0; font: 400 clamp(34px, 4.4vw, 58px)/1.04 var(--f-display); letter-spacing: -.015em; color: #f6f1e6; }
.branding p:not(.eyebrow) { max-width: 32em; margin: 22px 0 0; font-size: 17px; color: #cdd5c8; }
.ticks { display: grid; gap: 12px; margin: 28px 0 36px; padding: 0; list-style: none; color: #e4e0d4; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  top: .78em;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--culm-soft);
}
.branding__art { margin: 0; }
.branding__art svg { width: 100%; height: auto; }
.branding__art figcaption { margin-top: 16px; font-size: 13px; color: #9fae9a; }
.branding__art figcaption span { margin-right: 10px; font: 500 12px var(--f-mono); letter-spacing: .08em; color: #d9d3c4; }

@media (max-width: 900px) { .branding__inner { grid-template-columns: 1fr; } }

/* Home: steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.steps li { padding: 28px 32px 8px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 32px; }
.steps li:last-child { border-right: 0; }
.steps__no { font: italic 400 34px/1 var(--f-serif); color: var(--culm); }
.steps h3 { margin: 18px 0 10px; font: 400 25px/1.2 var(--f-display); }
.steps p { max-width: 30em; margin: 0; color: var(--ink-2); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Home: about */

.about { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
}
.about__body p:not(.eyebrow) { margin: 0 0 1.1em; font: 400 clamp(18px, 1.6vw, 20px)/1.7 var(--f-serif); }
/* Drop cap on the first body paragraph: the home page starts with it, the about page
   puts an eyebrow and a heading above it. */
.about__body > p:first-child:not(.eyebrow)::first-letter,
.about__body > .h2 + p::first-letter {
  float: left;
  margin: .08em .1em 0 0;
  font: 400 4.2em/.8 var(--f-display);
  color: var(--leaf);
}
.about__body .aside {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 2px solid var(--culm);
  font: 400 15px/1.65 var(--f-sans);
  color: var(--ink-2);
}
.about__body .aside strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) { .about__inner { grid-template-columns: 1fr; } }

/* Home: contact */

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: end;
}
.contact h2 { margin: 0; font: 400 clamp(36px, 5vw, 66px)/1.02 var(--f-display); letter-spacing: -.02em; }
.contact p { max-width: 30em; margin: 22px 0 0; font-size: 17px; color: var(--ink-2); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

.details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 28px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.details dt {
  font: 500 11.5px/1.9 var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.details dd { margin: 0; }
.details a { text-decoration: none; }
.details a:hover { text-decoration: underline; }

@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }

/* Footer */

.site-footer { padding: 64px 0 28px; background: var(--ink); color: #c9c4b8; font-size: 14.5px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand .brand { color: var(--paper); }
.footer__brand .brand__mark { color: var(--culm-soft); }
.footer__brand .brand__word em { color: var(--culm-soft); }
.footer__brand p { max-width: 24em; margin: 18px 0 0; color: #a9a597; }
.site-footer h2 {
  margin: 6px 0 18px;
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8f9a8c;
}
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #e8e3d7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #8f978b;
}
.footer__base p { margin: 0; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* Inner pages */

.page { padding: 28px 0 clamp(72px, 10vw, 120px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 48px;
  align-items: end;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink);
}
.page-head h1 { margin: 0; font: 400 clamp(40px, 5.6vw, 76px)/1 var(--f-display); letter-spacing: -.02em; }
.page-head p { max-width: 34em; margin: 0; font-size: 16.5px; color: var(--ink-2); }

@media (max-width: 820px) { .page-head { grid-template-columns: 1fr; } }

/* Catalogue */

.cat-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.cat-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.cat-side ul { margin: 0; padding: 0; list-style: none; }
.cat-side a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.cat-side a span:last-child { font: 500 12px/1.9 var(--f-mono); color: var(--ink-3); }
.cat-side a:hover { color: var(--ink); }
.cat-side a[aria-current] { color: var(--ink); font-weight: 600; }
.cat-side a[aria-current] span:first-child::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  margin-right: 8px;
  background: var(--ink);
  vertical-align: middle;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.search { position: relative; display: flex; flex: 1 1 240px; align-items: center; max-width: 360px; }
.search svg { position: absolute; left: 0; width: 16px; height: 16px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.search input {
  width: 100%;
  padding: 10px 0 10px 26px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}
.search input:focus { outline: none; border-bottom-color: var(--leaf); box-shadow: 0 1px 0 var(--leaf); }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button {
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%234b524b' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.toolbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select {
  padding: 6px 20px 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231c221d' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right center;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.type-chips:empty { display: none; }

.result-count {
  margin: 22px 0;
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cat-main .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.empty { padding: 56px 0; text-align: center; }
.empty h2 { margin: 0 0 10px; font: 400 30px/1.2 var(--f-display); }
.empty p { margin: 0 auto 24px; max-width: 30em; color: var(--ink-2); }

.print-head { display: none; }

@media (max-width: 960px) {
  .cat-layout { grid-template-columns: 1fr; gap: 24px; }
  .cat-side {
    position: static;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .cat-side::-webkit-scrollbar { display: none; }
  .cat-side .eyebrow { display: none; }
  .cat-side ul { display: flex; gap: 8px; width: max-content; }
  .cat-side a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; font-size: 14px; }
  .cat-side a span:last-child { font-size: 11px; line-height: 1.9; }
  .cat-side a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 500; }
  .cat-side a[aria-current] span:first-child::before { display: none; }
  .cat-side a[aria-current] span:last-child { color: #b9b4a8; }
}
@media (max-width: 720px) {
  .cat-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { max-width: none; flex-basis: 100%; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  #print { display: none; }
}

/* Product page */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__gallery .ph svg { width: 30%; max-width: 150px; }

.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.pdp__info h1 { margin: 0 0 20px; font: 400 clamp(32px, 3.6vw, 48px)/1.08 var(--f-display); letter-spacing: -.01em; }
.pdp__desc { max-width: 32em; margin: 0 0 32px; font: 400 18px/1.65 var(--f-serif); }

.pdp__form { padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.pdp__form label {
  display: block;
  margin-bottom: 10px;
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pdp__form label span { letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.pdp__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__row .input { flex: 0 1 170px; }
.pdp__row .btn { flex: 1 1 220px; }
.pdp__status { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; color: var(--leaf); }
.pdp__status a { font-weight: 500; }
.pdp__note { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-3); }

.pdp__wa { display: inline-flex; gap: 8px; margin: 22px 0 40px; font-size: 15px; font-weight: 500; text-underline-offset: 4px; }
.pdp__wa:hover { color: var(--leaf); }

.specs { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt {
  padding-right: 16px;
  font: 500 11.5px/1.75 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.specs dd { font-size: 15px; }
.specs a { text-underline-offset: 3px; }

.related { padding-top: clamp(72px, 9vw, 112px); }

.notfound { padding: 40px 0 20px; }
.notfound h1 { margin: 0 0 14px; font: 400 clamp(34px, 4.4vw, 54px)/1.05 var(--f-display); }
.notfound p { max-width: 32em; margin: 0 0 28px; color: var(--ink-2); }

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
}

/* Forms */

.input, .field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--card);
  font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(46, 74, 51, .14);
}
.input::placeholder, .field ::placeholder { color: #9a9d93; }
.field { display: grid; gap: 7px; }
.field label {
  font: 500 11.5px/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field label span { letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231c221d' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 15.5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.field select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46, 74, 51, .14); }
.field--full { grid-column: 1 / -1; }
.field.has-error input { border-color: #a8452f; }
.field__error { margin: 0; font-size: 13px; color: #a8452f; }

/* Enquiry list */

.enq {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.enq-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.enq-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 128px 36px;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.enq-item .media-link { display: block; }
.enq-item .ph::before { inset: 5px; }
.enq-item .ph__fig { display: none; }
.enq-item .ph svg { width: 44%; }
.enq-item__name { margin: 0 0 4px; font: 400 17px/1.3 var(--f-serif); }
.enq-item__name a { text-decoration: none; }
.enq-item__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.enq-item__meta {
  margin: 0;
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.enq-item__qty label {
  display: block;
  margin-bottom: 4px;
  font: 500 10.5px/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.enq-item__qty .input { padding: 9px 10px; font-size: 15px; }
.enq-item__remove {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
}
.enq-item__remove:hover { color: var(--ink); }

.enq-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }

.enq-empty { padding: 40px 0 8px; border-top: 1px solid var(--ink); }
.enq-empty h2 { margin: 0 0 12px; font: 400 32px/1.15 var(--f-display); }
.enq-empty p { max-width: 30em; margin: 0 0 26px; color: var(--ink-2); }

.enq-panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--card);
}
.enq-panel h2 { margin: 0 0 8px; font: 400 30px/1.1 var(--f-display); }
.enq-panel > p { margin: 0; font-size: 15px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.enq-actions { display: grid; gap: 10px; margin-top: 24px; }
.enq-actions .btn { width: 100%; }
.enq-actions .text-btn { justify-self: center; margin-top: 4px; }
.fineprint { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }

.enq-direct { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.enq-direct .details { padding-top: 0; border-top: 0; font-size: 15px; }

@media (max-width: 960px) {
  .enq { grid-template-columns: 1fr; }
  .enq-panel { position: static; }
  .enq-list, .enq-empty { border-top: 0; }
  .enq-item:first-child { padding-top: 0; }
}
@media (max-width: 600px) {
  .enq-item {
    grid-template-columns: 64px minmax(0, 1fr) 36px;
    grid-template-areas: "img info rm" "img qty qty";
    gap: 10px 14px;
    align-items: start;
  }
  .enq-item > .media-link { grid-area: img; }
  .enq-item__info { grid-area: info; }
  .enq-item__qty { grid-area: qty; display: flex; align-items: center; gap: 10px; }
  .enq-item__qty label { margin: 0; }
  .enq-item__qty .input { max-width: 140px; }
  .enq-item__remove { grid-area: rm; margin-top: -6px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(28, 34, 29, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
/* A hidden toast must not keep its link in the tab order. */
.toast:not(.is-on) { visibility: hidden; }
.toast a { color: var(--culm-soft); font-weight: 500; white-space: nowrap; text-underline-offset: 3px; }

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

/* Print (catalogue → PDF) */

@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .topbar, .masthead, .navbar, .mobile-nav, .site-footer, .crumbs, .cat-side,
  .toolbar, .type-chips, .card__foot, .toast, .skip, .result-count { display: none !important; }
  .page { padding: 0; }
  .print-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8mm;
    padding-bottom: 4mm;
    border-bottom: 1px solid #000;
    font: 400 10pt var(--f-mono);
  }
  .print-head strong { font: 400 20pt var(--f-display); }
  .page-head { margin-bottom: 6mm; padding-bottom: 6mm; }
  .page-head h1 { font-size: 28pt; }
  .cat-layout { display: block; }
  .cat-main .grid, .grid { grid-template-columns: repeat(4, 1fr); gap: 6mm 5mm; }
  .card { break-inside: avoid; }
  .card__name { font-size: 10pt; }
  .media { background: #f4f2ee; }
}
