/* CrysBlue Ridge Park LLC. Seed 2-3-4-2-5-1-5: deep, rich screen sapphire and midnight with a rich teal and LED
   amber; pale blue tint base; full-width bands with alternating alignment; humanist sans (Fira Sans); pill-button
   navigation; price tables; thick 3px outlines and no shadows; circuit-trace motif */
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tint: #eef3fb;
  --tint-2: #dfe8f7;
  --sapphire: #1b3a8c;
  --sapphire-dk: #142c6c;
  --midnight: #0e1a34;
  --teal: #0f6b6b;
  --amber: #f2b33d;
  --ink: #101a2e;
  --muted: #46536b;
  --font: "Fira Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tint); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sapphire); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); }
h3 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* header: pill buttons with thick outlines */
.site-header { background: #ffffff; border-bottom: 3px solid var(--ink); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 58px; height: 58px; border: 3px solid var(--ink); border-radius: 12px; }
.brand-name { font-weight: 800; font-size: 1.2rem; }
.brand:hover { color: var(--sapphire); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: block; padding: 6px 16px; border: 3px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.main-nav a:hover { background: var(--tint); }
.main-nav a[aria-current="page"] { background: var(--sapphire); border-color: var(--sapphire); color: #ffffff; }

/* full-width bands with alternating alignment */
.band { padding: 60px 0; }
.b-hero, .b-white { background: #ffffff; }
.b-pale { background: var(--tint); }
.b-deep { background-color: var(--midnight); background-image: url("assets/motif-circuit.svg"); background-size: 220px 220px; color: #d5def0; }
.b-deep h1, .b-deep h2 { color: #ffffff; }
.band + .band { border-top: 3px solid var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.row.top { align-items: start; }
.row.rev > :first-child { order: 2; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--teal); margin-bottom: 12px; }
.b-deep .kicker { color: var(--amber); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.b-deep .lede { color: #c3cee6; }
.art { margin: 0; }
.hero-art { width: 100%; border: 3px solid var(--ink); border-radius: 14px; }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 3px solid var(--ink); }
.btn.solid { background: var(--amber); color: var(--ink); }
.btn.solid:hover { background: #ffffff; color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--tint); }
.btn.outline.light { border-color: #ffffff; color: #ffffff; }
.btn.outline.light:hover { background: var(--sapphire-dk); }
.b-deep .btn.solid { border-color: var(--amber); }

/* home */
.floor { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.floor a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #ffffff; border: 3px solid var(--ink); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; height: 100%; }
.floor a:hover { background: var(--tint-2); }
.floor img { width: 52px; height: 52px; border-radius: 10px; flex: none; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border: 3px solid var(--amber); border-radius: 50%; }
.checks strong { color: #ffffff; }
.spot { background: #ffffff; color: var(--ink); border: 3px solid var(--amber); border-radius: 18px; padding: 30px; }
.spot h2 { color: var(--ink); }
.label { display: inline-block; border: 3px solid var(--ink); color: var(--ink); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; padding: 2px 12px; border-radius: 999px; margin-bottom: 12px; }

/* products: price tables in alternating bands */
.intro { padding: 52px 0 44px; }
.cat { scroll-margin-top: 16px; }
.row.top:has(.prices) { grid-template-columns: 260px 1fr; }
.row.top.rev:has(.prices) { grid-template-columns: 1fr 260px; }
.cat-head img { width: 64px; height: 64px; border: 3px solid var(--ink); border-radius: 14px; margin-bottom: 14px; }
.cat-head h2 { font-size: 1.6rem; }
.count { color: var(--muted); font-weight: 600; }
.row.rev .cat-head { text-align: right; }
.row.rev .cat-head img { margin-left: auto; }
.prices { width: 100%; border-collapse: collapse; border: 3px solid var(--ink); background: #ffffff; }
.prices thead th { background: var(--sapphire); color: #ffffff; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; padding: 10px 14px; }
.prices thead th:last-child { text-align: right; }
.prices tbody th, .prices td { text-align: left; padding: 12px 14px; border-top: 3px solid var(--tint-2); vertical-align: top; }
.prices tbody th { font-weight: 600; width: 36%; }
.prices td.d { color: var(--muted); }
.prices td.p { text-align: right; font-weight: 800; font-size: 1.1rem; white-space: nowrap; color: var(--sapphire-dk); }
.prices td.p .q { display: inline-block; white-space: normal; max-width: 10.5em; text-align: center; font-size: .82rem; font-weight: 600; line-height: 1.3; border: 3px solid var(--teal); color: var(--teal); padding: 4px 10px; border-radius: 999px; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offers li { border: 3px solid #3b4d78; border-radius: 16px; padding: 20px; }
.offers h3 { margin: 0 0 6px; color: var(--amber); }
.offers p { margin: 0; }
.price { font-weight: 800; color: var(--sapphire-dk); }
.b-deep .price { color: #ffffff; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.28rem; font-weight: 600; line-height: 1.5; }
.facts { margin: 0; border: 3px solid var(--ink); border-radius: 18px; padding: 20px 24px; background: var(--tint); }
.facts div { padding: 10px 0; border-bottom: 3px solid var(--tint-2); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.facts.plain { border: 0; padding: 0; background: none; }
.side-h { text-align: right; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { background: #ffffff; border: 3px solid var(--ink); border-radius: 16px; padding: 18px 20px; color: var(--muted); }
.why strong { display: block; color: var(--ink); font-size: 1.08rem; }

/* contact */
.box { border: 3px solid var(--ink); border-radius: 18px; padding: 26px; background: #ffffff; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 800; font-size: 1.55rem; margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 8px; border-bottom: 3px solid var(--tint-2); }
.hours thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); }
.hours tbody th { white-space: nowrap; }
.hours .note { display: block; color: var(--teal); font-size: .92rem; }
.map-frame { width: 100%; height: 380px; border: 3px solid var(--ink); border-radius: 18px; display: block; background: var(--tint-2); }
.map-link { margin-top: 12px; }

/* footer */
.site-footer { background: var(--ink); color: #c3cee6; padding-top: 44px; border-top: 3px solid var(--amber); }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--amber); }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-name { font-weight: 800; font-size: 1.25rem; color: #ffffff; margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 32px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid #2a3756; font-size: .9rem; }

@media (max-width: 960px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .row.top:has(.prices), .row.top.rev:has(.prices) { grid-template-columns: 1fr; }
  .row.rev .cat-head { text-align: left; }
  .row.rev .cat-head img { margin-left: 0; }
  .row.rev:has(.prices) > :first-child { order: 0; }
}
@media (max-width: 820px) {
  .row { grid-template-columns: 1fr; gap: 32px; }
  .row.rev > :first-child { order: 0; }
  .side-h { text-align: left; }
  .head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.05rem; }
  .main-nav ul { gap: 6px; }
  .main-nav a { padding: 4px 11px; font-size: .92rem; }
  .band { padding: 44px 0; }
  .floor { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .prices thead { display: none; }
  .prices, .prices tbody, .prices tr { display: block; width: 100%; }
  .prices tr { padding: 12px 14px; border-top: 3px solid var(--tint-2); }
  .prices tr:first-child { border-top: 0; }
  .prices tbody th, .prices td { display: block; padding: 0; border: 0; width: auto; }
  .prices td.p { text-align: left; margin-top: 6px; }
  .foot { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
