/* ============================================================
   poc.css: shared components and POC-only styles.
   Loaded after riverside.css, which stays the brand. Nothing here
   restyles the brand; it adds the pieces the proposal needs
   (cart slot, notices, cards, steppers, tables, pickup list).
   ============================================================ */

:root {
  --notice-ships: #e4eef3;   /* light river, ink text 10.1:1 */
  --notice-pickup: #e6efe7;  /* light pine, ink text 10.3:1 */
  --fill-in: #fff1c9;        /* placeholder numbers, sunset-text 5.9:1 */
  --gutter: 1.4rem;
  --field-line: #857a66;    /* field and stepper borders, 3.9:1 on card (UI 3:1) */
}

/* ── Utilities ─────────────────────────────────────────────── */
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.soft { color: var(--soft); }
.small { font-size: 0.88rem; }
.main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 2px; }
.linkish { background: none; border: 0; padding: 0; color: var(--river); text-decoration: underline; cursor: pointer; font: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--card); color: var(--ink); padding: 0.6rem 1rem;
  border: 2px solid var(--ink); border-radius: 0.5rem; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ── POC banner (4.1) ──────────────────────────────────────── */
.site-banner {
  background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.3rem 1rem; padding: 0.35rem var(--gutter); font-size: 0.86rem; line-height: 1.5;
}
@media (max-width: 700px) {
  .site-banner { font-size: 0.74rem; line-height: 1.4; padding: 0.3rem 16px; gap: 0.2rem 0.6rem; justify-content: space-between; flex-wrap: nowrap; }
  .site-banner-x { flex: none; min-height: 44px; padding: 0 0.6rem; }
  .site-banner-x .bx-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-banner p { margin: 0; }
.site-banner a { color: var(--river); }
.site-banner-x {
  background: none; border: 1px solid var(--line); border-radius: 2rem; color: var(--ink);
  font-size: 0.8rem; padding: 0.15rem 0.7rem; cursor: pointer; min-height: 32px;
}
.site-banner.is-hidden { display: none; }

/* ── Global header (4.2) ──────────────────────────────────── */
.site-nav { flex-wrap: wrap; flex-direction: row; align-items: center; gap: 0.4rem; }
.site-nav .town-logo { margin-right: auto; }
.nav-links { display: flex; gap: 0.2rem; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: block; text-decoration: none; font-size: 0.95rem; white-space: nowrap;
  padding: 0.45rem 0.95rem; border-radius: 2rem; color: var(--ink);
}
.nav-links a:hover { background: rgba(46,110,142,0.1); color: var(--river); }
.nav-links a[aria-current="page"] { background: var(--river); color: #fffaf2; }

/* The cart link shows on every page, so people know they can shop before they start. */
.cart-slot {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-width: 5.6rem; min-height: 44px; padding: 0.3rem 0.8rem; margin-left: 0.3rem;
  border: 2px solid var(--ink); border-radius: 2rem; color: var(--ink);
  text-decoration: none; font-size: 0.92rem; background: var(--card);
}
.cart-slot .cart-icon { flex: 0 0 auto; }
.cart-slot.has-items { border-color: var(--river); color: var(--river); }
.cart-slot .cart-count {
  display: inline-block; min-width: 1.5rem; padding: 0 0.35rem; border-radius: 1rem;
  background: var(--river); color: #fffaf2; font-size: 0.82rem; text-align: center; line-height: 1.6;
}
.cart-slot:hover { border-color: var(--river); color: var(--river); }

.menu-btn {
  display: none; align-items: center; min-height: 44px; min-width: 44px;
  padding: 0.3rem 1rem; margin-left: 0.4rem; border: 2px solid var(--ink); border-radius: 2rem;
  background: var(--card); color: var(--ink); font-size: 0.92rem; cursor: pointer;
}
.menu-btn::before { content: ""; width: 0.95rem; height: 0.7rem; margin-right: 0.45rem;
  background: linear-gradient(var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 7px, transparent 7px 10px, var(--ink) 10px 12px);
  background-size: 100% 12px; }
.menu-btn[aria-expanded="true"]::before { background: none; content: "\00d7"; width: auto; height: auto; font-size: 1.2rem; line-height: 1; }

/* Focus on the sky gradient: river blue is 4.6:1 even on its bottom (#f3d9a8),
   so it passes 3:1; ink is used anyway for the strongest ring. */
.sky :focus-visible { outline-color: var(--ink); }

/* Measured 2026-11-02 in headless Chrome: logo + five labels + cart slot need 773px on one row (gaps and side padding included). None of 320/360/375/414 fits. Breakpoint = 773 + 8 = 781px. */
@media (max-width: 780px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; order: 10; flex-basis: 100%; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem;
    padding: 0.4rem; margin-top: 0.4rem;
  }
  .nav-links.open { display: flex; }
  .site-nav { gap: 0.4rem 0.35rem; }
  .cart-slot { margin-left: 0; padding: 0.3rem 0.45rem; font-size: 0.84rem; gap: 0.2rem; }
  .cart-slot .cart-count { min-width: 1.1rem; padding: 0 0.2rem; }
  .menu-btn { margin-left: 0; padding: 0.3rem 0.6rem; font-size: 0.84rem; }
  .menu-btn::before { margin-right: 0.35rem; }
  .nav-links a { padding: 0.7rem 1rem; border-radius: 0.5rem; }
  .cart-slot { min-width: 5.2rem; }
}
/* Very narrow phones: drop the word "Cart" (the count and the accessible name stay) so the header keeps one row. */
@media (max-width: 359px) {
  .cart-slot .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cart-slot { min-width: 3.4rem; }
  .site-nav .town-logo { gap: 0.45rem; }
  .site-nav .town-logo .w { font-size: 0.76rem; }
  .site-nav .town-logo .m { font-size: 1.5rem; }
  .menu-btn { padding: 0.3rem 0.5rem; }
}
/* Without script there is no Menu button; show the links (wrapping, never scrolling). */
html:not(.js) .nav-links { display: flex !important; flex-wrap: wrap; flex-direction: row; order: 10; flex-basis: 100%; }
html:not(.js) .menu-btn { display: none !important; }

/* Shop sub-row (4.3) */
.shop-row { margin-top: 0.6rem; }
.shop-row ul { display: flex; flex-wrap: wrap; gap: 0 0.2rem; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; }
.shop-row li + li::before { content: "\00b7"; color: var(--soft); margin: 0 0.35rem 0 0.15rem; }
.shop-row a { color: var(--ink); text-underline-offset: 3px; padding: 0.5rem 0.2rem; display: inline-block; }
.shop-row a[aria-current="page"] { font-weight: 500; text-decoration-thickness: 3px; }

/* Header copy */
.site-home .welcome h1 { max-width: 24em; }
.welcome .site-sub { margin-bottom: 1rem; color: var(--ink); }
.welcome h1 { margin-bottom: 0.6rem; }

/* ── Phones: 16px gutters, home hero shrinks (5.1) ─────────── */
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .sky-inner { padding: 0.9rem 16px 0; }
  .welcome { padding: 1.1rem 16px 0; }
  .main { padding: 1.6rem 16px 3rem; }
  .welcome h1 { font-size: clamp(1.2rem, 5.6vw, 1.5rem); }
  .welcome .place { margin-bottom: 0.3rem; }
  .riverscape { margin-top: -0.6rem; }
  .welcome { padding-top: 0.8rem; }
  .notice { display: block; padding: 0.55rem 0.75rem; margin-bottom: 1rem; }
  .notice-ico { float: left; margin: 0.05rem 0.45rem 0 0; }
  .notice p { font-size: 0.85rem; line-height: 1.45; }
  .main { padding-top: 1rem; }
  .welcome .site-sub { margin-bottom: 0.5rem; font-size: 0.98rem; line-height: 1.6; }
}
@media (max-width: 560px) {
  .data-table th, .data-table td { padding: 0.45rem 0.4rem; overflow-wrap: anywhere; hyphens: auto; }
  .data-table thead th { letter-spacing: 0.04em; }
}

/* ── Notice banners (4.3, 4.4) ─────────────────────────────── */
.notice {
  display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.75rem 1rem;
  border-radius: 0.8rem; margin: 0 0 1.5rem; color: var(--ink); border: 1px solid var(--line);
}
.notice p { margin: 0; font-size: 0.97rem; line-height: 1.55; }
.notice-ico { flex: none; display: inline-flex; margin-top: 0.1rem; }
.notice-ships { background: var(--notice-ships); border-left: 5px solid var(--river); }
.notice-ships .notice-ico { color: var(--river); }
.notice-pickup { background: var(--notice-pickup); border-left: 5px solid var(--pine); }
.notice-pickup .notice-ico { color: var(--pine); }

/* ── Breadcrumb ────────────────────────────────────────────── */
.crumbs ol { display: flex; flex-wrap: wrap; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.88rem; color: var(--soft); }
.crumbs li + li::before { content: "\203a"; margin: 0 0.45rem; }
.crumbs a { color: var(--river); }

/* ── Headings inside main ──────────────────────────────────── */
.main h2 { font-family: var(--display); font-size: 1.08rem; letter-spacing: 0.04em; line-height: 1.45; margin: 2.2rem 0 0.8rem; }
.main h3 { font-family: var(--display); font-size: 0.92rem; letter-spacing: 0.04em; line-height: 1.5; margin: 1.2rem 0 0.5rem; }
.prose { max-width: 760px; }
.prose a, .main p a { color: var(--river); }
/* A button link inside a paragraph keeps its own text color (the river link color is 1.9:1 on orange). */
.main p a.btn, .prose a.btn { color: #fffaf2; text-decoration: none; }
.main p a.btn.quiet, .prose a.btn.quiet { color: var(--ink); }
.lead { font-size: 1.05rem; color: var(--ink); }

/* ── Buttons (secondary, extra) ────────────────────────────── */
.btn { min-height: 44px; }
.btn:disabled, .btn[disabled] { background: #b9b2a3; box-shadow: none; cursor: not-allowed; transform: none; color: #2b3a42; }
.btn.quiet { color: var(--ink); }

/* ── Doors (home) ──────────────────────────────────────────── */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-bottom: 2.5rem; }
.door { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(43,58,66,0.06); }
.door-media { aspect-ratio: 4 / 3; background: var(--paper2); overflow: hidden; }
.door-media img { width: 100%; height: 100%; object-fit: cover; }
.door-body { padding: 1.1rem 1.2rem 0.6rem; display: flex; flex-direction: column; flex: 1; }
.door-body h3 { margin-top: 0; }
.door-body p { color: var(--soft); flex: 1; margin: 0 0 0.9rem; font-size: 0.97rem; }
.mosaic { display: grid; grid-template-columns: repeat(8, 1fr); height: 100%; }
.mosaic span { display: block; min-height: 0; aspect-ratio: auto; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door { flex-direction: row; } .door-media { flex: 0 0 38%; aspect-ratio: auto; } }
@media (max-width: 460px) { .door { flex-direction: column; } .door-media { aspect-ratio: 16 / 7; } }

.own { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; margin: 2rem 0; }
.own h2 { margin-top: 0; }
@media (max-width: 640px) { .own { grid-template-columns: 1fr; } }

/* Placeholders: dashed, labelled, never mistaken for content. */
.photo-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--soft); border-radius: 0.8rem; background: var(--paper2);
  color: var(--ink); font-size: 0.92rem; padding: 1rem; min-height: 160px;
}
.photo-ph-bench { aspect-ratio: 1 / 1; min-height: 0; font-size: 1rem; }
.photo-ph-person { aspect-ratio: 1 / 1; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.review { margin: 0; background: var(--card); border: 2px dashed var(--soft); border-radius: 0.8rem; padding: 1rem 1.2rem; }
.review blockquote { margin: 0; }
.review figcaption { color: var(--soft); font-size: 0.88rem; }
.fill-in { background: var(--fill-in); color: var(--sunset-text); border: 1px dashed var(--sunset-text); border-radius: 0.3rem; padding: 0 0.3rem; font-weight: 500; }
.just-in { margin: 2.5rem 0; }
.just-in h2 { margin-top: 0; }
.just-in li { flex-wrap: wrap; }
.just-in li a { color: var(--river); margin-left: auto; font-size: 0.9rem; }

/* ── Product / spool cards (4.6) ───────────────────────────── */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.3rem; }
.price-extra { margin: 0.25rem 0 0; font-size: 0.86rem; color: var(--soft); }
.own-line { background: var(--paper2); border-radius: 0.8rem; padding: 0.8rem 1rem; margin: 0 0 2.5rem; color: var(--ink); }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(43,58,66,0.06); }
.pcard-img { display: block; background: #fff; aspect-ratio: 1 / 1; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { padding: 0.9rem 1.1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.main .pcard-name { margin: 0 0 0.35rem; font-size: 0.9rem; }
.pcard-name a { text-decoration: none; color: var(--ink); }
.pcard-name a:hover { color: var(--river); text-decoration: underline; }
.pcard-name a::after { content: ""; }
.pcard-fits { color: var(--soft); font-size: 0.88rem; line-height: 1.55; margin: 0 0 0.6rem; flex: 1; }
.price-line { margin: 0; font-family: var(--display); font-size: 0.92rem; color: var(--ink); }
.cat-blurb { color: var(--soft); max-width: 720px; }
.see-all { margin-top: 1rem; }
@media (max-width: 560px) {
  .pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .pcard .pcard-body { padding: 0.6rem 0.7rem 0.75rem; }
  .main .pcard .pcard-name { font-size: 0.78rem; letter-spacing: 0.02em; }
  .pcard .pcard-fits { font-size: 0.8rem; line-height: 1.4; flex: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.4rem; }
  .pcard .pcard-img { aspect-ratio: 4 / 3; }
  .main .cat-blurb { font-size: 0.9rem; line-height: 1.5; margin: 0 0 0.8rem; }
  .pcard .price-line { font-size: 0.8rem; }
  .price-extra { font-size: 0.78rem; }
  .main .cat-block h2 { margin: 0.8rem 0 0.5rem; }
}
.cat-block { margin-bottom: 2.5rem; }
.works-list { padding-left: 1.2rem; }
.works-list li { margin-bottom: 0.6rem; }
.works-form { max-width: 560px; }
.works-form h3 { margin-top: 0; }
.checks { border: 0; padding: 0; margin: 0 0 1rem; }
.checks legend, .topics legend { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--river); margin-bottom: 0.45rem; padding: 0; }
.tick-row { min-height: 44px; }
.tick-row { display: flex; align-items: center; gap: 0.5rem; }
.tick-row input { width: 1.2rem; height: 1.2rem; flex: none; }

.panel { background: var(--paper2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem 1.5rem; margin: 2.5rem 0; }
.main .panel h2 { margin-top: 0; }
.panel p { color: var(--ink); }

/* ── Product page (5.4) ────────────────────────────────────── */
/* Source order is buy form, gallery, details. Wide: gallery on the left beside the buy form and details.
   Phones: price, options and Add to cart straight after the title, then the pictures. */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "gallery buy" "gallery info"; gap: 0 2rem; align-items: start; }
.product .buy-col { grid-area: buy; }
.product .gallery { grid-area: gallery; }
.product .buy-info { grid-area: info; }
@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "buy" "gallery" "info"; gap: 1.2rem; }
  .gallery .g-slide img, .photo-ph-bench { max-height: 70vh; }
}
.product-page .welcome h1, .shop-page .welcome h1 { margin-bottom: 0.3rem; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; }
.product-page .welcome .site-sub { margin-bottom: 0.4rem; }
.product-page .main { padding-top: 1rem; }
.shop-page .welcome { padding-top: 1.3rem; }
.welcome .crumbs ol { margin-bottom: 0.4rem; }
@media (max-width: 700px) {
  .welcome .crumbs ol { font-size: 0.8rem; }
  .product-page .welcome .site-sub { font-size: 0.9rem; line-height: 1.45; }
  .product-page .shop-row { margin-top: 0.2rem; }
  .product-page .shop-row a { padding: 0.35rem 0.15rem; }
  .shop-row ul { font-size: 0.84rem; }
}
.buy .opts { margin-bottom: 0.6rem; }
.opt-l { font-weight: 500; }
.opt label .opt-n { display: block; font-size: 0.86rem; color: var(--soft); line-height: 1.45; }
.opt-style { font-size: 0.9rem; color: var(--soft); margin: 0 0 0.5rem; }
.extras-f .tick-row { min-height: 40px; }
.extras-f .opt-n { font-size: 0.86rem; color: var(--soft); margin: 0.2rem 0 0.4rem; }
.buy-info { padding-top: 0.4rem; }
.ship-time { font-weight: 500; margin: 0 0 0.6rem; }
.own-short { font-size: 0.95rem; color: var(--ink); background: var(--paper2); border-radius: 0.6rem; padding: 0.55rem 0.8rem; }
.price-big .pb-l { font-family: var(--display); font-size: 1rem; color: var(--ink); }
@media (max-width: 700px) {
  .price-big { font-size: 1.2rem; margin-bottom: 0.35rem; }
  .product-page .main { padding-top: 0.7rem; }
  .product-page .welcome h1 { font-size: 1.12rem; line-height: 1.4; }
  .buy .opts legend { font-size: 0.74rem; }
  .extras-f .opt-n { font-size: 0.8rem; line-height: 1.35; }
  .buy .opts { padding: 0.35rem 0.7rem 0.2rem; }
  .buy .opt { min-height: 44px; padding: 0.1rem 0; }
  /* Quantity and Add to cart share one row. */
  .buy .stepper-wrap { display: inline-block; vertical-align: bottom; margin: 0.3rem 0.6rem 0 0; }
  .buy .stepper-wrap label { margin-bottom: 0.2rem; }
  .buy .add-btn { margin-top: 0.3rem; vertical-align: bottom; }
  .opt label .opt-n { font-size: 0.8rem; line-height: 1.35; }
  .buy .opt label { padding: 0.1rem 0; line-height: 1.4; }
  /* On a phone the breadcrumb shrinks to its parent link; the shop row above already names the categories. */
  .product-page .welcome .crumbs li { display: none; }
  .product-page .welcome .crumbs li:nth-last-child(2) { display: block; }
  .product-page .welcome .crumbs li:nth-last-child(2)::before { content: "\2039"; margin: 0 0.35rem 0 0; }
}
.gallery .g-slide { margin: 0; }
.gallery .g-slide img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 0.8rem; border: 1px solid var(--line); }
.gallery figcaption { font-size: 0.86rem; color: var(--soft); margin-top: 0.4rem; }
.g-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.8rem 0 0; }
.g-thumb { width: 64px; height: 64px; padding: 2px; border: 2px solid var(--line); border-radius: 0.5rem; background: #fff; cursor: pointer; }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; }
.g-thumb[aria-pressed="true"] { border-color: var(--ink); border-width: 3px; }
.thumb-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 1px dashed var(--soft); font-size: 0.7rem; color: var(--ink); background: var(--paper2); }
.buy-col .lead { margin-top: 0; }
.price-big { font-family: var(--display); font-size: 1.5rem; margin: 0 0 0.8rem; color: var(--ink); }
.price-big span { font-size: 0.95rem; font-family: var(--mono); color: var(--soft); }
.opts { border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.6rem 0.9rem 0.4rem; margin: 0 0 0.5rem; background: var(--card); }
.opts legend { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--river); padding: 0 0.3rem; }
.opt { display: flex; align-items: flex-start; gap: 0.6rem; min-height: 44px; padding: 0.2rem 0; }
.opt input { width: 1.25rem; height: 1.25rem; margin-top: 0.35rem; accent-color: var(--river); flex: none; }
.opt label { cursor: pointer; line-height: 1.5; padding: 0.15rem 0; }
.opt-p { color: var(--soft); }
.opt-note, .more-styles { font-size: 0.9rem; color: var(--soft); margin: 0.3rem 0 0.6rem; }
.more-styles { font-style: italic; }
.add-btn { margin-top: 0.8rem; }
.added-msg { min-height: 1.6em; margin: 0.2rem 0 0.8rem; font-weight: 500; color: var(--pine); }
.added-msg a { color: var(--river); }
.ship-line { font-size: 0.95rem; color: var(--ink); margin: 0.4rem 0; }
.highlights { padding-left: 1.2rem; color: var(--soft); font-size: 0.95rem; }
.fit-list { margin: 0; }
.fit-list div { display: grid; grid-template-columns: 8rem 1fr; gap: 0.8rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); }
.fit-list dt { color: var(--river); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.fit-list dd { margin: 0; }
@media (max-width: 520px) { .fit-list div { grid-template-columns: 1fr; gap: 0.1rem; } }
.product-more { max-width: 760px; }
.guide-line { margin: 1.2rem 0; }

/* ── Quantity stepper (4.6) ────────────────────────────────── */
.stepper-wrap label { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--river); margin-bottom: 0.3rem; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--field-line); border-radius: 0.6rem; background: #fffefa; }
.step-btn { width: 44px; min-height: 44px; border: 0; background: var(--paper2); color: var(--ink); font-size: 1.2rem; cursor: pointer; padding: 0; }
/* No overflow:hidden on the stepper (it clipped the focus ring); the end buttons round their own corners. */
.step-btn:first-child { border-radius: calc(0.6rem - 1px) 0 0 calc(0.6rem - 1px); }
.step-btn:last-child { border-radius: 0 calc(0.6rem - 1px) calc(0.6rem - 1px) 0; }
.stepper .step-btn:focus-visible, .stepper input:focus-visible { position: relative; z-index: 1; outline-offset: 1px; }
.step-btn:hover { background: #e6dcc6; }
.stepper input { width: 3rem; border: 0; text-align: center; font: inherit; color: var(--ink); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-wrap.sm .stepper input { width: 2rem; font-size: 0.9rem; padding: 0; }

/* ── Data tables (cart, filament, guide, materials) ────────── */
.table-wrap { max-width: 100%; }
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem; font-size: 0.95rem; }
.data-table caption { text-align: left; font-family: var(--display); font-size: 0.92rem; letter-spacing: 0.04em; padding: 0 0 0.6rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border-bottom: 1px dashed var(--line); }
.data-table thead th { background: var(--paper2); color: var(--river); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid var(--line); }
.data-table tbody th { font-weight: 500; }
.data-table tfoot th, .data-table tfoot td { font-weight: 500; border-bottom: 0; font-family: var(--display); font-size: 0.92rem; }

/* Cart */
.cart-table td, .cart-table th { vertical-align: middle; }
.cart-remove { min-height: 44px; min-width: 44px; padding: 0.3rem 0.8rem; background: var(--card); border: 1px solid var(--line); border-radius: 0.5rem; color: var(--ink); cursor: pointer; font-size: 0.88rem; }
.cart-remove:hover { border-color: var(--danger); color: var(--danger); }
.cart-addon-tag { display: block; font-size: 0.82rem; color: var(--soft); }
.cart-addon-msg { color: var(--danger); font-weight: 500; }
.pay-box { margin-top: 1.4rem; }
.demo-flag { background: var(--fill-in); border: 1px dashed var(--sunset-text); border-radius: 0.6rem; padding: 0.6rem 0.9rem; font-size: 0.9rem; color: var(--ink); }
@media (max-width: 560px) {
  .cart-table th, .cart-table td { padding: 0.5rem 0.3rem; font-size: 0.86rem; }
  .cart-table .stepper input { width: 1.8rem; }
  .cart-remove { padding: 0; width: 44px; }
  .cart-remove .rm-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cart-remove .rm-x { display: inline; }
}
.cart-remove .rm-x { display: none; font-size: 1.2rem; line-height: 1; }

/* ── Filament page (5.8) ───────────────────────────────────── */
.rack-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.8rem; align-items: start; }
.pickup-panel { position: sticky; top: 1rem; background: var(--card); border: 2px solid var(--pine); border-radius: 1rem; padding: 1.1rem 1.2rem; }
.main .pickup-panel h2 { margin-top: 0; }
.pickup-items { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.pickup-items li { display: flex; align-items: center; gap: 0.5rem; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 0.35rem 0; font-size: 0.9rem; }
.pickup-items button { min-height: 44px; min-width: 44px; background: none; border: 1px solid var(--line); border-radius: 0.5rem; cursor: pointer; color: var(--ink); font-size: 0.82rem; }
.pickup-total { font-family: var(--display); font-size: 0.95rem; }
.prepay { font-size: 0.9rem; color: var(--ink); background: var(--notice-pickup); border-radius: 0.5rem; padding: 0.5rem 0.7rem; }
.prepay.is-due { border: 2px solid var(--pine); font-weight: 500; }
@media (max-width: 960px) {
  .rack-layout { grid-template-columns: minmax(0, 1fr); }
  .pickup-panel { position: static; }
  body.filament-page.has-pickup { padding-bottom: 4.5rem; }
  .pickup-bar:not([hidden]) {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    align-items: center; justify-content: center; min-height: 56px; padding: 0.6rem 16px;
    background: var(--ink); color: #fffaf2; text-decoration: none; font-size: 0.95rem;
    box-shadow: 0 -4px 14px rgba(43,58,66,0.25);
  }
}
@media (min-width: 961px) { .pickup-bar { display: none !important; } }
/* The fixed bar touches three screen edges, so its ring goes inside, in cream; the page keeps focused things clear of it. */
.pickup-bar:focus-visible { outline: 3px solid #fffaf2; outline-offset: -6px; }
@media (max-width: 960px) { html:has(body.filament-page.has-pickup) { scroll-padding-bottom: 72px; } }
@media (max-width: 700px) { .filament-page .welcome .place { display: none; } }
.deals-line { font-size: 0.9rem; margin: 0.2rem 0 0.4rem; color: var(--ink); }
.pickup-how { margin-top: 1.1rem; border-top: 1px dashed var(--line); padding-top: 0.8rem; }
.main .pickup-how h3 { margin-top: 0; }
.pickup-how ul { padding-left: 1.1rem; margin: 0 0 0.4rem; font-size: 0.9rem; }
.pickup-how li { margin-bottom: 0.35rem; }
.chip:disabled { opacity: 0.55; cursor: not-allowed; border-style: dashed; }
.chip:disabled:hover { border-color: inherit; color: var(--ink); }

.rack-tools { margin-bottom: 0.8rem; }
.search-fld { margin-bottom: 0.8rem; }
.search-fld input { width: 100%; background: #fffefa; border: 1px solid var(--field-line); border-radius: 0.6rem; color: var(--ink); font: inherit; font-size: 1rem; padding: 0.6rem 0.9rem; }
.sort-fld { margin: 0.4rem 0 0.4rem; max-width: 18rem; }
.chip-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.8rem; margin-bottom: 0.4rem; }
.chip-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--river); min-width: 5.5rem; }
.chip-row .chips { margin-bottom: 0.3rem; }
.chip { min-height: 44px; color: var(--ink); }
.chip .chip-n { color: var(--soft); }
.chip[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: #fffaf2; }
.chip[aria-pressed="true"] .chip-n { color: #fffaf2; }
.chip[aria-pressed="true"]::before { content: "\2713 "; }
.filter-toggle { display: none; margin: 0 0 0.6rem; }
.fil-count { font-size: 0.92rem; color: var(--ink); margin: 0.2rem 0 0.4rem; font-weight: 500; }
@media (max-width: 700px) {
  html.js .filter-toggle { display: inline-block; margin: 0; align-self: end; }
  html.js .filters:not(.open) { display: none; }
  html.js .rack-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 0.5rem; align-items: center; }
  html.js .rack-tools .search-fld, html.js .rack-tools .filters { grid-column: 1 / -1; }
  html.js .rack-tools .search-fld { grid-row: 1; }
  html.js .rack-tools .filter-toggle { grid-row: 2; grid-column: 2; }
  html.js .rack-tools .fil-count { grid-row: 2; grid-column: 1; margin: 0; }
  html.js .rack-tools .filters { grid-row: 3; }
  html.js .rack-tools .deals-line { grid-column: 1 / -1; grid-row: 4; margin: 0; }
  .search-fld { margin-bottom: 0; }
}

.fil-table { table-layout: auto; }
.fil-table th, .fil-table td { padding: 0.55rem 0.6rem; vertical-align: middle; }
.fil-table .sp { display: table-cell; }
.fil-table .sp-text { display: inline-block; vertical-align: middle; max-width: calc(100% - 1.9rem); }
.fil-table .swatch { display: inline-block; vertical-align: middle; margin-right: 0.55rem; }
.swatch { width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 2px solid rgba(43,58,66,0.3); flex: none; }
.swatch.lg { width: 2rem; height: 2rem; }
.sp-name { display: block; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.sp-meta { display: block; font-size: 0.82rem; color: var(--soft); font-weight: 400; }
.pr-amt { display: block; font-family: var(--display); font-size: 0.88rem; white-space: nowrap; }
.pr-stock { display: block; font-size: 0.82rem; color: var(--soft); }
.pr-stock.low { color: var(--sunset-text); font-weight: 500; }
.fil-table td.add { white-space: nowrap; text-align: right; }
.fil-table td.add .stepper-wrap { display: inline-block; vertical-align: middle; }
.btn-add {
  min-height: 44px; min-width: 44px; padding: 0.3rem 0.8rem; margin-left: 0.3rem; vertical-align: middle;
  border: 2px solid var(--pine); border-radius: 0.6rem; background: var(--card); color: var(--pine);
  font-weight: 500; cursor: pointer; font-size: 0.88rem;
}
.btn-add:hover { background: var(--pine); color: #fffaf2; }
@media (max-width: 1100px) { .add-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 560px) {
  .fil-table th, .fil-table td { padding: 0.45rem 0.3rem; }
  .pr-amt { white-space: normal; font-size: 0.8rem; }
  .fil-table .sp-meta { font-size: 0.78rem; line-height: 1.4; }
  .sp-name { line-height: 1.35; }
  .fil-table td.add { white-space: normal; }
  .fil-table td.add .stepper-wrap { display: block; margin-bottom: 0.3rem; }
  .btn-add { margin-left: 0; width: 100%; }
  .fil-table .swatch { display: block; margin: 0 0 0.3rem; }
  .fil-table .sp-text { max-width: none; display: block; }
}
.promos, .extras { margin-top: 1.8rem; }
.main .promos h2, .main .extras h2 { margin-top: 0; }
.promos ul { padding-left: 1.1rem; margin: 0; }

/* ── Forms (4.6) ───────────────────────────────────────────── */
.fld input[type="text"], .fld input[type="email"], .fld textarea, .fld select { border-color: var(--field-line); }
.fld-err { color: var(--danger); font-size: 0.88rem; margin: 0.35rem 0 0; font-weight: 500; }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 2px rgba(181,55,42,0.2); }
.demo-note { min-height: 1.5em; font-weight: 500; color: var(--pine); margin: 0.8rem 0 0; }
.demo-note:empty { min-height: 0; margin: 0; }
.topics { border: 0; padding: 0; margin: 0 0 1.2rem; }
.topics .chips { margin-bottom: 0; }
.contact-form, #custom-form { max-width: 720px; }
.arrive-note { max-width: 720px; }
.arrive-note > span:last-child { margin: 0; font-size: 0.97rem; line-height: 1.55; }
.own-sm { grid-template-columns: 120px 1fr; }
.own-sm .photo-ph { min-height: 0; font-size: 0.78rem; padding: 0.5rem; }
@media (max-width: 640px) { .own-sm { grid-template-columns: 96px 1fr; gap: 1rem; } }
.hero-cta { margin: 0.4rem 0 1rem; }
.fld input[type="file"] { font: inherit; font-size: 0.92rem; max-width: 100%; }
.keep-shopping { margin: 0.8rem 0 0; }
.site-nl-band { margin: 3rem 0 0; }
.site-nl .nl-row { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; max-width: 520px; margin: 0 auto; }
.site-nl input[type="email"] { flex: 1 1 14rem; min-width: 0; min-height: 44px; background: #fffefa; border: 1px solid var(--field-line); border-radius: 0.7rem; color: var(--ink); font: inherit; font-size: 1rem; padding: 0.6rem 0.9rem; }
.site-nl .btn { margin: 0; }
.site-nl .nl-topics { border: 0; padding: 0; margin: 0.8rem 0 0; display: flex; gap: 0.4rem 1.4rem; justify-content: center; flex-wrap: wrap; }
.site-nl .nl-topics label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-size: 0.95rem; color: var(--ink); }
.site-nl .nl-topics input { width: 1.2rem; height: 1.2rem; accent-color: var(--river); flex: none; }
.site-nl-band .demo-note { text-align: center; }
.one-line { margin-top: 2rem; max-width: 640px; }
.one-line label { display: block; margin-bottom: 0.4rem; }
.one-line .nl-row { justify-content: flex-start; margin: 0; }

/* ── Custom page (5.9) ─────────────────────────────────────── */
.steps { padding-left: 1.4rem; max-width: 760px; }
.steps li { margin-bottom: 0.6rem; }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.3rem; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; }
.job img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }
.job .photo-ph { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 2px; }
.job-ph { border: 2px dashed var(--soft); }
.job-body { padding: 0.9rem 1.1rem 1rem; }
.main .job-body h3 { margin: 0.2rem 0 0.4rem; }
.job-body p { margin: 0 0 0.5rem; font-size: 0.93rem; color: var(--soft); }
.job-body p a { color: var(--river); font-weight: 500; }
.tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink) !important; background: var(--paper2); border-radius: 1rem; padding: 0.05rem 0.6rem; }
.mat-table td:first-child { white-space: normal; }

/* ── Help, contact, tour, colors ───────────────────────────── */
.toc ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.toc a { color: var(--river); display: inline-block; padding: 0.4rem 0; }
.main section[id] { scroll-margin-top: 1rem; }
.link-list { padding-left: 1.2rem; }
.color-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.8rem; }
.color-grid li { display: flex; gap: 0.6rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.5rem 0.7rem; font-size: 0.92rem; line-height: 1.4; }
.tour .data-table { margin: 0.6rem 0 1.4rem; font-size: 0.88rem; }
.tour code { font-size: 0.85em; overflow-wrap: anywhere; }
.tour td, .tour th { overflow-wrap: anywhere; }
.tour-steps li { margin-bottom: 0.4rem; }
.og-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0; }
.og-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 0.5rem; overflow: hidden; }
.og-card img { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; background: #fff; display: block; }
.og-card figcaption { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0.75rem; background: var(--paper2); font-size: 0.85rem; line-height: 1.4; }
.og-dom { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink); }
.og-d { color: var(--ink); }
.og-path { font-size: 0.78rem; overflow-wrap: anywhere; }

/* ── Footer ────────────────────────────────────────────────── */
.foot-wrap { max-width: 1060px; margin: 0 auto; padding: 0 var(--gutter) 2.5rem; }
.site-foot { margin-top: 0; align-items: center; }
.site-foot ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; list-style: none; padding: 0; margin: 0; }
.site-foot a { display: inline-block; padding: 0.45rem 0; }
.foot-copy { margin: 0; flex-basis: 100%; }
.foot-email { margin: 0.4rem 0; flex-basis: 100%; }

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .btn:hover, .shopfront:hover { transform: none; }
}

/* Custom gallery and page bits (redesign) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 1.2rem; margin: 1rem 0 2rem; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem; overflow: hidden; margin: 0; }
.job img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.job figcaption { padding: 0.8rem 1rem 1rem; font-size: 0.92rem; }
.job h3 { margin: 0 0 0.3rem; font-size: 0.98rem; }
.job .kind { color: var(--soft); font-size: 0.8rem; margin: 0 0 0.4rem; }
.steps-list { max-width: 720px; padding-left: 1.3rem; }
.steps-list li { margin-bottom: 0.5rem; }
.about { display: grid; grid-template-columns: 160px 1fr; gap: 1.2rem; align-items: start; margin-top: 2.5rem; }
.about img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; }
@media (max-width: 560px) { .about { grid-template-columns: 1fr; } }
.simple-form { max-width: 560px; display: grid; gap: 0.9rem; }
.simple-form label { display: grid; gap: 0.3rem; font-weight: 500; }
.simple-form input, .simple-form textarea { font: inherit; padding: 0.6rem 0.7rem; border: 1px solid var(--soft); border-radius: 0.5rem; background: #fff; }
.simple-form .promise { color: var(--soft); font-size: 0.9rem; margin: 0; }
.trap { position: absolute; left: -9999px; }
/* Same gap under the menu as the shop pages: the h1 sits about 70px below it (44px on phones). */
.page-head { padding-top: 4.2rem; padding-bottom: 0.6rem; }
@media (max-width: 700px) { .page-head { padding-top: 2.55rem; } }
.page-head h1 { margin: 0.2rem 0 0.4rem; }
.welcome p { max-width: 780px; }

/* Filament page */
.fil-filters { margin: 0 0 0.6rem; }
.fil-filters summary { cursor: pointer; font-weight: 500; padding: 0.5rem 0; }
.fil-controls { display: flex; flex-wrap: wrap; gap: 0.8rem; padding-bottom: 0.6rem; }
.fil-controls label { display: grid; gap: 0.2rem; font-size: 0.85rem; }
.fil-controls input, .fil-controls select { font: inherit; padding: 0.45rem 0.55rem; border: 1px solid var(--soft); border-radius: 0.5rem; background: #fff; min-height: 2.6rem; }
.fil-table { width: 100%; border-collapse: collapse; background: var(--card); }
.fil-table th, .fil-table td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.fil-table th:nth-child(n+2), .fil-table td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.fil-spool { display: flex; align-items: center; gap: 0.6rem; }
.fil-swatch { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--soft); }
/* Swatch + name is a button that opens a larger swatch. */
button.fil-spool { background: none; border: 0; padding: 0.15rem 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.fil-spool .fil-swatch { transition: transform 0.15s; }
button.fil-spool:hover .fil-swatch, button.fil-spool:focus-visible .fil-swatch { transform: scale(1.25); }
button.fil-spool:focus-visible { outline: 2px solid var(--river); outline-offset: 3px; border-radius: 4px; }
.swatch-dialog { border: 0; border-radius: 14px; padding: 1.4rem; width: min(92vw, 22rem); background: var(--card); color: var(--ink); text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.swatch-dialog::backdrop { background: rgba(43,58,66,0.55); }
.swatch-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.swatch-grid.has-photos { grid-template-columns: 1fr 1fr; }
.swatch-big { width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); }
.swatch-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.swatch-name { margin: 0 0 0.3rem; font-size: 1.3rem; }
.swatch-meta { margin: 0 0 0.6rem; color: var(--soft); }
.swatch-note { margin: 0 0 1rem; font-size: 0.85rem; color: var(--soft); }
.fil-sub { display: block; color: var(--soft); font-size: 0.82rem; }
.fil-new { background: #c62828; color: #fff; font-weight: 600; letter-spacing: 0.03em; font-size: 0.72rem; padding: 0.05rem 0.4rem; border-radius: 0.4rem; margin-left: 0.3rem; }
.fil-was { text-decoration: line-through; color: var(--soft); font-size: 0.85rem; margin-right: 0.3rem; }
.specials { background: var(--card); border: 2px solid var(--sunset); border-radius: 0.8rem; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.specials h2 { margin-top: 0; }
.specials ul { margin: 0 0 0.5rem; padding-left: 1.1rem; }
.supplies { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 1rem; }
.supply { background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.9rem; margin: 0; }
.supply img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; }
.supply h3 { margin: 0.5rem 0 0.2rem; font-size: 0.98rem; }
.supply p { margin: 0.2rem 0; font-size: 0.9rem; }

.table-wrap { max-width: 100%; overflow-x: auto; }
.fil-table td:first-child { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .fil-table { font-size: 0.86rem; }
  .fil-table th, .fil-table td { padding: 0.45rem 0.3rem; }
  .fil-table th:last-child { white-space: normal; }
  .fil-swatch { width: 1.1rem; height: 1.1rem; }
  .fil-spool { gap: 0.4rem; }
  .fil-sub { font-size: 0.76rem; }
}
.supply { min-width: 0; }
.supply p, .supply h3 { overflow-wrap: anywhere; }

/* ── Home: filament leads, reviews ───────────────────────── */
.doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door-feature { grid-column: 1 / -1; flex-direction: row; }
.door-feature .door-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 16rem; }
.door-feature .door-body { padding: 1.6rem 1.8rem; justify-content: center; }
.door-feature .door-body h3 { font-size: 1.25rem; color: var(--river); }
.door-feature .door-body p { flex: 0 0 auto; font-size: 1.05rem; color: var(--ink); }
.door-feature .btn { align-self: flex-start; }
.door-body h3 { color: var(--ink); }
.door:nth-child(2) .door-body h3 { color: var(--sunset-text); }
.door:nth-child(3) .door-body h3 { color: var(--pine, #3e6b4f); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .door-feature { flex-direction: column; } .door-feature .door-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; } .door-feature .door-body { padding: 1.1rem 1.2rem; } }

.reviews { margin: 0 0 2.5rem; }
.reviews h2 { color: var(--river); }
.reviews .rating { margin: -0.3rem 0 1rem; color: var(--ink); font-weight: 500; }
.stars { color: var(--sunset); letter-spacing: 0.08em; margin-right: 0.3rem; }
.review-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 1.2rem; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--sunset); border-radius: 0.8rem; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 0.8rem; flex: 1; }
.review blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.review blockquote p::before { content: "\201C"; } .review blockquote p::after { content: "\201D"; }
.review figcaption { font-weight: 500; color: var(--sunset-text); font-size: 0.95rem; }
@media (max-width: 860px) { .review-cards { grid-template-columns: 1fr; } }

/* Slim riverscape for inner pages: hills, pines, the river. Crops from the top on narrow screens. */
.river-scene { display: block; width: 100%; height: clamp(56px, 8.4vw, 120px); margin-top: 0.4rem; }

/* Headings carry the theme colors so pages don't read as plain black. */
.main h2 { color: var(--river); }
.main h3 { color: var(--sunset-text); }

/* Limited-time specials stand out: sunset border, flag, bigger heading. */
.specials { border-width: 3px; box-shadow: 0 4px 16px rgba(217,127,48,0.18); position: relative; padding: 0.8rem 1.1rem 0.6rem; margin: 0 0 1.2rem; }
.specials p, .specials ul { margin-bottom: 0.4rem; }
.specials-mention { font-size: 0.92rem; color: var(--ink); }
.specials-mention a { color: var(--river); }
.specials-flag { display: inline-block; margin: 0 0 0.3rem; padding: 0.15rem 0.7rem; border-radius: 1rem; background: #c62828; color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.specials h2 { color: var(--sunset-text); font-size: 1.15rem; margin: 0 0 0.2rem; }
.specials-lede { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin: 0 0 0.3rem; }
.specials-ends { font-weight: 500; color: #a61f1f; margin: 0 0 0.4rem; }
/* Filament signup at the top: compact. */
.nl-top { margin: 0 0 1.6rem; padding: 1rem 1.2rem; }
.nl-top h2 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.nl-top p { margin: 0 0 0.6rem; }

/* ── Custom page ─────────────────────────────────────────── */
/* Show the whole piece instead of cropping it. */
.gallery .job img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.job .kind { color: var(--pine); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.74rem; }
.job h3 a { color: var(--sunset-text); }
.steps-list { counter-reset: step; list-style: none; padding-left: 0; }
.steps-list li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 0.9rem; min-height: 2rem; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--sunset); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.steps-list strong { color: var(--ink); }
.start-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--river); border-radius: 1rem; padding: 1.3rem 1.5rem 1.4rem; margin: 2rem 0; max-width: 760px; }
.start-card h2 { margin-top: 0; }
.start-card .simple-form { max-width: none; }
.start-card .simple-form .btn { justify-self: start; min-width: 10rem; }
.mat-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem; overflow: hidden; }
.mat-table th, .mat-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.mat-table thead th { background: var(--paper2); font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.05em; color: var(--ink); }
.mat-table tbody td:first-child { font-weight: 600; color: var(--river); white-space: nowrap; }
.mat-table tbody tr:last-child td { border-bottom: 0; }

/* Contact: reviews line and about card. */
.review-line { margin: 1.4rem 0; font-weight: 500; color: var(--ink); }
.review-line a { color: var(--river); }
.about { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--sunset); border-radius: 1rem; padding: 1.2rem 1.4rem; }
.about h2 { margin-top: 0; }

/* Filament signup sits at the bottom, clear of the supplies above it. */
.nl-bottom { margin-top: 3rem; scroll-margin-top: 1rem; }

/* Home signup: topic checkboxes on their own row under the email field. */
.nl-form fieldset.nl-topics { flex-basis: 100%; order: 3; border: 0; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; justify-content: center; }
.nl-form fieldset.nl-topics label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-size: 0.95rem; color: var(--ink); }
.nl-form fieldset.nl-topics input { width: 1.2rem; height: 1.2rem; accent-color: var(--river); flex: none; }

.form-done { background: var(--notice-pickup); border-left: 5px solid var(--pine); border-radius: 0.6rem; padding: 0.9rem 1.1rem; max-width: 560px; }
.form-done p { margin: 0; }

/* Filament families: a section per family with its accent colour, like the old rack. */
.fil-family { margin: 0 0 1.8rem; scroll-margin-top: 1rem; }
.fil-family-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; border-left: 6px solid var(--fam, var(--river)); padding: 0.2rem 0 0.2rem 0.8rem; margin: 0 0 0.6rem; }
.main .fil-family-head h2, .main .fil-family-head h3 { margin: 0; font-size: 1.05rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; }
.fil-family-note { color: var(--soft); font-size: 0.92rem; }
.fil-family-count { margin-left: auto; color: var(--soft); font-size: 0.88rem; }
