:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #171813;
  --muted: #515249;
  --line: #d5d2c8;
  --orange: #f54a24;
  --rust: #bd3616;
  --mono: 'DM Mono', Consolas, 'Courier New', monospace;
  font-family: 'Space Grotesk', 'Bahnschrift', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
body { min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
section[id] { scroll-margin-top: 26px; }
.shell { width: min(100% - clamp(36px, 9vw, 136px), 1480px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 3; background: var(--ink); color: var(--paper); padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; font-size: 2rem; letter-spacing: -.1em; line-height: 1; }
.logo .logo-wordmark { width: 66px; height: auto; }
.nav { display: flex; gap: clamp(22px, 3.2vw, 54px); align-items: center; font-weight: 600; }
.nav a:hover, .text-link:hover { color: var(--rust); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 21px; padding: 12px 18px; min-height: 48px; border: 1px solid transparent; font-weight: 700; line-height: 1.2; transition: background-color .2s, color .2s; }
.button-outline { border-color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: light-dark(#383a31, #ded9cc); }
.mobile-contact, .menu-toggle { display: none; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: .32em; }

.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 .875rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.dash { width: 20px; height: 2px; flex: 0 0 20px; background: var(--orange); }
.intro { max-width: 28ch; color: var(--muted); font-size: clamp(1.125rem, 1.65vw, 1.45rem); line-height: 1.46; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }

.discipline-band, .footer { background: var(--band-surface); }
.services { background: var(--service-surface); }
.discipline-inner { padding-block: 21px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.discipline-inner span { font-size: clamp(1rem, 2.3vw, 2.25rem); font-weight: 600; letter-spacing: -.045em; }
.discipline-inner i { font-style: normal; color: var(--orange); font-size: clamp(.8rem, 1.6vw, 1.4rem); }
.section { padding-block: clamp(64px, 9vw, 137px); }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin-block: 14px 0; font-size: clamp(2.65rem, 6.4vw, 6.5rem); line-height: .93; letter-spacing: -.08em; }
.section-heading h2 span { color: var(--orange); }
.section-heading > p:not(.eyebrow) { max-width: 38ch; margin-top: 24px; color: var(--muted); font-size: 1.125rem; line-height: 1.55; }
.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 42px); }
.project-trigger { display: block; width: 100%; text-align: left; padding: 0; border: 0; background: transparent; }
.project-image { display: block; background: var(--image-placeholder); overflow: hidden; aspect-ratio: 1.53; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-trigger:hover img { transform: scale(1.045); }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.project-meta strong, .article-link strong { display: block; font-size: clamp(1.35rem, 3vw, 2.3rem); letter-spacing: -.055em; }
.project-meta small, .article-link small { display: block; margin-top: 4px; color: var(--muted); font: .875rem/1.4 var(--mono); }
.plus { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font: 1.5rem/1 var(--mono); transition: background-color .2s, color .2s; }
.project-trigger:hover .plus, .article-link:hover .plus, .plus:hover { background: var(--ink); color: var(--paper); }

.services-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 6vw, 94px); align-items: start; }
.services details p { color: var(--muted); }
.service-list { border-bottom: 1px solid var(--line-strong); }
.services details { padding: 21px 0; border-top: 1px solid var(--line-strong); }
.services summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; font-size: clamp(1.25rem, 2.8vw, 2.45rem); font-weight: 700; line-height: 1.12; letter-spacing: -.05em; }
.services summary::-webkit-details-marker { display: none; }
.services summary span { position: relative; flex: 0 0 24px; height: 24px; }
.services summary span::before, .services summary span::after { content: ''; position: absolute; top: 11px; left: 3px; width: 18px; height: 2px; background: var(--orange); }
.services details:not([open]) summary span::after { transform: rotate(90deg); }
.services details p { max-width: 50ch; padding: 15px 24px 0 0; line-height: 1.55; }
.insights { background: var(--panel); }
.article-link { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 12px; width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 23px 0; }
.article-link:last-of-type { border-bottom: 1px solid var(--line); }
.article-link small { margin: 0 0 5px; }

.contact { background: var(--contact-surface); }
.contact .dash { background: light-dark(var(--ink), var(--orange)); }
.contact .section-heading > p:not(.eyebrow) { color: var(--ink); }
.contact form { display: grid; justify-items: start; gap: 13px; }
.contact label { display: grid; gap: 5px; width: 100%; font-weight: 600; }
.contact input, .contact select, .contact textarea { width: 100%; min-width: 0; border: 1px solid light-dark(#3d281f, var(--control-line)); color: var(--ink); background: var(--paper); padding: 11px; border-radius: 0; }
.contact textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 13px; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-login { display: grid; gap: 16px; max-width: 420px; margin-bottom: 20px; }
.admin-login label { display: grid; gap: 8px; }
.admin-login input { padding: 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
#enquiries p { overflow-wrap: anywhere; white-space: pre-wrap; }
.form-note, #form-status { font-size: .875rem; font-weight: 600; }
#form-status:empty { display: none; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-block: 29px; }

dialog { width: min(700px, calc(100% - 28px)); max-height: calc(100% - 40px); padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: light-dark(#171813c2, #080905db); }
body:has(dialog[open]) { overflow: hidden; }
.story-inner { padding: clamp(20px, 5vw, 45px); }
.story-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.story-inner h2 { margin-block: 13px 20px; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: .96; letter-spacing: -.07em; }
.story-inner img { width: 100%; margin-bottom: 22px; }
#story-body p { margin-bottom: 15px; color: var(--muted); line-height: 1.6; }

@media (max-width: 680px) {
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 7px 12px; border: 1px solid var(--ink); background: transparent; font-weight: 700; }
  .nav { width: 100%; flex-wrap: wrap; gap: 11px 24px; padding: 10px 0 5px; }
  .nav[hidden] { display: none; }
  .nav a { padding-block: 6px; }
  .nav .mobile-contact { display: inline-flex; min-height: 36px; }
  .desktop-contact { display: none; }
  .work-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .actions { margin-top: 20px; }
  .discipline-inner { padding-block: 16px; }
  .discipline-inner span { font-size: clamp(.84rem, 3.8vw, 1.22rem); }
  .discipline-inner i { font-size: .75rem; }
  .work-heading { display: block; }
  .section-heading > p:not(.eyebrow) { margin-top: 16px; }
  .services-grid .section-heading, .contact-grid .section-heading { margin-bottom: 0; }
}
@media (max-width: 370px) {
  .discipline-inner { gap: 5px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
