:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fffefa;
  --ink: #222721;
  --muted: #50564c;
  --olive: #3e4a39;
  --line: #d8d8cd;
  --warm: #eceae0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
button { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a46b30; outline-offset: 4px; }
section, main { scroll-margin-top: 1rem; }
.wrap { width: min(100% - clamp(2rem, 8vw, 9rem), 83rem); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .6rem; left: .6rem; transform: translateY(-180%); background: var(--white); color: var(--ink); padding: .7rem 1rem; }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; flex-shrink: 0; text-decoration: none; font-size: 1.04rem; font-weight: 760; line-height: 1.06; letter-spacing: .105em; }
.brand small { display: block; margin-top: .27rem; font-size: .65rem; letter-spacing: .24em; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
nav a { font-size: .93rem; text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact, .menu { border: 1px solid #7d8477; padding: .45rem 1.15rem; }
.menu { display: none; min-height: 2.75rem; background: transparent; color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); column-gap: clamp(2rem, 4.4vw, 5.4rem); align-items: center; padding-block: clamp(2rem, 4.7vw, 4.8rem); }
.hero-copy { padding-block: 1.5rem; }
.eyebrow { margin-bottom: 1.25rem; color: var(--olive); text-transform: uppercase; letter-spacing: .137em; line-height: 1.4; font-size: .83rem; font-weight: 700; }
.hero .eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.hero .eyebrow span { width: 1.3rem; height: 1px; background: currentColor; }
h1, h2:not(.eyebrow) { font-family: var(--serif); font-weight: 400; letter-spacing: -.058em; }
h1 { font-size: clamp(3.1rem, 5.8vw, 6rem); line-height: .99; }
h1 em { display: block; color: var(--olive); font-weight: 400; }
h2:not(.eyebrow) { font-size: clamp(2.5rem, 4.4vw, 4.55rem); line-height: 1.05; }
h3 { font-size: 1.25rem; font-weight: 630; letter-spacing: -.025em; line-height: 1.25; }
.intro { color: var(--muted); max-width: 36ch; margin-top: 1.6rem; font-size: clamp(1.05rem, 1.42vw, 1.25rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .65rem 1.15rem; background: var(--olive); color: #fff; border: 1px solid transparent; text-decoration: none; font-weight: 640; font-size: .94rem; transition: background-color .2s; }
.button:hover { background: #252f24; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; text-underline-offset: .3em; font-size: .94rem; }
.hero-figure { position: relative; background: #ccc5b5; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.hero-figure figcaption { position: absolute; inset: auto .8rem .8rem auto; background: #252823; color: #fff; padding: .4rem .65rem; font-size: .79rem; max-width: calc(100% - 1.6rem); }
.sector { border-block: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.15rem; }
.sector > span { color: var(--muted); font-size: .87rem; }
.sector ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem clamp(1rem, 3vw, 3rem); font-weight: 610; font-size: .91rem; }

.section { padding-block: clamp(3.6rem, 7vw, 7rem); }
.services, .about, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); }
.section-intro > p:last-child, .spread > p { max-width: 36ch; color: var(--muted); margin-top: 1.25rem; }
.service-list { border-top: 1px solid var(--line); }
.service-list article { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.service-list p { color: var(--muted); margin-top: .45rem; }
.project-band { background: var(--warm); }
.spread { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: 2rem; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(.9rem, 2vw, 2rem); }
.project-title { font-family: var(--serif); font-size: clamp(2.35rem, 4.4vw, 4.55rem); font-weight: 400; letter-spacing: -.058em; line-height: 1.05; }
.project-secondary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: center; border-top: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 4rem); padding-top: clamp(2rem, 5vw, 4rem); }
.project-secondary .project-title { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.project { background: var(--paper); }
.project > img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #ccc5b5; }
.project figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: .9rem clamp(1rem, 2vw, 1.6rem); font-weight: 640; }
.project figcaption span { color: var(--muted); font-size: .85rem; font-weight: 400; }
.about-body { align-self: end; font-size: 1.1rem; color: var(--muted); }
.about-body p + p { margin-top: 1rem; }

.contact { color: #faf9f4; background: #272e28; }
.contact .eyebrow { color: #d0d4c7; }
.contact-layout { align-items: center; }
.contact-layout > div > p:not(.eyebrow) { margin-top: 1.25rem; max-width: 36ch; }
.contact-details { min-width: 0; border: 1px solid #626a5c; padding: .15rem clamp(1rem, 2.5vw, 2rem); font-style: normal; }
.contact-method { padding-block: 1rem .75rem; }
.contact-method + .contact-method { border-top: 1px solid #626a5c; }
.contact-method p { color: #d0d4c7; font-size: .9rem; }
.contact-method a { display: inline-flex; align-items: center; min-height: 2.75rem; max-width: 100%; font-size: clamp(1.05rem, 1.75vw, 1.4rem); font-weight: 650; overflow-wrap: anywhere; text-underline-offset: .22em; }
.contact-method a:hover { color: #d0d4c7; }
.footer { color: var(--muted); }
.footer-inner { padding-block: 1.4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .9rem; }
.footer-inner a { min-height: 2.75rem; display: inline-flex; align-items: center; text-underline-offset: .2em; }
.footer-inner > span { color: var(--ink); font-weight: 650; }

.project-link { width: fit-content; margin-top: .45rem; font-weight: 650; }
.project-summary { margin-top: .75rem; color: var(--muted); }
.detail-intro { max-width: 48rem; margin-bottom: clamp(1.8rem, 4vw, 3.5rem); }
.detail-intro h1, .legal h1 { font-size: clamp(2.65rem, 5.65vw, 5.3rem); }
.detail-intro .intro { max-width: 55ch; }
.detail-hero, .detail-gallery .project { background: var(--warm); }
.detail-gallery, .detail-actions { margin-top: clamp(1rem, 3vw, 2.5rem); }
.legal { max-width: 58rem; }
.legal section { margin-top: clamp(2rem, 5vw, 4rem); }
.legal h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); margin-bottom: 1.2rem; }
.legal p { max-width: 65ch; }
.legal p + p { margin-top: 1rem; }
.company-data { margin: 0; border-top: 1px solid var(--line); }
.company-data div { display: grid; grid-template-columns: minmax(5rem, 23%) minmax(0, 1fr); gap: .7rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.company-data dt { font-weight: 650; }
.company-data dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 62rem) {
  .hero { gap: 1.8rem; }
}
@media (max-width: 48rem) {
  .hero, .services, .about, .contact-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: .6rem 0 0; }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .spread { display: block; }
}
@media (max-width: 42rem) {
  .header-inner { flex-wrap: wrap; min-height: 4.5rem; padding-block: .7rem; gap: .3rem .8rem; }
  .menu { display: inline-flex; align-items: center; }
  nav { flex: 0 0 100%; justify-content: space-between; gap: 0 .5rem; }
  .menu:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .nav-contact { padding-inline: .55rem; }
  .sector { display: block; }
  .sector ul { margin-top: .45rem; }
}
@media (max-width: 32rem) {
  .projects, .project-secondary { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.75rem, 11vw, 4.1rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
