:root {
  color-scheme: dark;
  --ink: #161a20;
  --light: #f3f5f6;
  --muted: #b8c3ce;
  --accent: #ccf46b;
  --line: #414954;
  --gutter: clamp(20px, 5vw, 80px);
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--ink);
  color: var(--light);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; object-fit: cover; }
.wrap { width: min(100% - 2 * var(--gutter), 1500px); margin-inline: auto; }
.bar, nav, .brand, .button, .hero-image figcaption a { display: flex; align-items: center; }
.bar { justify-content: space-between; gap: 20px; min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { gap: 10px; font-weight: 800; letter-spacing: .065em; text-decoration: none; white-space: nowrap; }
.brand-ag { color: var(--accent); }
.mark { width: 25px; height: 25px; border-left: 6px solid var(--accent); border-bottom: 6px solid var(--accent); transform: skewY(-14deg); }
nav { gap: clamp(14px, 3vw, 44px); }
nav a { text-decoration: none; padding-block: 10px; }
nav a:hover, .footer a:hover { color: var(--accent); }
.nav-contact { color: var(--accent); }
.skip { position: absolute; top: -100px; background: var(--ink); padding: 12px; z-index: 5; }
.skip:focus { top: 8px; left: 8px; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 560px; min-height: clamp(520px, 43vw, 680px); margin-block: 24px 64px; border: 1px solid var(--line); }
.hero-copy { align-self: center; padding: clamp(22px, 3.4vw, 62px); }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 650 .78rem/1.4 ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow span { width: 14px; height: 6px; background: currentColor; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.055em; margin: 0; }
h1 { font-size: clamp(46px, 6.4vw, 112px); margin-block: 25px; }
h1 span, .hero .eyebrow, .testimonials .eyebrow { color: var(--accent); }
h2 { font-size: clamp(36px, 5.3vw, 76px); overflow-wrap: anywhere; }
h3 { font-size: 1.65rem; letter-spacing: -.035em; }
.intro, .team p, .project > p:not(.eyebrow) { color: var(--muted); max-width: 45ch; }
.intro { margin-bottom: 28px; }
.button { width: fit-content; gap: 24px; padding: 13px 16px; min-height: 48px; background: var(--accent); color: var(--ink); font-weight: 750; text-decoration: none; }
.button:hover { background: white; }
.hero-image { position: relative; min-width: 0; }
.hero-image img { position: absolute; height: 100%; object-position: 50% 58%; }
.hero-image figcaption { position: absolute; inset: auto 0 0; }
.hero-image figcaption a { justify-content: space-between; background: var(--ink); width: fit-content; gap: 24px; padding: 12px 16px; }
section[id] { scroll-margin-top: 16px; }
.section-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 7vw, 120px); }
.services { background: #dce5ec; color: var(--ink); color-scheme: light; padding-block: clamp(48px, 7vw, 110px); }
.section-grid p { max-width: 40ch; }
.service-list > div { border-top: 1px solid #8995a0; padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-list > div:last-child { border-bottom: 1px solid #8995a0; }
dt { font-weight: 800; font-size: 1.1rem; }
.project, .team, .testimonials, .contact { padding-block: clamp(48px, 7vw, 110px); }
.gallery { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; margin-top: 30px; }
.gallery figure { border-bottom: 1px solid var(--line); }
.gallery img { aspect-ratio: 1.65; }
.gallery a { display: block; }
.gallery figcaption { padding-block: 9px; color: var(--muted); }
.testimonials { background: #222a33; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
blockquote { border-top: 1px solid #77828c; padding-top: 18px; font-size: clamp(21px, 3vw, 39px); line-height: 1.2; }
.people article { border-top: 1px solid var(--line); padding-block: 18px; }
.people a { color: var(--accent); }
.contact { background: var(--accent); color: var(--ink); }
.contact .button { background: var(--ink); color: white; }
.contact .button:hover { background: #323944; }
address { align-self: end; font-style: normal; line-height: 1.8; border-top: 1px solid currentColor; padding-top: 16px; overflow-wrap: anywhere; }
.footer { border: 0; font-size: .88rem; }
@media (max-width: 930px) {
  .service-list > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 760px) {
  .hero, .section-grid, .quotes { grid-template-columns: 1fr; }
  .hero { min-height: auto; margin-bottom: 38px; }
  .hero-copy { padding-block: 35px; }
  .hero-image { min-height: clamp(240px, 63vw, 430px); }
  .bar:not(.footer) { flex-wrap: wrap; padding-block: 14px 4px; gap: 3px; }
  nav { width: 100%; justify-content: space-between; gap: 4px; font-size: .9rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 370px) {
  .gallery { grid-template-columns: 1fr; }
}
