/* Busselton Furniture Products · V0.2
   World: paper and bark, real photography, Fraunces display, Inter text,
   Fragment Mono for measured specs only. Ochre is reserved for the
   consultation action. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("../fonts/fragment-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F5EFE6;
  --paper-2: #EDE4D6;
  --sheet: #FBF8F3;
  --ink: #24211C;
  --text: #3A352E;
  --muted: #675E52;
  --line: #DCD1BF;
  --field: #7D7262;

  --bark: #373121;
  --bark-deep: #2C2719;
  --bark-rule: #5A513C;
  --clay: #F1D0B0;
  --sand: #D9C8B0;
  --sand-light: #E6D6C0;
  --sand-dim: #AD9D84;
  --index-dim: #A3937A;

  --action: #D6A15A;
  --action-hover: #E2B370;
  --link: #8A5A22;
  --error: #9C3B2B;
  --error-bg: #FBF1EC;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 72px;
  --section: clamp(4.5rem, 10vw, 9rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --focus: var(--link);
}
@media (min-width: 1080px) {
  :root { --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scrollbar-color: var(--link) var(--paper-2);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}
h2 { font-size: clamp(2.125rem, 4.4vw, 3.875rem); }
h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); font-weight: 400; font-variation-settings: "opsz" 48; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
::selection { background: var(--clay); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-pad { padding-inline: max(var(--gutter), (100% - var(--max)) / 2); }

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--action);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Actions and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 2px;
  font: 600 .96875rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease-out);
}
.btn-action { background: var(--action); color: var(--ink); }
.btn-action:hover { background: var(--action-hover); }
.btn-action:active { transform: translateY(1px); }

.link-light,
.link-dark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-thickness .2s ease, color .2s ease;
}
.link-light { color: var(--paper); text-decoration-color: var(--clay); }
.link-dark { color: var(--ink); text-decoration-color: var(--link); }
.link-light:hover,
.link-dark:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--paper);
  --focus: var(--clay);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-solid,
.menu-open .site-header {
  background: rgba(55, 49, 33, .97);
  box-shadow: 0 1px 0 rgba(241, 208, 176, .12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  height: 100%;
}
.brand { display: inline-flex; padding: 6px 0; margin-right: auto; }
.brand img { height: 48px; width: auto; }
.nav ul { display: flex; gap: clamp(1.25rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.nav a,
.tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  text-decoration: none;
  color: var(--paper);
  background: linear-gradient(var(--clay), var(--clay)) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.nav a:hover,
.tel:hover { background-size: 100% 1px; }
.header-cta { min-height: 44px; padding: 0 1.15rem; font-size: .90625rem; }
.nav, .site-header .tel, .site-header .header-cta { display: none; }
.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(241, 208, 176, .45);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
@media (min-width: 720px) {
  .site-header .header-cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .brand img { height: 56px; }
  .nav { display: block; }
  .menu-btn { display: none; }
}
@media (min-width: 1280px) {
  .site-header .tel { display: inline-flex; }
}

.menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--bark);
  color: var(--paper);
  overflow-y: auto;
  --focus: var(--clay);
}
.menu[hidden] { display: none; }
.menu ul { margin: 0; padding: 0; list-style: none; }
.menu li + li { border-top: 1px solid var(--bark-rule); }
.menu nav a {
  display: block;
  padding: .7rem 0;
  font: 300 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--display);
  font-variation-settings: "opsz" 144;
  color: var(--paper);
  text-decoration: none;
}
.menu-foot { display: grid; gap: .75rem; margin-top: 2rem; }
.menu-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(241, 208, 176, .45);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
}
@media (min-width: 1080px) {
  .menu { display: none !important; }
}

/* ---------- First viewport: the room index ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bark);
  color: var(--paper);
  --focus: var(--clay);
}
.hero-photo {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: max(26rem, 62vh);
  min-height: max(26rem, 62svh);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--bark-deep); }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .9s var(--ease-out), transform 1.8s var(--ease-out);
}
.hero-img.is-active { opacity: 1; transform: none; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28, 24, 18, .62) 0%, rgba(28, 24, 18, .5) 45%, rgba(28, 24, 18, .7) 100%);
}
@media (min-width: 900px) {
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(28, 24, 18, .55) 0%, rgba(28, 24, 18, 0) 20%),
      linear-gradient(90deg, rgba(28, 24, 18, .8) 0%, rgba(28, 24, 18, .46) 40%, rgba(28, 24, 18, 0) 70%),
      linear-gradient(0deg, rgba(28, 24, 18, .32) 0%, rgba(28, 24, 18, 0) 32%);
  }
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 6vh, 4.5rem));
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}
.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.75rem, 6.3vw, 5.75rem);
  line-height: .98;
  letter-spacing: -0.028em;
  color: var(--paper);
}
.hero-sub {
  max-width: 31em;
  margin-bottom: 2rem;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: var(--sand-light);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.index-band {
  display: flex;
  padding: clamp(1.75rem, 4.5vh, 3.25rem) 0 clamp(1.25rem, 3vh, 2rem);
  background: var(--bark);
}
.index-band > .wrap { display: flex; flex-direction: column; }
.index-band h2 { color: var(--paper); }
.rooms {
  position: relative;
  display: flex;
  gap: clamp(1.75rem, 3.4vw, 3.25rem);
  margin: 0;
  padding: 0 18% .5rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
  mask-image: linear-gradient(90deg, #000 82%, transparent);
}
.rooms.is-scrolled {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 82%, transparent);
}
.rooms::-webkit-scrollbar { display: none; }
.room {
  position: relative;
  padding: .12em 0 .22em;
  border: 0;
  background: none;
  font: 300 clamp(2.5rem, 5.7vw, 5.375rem)/1 var(--display);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.022em;
  white-space: nowrap;
  color: var(--index-dim);
  cursor: pointer;
  transition: color .4s ease;
}
.room::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.room:hover { color: var(--sand); }
.room[aria-pressed="true"] { color: var(--paper); }
.room[aria-pressed="true"]::after { transform: scaleX(1); }

.index-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  margin-top: clamp(.75rem, 2vh, 1.25rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--bark-rule);
}
.spec-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.25rem; }
.spec {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.75rem;
  margin: 0;
  font: 400 .875rem/1.4 var(--mono);
  color: var(--sand);
}
.spec div { display: flex; gap: .65rem; }
.spec dt { color: var(--sand-dim); }
.spec dd { margin: 0; color: var(--paper); }
.spec-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  color: var(--clay);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.proof {
  max-width: 28rem;
  margin: 0;
  text-wrap: balance;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--sand);
}
@media (min-width: 1280px) {
  .index-foot { flex-wrap: nowrap; }
  .spec-wrap { flex: 1 1 auto; min-width: 0; }
  .proof { flex: 0 0 30rem; max-width: 30rem; text-align: right; }
}

/* ---------- Introduction ---------- */
.intro { padding-block: var(--section); }
.intro-grid { display: grid; gap: 2rem; }
.intro h2 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); max-width: 14ch; }
.intro-text { max-width: 38rem; font-size: 1.125rem; }
.intro-text p:first-child {
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 24;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.4;
  color: var(--ink);
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: repeat(12, 1fr); align-items: end; column-gap: 2rem; }
  .intro h2 { grid-column: 1 / span 6; }
  .intro-text { grid-column: 8 / span 5; }
}

/* ---------- What we make ---------- */
.make { padding-bottom: var(--section); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head p { max-width: 30rem; font-size: 1.125rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: end; }
  .section-head h2 { grid-column: 1 / span 6; }
  .section-head p { grid-column: 8 / span 5; }
}
.sheet { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 2.4vw, 2rem); }
.sheet-item { margin: 0; }
.sheet-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.sheet-item figcaption { max-width: 32rem; margin-top: 1.1rem; }
.sheet-item h3 { margin-bottom: .4rem; }
.sheet-item p { font-size: 1rem; color: var(--text); }
.spec-line { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; margin: .9rem 0 0; font: 400 .8125rem/1.45 var(--mono); }
.spec-line div { display: flex; gap: .55rem; }
.spec-line dt { color: var(--muted); }
.spec-line dd { margin: 0; color: var(--ink); }
#make-builtins img { aspect-ratio: 12 / 5; }
@media (min-width: 1080px) {
  .sheet { grid-template-columns: repeat(12, 1fr); }
  .sheet-lead { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .sheet-lead img { aspect-ratio: auto; height: calc(100% - 10rem); min-height: 34rem; }
  .sheet-side { grid-column: 8 / span 5; }
  .sheet-wide { grid-column: 2 / span 6; grid-row: 3; }
  .sheet-narrow { grid-column: 8 / span 5; grid-row: 3; align-self: end; }
}

.also {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.also h3 { font: 500 1rem/1.4 var(--sans); letter-spacing: 0; color: var(--ink); }
.also ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 300 clamp(1.375rem, 2.3vw, 2rem)/1.3 var(--display);
  font-variation-settings: "opsz" 72;
  color: var(--ink);
}
@media (min-width: 900px) {
  .also { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .also h3 { grid-column: 1 / span 3; padding-top: .55rem; }
  .also ul { grid-column: 4 / span 9; }
}

/* ---------- Featured project ---------- */
.feature { position: relative; background: var(--bark); color: var(--sand); --focus: var(--clay); }
.feature-img { width: 100%; height: clamp(22rem, 62vw, 56rem); max-height: 92vh; object-fit: cover; }
.feature-plate { padding: 2.25rem var(--gutter) 2.75rem; background: var(--bark); }
.feature h2 { max-width: 16ch; margin-bottom: 1rem; font-size: clamp(2rem, 3.4vw, 3.125rem); color: var(--paper); }
.feature-plate > p { max-width: 30rem; color: var(--sand-light); }
.credits { display: grid; gap: .5rem; margin: 1.75rem 0 0; font: 400 .875rem/1.45 var(--mono); }
.credits div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.credits dt { color: var(--sand-dim); }
.credits dd { margin: 0; color: var(--paper); }
@media (min-width: 900px) {
  .feature-plate {
    position: absolute;
    left: var(--gutter);
    bottom: var(--gutter);
    width: min(35rem, 44vw);
    padding: 2.25rem 2.5rem 2.5rem;
    background: rgba(55, 49, 33, .96);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
  }
}

/* ---------- How we work ---------- */
.process {
  padding-block: var(--section);
  background: var(--bark);
  color: var(--sand);
  --focus: var(--clay);
  scrollbar-color: var(--index-dim) transparent;
}
.process h2 { max-width: 15ch; color: var(--paper); }
.process-head { display: grid; gap: 1.5rem; }
.process-head p { max-width: 30rem; font-size: 1.125rem; color: var(--sand-light); }
@media (min-width: 900px) {
  .process-head { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: end; }
  .process-head h2 { grid-column: 1 / span 7; }
  .process-head p { grid-column: 8 / span 5; }
}
.procession { margin-top: clamp(2.5rem, 5vw, 4rem); }
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 24rem);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin: 0;
  padding-top: .5rem;
  padding-bottom: 1.5rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
}
.steps:not(.at-end) {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 9rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 9rem), transparent);
}
.step {
  scroll-snap-align: start;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bark-rule);
  transition: opacity .6s var(--ease-out), border-color .6s ease;
}
.js .step { opacity: .38; }
.js .step.is-current { opacity: 1; border-top-color: var(--clay); }
.step-n {
  display: block;
  margin-bottom: 1.25rem;
  font: 300 clamp(4.5rem, 8vw, 6.5rem)/.85 var(--display);
  font-variation-settings: "opsz" 144;
  color: var(--clay);
}
.step h3 { margin-bottom: .75rem; font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 300; color: var(--paper); }
.step p { max-width: 28rem; }
.step-spec { display: grid; gap: .4rem; margin: 1.5rem 0 0; font: 400 .875rem/1.5 var(--sans); }
.step-spec div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.step-spec dt { color: var(--sand-dim); }
.step-spec dd { margin: 0; color: var(--paper); }

.scrub { display: flex; align-items: center; gap: 1.5rem; margin-top: .5rem; }
.scrub[hidden] { display: none; }
.scrub label { font: 500 .875rem/1 var(--sans); color: var(--sand); white-space: nowrap; }
.scrub input[type="range"] {
  flex: 1;
  max-width: 28rem;
  height: 44px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.scrub input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--bark-rule); }
.scrub input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 6px rgba(241, 208, 176, .12);
}
.scrub input[type="range"]::-moz-range-track { height: 2px; background: var(--bark-rule); }
.scrub input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--clay); }
.scrub input[type="range"]:focus-visible { outline-offset: 6px; }

/* ---------- In their words ---------- */
.words { padding-block: var(--section); }
.words h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 1.1rem; font-size: .9375rem; color: var(--muted); }
.quote-lead blockquote p {
  max-width: 34ch;
  font: 300 clamp(1.625rem, 3.1vw, 2.75rem)/1.3 var(--display);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-indent: -.42em;
}
.quote-lead blockquote p::before { content: "\201C"; }
.quote-lead blockquote p::after { content: "\201D"; }
.quote-pair { display: grid; gap: 3rem; margin-top: clamp(3.5rem, 7vw, 6rem); }
.quote-pair blockquote p {
  font: 300 clamp(1.1875rem, 1.6vw, 1.4375rem)/1.45 var(--display);
  font-variation-settings: "opsz" 36;
  color: var(--ink);
}
.quote-pair blockquote p::before { content: "\201C"; }
.quote-pair blockquote p::after { content: "\201D"; }
.quote-photo img { width: 100%; margin-bottom: 1.5rem; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .quote-lead { padding-left: 8.33%; }
  .quote-pair { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: start; }
  .quote-pair > .quote:first-child { grid-column: 2 / span 5; padding-top: 4rem; }
  .quote-pair > .quote-photo { grid-column: 8 / span 5; }
}

/* ---------- The workshop ---------- */
.workshop { padding-block: var(--section); background: var(--bark-deep); color: var(--sand); --focus: var(--clay); }
.workshop-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.workshop-photo { margin: 0; }
.workshop-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.workshop-photo figcaption { margin-top: .85rem; font-size: .875rem; color: var(--sand-dim); }
.workshop h2 { margin-bottom: 1.5rem; color: var(--paper); }
.workshop .lead { max-width: 32rem; font-size: 1.1875rem; color: var(--sand-light); }
.pillars { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.pillars div { padding-top: 1.1rem; border-top: 1px solid var(--bark-rule); }
.pillars h3 { font-size: 1.5rem; color: var(--paper); }
.pillars p { max-width: 30rem; margin-top: .35rem; }
.awards { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 2.75rem 0 0; padding: 0; list-style: none; }
.awards li { display: flex; align-items: center; gap: 1rem; max-width: 17.5rem; font-size: .875rem; line-height: 1.45; color: var(--sand); }
.awards img { flex: none; width: 72px; height: 72px; padding: 4px; background: #fff; }
@media (min-width: 900px) {
  .workshop-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Journal ---------- */
.journal { padding-block: var(--section); border-bottom: 1px solid var(--line); }
.journal-grid { display: grid; gap: 2rem; }
.entry-date { margin-bottom: .75rem; font: 400 .875rem/1.4 var(--mono); color: var(--muted); }
.entry h3 { margin-bottom: 1rem; font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 300; }
.entry h3 a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.entry h3 a:hover { text-decoration-thickness: 2px; }
.entry { display: grid; gap: 2rem; }
.entry-text p { max-width: 34rem; }
.pull { margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.pull p {
  margin: 0;
  font: 300 clamp(1.75rem, 3vw, 2.625rem)/1.12 var(--display);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  color: var(--bark);
}
.pull footer { margin-top: .9rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
  .journal-grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: start; }
  .journal h2 { grid-column: 1 / span 4; font-size: clamp(2rem, 3.2vw, 2.875rem); }
  .entry { grid-column: 5 / span 8; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 3rem; align-items: center; }
}

/* ---------- Consultation ---------- */
.consult { padding-block: var(--section); }
.consult-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.consult h2 { max-width: 14ch; margin-bottom: 1.25rem; }
.consult .lead { max-width: 34rem; margin-bottom: 2.5rem; font-size: 1.125rem; }
@media (min-width: 1080px) {
  .consult-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}

.form { max-width: 46rem; }
.fields { display: grid; gap: 1.25rem 1.5rem; }
@media (min-width: 720px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
.field label,
.field .field-label,
.choices legend {
  display: block;
  margin-bottom: .45rem;
  padding: 0;
  font: 500 .9375rem/1.4 var(--sans);
  color: var(--ink);
}
.optional,
.legend-note { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1px solid var(--field);
  border-radius: 2px;
  background: var(--sheet);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  caret-color: var(--link);
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.file {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
  min-height: 48px;
  padding: .3rem;
  border: 1px solid var(--field);
  border-radius: 2px;
  background: var(--sheet);
}
.field .file-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}
.field .file-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 1.05rem;
  border-radius: 2px;
  background: var(--bark);
  color: var(--paper);
  font: 500 .90625rem/1 var(--sans);
  cursor: pointer;
  transition: background-color .2s ease;
}
.field .file-btn:hover { background: var(--ink); }
.file-input:focus-visible + .file-btn { outline: 2px solid var(--link); outline-offset: 2px; }
.file-names { font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }
.file:has(.file-input[aria-invalid="true"]) { border-color: var(--error); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.help { margin: .4rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.field-error { margin: .45rem 0 0; font-size: .875rem; line-height: 1.5; font-weight: 500; color: var(--error); }
[aria-invalid="true"] { border-color: var(--error) !important; }

.choices { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; border: 0; min-inline-size: 0; }
.choices legend { width: 100%; margin-bottom: .75rem; }
.choices label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 46px;
  padding: .5rem 1rem;
  border: 1px solid var(--field);
  border-radius: 2px;
  background: var(--sheet);
  font-size: .96875rem;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.choices label:hover { border-color: var(--ink); }
.choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--clay); }
.choices label:has(input:checked) { background: var(--bark); border-color: var(--bark); color: var(--paper); }
.choices label:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 2px; }
.choices input:focus-visible { outline: none; }
.choices[data-invalid="true"] label { border-color: var(--error); }
.choices .field-error { width: 100%; }
.fields-more { margin-top: 2rem; }

.form-errors {
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--error);
  background: var(--error-bg);
  color: var(--ink);
}
.form-errors[hidden] { display: none; }
.form-errors p { font-weight: 600; color: var(--error); margin-bottom: .5rem; }
.form-errors ul { margin: 0; padding-left: 1.1rem; }
.form-errors a { color: var(--error); text-underline-offset: 3px; }
.form-errors li { color: var(--error); }
.form [aria-busy="true"] { cursor: progress; }
/* Spam trap: off-screen for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fallback-list { margin: 1.5rem 0; padding-left: 1.1rem; list-style: disc; color: var(--error); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.form-submit .help { margin: 0; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.form-success { max-width: 40rem; padding-top: 1.5rem; border-top: 2px solid var(--bark); }
.form-success[hidden] { display: none; }
.form-success h3,
.form-success .form-success-h { margin-bottom: .75rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 300; }

.visit {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bark);
  color: var(--sand);
  --focus: var(--clay);
}
.visit-line {
  margin-bottom: 2.25rem;
  font: 300 clamp(1.75rem, 2.6vw, 2.375rem)/1.12 var(--display);
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.018em;
  color: var(--paper);
}
.visit h3 { margin-bottom: .9rem; padding-top: 1.25rem; border-top: 1px solid var(--bark-rule); color: var(--paper); font-size: 1.5rem; }
.visit address { margin-bottom: 1rem; font-style: normal; }
.visit a:not(.link-light) { color: var(--paper); text-underline-offset: 4px; text-decoration-color: var(--clay); }
@media (min-width: 1080px) {
  .visit { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  background: var(--bark);
  color: var(--sand);
  font-size: .9375rem;
  --focus: var(--clay);
}
.footer-grid { display: grid; gap: 2.25rem; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 22rem; }
.footer-h { margin-bottom: .75rem; font: 500 .9375rem/1.4 var(--sans); letter-spacing: 0; color: var(--paper); }
.site-footer a { color: var(--paper); text-decoration-color: var(--clay); text-underline-offset: 4px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer p a { display: inline-block; padding-block: .55rem; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--bark-rule); font-size: .875rem; }
.footer-rooms { columns: 2; column-gap: 1.5rem; }
@media (min-width: 600px) and (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.25fr 1.1fr 1.1fr; }
  .footer-rooms { columns: 1; }
}

/* ---------- Homepage links to inner pages ---------- */
.also li a { display: inline-flex; align-items: center; min-height: 44px; }
.sheet-item h3 a,
.also li a { color: inherit; text-decoration: none; background: linear-gradient(var(--link), var(--link)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.sheet-item h3 a:hover,
.also li a:hover { background-size: 100% 1px; }
.feature-link { margin-top: 1.25rem; }
.process-link { margin-top: 1.5rem; }
.workshop-link { margin-top: 1.75rem; }

/* ---------- Inner pages: heroes ---------- */
.site-header.is-static { background: rgba(55, 49, 33, .97); box-shadow: 0 1px 0 rgba(241, 208, 176, .12); }
.page-hero { position: relative; background: var(--bark); color: var(--paper); --focus: var(--clay); }
.page-hero-copy {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 4rem));
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.026em;
  color: var(--paper);
}
.page-lead {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--sand-light);
}
.page-lead:last-child { margin-bottom: 0; }
.page-hero--photo { display: flex; align-items: flex-end; min-height: max(26rem, 66vh); min-height: max(26rem, 66svh); }
.page-hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--bark-deep); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28, 24, 18, .6) 0%, rgba(28, 24, 18, 0) 24%),
    linear-gradient(0deg, rgba(28, 24, 18, .86) 0%, rgba(28, 24, 18, .6) 55%, rgba(28, 24, 18, .25) 100%);
}
@media (min-width: 900px) {
  .page-hero-media::after {
    background:
      linear-gradient(180deg, rgba(28, 24, 18, .55) 0%, rgba(28, 24, 18, 0) 20%),
      linear-gradient(90deg, rgba(28, 24, 18, .82) 0%, rgba(28, 24, 18, .5) 38%, rgba(28, 24, 18, 0) 66%),
      linear-gradient(0deg, rgba(28, 24, 18, .4) 0%, rgba(28, 24, 18, 0) 42%);
  }
}
.page-hero--photo .page-hero-copy { width: min(100% - 2 * var(--gutter), var(--max)); }
.page-hero--bark .page-hero-copy { padding-bottom: clamp(3.5rem, 9vh, 6rem); }
.page-hero--paper { background: var(--paper); color: var(--text); --focus: var(--link); }
.page-hero--paper h1 { color: var(--ink); max-width: 18ch; }
.page-hero--paper .page-lead { color: var(--text); }
.page-hero--paper .page-hero-copy { padding-bottom: clamp(2rem, 4vh, 3rem); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 .6rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .875rem; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: var(--sand-dim); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs a[aria-current="page"] { color: var(--paper); }
.page-hero--paper .crumbs li + li::before { color: var(--muted); }
.page-hero--paper .crumbs a { color: var(--muted); }
.page-hero--paper .crumbs a[aria-current="page"] { color: var(--ink); }

.photo-note {
  max-width: 36rem;
  margin: 2rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--bark-rule);
  font-size: .875rem;
  color: var(--sand-dim);
}
.photo-note-paper { margin-top: 1.5rem; border-top-color: var(--line); color: var(--muted); }
.spec-band { padding: 1.1rem 0 1.35rem; background: var(--bark); border-top: 1px solid var(--bark-rule); }


.cta-band { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--bark); color: var(--sand); --focus: var(--clay); }
.cta-grid { display: grid; gap: 1.5rem; }
.cta-band h2 { max-width: 15ch; color: var(--paper); }
.cta-band p { max-width: 32rem; margin-bottom: 1.75rem; font-size: 1.125rem; color: var(--sand-light); }
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: end; }
  .cta-band h2 { grid-column: 1 / span 6; }
  .cta-grid > div { grid-column: 8 / span 5; }
}

/* ---------- Inner pages: work and projects ---------- */
.work { padding-block: var(--section); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters[hidden] { display: none; }
.chip {
  min-height: 44px;
  padding: 0 1.05rem;
  border: 1px solid var(--field);
  border-radius: 2px;
  background: var(--sheet);
  color: var(--ink);
  font: 500 .9375rem/1 var(--sans);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--bark); border-color: var(--bark); color: var(--paper); }
@media (min-width: 900px) {
  .work .section-head .filters { grid-column: 1 / -1; }
}

.tiles { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 2.4vw, 2rem); }
.tile { margin: 0; }
.tile[hidden] { display: none; }
.tile-link { display: block; color: var(--ink); text-decoration: none; }
.tile-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.tile h3 { margin-top: 1rem; }
.tile-link:hover h3 { text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.tile p { max-width: 32rem; margin-top: .4rem; font-size: 1rem; }
@media (min-width: 1080px) {
  .tiles { grid-template-columns: repeat(12, 1fr); }
  .tile-l { grid-column: 1 / span 7; grid-row: 1 / span 2; display: flex; flex-direction: column; }
  .tile-l .tile-link { flex: 1; display: flex; flex-direction: column; }
  .tile-l .tile-img { flex: 1; aspect-ratio: auto; height: auto; min-height: 32rem; }
  .tile-m { grid-column: 8 / span 5; }
  .tile-w { grid-column: 2 / span 6; grid-row: 3; }
  .tile-s { grid-column: 8 / span 5; grid-row: 3; align-self: end; }
  .tiles.is-filtered .tile,
  .tiles-row .tile { grid-column: auto / span 6; grid-row: auto; align-self: start; display: block; }
  .tiles.is-filtered .tile-img,
  .tiles-row .tile-img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .tiles-row { grid-template-columns: repeat(12, 1fr); }
  .tiles-row .tile { grid-column: auto / span 4; }
}
.empty-note { margin-top: 1rem; font-size: 1rem; }
.empty-note[hidden] { display: none; }

.story { padding-block: var(--section); }
.story-grid { display: grid; gap: 2.5rem; }
.made { margin: 1.25rem 0 0; padding: 0; list-style: none; font: 300 clamp(1.375rem, 2.2vw, 1.875rem)/1.3 var(--display); font-variation-settings: "opsz" 72; color: var(--ink); }
.made li { padding-block: .55rem; border-top: 1px solid var(--line); }
.credits-paper { align-self: start; margin: 0; }
.credits-paper dt { color: var(--muted); }
.credits-paper dd { color: var(--ink); }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .story-grid > :first-child { grid-column: 1 / span 6; }
  .story-grid > .credits { grid-column: 8 / span 5; padding-top: .5rem; }
}
.gallery { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.4vw, 2rem); margin-top: clamp(3rem, 6vw, 5rem); }
.gal-item { margin: 0; }
.gal-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.gal-item figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gal-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gal-item:last-child:nth-child(odd) img { aspect-ratio: 21 / 9; }
}
.bleed { margin: clamp(3rem, 6vw, 5rem) 0 0; }
.bleed img { width: 100%; height: clamp(22rem, 58vw, 52rem); max-height: 90vh; object-fit: cover; background: var(--paper-2); }
.bleed figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
.next-project { border-top: 1px solid var(--line); }
.next-link { display: flex; flex-direction: column; gap: .35rem; padding-block: clamp(2.5rem, 5vw, 4rem); color: var(--ink); text-decoration: none; }
.next-label { font-size: .9375rem; color: var(--muted); }
.next-title { font: 300 clamp(2rem, 4vw, 3.5rem)/1.05 var(--display); font-variation-settings: "opsz" 144; letter-spacing: -0.02em; }
.next-link:hover .next-title { text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 8px; }

/* ---------- Inner pages: rooms and lists ---------- */
.room-body { padding-block: var(--section); }
.room-grid { display: grid; gap: 2rem; }
.room-text p { max-width: 36rem; font-size: 1.125rem; }
.room-includes h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.room-includes ul { margin: 0; padding: 0; list-style: none; column-gap: 2rem; }
.room-includes li { padding-block: .6rem; border-top: 1px solid var(--line); break-inside: avoid; font-size: 1.0625rem; color: var(--ink); }
@media (min-width: 720px) {
  .room-includes ul { columns: 2; }
}
@media (min-width: 900px) {
  .room-grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: start; }
  .room-grid > :first-child { grid-column: 1 / span 5; }
  .room-grid > :last-child { grid-column: 7 / span 6; }
}
.room-projects { padding-bottom: var(--section); }
.room-projects h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.room-quote { padding-bottom: var(--section); }
.quote-inline blockquote p {
  max-width: 40ch;
  font: 300 clamp(1.375rem, 2.4vw, 2rem)/1.35 var(--display);
  font-variation-settings: "opsz" 72;
  color: var(--ink);
}
.quote-inline blockquote p::before { content: "\201C"; }
.quote-inline blockquote p::after { content: "\201D"; }

.rooms-list { padding-block: var(--section); }
.room-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.room-row a {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: .35rem 1.25rem;
  align-items: center;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.row-img { grid-row: span 2; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.row-name { align-self: end; font: 300 clamp(1.75rem, 3.4vw, 3rem)/1.05 var(--display); font-variation-settings: "opsz" 144; letter-spacing: -0.02em; }
.row-lead { align-self: start; font-size: 1rem; color: var(--text); }
.room-row a:hover .row-name { text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 7px; }
@media (min-width: 900px) {
  .room-row a { grid-template-columns: 15rem minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; }
  .row-img { grid-row: auto; }
  .row-name, .row-lead { align-self: center; }
}

.hw { padding-block: var(--section); }
.hw-steps { margin: 0 auto; padding: 0; list-style: none; }
.hw-step { display: grid; gap: 1.25rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.hw .step-n { margin: 0; color: var(--bark); }
.hw-text h2 { margin-bottom: .75rem; }
.hw-text > p { max-width: 36rem; }
.hw-short { font: 300 clamp(1.25rem, 1.8vw, 1.5rem)/1.4 var(--display); font-variation-settings: "opsz" 36; color: var(--ink); }
.hw .step-spec dt { color: var(--muted); }
.hw .step-spec dd { color: var(--ink); }
.step-fig { margin: 0; }
.step-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-fig figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
  .hw-step { grid-template-columns: 9rem minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 2.5rem; align-items: start; }
}
.hw-time { padding-bottom: var(--section); }

.about-story { padding-block: var(--section); }
.prose p { max-width: 38rem; font-size: 1.125rem; }
.mission { padding-block: var(--section); background: var(--paper-2); }
.mission-grid { display: grid; gap: 3rem; }
.mission h2 { margin-bottom: 1rem; }
.mission p { max-width: 32rem; font-size: 1.125rem; }
@media (min-width: 900px) {
  .mission-grid { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
}
.trust { padding-block: var(--section); }
.trust-grid { margin-top: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.trust-grid > div { display: grid; gap: .4rem 2rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.trust-grid h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.trust-grid p { max-width: 36rem; }
@media (min-width: 900px) {
  .trust-grid > div { grid-template-columns: repeat(12, 1fr); align-items: baseline; }
  .trust-grid h3 { grid-column: 1 / span 5; }
  .trust-grid p { grid-column: 7 / span 6; }
}
.pull-line { max-width: 26ch; margin: clamp(2.5rem, 5vw, 4rem) 0 0; font: 300 clamp(1.75rem, 3vw, 2.5rem)/1.2 var(--display); font-variation-settings: "opsz" 144; letter-spacing: -0.02em; color: var(--bark); }
.workshop-text + .workshop-text h2 { margin-bottom: 1rem; }

.journal-list { padding-bottom: var(--section); }
.entry-row { padding-top: 2rem; border-top: 1px solid var(--line); }
.entry h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.entry h2 a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (min-width: 900px) {
  .entry-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 4rem; align-items: center; }
}
.article { padding-bottom: var(--section); }
.article-body { max-width: 44rem; margin-left: auto; margin-right: auto; }
.article-body h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.article-body p { max-width: none; font-size: 1.1875rem; line-height: 1.72; }
.takeaway { padding-block: 1rem; border-block: 1px solid var(--line); font: 300 1.5rem/1.4 var(--display); color: var(--ink); }
.takeaway strong { font-weight: 400; }

.consult-page { padding-top: clamp(1rem, 3vw, 2rem); }
.visit .visit-h { margin-bottom: .9rem; padding-top: 1.25rem; border-top: 1px solid var(--bark-rule); color: var(--paper); font-size: 1.5rem; }
.faq { padding-bottom: var(--section); }
.faq-list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: .9rem 3rem .9rem 0;
  font: 400 clamp(1.125rem, 1.6vw, 1.3125rem)/1.35 var(--display);
  font-variation-settings: "opsz" 36;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .5rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--link), var(--link)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--link), var(--link)) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding-bottom: 1.25rem; }
.link-list { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; padding: 0; list-style: none; font-size: 1.125rem; }
.link-list-404 { margin-top: .75rem; }

.link-inline { display: inline; color: var(--ink); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.link-inline:hover { text-decoration-thickness: 2px; }

.room-row--text a { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .room-row--text a { grid-template-columns: 15rem minmax(0, 1.1fr) minmax(0, 1fr); }
  .room-row--text .row-name { grid-column: 1 / span 2; }
}

.process-strip { padding-bottom: var(--section); }
.process-strip h2 { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.ps-list { display: grid; gap: 0 2rem; margin: 0 0 1.5rem; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.ps-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.ps-n { grid-row: span 2; font: 300 2.25rem/1 var(--display); font-variation-settings: "opsz" 144; color: var(--bark); }
.ps-list h3 { font-size: 1.375rem; }
.ps-list p { margin: .2rem 0 0; font-size: 1rem; }
@media (min-width: 900px) {
  .ps-list { grid-template-columns: repeat(4, 1fr); border-bottom: 0; }
  .ps-list li { border-top: 1px solid var(--line); }
}

.plates { padding-top: var(--section); }
.plates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.plate { margin: 0; }
.plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.plate figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
  .plates-grid { grid-template-columns: repeat(4, 1fr); }
}

.collab { padding-block: var(--section); }
.collab-grid { display: grid; gap: 2rem; align-items: center; }
.collab-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.collab h2 { max-width: 16ch; margin-bottom: 1rem; }
.collab p { max-width: 32rem; font-size: 1.125rem; }
.collab .credits { margin: 1.5rem 0; }
@media (min-width: 900px) {
  .collab-grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .collab-img { grid-column: 1 / span 7; }
  .collab-grid > div { grid-column: 9 / span 4; }
}

/* ---------- The cabinet: a 3D build that follows the four steps ---------- */
.cab-stage {
  --w: 18em;
  --h: 7.5em;
  --d: 6em;
  --lift: 3.4em;
  --ex: 0;
  --open: 0deg;
  --rx: -12deg;
  --ry: -28deg;
  --drag-x: 0deg;
  --drag-y: 0deg;
  position: relative;
  height: 24em;
  font-size: clamp(8.5px, 2.4vw, 18px);
  perspective: 80em;
  perspective-origin: 50% 30%;
  transition: perspective 1.2s var(--ease-out);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: clip;
}
.cab-stage.is-dragging { cursor: grabbing; }
.cab-turn { position: absolute; left: 50%; top: 46%; transform-style: preserve-3d; transform: rotateX(calc(var(--rx) + var(--drag-x))) rotateY(calc(var(--ry) + var(--drag-y))); transition: transform 1.2s var(--ease-out); }
.cab-stage.is-dragging .cab-turn { transition-duration: .1s; }
.cab-spin, .cab { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.cab-p, .cab-door, .cab-floor, .cab-dims { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.cab-p {
  border: 1.5px solid var(--cab-line, transparent);
  background-color: var(--cab-fill, transparent);
  transition: transform 1.2s var(--ease-out) var(--delay, 0s), border-color .6s ease, background-color .6s ease;
}
/* Timber, revealed from the workshop step on */
.cab-p::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  background:
    linear-gradient(var(--shade, transparent), var(--shade, transparent)),
    repeating-linear-gradient(var(--grain, 90deg), rgba(110, 70, 35, 0) 0 .7em, rgba(110, 70, 35, .13) .7em .78em, rgba(110, 70, 35, 0) .78em 1.6em),
    linear-gradient(var(--grain, 90deg), #C89E6E, #B78755 50%, #C6996A);
  opacity: var(--solid, 0);
  transition: opacity .7s ease var(--delay, 0s);
}
.cab-stone::before {
  background:
    linear-gradient(var(--shade, transparent), var(--shade, transparent)),
    linear-gradient(118deg, transparent 38%, rgba(140, 130, 118, .35) 39%, transparent 41%),
    linear-gradient(64deg, transparent 62%, rgba(140, 130, 118, .25) 63%, transparent 64.5%),
    linear-gradient(90deg, #EAE4DA, #DDD5C9 55%, #E8E1D6);
}
.cab-back { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); transform: translateZ(calc(var(--d) / -2 - var(--ex) * 3em)); --shade: rgba(30, 20, 10, .34); }
.cab-side { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); --shade: rgba(30, 20, 10, .16); --delay: .06s; }
.cab-left { transform: translateX(calc(var(--w) / -2 - var(--ex) * 3.5em)) rotateY(90deg); }
.cab-right { transform: translateX(calc(var(--w) / 2 + var(--ex) * 3.5em)) rotateY(90deg); }
.cab-flat { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); --grain: 0deg; }
.cab-bottom { transform: translateY(calc(var(--h) / 2 + var(--ex) * 2.5em)) rotateX(90deg); --shade: rgba(30, 20, 10, .24); --delay: .1s; }
.cab-shelf { transform: translateY(calc(var(--ex) * .8em)) translateZ(calc(var(--ex) * 2.2em)) rotateX(90deg); --shade: rgba(30, 20, 10, .12); --delay: .14s; }
.cab-top { transform: translateY(calc(var(--h) / -2 - var(--ex) * 2.2em)) rotateX(90deg); --delay: .18s; }
.cab-slab { width: calc(var(--w) + .8em); height: calc(var(--d) + .6em); margin: calc((var(--d) + .6em) / -2) 0 0 calc((var(--w) + .8em) / -2); transform: translateY(calc(var(--h) / -2 - .55em - var(--ex) * 5em)) translateZ(.3em) rotateX(90deg); --delay: .3s; }
.cab-edge { width: calc(var(--w) + .8em); height: .55em; margin: -.275em 0 0 calc((var(--w) + .8em) / -2); transform: translateY(calc(var(--h) / -2 - .275em - var(--ex) * 5em)) translateZ(calc(var(--d) / 2 + .6em)); --shade: rgba(30, 20, 10, .1); --delay: .3s; }
.cab-door { width: calc(var(--w) / 2); height: var(--h); --delay: .22s; transition: transform 1.2s var(--ease-out) var(--delay); }
.cab-door-l { transform-origin: 0 50%; transform: translate3d(calc(var(--w) / -2), calc(var(--h) / -2), calc(var(--d) / 2 + var(--ex) * 4em)) rotateY(calc(var(--open) * -1)); }
.cab-door-r { transform-origin: 100% 50%; transform: translate3d(0px, calc(var(--h) / -2), calc(var(--d) / 2 + var(--ex) * 4em)) rotateY(var(--open)); }
.cab-face { inset: 0 .04em; width: auto; height: auto; --delay: .22s; }
.cab-pull { position: absolute; top: .9em; width: .3em; height: 2.6em; border: 1.5px solid var(--cab-line, transparent); background: var(--cab-pull, transparent); transition: background-color .6s ease .3s, border-color .6s ease; }
.cab-door-l .cab-pull { right: .9em; }
.cab-door-r .cab-pull { left: .9em; }
.cab-led { position: absolute; left: 0; top: 0; width: calc(var(--w) - 1.2em); height: .16em; margin: -.08em 0 0 calc((var(--w) - 1.2em) / -2); transform: translateY(calc(var(--h) / 2 + .1em)) translateZ(calc(var(--d) / 2 - .4em)); background: #FBE8C8; box-shadow: 0 0 .9em .3em rgba(246, 216, 170, .55); opacity: var(--glow, 0); transition: opacity .8s ease .5s; }
/* Floor: the design grid, then the LED wash under the fitted cabinet */
.cab-floor { width: 46em; height: 30em; margin: -15em 0 0 -23em; transform: translateY(calc(var(--h) / 2 + var(--lift))) rotateX(90deg); }
.cab-floor::before,
.cab-floor::after { content: ""; position: absolute; transition: opacity .9s ease; }
.cab-floor::before {
  inset: 0;
  background-image: linear-gradient(rgba(241, 208, 176, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 208, 176, .2) 1px, transparent 1px);
  background-size: 2em 2em;
  background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
  opacity: var(--grid, 0);
}
.cab-floor::after { left: 50%; top: 50%; width: 28em; height: 13em; margin: -6.5em 0 0 -14em; background: radial-gradient(closest-side, rgba(246, 216, 170, .4), rgba(246, 216, 170, 0)); opacity: var(--glow, 0); transition-delay: .5s; }
/* Measurements on the sketch */
.cab-dims { transform: translateZ(calc(var(--d) / 2 + 1em)); opacity: var(--dims, 0); transition: opacity .6s ease; }
.cab-dim { position: absolute; color: var(--sand); }
.cab-dim > span { font: 400 .8em/1 var(--mono); }
.cab-dim::before,
.cab-dim::after { content: ""; position: absolute; background: var(--sand-dim); }
.cab-dim-w { left: calc(var(--w) / -2); top: calc(var(--h) / 2 + 1.3em); width: var(--w); padding-top: .8em; border-top: 1px solid var(--sand-dim); text-align: center; }
.cab-dim-w::before,
.cab-dim-w::after { top: -.45em; width: 1px; height: .9em; }
.cab-dim-w::before { left: 0; }
.cab-dim-w::after { right: 0; }
.cab-dim-h { left: calc(var(--w) / 2 + 1.4em); top: calc(var(--h) / -2); display: flex; align-items: center; height: var(--h); padding-left: .7em; border-left: 1px solid var(--sand-dim); }
.cab-dim-h::before,
.cab-dim-h::after { left: -.45em; width: .9em; height: 1px; }
.cab-dim-h::before { top: 0; }
.cab-dim-h::after { bottom: 0; }
/* The four states */
.cab-stage[data-state="1"] { --rx: 0deg; --ry: 0deg; --cab-line: rgba(217, 200, 176, .85); --dims: 1; perspective: 600em; }
.cab-stage[data-state="1"] .cab-shelf { border-style: dashed; }
.cab-stage[data-state="2"] { --rx: -18deg; --ry: -36deg; --cab-line: var(--clay); --cab-fill: rgba(241, 208, 176, .06); --grid: 1; }
.cab-stage[data-state="3"] { --rx: -22deg; --ry: -32deg; --ex: 1; --open: 24deg; --solid: 1; --grid: .45; --cab-pull: #2C2719; }
.cab-stage[data-state="4"] { --solid: 1; --glow: 1; --cab-pull: #2C2719; }
.cab-stage[data-state="4"].is-open { --open: 108deg; }

.process-cabinet { margin-top: clamp(1.5rem, 4vw, 3rem); }
.hw-hero { display: grid; }
.hw-hero .page-hero-copy { padding-bottom: 0; }
.hw-cabinet { padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.cab-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1rem; }
.cab-step {
  min-height: 44px;
  padding: 0 .1rem;
  border: 0;
  background: linear-gradient(var(--clay), var(--clay)) 0 calc(100% - 8px) / 0 2px no-repeat;
  color: var(--sand-dim);
  font: 500 .9375rem/1 var(--sans);
  cursor: pointer;
  transition: color .3s ease, background-size .5s var(--ease-out);
}
.cab-step:hover { color: var(--sand); }
.cab-step[aria-pressed="true"] { color: var(--paper); background-size: 100% 2px; }
@media (max-width: 479px) {
  .cab-step { font-size: .875rem; }
}
@media (min-width: 900px) {
  .hw-hero { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: center; }
  .hw-hero .page-hero-copy { grid-column: 1 / span 6; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
  .hw-cabinet { grid-column: 7 / span 6; padding-top: calc(var(--header-h) + 1rem); }
}

/* Steps playing on their own: the current rule fills like a timer */
.step { position: relative; }
.steps.is-auto .step.is-current { border-top-color: var(--bark-rule); }
.steps.is-auto .step.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--clay);
  transform-origin: left;
  animation: step-fill var(--dwell, 3.8s) linear both;
}
@keyframes step-fill { from { transform: scaleX(0); } }

/* ---------- Homepage sections: each arrives in its own way ----------
   Hidden start states apply only once the script adds .reveal-on. */
.rise-mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.rise-inner { display: block; transition: transform 1.1s var(--ease-out); }
.reveal-on [data-reveal="heading"]:not(.is-in) .rise-inner { transform: translateY(105%); }

.reveal-on [data-reveal="rise"] { transition: opacity .9s var(--ease-out) .12s, transform .9s var(--ease-out) .12s; }
.reveal-on [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* Photos slide open like a cabinet door */
.reveal-on [data-reveal="wipe"] img { transition: clip-path 1.3s var(--ease-out), transform 1.8s var(--ease-out); }
.reveal-on [data-reveal="wipe"]:not(.is-in) img { clip-path: inset(0 100% 0 0); transform: scale(1.06); }
.reveal-on [data-reveal="wipe"] figcaption { transition: opacity .8s ease .45s, transform .8s var(--ease-out) .45s; }
.reveal-on [data-reveal="wipe"]:not(.is-in) figcaption { opacity: 0; transform: translateY(14px); }

/* The workshop photo rises into place, like a panel being fitted */
.reveal-on [data-reveal="lift"] img { transition: clip-path 1.4s var(--ease-out), transform 1.9s var(--ease-out); }
.reveal-on [data-reveal="lift"]:not(.is-in) img { clip-path: inset(100% 0 0 0); transform: translateY(5%); }

/* Ruled lists arrive one after another */
.reveal-on [data-reveal="list"] > * { transition: opacity .8s ease, transform .8s var(--ease-out); }
.reveal-on [data-reveal="list"]:not(.is-in) > * { opacity: 0; transform: translateY(18px); }
.reveal-on [data-reveal="list"] > :nth-child(2) { transition-delay: .14s; }
.reveal-on [data-reveal="list"] > :nth-child(3) { transition-delay: .28s; }

/* The introduction lights up as it is read */
.intro-text .w { transition: color .4s ease; }
.intro-text.is-words .w:not(.lit) { color: var(--sand-dim); }

@media (min-width: 900px) {
  .feature { overflow: hidden; }
  .feature-img,
  .feature-plate { will-change: transform; }
}

/* ---------- Homepage arrival: once, on first load ---------- */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .line > span { display: block; }
.is-arriving .hero h1 .line > span { animation: line-up 1s var(--ease-out) .1s both; }
.is-arriving .hero h1 .line + .line > span { animation-delay: .22s; }
.is-arriving .hero-sub { animation: arrive .8s var(--ease-out) .5s both; }
.is-arriving .hero-actions { animation: arrive .8s var(--ease-out) .6s both; }
.is-arriving .hero-img.is-active { animation: settle 2.4s var(--ease-out) both; }
.is-arriving .rooms li { animation: arrive .7s var(--ease-out) .65s both; }
.is-arriving .rooms li:nth-child(2) { animation-delay: .71s; }
.is-arriving .rooms li:nth-child(3) { animation-delay: .77s; }
.is-arriving .rooms li:nth-child(4) { animation-delay: .83s; }
.is-arriving .rooms li:nth-child(5) { animation-delay: .89s; }
.is-arriving .room[aria-pressed="true"]::after { animation: rule-draw 1s var(--ease-out) 1.05s both; }
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.07); } }
@keyframes rule-draw { from { transform: scaleX(0); } }

/* ---------- Page transitions (Chrome, Edge, Safari 18.2+) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { z-index: 3; animation-duration: .3s; }
.page-hero-media { view-transition-name: hero-photo; }
::view-transition-group(hero-photo) { animation-duration: .65s; animation-timing-function: var(--ease-out); }
::view-transition-old(hero-photo),
::view-transition-new(hero-photo) { width: 100%; height: 100%; object-fit: cover; }
.page-hero-copy { view-transition-name: hero-copy; }
::view-transition-group(hero-copy) { animation: none; }
::view-transition-old(hero-copy) { display: none; }
::view-transition-new(hero-copy) { animation: vt-in .55s var(--ease-out) .18s both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .hero-img { transform: none; }
  @view-transition { navigation: none; }
}
