/* Blue Sky Line LLC: deep sapphire and rich brass on a blue-black base with light text; full-width bands that
   alternate their alignment; monospace labels and rates over a sans body; pill-button navigation; price tables;
   thick 3px outlines and no shadows; faint stenotype-stroke motif */
@font-face {
  font-family: "Red Hat Mono";
  src: url("fonts/red-hat-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Mono";
  src: url("fonts/red-hat-mono-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #0c1018;
  --alt: #121b30;
  --panel: #18233d;
  --text: #e8edf7;
  --soft: #aeb9cf;
  --sapphire: #3d6fe0;
  --sky: #8fb2ff;
  --brass: #d6a840;
  --line: #2b3a5e;
  --mono: "Red Hat Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Work Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); 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(--sky); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
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(--brass); color: var(--base); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* header with pill-button navigation */
.site-header { border-bottom: 3px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand img { width: 64px; height: auto; border-radius: 8px; }
.brand-name { font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: inline-block; padding: 7px 16px; border: 3px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: .9rem; }
.main-nav a:hover { border-color: var(--sky); }
.main-nav a[aria-current="page"] { background: var(--brass); border-color: var(--brass); color: var(--base); }

/* full-width bands, alternating alignment */
.band { padding: 66px 0; }
.band.alt { background: var(--alt) url("assets/motif-steno.svg") repeat; background-size: 64px 40px; border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.pair { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.pair.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.flip .pair { grid-template-columns: minmax(0, 1fr) 320px; }
.flip .side { order: 2; text-align: right; }
.flip .side img { margin-left: auto; }
.side img { width: 60px; margin-bottom: 14px; }
.label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); margin-bottom: .9em; }
.lede { font-size: 1.15rem; color: var(--soft); max-width: 36em; }
.hero-art { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.flip .side .btn-row { justify-content: flex-end; }
.btn { display: inline-block; padding: 11px 20px; border: 3px solid var(--sapphire); border-radius: 999px; font-family: var(--mono); font-weight: 700; text-decoration: none; }
.btn.solid { background: var(--sapphire); color: #ffffff; }
.btn.solid:hover { background: var(--brass); border-color: var(--brass); color: var(--base); }
.btn.line { color: var(--text); border-color: var(--soft); }
.btn.line:hover { border-color: var(--brass); color: var(--brass); }

.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cat-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding: 16px 20px; border: 3px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); background: var(--base); }
.cat-list a:hover { border-color: var(--sky); }
.cat-list img { width: 56px; }
.cn { font-weight: 700; font-size: 1.25rem; }
.cc { color: var(--brass); font-size: .9rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 3px solid var(--line); position: relative; color: var(--soft); }
.ticks li:first-child { border-top: 3px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 16px; height: 16px; border: 3px solid var(--brass); border-radius: 50%; }
.ticks strong { color: var(--text); }
.spot { border: 3px solid var(--brass); border-radius: 16px; padding: 26px; }
.spot .amt { font-size: 2rem; font-weight: 700; color: var(--brass); margin: 0 0 .4em; }

/* price tables with thick outlines */
.cat { scroll-margin-top: 10px; }
.jump { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 5px 14px; border: 3px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-family: var(--mono); font-size: .85rem; font-weight: 700; }
.jump a:hover { border-color: var(--brass); }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--sapphire); border-radius: 14px; overflow: hidden; background: var(--base); }
.ptable thead th { background: var(--sapphire); color: #ffffff; text-align: left; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; }
.ptable tbody th, .ptable td { text-align: left; vertical-align: top; padding: 14px; border-top: 3px solid var(--panel); }
.ptable tbody tr:first-child th, .ptable tbody tr:first-child td { border-top: 0; }
.ptable tbody th { font-weight: 700; width: 34%; }
.ptable .d { color: var(--soft); }
.ptable .p { text-align: right; white-space: nowrap; font-weight: 700; color: var(--brass); font-size: 1.05rem; }
.ptable thead .p { color: #ffffff; font-size: .8rem; }
.ptable .unit { color: var(--soft); font-weight: 400; font-size: .85rem; }
.ptable .q { display: inline-block; white-space: normal; max-width: 12em; text-align: right; font-size: .85rem; line-height: 1.35; color: var(--text); border: 3px solid var(--brass); border-radius: 10px; padding: 3px 8px; }

/* about */
.story .first { font-size: 1.3rem; font-weight: 700; line-height: 1.45; }
.story p { color: var(--soft); }
.story .first { color: var(--text); }
.facts { margin: 0; }
.facts div { padding: 12px 0; border-bottom: 3px solid var(--line); }
.facts div:first-child { border-top: 3px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.facts dd { margin: 2px 0 0; }
address { font-style: normal; }

/* contact */
.hours caption { text-align: left; font-weight: 700; font-size: 1.5rem; margin-bottom: 12px; }
.hours tbody th { width: 46%; }
.map-frame { width: 100%; height: 360px; border: 3px solid var(--sapphire); border-radius: 14px; background: var(--panel); display: block; }
.map-link { font-weight: 700; }

/* footer */
.site-footer { border-top: 3px solid var(--brass); padding: 40px 0 24px; color: var(--soft); }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.footer-name { font-weight: 700; font-size: 1.3rem; color: var(--text); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.footer-bottom { margin: 24px 0 0; padding-top: 14px; border-top: 3px solid var(--line); font-size: .8rem; }

@media (max-width: 900px) {
  .pair, .pair.hero, .flip .pair { grid-template-columns: 1fr; gap: 26px; }
  .flip .side { order: 0; text-align: left; }
  .flip .side img { margin-left: 0; }
  .foot { grid-template-columns: 1fr; }
  .footer-list { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .band { padding: 46px 0; }
  .head-in { justify-content: center; }
  .brand-name { font-size: 1.2rem; }
  .main-nav ul { justify-content: center; gap: 6px; }
  .main-nav a { padding: 4px 8px; font-size: .74rem; }
  .cat-list a { grid-template-columns: 46px 1fr; }
  .cat-list img { width: 46px; grid-row: span 2; }
  .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; gap: 4px; padding: 14px; border-top: 3px solid var(--panel); }
  .ptable tbody tr:first-child { border-top: 0; }
  .ptable tbody th, .ptable td { padding: 0; border: 0; width: auto; }
  .ptable .p { text-align: left; }
  .ptable .q { text-align: left; }
  .ptable.hours tbody tr { grid-template-columns: 9em 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
