:root {
  color-scheme: light;
  --ink: #142c35;
  --muted: #3b535c;
  --accent: #00688b;
  --dots: #bdd8df;
  --wash: #eaf3f4;
  --paper: #f4f7f7;
  --rule: #cbd9dc;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 1;
  top: .75rem;
  left: .75rem;
  padding: .75rem;
  background: white;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  min-height: 5rem;
  padding-block: .85rem;
}
.brand {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: .8rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}
.brand span { display: block; font-weight: 550; }
nav { display: flex; flex-wrap: wrap; gap: .4rem clamp(1rem, 3vw, 2.2rem); }
nav a { padding-block: .55rem; color: var(--ink); font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--accent); text-decoration: underline; }

.hero { background: #fff; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.7rem);
}
.eyebrow {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1 {
  margin-block: .65rem 1.15rem;
  font-size: clamp(3rem, 6.2vw, 5.5rem);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: 1.02;
}
h1 em { color: var(--accent); font-style: normal; }
.lead, .section-note { max-width: 38ch; color: var(--muted); font-size: 1.125rem; }
.button {
  display: inline-block;
  margin-top: 1.7rem;
  padding: .8rem 1.3rem;
  border-radius: .3rem;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #005574; }
.button:focus-visible { outline-color: var(--accent); }
.hero-visual {
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  min-height: 21rem;
  border: 1px solid #d7e7e9;
  border-radius: .6rem;
  background: radial-gradient(var(--dots) 1px, transparent 1px) 0 0 / 13px 13px, var(--wash);
}
.logo-frame {
  width: min(100%, 23rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid #e0e9eb;
  border-radius: .4rem;
  background: white;
  box-shadow: 0 8px 24px #1739410d;
}
.logo-crop { overflow: hidden; aspect-ratio: 308 / 185; }
.logo-crop img { display: block; width: 100.65%; height: auto; }

.section { padding-block: clamp(3.25rem, 6.7vw, 5.8rem); border-top: 1px solid var(--rule); }
h2 {
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  font-weight: 770;
  letter-spacing: -.05em;
  line-height: 1.08;
}
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.3; }
.areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2rem;
}
.areas article { padding-top: 1rem; border-top: 2px solid var(--accent); }
.areas p, .project-list li > p:last-child { margin-top: .5rem; color: var(--muted); }
.projects { background: #fff; }
.project-layout, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.section-note { margin-top: 1rem; }
.project-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.project-list li { padding-block: 1.05rem; border-bottom: 1px solid var(--rule); }
.project-list h3 { margin-top: .3rem; }
.contact { background: var(--wash); }
.email { display: inline-block; margin-top: 1.15rem; overflow-wrap: anywhere; font-weight: 700; }
.registry { border-left: 1px solid #a8c4ca; padding-inline-start: clamp(1rem, 3vw, 2.5rem); }
.registry address { font-style: normal; }
.registry dl { display: flex; flex-wrap: wrap; gap: .7rem 1.7rem; margin-top: 1rem; }
.registry dt { color: var(--muted); font-size: .875rem; font-weight: 750; }
.registry dd { font-variant-numeric: tabular-nums; }

@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1.75rem; }
  .hero-visual { min-height: 15rem; }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; }
  nav { width: 100%; }
  .hero-inner, .areas, .project-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 12rem; }
  h1 { max-width: 12ch; }
}
