/* Kitchen Depot concept — walnut, ivory and maple; Archivo (engineered display) + Newsreader (reading). */

:root {
  --ivory: #F3EDE3;
  --paper: #FBF8F2;
  --maple: #E6D8C2;
  --walnut: #4A2E1F;
  --heartwood: #24170F;
  --ink: #2A1E16;
  --ink-soft: #62544A;
  --sapwood: #E3C799;
  --on-dark: #F3EDE3;
  --on-dark-soft: #CDBFAE;
  --rule: rgba(42, 30, 22, .18);
  --rule-dark: rgba(243, 237, 227, .22);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: max(16px, 4vw);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(72px, 9vw, 136px);
  --bar-h: 64px;
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  font-optical-sizing: auto;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { position: fixed; left: 0; right: 0; overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 112; line-height: 1.08; letter-spacing: -.01em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }
section[id], article[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }

.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: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--paper); color: var(--ink); font-family: var(--display); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { grid-column: 1 / -1; min-width: 0; }

.section-title { font-size: clamp(30px, 3.6vw, 48px); max-width: 18ch; }

/* Buttons ------------------------------------------------------------------ */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  font-family: var(--display); font-size: 1rem; font-weight: 600; font-variation-settings: "wdth" 106; letter-spacing: .005em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button--dark { background: var(--walnut); color: var(--on-dark); }
.button--dark:hover { background: var(--heartwood); }
.button--light { background: var(--ivory); color: var(--ink); }
.button--light:hover { background: var(--paper); }
.button--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.button--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* Header ------------------------------------------------------------------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; color: #fff; transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.bar::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(24, 14, 8, .42), rgba(24, 14, 8, 0)); pointer-events: none; transition: opacity .35s ease; }
.bar__inner { position: relative; display: flex; align-items: center; gap: 12px; height: calc(var(--bar-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; }
.bar__brand { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 17px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.bar__nav { display: none; }
.bar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar__call, .bar__visit, .bar__menu {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px;
  font-family: var(--display); font-size: 15px; font-weight: 600; font-variation-settings: "wdth" 106; text-decoration: none; white-space: nowrap;
  border-radius: 2px; cursor: pointer;
}
.bar__call { border: 1px solid rgba(255, 255, 255, .55); }
.bar__call-long { display: none; }
.bar__visit { display: none; background: var(--ivory); color: var(--ink); }
.bar__menu { background: transparent; border: 1px solid rgba(255, 255, 255, .55); }
.bar.is-solid { background: var(--ivory); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.bar.is-solid::before { opacity: 0; }
.bar.is-solid .bar__brand { opacity: 1; visibility: visible; }
.bar.is-solid .bar__call, .bar.is-solid .bar__menu { border-color: var(--rule); }
.bar.is-solid .bar__visit { background: var(--walnut); color: var(--on-dark); }

@media (min-width: 600px) {
  .bar__call-long { display: inline; }
  .bar__call-short { display: none; }
  .bar__visit { display: inline-flex; }
}
@media (min-width: 1120px) {
  :root { --bar-h: 72px; }
  .bar__nav { display: flex; gap: clamp(14px, 1.6vw, 26px); margin-left: clamp(20px, 3vw, 48px); }
  .bar__nav a { font-family: var(--display); font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 0; min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
  .bar__nav a:hover { text-decoration: underline; }
  .bar__menu { display: none; }
  .bar__brand { opacity: 1; visibility: visible; }
  .bar__call { border-color: transparent; }
  .bar.is-solid .bar__call { border-color: transparent; }
}

/* Menu --------------------------------------------------------------------- */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(24, 14, 8, .5); opacity: 0; transition: opacity .3s ease; }
.menu__sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--heartwood); color: var(--on-dark); transform: translateX(100%); transition: transform .38s cubic-bezier(.2, .7, .2, 1);
  padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) var(--gutter);
  display: flex; flex-direction: column;
}
.menu.is-open .menu__backdrop { opacity: 1; }
.menu.is-open .menu__sheet { transform: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--bar-h); flex: none; }
.menu__brand { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 17px; letter-spacing: -.02em; }
.menu__close { min-height: 44px; min-width: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--rule-dark); border-radius: 2px; font-family: var(--display); font-size: 15px; font-weight: 600; cursor: pointer; }
.menu__links { display: flex; flex-direction: column; padding: 12px 0 24px; border-bottom: 1px solid var(--rule-dark); }
.menu__links a { font-family: var(--display); font-size: clamp(22px, 6vw, 28px); font-weight: 600; font-variation-settings: "wdth" 112; text-decoration: none; padding: 10px 0; min-height: 48px; display: flex; align-items: center; }
.menu__contact { padding-top: 20px; color: var(--on-dark-soft); font-size: 17px; }
.menu__contact p { margin: 0 0 4px; }
.menu__phone { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--on-dark); text-decoration: none; }
.menu :focus-visible { outline-color: var(--sapwood); }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 360px; overflow: hidden; background: var(--heartwood); color: #fff; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; margin: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 2.4s ease; z-index: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform-origin: var(--fx, 50%) 60%; }
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.hero__slide.is-broken { display: none; }
.hero.is-playing .hero__slide.is-active img { animation: drift 11.4s ease-out both; }
.hero.is-stopped .hero__slide img { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1.045); } to { transform: scale(1); } }

.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, rgba(22, 13, 8, calc(.74 * var(--shade, 1))) 0%, rgba(22, 13, 8, calc(.5 * var(--shade, 1))) 38%, rgba(22, 13, 8, 0) 68%),
    linear-gradient(to bottom, rgba(22, 13, 8, .28), rgba(22, 13, 8, 0) 22%);
  transition: opacity 2.4s ease;
}
.hero__content {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end;
  max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding: calc(var(--bar-h) + 16px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.hero__lede { position: relative; max-width: 30rem; margin-bottom: clamp(14px, 3.2vh, 40px); }
.hero__lede::before { content: ""; position: absolute; inset: -56px -72px -40px -72px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(22, 13, 8, .7), rgba(22, 13, 8, .5) 60%, rgba(22, 13, 8, 0)); }
.hero__line { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; margin: 0 0 16px; text-wrap: pretty; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__brand {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -.035em; line-height: .84;
  font-size: var(--brand-size, 21.5vw); margin: 0 0 .1em -.04em; white-space: nowrap; text-shadow: 0 2px 30px rgba(0, 0, 0, .18);
}
.hero__brand span { display: block; }
.hero__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(10px, 2vh, 20px); padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .34); }
.hero__caption { margin: 0; font-family: var(--display); font-size: 14px; font-weight: 500; line-height: 1.25; color: rgba(255, 255, 255, .88); min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero__buttons { display: flex; align-items: center; flex: none; }
.hero__dot, .hero__pause { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.hero__dot span { display: block; width: 22px; height: 3px; background: rgba(255, 255, 255, .45); transition: background-color .3s ease, width .3s ease; }
.hero__dot[aria-current="true"] span { background: var(--sapwood); width: 30px; }
.hero__pause-icon { position: relative; width: 12px; height: 14px; }
.hero__pause-icon::before, .hero__pause-icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; }
.hero__pause-icon::before { left: 0; } .hero__pause-icon::after { right: 0; }
.hero.is-stopped .hero__pause-icon::before { left: 1px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.hero.is-stopped .hero__pause-icon::after { display: none; }
.hero :focus-visible { outline-color: var(--sapwood); }

@media (min-width: 700px) {
  .hero__brand span { display: inline; }
  .hero__brand { --brand-size: 11.9vw; }
}
@media (min-width: 1000px) {
  .hero__lede { align-self: flex-end; width: min(30rem, 40%); }
}
@media (min-width: 1440px) {
  .hero__brand { --brand-size: 171px; }
}
/* Short, wide desktop windows: keep the full opening inside the viewport. */
@media (max-height: 520px) and (min-width: 1101px) {
  .hero__brand { --brand-size: min(11.9vw, 21vh); }
  .hero__lede { display: flex; align-items: flex-end; gap: 16px; max-width: none; margin-bottom: 10px; }
  .hero__line { font-size: 16px; margin: 0; max-width: 24rem; }
  .hero__actions { flex-wrap: nowrap; }
  .hero__controls { margin-top: 6px; padding-top: 0; }
}

/* Very narrow viewports (small phones zoomed to 200%): keep the header and headings inside the screen. */
@media (max-width: 359px) {
  h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
}
@media (max-width: 299px) {
  :root { --gutter: 12px; }
  .foot a, .visit__schedule a { overflow-wrap: anywhere; }
  .bar__inner { gap: 8px; }
  .bar .bar__brand { font-size: 12px; }
  .bar__actions { gap: 6px; }
  .bar__call, .bar__menu { padding: 0 8px; font-size: 14px; }
  .section-title, .intro__title { font-size: 24px; }
  .hero__actions .button { padding-inline: 14px; }
}

/* Phones and landscape phones: the original full-photo hero with the message and actions on the photo
   (transparent, over the soft photo shade). The large wordmark is replaced by the compact header logo,
   top-left, with no background; Menu opposite. */
@media (max-width: 699px), (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) {
  .hero__brand { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; font-size: 1px; }
  .bar__brand { opacity: 1; visibility: visible; font-size: 17px; }
  .bar:not(.is-solid)::before { content: none; }
  .bar:not(.is-solid) .bar__brand { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 16px rgba(0, 0, 0, .5); }
  .bar:not(.is-solid) .bar__call, .bar:not(.is-solid) .bar__menu { background: transparent; border-color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 14px rgba(0, 0, 0, .45); }
  .hero__lede { margin-bottom: 18px; }
}
@media (max-width: 359px) {
  .hero__caption { display: none; } /* the slide buttons carry the same descriptions in their labels */
  .hero__controls { justify-content: flex-end; }
  .bar__call { display: none; }
}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) {
  .bar:not(.is-solid) .bar__visit { display: none; }
  .hero__lede { display: flex; align-items: flex-end; gap: 16px; max-width: none; }
  .hero__line { font-size: 16px; margin: 0; max-width: 24rem; }
  .hero__actions { flex-wrap: nowrap; }
}

/* Intro -------------------------------------------------------------------- */
.intro { padding-block: var(--section) calc(var(--section) * .8); }
.intro__title { font-size: clamp(32px, 4.4vw, 60px); max-width: 15ch; margin-bottom: 28px; }
.intro__body > p { max-width: 34em; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink-soft); padding-top: 3px; }
.facts dd { margin: 0; }
@media (min-width: 900px) {
  .intro__title { grid-column: 1 / 7; }
  .intro__body { grid-column: 8 / 13; padding-top: .4em; }
}
@media (max-width: 479px) {
  .facts div { grid-template-columns: 1fr; }
}

/* Photo figures ------------------------------------------------------------ */
.photo { margin: 0; background: var(--maple); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Shared editorial pattern: title above photo on phones; title + copy beside photo on desktop. */
.design__title, .made__title, .room__title, .builders__title { margin-bottom: 20px; }
.design__figure, .made__figure, .room__figure, .builders__figure { margin-bottom: 24px; }
.design__body > p, .made__body > p, .room__body > p, .builders__body > p { max-width: 32em; }

@media (min-width: 900px) {
  .design .grid, .room--kitchen, .builders .grid { grid-template-rows: auto 1fr; }
  .design__body, .made__body, .room__body, .builders__body { align-self: start; }
  .design__figure, .made__figure, .room--kitchen .room__figure, .builders__figure { position: relative; align-self: stretch; justify-self: stretch; }
  .design__figure img, .made__figure img, .room--kitchen .room__figure img, .builders__figure img { position: absolute; inset: 0; }
}

/* Design ------------------------------------------------------------------- */
.design { padding-bottom: var(--section); }
.design__figure { aspect-ratio: 16 / 11; }
.design__figure img { object-position: 22% 60%; }
.ticks { list-style: none; margin: 4px 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.ticks li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 6px; border-left: 2px solid var(--walnut); border-bottom: 2px solid var(--walnut); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .design__figure { grid-column: 1 / 8; grid-row: 1 / span 2; margin: 0; }
  .design__title { grid-column: 9 / 13; grid-row: 1; }
  .design__body { grid-column: 9 / 13; grid-row: 2; }
}

/* Cabinet lines (maple band) -------------------------------------------- */
.lines { background: var(--maple); padding-block: calc(var(--section) * .85); }
.lines__head { margin-bottom: 36px; }
.lines__head .section-title { margin-bottom: 18px; }
.lines__head p { max-width: 34em; }
.schedule { width: 100%; border-collapse: collapse; font-size: 18px; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-top: 1px solid rgba(42, 30, 22, .28); }
.schedule thead th { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--ink-soft); padding-block: 0 10px; border-top: 0; }
.schedule tbody th { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; font-variation-settings: "wdth" 118; line-height: 1.1; width: 30%; }
.schedule tbody tr:last-child > * { border-bottom: 1px solid rgba(42, 30, 22, .28); }
.schedule td:last-child { width: 24%; font-family: var(--display); font-size: 16px; font-weight: 500; padding-top: 22px; }
.lines__note { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); max-width: 40em; }
@media (min-width: 900px) {
  .lines__head { grid-column: 1 / 13; display: grid; grid-template-columns: subgrid; align-items: end; }
  .lines__head .section-title { grid-column: 1 / 7; margin: 0; }
  .lines__head p { grid-column: 8 / 13; margin: 0; }
  .lines__note { grid-column: 8 / 13; }
}
@media (max-width: 639px) {
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: auto !important; }
  .schedule tr { border-top: 1px solid rgba(42, 30, 22, .28); padding: 16px 0; }
  .schedule tbody tr:last-child { border-bottom: 1px solid rgba(42, 30, 22, .28); }
  .schedule th, .schedule td, .schedule tbody tr:last-child > * { border: 0; padding: 0; }
  .schedule tbody th { margin-bottom: 6px; }
  .schedule td:last-child { padding-top: 6px; color: var(--walnut); }
}

/* Made in Hauppauge (heartwood) ----------------------------------------- */
.made { background: var(--heartwood); color: var(--on-dark); padding-block: var(--section); }
.made .made__body p { color: var(--on-dark-soft); }
.made :focus-visible { outline-color: var(--sapwood); }
.made__figure { aspect-ratio: 4 / 5; background: var(--walnut); }
.made__figure img { object-position: 55% 30%; }
@media (min-width: 900px) {
  .made .grid { grid-template-rows: 1fr auto auto 1fr; }
  .made__title { grid-column: 1 / 6; grid-row: 2; }
  .made__body { grid-column: 1 / 6; grid-row: 3; }
  .made__figure { grid-column: 8 / 13; grid-row: 1 / 5; margin: 0; }
}

/* Rooms -------------------------------------------------------------------- */
.rooms { padding-block: var(--section); }
.rooms__title { max-width: 20ch; margin-bottom: clamp(36px, 5vw, 64px); }
.rooms__pair { margin-top: clamp(56px, 8vw, 120px); row-gap: 56px; }
.room__title { font-size: clamp(26px, 2.6vw, 36px); }
.room--kitchen .room__figure { aspect-ratio: 4 / 3; }
.room--bath .room__figure, .room--other .room__figure { aspect-ratio: 4 / 5; }
.room--bath .room__figure img { object-position: 50% 78%; }
.room--other .room__figure img { object-position: 60% 50%; }
@media (min-width: 900px) {
  .room--kitchen .room__title { grid-row: 1; grid-column: 9 / 13; }
  .room--kitchen .room__body { grid-row: 2; grid-column: 9 / 13; }
  .room--kitchen .room__figure { grid-row: 1 / span 2; grid-column: 1 / 8; margin: 0; }
  .rooms__pair .room--bath { grid-column: 1 / 6; }
  .rooms__pair .room--other { grid-column: 8 / 13; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .rooms__pair .room--bath { grid-column: 1 / 7; }
  .rooms__pair .room--other { grid-column: 7 / 13; }
}

/* Builders (walnut) -------------------------------------------------------- */
.builders { background: var(--walnut); color: var(--on-dark); padding-block: var(--section); }
.builders .builders__body p { color: var(--on-dark-soft); }
.builders :focus-visible { outline-color: var(--sapwood); }
.builders__figure { aspect-ratio: 3 / 2; background: var(--heartwood); }
.builders__body .button { margin-top: 8px; }
@media (min-width: 900px) {
  .builders__figure { grid-column: 1 / 8; grid-row: 1 / span 2; margin: 0; }
  .builders__title { grid-column: 9 / 13; grid-row: 1; }
  .builders__body { grid-column: 9 / 13; grid-row: 2; }
}

/* Process ------------------------------------------------------------------ */
.process { padding-block: var(--section) calc(var(--section) * .5); }
.process .section-title { margin-bottom: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--walnut); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 125; font-size: 15px; color: var(--walnut); margin-bottom: 10px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { font-size: 17px; line-height: 1.5; margin: 0; color: var(--ink); }
@media (max-width: 999px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 539px) { .steps { grid-template-columns: 1fr; row-gap: 24px; } }

/* Gallery ------------------------------------------------------------------ */
.gallery { padding-block: calc(var(--section) * .5) var(--section); }
.gallery__head { display: grid; gap: 12px 32px; margin-bottom: 24px; }
.gallery__head p { margin: 0; color: var(--ink-soft); max-width: 32em; }
@media (min-width: 900px) { .gallery__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); background: transparent; border-radius: 2px; font-family: var(--display); font-size: 15px; font-weight: 500; cursor: pointer; }
.filter:hover { border-color: var(--walnut); }
.filter[aria-pressed="true"] { background: var(--walnut); border-color: var(--walnut); color: var(--on-dark); }
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
@media (min-width: 760px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { margin: 0; min-width: 0; }
.tile__open { display: block; width: 100%; padding: 0; border: 0; background: var(--maple); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.tile__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile__open:hover img { transform: scale(1.025); }
.tile__caption { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 0; font-family: var(--display); font-size: 15px; font-weight: 500; line-height: 1.3; }
.tile__caption span { color: var(--ink-soft); font-weight: 400; white-space: nowrap; }
@media (max-width: 559px) { .tile__caption { flex-direction: column; gap: 2px; font-size: 14px; } }

/* Visit / contact ---------------------------------------------------------- */
.visit { background: var(--paper); padding-block: var(--section); border-top: 1px solid var(--rule); }
.visit__lede { font-size: 20px; margin: 16px 0 24px; max-width: 26em; }
.visit__schedule { margin: 0; border-top: 1px solid var(--rule); }
.visit__schedule div { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.visit__schedule dt { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink-soft); padding-top: 3px; }
.visit__schedule dd { margin: 0; overflow-wrap: anywhere; }
.visit__schedule a { display: inline-block; padding-block: 4px; }
.visit__phone { font-family: var(--display); font-size: 24px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.callback { margin-top: 48px; background: var(--ivory); padding: clamp(22px, 3vw, 36px); border-top: 3px solid var(--walnut); }
.callback h3 { font-size: 26px; margin-bottom: 8px; }
.callback__intro { font-size: 17px; color: var(--ink-soft); }
.callback__intro a { color: var(--ink); white-space: nowrap; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--display); font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--paper); border: 1px solid rgba(42, 30, 22, .35); border-radius: 2px; font-size: 18px; }
.field input[aria-invalid="true"] { border-color: #8A2E1A; box-shadow: inset 0 0 0 1px #8A2E1A; }
.field__error { margin: 6px 0 0; font-family: var(--display); font-size: 14px; color: #8A2E1A; }
.callback__submit { width: 100%; margin-top: 6px; }
.callback__status { margin: 14px 0 0; font-size: 16px; min-height: 0; }
.callback__status:empty { margin: 0; }
.callback__demo { margin: -4px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); text-align: center; font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.callback__submit:disabled { opacity: .55; cursor: not-allowed; }
@media (min-width: 900px) {
  .visit__info { grid-column: 1 / 7; }
  .callback { grid-column: 8 / 13; margin-top: 0; align-self: start; }
}
@media (max-width: 379px) { .visit__schedule div { grid-template-columns: 1fr; } }

/* Footer ------------------------------------------------------------------- */
.foot { background: var(--heartwood); color: var(--on-dark-soft); padding-block: 56px max(32px, env(safe-area-inset-bottom)); font-size: 16px; }
.foot__grid { display: grid; gap: 24px var(--gap); grid-template-columns: minmax(0, 1fr); }
.foot__brand { margin: 0; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; line-height: 1; color: var(--on-dark); }
.foot__contact p { margin: 0 0 4px; }
.foot a { color: var(--on-dark); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 15px; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__note { margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 14px; }
.foot :focus-visible { outline-color: var(--sapwood); }
@media (min-width: 900px) {
  .foot__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / 5; }
  .foot__contact { grid-column: 5 / 9; }
  .foot__nav { grid-column: 9 / 13; align-content: start; }
  .foot__note { grid-column: 1 / -1; }
}

/* Lightbox ----------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 12, 7, .96); color: var(--on-dark); overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 12, 7, .6); }
.lightbox__stage {
  position: fixed; left: var(--vv-left, 0px); top: var(--vv-top, 0px); width: var(--vv-w, 100vw); height: var(--vv-h, 100vh);
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; grid-template-rows: 48px minmax(0, 1fr) auto; gap: 10px 8px;
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
}
.lightbox__figure { display: contents; }
.lightbox__img { grid-column: 1 / -1; grid-row: 2; justify-self: center; align-self: center; max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; object-fit: contain; background: var(--walnut); }
.lightbox__caption { grid-column: 2; grid-row: 3; align-self: center; text-align: center; font-family: var(--display); font-size: 15px; line-height: 1.35; color: var(--on-dark-soft); }
.lightbox__count { display: block; color: var(--sapwood); margin-top: 2px; }
.lightbox__close { grid-column: 1 / -1; grid-row: 1; justify-self: end; align-self: start; min-width: 72px; min-height: 44px; padding: 0 14px; background: var(--ivory); color: var(--ink); border: 0; border-radius: 2px; font-family: var(--display); font-size: 15px; font-weight: 600; cursor: pointer; }
.lightbox__nav { grid-row: 3; align-self: center; width: 48px; height: 48px; border: 1px solid var(--rule-dark); background: rgba(20, 12, 7, .5); color: var(--on-dark); border-radius: 2px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--next { grid-column: 3; justify-self: end; }
.lightbox :focus-visible { outline: 2px solid var(--sapwood); outline-offset: 2px; }
body.lb-open { overflow: hidden; }

/* Reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__slide img { animation: none !important; transform: none !important; }
}
