/* VALLE cabinetry + millwork: site components on top of /css/tokens.css (package B, Coastal Workshop) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--c-plaster); color: var(--c-ink);
  font: var(--fw-body) var(--t-body)/var(--lh-body) var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, .display {
  font-family: var(--f-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display);
  line-height: var(--lh-display); margin: 0; text-wrap: balance;
}
h1 { font-size: calc(var(--t-h1) * var(--display-scale, 1)); text-transform: var(--display-case-major, none); letter-spacing: var(--ls-display-major, var(--ls-display)); }
h2 { font-size: calc(var(--t-h2) * var(--display-scale, 1)); }
h3 { font-size: calc(var(--t-h3) * var(--display-scale, 1)); line-height: 1.15; }
p, ul, ol, dl, figure { margin: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--mark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.band-dark :focus-visible, .site-foot :focus-visible { outline-color: var(--valle-aqua); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--c-pacific); color: var(--c-plaster); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--c-ink); }
.mute { color: var(--c-ink-mute); }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-5); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 231, .96); border-bottom: 1px solid var(--c-hair); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(247, 241, 231, .88); backdrop-filter: blur(10px); } }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 9px; border-radius: var(--r-pill); color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--c-sand); }
.nav a[aria-current="page"] { background: var(--c-sand); box-shadow: inset 0 0 0 1px var(--c-hair); }
.head-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.head-phone { color: var(--c-ink); font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: transparent; color: var(--c-ink); font: 600 1rem/1 var(--f-body); cursor: pointer; }
.menu-btn .bars { width: 18px; height: 10px; border-block: 2px solid currentColor; }
.nav-extra { display: none; }
@media (max-width: 1340px) {
  .head-phone { display: none; }
}
@media (max-width: 1190px) {
  .js .menu-btn { display: inline-flex; }
  .js .head-cta { display: none; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px var(--gutter) 24px; background: var(--c-plaster); border-bottom: 1px solid var(--c-line); box-shadow: 0 24px 40px -24px rgba(21, 62, 60, .35); max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 14px 16px; font-size: 1.0625rem; }
  .js .nav-extra { display: grid; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--c-hair); }
  .js .nav-extra .btn { width: 100%; }
  .no-js .nav { flex-wrap: wrap; }
}
@media (max-width: 520px) { .brand img { height: 40px; } .head-row { min-height: 70px; } }

/* ---------- buttons + links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 var(--btn-pad-x); border-radius: var(--btn-radius); font: var(--btn-font); background: var(--act); color: var(--act-ink); border: 1px solid var(--act); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.btn:hover { background: var(--c-pacific); border-color: var(--c-pacific); }
.btn .pl { color: var(--valle-aqua); font-weight: 700; }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { background: var(--c-sand); border-color: var(--c-line); }
.btn-light { background: var(--c-plaster); color: var(--c-pacific); border-color: var(--c-plaster); }
.btn-light:hover { background: var(--c-paper); border-color: var(--c-paper); color: var(--c-pacific); }
.btn-light .pl { color: var(--valle-copper); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.tlink { color: var(--c-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.tlink:hover { color: var(--link); }
.band-dark .tlink { color: var(--c-plaster); text-decoration-color: var(--valle-aqua); }

/* ---------- labels, plus, wave ---------- */
.eyebrow { display: flex; align-items: baseline; gap: .5em; font-family: var(--f-label); font-weight: var(--fw-label); font-size: 1rem; line-height: 1.3; text-transform: var(--label-case); letter-spacing: var(--ls-label); color: var(--c-ink); }
.eyebrow::before { content: "+"; color: var(--mark); font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
.band-dark .eyebrow { color: var(--c-seaglass); }
.plus-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.plus-list li { position: relative; padding-left: 22px; }
.plus-list li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--mark); font-weight: 700; }
.band-dark .plus-list li::before { color: var(--valle-aqua); }
.wave { display: block; width: 100%; height: 22px; color: var(--c-line); }
.pair { color: var(--mark); font-weight: 600; padding-inline: .15em; }

/* ---------- photo frames ---------- */
.plate { min-width: 0; }
.frame { position: relative; overflow: hidden; background: var(--c-sand); border-radius: var(--r-xl); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.r43 { aspect-ratio: 4 / 3; } .r32 { aspect-ratio: 3 / 2; } .r11 { aspect-ratio: 1 / 1; } .r45 { aspect-ratio: 4 / 5; } .r34 { aspect-ratio: 3 / 4; }
.a45 { aspect-ratio: 4 / 5; border-radius: var(--arch-4x5); }
.a34 { aspect-ratio: 3 / 4; border-radius: var(--arch-3x4); }
.a23 { aspect-ratio: 2 / 3; border-radius: var(--arch-2x3); }
.a11 { aspect-ratio: 1 / 1; border-radius: var(--arch-1x1); }
.cap { display: flex; gap: .5em; margin-top: 12px; font-size: var(--t-small); line-height: 1.45; color: var(--c-ink-mute); }
.cap::before { content: "+"; color: var(--mark); font-weight: 700; flex: none; }
.band-dark .cap { color: var(--c-seaglass); }

/* ---------- sections ---------- */
.sec { padding-block: var(--section); }
.sec-tight { padding-block: calc(var(--section) * .6); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head p { color: var(--c-ink-mute); max-width: 58ch; }
.band-sand { background: var(--c-sand); }
.band-dark { background: var(--c-pacific); color: var(--c-on-dark); }
.band-dark a:not(.btn) { color: var(--c-plaster); }
.band-dark .mute, .band-dark .sec-head p { color: var(--c-seaglass); }
.panel { background: var(--c-sand); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); }
.panel-paper { background: var(--c-paper); border: 1px solid var(--c-hair); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 48px); }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: center; padding-block: clamp(32px, 5vw, 80px) clamp(56px, 7vw, 104px); }
.hero h1 { font-size: calc(var(--t-hero) * var(--display-scale, 1)); line-height: .98; text-transform: var(--display-case-major, none); letter-spacing: var(--ls-display-major, var(--ls-display)); }
.hero .copy { display: grid; gap: 24px; align-content: center; }
.hero .copy .lead { max-width: 34ch; }
.hero-fig { position: relative; padding: 18px 0 0 18px; }
.stamp { position: absolute; left: -6px; top: -4px; width: 124px; height: 124px; z-index: 2; color: var(--c-ink); background: var(--c-plaster); border-radius: 50%; }
.stamp text { font: 600 10.5px var(--f-body); letter-spacing: .14em; fill: currentColor; }
.stamp .pl { font: 500 30px var(--f-display); letter-spacing: 0; fill: var(--mark); }
.proof { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.proof li { background: var(--c-sand); border-radius: var(--r-pill); padding: 9px 16px; font-size: var(--t-small); font-weight: 500; }
.proof li::before { content: "+ "; color: var(--mark); font-weight: 700; }

/* ---------- inner page hero ---------- */
.crumbs { padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: .9rem; color: var(--c-ink-mute); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--c-line); }
.crumbs a { color: var(--c-ink-mute); }
.crumbs [aria-current] { color: var(--c-ink); }
.page-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.page-hero .copy { display: grid; gap: 22px; }
.page-hero .lead { max-width: 52ch; }
.page-hero.solo { grid-template-columns: minmax(0, 1fr); }
.page-hero.solo .copy { max-width: 820px; }

/* ---------- grids + cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc { display: grid; gap: 16px; align-content: start; color: inherit; text-decoration: none; }
.svc h3 { font-size: calc(1.6rem * var(--display-scale, 1)); }
.svc p { color: var(--c-ink-mute); }
.svc .more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.svc:hover h3 { color: var(--link); }
.door { display: grid; gap: 14px; align-content: start; background: var(--c-sand); border-radius: 26px; padding: 24px; color: inherit; text-decoration: none; min-width: 0; transition: background var(--dur) var(--ease); }
.door:hover { background: #E6D8C2; }
.band-sand .door { background: var(--c-plaster); }
.band-sand .door:hover { background: var(--c-paper); }
.band-sand .door .who::before { background: var(--c-sand); }
.door .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.door .who::before { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-plaster); color: var(--mark); display: grid; place-items: center; font-weight: 700; }
.door strong { font-family: var(--f-display); font-weight: var(--fw-display); font-size: calc(clamp(1.5rem, 1.3rem + .6vw, 1.85rem) * var(--display-scale, 1)); line-height: 1.06; letter-spacing: -.015em; }
.door p { color: var(--c-ink-mute); font-size: var(--t-small); }
.door .next { font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 5px; }
.work-card { display: grid; gap: 4px; color: inherit; text-decoration: none; min-width: 0; }
.work-card .frame { margin-bottom: 14px; }
.work-card .frame img { transition: transform 600ms var(--ease); }
.work-card:hover .frame img { transform: scale(1.03); }
.work-card h3 { font-size: calc(1.35rem * var(--display-scale, 1)); }
.work-card .meta { font-size: var(--t-small); color: var(--c-ink-mute); }
.work-card:hover h3 { color: var(--link); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; counter-reset: s; }
.steps li { border-top: 1px solid var(--c-line); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); font: 500 calc(1rem * var(--display-scale, 1))/1 var(--f-display); color: var(--mark); }
.steps h3 { font-size: calc(1.3rem * var(--display-scale, 1)); }
.steps p { color: var(--c-ink-mute); font-size: var(--t-small); }
.band-dark .steps li { border-color: rgba(198, 219, 209, .35); }
.band-dark .steps li::before { color: var(--valle-aqua); }
.band-dark .steps p { color: var(--c-seaglass); }

/* ---------- prose ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; font-size: calc(1.35rem * var(--display-scale, 1)); }
.prose ul:not(.plus-list), .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 600; }
.answer { font-size: var(--t-lead); line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split aside { position: sticky; top: 104px; }
.toc { list-style: none; padding: 0; display: grid; gap: 2px; font-size: var(--t-small); }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--c-ink); text-decoration: none; }
.toc a:hover { background: var(--c-sand); }

/* ---------- build story (process) ---------- */
.stage { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px 28px; padding-block: 36px; border-top: 1px solid var(--c-line); }
.stage .num { font: 500 calc(2.5rem * var(--display-scale, 1))/1 var(--f-display); color: var(--mark); }
.stage h2 { font-size: calc(clamp(1.6rem, 1.3rem + 1vw, 2.1rem) * var(--display-scale, 1)); }
.stage .body { display: grid; gap: 14px; max-width: var(--measure); }
.stage dl { display: grid; gap: 12px; margin-top: 6px; }
.stage dt { font-weight: 600; }
.stage dd { margin: 2px 0 0; color: var(--c-ink-mute); }
.stage .watch { background: var(--c-sand); border-radius: var(--r-lg); padding: 16px 18px; }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--c-sand); border-radius: var(--r-lg); overflow: hidden; }
.facts > div { padding: 18px 20px; min-width: 0; }
.facts > div + div { border-left: 1px solid var(--c-hair); }
.facts dt { font-family: var(--f-label); font-weight: var(--fw-label); font-size: .95rem; letter-spacing: var(--ls-label); text-transform: var(--label-case); color: var(--c-ink-mute); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: var(--t-small); line-height: 1.45; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.story article { background: var(--c-paper); border: 1px solid var(--c-hair); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.story .k { font: 500 calc(.95rem * var(--display-scale, 1))/1 var(--f-display); color: var(--mark); }
.story h2 { font-size: calc(1.5rem * var(--display-scale, 1)); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.gallery .wide { grid-column: 1 / -1; }

/* ---------- cost ---------- */
.cost-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.cost-table th, .cost-table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--c-hair); vertical-align: top; }
.cost-table th { font-weight: 600; width: 38%; }
.cost-table caption { text-align: left; font-weight: 600; margin-bottom: 8px; }

/* ---------- faq ---------- */
.faq { border-bottom: 1px solid var(--c-line); }
.faq details { border-top: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 20px 0; font: var(--fw-display) calc(clamp(1.15rem, 1.05rem + .4vw, 1.35rem) * var(--display-scale, 1))/1.2 var(--f-display); letter-spacing: var(--ls-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mark); font: 500 1.8rem/1 var(--f-display); transition: transform var(--dur) var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; max-width: var(--measure); color: var(--c-ink); display: grid; gap: 10px; }
.qa-group + .qa-group { margin-top: 56px; }
.qa-group > h2 { margin-bottom: 18px; font-size: calc(clamp(1.5rem, 1.3rem + .8vw, 2rem) * var(--display-scale, 1)); }

/* ---------- placeholders ---------- */
.todo { display: inline; background: #FFF1CF; color: #5E3F14; outline: 1px dashed var(--c-ochre); outline-offset: 1px; border-radius: 5px; padding: 0 .3em; font-weight: 600; font-size: .92em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- CTA band ---------- */
.cta { background: var(--c-pacific); color: var(--c-on-dark); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.cta h2 { color: var(--c-plaster); }
.cta .eyebrow { color: var(--c-seaglass); }
.band-dark .eyebrow::before, .cta .eyebrow::before { color: var(--mark-on-dark); }
.cta p { color: var(--c-seaglass); }
.cta address { font-style: normal; color: var(--c-plaster); line-height: 1.6; }
.cta .btn-row { margin-top: 20px; }
.cta a:not(.btn) { color: var(--c-plaster); }

/* ---------- related links ---------- */
.links-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.links-row a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--c-sand); color: var(--c-ink); text-decoration: none; font-weight: 500; }
.links-row a::before { content: "+"; color: var(--mark); font-weight: 700; }
.links-row a:hover { background: #E6D8C2; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--c-ink-mute); font-size: .875rem; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 50px; font: var(--field-font); color: var(--c-ink); background: var(--field-bg); border: 1px solid var(--field-border); border-radius: var(--field-radius); padding: var(--field-pad); }
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23153E3C' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #9B3A2A; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--t-small); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--valle-teal); }
.form-note { font-size: var(--t-small); color: var(--c-ink-mute); }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.err { color: #8A2F20; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-foot { background: var(--c-pacific); color: var(--c-seaglass); padding-block: 72px 32px; margin-top: var(--section); }
.site-foot a { color: var(--c-plaster); text-decoration-color: rgba(247, 241, 231, .4); }
.site-foot a:hover { text-decoration-color: var(--valle-aqua); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot-plate { display: inline-block; background: var(--c-plaster); border-radius: var(--r-lg); padding: 16px 20px; line-height: 0; }
.foot-plate img { height: 50px; width: auto; }
.foot-grid h2 { font: var(--fw-label) 1rem/1.3 var(--f-label); letter-spacing: var(--ls-label); text-transform: var(--label-case); color: var(--c-seaglass); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-grid address { font-style: normal; color: var(--c-plaster); line-height: 1.6; }
.foot-about { margin-top: 20px; max-width: 36ch; }
.foot-sister { margin-top: 10px; max-width: 36ch; font-size: .85rem; color: var(--c-on-dark-mute); opacity: .85; }
.foot-sister a { text-decoration-thickness: 1px; }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(198, 219, 209, .25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .9rem; }
.legal { color: var(--c-plaster); font-weight: 500; letter-spacing: .01em; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 241, 231, .97); border-top: 1px solid var(--c-line); }
  .callbar .btn { min-height: 46px; padding: 0 12px; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 50vh; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:nth-child(4) { border-left: 0; }
  .facts > div:nth-child(n+4) { border-top: 1px solid var(--c-hair); }
}
@media (max-width: 860px) {
  .hero, .page-hero, .sec-head, .split, .cta { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 28px; }
  .hero-fig .frame.a45 { aspect-ratio: 1 / 1; border-radius: var(--arch-1x1); }
  .page-hero .plate .frame { aspect-ratio: 4 / 3; border-radius: var(--arch-1x1); border-radius: 50% 50% var(--r-xl) var(--r-xl) / 66.6% 66.6% var(--r-xl) var(--r-xl); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-3.cards-2up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split aside { position: static; }
  .story { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  h1.h1-step { font-size: calc(var(--t-h2) * var(--display-scale, 1)); }
  .grid-2, .gallery, .form, .grid-3.cards-2up { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { border-left: 0 !important; border-top: 1px solid var(--c-hair); }
  .facts > div:nth-child(-n+2) { border-top: 0; }
  .facts > div:nth-child(even) { border-left: 1px solid var(--c-hair) !important; }
  .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage .num { font-size: calc(1.6rem * var(--display-scale, 1)); }
  .stamp { width: 96px; height: 96px; left: auto; right: -4px; top: -6px; }
  .hero-fig { padding: 12px 0 0; }
  .btn-row .btn { flex: 1 1 auto; }
  .work-card h3 { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .work-card:hover .frame img { transform: none; }
}
@media print { .site-head, .callbar, .site-foot { display: none; } }

.nav .btn { color: var(--act-ink); background: var(--act); padding: 0 var(--btn-pad-x); }
.nav .btn-ghost { color: var(--c-ink); background: transparent; }
.nav .btn:hover { background: var(--c-pacific); }
.nav .btn-ghost:hover { background: var(--c-sand); }

/* owner quotes (why-valle) */
.quote { margin: 28px 0; padding-top: 16px; border-top: 1px solid var(--c-hair); }
.quote p { font-size: calc(var(--t-lead) * 1.1); line-height: 1.45; margin: 0; color: var(--c-ink); }
.quote footer { margin-top: 8px; font-size: var(--t-small); color: var(--c-ink-mute); }

/* link rows: separated by space, not by a character */
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* recent work gallery (portfolio) and its teaser (home) */
.recent-group + .recent-group { margin-top: clamp(40px, 5vw, 64px); }
.recent-group h3 { margin-bottom: 20px; }
.recent .plate .cap { margin-top: 10px; }
.teaser { color: inherit; text-decoration: none; }
.teaser:hover .cap { color: var(--c-ink); }
@media (max-width: 600px) { .grid-3.recent { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }

/* photo zoom: tap a work or case-study photo to see the large file (loads only on open) */
img.zoomable { cursor: zoom-in; }
img.zoomable:focus-visible { outline: 3px solid var(--c-pacific); outline-offset: 3px; }
.zoom { position: fixed; inset: 0; z-index: 1100; background: rgba(33, 26, 20, .96); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; gap: 10px; padding: 14px max(16px, env(safe-area-inset-left, 0px)) 18px; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-md, 6px); }
.zoom-bar { display: flex; gap: 10px; justify-self: stretch; justify-content: flex-end; flex-wrap: wrap; }
.zoom-btn { min-width: 44px; min-height: 44px; padding: 0 20px; font: var(--fw-label) 1.05rem/1 var(--f-label); text-transform: var(--label-case); letter-spacing: .08em; background: transparent; color: var(--c-plaster); border: 1.5px solid var(--c-plaster); border-radius: var(--r-pill); cursor: pointer; }
.zoom-btn:hover { background: var(--c-plaster); color: var(--c-ink); }
.zoom-btn:focus-visible { outline: 3px solid var(--valle-aqua); outline-offset: 3px; }
.zoom-cap { margin: 0; color: var(--c-plaster); max-width: 70ch; text-align: center; font-size: var(--t-small); line-height: 1.45; }

/* December 8 open house notice: added by build/make_live.py, left out after 2026-12-08 */
.dec8-wrap { margin-block: clamp(20px, 4vw, 36px); }
.dec8 { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px; background: var(--c-sand); border-radius: var(--r-xl); padding: 20px 24px; }
.dec8 p { margin: 0; grid-column: 1; max-width: 62ch; }
.dec8 .dec8-date { font-family: var(--f-label); font-weight: var(--fw-label); text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem; }
.dec8 .btn { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
.dec8 .btn-ghost:hover { background: var(--c-paper); }
@media (max-width: 640px) { .dec8 { grid-template-columns: 1fr; } .dec8 .btn { grid-column: 1; grid-row: auto; justify-self: start; } }
