/* Best Cornerstone Keck LLC: deep aqua on near-black; editorial main column with a side column; Red Hat Mono
   for headings, labels and prices with Work Sans body; solid aqua header bar; compact rows with price badges;
   pill buttons and links; ripple-line 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 {
  --ink: #0d1416;
  --panel: #142124;
  --panel-2: #1a2b2f;
  --line: #29403f;
  --aqua: #35c1bb;
  --aqua-dk: #0b5e5f;
  --foam: #d3f0ee;
  --text: #e9f2f2;
  --muted: #a8bdbf;
  --mono: "Red Hat Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Work Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--foam); }
:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; }
h1, h2, h3, .h3 { font-family: var(--mono); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1rem; margin-bottom: 2px; }
.h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.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(--foam); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }

/* solid aqua header bar */
.site-header { background: var(--aqua-dk); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 26px; padding: 12px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: #ffffff; text-decoration: none; }
.brand img { width: 62px; border-radius: 12px; }
.brand-name { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.main-nav a { display: inline-block; padding: 6px 15px; border-radius: 999px; color: #ffffff; text-decoration: none; font-family: var(--mono); font-size: .92rem; }
.main-nav a:hover { background: rgba(255, 255, 255, .14); color: #ffffff; }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--aqua); font-weight: 700; }

/* editorial + side column */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px 44px; align-items: start; }
.hero { padding: 52px 0 40px; }
.hero.small { padding: 46px 0 8px; }
.sec { padding: 44px 0; border-top: 1px solid var(--line); }
.sec-top { padding: 30px 0 60px; }
.sec-in { margin-top: 40px; }
.ripple { background: var(--panel) url("assets/motif-ripple.svg") repeat; background-size: 48px 24px; }
.kicker { font-family: var(--mono); color: var(--aqua); font-size: .95rem; margin-bottom: .7em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.hero-fig { margin: 30px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.hero-fig img { width: 100%; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 24px; }
.side-card + .side-card { margin-top: 18px; }
.side-card.accent { background: var(--panel-2); border-color: var(--aqua-dk); }
.side-col { position: sticky; top: 18px; }
.label { font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); margin: 0 0 .8em; font-weight: 700; }
.big { font-family: var(--mono); font-weight: 700; font-size: 1.35rem; margin-bottom: .3em; }
.big a { color: var(--text); text-decoration: none; }
.side-card p a { overflow-wrap: anywhere; }
.mini-hours { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); font-size: .93rem; }
.mini-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--muted); }
.mini-hours li span:first-child { color: var(--text); font-family: var(--mono); }
.side-card strong { color: var(--aqua); }

/* pills */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn-col { display: grid; gap: 10px; margin-top: 18px; }
.btn { display: inline-block; text-align: center; padding: 10px 22px; border-radius: 999px; font-family: var(--mono); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid var(--aqua); }
.btn.solid { background: var(--aqua); color: var(--ink); }
.btn.solid:hover { background: var(--foam); border-color: var(--foam); color: var(--ink); }
.btn.ghost { color: var(--aqua); }
.btn.ghost:hover { background: rgba(53, 193, 187, .12); color: var(--foam); }
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--aqua-dk); background: var(--ink); color: var(--foam); text-decoration: none; font-size: .9rem; }
.jump a:hover { border-color: var(--aqua); }

/* service menu on home */
.cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cats a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 1.05rem; }
.cats a:hover { background: var(--panel); }
.cats img { width: 48px; }
.count { font-weight: 400; font-size: .85rem; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { background: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--aqua); border-radius: 10px; padding: 12px 16px; color: var(--muted); }
.ticks strong { color: var(--text); }

/* compact rows with price badges */
.cat { margin-bottom: 40px; scroll-margin-top: 16px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cat-head img { width: 52px; }
.cat-head h2 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: .03em; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; }
.row + .row { border-top: 1px solid var(--line); }
.row p { margin: 0; color: var(--muted); font-size: .95rem; }
.row strong { color: var(--aqua); }
.badge { flex: none; font-family: var(--mono); font-weight: 700; padding: 4px 13px; border-radius: 999px; background: var(--aqua); color: var(--ink); white-space: nowrap; }
.badge.q { background: transparent; color: var(--foam); border: 1px solid var(--aqua); white-space: normal; text-align: center; max-width: 13em; font-size: .82rem; line-height: 1.3; }

/* about / contact */
.first { font-size: 1.3rem; line-height: 1.5; color: var(--text); }
.ed-main section > p { color: var(--muted); max-width: 40em; }
.ed-main section > p.first { color: var(--text); }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-top: 1px dashed var(--line); }
.facts dt { font-family: var(--mono); font-size: .85rem; color: var(--aqua); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.hours caption { text-align: left; font-family: var(--mono); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.hours thead th { border-top: 0; font-family: var(--mono); font-size: .85rem; color: var(--aqua); text-transform: uppercase; letter-spacing: .06em; }
.hours tbody th { font-family: var(--mono); white-space: nowrap; }
.note { display: block; color: var(--muted); font-size: .92rem; }
.map-frame { width: 100%; height: 360px; border: 1px solid var(--line); border-radius: 16px; display: block; background: var(--panel); }
.map-link { margin: 16px 0 0; font-weight: 700; }

/* footer */
.site-footer { background: #091011; border-top: 4px solid var(--aqua-dk); padding: 36px 0 22px; color: var(--muted); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; }
.footer-name { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--text); margin-bottom: .3em; }
.footer-contact { margin-top: .6em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin-top: 20px; font-size: .88rem; }

@media (max-width: 920px) {
  .ed { grid-template-columns: 1fr; }
  .side-col { position: static; order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, 1160px); }
  .hero { padding: 36px 0 28px; }
  .brand img { width: 52px; }
  .brand-name { font-size: 1rem; }
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: 5px 7px; font-size: .84rem; }
  .row { align-items: flex-start; padding: 12px 14px; }
  .cats a { grid-template-columns: 40px minmax(0, 1fr); }
  .cats img { width: 40px; }
  .count { grid-column: 2; margin-top: -10px; }
  .foot { grid-template-columns: 1fr; }
  .hours th, .hours td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
