:root {
  --paper: #f4efe9;
  --ink: #2e2a26;
  --olive: #302c29;
  --soft: #6a625b;
  --line: #cfc4b9;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 16px/1.55 var(--sans); background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #806853; outline-offset: 4px; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .95; }
h1 { font-size: clamp(5.3rem, 8.1vw, 10rem); letter-spacing: -.035em; }
h2 { font-size: clamp(4rem, 6.5vw, 8.4rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2.1rem, 3.25vw, 3.6rem); }
em { font-weight: 400; }
section[id] { scroll-margin-top: 1rem; }
.skip { position: fixed; z-index: 9; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { height: 89px; display: flex; align-items: center; justify-content: space-between; padding: 0 5.1vw; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: .61rem; line-height: 1.2; font-weight: 700; letter-spacing: .13em; }
nav { display: flex; align-items: center; gap: clamp(1.3rem,3vw,3.2rem); font-size: .86rem; font-weight: 600; }
nav a:hover, .text-link:hover, .footer a:hover { opacity: .66; }
.menu-toggle { display: none; }
.eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .68rem; letter-spacing: .155em; font-weight: 700; text-transform: uppercase; }
.eyebrow i { width: .4rem; height: .4rem; border-radius: 50%; background: #95816e; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.75rem; background: var(--olive); border: 1px solid var(--olive); border-radius: 100px; color: white; padding: .8rem 1.2rem .8rem 1.3rem; font-size: .84rem; font-weight: 600; min-height: 46px; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: #514943; border-color: #514943; }
.scale { border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; padding-inline: 5.1vw; }
.scale div { display: flex; align-items: center; gap: clamp(.6rem,2vw,2rem); padding: 1.3rem 0; }
.scale div + div { border-left: 1px solid var(--line); padding-left: 3.5vw; }
.scale strong { font: clamp(2.3rem,4vw,4.65rem)/1 var(--serif); }
.scale span { color: var(--soft); font-size: .72rem; line-height: 1.25; }
.section { padding: clamp(4.6rem, 9vw, 9rem) 5.1vw; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.9rem,4vw,3.6rem); }
.section h2 { margin-top: .78rem; }
.text-link { display: inline-flex; justify-content: space-between; align-items: center; gap: .75rem; border-bottom: 1px solid currentColor; padding-bottom: .3rem; font-size: .83rem; font-weight: 600; }
.projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.3rem 1.25rem; }
.lead-project { grid-column: 1/-1; }
.project-image { display: block; position: relative; overflow: hidden; width: 100%; padding: 0; border: 0; background: #d8c8b0; text-align: left; }
.project-image img { aspect-ratio: 1.47; transition: transform .55s; }
.lead-project img { aspect-ratio: 2.35; object-position: center 54%; }
.project-image:hover img { transform: scale(1.035); }
.project-image > span { position: absolute; bottom: 1rem; right: 1rem; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 100%; background: var(--paper); font-size: 1.15rem; }
.project-caption { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem 1.25rem; justify-content: space-between; padding-top: .85rem; }
.project-caption p, figure figcaption { font-size: .73rem; color: var(--soft); }
.sectors, .footer { background: var(--olive); color: var(--paper); }
.sectors .eyebrow i, .brief .eyebrow i { background: #a6927e; }
.sectors h2 em { color: #cfbdab; }
.sector-layout, .process-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,7vw,7rem); align-items: start; }
.sector-tabs button { display: flex; justify-content: space-between; align-items: center; gap: .8rem; width: 100%; border: 0; border-top: 1px solid #736a61; padding: .75rem .35rem .95rem 0; background: transparent; color: #d0cabb; text-align: left; font: clamp(2.1rem,4.8vw,4.8rem)/1 var(--serif); }
.sector-tabs button:last-child { border-bottom: 1px solid #736a61; }
.sector-tabs button[aria-selected="true"] { color: white; }
.sector-tabs button span:last-child { font: 1.2rem var(--sans); opacity: .55; }
.sector-tabs button[aria-selected="true"] span:last-child { opacity: 1; }
.sector-panels { padding-top: 1rem; }
.sector-panels p { max-width: 35ch; margin-block: 1rem 1.65rem; color: #e0d9cb; }
.process-layout { grid-template-columns: minmax(0,.92fr) minmax(0,1fr); }
.process img { aspect-ratio: 1.26; background: #d3c3ad; }
.process figcaption, .brief-image figcaption { margin-top: .6rem; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: grid; grid-template-columns: 2rem 1fr 1.15rem; align-items: center; gap: .55rem; padding: 1.15rem 0; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3 { font-size: clamp(2.2rem,3.35vw,3.8rem); }
.accordion summary span { color: var(--soft); font-size: .72rem; }
.accordion summary b::after { content: "+"; font-weight: 500; }
.accordion details[open] summary b::after { content: "−"; }
.accordion p { padding: 0 1.3rem 1.3rem 2.55rem; color: #505143; }
.brief { background: #e6ddd2; display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: clamp(2rem,6vw,7rem); align-items: start; }
.brief h2 { font-size: clamp(3.9rem,6vw,7rem); }
.brief-intro > p:last-of-type { margin-top: 1.1rem; max-width: 35ch; }
.brief-image { margin-top: 1.7rem; max-width: 470px; }
.brief-image img { aspect-ratio: 1.6; }
.brief-form { background: #faf7f0; border: 1px solid #bfb8a8; padding: clamp(1.1rem,3.15vw,3.15rem); }
.form-head { display: flex; justify-content: space-between; gap: 1rem; color: #555647; font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
progress { display: block; width: 100%; height: 3px; margin: .85rem 0 1.5rem; border: 0; background: #ddd8cc; accent-color: var(--olive); }
progress::-webkit-progress-bar { background: #ddd8cc; }
progress::-webkit-progress-value { background: var(--olive); }
progress::-moz-progress-bar { background: var(--olive); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: clamp(2.45rem,3.7vw,4.5rem)/.98 var(--serif); padding: 0; margin-bottom: 1.05rem; }
.form-note { color: #5b5b4e; font-size: .81rem; margin-block: .15rem .85rem; }
.choice-stack, .style-options { display: grid; gap: .6rem; }
.style-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.choice-stack label, .style-options label { position: relative; cursor: pointer; }
.choice-stack input, .style-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-stack label > span, .style-options label > span { display: block; background: var(--paper); border: 1px solid var(--line); }
.choice-stack label > span { padding: .65rem .9rem; font-weight: 700; }
.choice-stack small { display: block; color: var(--soft); font-weight: 400; }
.choice-stack input:checked + span, .style-options input:checked + span { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); background: #e7ded4; }
.choice-stack input:focus-visible + span, .style-options input:focus-visible + span { outline: 2px solid #806853; outline-offset: 2px; }
.style-options img { aspect-ratio: 1.25; }
.style-options b { display: block; padding: .5rem .4rem; font-size: .76rem; line-height: 1.25; }
.no-style { grid-column: 1/-1; }
.no-style > span { padding: .5rem .75rem; font-size: .81rem; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem .8rem; }
.field-grid label { display: block; color: var(--ink); font-size: .8rem; font-weight: 700; }
.field-grid small { color: var(--soft); font-weight: 400; }
.field-grid input, .field-grid select, .field-grid textarea { display: block; width: 100%; min-height: 43px; margin-top: .3rem; padding: .53rem .6rem; border: 1px solid #bfb8a8; border-radius: 0; background: white; font-size: .87rem; font-weight: 400; color: var(--ink); }
.field-grid textarea { resize: vertical; }
.field-grid .full { grid-column: 1/-1; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.form-actions .button { margin-left: auto; }
.back { background: none; border: 0; padding: .6rem 0; font-size: .86rem; }
.brief-summary { display: grid; grid-template-columns: minmax(5.3rem,.38fr) minmax(0,1fr); gap: .25rem .6rem; border-top: 1px solid var(--line); padding-top: .65rem; font-size: .8rem; }
.brief-summary dt { color: var(--soft); }
.brief-summary dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
#form-status { margin: .7rem 0 0; }
.footer { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding: 3rem 5.1vw; }
.footer p { margin-top: .8rem; color: #ddd5c2; font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; font-size: .85rem; }
dialog { max-width: min(900px, calc(100vw - 2rem)); max-height: calc(100dvh - 1rem); width: 100%; padding: clamp(.85rem,2.4vw,1.8rem); color: var(--ink); background: var(--paper); border: 0; }
dialog::backdrop { background: #1b1d16e8; }
.gallery-head, .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.gallery-head { margin-bottom: .75rem; }
.gallery-head h2 { font-size: clamp(2.6rem,6vw,4.7rem); }
#gallery-image { aspect-ratio: 1.65; max-height: 62dvh; object-fit: contain; background: #e5ded1; }
.gallery-controls { padding-top: .8rem; }
.round { width: 41px; height: 41px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1.12rem; }
.round:hover { background: #e6ddd2; }
#gallery-count { margin-left: .36rem; font-size: .75rem; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-pending { opacity: 0; transform: translateY(18px); }
  .reveal { transition: opacity .6s ease, transform .6s ease; }
}
@media (max-width: 700px) {
  .site-header { height: 69px; position: relative; padding-inline: 6vw; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--line); background: transparent; border-radius: 100px; padding: .45rem .7rem; font-size: .8rem; }
  nav { display: none; position: absolute; top: 100%; right: 0; left: 0; padding: 1rem 6vw 1.35rem; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: .9rem 1.25rem; }
  nav.open { display: flex; }
  .scale { padding-inline: 6vw; }
  .scale div { flex-direction: column; align-items: start; gap: .38rem; padding-block: .95rem; }
  .section { padding-inline: 6vw; }
  .section-head { align-items: start; flex-direction: column; gap: .85rem; }
  .projects, .sector-layout, .process-layout, .brief { grid-template-columns: 1fr; }
  .lead-project img { aspect-ratio: 1.47; }
  .process-layout { gap: 1.25rem; }
  .sector-layout { gap: 1rem; }
  .brief-image { margin-top: 1.1rem; }
  .brief-image img { aspect-ratio: 2.25; }
  .footer { flex-direction: column; align-items: start; }
}
@media (max-width: 370px) { .field-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

#form-status a { text-decoration: underline; }


