/* Botanique + Design — v8. Type: Inter Display (headings) and Inter (text), self-hosted, even stroke throughout. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
/*
   Limestone ground, deep ink type, framed images never wider than their source.
   Every height and gap comes from the tokens below. */

:root {
  --ground: #f3f2ee;      /* page: soft limestone, no glare */
  --mat: #ffffff;         /* behind drawings */
  --stone: #e8e5de;       /* alternate band */
  --line: #d6d1c7;
  --ink: #171614;
  --text: #1f1d1b;
  --muted: #48433d;
  --bronze: #6e5236;
  --night: #1c1b19;
  --on-night: #efebe4;
  --on-night-muted: #c2bab0;

  --serif: "Inter Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --col-gap: clamp(20px, 2.6vw, 40px);

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px;
  --s-sec: clamp(80px, 8.5vw, 128px);
  --s-head: clamp(44px, 5vw, 76px);

  --h-hero: clamp(420px, 68vh, 720px);
  --h-band: clamp(340px, 42vw, 560px);
  --header: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--bronze); }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 3.9vw, 3.4rem); line-height: 1.1; max-width: 22ch; }
h2 { font-size: clamp(1.7rem, 2.4vw, 2.25rem); line-height: 1.15; max-width: 24ch; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
h2 + p, h3 + p, .label + h2 { margin-top: var(--s-3); }
.label + h2 { margin-top: 12px; }
.lede { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink); max-width: 38ch; letter-spacing: -.01em; text-wrap: pretty; }
.lede + p { margin-top: var(--s-3); }
.caption { font-size: .9375rem; line-height: 1.5; color: var(--muted); font-weight: 500; }
.label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Links ---------- */
.links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); }
.link { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--ink); transition: color .25s, border-color .25s; }
.link:hover { color: var(--bronze); border-color: var(--bronze); }
.sec--night .link { color: var(--on-night); border-color: var(--on-night-muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(243,242,238,.96); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); height: var(--header); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; line-height: 1; white-space: nowrap; letter-spacing: -.005em; }
.nav ul { display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav a { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.menu-btn { display: none; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }

/* ---------- Page rhythm ---------- */
main > section { margin-top: var(--s-sec); }
main > section:first-child { margin-top: 0; }
main > section:last-child:not(.sec--stone):not(.sec--night) { margin-bottom: var(--s-sec); }
.sec--stone, .sec--night { padding: var(--s-sec) 0; }
.sec--stone { background: var(--stone); }
.sec--night { background: var(--night); color: var(--on-night); }
.sec--night h2, .sec--night h3, .sec--night p { color: var(--on-night); }
.sec--night .label { color: #c2a684; }
.sec--stone + .sec--night, .sec--night + .sec--stone, .sec--stone + .sec--stone { margin-top: 0; }
.head { padding-top: var(--s-head); }
.head--hero { padding-top: var(--s-4); }
.gap-5 { margin-top: var(--s-5); }
.gap-6 { margin-top: var(--s-6); }
.gap-7 { margin-top: var(--s-7); }

.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); }
.head-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end; }
.head-grid h1 { grid-column: 1 / span 7; }
.head-grid .side { grid-column: 9 / span 4; }
.row2 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; }
.row2 > .a { grid-column: 1 / span 5; }
.row2 > .b { grid-column: 7 / span 6; }
.row2--end > .b { align-self: end; }

/* ---------- Frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--stone); height: var(--h-hero); }
.frame--band { height: var(--h-band); }
.frame--wide { height: auto; aspect-ratio: 21 / 9; }
.frame img, .pic img { width: 100%; height: 100%; object-fit: cover; }
.px { position: absolute; inset: -6% 0; will-change: transform; }
.frame-cap { margin-top: 12px; max-width: none; }
.pic { overflow: hidden; background: var(--stone); }
.pic--mat { background: var(--mat); }
.pic--mat img { object-fit: contain; }

/* intro under the hero */
.intro { margin-top: var(--s-6); }
.creds-line { display: flex; flex-wrap: wrap; gap: 10px var(--s-4); margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.creds-line li { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sunset house: editorial layout ---------- */
.ed-row { display: grid; gap: var(--col-gap); }
.ed-row + .ed-row { margin-top: var(--col-gap); }
.ed-row--75 { grid-template-columns: 7fr 5fr; }
.ed-row--57 { grid-template-columns: 5fr 7fr; }
.ed-row--3 { grid-template-columns: repeat(3, 1fr); }
.ed-row--4 { grid-template-columns: repeat(4, 1fr); }
.ed-row .big { aspect-ratio: 1000 / 594; }
.ed-row--3 .pic { aspect-ratio: 4 / 3; }
.ed-row--4 .pic { aspect-ratio: 3 / 4; }
.ed-row .pic img { transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.ed-row .pic:hover img { transform: scale(1.03); }

/* ---------- Offset pair ---------- */
.stagger { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; }
.stagger .big { grid-column: 1 / span 7; grid-row: 1 / span 2; aspect-ratio: 1 / 1; }
.stagger .txt { grid-column: 9 / span 4; grid-row: 1; padding-top: var(--s-5); }
.stagger .small { grid-column: 9 / span 4; grid-row: 2; aspect-ratio: 4 / 5; align-self: end; margin-top: var(--s-5); }

/* ---------- Pull quote ---------- */
.quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 2.8vw, 2.4rem); line-height: 1.3; color: var(--ink); letter-spacing: -.02em; max-width: 32ch; margin: 0; text-wrap: balance; }
.quote-by { margin-top: var(--s-4); }

/* ---------- Master plan showcase ---------- */
.plan { background: var(--mat); padding: clamp(16px, 2.4vw, 32px); }
.plan img { width: 100%; max-width: 1200px; margin: 0 auto; }

/* ---------- Where we work ---------- */
.places { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: var(--s-4); font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.85rem); line-height: 1.35; color: var(--ink); letter-spacing: -.015em; }
.places li { white-space: nowrap; }
.places li:not(:last-child)::after { content: "/"; color: #b9b2a7; margin: 0 .5em; font-weight: 400; }

/* ---------- Mosaic grid (archive squares at true size or smaller) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: calc(4 * 274px + 18px); }
.mosaic--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: calc(8 * 274px + 42px); }
.mosaic li { aspect-ratio: 1; }
.tile { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--stone); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 10px 8px; font-size: .78rem; line-height: 1.3; color: #fff; background: linear-gradient(0deg, rgba(20,18,16,.8), rgba(20,18,16,0)); opacity: 0; transition: opacity .3s; }
.tile:hover figcaption, .tile.is-open figcaption { opacity: 1; }

/* drawings grid (high-resolution sources) */
.drawings { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.drawings .pic { aspect-ratio: 1; background: var(--mat); }
.drawings figcaption { margin-top: 12px; }

/* ---------- Client projects ---------- */
.index { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.index a { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.index a:hover { color: var(--ink); }
.proj { scroll-margin-top: calc(var(--header) + 24px); }
.proj-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; margin-top: var(--s-5); }
.proj-body > .txt { grid-column: 1 / span 4; position: sticky; top: calc(var(--header) + 32px); }
.proj-body > .mosaic { grid-column: 6 / span 7; }
.proj-num { font-family: var(--serif); font-weight: 600; font-size: .9375rem; color: var(--bronze); display: block; margin-bottom: var(--s-2); }

/* ---------- Pairs ---------- */
.pair { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: center; }
.pair > .pic { grid-column: 1 / span 6; }
.pair > .txt { grid-column: 8 / span 5; }
.pair--flip > .pic { grid-column: 7 / span 6; grid-row: 1; }
.pair--flip > .txt { grid-column: 1 / span 5; grid-row: 1; }
.roles { columns: 2; column-gap: var(--s-4); margin: var(--s-4) 0; }
.roles li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; break-inside: avoid; }

/* ---------- Credentials / honors ---------- */
.list-rule li { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-3); padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.list-rule li:last-child { border-bottom: 1px solid var(--line); }
.list-rule strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink); letter-spacing: -.01em; }
.list-rule span { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.press { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end; }
.press .cover { grid-column: 1 / span 4; aspect-ratio: 3 / 4; }
.press .p1 { grid-column: 5 / span 4; aspect-ratio: 3 / 4; }
.press .p2 { grid-column: 9 / span 4; aspect-ratio: 3 / 4; }

/* ---------- Services ---------- */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--col-gap); margin-top: var(--s-5); }
.offer .pic { aspect-ratio: 4 / 3; margin-bottom: var(--s-3); }
.offer p { margin-top: 12px; color: var(--text); font-size: 1.0625rem; }
.steps { margin-top: var(--s-5); border-bottom: 1px solid var(--line); }
.step { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.step-num { grid-column: 1 / span 1; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; color: var(--bronze); font-variant-numeric: tabular-nums; }
.step-txt { grid-column: 2 / span 5; }
.step-txt p { font-size: 1.0625rem; }
.step .pic { grid-column: 8 / span 5; aspect-ratio: 3 / 2; }
.essay p { max-width: 62ch; }
.essay .caption { color: var(--on-night-muted); margin-top: var(--s-4); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; padding-top: var(--s-head); }
.contact > .txt { grid-column: 1 / span 6; }
.contact > .pic { grid-column: 8 / span 5; aspect-ratio: 4 / 5; }
.contact h1 + p { margin-top: var(--s-4); }
.mail-big { display: inline-block; margin: var(--s-5) 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 6px; word-break: break-word; }
.mail-big:hover { border-color: var(--bronze); color: var(--ink); }

/* ---------- Text pages ---------- */
.doc { max-width: 680px; margin-top: var(--s-5); }
.doc h2 { font-size: 1.5rem; margin: var(--s-5) 0 var(--s-2); }
.doc ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.doc li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: var(--s-sec) 0 var(--s-5); font-size: 1rem; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: end; padding-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-top .say { grid-column: 1 / span 7; font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; color: var(--on-night); max-width: 22ch; margin: 0; }
.foot-top .act { grid-column: 9 / span 4; }
.foot-top .act .label { color: #c2a684; margin-bottom: 12px; }
.foot-top .act a { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--on-night); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.foot-top .act a:hover { color: #fff; border-color: #fff; }
.foot-mid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; }
.foot-mid .brand { color: var(--on-night); }
.foot-mid ul { display: flex; flex-wrap: wrap; gap: 12px var(--s-5); }
.foot-mid ul a { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--on-night); }
.foot-mid ul a:hover { color: #fff; }
.foot-creds { font-size: .9375rem; color: #c9c2b8; padding-bottom: var(--s-4); max-width: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9375rem; color: #c9c2b8; }
.foot-base a { color: var(--on-night-muted); }
.foot-base a:hover { color: #fff; }

/* ---------- Mobile menu ---------- */
.nav-panel { position: fixed; inset: 0; z-index: 60; background: var(--ground); padding: 0 var(--gutter) var(--s-4); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .nav-panel { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.nav-panel .top { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.nav-panel ul { margin-top: var(--s-4); }
.nav-panel li a { display: block; padding: 10px 0; font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.nav-panel .mail { margin-top: auto; font-size: 1rem; }
.nav-close { height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  :root { --header: 72px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .brand img { width: 36px; }
  .proj-body > .txt { grid-column: 1 / -1; position: static; margin-bottom: var(--s-4); }
  .proj-body > .mosaic { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --h-hero: clamp(360px, 62vh, 560px); --h-band: clamp(300px, 64vw, 460px); }
  .head-grid h1, .head-grid .side, .row2 > .a, .row2 > .b, .pair > .pic, .pair > .txt, .pair--flip > .pic, .pair--flip > .txt,
  .stagger .big, .stagger .txt, .stagger .small, .contact > .txt, .contact > .pic, .foot-top .say, .foot-top .act,
  .press .cover, .press .p1, .press .p2 { grid-column: 1 / -1; grid-row: auto; }
  .head-grid .side, .row2 > .b, .foot-top .act, .pair > .txt { margin-top: var(--s-4); }
  .stagger .big { aspect-ratio: 1 / 1; }
  .stagger .txt { padding-top: var(--s-5); }
  .stagger .small { aspect-ratio: 3 / 2; }
  .press { row-gap: var(--col-gap); }
  .press .cover { grid-column: 1 / span 6; } .press .p1 { grid-column: 7 / span 6; } .press .p2 { display: none; }
  .contact > .pic { margin-top: var(--s-5); }
  .ed-row--75, .ed-row--57 { grid-template-columns: 1fr; }
  .ed-row--57 .big { order: -1; }
  .ed-row--75 .pic, .ed-row--57 .pic { aspect-ratio: 1000 / 594; }
  .ed-row--4 { grid-template-columns: repeat(2, 1fr); }
  .mosaic--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .drawings { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .step-num { grid-column: 1 / span 2; }
  .step-txt { grid-column: 3 / -1; }
  .step .pic { grid-column: 3 / -1; margin-top: var(--s-3); }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .mosaic { gap: 4px; }
  .roles { columns: 1; }
  .ed-row--3 { grid-template-columns: 1fr; }
  .ed-row--3 .pic { aspect-ratio: 1000 / 594; }
  .list-rule li { grid-template-columns: 1fr; row-gap: 4px; }
  .list-rule span { text-align: left; }
  .step-num, .step-txt, .step .pic { grid-column: 1 / -1; }
  .step { row-gap: var(--s-2); }
}
@media (prefers-reduced-motion: reduce) {
  .px { inset: 0; transform: none !important; }
  .tile figcaption, .nav-panel, .site-header, .ed-row .pic img { transition: none; }
}

/* ===== v7 additions ===== */
.foot-mid .brand img { background: var(--ground); }
.caption-plain { margin-top: var(--s-3); font-size: 1rem; color: var(--muted); }
.sec-head { margin-bottom: var(--s-5); }

/* contact form */
.contact-wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; padding-top: var(--s-head); }
.contact-wrap > .txt { grid-column: 1 / span 4; }
.contact-wrap > form { grid-column: 6 / span 7; }
.contact-wrap h1 + p { margin-top: var(--s-4); }
.contact-info { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.contact-info dt { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-top: var(--s-3); }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 6px 0 0; font-size: 1.0625rem; color: var(--text); }
.contact-info a { color: var(--ink); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-3); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1.0625rem/1.5 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #a39b90; border-radius: 2px; padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(110,82,54,.18); }
.field input:invalid:not(:placeholder-shown) { border-color: #9b3b2e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-1); }
.btn { font: 600 .85rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--ink); border: 1px solid var(--ink); padding: 18px 32px; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.form-note { font-size: .9375rem; color: var(--muted); max-width: 40ch; margin: 0; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 1.0625rem; color: var(--ink); }
.form-status:empty { display: none; }
@media (max-width: 860px) {
  .contact-wrap > .txt, .contact-wrap > form { grid-column: 1 / -1; }
  .contact-wrap > form { margin-top: var(--s-5); }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.pair > .tiles { grid-column: 1 / span 6; align-self: start; }
@media (max-width: 860px) { .pair > .tiles { grid-column: 1 / -1; } }

body { font-feature-settings: 'ss01' 0, 'cv11' 1; }
h1, h2 { font-weight: 500; }
.frame--natural { height: auto; }

/* v10: two service cards, procurement row with a logo grid */
.offer--2 { grid-template-columns: repeat(2, 1fr); }
.proc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--col-gap); align-items: start; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.proc > .txt { grid-column: 1 / span 4; }
.proc > .makers { grid-column: 6 / span 7; }
.makers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.makers li { background: #fff; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 14% 12%; }
.makers img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 860px) {
  .offer--2 { grid-template-columns: 1fr; }
  .proc > .txt, .proc > .makers { grid-column: 1 / -1; }
  .proc > .makers { margin-top: var(--s-4); }
  .makers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .makers { grid-template-columns: repeat(2, 1fr); } }

/* v11: full photography, restrained serif headings and consistent captions */
@font-face {font-family:"Libre Baskerville";src:url("../fonts/libre-baskerville.ttf") format("truetype");font-style:normal;font-weight:400 700;font-display:swap;}
h1,h2,h3,.quote {font-family:"Libre Baskerville",Georgia,serif;font-weight:400;letter-spacing:-.025em;}
h3 {font-size:1.2rem;line-height:1.45;}
.frame,.frame--band,.frame--wide,.frame--natural {height:auto;aspect-ratio:auto !important;background:transparent;}
.frame img,.pic img {width:100%;height:auto;object-fit:contain;margin-inline:auto;}
.pic,.ed-row .pic,.ed-row .big,.stagger .big,.stagger .small,.press .cover,.press .p1,.press .p2,.offer .pic,.step .pic,.drawings .pic,.pair .pic {aspect-ratio:auto !important;background:transparent;}
.ed-row,.press {align-items:start;}
.ed-row .pic:hover img {transform:none;}
.caption-plain {max-width:none;}
.vendor-group {grid-column:6 / span 7;}
.vendor-caption {margin-top:12px;max-width:none;}
.step--ongoing {background:rgba(255,255,255,.25);}
.doc h3 {margin-top:32px;margin-bottom:12px;}
.tile figcaption {position:static;opacity:1;background:var(--ground);color:var(--text);padding:8px 6px;font-size:.8rem;}
figure.tile {overflow:visible;height:auto;}
.mosaic li {aspect-ratio:auto;}
figure.tile img {aspect-ratio:1;height:auto;}
.mosaic {row-gap:18px;}
@media(min-width:860px) {.caption-plain {white-space:nowrap;}}
@media(max-width:860px) {.vendor-group {grid-column:1 / -1;margin-top:32px;}.mosaic {grid-template-columns:repeat(2,minmax(0,1fr));}.drawings {grid-template-columns:1fr;}}

@media(min-width:860px) and (max-width:1060px) {.caption-plain {font-size:.875rem;}}

/* v12: restore controlled editorial frames and compact archive grids */
.head-grid {align-items:start;}
.head-grid h1 {grid-column:1 / span 6;}
.head-grid .side {grid-column:7 / span 6;}
#owners-representative .row2 {align-items:start;}
#owners-representative .row2 > .b {align-self:start;padding-top:36px;}
.offer .pic {height:420px;display:flex;align-items:center;justify-content:center;}
.offer .pic img {width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;}
.step--oversight .pic {aspect-ratio:3 / 2 !important;}
.step--oversight .pic img {width:100%;height:100%;object-fit:cover;object-position:center bottom;}
.press {align-items:stretch;}
.press .pic {aspect-ratio:3 / 4 !important;background:var(--ground);display:flex;align-items:center;justify-content:center;}
.press .pic img {width:100%;height:100%;object-fit:contain;}
.mosaic {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
.mosaic--8 {grid-template-columns:repeat(8,minmax(0,1fr));}
.mosaic li {aspect-ratio:1;}
figure.tile {height:100%;overflow:hidden;}
figure.tile img {width:100%;height:100%;object-fit:cover;}
.tile figcaption {position:absolute;inset:auto 0 0;padding:28px 10px 8px;opacity:0;color:#fff;background:linear-gradient(0deg,rgba(20,18,16,.85),transparent);}
.tile:hover figcaption,.tile.is-open figcaption,.tile:focus-visible figcaption {opacity:1;}
.drawings {grid-template-columns:repeat(3,minmax(0,1fr));row-gap:40px;align-items:start;}
.drawings .pic {aspect-ratio:1 !important;background:#fff;display:flex;align-items:center;justify-content:center;}
.drawings .pic img {width:100%;height:100%;object-fit:contain;}
@media(max-width:860px) {
 .head-grid h1,.head-grid .side {grid-column:1 / -1;}
 #owners-representative .row2 > .b {padding-top:0;}
 .offer .pic {height:360px;}
 .mosaic--8 {grid-template-columns:repeat(4,minmax(0,1fr));}
 .drawings {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px) {.offer .pic {height:300px;}.drawings {grid-template-columns:1fr;}}

.faq-copy h3 {margin-top:32px;margin-bottom:12px;}
.faq-copy h3:first-child {margin-top:0;}

/* v14: targeted panel fills, readable section hierarchy */
.ed-row {align-items:stretch;}
.ed-row--75 .pic,.ed-row--57 .pic {aspect-ratio:auto !important;min-height:0;}
.ed-row--75 .big,.ed-row--57 .big {aspect-ratio:1000 / 594 !important;}
.ed-row--3 .pic {aspect-ratio:4 / 3 !important;}
.ed-row--4 .pic {aspect-ratio:3 / 4 !important;}
.ed-row .pic img {width:100%;height:100%;max-width:none !important;object-fit:cover;}
.press .pic {display:block;aspect-ratio:3 / 4 !important;}
.press .pic img {width:100%;height:100%;max-width:none !important;object-fit:cover;object-position:center;}
.press .cover img {object-position:center top;}
.offer .pic {height:auto;aspect-ratio:4 / 3 !important;display:block;}
.offer .pic img {width:100%;height:100%;max-width:none !important;max-height:none;object-fit:cover;object-position:center;}
.offer p {max-width:48ch;}
.offer h3 {font-size:1.35rem;font-weight:700;line-height:1.35;}
.section-intro {display:block;}
.section-intro h2 {max-width:none;}
.section-intro > .b {margin-top:20px;max-width:70ch;padding-top:0 !important;}
.section-intro > .b p {max-width:70ch;}
.step h3 {font-size:1.35rem;font-weight:700;line-height:1.35;}
.step-num,.proj-num {font-family:"Libre Baskerville",Georgia,serif;font-size:1.6rem;font-weight:500;line-height:1.1;}
.step--oversight .pic {aspect-ratio:800 / 916 !important;}
.step--oversight .pic img {width:100%;height:100%;max-width:none !important;object-fit:cover;object-position:center bottom;}
.drawings .pic .drawing-cad {width:100%;height:100%;max-width:none !important;object-fit:cover;object-position:right top;}
.pair--flip {align-items:start;}
.pair--flip > .txt {margin-top:0;align-self:start;}
@media(max-width:860px) {
 .ed-row--75 .pic,.ed-row--57 .pic {aspect-ratio:1000 / 594 !important;}
 .offer .pic {height:auto;}
 .section-intro > .b {margin-top:20px;}
}

.faq-sketch {width:min(100%,520px);margin:48px auto 0;}
.faq-sketch img {width:100%;height:auto;}
.faq-sketch figcaption {margin-top:12px;}

/* v17: FAQ illustration stays in its own full left column */
#faq .row2 {align-items:start;}
#faq .a {min-width:0;}
#faq .faq-sketch {width:100%;max-width:440px;margin:36px 0 0;}
#faq .faq-sketch img {display:block;width:100%;height:auto;max-width:none;}
#faq .faq-sketch figcaption {max-width:none;line-height:1.5;}
#faq .faq-copy h3 {font-weight:700;}
@media(max-width:860px) {#faq .faq-sketch {max-width:420px;margin:28px auto 0;}#faq .b {margin-top:40px;}}

/* v18: FAQ optical alignment and narrow-screen safeguards */
@media(min-width:861px) {#faq .b {padding-top:12px;}}
@media(max-width:860px) {#faq .b {padding-top:0;}}
.row2 > *, .head-grid > *, .contact-wrap > *, .form > *, .offer > *, .drawings > *, .proc > * {min-width:0;}
.contact-info a,.foot-top .act a,.nav-panel .mail {overflow-wrap:anywhere;}
@media(max-width:560px) {
 .bar {gap:12px;}
 .brand {gap:10px;}
 .brand-name {font-size:1rem;}
 .brand img {width:30px;}
 .mosaic {grid-template-columns:repeat(2,minmax(0,1fr));}
 .mosaic--8 {grid-template-columns:repeat(4,minmax(0,1fr));}
 .caption-plain {white-space:normal;}
 .field input,.field select,.field textarea {min-width:0;}
 .press .cover,.press .p1,.press .p2 {grid-column:1 / -1;}
 .press .p2 {display:block;}
}

/* v19: procurement heading matches the other service headings */
.proc h3 {font-size:1.35rem;font-weight:700;line-height:1.35;}

/* Email-only contact page */
.contact-wrap > .txt { grid-column: 1 / -1; max-width: 760px; }
.contact-info a { overflow-wrap: anywhere; }
