/* Yarrow Studios — site styles
   Layout: one 1360px column, editorial rows that wrap to a single column on phones.
   Look: warm off-white ground, near-black ink, sage green and cream from the logo for the
   header, footer, buttons and dark bands. Lemon Milk (all caps, self-hosted, licensed) for the
   wordmark and small labels only; Jost (self-hosted, OFL) for headlines and all text. */

@font-face { font-family: 'Lemon Milk'; src: url('../fonts/lemonmilk-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-italic-latin.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Lemon Milk'; src: url('../fonts/lemonmilk-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../fonts/nunito-sans-latin.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  --bg: #FAF7EF;
  --paper: #FFFDF8;
  --ink: #1D211B;
  --ink-2: #3D4239;
  --muted: #5A5F55;
  --rule: #DEDACB;
  --rule-strong: #A9A794;
  --photo: #EEEAE0;          /* ground behind photos shown whole (shop, Work pop-out) */
  /* Logo green (#678660) is too light for small cream text, so text-bearing green surfaces
     use --green (4.9:1 with cream) and links/hover use --accent (6:1 on --bg). */
  --brand-green: #678660;
  --green: #56724F;
  --accent: #4A6444;
  --cream: #FEF4C9;
  --night: #3E5539;
  --night-ink: #FEF4C9;
  --night-muted: #DCD9BC;
  --night-rule: #5B7255;
  --field-dark: #34482F;
  --display: 'Lemon Milk', 'Jost', sans-serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  /* Headlines in Avenir Next (Ryan, 2026-10-22). It is the copy built into Apple devices, not a web
     font we host; other devices get Nunito Sans (OFL, self-hosted), a close free look-alike that
     browsers only download when Avenir is missing. */
  --head: 'Avenir Next', 'Avenir', 'Nunito Sans', var(--sans);
  --mono: var(--sans);
  --gutter: max(clamp(16px, 3vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 3vw, 40px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .night :focus-visible { outline-color: var(--cream); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 1000; transform: translateY(-200%); padding: 12px 18px; background: var(--paper); color: var(--ink); border: 2px solid var(--accent); font-weight: 600; }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { padding-block: clamp(56px, 8vw, 96px); }
.band-tight { padding-block: clamp(40px, 5vw, 64px); }
.paper { background: var(--paper); border-block: 1px solid var(--rule); }
.night { background: var(--night); color: var(--night-ink); }
.night a { color: var(--night-ink); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.row > * { min-width: 0; }
.row.end { align-items: flex-end; }
.row.center { align-items: center; }
.row.between { justify-content: space-between; }
.col { flex: 1 1 420px; min-width: 0; }
.col-wide { flex: 2 1 560px; min-width: 0; }
.col-narrow { flex: 1 1 320px; min-width: 0; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--display); font-weight: 400; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.night .eyebrow { color: var(--night-muted); }
.label { font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.caption { font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.5; }
.num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
/* Headlines stay close to their text, about 1.7 to 1.8 times the body or lede size at every level
   (Ryan, 2026-10-22: the homepage's "Furniture made for your home." split is the reference). */
.display-xl, .display-l, .display-m, .display-s { font-family: var(--head); font-weight: 500; letter-spacing: -0.01em; }
.display-xl { font-size: clamp(30px, 2.8vw, 36px); line-height: 1.1; }
.display-home { font-size: clamp(30px, 2.8vw, 36px); }
.display-l { font-size: clamp(26px, 2.5vw, 33px); line-height: 1.12; }
.display-m { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.display-s { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.2; }
.faq-item h3, .quote p, .steps strong, .principles strong, .shop-name { font-family: var(--head); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 36rem; }
.night .lede, .night .soft { color: var(--night-muted); }
.soft { color: var(--ink-2); }
.small { font-size: 15px; }
.prose { max-width: 40rem; display: flex; flex-direction: column; gap: 16px; }
.prose-lg p { font-size: 20px; line-height: 1.5; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 24px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--green); background: var(--green); color: var(--cream); font-family: var(--sans); cursor: pointer; }
.btn:hover { background: var(--night); border-color: var(--night); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.night .btn { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.night .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-u { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header / footer ---------- */
.site-header { background: var(--green); color: var(--cream); }
.site-header a { color: var(--cream); }
.site-header a:hover { color: #FFFFFF; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: 0.02em; color: var(--ink); }
.wordmark img { width: 44px; height: 44px; }
.site-header .wordmark, .site-footer .wordmark { color: var(--cream); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.nav-links .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; background: var(--cream); border-color: var(--cream); color: var(--night); }
.nav-links .btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--night); }
.nav-toggle { display: none; }
.site-footer { background: var(--night); color: var(--night-ink); }
.site-footer a { color: var(--night-ink); }
.site-footer .eyebrow { color: var(--night-muted); }
.site-footer .wordmark { font-size: 21px; white-space: nowrap; }
.site-footer .wordmark img { width: 40px; height: 40px; }
.footer-main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 56px; padding-block: 44px 32px; font-size: 15px; color: var(--night-muted); }
.footer-brand { display: flex; flex-direction: column; gap: 22px; max-width: 46rem; }
.footer-tagline { color: var(--night-ink); }
.footer-info { display: flex; flex-wrap: wrap; gap: 24px 48px; font-size: 14px; line-height: 1.5; }
.footer-group { display: flex; flex-direction: column; gap: 3px; }
.footer-info a { color: inherit; text-decoration: none; }
.footer-info a:hover { color: var(--night-ink); }
.footer-info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-sub { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; border-top: 1px solid var(--night-rule); font-size: 14px; }
.footer-sub a { color: var(--night-muted); text-decoration: none; }
.footer-sub a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 16px 22px; border-top: 1px solid var(--night-rule); font-size: 13px; color: var(--night-muted); }
.footer-bar a { color: var(--night-muted); }

/* ---------- credentials strip ---------- */
.strip { border-block: 1px solid var(--rule); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 40px; padding-block: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; color: var(--ink-2); }

/* ---------- figures ---------- */
figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
/* Photos keep their own shape (build.py sets aspect-ratio on each). The h-* classes only cap the height. */
.cover { width: 100%; height: auto; object-fit: cover; }
.h-hero { max-height: min(82vh, 780px); }
/* Homepage hero photo: a smaller square crop beside the headline. */
.hero-square { flex: 0 1 560px; }
.hero-square.small { flex-basis: 440px; }
@media (min-width: 1000px) { .hero-square { margin-left: auto; } }
.h-xl { max-height: min(80vh, 720px); }
.h-l { max-height: 600px; }
.h-m { max-height: 480px; }
.h-s { max-height: 360px; }
.drawing { width: 100%; object-fit: contain; background: var(--paper); border: 1px solid var(--rule); aspect-ratio: 3 / 2; }

/* ---------- project cards ---------- */
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; flex: 1 1 460px; min-width: 0; }
.card:hover h3 { color: var(--accent); }
.cards { display: flex; flex-wrap: wrap; gap: 48px 32px; }
.feature { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; }
.feature > img { flex: 0 1 auto; width: auto; max-width: 100%; height: min(78vh, 680px); max-height: none; min-width: 0; }
.feature > div { flex: 1 1 300px; min-width: 0; }
.feature:hover h3 { color: var(--accent); }

/* work index rows */
.work-row { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding-block: 40px; border-top: 1px solid var(--rule); }
.work-row:last-child { border-bottom: 1px solid var(--rule); }
.work-row > img { flex: 0 1 auto; width: auto; max-width: 100%; height: clamp(320px, 36vw, 480px); max-height: none; min-width: 0; }
.work-row > div { flex: 2 1 300px; min-width: 0; }
.work-row:nth-child(even) > img { order: 2; }
.work-row:hover h2, .work-row:hover h3 { color: var(--accent); }
/* Homepage Selected work: the Work page rows at a smaller size. */
.work-rows-compact .work-row { padding-block: 32px; }
@media (min-width: 561px) { .work-rows-compact .work-row > img { height: clamp(240px, 26vw, 360px); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: 14px; background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 10px 18px; min-height: 44px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }

/* ---------- lists ---------- */
.ruled { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ruled > li, .ruled > div { padding-block: 18px; border-top: 1px solid var(--rule); }
.ruled > :last-child { border-bottom: 1px solid var(--rule); }
.night .ruled > li, .night .ruled > div { border-color: var(--night-rule); }
.ruled-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 40px; }
.ruled-grid > li { flex: 1 1 260px; padding-block: 18px; border-top: 1px solid var(--rule); }
.ruled-grid.thirds > li { flex-basis: max(260px, calc((100% - 80px) / 3)); }
.numbered > li { display: flex; gap: 22px; }
.numbered > li > .num { min-width: 28px; padding-top: 3px; }
.night .numbered > li > .num { color: var(--night-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px 24px; }
.steps > li { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.steps strong { font-weight: 600; font-size: 20px; }
.process-pics { display: flex; flex-wrap: wrap; gap: 32px 24px; list-style: none; margin: 0; padding: 0; }
.process-pics > li { flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * 220px); min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* price list */
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.price-row dt { font-weight: 500; }
.price-row dd { margin: 0; font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }
dl { margin: 0; }
.terms > div { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.terms dt { flex: 0 0 190px; font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.terms dd { flex: 1 1 260px; margin: 0; }
.table-scroll { overflow-x: auto; border-top: 2px solid var(--ink); }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.price-table caption { text-align: left; padding: 18px 0 10px; }
.price-table th, .price-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }
.price-table tbody th { font-weight: 500; }
.price-table td.mono { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- case study ---------- */
.titleblock { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); }
.titleblock > div { flex: 1 1 210px; padding: 14px 18px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-right: -1px; margin-bottom: -1px; }
.titleblock > div.wide { flex: 2 1 420px; }
.titleblock dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.titleblock dd { margin: 4px 0 0; font-size: 15px; }
/* Proportional rows keep photo shapes. Cap each figure's width by its ratio so
   an incomplete row cannot stretch a portrait beyond the intended height. */
.gallery { --row: 340px; --max-row: min(70vh, 600px); display: flex; flex-wrap: wrap; gap: 32px 24px; }
.gallery > figure { flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * var(--row)); min-width: 0; max-width: min(100%, calc(var(--r, 1.5) * var(--max-row))); }
.gallery img.cover { height: auto; max-height: none; }
.hero-grid { --row: 360px; gap: 24px; }
.cards > .card { flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * 340px); max-width: calc(var(--r, 1) * 640px); }
.cards > .card img.cover { max-height: none; }
/* More projects: a mosaic with every row full. Portrait photos take one column, landscape ones
   (.wide) two, and dense packing fills the gaps. more_gallery() picks the column counts per page
   (--cols-s/-m/-l) so the photos divide evenly. Cells are about 280px wide at most, so a short
   gallery stays small. No visible captions: a click opens the photo in the lightbox below. */
.more-gallery { --c: var(--cols-s, 3); --gap: 10px; display: grid; grid-template-columns: repeat(var(--c), minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gap);
  max-width: calc(var(--c) * 280px + (var(--c) - 1) * var(--gap)); container-type: inline-size; }
@media (min-width: 700px) { .more-gallery { --c: var(--cols-m, 4); } }
@media (min-width: 1000px) { .more-gallery { --c: var(--cols-l, 5); } }
.more-gallery > figure { margin: 0; min-width: 0; height: calc((100cqw - (var(--c) - 1) * var(--gap)) / var(--c) * 4 / 3); }
.more-gallery > figure.wide { grid-column: span 2; }
.more-gallery figure > a, .more-gallery img.cover { display: block; width: 100%; height: 100%; }
.more-gallery figure > a { overflow: hidden; }
.more-gallery img.cover { aspect-ratio: auto !important; max-height: none; transition: transform 0.5s ease; }
.lb-item { display: block; overflow: hidden; cursor: zoom-in; }
.lb-item:hover img, .lb-item:focus-visible img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .more-gallery img.cover { transition: none; } .lb-item:hover img, .lb-item:focus-visible img { transform: none; } }

/* Lightbox: full-screen <dialog> made by LIGHTBOX_JS. Phones: close at the top, photo, then
   previous / caption / next along the bottom. Wider screens: arrows either side of the photo. */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 0 env(safe-area-inset-bottom, 0px); border: 0; background: var(--ink); color: var(--cream); }
.lightbox::backdrop { background: rgba(29, 33, 27, 0.6); }
.lightbox[open] { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: 56px minmax(0, 1fr) auto;
  grid-template-areas: ". . close" "img img img" "prev cap next"; }
.lb-img { grid-area: img; width: 100%; height: 100%; object-fit: contain; min-height: 0; padding: 0 8px; }
.lb-caption { grid-area: cap; margin: 0; padding: 16px 8px 20px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.lb-title { font-size: 18px; line-height: 1.35; }
.lightbox .label { color: var(--night-muted); }
.lb-btn { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; background: none; color: var(--cream); font: 300 40px/1 var(--sans); cursor: pointer; }
.lb-btn:hover { color: #fff; }
.lb-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: -6px; }
.lb-close { grid-area: close; font-size: 36px; }
.lb-prev { grid-area: prev; align-self: center; }
.lb-next { grid-area: next; align-self: center; }
@media (min-width: 700px) {
  .lightbox[open] { grid-template-columns: 88px minmax(0, 1fr) 88px; grid-template-rows: 72px minmax(0, 1fr) auto;
    grid-template-areas: ". . close" "prev img next" ". cap ."; }
  .lb-btn { width: 72px; height: 72px; font-size: 56px; }
  .lb-close { font-size: 40px; }
  .lb-img { padding: 0; }
}
/* Recent clients and press: a two-column label / names list under the selected work */
.clients { border-block: 1px solid var(--rule); }
.clients-grid { display: grid; grid-template-columns: max-content 1fr; gap: 10px 40px; padding-block: 22px; align-items: baseline; }
.clients-grid p { margin: 0; }
.clients-names { font-size: 16px; color: var(--ink-2); }
.clients-names a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
.clients-names a:hover { color: var(--accent); }

/* Client quotes */
.testimonials { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.testimonial { margin: 0; flex: 1 1 300px; border-top: 1px solid var(--ink); padding-top: 18px; }
.testimonial blockquote { margin: 0; }
.testimonial p { margin: 0 0 10px; font-size: 18px; line-height: 1.45; }

/* Trade Partner form: optional details folded behind a summary line */
.more-fields { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.more-fields summary { cursor: pointer; padding-block: 16px; font-size: 15px; font-weight: 500; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::before { content: "+"; font-family: var(--mono); width: 1ch; }
.more-fields[open] summary::before { content: "−"; }
.more-fields summary .soft { font-weight: 400; color: var(--muted); font-size: 14px; }
.more-fields-body { display: flex; flex-direction: column; gap: 26px; padding-bottom: 26px; }

.quote { margin: 0; padding: 0 0 0 0; border-top: 2px solid var(--ink); padding-top: 20px; max-width: 46rem; }
.quote p { font-weight: 500; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.25; }
.quote footer { margin-top: 10px; }
.next-project { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.next-project img { flex: 0 1 auto; width: auto; max-width: 100%; height: 220px; min-width: 0; }
.next-project:hover span.display-m { color: var(--accent); }

/* ---------- forms ---------- */
.home-inquiry { display: grid; grid-template-areas: "intro" "form" "support"; gap: 28px; padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px); scroll-margin-top: 24px; align-items: start; }
.home-intro { grid-area: intro; }
.home-form { grid-area: form; min-width: 0; }
.home-support { grid-area: support; min-width: 0; }
.home-inquiry.has-process { grid-template-areas: "intro" "form" "support" "process"; }
.home-process { grid-area: process; min-width: 0; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--rule); }
@media (max-width: 999px) { .home-support-pic { display: none; } }
@media (min-width: 1000px) {
  .home-inquiry { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); grid-template-areas: "intro form" "support form"; gap: 24px 80px; }
  .home-inquiry.has-process { grid-template-areas: "intro form" "support form" "process process"; row-gap: 40px; }
}
.form { display: flex; flex-direction: column; gap: 26px; }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.form > .field, .form > fieldset { flex: none; }
.field label, .form legend { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; width: 100%;
  background-color: var(--bg); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
/* Selects: flat box with our own chevron, so iOS, Android and desktop all match */
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  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 1.5l5 5 5-5' fill='none' stroke='%23171614' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
/* Month/date pickers: iOS centres and collapses them unless told otherwise */
.field input[type="month"], .field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; text-align: left; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input[type="file"] { padding: 14px; border-style: dashed; font-size: 15px; }
.field input[type="file"]::file-selector-button {
  font: inherit; font-size: 14px; font-weight: 600; margin-right: 12px; padding: 8px 14px;
  border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.hint { font-size: 13px; color: var(--muted); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { margin-bottom: 10px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.choices input { width: 20px; height: 20px; accent-color: var(--accent); }
.choice-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-cards label { flex: 1 1 190px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-strong); font-size: 15px; cursor: pointer; }
.choice-cards label:has(input:checked) { border-color: var(--ink); background: var(--bg); }
.choice-cards input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-card { background: var(--paper); border: 1px solid var(--rule); padding: clamp(20px, 4vw, 40px); }
/* Border at 4:1 against --night so empty fields read as fields (WCAG non-text contrast). */
.night .field input, .night .field select, .night .field textarea { background-color: var(--field-dark); color: var(--night-ink); border-color: #B0B9A3; color-scheme: dark; }
.night .field select { 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 1.5l5 5 5-5' fill='none' stroke='%23F6F5F2' stroke-width='1.5'/%3E%3C/svg%3E"); }
.night .field input[type="radio"], .night .field input[type="checkbox"] { color-scheme: light; }
.night .field input[type="file"]::file-selector-button { border-color: var(--night-ink); color: var(--night-ink); }
.night .caption a { color: var(--night-muted); }
.night .hint { color: var(--night-muted); }
.night .choices input { accent-color: var(--night-ink); }
.preview-note { display: none; padding: 14px 16px; border: 1px solid var(--accent); font-size: 15px; }
.preview-note.show { display: block; }

/* ---------- misc ---------- */
.placeholder { border: 1px dashed var(--rule-strong); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.path-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.path-card { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--ink); text-decoration: none; color: var(--ink); background: var(--paper); }
.path-card:hover, .path-card:focus-visible { border-color: var(--accent); }
.path-card:hover strong { color: var(--accent); }
.cta-bar { border-top: 2px solid var(--ink); padding-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.homeowner { background: var(--paper); border: 1px solid var(--rule); display: flex; flex-wrap: wrap; }
.homeowner > img { flex: 1 1 320px; min-width: 0; height: clamp(260px, 30vw, 380px); }
.homeowner > div { flex: 2 1 380px; min-width: 0; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.billing { display: flex; flex-wrap: wrap; gap: 24px; }
.billing > div { flex: 1 1 300px; min-width: 0; border: 1px solid var(--night-rule); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.bios { display: flex; flex-wrap: wrap; gap: 56px 80px; }
.bios > article { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bios .eyebrow { color: var(--accent); }
.principles { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.principles > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.principles strong { font-weight: 600; font-size: 21px; }
.photo-row { display: flex; flex-wrap: wrap; gap: 24px; }
/* About: the name, set like a dictionary entry. */
.definition { padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--rule); }
.definition p { margin: 0; max-width: 40rem; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-style: italic; font-weight: 300; }
.definition .headword { font-style: normal; font-weight: 500; }
.definition .pos { font-size: 0.6em; color: var(--muted); }
/* About: the definition sits first, small (Ryan, 2026-10-22) */
.definition-top { border-top: 0; padding-block: clamp(32px, 5vw, 56px) 0; }
.definition-top p { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.definition-top .pos { margin-right: 0.4em; }
.photo-row > img { flex: 1 1 300px; min-width: 0; }

/* ---------- services, FAQ, breadcrumbs ---------- */
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.faq { max-width: 52rem; }
.faq-item { display: flex; flex-direction: column; gap: 8px; }
.faq-item h3 { font-weight: 600; font-size: 20px; line-height: 1.25; }
.faq-item p { max-width: 46rem; }
.service-link { text-decoration: none; }
.service-link:hover strong { color: var(--accent); }
.drawing.h-hero { height: clamp(380px, 52vw, 680px); aspect-ratio: auto; }

/* ---------- work gallery: project sheet ---------- */
/* Portfolio grid (Ryan, 2026-10-23): equal squares, four across (two on phones); the first
   project spans two by two so the grid comes out a full rectangle (see work_grid()). */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.work-grid > figure { margin: 0; min-width: 0; aspect-ratio: 1 / 1; }
.work-grid > figure.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.work-grid a { display: block; width: 100%; height: 100%; overflow: hidden; }
.work-img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--photo); transition: transform 0.5s ease; }
.work-grid a:hover .work-img, .work-grid a:focus-visible .work-img { transform: scale(1.03); }
@media (max-width: 699px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .work-img { transition: none; } .work-grid a:hover .work-img { transform: none; } }
.sheet-item { display: block; overflow: hidden; cursor: pointer; }
.sheet-item:hover img, .sheet-item:focus-visible img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .sheet-item:hover img, .sheet-item:focus-visible img { transform: none; } }
html:has(.sheet[open]) { overflow: hidden; }
/* Work pop-out: photos (one at a time, shown whole) beside the story; stacked on phones. */
.sheet { width: min(1360px, 100% - 24px); height: min(920px, 100% - 24px); max-width: none; max-height: none; padding: 0; border: 0; background: var(--bg); color: var(--ink); overflow: hidden; }
.sheet::backdrop { background: rgba(20, 22, 18, 0.82); }
.sheet[open] { display: flex; flex-direction: column; }
.sheet-bar { flex: none; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 8px; border-bottom: 1px solid var(--rule); }
.sheet-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: 400 15px/1 var(--sans); cursor: pointer; }
.sheet-btn span { font-size: 24px; font-weight: 300; }
.sheet-btn:hover { color: var(--accent); }
.sheet-close { margin-left: auto; width: 44px; justify-content: center; padding: 0; font-size: 34px; font-weight: 300; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sheet-body:focus { outline: none; }
@media (min-width: 1000px) {
  .sheet-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 400px); grid-template-rows: minmax(0, 1fr); overflow: hidden; }
  .sheet-body > .pv-info { overflow-y: auto; overscroll-behavior: contain; border-left: 1px solid var(--rule); }
}
.pv { display: flex; flex-direction: column; min-height: 0; background: var(--photo); }
.pv-stage { position: relative; height: 58vh; height: 58svh; }
@media (min-width: 1000px) { .pv-stage { flex: 1; height: auto; min-height: 0; } }
.pv-slide { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 16px 10px; }
.pv-slide[hidden] { display: none; }
.pv-img { flex: 1 1 0; min-height: 0; width: 100%; object-fit: contain; }
.pv-slide .caption { flex: none; text-align: center; }
.pv-arrow { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgba(250, 247, 239, 0.92); box-shadow: 0 1px 4px rgba(29, 33, 27, 0.18); color: var(--ink); font: 300 30px/1 var(--sans); cursor: pointer; }
.pv-arrow:hover { background: var(--paper); color: var(--accent); }
.pv-prev { left: 10px; }
.pv-next { right: 10px; }
.pv-bar { flex: none; display: flex; align-items: center; gap: 12px; padding: 4px 12px 12px 16px; }
.pv-count { flex: none; min-width: 3.2em; font-size: 13px; color: var(--muted); }
.pv-thumbs { display: flex; gap: 6px; padding: 2px; overflow-x: auto; scrollbar-width: thin; scroll-behavior: smooth; }
.pv-thumb { flex: none; width: 58px; height: 58px; padding: 0; border: 2px solid transparent; background: none; opacity: 0.6; cursor: pointer; }
.pv-thumb:hover { opacity: 0.9; }
.pv-thumb[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.pv-thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-info { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 32px); }
.pv-info .display-m { margin: 0; }
.pv-lede { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.pv-info .piece-facts { margin: 0; }
.pv-text { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pv-text p { margin: 0; }
.pv-text .label { margin: 8px 0 0; }
.pv-quote { margin: 0; padding-left: 14px; border-left: 2px solid var(--green); font-size: 16px; }
.pv-quote p { margin: 0 0 6px; }
.pv-links { margin: 0; padding-top: 4px; font-size: 15px; }

/* ---------- furniture shop ---------- */
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
@media (min-width: 700px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-card a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.shop-img { display: block; width: 100%; height: auto; margin-bottom: 8px; background: var(--photo); text-align: center; line-height: 1.5; }
.shop-card a:hover .shop-name, .shop-card a:focus-visible .shop-name { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.shop-name { font-size: 18px; font-weight: 500; line-height: 1.25; }
html:has(.piece[open]) { overflow: hidden; }
.piece { width: min(1180px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.piece::backdrop { background: rgba(29, 33, 27, 0.6); }
.piece[open] { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .piece[open] { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.piece-pic { display: flex; align-items: center; justify-content: center; padding: clamp(12px, 2vw, 24px); background: var(--photo); }
.piece-img { display: block; width: 100%; height: auto; max-height: min(72vh, 760px); object-fit: contain; }
.placeholder.piece-img { aspect-ratio: 4 / 3; }
.placeholder.shop-img, .placeholder.piece-img { display: flex; }
@media (max-width: 899px) { .piece-img { max-height: 46vh; } }
.piece-info { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 44px); }
.piece-close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); font: 300 36px/1 var(--sans); cursor: pointer; }
.piece-close:hover { color: var(--accent); }
/* On phones the photo comes first, so the close button stays pinned at the top corner over it. */
@media (max-width: 899px) { .piece-close { position: fixed; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); font-size: 30px; z-index: 1; } }
.piece-info h2 { padding-right: 40px; }
.piece-fields { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.piece-fields .field { flex: 1 1 200px; }
.piece-facts { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.piece-facts > div { display: flex; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.piece-facts dt { flex: 0 0 96px; font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 1px; }
.piece-facts dd { margin: 0; }
.piece-info .btn { align-self: flex-start; }

/* ---------- start: Commission / Trade Partner tabs ---------- */
.tabs { display: none; }
.js .tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.tab { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 3vw, 28px); text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); cursor: pointer; }
.tab:hover strong { color: var(--accent); }
.tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--green); }
.tab-panel { padding-top: 24px; }
.piece-note { padding: 14px 16px; border: 1px solid var(--green); background: var(--bg); font-size: 15px; }
.piece-note span { color: var(--ink-2); }

/* Trade page: the focused trade pages as small cards */
.focus-cards > .card { flex: 1 1 240px; max-width: none; }
.focus-cards img.cover { aspect-ratio: 4 / 3 !important; max-height: none; }
.focus-cards img.drawing { aspect-ratio: 4 / 3; }

/* ---------- tablet and phone ---------- */

/* Work index: once a row stacks, keep the photo above its own text
   (the alternating order is only for the side-by-side desktop layout). */
@media (max-width: 900px) {
  .work-row:nth-child(even) > img { order: 0; }
}

/* Phone menu: wordmark + Menu button; links open as a full-width list. */
@media (max-width: 720px) {
  .site-nav { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 16px; padding-block: 14px; }
  .wordmark { font-size: min(20px, 5vw); line-height: 1.1; gap: 10px; white-space: nowrap; }
  .wordmark img { width: 38px; height: 38px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    font-family: var(--display); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    background: transparent; color: var(--cream); border: 1px solid var(--cream); border-radius: 0; cursor: pointer;
  }
  .nav-toggle-icon { position: relative; width: 16px; height: 10px; }
  .nav-toggle-icon::before, .nav-toggle-icon::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.2s, top 0.2s, bottom 0.2s;
  }
  .nav-toggle-icon::before { top: 1px; }
  .nav-toggle-icon::after { bottom: 1px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 4.25px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { bottom: 4.25px; transform: rotate(-45deg); }
  .nav-links { grid-column: 1 / -1; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; padding-top: 14px; }
  .js .nav-links { display: none; }
  .js .nav-open .nav-links { display: flex; }
  .nav-links a:not(.btn) {
    display: flex; align-items: center; min-height: 52px; border-top: 1px solid var(--night-rule);
    font-size: 20px; font-weight: 500;
  }
  .nav-links a[aria-current="page"] { text-decoration: none; color: #FFFFFF; }
  .nav-links .btn { margin-top: 14px; min-height: 52px; justify-content: center; font-size: 16px; }
  .clients-grid { grid-template-columns: 1fr; gap: 4px; }
  .clients-grid .label:not(:first-child) { margin-top: 14px; }

  /* Price table becomes one card per project type */
  .table-scroll { overflow: visible; }
  .price-table { min-width: 0; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table caption { display: block; }
  .price-table tbody tr { padding-block: 18px; border-bottom: 1px solid var(--rule); }
  .price-table th, .price-table td { border: 0; padding: 0; }
  .price-table tbody th { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
  .price-table td { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding-top: 4px; }
  .price-table td::before { content: attr(data-label); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); padding-top: 2px; }
  .price-table td.mono { white-space: normal; }
  .price-table td.empty { display: none; }
}

/* Phones */
@media (max-width: 560px) {
  /* every call to action is a full-width, equal-size button */
  main .btn { display: flex; width: 100%; justify-content: center; text-align: center; }
  .btns { flex-direction: column; }
  /* price lists: name on top, price below, every row the same */
  .price-row { flex-direction: column; gap: 4px; }
  /* credentials strip reads as a list */
  .strip .wrap { flex-direction: column; gap: 6px; }
  /* work filters as a tidy 2 x 2 */
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  /* case-study title block: two columns, like a drawing title block */
  .titleblock > div { flex: 1 1 140px; padding: 12px 14px; }
  .titleblock > div.wide { flex-basis: 100%; }
  .prose-lg p { font-size: 18px; }
  .next-project img { flex: 1 1 100%; width: 100%; height: auto; }
  .feature > img, .work-row > img { flex: 1 1 100%; width: 100%; height: auto; }
  .terms dt { flex-basis: 100%; }
}

/* Very small phones (320px, e.g. 1st-gen iPhone SE) */
@media (max-width: 359px) {
  .display-xl { font-size: 28px; }
  /* icon-only menu button so the wordmark stays on one line */
  .js .nav-toggle { padding: 0 13px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Under-construction page (mockup, 2026-10-22): kept minimal and small (Ryan): his logo lockup
   centred on the green panel with an email button under it, "Coming soon" bottom left and the
   contacts bottom right, a Memory Model photo beside it.
   Text on the panel is cream. */
/* the photo is shown whole at full height; the green panel takes the remaining width (Ryan) */
.holding { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(340px, 1fr) auto; }
.holding-panel { background: var(--green); color: var(--cream); display: grid; grid-template-rows: 1fr auto auto 1fr; gap: 32px; padding: clamp(24px, 3.5vw, 48px); }
.holding-logo { grid-row: 2; margin: 0; width: 100%; }
.holding-logo img { display: block; width: 100%; height: auto; }
.holding-btn { grid-row: 3; justify-self: center; }
.holding .holding-btn { background: var(--cream); border-color: var(--cream); color: var(--night); }
.holding .holding-btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--night); }
.holding-foot { grid-row: 4; align-self: end; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 14px; }
.holding-soon { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; text-align: left; }
.holding-contact { text-align: right; }
.holding .label, .holding a { color: var(--cream); }
.holding :focus-visible { outline-color: var(--cream); }
.holding-contact { list-style: none; margin: 0; padding: 0; }
.holding-contact li { padding: 3px 0; }
.holding-contact a { text-decoration: none; }
.holding-contact a:hover { text-decoration: underline; }
.holding-photo { margin: 0; background: var(--photo); }
.holding-img { display: block; height: 100vh; height: 100svh; width: auto; max-width: calc(100vw - 340px); object-fit: cover; object-position: 50% 65%; }
@media (max-width: 860px) {
  /* on phones the photo follows the panel, shown whole, and the panel takes up any spare height */
  .holding { display: flex; flex-direction: column; }
  .holding-panel { flex: 1; display: flex; flex-direction: column; gap: 40px; padding-top: 48px; }
  .holding-logo { margin: auto 0 0; width: 100%; }
  .holding .holding-btn { display: inline-flex; width: auto; align-self: center; margin-bottom: auto; }
  .holding-foot { align-self: stretch; }
  .holding-img { width: 100%; height: auto; max-width: none; }
}

/* Homepage: the home / trade split as two linked photos with a headline each (Ryan, 2026-10-22) */
.split-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.split-card { display: flex; flex-direction: column; gap: 14px; }
.split-main { display: flex; flex-direction: column; gap: 18px; color: var(--night-ink); text-decoration: none; }
.split-links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.split-links a { color: var(--night-ink); text-underline-offset: 4px; }
.split-card img { display: block; width: 100%; height: auto; object-fit: cover; transition: opacity .2s; }
.split-main:hover img { opacity: .9; }
.split-main:hover h2 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.split-card h2 { margin: 0; color: var(--night-ink); }
@media (max-width: 759px) { .split-cards { grid-template-columns: 1fr; } }

/* Homepage intro under the hero */
.home-intro { max-width: 46em; margin: 0; }

/* Homepage Recent work: one still row; each figure's flex-grow is its photo's ratio, so the photos
   share a height and show whole (two per row on a phone) */
.still-row { display: flex; flex-wrap: wrap; gap: 28px 16px; }
.still { margin: 0; flex-basis: 0; min-width: 0; display: grid; align-content: start; gap: 10px; }
.still img { display: block; width: 100%; height: auto; background: var(--photo); transition: opacity .2s; }
.still a:hover img { opacity: .9; }
@media (max-width: 699px) { .still { flex-basis: 40%; } }
