:root {
  --ink: #142033;
  --ink-soft: #3c4656;
  --paper: #f3f0e8;
  --paper-2: #e7e1d6;
  --white: #fbfaf7;
  --line: rgba(20, 32, 51, 0.16);
  --red: #c4161c;
  --red-dark: #9d1016;
  --navy: #17263c;
  --header: 7.4rem;
  --measure: 72rem;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(to right, rgba(20, 32, 51, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 51, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 240, 232, 0.94);
  border-bottom: 1px solid var(--line);
}

.topline,
.bar,
.hero,
.band,
.section,
.footer {
  width: min(var(--measure), calc(100% - 2rem));
  margin-inline: auto;
}

.topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0.55rem 0 0;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.topline p { margin: 0; }

.topline a,
.hero-phones a,
.visit-phones a,
.visit-copy a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.topline-phones { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }

.hero-write { margin: 0.55rem 0 0; font-weight: 700; }

.map-icon.word { padding: 0.45rem 0.85rem; }

.bar {
  display: flex;
  align-items: center;
  gap: 0.8rem 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img { width: 3.1rem; height: auto; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name small {
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.9rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  padding: 0.45rem 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.05rem;
  background: var(--red);
  color: white;
  text-decoration: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: white; }

.btn-small { min-height: 2.4rem; flex-shrink: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0 2rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--red);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.draw-arrow {
  display: block;
  width: min(16rem, 70%);
  height: auto;
  margin: 0.8rem 0 1.1rem;
  color: var(--red);
  overflow: visible;
}

.draw-arrow-line,
.draw-arrow-head {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.draw-arrow-line {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: draw 0.9s ease forwards 0.15s;
}

.draw-arrow-head {
  opacity: 0;
  animation: head 0.25s ease forwards 0.85s;
}

.lead {
  max-width: 38rem;
  font-size: 1.12rem;
}

.hero-actions,
.hero-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.hero-phones { font-weight: 650; }

.hero-photo {
  margin: 0;
  background: var(--navy);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 28%;
}

.hero-photo figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  color: #efe8dc;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
}

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band p {
  padding: 0.85rem 0;
  color: var(--ink-soft);
}

.section { padding: 4.2rem 0 0; }

.section-head { max-width: 40rem; margin-bottom: 1.6rem; }

h2 { font-size: clamp(2rem, 4vw, 3rem); }

.section-note {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.tasks li { border-bottom: 1px solid var(--line); }

.tasks li:nth-child(odd) { border-right: 1px solid var(--line); }

.tasks a {
  display: block;
  min-height: 100%;
  padding: 1.3rem 1.2rem 1.2rem 0;
  text-decoration: none;
}

.tasks li:nth-child(even) a { padding-left: 1.2rem; }

.tasks span {
  font-family: "IBM Plex Mono", Consolas, monospace;
  color: var(--red);
  font-size: 0.8rem;
}

.tasks h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.55rem;
}

.tasks p { color: var(--ink-soft); max-width: 36rem; }

.tasks b {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 700;
}

.tasks a:hover h3 { color: var(--red); }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  caption-side: bottom;
  padding-top: 0.7rem;
  text-align: left;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

th, td {
  padding: 0.85rem 0.8rem 0.85rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:nth-child(2),
th:nth-child(2) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 700;
}

tr:target td { background: #f6e4c8; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.steps li {
  padding-top: 0.8rem;
  border-top: 2px solid var(--red);
}

.steps span {
  font-family: "IBM Plex Mono", Consolas, monospace;
  color: var(--red);
  font-size: 0.8rem;
}

.steps h3 { margin: 0.45rem 0; font-size: 1.25rem; }

.steps p { color: var(--ink-soft); }

.pause {
  margin-top: 1.6rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 44rem;
}

.pause h3 { font-size: 1.35rem; margin-bottom: 0.45rem; }

.pause p + p { margin-top: 0.6rem; }

.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.people img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
  background: var(--paper-2);
}

.people h3 {
  margin-top: 0.7rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.people p {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.clients li {
  padding: 0.55rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
}

.qa {
  display: grid;
  gap: 1.1rem;
  max-width: 44rem;
  margin: 0;
}

.qa div {
  padding-top: 0.8rem;
  border-top: 2px solid var(--red);
}

.qa dt { font-weight: 700; font-size: 1.15rem; }

.qa dd {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}

.reviews-link { margin: 0.7rem 0 0; }

.reviews-link a { font-weight: 700; }

.visit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding-bottom: 4rem;
}

.visit-phones {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.visit-copy a { font-weight: 700; }

.form {
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.form h3 { font-size: 1.6rem; }

.form > p { margin: 0.45rem 0 1rem; color: var(--ink-soft); }

.form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.form input[type="text"],
.form input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.form input:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.check input { margin-top: 0.25rem; }

.form-note:empty { display: none; }

.form-note {
  margin-top: 0.8rem;
  padding: 0.7rem 0.75rem;
  background: var(--paper);
  border-left: 3px solid var(--red);
}

.form-hint {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer {
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer p + p { margin-top: 0.25rem; }

.form input[aria-invalid="true"] { border-color: var(--red); }

@media (max-width: 980px) {
  .hero,
  .band,
  .steps,
  .people,
  .visit { grid-template-columns: 1fr; }

  .hero-photo img {
    height: 22rem;
    aspect-ratio: auto;
  }

  .tasks { grid-template-columns: 1fr; }

  .tasks li:nth-child(odd) { border-right: 0; }

  .tasks li:nth-child(even) a,
  .tasks a { padding-left: 0; padding-right: 0; }

  .people { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1rem 0.8rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 0.7rem 0; border-top: 1px solid var(--line); }

  .bar { position: relative; }

  .bar .btn-small { display: none; }
}

@media (max-width: 640px) {
  thead { display: none; }

  table, tbody, tr, td { display: block; width: 100%; }

  tr {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  td {
    border: 0;
    padding: 0.15rem 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    color: var(--ink-soft);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .people { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .draw-arrow-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .draw-arrow-head {
    animation: none;
    opacity: 1;
  }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes head {
  to { opacity: 1; }
}

.page { padding-bottom: 3rem; }

.page .people { margin-top: 1.6rem; }

.page h1 {
  max-width: 40rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page .form {
  max-width: 36rem;
  margin-top: 1.4rem;
}

.page-cta { margin-top: 1.6rem; }

.crumbs {
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.75rem;
}

.crumbs a { color: var(--ink); }

.prose { max-width: 46rem; }

.prose p,
.prose li { margin-top: 0.75rem; }

.prose h2 {
  margin-top: 1.5rem;
  font-size: 1.35rem;
}

.prose a { font-weight: 700; }

.plain-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.link-grid {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.link-grid a {
  display: block;
  min-height: 100%;
  padding: 0.95rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.link-grid h3 { font-size: 1.15rem; }

.link-grid p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.link-grid a:hover { border-color: var(--red); }

.docs {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.2rem 0.8rem;
  align-items: start;
}

.docs-sro { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.docs-att { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.docs a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.docs-sro a { aspect-ratio: 2 / 3; }

.docs-att a { aspect-ratio: 1024 / 744; }

.docs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

.docs h3 {
  margin-top: 0.7rem;
  font-size: 1.05rem;
}

.docs p {
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.45rem 0;
}

.footer-links a { font-weight: 700; }

.form label.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.nav a[aria-current="page"] { color: var(--red); }

.map-links { margin-top: 1rem; }

.map-open { font-weight: 700; margin: 0.95rem 0 0; }

.map-links .map-open:first-child { margin-top: 0; }

.map-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.map-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.map-icon svg,
.map-icon img {
  width: 2rem;
  height: 2rem;
  max-width: 2rem;
  flex: 0 0 2rem;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.map-icon img.app { border-radius: 0.45rem; }

.map-icon:hover { border-color: var(--ink); }

@media (max-width: 980px) {
  .link-grid,
  .docs,
  .docs-att,
  .docs-sro { grid-template-columns: 1fr; }
}
