/* Self-hosted, SIL Open Font License: Archivo, Mulish. Log in docs/licences.md. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/mulish-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Tokens: every colour traced in brand.json */
:root {
  --yellow: #FFCD02;
  --highlight: #FFDB4C;
  --ink: #22211E;
  --charcoal: #3A3A38;
  --graphite: #575757;
  --paper: #F7F5F0;
  --paper-2: #EFEBE3;
  --white: #FFFFFF;
  --danger: #A8261B;
  --success: #2F6B3A;
  --bg: var(--paper);
  --text: var(--ink);
  --muted: var(--graphite);
  --cta: var(--yellow);
  --cta-text: var(--ink);
  --line: rgba(34, 33, 30, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --font-display: "Archivo", Arial, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --space: clamp(2.5rem, 1.8rem + 3vw, 4.75rem);
  --strip-h: 0px;
  --header-h: 4.25rem;
}
@media (min-width: 48rem) { :root { --strip-h: 2.5rem; --header-h: 5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.6;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1rem; text-wrap: pretty; max-width: 68ch; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 1rem; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); line-height: 1.03; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 700; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.band--yellow :focus-visible, .btn--primary:focus-visible { outline-color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--yellow); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--cta); color: var(--cta-text); }
.btn--primary:hover { background: var(--highlight); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn--ghost:hover { border-color: var(--yellow); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn--lg { min-height: 3.4rem; padding-inline: 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.link-strong { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.link-strong:hover { text-decoration-color: currentColor; }
.link-strong--light { color: var(--white); }

/* Contact strip and header */
.strip { display: none; background: var(--ink); color: var(--white); font-size: 0.875rem; }
@media (min-width: 48rem) { .strip { display: block; } }
.strip__inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--strip-h); gap: 1rem; }
.strip__item { margin: 0; max-width: none; }
.strip__item a { text-decoration: none; display: inline-flex; align-items: center; min-height: 2.5rem; }
.strip__item a:hover { text-decoration: underline; }
.strip__item--right { display: flex; gap: 1.5rem; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 245, 240, 0.97); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { flex: 0 0 auto; min-height: 3rem; display: flex; align-items: center; }
.brand img { width: clamp(9.5rem, 7rem + 8vw, 13rem); height: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 0.7rem; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.site-header__cta { display: none; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; min-width: 3rem; padding: 0 0.9rem; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: 700 0.95rem var(--font-body); cursor: pointer; }
@media (min-width: 68rem) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu-btn { display: none; }
}
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(34, 33, 30, 0.6); visibility: hidden; opacity: 0; transition: opacity 200ms ease, visibility 0s linear 200ms; }
.drawer.is-open { visibility: visible; opacity: 1; transition: opacity 200ms ease; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(22rem, 88vw); background: var(--paper); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; overflow-y: auto; transform: translateX(100%); transition: transform 220ms ease; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { align-self: flex-end; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 3rem; padding: 0 0.9rem; background: none; border: 2px solid var(--ink); border-radius: var(--radius); font: 700 0.95rem var(--font-body); color: var(--ink); cursor: pointer; }
.drawer__links { list-style: none; margin: 0; padding: 0; }
.drawer__links a { display: flex; align-items: center; min-height: 3.25rem; font: 700 1.25rem var(--font-display); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__links a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 0.75rem; }
.drawer__contact { margin: 0; line-height: 2.2; }
.drawer__contact a { display: inline-flex; align-items: center; min-height: 3rem; }

/* Hero: the one orchestrated motion moment */
.hero { display: grid; background: var(--ink); color: var(--white); }
.hero__text { display: flex; align-items: center; padding: clamp(1.5rem, 1rem + 3vw, 4rem) var(--gutter); }
.hero__copy { max-width: 36rem; }
.hero__kicker { color: var(--yellow); font-weight: 700; margin-bottom: 0.75rem; }
.hero__lede { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: rgba(255, 255, 255, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.hero__media { margin: 0; position: relative; min-height: 18rem; }
.hero__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero__media figcaption { position: absolute; left: 0; bottom: 0; padding: 0.6rem var(--gutter); font-size: 0.85rem; background: var(--ink); color: rgba(255, 255, 255, 0.85); border-top-right-radius: var(--radius); }
@media (min-width: 64rem) {
  .hero { grid-template-columns: 11fr 13fr; min-height: calc(100dvh - var(--strip-h) - var(--header-h)); max-height: 56rem; }
  .hero__text { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
  .hero__img { aspect-ratio: auto; position: absolute; inset: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: reveal 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__copy > * { animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: 80ms; }
  .hero__copy > :nth-child(3) { animation-delay: 160ms; }
  .hero__copy > :nth-child(4) { animation-delay: 240ms; }
}
@keyframes reveal { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.6); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--white); }
.section__title { max-width: 22ch; }
.two-col { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 60rem) { .two-col { grid-template-columns: 4fr 7fr; align-items: start; } }
.prose p { font-size: 1.0625rem; }
.prose--doc { max-width: 46rem; }
.prose--doc h2 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem); margin-top: 2rem; }

/* Ledger of what we make */
.ledger { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.ledger__row { border-bottom: 1px solid var(--line); }
.ledger__link { display: grid; grid-template-columns: 6rem 1fr; grid-template-areas: "img name" "img what"; gap: 0.25rem 1rem; padding: 1rem 0; text-decoration: none; align-items: start; }
.ledger__img { grid-area: img; width: 6rem; height: 4.5rem; object-fit: cover; border-radius: var(--radius); }
.ledger__name { grid-area: name; font: 800 clamp(1.15rem, 1rem + 0.8vw, 1.75rem) / 1.15 var(--font-display); }
.ledger__what { grid-area: what; color: var(--muted); max-width: 52ch; }
.ledger__link:hover .ledger__name { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
@media (min-width: 48rem) {
  .ledger__link { grid-template-columns: 10rem 18rem 1fr; grid-template-areas: "img name what"; align-items: center; gap: 2rem; }
  .ledger__img { width: 10rem; height: 6.5rem; }
}

/* Finish library (signature) */
.finish__head { display: grid; gap: 1rem 4rem; margin-bottom: 2rem; }
.finish__head p { color: rgba(255, 255, 255, 0.82); }
@media (min-width: 60rem) { .finish__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.finish__tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.75rem; scrollbar-width: thin; }
.finish__tabs [role="tab"] {
  flex: 0 0 auto; min-height: 3rem; padding: 0 1.1rem; border-radius: 999px; border: 2px solid var(--line-dark);
  background: transparent; color: var(--white); font: 700 0.95rem var(--font-body); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.finish__tabs [role="tab"]:hover { border-color: var(--yellow); }
.finish__tabs [role="tab"][aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.finish__panels { margin-top: 1.25rem; }
.finish__panel { display: grid; gap: 1.5rem; }
.finish__panel[hidden] { display: none; }
.finish__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.finish__text p { color: rgba(255, 255, 255, 0.86); }
@media (min-width: 60rem) { .finish__panel { grid-template-columns: 7fr 5fr; align-items: center; gap: 3rem; } }

/* Factory */
.factory__grid { display: grid; gap: 2rem; }
.factory__media { margin: 0; }
.factory__media img { border-radius: var(--radius-lg); width: 100%; }
.factory__media figcaption, .proof__media figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.factory__hours { padding-left: 1rem; border-left: 4px solid var(--yellow); }
@media (min-width: 60rem) { .factory__grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 4rem; } }

/* Work strip */
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.5rem 2rem; margin-bottom: 1.5rem; }
.work__head .section__title { margin: 0; }
.work-strip { list-style: none; margin: 0; padding: 0 var(--gutter) 1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 80rem) { .work-strip { padding-inline: calc((100vw - var(--wrap)) / 2); } }
.work-strip li { flex: 0 0 clamp(14rem, 60vw, 20rem); scroll-snap-align: start; }
.work-strip a { display: block; text-decoration: none; }
.work-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.work-strip span { display: block; margin-top: 0.6rem; font-weight: 700; }

/* Proof */
.proof__grid { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .proof__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.proof__big { font: 800 clamp(3rem, 2rem + 4vw, 5rem) / 1 var(--font-display); display: block; }
.proof__rating { font-size: 1.1rem; }
.proof__award { padding: 1rem 1.25rem; background: var(--paper-2); border-left: 4px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; }
.proof__quotes { display: grid; gap: 1.75rem; }
.proof__media { margin: 0; }
.proof__media img { border-radius: var(--radius-lg); }
blockquote { margin: 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--ink); }
blockquote p { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; margin-bottom: 0.5rem; }
blockquote footer { color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 60rem) { .faq { grid-template-columns: 4fr 7fr; } }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.75rem 0; font-weight: 700; font-size: 1.0625rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font: 700 1.5rem/1 var(--font-display); flex: 0 0 auto; }
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list details p { padding-bottom: 1rem; }

/* Yellow call band */
.band--yellow { background: var(--yellow); color: var(--ink); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.band__inner { display: grid; gap: 1.5rem; align-items: center; }
.band__inner h2 { margin-bottom: 0.5rem; }
.band__inner p { margin: 0; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.band--yellow .link-strong { text-decoration-color: var(--ink); }
@media (min-width: 60rem) { .band__inner { grid-template-columns: 7fr 5fr; } .band__actions { justify-content: flex-end; } }

/* Inner page hero */
.page-hero { padding-block: clamp(1.5rem, 1rem + 3vw, 4rem); }
.page-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .page-hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.page-hero__lede { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); color: var(--charcoal); }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.page-hero--plain { border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 3rem; }
.draft-flag { display: inline-block; padding: 0.5rem 0.9rem; background: var(--yellow); color: var(--ink); font-weight: 700; border-radius: var(--radius); }
.price-tag { font: 800 clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem) / 1.1 var(--font-display); margin: 1rem 0 1.5rem; }
.price-tag__from, .price-tag__unit { font: 600 1rem var(--font-body); color: var(--charcoal); }
.price-tag__unit { display: block; margin-top: 0.35rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

/* Spec lists */
.spec { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.spec > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 700 1.1rem var(--font-display); margin-bottom: 0.25rem; }
.spec dd { margin: 0; color: var(--charcoal); }
@media (min-width: 40rem) { .spec { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }

/* Stories */
.stories { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); margin-top: 2rem; }
.story { display: grid; gap: 1.25rem; align-items: center; }
.story__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
@media (min-width: 60rem) {
  .story { grid-template-columns: 7fr 5fr; gap: 3.5rem; }
  .story--flip .story__media { order: 2; }
}

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; position: relative; padding: 1rem 0 1rem 3rem; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1rem; font: 800 1.4rem/1.2 var(--font-display); }
.steps li strong { display: block; margin-bottom: 0.15rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--yellow); }
.timeline li { padding: 0 0 1.5rem 1.5rem; }
.timeline__year { display: block; font: 800 1.5rem var(--font-display); }
.timeline p { margin: 0.25rem 0 0; }

/* Gallery: even-row grid. app.js sets data-count/rem2/rem3 on the gallery and data-tail on the
   last visible tiles so the final row always fills (3-col: tails of 2 halves or a row of 4; 2-col: 3 small tails).
   Photos crop to one ratio here; the lightbox shows each one whole. */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 1.25rem; margin-top: 1.5rem; }
.tile { margin: 0; min-width: 0; }
.tile[hidden] { display: none; }
.tile__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-lg); overflow: hidden; }
.tile__open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 160ms ease; }
@media (min-width: 40rem) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery > .tile { grid-column: span 3; }
  .gallery[data-count="1"] > .tile { grid-column: 1 / -1; }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .gallery[data-rem2="1"]:not([data-count="1"]) > .tile:is([data-tail="1"], [data-tail="2"], [data-tail="3"]) { grid-column: span 2; }
}
@media (min-width: 64rem) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gallery > .tile { grid-column: span 4; }
  .gallery[data-rem3="2"] > .tile:is([data-tail="1"], [data-tail="2"]) { grid-column: span 6; }
  .gallery[data-rem3="1"]:not([data-count="1"]) > .tile:is([data-tail="1"], [data-tail="2"], [data-tail="3"], [data-tail="4"]) { grid-column: span 3; }
  .gallery[data-count="1"] > .tile { grid-column: 1 / -1; }
}
.gallery[data-count="1"] .tile__open img { aspect-ratio: 16 / 9; }
.tile__open:hover img { opacity: 0.9; }
.tile figcaption { padding-top: 0.5rem; font-size: 0.92rem; color: var(--charcoal); }
.tile figcaption strong { color: var(--ink); display: block; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { min-height: 3rem; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--white); font: 700 0.95rem var(--font-body); color: var(--ink); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip__count { font-weight: 500; opacity: 0.75; margin-left: 0.25rem; }
.filters__status { font-size: 0.92rem; color: var(--muted); margin: 0.75rem 0 0; }

/* Lightbox */
.lightbox { width: min(96vw, 80rem); max-height: 94dvh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.lightbox::backdrop { background: rgba(34, 33, 30, 0.85); }
.lightbox__figure { margin: 0; }
.lightbox__img { width: 100%; max-height: 76dvh; object-fit: contain; background: var(--ink); }
.lightbox__cap { padding: 0.75rem 1rem 0; font-size: 0.95rem; }
.lightbox__bar { display: flex; gap: 0.5rem; padding: 0.75rem 1rem 1rem; flex-wrap: wrap; }
.lightbox__btn { min-height: 3rem; padding: 0 1rem; border-radius: var(--radius); border: 2px solid var(--line-dark); background: transparent; color: var(--white); font: 700 0.95rem var(--font-body); cursor: pointer; }
.lightbox__btn:hover { border-color: var(--yellow); }
.lightbox__btn--close { margin-left: auto; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* Estimator */
.estimator { display: grid; gap: 2rem; }
.estimator__intro p { color: rgba(255, 255, 255, 0.84); }
@media (min-width: 60rem) { .estimator { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.estimator__rows { display: grid; gap: 1rem; }
.estimator__row { margin: 0; padding: 1rem; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; min-width: 0; }
.estimator__row legend { padding: 0 0.4rem; font-weight: 700; }
.estimator__row .field { margin: 0; min-width: 0; }
.estimator__row .field:last-child { grid-column: 1 / -1; }
@media (min-width: 40rem) { .estimator__row { grid-template-columns: 1fr 1fr 0.7fr; } .estimator__row .field:last-child { grid-column: auto; } }
.estimator .field label { color: rgba(255, 255, 255, 0.9); }
.estimator .field input { background: var(--charcoal); color: var(--white); border-color: var(--line-dark); }
.estimator__actions { margin: 1rem 0; }
.estimator__result { padding: 1.25rem; background: var(--charcoal); border-radius: var(--radius-lg); display: grid; gap: 1rem; }
.estimator__total { margin: 0; font: 800 clamp(2rem, 1.6rem + 2vw, 3rem) / 1 var(--font-display); color: var(--yellow); }
.estimator__label { display: block; font: 600 0.95rem var(--font-body); color: rgba(255, 255, 255, 0.85); margin-top: 0.4rem; }

/* Forms */
.field { display: grid; gap: 0.35rem; margin-bottom: 1.1rem; }
.field label, .field legend { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: 500 1rem var(--font-body);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] select, .field[aria-invalid="true"] textarea { border-color: var(--danger); }
.field__hint { font-size: 0.88rem; color: var(--muted); margin: 0; }
.field__hint a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { font-weight: 500; font-size: 0.82rem; color: var(--muted); margin-left: 0.25rem; }
.field--choices { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.field--choices legend { margin-bottom: 0.5rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1rem; border: 2px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; transition: border-color 160ms ease, background-color 160ms ease; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--yellow); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.field--choices[aria-invalid="true"] .choice span { border-color: var(--danger); }
.consent { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; margin: 0.5rem 0 1.25rem; font-size: 0.95rem; }
.consent input { width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; accent-color: var(--ink); }
.consent[aria-invalid="true"] span { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 1rem 0 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 1rem; border-left: 4px solid var(--success); background: var(--white); }
.form__status.is-error { padding: 1rem; border-left: 4px solid var(--danger); background: var(--white); color: var(--danger); }
.form__status a { color: inherit; }

/* Brief builder */
.brief { display: grid; gap: 2.5rem; }
.brief__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); margin: 0 0 1rem; }
.brief__form .brief__title:not(:first-child) { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.brief__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.brief__summary { align-self: start; padding: 1.5rem; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); border-top: 6px solid var(--yellow); }
.brief__text { white-space: pre-line; font-size: 1.02rem; color: rgba(255, 255, 255, 0.92); }
.brief__note { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); margin: 0; }
@media (min-width: 64rem) { .brief { grid-template-columns: 7fr 5fr; gap: 4rem; } .brief__summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Visit and map */
.visit { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .visit { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.visit__addr { font-size: 1.1rem; margin-bottom: 1rem; }
.visit__text a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hours { margin: 0 0 1rem; border-top: 2px solid var(--ink); }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.map { position: relative; min-height: 22rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.86); padding-block: 3.5rem 1.5rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr; } }
.site-footer__brand img { width: 13rem; margin-bottom: 1rem; }
.site-footer__title { font: 700 1rem var(--font-body); color: var(--white); margin-bottom: 0.75rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--white); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: 0.9rem; }
.site-footer__base p { margin: 0; }
.site-footer__social { display: flex; gap: 1.5rem; }

/* WhatsApp shortcut */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(34, 33, 30, 0.28); transition: transform 120ms ease; }
.wa-float:active { transform: scale(0.96); }

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

/* Motion layer: scroll reveals, hover, progress (2026-11-27) */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.stories { gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.ledger__link { padding: 0.75rem 0; }
.page-hero { padding-block: clamp(1.25rem, 1rem + 2vw, 3rem); }
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.site-header__inner { transition: min-height 200ms var(--ease-out); }
.site-header.is-compact .site-header__inner { min-height: 3.75rem; }
.brand img { transition: width 200ms var(--ease-out); }
.site-header.is-compact .brand img { width: clamp(8.5rem, 6.5rem + 6vw, 11rem); }
.tile__open, .story__media, .finish__photo, .factory__media, .page-hero__media, .work-strip a, .ledger__link, .proof__media { overflow: hidden; border-radius: var(--radius-lg); }
.tile__open img, .story__media img, .finish__photo img, .factory__media img, .page-hero__media img, .work-strip img, .ledger__img, .proof__media img { transition: transform 450ms var(--ease-out), opacity 160ms ease; }
.chip, .choice span, .finish__tabs [role="tab"], .lightbox__btn, .menu-btn, .drawer__close { transition: transform 120ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.chip:active, .finish__tabs [role="tab"]:active, .tile__open:active, .lightbox__btn:active, .menu-btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .tile__open:hover img, .story:hover .story__media img, .finish__photo:hover img, .factory__media:hover img, .page-hero__media:hover img, .work-strip a:hover img, .proof__media:hover img { transform: scale(1.04); }
  .ledger__link:hover .ledger__img { transform: scale(1.08); }
  .ledger__link { transition: background-color 160ms ease, padding 200ms var(--ease-out); }
  .ledger__link:hover { background: var(--paper-2); padding-inline: 0.75rem; }
  .btn--primary:hover, .btn--ink:hover { box-shadow: 0 6px 16px rgba(34, 33, 30, 0.18); }
  .spec > div { transition: background-color 160ms ease, padding 200ms var(--ease-out); }
  .spec > div:hover { background: rgba(255, 205, 2, 0.12); padding-inline: 0.75rem; }
  .faq__list summary:hover { color: var(--graphite); }
  blockquote { transition: border-color 160ms ease, transform 200ms var(--ease-out); }
  blockquote:hover { border-left-color: var(--yellow); transform: translateX(4px); }
  .tile { transition: transform 300ms var(--ease-out); }
  .tile figcaption strong { transition: color 160ms ease; }
  .tile:hover figcaption strong { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="left"] { transform: translateX(-24px); }
  .js [data-reveal="scale"] { transform: translateY(28px); }
  .finish__panel:not([hidden]) { animation: rise 350ms var(--ease-out) both; }
}
