:root {
  color-scheme: light;
  --ink: #252525;
  --muted: #585858;
  --paper: #f5f5f5;
  --white: #fff;
  --line: #d8d8d8;
  --orange: #ff6600;
  --accent-text: #a84300;
  --charcoal: #323232;
  --panel: #515151;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
.on-dark :focus-visible { outline-color: #ffae7a; }
.wrap { width: min(1360px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; inset: 10px auto auto 10px; transform: translateY(-200%); z-index: 10; background: white; padding: 10px; }
.skip:focus { transform: none; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand svg { display: block; overflow: hidden; mix-blend-mode: multiply; }
.brand-name { max-width: 43vw; height: auto; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(15px, 2.7vw, 37px); }
.nav a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav a[aria-current], .nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav a.nav-contact { color: var(--ink); font-weight: 750; }
.hero { background: var(--charcoal); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; min-height: 540px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 7vw, 110px) clamp(28px, 5vw, 90px) clamp(44px, 7vw, 110px) 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--accent-text); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 17px; height: 2px; background: currentColor; flex: none; }
.on-dark .eyebrow { color: #ffae7a; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 6vw, 5.5rem); font-weight: 780; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); font-weight: 750; }
h3 { font-size: clamp(1.35rem, 2.3vw, 2.1rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.04rem, 1.5vw, 1.25rem); max-width: 54ch; color: var(--muted); margin: 18px 0 0; }
.on-dark .lead { color: #dedede; }
.hero-media { position: relative; min-width: 0; margin: 0; background: var(--panel); }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-media figcaption { position: absolute; inset: auto 0 0; background: linear-gradient(transparent, #1c1c1ce8); color: white; padding: 42px 24px 18px; font-size: .82rem; font-weight: 650; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 22px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; gap: 14px; padding: 13px 18px; border: 0; border-radius: 4px; background: var(--orange); color: var(--ink); text-decoration: none; font: inherit; font-weight: 780; cursor: pointer; }
.button:hover { background: #ff944d; }
.button:disabled { cursor: default; opacity: .56; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { color: var(--accent-text); }
.on-dark .text-link span { color: var(--orange); }
.section { padding-block: clamp(48px, 7vw, 100px); }
.section-compact { padding-block: clamp(32px, 4.5vw, 64px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.rule { border-top: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(19px, 3vw, 40px); }
.service { display: flex; flex-direction: column; border-top: 1px solid #b2b2b2; padding-top: 18px; }
.service p, .project-copy p { color: var(--muted); margin: 10px 0 16px; }
.service .text-link { margin-top: auto; }
.service-index { color: var(--accent-text); font: 750 .76rem/1.4 ui-monospace, monospace; margin-bottom: 13px; }
.feature { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--panel); color: white; }
.feature-image { min-height: 310px; width: 100%; height: 100%; object-fit: cover; }
.feature-copy { align-self: center; padding: clamp(24px, 5vw, 68px); }
.feature-copy p:not(.eyebrow) { color: #ededed; margin: 14px 0 22px; }
.subhead { padding-block: clamp(38px, 6vw, 78px) clamp(25px, 4vw, 48px); }
.subhead h1 { max-width: 16ch; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 27px; }
.jump a { font-weight: 680; text-decoration-color: var(--orange); }
.project-group { padding-block: 30px 42px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.project-group > h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 3vw, 2.35rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.project-entry { min-width: 0; background: white; border: 1px solid var(--line); }
.project-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.project-image { display: block; overflow: hidden; background: #fff; }
.project-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; transition: transform .25s ease; }
.project-link:hover img { transform: scale(1.035); }
.project-copy { display: flex; flex: 1; flex-direction: column; padding: 18px; border-top: 1px solid var(--line); }
.project-copy h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.project-read { margin-top: auto; color: var(--accent-text); font-weight: 750; }
.project-link:hover .project-read { text-decoration: underline; }
.project-feature { display: grid; grid-template-columns: 1.16fr 1fr; background: var(--charcoal); color: white; }
.project-feature img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.project-feature-copy { padding: clamp(24px, 4vw, 56px); align-self: center; }
.project-feature-copy h2 { font-size: clamp(1.8rem, 3.5vw, 3.1rem); margin-bottom: 16px; }
.project-feature-fact { color: #ffae7a; font-size: 1.16rem; font-weight: 800; }
.case-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 68px); padding-block: clamp(30px, 5vw, 70px); }
.case-heading { min-width: 0; }
.case-heading h1 { font-size: clamp(2.2rem, 4.9vw, 4.5rem); overflow-wrap: anywhere; }
.case-back { margin-bottom: 23px; }
.case-image { margin: 0; background: white; }
.case-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.case-facts > div { border-top: 3px solid var(--orange); background: #eaeaea; padding: clamp(14px, 2.5vw, 25px); }
.case-facts dt { font-weight: 820; font-size: clamp(1.05rem, 2.3vw, 1.8rem); line-height: 1.2; }
.case-facts dd { margin: 7px 0 0; color: var(--muted); }
.case-story { display: grid; gap: 24px; }
.case-story section { display: grid; grid-template-columns: minmax(170px, .75fr) minmax(0, 1.45fr); align-items: start; gap: 22px; border-top: 1px solid var(--line); padding-top: 21px; }
.case-story h2 { font-size: clamp(1.35rem, 2.3vw, 2rem); }
.case-story p { max-width: 67ch; margin-bottom: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: clamp(24px, 6vw, 90px); }
.prose { max-width: 72ch; font-size: 1.06rem; }
.prose img { height: auto; }
.detail-image { margin: 0; background: white; }
.detail-image img { width: 100%; max-height: 480px; object-fit: contain; }
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: center; }
.logos a { background: #fff; display: grid; min-height: 70px; place-items: center; padding: 12px; }
.logos img { width: 116px; height: 37px; object-fit: contain; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.media-grid img, .media-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; object-fit: contain; background: white; }
details summary { cursor: pointer; font-weight: 750; margin-bottom: 18px; }
.contact-band { background: var(--panel); color: white; }
.contact-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.contact-band h2 { font-size: clamp(1.6rem, 3vw, 2.7rem); }
.footer { background: #ebebeb; color: var(--ink); padding: 34px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.footer .brand { margin-bottom: 9px; }
.footer address { font-style: normal; }
.footer small { display: block; border-top: 1px solid #bdbdbd; margin-top: 25px; padding-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 9px 16px; }
.map { width: 100%; height: 290px; border: 0; }
.editor { display: grid; gap: 14px; max-width: 660px; }
.editor legend { font-size: .9rem; color: var(--muted); }
.editor:disabled { border: 1px solid var(--line); padding: 16px; }
.editor label { display: grid; gap: 5px; font-weight: 700; }
.editor input, .editor textarea, .editor select { width: 100%; min-width: 0; border: 1px solid #b2b2b2; border-radius: 3px; background: white; color: var(--ink); padding: 9px 11px; font: inherit; }
.editor textarea { resize: vertical; }
.editor .button { justify-self: start; }
.muted { color: var(--muted); }
.form-status:empty { display: none; }
.saved div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.case { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.case h2 { font-size: 1.35rem; margin-bottom: 8px; }
.case p { white-space: pre-wrap; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; margin-top: 20px; }
@media (max-width: 880px) {
  .hero-grid { min-height: 435px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .mast-inner { align-items: flex-start; justify-content: center; flex-direction: column; min-height: auto; padding-block: 12px 15px; gap: 9px; }
  .nav { column-gap: 16px; row-gap: 7px; }
  .nav a { font-size: .88rem; }
  .hero-grid, .feature, .services, .split, .footer-grid, .project-feature, .case-hero, .case-story section { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .hero-media { min-height: 240px; }
  .feature-image { min-height: 0; aspect-ratio: 16 / 10; }
  .project-feature img { min-height: 0; aspect-ratio: 16 / 10; }
  .case-story section { gap: 10px; }
  .footer-grid { gap: 14px; }
}
@media (max-width: 460px) { .project-grid, .media-grid, .case-facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .project-image img { transition: none; } }
