/* Meridian Scan — clarity via efficiency */

:root {
  --ink: #12161a;
  --ink-muted: #4b5560;
  --paper: #eef2f4;
  --paper-deep: #e2e8ec;
  --rule: #c5ced4;
  --laser: #0f7a86;
  --laser-soft: rgba(15, 122, 134, 0.12);
  --point: #0f7a86;
  --max: 68rem;
  --measure: 38rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  /* Single face; hierarchy by size only */
  --font: "Times New Roman", Times, "Liberation Serif", "Nimbus Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(15, 122, 134, 0.09), transparent 55%),
    linear-gradient(180deg, #f4f7f9 0%, var(--paper) 28%, var(--paper-deep) 100%);
  min-height: 100vh;
}

/* One face, one weight — hierarchy by size only */
h1, h2, h3, h4, h5, h6,
b, strong, th, label, button, .btn, .brand,
input, select, textarea {
  font-family: var(--font);
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--point);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--laser);
}

:focus-visible {
  outline: 2px solid var(--laser);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: var(--gutter);
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(238, 242, 244, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  min-height: 3.75rem;
}

.brand {
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.site-header .brand {
  padding-right: 1.25rem;
}

.brand span {
  color: var(--laser);
}

.nav {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  min-width: 0;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav .cta {
  color: var(--laser);
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-decoration: none;
}

.nav .cta:hover,
.nav .cta:focus,
.nav .cta:focus-visible,
.nav .cta[aria-current="page"] {
  color: var(--laser);
  background: none;
  border: 0;
  box-shadow: none;
  outline: none;
}

.nav .cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.4rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-header .wrap {
    justify-content: space-between;
    gap: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    grid-template-columns: none;
    justify-items: stretch;
    position: absolute;
    inset: 3.75rem var(--gutter) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  padding: 4rem 0 3.5rem;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-brand {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0 0 1.25rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--laser);
}

.hero-quote {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: normal;
  line-height: 1.3;
  color: var(--ink);
  margin: -0.35rem 0 1.25rem;
}

.hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-muted);
  max-width: 30rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--laser);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  padding: 4.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--rule);
}

.section-head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
  max-width: var(--measure);
}

.eyebrow {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--laser);
  margin: 0;
}

.section-head h2,
.page-title {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--ink-muted);
  max-width: 34rem;
}

.fact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}

.wrap > .fact-row:first-child {
  margin-top: 0;
}

.fact {
  background: var(--paper);
  padding: 1.25rem 1.15rem;
}

.fact b {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 400;
}

.fact span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

@media (max-width: 720px) {
  .fact-row {
    grid-template-columns: 1fr 1fr;
  }
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.service-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

.service-list .idx {
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.service-list h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.service-list p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 36rem;
}

.service-list a.more {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  align-self: center;
}

.service-list a.more:hover {
  color: var(--laser);
}

@media (max-width: 640px) {
  .service-list li {
    grid-template-columns: 2.5rem 1fr;
  }

  .service-list a.more {
    grid-column: 2;
  }
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process article {
  position: relative;
  padding-top: 0.25rem;
}

.process article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--laser);
  display: block;
  margin-bottom: 0.75rem;
}

.process h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 1.15rem;
}

.process p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .process {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.with-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem);
  gap: 2rem 3rem;
  align-items: start;
}

.margin-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-left: 2px solid var(--laser);
  padding-left: 0.85rem;
  margin-top: 0.35rem;
}

.margin-note strong {
  display: block;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

@media (max-width: 860px) {
  .with-note {
    grid-template-columns: 1fr;
  }

  .margin-note {
    order: -1;
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.data-table th {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}

.data-table td:first-child {
  font-weight: 400;
  width: 28%;
}

.diagram {
  margin: 1.5rem 0 0;
}

.diagram svg {
  width: 100%;
  max-width: 40rem;
  height: auto;
}

.diagram figcaption {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.65rem;
}

.scan-figure {
  margin: 1.75rem 0 0;
}

.scan-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font);
  color: var(--laser);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-muted);
  max-width: var(--measure);
}

.faq-asker {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
}

.faq-ask {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--rule);
}

.faq-ask h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.faq-ask > p {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
}

.contact-list .label {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 400;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form .hint,
.hint {
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero-compact {
  padding-bottom: 0;
}

.breadcrumbs {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--laser);
}

/* Service-area coverage */
.coverage-map {
  margin: 1.75rem 0 0;
  max-width: 42rem;
}

.coverage-map img {
  width: 100%;
  height: auto;
}

.coverage + .coverage {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--rule);
}

.coverage h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.coverage-meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: var(--measure);
}

.coverage-list {
  columns: 4 9rem;
  column-gap: 2rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  font-size: 0.92rem;
}

/* Keep two columns on phones; a single column makes this page absurdly tall. */
@media (max-width: 600px) {
  .coverage-list {
    column-gap: 1.25rem;
  }
}

.coverage-list li {
  break-inside: avoid;
  padding: 0.12rem 0;
  color: var(--ink-muted);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.site-footer p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 28rem;
}

.footer-meta {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: right;
}

.footer-meta a {
  color: inherit;
}

.hf-list {
  margin: 0 0 2rem;
}

.hf-list header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.hf-list h3 {
  margin: 0 0 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
