/* ==========================================================================
   Armstrong Millworks: "Barn Red" (approved by Adam from the demo, 2026-10-22).
   Ported from the demo's styles.css (_claude-proofs/armstrong-millworks-src);
   additions for the ProcessWire build are marked "Build:" and sit at the end.
   One family (Schibsted Grotesk) for all text; the logo keeps the sign's Archivo
   lettering; Permanent Marker only on the masking-tape labels.
   Palette: barn red, cream, charcoal, stone. Mobile first, min-width queries only.
   DOMINANT MOMENT (site): the red profile silhouettes on cream cards - .pcard__shape
   ========================================================================== */

:root {
  --red: #8c2a22;
  --red-deep: #6f2019;
  --sign-red: #c8323a;
  --cream: #f6f2ea;
  --white: #ffffff;
  --ink: #1e1e1c;
  --ink-2: #3a3834;
  --muted: #5e5a54;
  --stone: #e9e2d6;
  --stone-2: #ded5c6;
  --line: #ddd4c5;

  --font: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --font-logo: "Archivo", "Arial Narrow", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 3rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem);

  --gap: 16px;
  --section: clamp(3.25rem, 2.4rem + 4vw, 6.5rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(30, 30, 28, 0.06), 0 8px 24px rgba(30, 30, 28, 0.08);
  --shadow-lift: 0 2px 4px rgba(30, 30, 28, 0.08), 0 16px 36px rgba(30, 30, 28, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--cream); padding-bottom: 64px; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--white); font-weight: 700; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ic { width: 1.2em; height: 1.2em; flex-shrink: 0; fill: currentColor; }
.ic--lg { width: 1.6em; height: 1.6em; }

.eyebrow { margin: 0 0 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.link { font-weight: 700; color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; }
.link .ic { width: 1em; height: 1em; }
.source { font-size: 0.8125rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 50px; padding: 0 1.4rem; border: 2px solid transparent; border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; background: none; color: inherit; }
.btn--red { background: var(--red); color: var(--white); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: currentColor; }
.btn--block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease; }
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .btn--red:hover { background: var(--red-deep); }
  .btn--ink:hover { background: var(--ink-2); }
}

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
/* Blur only on desktop: backdrop-filter makes the header the containing block for the fixed phone menu. */
@media (min-width: 1024px) { @supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(246, 242, 234, 0.9); backdrop-filter: blur(10px); } } }
.site-head__inner { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }
.logo { display: block; width: 188px; flex-shrink: 0; }
.logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.logo__name { font-family: var(--font-logo); font-stretch: 62.5%; font-weight: 900; font-size: 50px; fill: var(--ink); }
.logo__band { fill: var(--red); }
.logo__tag { font-family: var(--font-logo); font-stretch: 87.5%; font-weight: 800; font-size: 37px; fill: var(--cream); }
.logo--light .logo__name { fill: var(--cream); }
.logo--light .logo__band { fill: var(--red); }
.nav { display: none; }
.nav a { position: relative; padding: 8px 0; font-weight: 600; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) { .nav a::after { transition: transform 0.3s var(--ease); } }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.head-call { display: none; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--stone); color: var(--ink); cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--cream); }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 16px 20px; }
.mobile-menu li > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.mobile-menu li > a[aria-current="page"] { color: var(--red); }

/* Sections */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .eyebrow, .section--ink .source { color: #b9b3a8; }
.section--red { background: var(--red); color: var(--cream); }
.section--red .eyebrow { color: rgba(246, 242, 234, 0.8); }
.section-head { display: grid; gap: 12px; margin-bottom: 28px; }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }
.section-head p { color: var(--muted); max-width: 36em; margin: 0; }
.section--ink .section-head p { color: #cfc9be; }

/* Page head (inner pages) */
.page-head { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-head h1 { font-size: var(--step-4); font-weight: 800; margin-bottom: 16px; max-width: 16em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; }
.crumbs a { text-decoration: none; font-weight: 600; }

/* Home hero */
.hero { display: grid; }
.hero__panel { background: var(--red); color: var(--cream); padding: 36px 16px 40px; }
.hero__panel .eyebrow { color: rgba(246, 242, 234, 0.82); }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 18px; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; opacity: 0.92; margin-bottom: 26px; max-width: 30em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__panel .link { color: var(--cream); }
/* The notice (Site Settings) on the home page: a cream board on the red panel, above everything. */
.hero__notice { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 0 24px; padding: 11px 18px 11px 14px; background: var(--cream); color: var(--ink); border-radius: var(--radius); box-shadow: 0 2px 0 var(--red-deep), var(--shadow); font-size: var(--step-0); font-weight: 700; line-height: 1.35; }
.hero__notice .ic { width: 1.5em; height: 1.5em; color: var(--red); }
.hero__photo { position: relative; overflow: hidden; min-height: 300px; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: settle 2.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
}

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.facts li { padding: 20px 16px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }

/* Molding cards */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pcard { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 14px; border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.pcard__stage { position: relative; height: 140px; margin-bottom: 10px; }
.pcard__shape { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); max-width: calc(100% - 12px); max-height: 100%; object-fit: contain; object-position: center bottom; }
.pcard__none { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; border: 2px dashed var(--line); border-radius: 6px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.pcard__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 6px; }
.pcard__k { font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.25; }
.pcard__meta { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
@media (prefers-reduced-motion: no-preference) { .pcard { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s ease; } }
@media (hover: hover) { .pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--stone-2); } }

/* Finder */
.search { position: relative; display: block; }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 56px; padding: 0 20px 0 52px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 1rem var(--font); }
.search input::placeholder { color: #807a72; }
.finder__bar { display: grid; gap: 10px; margin-bottom: 14px; }
.select { position: relative; display: block; }
.select select { width: 100%; min-height: 56px; padding: 0 44px 0 20px; border: 2px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 1rem var(--font); appearance: none; cursor: pointer; }
.select .ic { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px; scroll-padding-inline: 16px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 0.9375rem var(--font); cursor: pointer; }
.chip span { font-weight: 500; color: var(--muted); }
.chip { text-decoration: none; }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-current="page"] span { color: #c9c3b8; }
@media (hover: hover) { .chip:hover { border-color: var(--ink); } }
.finder__count { margin: 6px 0 16px; font-size: 0.9375rem; color: var(--muted); }
.finder__count b { color: var(--ink); }
.finder__more { display: flex; justify-content: center; margin-top: 24px; }
.finder__more[hidden] { display: none; }
.finder__empty { grid-column: 1 / -1; padding: 32px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); font-weight: 600; }

.knife { display: grid; gap: 22px; margin-top: var(--section); padding: 32px 22px; border-radius: 16px; background: var(--red); color: var(--cream); }
.knife h2 { font-size: var(--step-3); font-weight: 800; }
.knife p { opacity: 0.92; max-width: 34em; }
.knife__shapes { display: flex; align-items: flex-end; gap: 12px; height: 96px; }
.knife__shape { flex: 0 1 auto; width: auto; max-width: 52px; object-fit: contain; object-position: center bottom; filter: brightness(0) invert(0.96) sepia(0.12); opacity: 0.9; }
.knife__shape--100 { height: 100%; }
.knife__shape--92 { height: 92%; }
.knife__shape--78 { height: 78%; }
.knife__shape--70 { height: 70%; }
.knife__shape--52 { height: 52%; }

/* Split feature */
.split { display: grid; gap: 28px; align-items: center; }
.split__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.split h2 { font-size: var(--step-3); font-weight: 800; margin-bottom: 16px; }
.split p { color: var(--ink-2); }
.ticks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--red); margin-top: 3px; }

/* Rates */
.rates { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rates li { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); }
.rates b { font-size: 1.2rem; font-weight: 800; }
.rates span { color: var(--muted); font-size: 0.9375rem; }
.rates em { font-style: normal; font-weight: 700; color: var(--red); }
.section--ink .rates li { background: #2a2a27; }
.section--ink .rates span { color: #b9b3a8; }
.section--ink .rates em { color: #f0b9b2; }

/* Moon block (home + story) */
.moon { display: grid; gap: 24px; align-items: center; }
.moon__year { font-size: clamp(4rem, 2.5rem + 8vw, 9rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.85; }
.moon h2 { font-size: var(--step-3); font-weight: 800; margin-bottom: 14px; }
.moon p { opacity: 0.92; max-width: 34em; }

/* Lumber */
.fresh { padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.fresh__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; letter-spacing: 0; margin-bottom: 12px; }
.fresh__title .ic { color: var(--red); }
.fresh ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fresh li { font-size: 0.9375rem; }
.fresh li b { font-weight: 700; }
.species { display: grid; gap: 28px; }
.species h3 { font-size: var(--step-2); font-weight: 800; margin-bottom: 4px; }
.species__sub { margin: 0 0 12px; color: var(--muted); font-size: 0.9375rem; }
.species ul { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 28px; }
.species li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9375rem; }
.species li i { font-style: normal; font-weight: 500; color: var(--muted); white-space: nowrap; }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.tile { padding: 22px; border-radius: var(--radius); background: var(--white); }
.tile h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 0.9375rem; }
.tile--photo { padding: 0; overflow: hidden; display: grid; }
.tile--photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile--photo div { padding: 18px 22px 22px; }

/* Timeline */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--stone-2); }
.tl > li { position: relative; padding: 0 0 44px 36px; }
.tl > li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--red); }
.tl__year { display: block; font-size: clamp(2rem, 1.6rem + 1.8vw, 3.2rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--red); margin-bottom: 8px; }
.tl__title { font-size: var(--step-2); font-weight: 800; margin-bottom: 10px; }
.tl p { color: var(--ink-2); max-width: 38em; }
.tl figure { margin: 18px 0 0; }
.tl figure img { border-radius: 12px; width: 100%; max-width: 640px; }
.tl figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.tl__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin-top: 18px; }
.tl__photos img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.names { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.names li { padding: 8px 14px; border-radius: 999px; background: var(--white); font-weight: 600; font-size: 0.9375rem; }
.quote { margin: 0; padding: 0; }
.quote blockquote { margin: 0; }
.quote p { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 20em; text-wrap: balance; }
.quote figcaption { display: block; margin-top: 14px; color: var(--muted); }
.clips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.clips figure { margin: 0; }
.clips img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: left top; border-radius: 8px; box-shadow: var(--shadow); background: var(--white); }
.clips figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.clips b { display: block; color: var(--ink); }

/* Visit */
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours th { font-weight: 600; }
.hours tr.is-today { background: var(--white); }
.hours tr.is-today th { font-weight: 800; }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 0.75rem; font-weight: 700; vertical-align: 2px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 0.9375rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b5ada0; }
.status.is-open::before { background: #2f8a4c; }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.info .ic { margin-top: 2px; color: var(--red); }
.info a { font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.form { padding: 24px 20px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.form h2 { font-size: var(--step-2); font-weight: 800; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 0.9375rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 700; font-size: 0.875rem; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--stone-2); border-radius: 10px; background: var(--cream); color: var(--ink); font: 500 1rem var(--font); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); background: var(--white); }
.field small { font-size: 0.8125rem; color: var(--muted); }
.field--file input { padding: 12px; border-style: dashed; cursor: pointer; }
.form__row { display: grid; }
.form__done { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--stone); font-size: 0.9375rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.25s var(--ease); color: var(--red); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; max-width: 40em; }

/* Profile page */
.profile { display: grid; gap: 28px; }
.profile__stage { position: relative; min-height: 360px; border-radius: 16px; background-color: var(--white); background-image: linear-gradient(to right, rgba(30, 30, 28, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(30, 30, 28, 0.05) 1px, transparent 1px); background-size: 16px 16px; }
.profile__stage img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; }
.profile__stage .profile__shape { inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); }
.profile h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; overflow-wrap: anywhere; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; }
.profile__ctas { display: grid; gap: 10px; margin-bottom: 20px; }
.note-box { padding: 16px 18px; border-radius: 10px; background: var(--stone); font-size: 0.9375rem; color: var(--ink-2); }

/* Footer */
.site-foot { background: var(--ink); color: var(--cream); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-foot__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.site-foot .logo { width: 260px; margin-bottom: 14px; }
.site-foot p { color: #b9b3a8; font-size: 0.9375rem; }
.site-foot h2 { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b9b3a8; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; overflow-wrap: anywhere; }
@media (hover: hover) { .site-foot a:not(.insignia):hover { color: #f0b9b2; } }
.site-foot__bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid #34342f; font-size: 0.8125rem; color: #9d978c; }

.insignia { position: relative; display: inline-flex; align-items: center; align-self: flex-start; gap: 0.625rem; padding: 0.3rem 1rem 0.3rem 0.875rem; font-family: var(--font); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); text-decoration: none; background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.06) 100%); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px; overflow: hidden; transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.45s ease, box-shadow 0.45s ease, color 0.3s ease; }
.insignia__label { opacity: 0.6; font-weight: 400; letter-spacing: 0.08em; }
.insignia__icon { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); padding: 3px; flex-shrink: 0; transition: filter 0.45s ease, transform 0.3s ease; }
.insignia__name { font-weight: 600; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.04em; }
.insignia__shimmer { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0.06) 65%, transparent 80%); transform: translateX(-101%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .insignia__shimmer { animation: insignia-shimmer 8s ease-in-out infinite; } }
@keyframes insignia-shimmer { 0%, 75% { transform: translateX(-101%); } 100% { transform: translateX(101%); } }
@media (hover: hover) {
  .insignia:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); color: rgba(255, 255, 255, 0.95); }
  .insignia:hover .insignia__icon { filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3)); transform: scale(1.1); }
}

/* Phone action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 0.9375rem; border-right: 1px solid #34342f; }
.actionbar__main { background: var(--red); border-right: 0 !important; }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- 640px ---------- */
@media (min-width: 640px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .species ul { columns: 2; }
  .clips { grid-template-columns: repeat(4, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .profile__ctas { grid-template-columns: auto auto; justify-content: start; }
}

/* ---------- 768px ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .wrap { padding: 0 32px; }
  .actionbar { display: none; }
  .logo { width: 220px; }
  .hero__panel { padding: 56px 32px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-top: 0; border-right: 1px solid var(--line); padding: 24px 32px; }
  .facts li:last-child { border-right: 0; }
  .finder__bar { grid-template-columns: 1fr 240px; }
  .chips { flex-wrap: wrap; overflow: visible; padding: 4px 0 12px; margin: 0; -webkit-mask: none; mask: none; }
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .knife { grid-template-columns: 1fr 1.4fr; align-items: center; padding: 44px; }
  .knife__shapes { grid-row: span 2; height: 150px; justify-content: center; }
  .knife__shape { max-width: 64px; }
  .rates { grid-template-columns: 1fr 1fr; }
  .species { grid-template-columns: 1fr 1fr; gap: 40px; }
  .species ul { columns: 1; }
  .form { padding: 32px; }
  .site-foot__grid { grid-template-columns: 1.4fr 0.9fr 0.9fr 1.4fr; }
  .site-foot__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .tl > li { padding-left: 48px; }
}

/* ---------- 1024px ---------- */
@media (min-width: 1024px) {
  :root { --head-h: 80px; }
  .logo { width: 240px; }
  .nav { display: flex; gap: clamp(20px, 2.4vw, 34px); margin-left: auto; }
  .head-call { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none; }
  .hero { grid-template-columns: 1fr 1.12fr; min-height: min(78vh, 680px); }
  .hero__panel { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(40px, 5vw, 80px); }
  .hero__photo { min-height: 0; }
  .section-head--split { grid-template-columns: 1fr 1fr auto; align-items: end; gap: 32px; }
  .pgrid { grid-template-columns: repeat(6, 1fr); }
  .pgrid--page { grid-template-columns: repeat(5, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
  .split--flip .split__photo { order: 2; }
  .moon { grid-template-columns: auto 1fr; gap: 64px; }
  .lumber-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
  .visit-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
  .profile { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .profile__stage { min-height: 520px; position: sticky; top: calc(var(--head-h) + 24px); }
  .tl-wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: 64px; align-items: start; }
  .tl-aside { position: sticky; top: calc(var(--head-h) + 32px); }
}

@media (min-width: 1280px) {
  .pgrid--page { grid-template-columns: repeat(6, 1fr); }
}

/* ===== Workshop details ===== */

/* Wood grain behind solid color blocks (subtle) */
.woodgrain { position: relative; isolation: isolate; }
.woodgrain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/woodgrain.webp") center / cover; mix-blend-mode: multiply; opacity: 0.32; pointer-events: none; }
.woodgrain--dark::before { filter: invert(1); mix-blend-mode: screen; opacity: 0.09; }

/* Two-tone icons in barn red */
.ic--duo { color: var(--red); }
.badge { display: inline-grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--stone); }
.badge .ic { width: 28px; height: 28px; color: var(--red); }
.section--white .badge, .tile .badge { background: var(--cream); }
.section--ink .badge, .section--red .badge { background: rgba(246, 242, 234, 0.1); }
.section--ink .badge .ic, .section--red .badge .ic { color: #f0b9b2; }
.tile .badge { margin-bottom: 14px; }
.facts li .ic { display: block; width: 26px; height: 26px; margin-bottom: 8px; color: var(--red); }

/* Carpenter's pencil underline under one key word */
.mark { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12 C 60 6, 120 9, 180 7 S 270 5, 297 8 M 18 15 C 90 11, 170 13, 250 10' fill='none' stroke='%238c2a22' stroke-width='4' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") left bottom / 100% 0.32em no-repeat; padding-bottom: 0.06em; }
.mark--cream { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12 C 60 6, 120 9, 180 7 S 270 5, 297 8 M 18 15 C 90 11, 170 13, 250 10' fill='none' stroke='%23f6f2ea' stroke-width='4' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E"); }

/* Masking tape label with marker writing, like the ones on lumber in the shop */
.photo-tag { position: relative; }
.tape { position: absolute; z-index: 2; padding: 8px 18px 7px; background: rgba(233, 220, 190, 0.94); color: #2b2620; font-family: "Permanent Marker", var(--font); font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem); line-height: 1.1; letter-spacing: 0.02em; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); transform: rotate(-3deg); clip-path: polygon(0 4%, 3% 0, 6% 6%, 9% 1%, 12% 5%, 100% 0, 97% 50%, 100% 100%, 8% 100%, 4% 95%, 0 100%, 2% 50%); }
.tape--tl { top: 18px; left: 18px; }
.tape--br { right: 18px; bottom: 22px; transform: rotate(2deg); }
.tape--tr { top: 18px; right: 18px; transform: rotate(3deg); }

/* Full-screen phone menu */
.mobile-menu { position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; z-index: 49; overflow-y: auto; border-top: 1px solid var(--line); background: var(--cream); padding: 10px 16px 110px; }
.mobile-menu ul { padding: 0; }
.mm-link { display: grid !important; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; min-height: 0 !important; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.mm-link b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.mm-link small { display: block; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.mm-link > .ic { color: var(--muted); }
.mm-link[aria-current="page"] b { color: var(--red); }
.mm-foot { margin-top: 22px; padding: 20px; border-radius: 14px; background: var(--white); display: grid; gap: 12px; }
.mm-foot .status { justify-self: start; background: var(--cream); }
.mm-foot p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.mm-foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menu-in 0.32s var(--ease) both; }
  .mobile-menu:not([hidden]) li { animation: menu-item 0.4s var(--ease) both; }
  .mobile-menu:not([hidden]) li:nth-child(2) { animation-delay: 0.04s; }
  .mobile-menu:not([hidden]) li:nth-child(3) { animation-delay: 0.08s; }
  .mobile-menu:not([hidden]) li:nth-child(4) { animation-delay: 0.12s; }
  .mobile-menu:not([hidden]) li:nth-child(5) { animation-delay: 0.16s; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes menu-item { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
}

/* Small helpers */
.mt { margin-top: 24px; }
.info--spaced { margin: 20px 0 26px; }
.video-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.video { display: grid; gap: 10px; text-decoration: none; }
.video__thumb { position: relative; border-radius: 12px; overflow: hidden; background: var(--ink); }
.video__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.85; }
.video__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") center / 30px no-repeat; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.video b { font-size: 1.05rem; line-height: 1.3; }
.video span { font-size: 0.875rem; color: var(--muted); }
.map { width: 100%; height: 360px; border: 0; border-radius: 14px; display: block; background: var(--stone); }
@media (min-width: 1024px) { .map { height: 420px; } }
.knife.woodgrain::before { border-radius: inherit; }
.h-sm { font-size: var(--step-2); font-weight: 800; margin-bottom: 14px; }
.h-md { font-size: var(--step-3); font-weight: 800; }
.rounded { border-radius: 14px; width: 100%; }
.tl-marker { border-radius: 14px; width: 100%; max-width: 320px; }

.section--white .pcard { background: var(--cream); }
.knife .link { color: var(--cream); }
.section--ink .split p:not(.eyebrow):not(.source), .section--ink .moon p:not(.eyebrow):not(.source) { color: #d6d0c5; }
.section--white .names li { background: var(--cream); }
.section--ink .video span { color: #b9b3a8; }
.status--rating::before { display: none; }
.page-head .status + .status { margin-left: 6px; }
.tl-aside { margin-bottom: 44px; }
@media (min-width: 1024px) { .tl-aside { margin-bottom: 0; } }

/* Visit: map + photo band */
.map-band { display: grid; gap: 12px; }
.map-band .map { height: 320px; }
.map-band__photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 14px; }
@media (min-width: 1024px) { .map-band { grid-template-columns: 1.5fr 1fr; gap: 16px; } .map-band .map { height: 460px; } }
.map-band__photo img { object-position: 68% 55%; }
.visit-grid > * + * { margin-top: 44px; }
@media (min-width: 1024px) { .visit-grid > * + * { margin-top: 0; } }
/* Footer spacing: more specific than .wrap, whose padding shorthand resets vertical padding at 768px+ */
.site-foot .site-foot__grid { padding-bottom: 44px; }
.site-foot .site-foot__bottom { padding-top: 28px; padding-bottom: 32px; }
.site-foot ul li { min-height: 36px; display: flex; align-items: center; }
.split__photo img.img-aisle { object-position: 50% 58%; }

/* ==========================================================================
   Build: additions for the ProcessWire site (not in the demo)
   ========================================================================== */

/* Build: site-wide notice (Site Settings > Notice), above the sticky header */
.notice { background: var(--red); color: var(--white); font-size: var(--step-0); }
.notice .wrap { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
.notice .ic { width: 1.4em; height: 1.4em; }
.notice p { margin: 0; font-weight: 700; }

/* Build: library pager (server pages; hidden once the finder script takes over) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 28px; font-weight: 600; color: var(--muted); }
.js-finder .pager { display: none; }

/* Build: profile page states */
.profile__none { position: absolute; inset: 28px; display: grid; place-items: center; margin: 0; padding: 24px; border: 2px dashed var(--line); border-radius: 12px; text-align: center; color: var(--muted); font-weight: 600; }
.profile__note { padding: 14px 18px; margin: 0 0 20px; border-left: 4px solid var(--red); background: var(--cream); font-weight: 600; }
.specs dd a { text-underline-offset: 3px; }

/* Build: visit page */
.status-row { display: flex; flex-wrap: wrap; gap: 8px; }
.page-head .status + .status { margin-left: 0; }
.form__fallback { display: grid; gap: 12px; margin-top: 18px; }
.form__fallback p { color: var(--muted); font-size: 0.9375rem; }
.btn--block { white-space: normal; text-align: center; }

/* Build: FormBuilder "Basic" markup inside .form (the house standard framework) */
.form .FormBuilder { margin-top: 18px; }
.form .Inputfields { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.form .Inputfield { margin: 0; padding: 0; border: 0; }
.form .InputfieldHeader { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.875rem; }
.form .InputfieldContent > p.description, .form .InputfieldContent > p.notes, .form .notes, .form .description { margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--stone-2); border-radius: 10px; background: var(--cream); color: var(--ink); font: 500 1rem var(--font); }
.form textarea { min-height: 130px; resize: vertical; }
.form input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed var(--stone-2); border-radius: 10px; background: var(--cream); font: 500 0.9375rem var(--font); cursor: pointer; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); background: var(--white); }
.form .InputfieldStateError input, .form .InputfieldStateError textarea { border-color: var(--red); }
.form .InputfieldError, .form .error { margin: 6px 0 0; color: var(--red); font-size: 0.875rem; font-weight: 700; }
.form .InputfieldSubmit button, .form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--red); color: var(--white); font: 700 1rem/1 var(--font); cursor: pointer; }
@media (hover: hover) { .form button[type="submit"]:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); } }
@media (prefers-reduced-motion: no-preference) { .form button[type="submit"] { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease; } }
.FormBuilder [data-trap] { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* PW marks a label it means to hide (the Turnstile row's "_turnstile"); only the admin's CSS hides it */
.FormBuilder .InputfieldHeaderHidden { display: none; }
.form .FormBuilderErrors, .form .alert { padding: 12px 14px; border-radius: 10px; background: #fbe9e7; color: var(--red-deep); font-weight: 600; }

/* Build: thank-you page */
.page-head--thanks { padding-bottom: var(--section); }
.badge--big { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 18px; background: var(--white); }
.badge--big .ic { width: 40px; height: 40px; }
.page-head--thanks .lede p { margin-bottom: 0.6em; }

/* Build: text pages (privacy, 404) */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); font-weight: 800; margin: 1.6em 0 0.5em; }
.prose h3 { font-size: var(--step-1); font-weight: 800; margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--red); text-underline-offset: 3px; }

/* Build: clippings open full size */
.clips__link { display: block; border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) { .clips__link img { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); } }
@media (hover: hover) { .clips__link:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }

/* Build: "Edit this page" for logged-in editors */
.edit-link { position: fixed; right: 16px; bottom: 76px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.875rem; text-decoration: none; box-shadow: var(--shadow-lift); }
.edit-link .ic { color: var(--red); }
@media (min-width: 768px) { .edit-link { bottom: 20px; } }

/* Build: the actual-size print sheet lives on the profile page, screen-hidden */
.print-sheet { display: none; }

/* ==========================================================================
   Build: print. Every page prints plainly; a profile page prints only its
   drawing at true size (width/height attributes are inches x 96 CSS px).
   ========================================================================== */
@media print {
  @page { margin: 0.5in; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  .skip, .notice, .site-head, .mobile-menu, .actionbar, .site-foot, .edit-link, .knife, .finder__bar, .chips, .pager, .finder__more, .hero__ctas, .profile__ctas, iframe { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section, .page-head { padding: 12pt 0; background: none !important; color: #000; }
  .woodgrain::before { display: none; }

  .page-profile main > *:not(.print-sheet) { display: none !important; }
  .page-profile .print-sheet { display: block; }
  .print-sheet__head { margin: 0 0 4pt; font-size: 9pt; color: #444; }
  .print-sheet__title { margin: 0 0 14pt; font-size: 12pt; }
  .print-sheet__shape { display: block; max-width: none; height: auto; filter: brightness(0); }
  .print-sheet__check { display: flex; align-items: center; gap: 12pt; margin-top: 18pt; font-size: 9pt; color: #444; }
  .print-sheet__check p { margin: 0; max-width: 4in; }
  .print-sheet__inch { flex: 0 0 auto; display: block; width: 1in; height: 0.2in; border: 1pt solid #000; background: repeating-linear-gradient(90deg, #000 0 1pt, transparent 1pt 0.125in); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Build: FormBuilder file field prints its inputs as a list */
.form .InputfieldContent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
