:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #252b30;
  --muted: #505b64;
  --blue: #24548a;
  --line: #cbd1d3;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: min(82rem, 100%); margin-inline: auto; padding-inline: clamp(1.25rem, 5.4vw, 5rem); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.skip { position: absolute; z-index: 2; padding: .75rem; background: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .brand, nav { display: flex; align-items: center; }
.header-inner { min-height: 4.75rem; justify-content: space-between; gap: 1rem; }
.brand { gap: .7rem; color: var(--blue); font-size: 1.35rem; font-weight: 750; letter-spacing: -.035em; }
nav { gap: clamp(1rem, 3vw, 3rem); }
nav a { font-size: .94rem; padding-block: .8rem; }
nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .3rem; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(.75rem, 2.5vw, 2.5rem); padding-block: clamp(3rem, 5.5vw, 5rem); }
.intro, .drawing { min-width: 0; }
.location { display: flex; align-items: center; gap: .65rem; color: var(--blue); font: .8rem/1.5 "Courier New", monospace; letter-spacing: .09em; text-transform: uppercase; }
.location::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; }
h1, h2, h3 { font-weight: 600; }
h1 { margin-block: 1.25rem; font-size: clamp(2rem, 3.85vw, 3.45rem); line-height: 1.07; letter-spacing: -.043em; }
h1 span { color: var(--blue); }
.lead, .services p { line-height: 1.6; color: var(--muted); }
.lead { max-width: 30rem; font-size: 1.05rem; }
.drawing { position: relative; background-image: linear-gradient(#24548a0c 1px, transparent 1px), linear-gradient(90deg,#24548a0c 1px,transparent 1px); background-size: 1.4rem 1.4rem; }
.drawing img { display: block; width: 100%; height: auto; }
.work, .contacts { border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 5vw, 4.5rem); }
.work { background: #fdfdfb; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -.04em; }
.services { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 2.25rem; }
.services article { padding-inline: clamp(1rem, 2.8vw, 2.75rem); border-left: 1px solid var(--line); }
.services article:first-child { border: 0; padding-left: 0; }
.services article:last-child { padding-right: 0; }
.icon { width: 2.35rem; height: 2.35rem; stroke: var(--blue); stroke-width: 1.5; stroke-linejoin: round; fill: none; }
h3 { margin: 1rem 0 .5rem; font-size: 1.25rem; letter-spacing: -.025em; }
.contacts { background: #eaf0f4; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; margin-top: 2rem; }
dl > div { display: grid; grid-template-columns: minmax(6rem, .85fr) 1.4fr; gap: .8rem; padding: .85rem 0; border-top: 1px solid #c2cdd5; line-height: 1.45; }
dt { color: var(--muted); }
dd { overflow-wrap: anywhere; }
@media (max-width: 48rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  h1 { max-width: 37rem; font-size: clamp(2rem, 6vw, 2.9rem); }
  .drawing { width: min(100%, 32rem); justify-self: center; }
  .services { grid-template-columns: 1fr; margin-top: 1.2rem; }
  .services article, .services article:first-child { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1rem; padding: 1.25rem 0; border: 0; }
  .services article + article { border-top: 1px solid var(--line); }
  .services article:last-child { padding-bottom: 0; }
  .icon { grid-row: span 2; }
  h3 { margin: 0 0 .4rem; }
  .details { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 28rem) {
  .header-inner { min-height: 4rem; flex-wrap: wrap; row-gap: 0; }
  .brand { font-size: 1.04rem; gap: .4rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  nav { gap: .85rem; }
  nav a { font-size: .875rem; }
  .hero-inner { padding-block: 2.25rem; }
  .details dl > div { grid-template-columns: minmax(7rem, .85fr) 1.4fr; }
  h1 { font-size: clamp(1.8rem, 7.8vw, 2.2rem); }
}
