:root {
  --navy: #0b1420;
  --navy-mid: #101c2b;
  --paper: #f5f2ec;
  --stone: #ebe6dd;
  --ink: #18232c;
  --muted: #4f5a62;
  --gold: #ceb986;
  --brown: #75603a;
  --rule: #cfc9be;
  --serif: Georgia, "Times New Roman", serif;
  --body: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid #b38940; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.wrap { width: min(100% - clamp(2.75rem,8vw,9rem), 76.25rem); margin-inline: auto; }
.skip { position:absolute; z-index:99; left:1rem; top:-10rem; padding:.6rem 1rem; color:var(--navy); background:white; }
.skip:focus { top:.5rem; }
.header { color: white; background: var(--navy); border-bottom: 1px solid #ffffff20; position:relative; z-index:4; }
.nav-shell { width: min(100% - clamp(2.75rem,8vw,9rem), 86.25rem); margin:auto; min-height:5.65rem; display:flex; justify-content:space-between; align-items:center; gap:2rem; }
.brand { display: inline-flex; flex-direction: column; width:fit-content; }
.brand strong { font: normal 1.48rem/1.1 var(--serif); letter-spacing:.145em; white-space:nowrap; }
.brand small { margin-top:.46rem; color:#dccaa2; font-size:.62rem; line-height:1.4; letter-spacing:.09em; text-transform:uppercase; }
.nav { display:flex; align-items:center; gap:clamp(1.5rem,3vw,2.8rem); }
.nav > a, .nav summary { padding:.7rem 0; font-size:.89rem; cursor:pointer; }
.nav a:hover, .nav summary:hover, .mobile-nav a:hover { color:var(--gold); }
.nav .contact-link { border:1px solid #96805b; padding:.65rem 1.1rem; }
.nav details { position:relative; }
.nav summary, .mobile-menu summary { list-style:none; }
summary::-webkit-details-marker { display:none; }
.nav summary::after { content:""; display:inline-block; width:.44rem; height:.44rem; border:solid var(--gold); border-width:0 1px 1px 0; transform:rotate(45deg); margin:0 .2rem .17rem .7rem; }
.nav details[open] summary::after { transform:rotate(225deg); margin-bottom:0; }
.subnav { position:absolute; left:-1rem; min-width:14rem; top:100%; background:var(--navy-mid); border:1px solid #62583e; padding:.5rem 1rem; z-index:12; }
.subnav a,.mobile-nav a { display:block; padding:.65rem .2rem; border-bottom:1px solid #ffffff26; }
.subnav a:last-child,.mobile-nav a:last-child { border-bottom:none; }
.mobile-menu {display:none;}
.eyebrow, .tag { font:600 .77rem/1.5 var(--body); letter-spacing:.16em; text-transform:uppercase; color:var(--brown); }
.eyebrow { display:flex; align-items:center; gap:.85rem; margin-bottom:1.3rem; }
.eyebrow::before { content:""; display:block; width:1.7rem; height:1px; background:currentColor; opacity:.85; }
.hero { display:grid; grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); color:white; background:var(--navy); }
.hero-copy { align-self:center; padding:clamp(3.2rem,6vw,6.5rem) clamp(2rem,4.5vw,5rem) clamp(3.1rem,6vw,6.5rem) max(4vw,calc((100vw - 76.25rem)/2)); }
.hero .eyebrow, .dark .eyebrow { color:var(--gold); }
.hero h1 { font-size:clamp(3.5rem,5.9vw,5.5rem); line-height:1.04; letter-spacing:-.051em; }
.hero h1 em, .contact-band h2 em { color:var(--gold); font-weight:400; }
.hero .intro { color:#cbd0d4; font-size:1.07rem; line-height:1.75; max-width:44ch; margin-top:1.65rem; }
.hero .text-link { margin-top:1.7rem; }
.hero .inline-link { color:var(--gold); text-decoration:underline; text-underline-offset:.2em; }
.hero-photo { position:relative; min-height:clamp(33rem,43vw,41.5rem); overflow:hidden; background:#1e2c33; }
.hero-photo img { position:absolute; height:100%; object-fit:cover; object-position:54% center; }
.hero-photo::after { content:""; position:absolute; inset:55% 0 0; background:linear-gradient(transparent,#09121deb); pointer-events:none; }
.hero-photo figcaption { position:absolute; z-index:1; bottom:clamp(1.4rem,2.6vw,2.4rem); left:clamp(1.45rem,3vw,3.25rem); right:1.4rem; }
.hero-photo figcaption span { display:block; color:#eddbaf; text-transform:uppercase; letter-spacing:.13em; font-size:.78rem; }
.hero-photo figcaption a { font:normal 1.55rem/1.4 var(--serif); }
.hero-photo figcaption a:hover { text-decoration:underline; }
.text-link { display:inline-block; width:fit-content; padding:.45rem 0 .36rem; border-bottom:1px solid #9c8457; font-size:.84rem; font-weight:650; letter-spacing:.065em; text-transform:uppercase; }
.text-link:hover { border-bottom:2px solid currentColor; padding-bottom:calc(.36rem - 1px); }
.section { padding-block:clamp(3.5rem,7vw,6.5rem); }
.section h2, .page-intro h1, .contact-band h2 { font-size:clamp(2.5rem,4.3vw,4.15rem); line-height:1.06; letter-spacing:-.045em; }
.section-intro { display:grid; grid-template-columns:1.24fr .76fr; align-items:end; gap:4rem; margin-bottom:clamp(2rem,4vw,3.7rem); }
.section-aside { max-width:40ch; justify-self:end; color:var(--muted); }
.section-aside .text-link { margin-top:.65rem; color:var(--ink); }
.project-pair { display:grid; grid-template-columns:1.18fr .82fr; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
.project-pair article:nth-child(2) { padding-top:clamp(2rem,7vw,6.55rem); }
.project-card .photo { display:block; overflow:hidden; background:var(--stone); }
.project-card img { aspect-ratio:4/3; object-fit:cover; transition:transform .35s ease; }
.project-card .photo:hover img { transform:scale(1.024); }
.project-card .tag { margin:1.2rem 0 .4rem; }
.project-card h3 { font-size:clamp(1.65rem,2.5vw,2.25rem); line-height:1.15; letter-spacing:-.025em; }
.project-card h3 a:hover { text-decoration:underline; text-underline-offset:.2em; }
.project-card .text-link { margin:.85rem 0 .25rem; }
.split { display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(2.5rem,6.5vw,6rem); align-items:center; }
.stone { background:var(--stone); }
.split-figure img { aspect-ratio:4/4.5; object-fit:cover; }
.split-figure figcaption, .detail-photo figcaption { font-size:.85rem; color:var(--muted); margin-top:.7rem; }
.prose > p:not(.eyebrow) { color:var(--muted); margin-top:1.1rem; max-width:62ch; }
.prose > .text-link { margin-top:1.15rem; }
.prose h2 { font-size:clamp(2.45rem,3.7vw,3.5rem); }
.service-list { margin-top:1.7rem; }
.service-list a, .scope-row { display:block; border-top:1px solid var(--rule); padding:1.1rem 0; }
.service-list a:last-child, .scope-row:last-child { border-bottom:1px solid var(--rule); }
.service-list a:hover h3 { color:var(--brown); }
.service-list h3, .scope-row h3 { font-size:1.65rem; line-height:1.3; }
.service-list h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.22em; text-decoration-color:#a28d64; }
.service-list p, .scope-row p { color:var(--muted); margin-top:.35rem; }
.person { grid-template-columns:.82fr 1.18fr; }
.person img { max-height:31rem; object-position:center 30%; }
.contact-band { color:white; background:var(--navy-mid); }
.contact-band h2 { margin-bottom:.9rem; }
.contact-band .section-aside { color:#d0d5d8; justify-self:start; }
.contact-band .section-aside .text-link { color:white; }
.contact-band .section-intro { margin-bottom:0; }
footer { background:var(--navy); border-top:1px solid #ffffff1c; color:#cdd1d5; }
.footer-grid { padding-block:2.8rem; display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:2.2rem; }
footer .brand { color:white; }
footer p { font-size:.91rem; margin-top:1rem; }
footer h2 { font-family:var(--body); font-size:.85rem; letter-spacing:.075em; text-transform:uppercase; color:var(--gold); margin-bottom:.65rem; }
footer ul { list-style:none; padding:0; margin:0; }
footer li { margin:.28rem 0; }
footer li a { font-size:.95rem; }
footer a:hover { color:var(--gold); }
.footline { border-top:1px solid #ffffff25; padding-block:1.1rem; font-size:.8rem; display:flex; justify-content:space-between; gap:1.2rem; flex-wrap:wrap; }
.page-intro { padding-block:clamp(3rem,5.5vw,5.25rem); max-width:64ch; }
.page-intro p:last-child { color:var(--muted); max-width:57ch; margin-top:1.05rem; }
.detail-photo img { aspect-ratio:4/3; object-fit:cover; }
.work-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; padding-bottom:5rem; }
.work-grid .tag { line-height:1.8; }
.portfolio-heading { margin:clamp(2.8rem,5vw,4.75rem) 0 1.6rem; font-size:clamp(2rem,3.5vw,3rem); line-height:1.15; }
.facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--rule); padding:1.2rem 0; gap:1rem; margin:0; }
.facts dt { color:var(--brown); font-size:.79rem; text-transform:uppercase; font-weight:600; letter-spacing:.1em; }
.facts dd { margin:.3rem 0 0; }
.enquiry-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,7vw,7.5rem); align-items:start; }
.contact-options { list-style:none; padding:0; margin:1.7rem 0; }
.contact-options li { margin:.6rem 0; }
.contact-options a { text-decoration:underline; text-underline-offset:.22em; }
form { padding:clamp(1.3rem,3.6vw,2.9rem); border:1px solid var(--rule); background:#fffdf9; }
form h2 { font-size:2rem!important; }
form label { display:block; font-size:.95rem; margin-top:1.1rem; font-weight:600; }
input, select, textarea { display:block; width:100%; background:white; border:1px solid #a19f98; border-radius:0; padding:.65rem; color:var(--ink); min-height:44px; }
textarea { resize:vertical; min-height:7rem; }
select { appearance:none; background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2318232c' stroke-width='1.6' d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; padding-right:2.5rem; }
.button { display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--navy); background:var(--navy); color:white; padding:.65rem 1.2rem; min-height:44px; cursor:pointer; }
.button:hover { background:#26354a; }
.form-actions { margin-top:1.4rem; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.form-note { font-size:.9rem; color:var(--muted); margin-top:.7rem; }
.copy { background:none; border:0; border-bottom:1px solid var(--brown); padding:.2rem 0; color:var(--ink); cursor:pointer; }
.status { font-size:.94rem; line-height:1.5; margin-top:.75rem; }
#brief-output { white-space:pre-wrap; padding:1rem; background:var(--stone); overflow-wrap:anywhere; }
@media (max-width: 900px) {
  .nav-shell { min-height:4.9rem; }
  .nav { gap:1.3rem; }
  .split,.section-intro { gap:2.3rem; }
  .hero-photo { min-height:32rem; }
}
@media (max-width: 740px) {
  .nav { display:none; }
  .mobile-menu { display:block; }
  .mobile-menu summary { cursor:pointer; display:flex; align-items:center; gap:.6rem; padding:.7rem .1rem; font-size:.92rem; }
  .mobile-menu summary::after { content:""; width:1.15rem; height:.47rem; border-block:1px solid var(--gold); }
  .mobile-nav { position:absolute; inset:100% 0 auto; padding:.55rem 1.4rem 1rem; background:var(--navy-mid); border-top:1px solid #7d6d4f; box-shadow:0 10px 20px #0003; max-height:75vh; overflow:auto; }
  .nav-shell { min-height:4.5rem; }
  .brand strong { font-size:1.22rem; }
  .brand small { font-size:.55rem; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { padding:2.65rem 1.45rem 2.45rem; }
  .hero h1 { font-size:clamp(3.2rem,11vw,4.75rem); }
  .hero .eyebrow { margin-bottom:1rem; }
  .hero .intro { font-size:1rem; margin-top:1.05rem; }
  .hero .text-link { margin-top:1.15rem; }
  .hero-photo { min-height:0; aspect-ratio:1.45; }
  .hero-photo img { object-position:center; }
  .hero-photo figcaption { bottom:1rem; left:1.45rem; }
  .hero-photo figcaption a { font-size:1.35rem; }
  .section-intro,.project-pair,.split,.work-grid,.enquiry-layout { grid-template-columns:1fr; }
  .section-intro,.split,.enquiry-layout { gap:1.7rem; }
  .section-aside { justify-self:start; }
  .project-pair article:nth-child(2) { padding-top:0; }
  .project-pair,.work-grid { gap:2.7rem; }
  .split-figure img { aspect-ratio:4/3; }
  .person img { max-height:22rem; }
  .work-grid { padding-bottom:3.5rem; }
  .facts { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:1.8rem 1rem; }
  .footer-grid > div:first-child { grid-column:1/-1; }
}
@media (max-width:420px) {
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > div:first-child { grid-column:auto; }
}
@media (prefers-reduced-motion:reduce) { *, *::before,*::after { transition:none!important; scroll-behavior:auto!important; } }
.about-title { font-size:clamp(3rem,5.5vw,5rem); line-height:1.05; letter-spacing:-.047em; }
.detail-photo:has(img[src*="cranbrook-lounge"]) img { object-position:center 60%; }
