/* EMO Engine LLC: cool drafting cyan and blueprint blue (with a small survey-stake orange) on a blue-black base
   with light text; editorial columns with a narrow side column; monospace labels and fees over a sans body; boxed
   floating header with a border; price tables; thick 3px outlines, no shadows; faint topographic contour motif */
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #0b0f14;
  --panel: #111925;
  --panel-2: #0f2a4a;
  --text: #e6edf5;
  --soft: #a9b6c6;
  --cyan: #38c6d9;
  --blue: #2f6fd6;
  --stake: #ff9f43;
  --line: #243245;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base) url("assets/motif-contours.svg") repeat; background-size: 160px 120px; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--stake); }
:focus-visible { outline: 3px solid var(--stake); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h2.small { font-size: 1.05rem; letter-spacing: 0; }
h2.small.mono { font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.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; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--stake); color: var(--base); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* boxed floating header with border */
.site-header { padding: 20px 0 0; }
.box { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 12px 18px; border: 3px solid var(--cyan); border-radius: var(--r); background: var(--base); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand img { width: 62px; height: auto; border-radius: 8px; }
.brand-name { font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: inline-block; padding: 7px 14px; border: 3px solid transparent; border-radius: 8px; color: var(--text); text-decoration: none; font-family: var(--mono); font-size: .88rem; }
.main-nav a:hover { border-color: var(--line); }
.main-nav a[aria-current="page"] { border-color: var(--cyan); color: var(--cyan); }

/* editorial columns with a narrow side column */
main { padding: 44px 0 60px; }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.ed-side { display: grid; gap: 20px; }
.lead-block { margin-bottom: 26px; }
.label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); margin-bottom: 1em; }
.lede { font-size: 1.15rem; color: var(--soft); max-width: 38em; }
.hero-art { width: 100%; border: 3px solid var(--line); border-radius: var(--r); margin-bottom: 40px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-block; padding: 10px 18px; border: 3px solid var(--cyan); border-radius: 8px; font-family: var(--mono); text-decoration: none; }
.btn.solid { background: var(--cyan); color: var(--base); }
.btn.solid:hover { background: var(--stake); border-color: var(--stake); color: var(--base); }
.btn.line { color: var(--text); border-color: var(--soft); }
.btn.line:hover { border-color: var(--cyan); color: var(--cyan); }
.ed-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--cyan); }
.ed-col { padding: 20px 20px 4px 0; }
.ed-col + .ed-col { border-left: 3px solid var(--line); padding-left: 20px; }
.ed-col img { width: 54px; margin-bottom: 12px; }
.ed-col h3 a { color: var(--text); text-decoration-color: var(--cyan); }
.names { list-style: none; margin: 0; padding: 0; }
.names li { padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: .95rem; }
.side-box { border: 3px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--base); }
.side-box.accent { border-color: var(--cyan); }
.side-box .amt { font-size: 1.8rem; color: var(--cyan); margin: 0 0 .4em; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: .8em; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border: 3px solid var(--stake); }
.ticks strong { color: var(--text); font-weight: 600; }

/* price tables */
.cat { scroll-margin-top: 14px; }
.ed-main .cat + .cat { margin-top: 40px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-head img { width: 52px; }
.cat-head h2 { margin: 0; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--cyan); border-radius: var(--r); overflow: hidden; }
.ptable thead th { background: var(--panel-2); color: var(--cyan); text-align: left; font-family: var(--mono); font-weight: 400; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-bottom: 3px solid var(--cyan); }
.ptable tbody th, .ptable td { text-align: left; vertical-align: top; padding: 14px; background: var(--base); }
.ptable tbody tr + tr th, .ptable tbody tr + tr td { border-top: 1px solid var(--line); }
.ptable tbody th { font-weight: 600; width: 36%; }
.ptable .d { color: var(--soft); }
.ptable .p { text-align: right; white-space: nowrap; color: var(--cyan); font-size: 1.08rem; }
.ptable thead .p { font-size: .8rem; }
.ptable .q { display: inline-block; white-space: normal; max-width: 13em; text-align: right; font-size: .82rem; line-height: 1.35; color: var(--base); background: var(--stake); border-radius: 6px; padding: 3px 8px; }
.jump { list-style: none; margin: 0; padding: 0; }
.jump li + li { border-top: 1px solid var(--line); }
.jump a { display: block; padding: 7px 0; color: var(--text); text-decoration: none; }
.jump a:hover { color: var(--cyan); }
.offers { list-style: none; margin: 0 0 16px; padding: 0; }
.offers li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.offers li:first-child { padding-top: 0; }
.offers h3 { font-size: 1.02rem; margin-bottom: .2em; }
.offers p { margin: 0; color: var(--soft); font-size: .95rem; }
.offers .amt { font-size: 1.3rem; color: var(--cyan); margin-top: 4px; }

/* about */
.story { columns: 2 260px; column-gap: 40px; column-rule: 3px solid var(--line); }
.story p { break-inside: avoid; color: var(--soft); }
.story .first { color: var(--text); font-size: 1.2rem; font-weight: 600; }
.why { margin-top: 34px; padding-top: 26px; border-top: 3px solid var(--line); }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.facts dd { margin: 2px 0 0; }
address { font-style: normal; }

/* contact */
.hours { max-width: 600px; }
.hours caption { text-align: left; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin-bottom: 12px; }
.hours td { text-align: left; }
.map-title { margin-top: 40px; }
.map-frame { width: 100%; height: 360px; border: 3px solid var(--cyan); border-radius: var(--r); background: var(--panel); display: block; }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { border-top: 3px solid var(--cyan); background: var(--panel); padding: 40px 0 24px; color: var(--soft); }
.site-footer a { color: var(--text); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.foot p { margin: 0 0 .4em; }
.footer-name { font-weight: 600; font-size: 1.3rem; color: var(--text); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; }

@media (max-width: 940px) {
  .ed { grid-template-columns: 1fr; gap: 30px; }
  .ed-side > nav.side-box { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding: 12px 0 0; }
  .box { justify-content: center; padding: 12px; }
  .brand-name { font-size: 1.2rem; }
  .main-nav ul { justify-content: center; gap: 0; }
  .main-nav a { padding: 5px 7px; font-size: .78rem; }
  .ed-cols { grid-template-columns: 1fr; }
  .ed-col { padding-right: 0; }
  .ed-col + .ed-col { border-left: 0; padding-left: 0; border-top: 3px solid var(--line); }
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px; background: var(--base); }
  .ptable tbody tr + tr { border-top: 1px solid var(--line); }
  .ptable tbody th, .ptable td { padding: 0; width: auto; }
  .ptable tbody tr + tr th, .ptable tbody tr + tr td { border-top: 0; }
  .ptable .d { grid-column: 1; }
  .ptable .p { grid-column: 2; grid-row: 1 / span 2; }
  .ptable.hours tbody tr { grid-template-columns: 8em 1fr; }
  .ptable.hours td { grid-column: 2; grid-row: 1; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
