[hidden] { display: none !important; }

/* ---------- Fonts (self-hosted). Cinzel: the logo's inscriptional capitals. ---------- */
@font-face { font-family: "Cinzel"; src: url("/assets/fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens (palette roles are customer-editable: derive, don't hard-code) ---------- */
:root {
  --wf-primary: #252321;
  --wf-secondary: #3a3734;
  --wf-accent: #c0913f;
  --wf-light: #f4f3f1;
  --wf-dark: #151413;
  --wf-text: #232120;
  --wf-muted: #5c5955;
  --wf-border: #d9d6d1;
  --wf-on-primary: var(--wf-light);
  --wf-on-secondary: var(--wf-light);
  --wf-on-accent: var(--wf-primary);
  --wf-on-dark: var(--wf-light);
  --wf-on-light: var(--wf-text);

  --paper-2: color-mix(in oklab, var(--wf-light) 90%, var(--wf-text) 10%);
  --muted-strong: color-mix(in oklab, var(--wf-muted) 62%, var(--wf-text));
  --mat: color-mix(in oklab, var(--wf-light) 30%, white 70%);
  --sand: var(--paper-2);
  --frost: color-mix(in oklab, var(--wf-on-primary) 80%, var(--wf-primary) 20%);
  --rule-dark: color-mix(in oklab, var(--wf-on-primary) 22%, transparent);
  --rule-light: var(--wf-border);
  --shadow-print: 0 1px 2px color-mix(in oklab, var(--wf-dark) 12%, transparent), 0 24px 48px -24px color-mix(in oklab, var(--wf-dark) 60%, transparent);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --wf-font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --wf-font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wf-chat-font: var(--wf-font-body);
  --wf-chat-radius: 999px;
  --wf-chat-side: right;
  --wf-chat-bottom: 18px;

  --fs-h1: clamp(2.125rem, 1.2rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.75rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;

  --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-5: 3rem; --space-6: 4rem; --space-7: 6rem;
  --section-y: clamp(4rem, 2.5rem + 5vw, 7.5rem);
  --container: 1312px;
  --gallery-w: 100%;
  /* Two shared splits, so columns line up from section to section. */
  --split-head: minmax(0, 7fr) minmax(0, 5fr);
  --split-body: minmax(0, 5fr) minmax(0, 7fr);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --gap: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  --radius: 2px;
  --pill: 999px;
  --focus: 0 0 0 3px var(--wf-primary);
  --header-h: 84px;
}
@media (max-width: 760px) { :root { --wf-chat-bottom: 84px; --header-h: 66px; } }
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Facebook / Instagram in-app browsers on Android: the body scrolls instead of the window (SKILL.md 7.1). */
html.wf-own-scroll { height: 100%; overflow: hidden; }
html.wf-own-scroll body { height: 100%; overflow-y: auto; overscroll-behavior-y: none; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html.wf-own-scroll body { scroll-behavior: smooth; } }
body { margin: 0; background: var(--wf-light); color: var(--wf-text); font-family: var(--wf-font-body); font-size: var(--fs-body); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }
h1, h2, h3, h4 { font-family: var(--wf-font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.005em; margin: 0 0 var(--space-3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: var(--space-1); }
p { margin: 0 0 var(--space-2); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--wf-primary); color: var(--wf-on-primary); padding: 0.75rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.55; }
.muted { color: var(--wf-muted); }
.tbc { background: color-mix(in oklab, var(--wf-accent) 18%, transparent); color: var(--wf-text); padding: 0 0.25em; font-style: normal; }
figcaption, .caption { font-size: var(--fs-small); margin-top: 0.75rem; color: var(--wf-muted); font-variant-numeric: tabular-nums; }

/* Grounds */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--space-6); }
.ground-navy { background: var(--wf-primary); color: var(--wf-on-primary); }
.ground-paper { background: var(--wf-light); color: var(--wf-on-light); }
.ground-paper2 { background: var(--paper-2); color: var(--wf-on-light); }
.ground-navy figcaption, .ground-navy .muted { color: var(--frost); }
.ground-navy a { text-decoration-color: color-mix(in oklab, var(--wf-on-primary) 60%, transparent); }
.ground-navy :focus-visible { box-shadow: 0 0 0 3px var(--wf-on-primary); }

/* A section head: a heading with its one line beside it */
.section-head { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: end; margin-bottom: var(--space-5); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--wf-muted); max-width: 30em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: var(--space-2); } }


/* Canonical Webfreezee block classes, so future editor blocks inherit the design. */
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 0.75rem 1.4rem; background: var(--wf-primary); color: var(--wf-on-primary); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.block-heading { font-family: var(--wf-font-display); }
.block-text, .list-block { max-width: 40em; }
.quote-card { border-top: 1px solid var(--rule-light); padding-top: var(--space-3); font-family: var(--wf-font-display); font-size: var(--fs-h3); }
.content-image { border-radius: var(--radius); }
.divider { border: 0; border-top: 1px solid var(--rule-light); margin-block: var(--space-4); }
.spacer-small { height: var(--space-3); } .spacer-medium { height: var(--space-5); } .spacer-large { height: var(--space-7); }
.feature-card, .stat-card, .profile-card { border-top: 1px solid var(--rule-light); padding-top: var(--space-3); }
.faq-item { border-bottom: 1px solid var(--rule-light); }
.contact-details { font-style: normal; }
.video-block, .video-link { display: block; }


/* ---------- The work index (signature): a dark gallery room ---------- */
.work__head { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: end; margin-bottom: var(--space-5); }
.work__head h2 { margin: 0; }
.work__head p { margin: 0; color: var(--frost); max-width: 30em; }
.work__body { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); align-items: start; }
.work__list { list-style: none; counter-reset: work; border-top: 1px solid var(--rule-dark); }
.work__item { counter-increment: work; position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.05rem; border-bottom: 1px solid var(--rule-dark); cursor: pointer; }
.work__item::before { content: counter(work, decimal-leading-zero); grid-row: 1 / span 2; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--frost); padding-top: 0.3rem; }
.work__item h3 { grid-column: 2; margin: 0 0 0.2rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); letter-spacing: 0; text-transform: none; font-family: var(--wf-font-body); font-weight: 600; font-weight: 400; }
.work__item p { grid-column: 2; margin: 0; font-size: var(--fs-small); color: var(--frost); }
.work__item img { grid-column: 2; margin-top: 0.85rem; width: 100%; max-width: 560px; }
.work__item.is-active h3, .work__item:hover h3 { text-decoration: underline; text-decoration-color: var(--frost); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.work__item.is-active::before { color: var(--wf-on-primary); }
.work__preview { display: none; }
.work__more { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: var(--space-5) 0 0; }
/* With the script on a wide screen: rows on the left, the chosen piece large on the right. */
@media (min-width: 981px) {
  .has-preview .work__item img { display: none; }
  .work__body { align-items: stretch; }
  /* One frame the height of the list: every piece is cropped to fill it, so nothing jumps. */
  .has-preview .work__preview { display: block; position: relative; min-height: 380px; }
  .work__preview-frame { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; }
  .work__preview img { flex: 1 1 auto; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
  .work__preview figcaption { flex: none; margin-top: 0.75rem; color: var(--frost); }
  .work__item { padding-block: 0.85rem; }
}
@media (max-width: 980px) {
  .work__body { grid-template-columns: 1fr; }
  .work__head { grid-template-columns: 1fr; gap: var(--space-2); margin-bottom: var(--space-4); }
  .work__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 1rem; border: 0; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.75rem; scrollbar-width: none; }
  .work__list::-webkit-scrollbar { display: none; }
  .work__item { flex: 0 0 78vw; max-width: 460px; scroll-snap-align: start; display: flex; flex-direction: column; border: 0; padding: 0; }
  .work__item::before { padding: 0; margin-bottom: 0.25rem; font-size: var(--fs-small); }
  .work__item img { order: -1; margin: 0 0 0.85rem; aspect-ratio: 4 / 3; object-fit: cover; }
}


/* ---------- The maker ---------- */
.maker { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); align-items: start; }
.maker__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.maker__photo img { width: 100%; max-width: 520px; }
.maker--text { grid-template-columns: var(--split-body); }
.stages { list-style: none; counter-reset: stage; margin-top: var(--space-4); border-top: 1px solid var(--rule-light); }
.ground-navy .stages, .ground-navy .stage { border-color: var(--rule-dark); }
.stage { counter-increment: stage; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rule-light); }
.stage::before { content: counter(stage); grid-row: 1 / span 2; font-family: var(--wf-font-display); font-size: 1.5rem; line-height: 1.2; color: var(--wf-accent); }
.ground-navy .stage::before { color: var(--frost); }
.stage h3 { grid-column: 2; font-family: var(--wf-font-body); font-weight: 600; font-size: 1.0625rem; margin: 0 0 0.2rem; }
.stage p { grid-column: 2; margin: 0; color: var(--wf-muted); }
.ground-navy .stage p { color: var(--frost); }
.after-list { margin-top: var(--space-3); }
.maker--home { grid-template-columns: var(--split-body); align-items: center; }
.maker--home .maker__photo { position: static; }
.stages--across { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: var(--space-5); border-top: 1px solid var(--rule-light); }
.stages--across .stage { grid-template-columns: 1fr; align-content: start; border-bottom: 0; padding-block: var(--space-3) 0; }
.stages--across .stage::before { grid-row: auto; margin-bottom: 0.75rem; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); line-height: 1; color: var(--wf-primary); }
.stages--across .stage h3, .stages--across .stage p { grid-column: 1; }
@media (max-width: 1000px) { .stages--across { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stages--across { grid-template-columns: 1fr; } .stages--across .stage { grid-template-columns: 2.5rem minmax(0, 1fr); border-bottom: 1px solid var(--rule-light); padding-block: 1.1rem; } .stages--across .stage::before { grid-row: 1 / span 2; margin: 0; } .stages--across .stage h3, .stages--across .stage p { grid-column: 2; } }
@media (max-width: 860px) { .maker, .maker--text { grid-template-columns: 1fr; } .maker__photo { position: static; } }


/* ---------- Rooms: photo tiles to the galleries ---------- */
.rooms { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); align-items: start; }
.rooms--three { grid-template-columns: calc((100% - var(--gap)) * 5 / 12) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.room { display: grid; text-decoration: none; color: inherit; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 0.9rem; }
/* Both room photos share one height, on the same split as the list below. */
@media (min-width: 761px) { .rooms .room img { aspect-ratio: auto; height: clamp(260px, 28vw, 420px); } }
.rooms--three .room:not(.room--lead) img { aspect-ratio: 4 / 5; }
.room__name { font-family: var(--wf-font-body); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.3; }
.room__note { color: var(--wf-muted); font-size: var(--fs-small); }
.room:hover .room__name { text-decoration: underline; text-decoration-color: var(--wf-accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.rooms__also { margin: var(--space-5) 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; max-width: 52em; }
.rooms-section--page { padding-top: var(--space-4); }
.also { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); margin-top: var(--space-6); }
.also__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--rule-light); }
.also__list li { padding-block: 1.1rem; border-bottom: 1px solid var(--rule-light); }
.also__list p { margin: 0; color: var(--wf-muted); }
@media (max-width: 860px) {
  .rooms, .rooms--three { grid-template-columns: 1fr; }
  .room:not(.room--lead) img { aspect-ratio: 4 / 3; }
  .also { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .also__list { grid-template-columns: 1fr; } }


/* Pieces that open in the viewer */
[data-viewer] img { cursor: zoom-in; }
.is-viewable:focus-visible { box-shadow: var(--focus); outline: none; }
.ground-navy .is-viewable:focus-visible { box-shadow: 0 0 0 3px var(--wf-on-primary); }

/* ---------- The viewer ---------- */
.viewer { position: fixed; inset: 0; border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: var(--wf-dark); color: var(--wf-on-dark); }
.viewer::backdrop { background: var(--wf-dark); }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer__top { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem var(--gutter); font-size: var(--fs-small); color: var(--frost); font-variant-numeric: tabular-nums; }
.viewer__stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.5rem; padding-inline: clamp(0.25rem, 2vw, 1.5rem); min-height: 0; }
.viewer__frame { margin: 0; display: grid; place-items: center; min-height: 0; height: 100%; }
.viewer__frame img { max-width: 100%; max-height: calc(100svh - 9rem); width: auto; height: auto; object-fit: contain; }
.viewer__caption { text-align: center; padding: 0.75rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); margin: 0; font-family: var(--wf-font-display); font-size: var(--fs-h3); color: var(--wf-on-dark); }
.viewer button { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--rule-dark); border-radius: 999px; background: transparent; color: var(--wf-on-dark); font: 400 1.5rem/1 var(--wf-font-body); cursor: pointer; }
.viewer button:hover { background: color-mix(in oklab, var(--wf-on-dark) 12%, transparent); }
.viewer button:focus-visible { box-shadow: 0 0 0 3px var(--wf-on-dark); }
@media (max-width: 600px) { .viewer__stage { grid-template-columns: 1fr; } .viewer__prev, .viewer__next { position: absolute; bottom: 4.5rem; } .viewer__prev { left: var(--gutter); } .viewer__next { right: var(--gutter); } }
html.viewer-open { overflow: hidden; }


/* ---------- Ruled lists: "things we'll decide", timbers, built-in features ---------- */
.ruled { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); }
.ruled ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); border-top: 1px solid var(--rule-light); align-self: start; }
.ruled li { padding-block: 1rem; border-bottom: 1px solid var(--rule-light); }
.ruled__photo { margin: var(--space-4) 0 0; }
.ruled__photo img { width: 100%; max-width: 480px; }
@media (max-width: 860px) { .ruled { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ruled ul { grid-template-columns: 1fr; } }

/* ---------- Story and years (about) ---------- */
.story { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: center; }
.story__photo { margin: 0; } .story__photo img { width: 100%; max-width: 640px; }
.story__body p { max-width: 36em; }
.years { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--space-5); border-top: 1px solid var(--rule-dark); }
.year { padding-top: var(--space-3); }
.year h3 { font-size: var(--fs-h2); margin-bottom: var(--space-2); }
.year p { color: var(--frost); margin: 0; }
@media (max-width: 860px) { .story, .years { grid-template-columns: 1fr; } }

/* ---------- Contact page: channels, questions ---------- */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--rule-light); padding-top: var(--space-4); }
.channel h2 { font-family: var(--wf-font-body); font-size: 0.95rem; font-weight: 600; color: var(--wf-muted); margin-bottom: var(--space-1); }
.channel > a, .channel address { font-family: var(--wf-font-body); font-weight: 600; font-size: 1.25rem; line-height: 1.3; overflow-wrap: anywhere; display: block; margin-bottom: var(--space-1); }
.channel p { font-size: var(--fs-small); color: var(--wf-muted); margin: 0; }
@media (max-width: 1000px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .channels { grid-template-columns: 1fr; } }
.faqs-wrap { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); }
.faqs { border-top: 1px solid var(--wf-text); }
.faq { border-bottom: 1px solid var(--rule-light); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 64px; padding-block: 1rem; cursor: pointer; list-style: none; font-family: var(--wf-font-body); font-weight: 600; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--wf-font-body); font-size: 1.5rem; color: var(--wf-accent); flex: none; transition: transform 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: var(--space-3); margin: 0; color: var(--wf-muted); max-width: 40em; }
@media (max-width: 860px) { .faqs-wrap { grid-template-columns: 1fr; } }

/* ---------- Closing contact block ---------- */
.close { background: var(--wf-primary); color: var(--wf-on-primary); }
.close .close__words p, .close .close__channels dt { color: var(--wf-on-primary); }
.close .close__channels { border-top-color: var(--wf-on-primary); }
.close .close__channels div { border-bottom-color: color-mix(in oklab, var(--wf-on-primary) 30%, transparent); }
.close .close__channels a { text-decoration-color: var(--wf-on-primary); }
.close :focus-visible { box-shadow: 0 0 0 3px var(--wf-on-primary); }
.close__grid { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: start; }
.close__words h2 { max-width: 13em; }
.close__words p { color: var(--wf-muted); max-width: 32em; }
.close__words .actions { margin-top: var(--space-4); }
.close__channels { margin: 0; border-top: 1px solid var(--wf-text); }
.close__channels div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--rule-light); align-items: baseline; }
.close__channels dt { font-size: var(--fs-small); color: var(--wf-muted); }
.close__channels dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.close__channels a { text-decoration-color: var(--wf-accent); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 860px) { .close__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .close__channels div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- Enquiry form ---------- */
.form-grid { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); align-items: start; }
.form-grid h2 { max-width: 10em; }
.form-grid > div > p { color: var(--wf-muted); }
.enquiry { background: var(--mat); color: var(--wf-text); padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-print); }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0.7rem 0.85rem; border: 1px solid var(--wf-muted); border-radius: var(--radius); background: transparent; color: var(--wf-text); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: none; outline: 3px solid var(--wf-primary); outline-offset: 2px; }
.honey { position: absolute; left: -9999px; }
.enquiry .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 0.9rem 1rem; border: 1px solid var(--wf-accent); background: var(--paper-2); }
.form-status--error { border-color: var(--wf-primary); }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .enquiry { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: var(--space-4); }
.lost__links a { min-height: 44px; display: inline-flex; align-items: center; }


/* ---------- Footer: a pale mast ---------- */
.site-footer { background: var(--mat); color: var(--wf-text); --wf-muted: var(--muted-strong); border-top: 1px solid var(--rule-light); padding-top: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }
.mast { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 2rem); font-family: var(--wf-font-display); font-weight: 600; font-size: clamp(1.75rem, 0.75rem + 3.5vw, 3.75rem); line-height: 0.9; letter-spacing: 0.06em; color: var(--wf-primary); margin: 0 0 var(--space-4); white-space: nowrap; }
.mast svg { width: 0.62em; height: 0.62em; flex: none; }
.mast small { display: block; font-size: 0.28em; letter-spacing: 0.34em; margin-top: 0.4em; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-3) var(--gap); padding-bottom: var(--space-4); }
.footer-cols h2 { font-family: var(--wf-font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--space-1); color: var(--wf-primary); }
.footer-cols ul { list-style: none; }
.footer-cols li a, .footer-cols p a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.footer-cols li a:hover, .footer-cols p a:hover { text-decoration: underline; }
.footer-cols address { margin-bottom: var(--space-2); }
.socials { display: flex; gap: 0.25rem; }
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-light); border-radius: 999px; color: var(--wf-primary); }
.socials a:hover { background: var(--wf-primary); color: var(--wf-on-primary); }
.site-footer .socials a { border-color: color-mix(in oklab, var(--wf-primary) 30%, transparent); color: var(--wf-primary); }
.site-footer .socials a:hover { background: var(--wf-primary); color: var(--wf-on-primary); }
.socials svg { width: 18px; height: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; align-items: center; padding-block: var(--space-2); border-top: 1px solid color-mix(in oklab, var(--wf-primary) 22%, transparent); font-size: var(--fs-small); color: var(--muted-strong); }
.wf-credit { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted-strong); text-decoration: none; min-height: 40px; }
.wf-credit img { width: 18px; height: 18px; border-radius: 4px; }
.wf-credit:hover { color: var(--wf-primary); text-decoration: underline; }
.site-footer :focus-visible { box-shadow: var(--focus); }
@media (max-width: 1000px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > :first-child, .footer-cols > :last-child { grid-column: 1 / -1; } .site-footer { padding-bottom: 76px; } }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--wf-primary); border-top: 1px solid var(--rule-dark); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar .btn { min-height: 50px; padding-inline: 0.5rem; }
  .mobile-bar .btn--line { color: var(--wf-on-primary); }
  body.no-mobile-bar .site-footer { padding-bottom: 0; }
}

/* ---------- Type: the logo's capitals for headings ---------- */
h1, h2 { font-family: var(--wf-font-display); font-weight: 400; letter-spacing: 0.04em; line-height: 1.12; text-transform: uppercase; }
h3 { font-family: var(--wf-font-body); font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem); }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.55; }

/* A small snowflake from the logo above section headings: the site's one ornament. */
.flake { display: block; width: 22px; height: 22px; color: var(--wf-accent); margin-bottom: var(--space-3); }
.ground-navy .flake, .banner .flake, .hero .flake { color: var(--frost); }

/* Grounds */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--space-6); }
.ground-navy { background: var(--wf-primary); color: var(--wf-on-primary); }
.ground-paper { background: var(--wf-light); color: var(--wf-on-light); }
.ground-paper2 { background: var(--paper-2); color: var(--wf-on-light); }
.ground-navy figcaption, .ground-navy .muted { color: var(--frost); }
.ground-navy :focus-visible { box-shadow: 0 0 0 3px var(--wf-on-primary); }
figcaption, .caption { font-size: var(--fs-small); margin-top: 0.75rem; color: var(--wf-muted); }
.muted { color: var(--wf-muted); }
.tbc { background: color-mix(in oklab, var(--wf-accent) 18%, transparent); color: var(--wf-text); padding: 0 0.25em; font-style: normal; }

.section-head { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: end; margin: 0 auto var(--space-5); max-width: var(--gallery-w); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--wf-muted); max-width: 30em; }
.section-foot { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center; justify-content: flex-start; margin: var(--space-5) 0 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ---------- Buttons: the logo's capsule outline ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 50px; padding: 0.75rem 1.6rem; border: 1.5px solid transparent; border-radius: var(--pill); font: 600 0.9375rem/1.2 var(--wf-font-body); letter-spacing: 0.04em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn:active { transform: translateY(1px); }
/* Every solid button is the highlight colour, with charcoal words, on light and dark grounds alike. */
.btn--navy, .btn--light { background: var(--wf-accent); color: var(--wf-on-accent); border-color: var(--wf-accent); }
.btn--navy:hover, .btn--light:hover { background: color-mix(in oklab, var(--wf-accent) 80%, var(--wf-dark)); border-color: color-mix(in oklab, var(--wf-accent) 80%, var(--wf-dark)); color: var(--wf-on-accent); }
.btn--line { border-color: currentColor; background: transparent; color: inherit; }
.btn--line:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
.arrow-link { display: inline-flex; gap: 0.5em; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--wf-accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; color: inherit; }
.ground-navy .arrow-link, .banner .arrow-link { text-decoration-color: var(--frost); }
.arrow-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.actions--center { justify-content: center; }

/* ---------- Wordmark: the logo, redrawn ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: inherit; line-height: 1; }
.wordmark__pill { display: inline-flex; align-items: center; gap: 0.45em; border: 1.5px solid currentColor; border-radius: var(--pill); padding: 0.3em 0.85em 0.26em 0.55em; font-family: var(--wf-font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.08em; }
.wordmark__pill svg { width: 1.05em; height: 1.05em; flex: none; }
.wordmark__sub { font-family: var(--wf-font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; padding-left: 0.22em; }

/* ---------- Header: cream, the logo in walnut ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--wf-light); color: var(--wf-primary); border-bottom: 1px solid var(--rule-light); }
.site-header__bar { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.site-header .wordmark { margin-right: auto; }
.nav { display: flex; gap: 0.25rem; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.55rem; white-space: nowrap; text-decoration: none; font-size: 0.95rem; letter-spacing: 0.02em; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--wf-accent); text-decoration-thickness: 1px; text-underline-offset: 0.5em; }
.header-phone { text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.site-header .btn { min-height: 44px; padding: 0.55rem 1.2rem; }
.site-header :focus-visible { box-shadow: var(--focus); }
.menu { display: none; }
/* Ten links and the phone need about 1360px: between the menu and that, the phone steps out (it is in the footer and the close of every page). */
@media (min-width: 1141px) and (max-width: 1379px) { .header-phone { display: none; } .nav a { padding: 0 0.45rem; } }
@media (max-width: 1140px) {
  .site-header .nav, .site-header .header-phone { display: none; }
  .menu { display: block; position: static; }
  .menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; justify-content: center; cursor: pointer; font-weight: 600; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu__icon { width: 22px; height: 14px; border-block: 2px solid currentColor; position: relative; }
  .menu__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
  .menu[open] .menu__panel { display: block; }
  .menu__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wf-light); border-top: 1px solid var(--rule-light); padding: var(--space-2) var(--gutter) var(--space-4); color: var(--wf-primary); border-bottom: 1px solid var(--rule-light); }
  .menu__panel a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--rule-light); text-decoration: none; font-family: var(--wf-font-display); font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .menu__panel .menu__phone { font-family: var(--wf-font-body); font-size: 1.05rem; font-weight: 600; text-transform: none; letter-spacing: 0; border: 0; margin-top: var(--space-2); }
}
@media (max-width: 560px) { .site-header .btn { display: none; } .wordmark__pill { font-size: 1.02rem; } .wordmark__sub { font-size: 0.68rem; } }

/* ---------- Home hero: two pieces side by side, the logo's words on charcoal beneath ---------- */
.hero { background: var(--wf-primary); color: var(--wf-on-primary); }
.hero :focus-visible { box-shadow: 0 0 0 3px var(--wf-on-primary); }
.hero__photos { display: grid; grid-template-columns: 1fr 1fr; height: clamp(320px, calc(100svh - var(--header-h) - 18rem), 600px); }
.hero__photo { margin: 0; position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--work img { object-position: 50% 72%; }
.hero__photo--maker img { object-position: 50% 55%; }
.hero__photo figcaption { position: absolute; left: var(--gutter); bottom: 1rem; margin: 0; color: var(--wf-on-dark); font-family: var(--wf-font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; text-shadow: 0 1px 10px color-mix(in oklab, var(--wf-dark) 85%, transparent); }
.hero__photo--maker figcaption { left: auto; right: var(--gutter); }
.hero__band { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: center; padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.hero h1 { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3.125rem); margin: 0; }
.hero__proof { color: var(--frost); margin-bottom: var(--space-3); }
@media (max-width: 760px) {
  .hero__photos { grid-template-columns: 1fr; height: auto; }
  .hero__photo--work { aspect-ratio: 16 / 9; }
  .hero__photo--maker { display: none; }
  .hero__band { grid-template-columns: 1fr; gap: var(--space-2); padding-block: var(--space-3) var(--space-5); }
  .hero__proof { font-size: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: unveil 1.3s var(--ease) both; }
  .hero__photo--maker img { animation-delay: 0.2s; }
  .hero__band > * { animation: rise-soft 0.9s 0.25s var(--ease) both; }
}
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise-soft { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- Proof: the facts, and clients' words ---------- */
.proof { display: grid; grid-template-columns: var(--split-body); gap: var(--gap); align-items: start; }
.proof h2 { margin: 0; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--wf-text); }
.facts div { display: grid; gap: 0.6rem; align-content: start; padding-top: var(--space-3); }
.facts dt { font-family: var(--wf-font-display); font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); line-height: 1; color: var(--wf-primary); }
.facts dd { margin: 0; color: var(--wf-text); max-width: 16em; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts div { grid-template-columns: 6rem minmax(0, 1fr); align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--rule-light); } }

/* ---------- The workshop: one full-width moment, the maker's story on a cream panel over it ---------- */
.workshop { padding-block: var(--section-y); }
.workshop .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.workshop__photo { margin: 0; grid-area: 1 / 1; }
.workshop__photo img { width: 100%; max-width: 1334px; aspect-ratio: 16 / 8; object-fit: cover; object-position: 55% 40%; }
.workshop__panel { grid-area: 1 / 1; align-self: end; justify-self: start; position: relative; width: min(540px, 46%); margin: 0 0 clamp(1.5rem, 0.5rem + 2.5vw, 3rem) clamp(1.5rem, 0.5rem + 2.5vw, 3rem); background: var(--wf-light); color: var(--wf-text); padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); box-shadow: var(--shadow-print); }
.workshop__panel h2 { color: var(--wf-primary); }
.workshop__panel p { color: var(--muted-strong); }
/* Stages run under the photo. */
.workshop .stages--across { grid-row: 2; }
@media (max-width: 1200px) { .workshop .stages--across { grid-row: 3; } .workshop__panel { grid-area: 2 / 1; align-self: start; width: auto; margin: -3rem var(--space-2) 0; } }
@media (max-width: 760px) { .workshop__photo img { aspect-ratio: 4 / 3; } }

/* ---------- Inner page banner: a walnut band ---------- */
.banner { background: var(--wf-primary); color: var(--wf-on-primary); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.25rem) clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
.banner h1 { margin-bottom: var(--space-3); max-width: 18em; }
.banner__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-3) var(--gap); }
.banner .lede { max-width: 36em; margin: 0; color: var(--frost); }
.banner--light { background: var(--paper-2); color: var(--wf-text); }
/* Grey text darkens on the tan ground, to keep 4.5:1. */
.ground-paper2, .banner--light { --wf-muted: var(--muted-strong); }
.banner--light .lede { color: var(--wf-muted); }
.crumbs { font-size: var(--fs-small); color: var(--frost); margin-bottom: var(--space-3); }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; }
.count { font-size: var(--fs-small); color: var(--frost); font-variant-numeric: tabular-nums; margin: 0; }

/* Filter chips (gallery page): the logo's capsule */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; padding: 0.5rem 1.1rem; border: 1.5px solid var(--rule-dark); border-radius: var(--pill); background: transparent; color: var(--wf-on-primary); font: 600 0.9rem/1 var(--wf-font-body); letter-spacing: 0.03em; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.chip span { font-variant-numeric: tabular-nums; opacity: 0.75; }
.chip:hover { border-color: var(--wf-on-primary); }
.chip[aria-pressed="true"] { background: var(--wf-on-primary); color: var(--wf-primary); border-color: var(--wf-on-primary); }
.chip:focus-visible { box-shadow: 0 0 0 3px var(--wf-on-primary); outline: none; }
.gallery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Galleries: set slot shapes, each photo placed where its shape fits ---------- */
.section--gallery { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 12vw + 87px, 280px); grid-auto-flow: dense; gap: clamp(0.75rem, 0.4rem + 1vw, 1.25rem); max-width: var(--gallery-w); margin-inline: auto; }
.gallery__item { position: relative; overflow: hidden; background: var(--paper-2); margin: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
/* Mixed: a group of six: large, small, tall, small, wide, wide */
.gallery--mixed > li:nth-of-type(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery--mixed > li:nth-of-type(6n + 3) { grid-row: span 2; }
.gallery--mixed > li:nth-of-type(6n + 5), .gallery--mixed > li:nth-of-type(6n + 6) { grid-column: span 2; }
/* A group that ends early still fills its rows */
.gallery--mixed > li:nth-of-type(6n + 1):last-of-type { grid-column: span 4; }
.gallery--mixed > li:nth-of-type(6n + 2):last-of-type { grid-column: span 2; grid-row: span 2; }
.gallery--mixed > li:nth-of-type(6n + 2):nth-last-of-type(2) { grid-row: span 2; }
.gallery--mixed > li:nth-of-type(6n + 5):last-of-type { grid-column: span 4; grid-row: span 2; }
/* Landscape: a group of three: large, wide, wide; the large one changes sides */
.gallery--landscape > li { grid-column: span 2; }
.gallery--landscape > li:nth-of-type(3n + 1) { grid-row: span 2; }
.gallery--landscape > li:nth-of-type(6n + 4) { grid-column: 3 / span 2; }
.gallery--landscape > li:nth-of-type(3n + 1):last-of-type { grid-column: 1 / -1; grid-row: span 2; }
.gallery--landscape > li:nth-of-type(3n + 2):last-of-type { grid-row: span 2; }
/* Filtered (gallery page): one even grid */
.gallery.is-filtered { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.gallery.is-filtered > li { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3; }

/* Captions rise over the photo on hover and focus; always shown on touch screens */
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 0.9rem; background: linear-gradient(to top, color-mix(in oklab, var(--wf-dark) 88%, transparent) 0%, color-mix(in oklab, var(--wf-dark) 55%, transparent) 55%, transparent); color: var(--wf-on-dark); font-family: var(--wf-font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery__caption { transform: translateY(101%); transition: transform 0.45s var(--ease); }
  .gallery__item:hover .gallery__caption, .gallery__item:focus-visible .gallery__caption, .gallery__item:focus-within .gallery__caption { transform: none; }
}
.gallery__item img { transition: filter 0.45s var(--ease); }
@media (hover: hover) { .gallery__item:hover img { filter: brightness(1.06); } }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery--mixed > li:nth-of-type(n) { grid-column: auto; grid-row: auto; }
  .gallery--mixed > li:nth-of-type(6n + 1) { grid-column: span 2; grid-row: span 2; }
  .gallery--mixed > li:nth-of-type(6n + 3) { grid-row: span 2; }
  .gallery--mixed > li:nth-of-type(6n + 5), .gallery--mixed > li:nth-of-type(6n + 6) { grid-column: span 2; }
  .gallery--mixed > li:nth-of-type(6n + 5):last-of-type, .gallery--mixed > li:nth-of-type(6n + 1):last-of-type { grid-column: span 2; }
  .gallery--landscape > li:nth-of-type(n) { grid-column: span 2; grid-row: span 1; }
  .gallery--landscape > li:nth-of-type(3n + 1) { grid-row: span 2; }
  .gallery.is-filtered { grid-template-columns: 1fr 1fr; }
  .gallery__caption { font-size: 0.75rem; padding: 2rem 0.75rem 0.65rem; }
}

/* ---------- Motion: drawn by scrolling where the browser can, and never needed to see anything ---------- */
/* One entrance for the whole site (site.js adds .reveal only to what is still below the first screen):
   words rise a little, photos fade and settle inside their own frame, so nothing leaves the grid. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
  .js .reveal--photo { transform: none; overflow: hidden; }
  .js .reveal--photo img { transform: scale(1.045); transition: transform 1.3s var(--ease), filter 0.45s var(--ease); transition-delay: var(--reveal-delay, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal--photo.is-in img { transform: none; }
  .btn { transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: linear-gradient(to bottom, color-mix(in oklab, var(--wf-dark) 22%, transparent), transparent); opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none; }
  .site-header.is-scrolled::after { opacity: 1; }
}
@keyframes rise { from { transform: translateY(48px); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
@keyframes settle { from { opacity: 0.35; } to { opacity: 1; } }

/* ---------- The viewer: crossfade between pieces ---------- */
@media (prefers-reduced-motion: no-preference) { .viewer__frame img.is-changing { animation: fade-in 0.4s var(--ease); } }
@keyframes fade-in { from { opacity: 0.2; transform: scale(0.985); } to { opacity: 1; transform: none; } }
.viewer__caption { font-family: var(--wf-font-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.05rem; }

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

/* ---------- Polish pass: type, tone, banners, motif ---------- */
/* Labels and captions in the body face, sentence case: Cinzel capitals stay for h1, h2 and the wordmark. */
.footer-cols h2, .channel h2 { text-transform: none; letter-spacing: 0; }
.hero__photo figcaption, .gallery__caption, .viewer__caption, .menu__panel a { text-transform: none; letter-spacing: 0; font-family: var(--wf-font-body); font-weight: 600; }
.gallery__caption { font-size: 0.9375rem; }
.hero__photo figcaption { font-size: 0.9375rem; }
.viewer__caption { font-size: 1.05rem; }

/* The photos that set a page (hero pair and banners) stay in full colour, with the same gentle warm grade as the rest. */
.tone { position: relative; }
.tone img { filter: saturate(0.95) sepia(0.06) contrast(1.04); }
.tone figcaption { z-index: 1; }

/* Every other colour photo: one gentle warm grade, so phone photos read as a set. */
.gallery__item img, .room img, .work__item img, .work__preview img, .ruled__photo img { filter: saturate(0.9) sepia(0.1) contrast(1.04); }
@media (hover: hover) { .gallery__item:hover img { filter: saturate(0.9) sepia(0.1) contrast(1.04) brightness(1.06); } }

/* Inner banners with a photo: words on the head split, the photo bleeding to the right edge, full banner height. */
.banner--photo { position: relative; overflow: hidden; padding-block: 0; }
.banner--photo .banner__grid { display: grid; grid-template-columns: var(--split-head); gap: var(--gap); align-items: stretch; }
.banner__words { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.25rem) clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
.banner__words .banner__foot { justify-content: flex-start; }
.banner__photo { margin: 0 calc(-1 * (var(--gutter) + max(0px, (100vw - var(--container) - 2 * var(--gutter)) / 2))) 0 0; min-height: 300px; }
.banner__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .banner--photo .banner__grid { grid-template-columns: 1fr; gap: 0; }
  .banner__photo { order: -1; margin-inline: calc(-1 * var(--gutter)); min-height: 0; height: clamp(180px, 42vw, 300px); }
}

/* The snowflake from the banner, large and faint on walnut. */
.has-frost { position: relative; overflow: hidden; isolation: isolate; }
.frost { position: absolute; z-index: -1; width: clamp(420px, 52vw, 820px); height: auto; right: -10%; top: -22%; color: var(--wf-on-primary); opacity: 0.06; pointer-events: none; }

/* Proof: a short band, the facts in one row. */
.proof-section { padding-block: clamp(3rem, 2rem + 3vw, 5rem); background: var(--paper-2); }

/* Process steps: the titles share a height, so every step's text starts on one line. */
@media (min-width: 1001px) { .stages--across .stage h3 { min-height: 2.6em; } }
/* Phones: the steps become a swipe row. */
@media (max-width: 760px) {
  .stages--across { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.75rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; border-top: 0; }
  .stages--across::-webkit-scrollbar { display: none; }
  .stages--across .stage { flex: 0 0 72vw; max-width: 320px; scroll-snap-align: start; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-light); border-bottom: 0; padding-block: var(--space-3) 0; }
  .stages--across .stage::before { grid-row: auto; margin: 0 0 0.6rem; }
  .stages--across .stage h3, .stages--across .stage p { grid-column: 1; }
}

/* Phones: a shorter footer. */
@media (max-width: 560px) {
  .site-footer { padding-top: var(--space-4); }
  .mast { font-size: 1.75rem; margin-bottom: var(--space-3); }
  .footer-cols { gap: var(--space-2) var(--gap); padding-bottom: var(--space-3); }
  .footer-cols > :last-child { display: none; }
  .footer-cols li a, .footer-cols p a { min-height: 30px; }
}
/* Placeholders stay readable on dark grounds. */
.ground-navy .tbc, .banner .tbc, .close .tbc, .workshop__panel .tbc { background: var(--wf-light); color: var(--wf-text); }

/* "Pieces from the workshop" on a pale ground. */
.ground-mat { background: var(--mat); color: var(--wf-text); --wf-muted: var(--muted-strong); }
.ground-mat h2 { color: var(--wf-primary); }
.ground-mat .frost { color: var(--wf-primary); opacity: 0.045; }
.ground-mat .work__head p, .ground-mat .work__item p, .ground-mat .work__item::before, .ground-mat .work__preview figcaption { color: var(--muted-strong); }
.ground-mat .work__list, .ground-mat .work__item { border-color: var(--rule-light); }
.ground-mat .work__item.is-active::before { color: var(--wf-primary); }
.ground-mat .work__item.is-active h3, .ground-mat .work__item:hover h3 { text-decoration-color: var(--wf-accent); }
