/* Casey Central Star LLC: foam aqua, cherry red, sunshine yellow and wet-asphalt navy on warm off-white paper;
   split hero; classic serif headings over a humanist sans; solid aqua bar header; two-column grouped price
   lists; 14px rounded corners; soap-bubble motif on the aqua bands */
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@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-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf7ef;
  --aqua: #00b4d8;
  --aqua-lt: #dff5fa;
  --red: #d61f35;
  --red-dk: #b0172a;
  --sun: #ffd60a;
  --navy: #0c1826;
  --muted: #4f5966;
  --rule: #e6dfd1;
  --white: #ffffff;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Fira Sans", "Segoe UI", Arial, sans-serif;
  --r: 14px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0a6f86; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
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(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* solid aqua bar header */
.site-header { background: var(--aqua); color: var(--navy); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 12px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 60px; height: auto; border-radius: var(--r); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: inline-block; padding: 8px 14px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 500; }
.main-nav a:hover { background: rgba(12, 24, 38, .12); }
.main-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* hero */
.hero { padding: 60px 0 56px; }
.hero.small { padding: 50px 0 36px; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
.kicker { font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8em; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.art { margin: 0; border-radius: var(--r); overflow: hidden; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--r); font-weight: 500; text-decoration: none; border: 2px solid transparent; }
.btn.aqua { background: var(--aqua); color: var(--navy); }
.btn.aqua:hover { background: var(--navy); color: var(--white); }
.btn.red { background: var(--red); color: var(--white); }
.btn.red:hover { background: var(--red-dk); color: var(--white); }
.btn.line { border-color: var(--navy); color: var(--navy); }
.btn.line:hover { background: var(--white); color: var(--navy); }

/* sections */
.sec { padding: 52px 0; }
.sec.foam { background: var(--aqua) url("assets/motif-bubbles.svg") repeat; background-size: 120px 120px; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-grid a { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); text-decoration: none; color: var(--navy); height: 100%; }
.cat-grid a:hover { border-color: var(--aqua); }
.cat-grid img { width: 60px; }
.cn { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.cc { color: var(--muted); font-size: .92rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { background: var(--white); border-radius: var(--r); padding: 14px 18px 14px 46px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 1.05em; width: 16px; height: 16px; background: var(--sun); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.foam h2 { color: var(--navy); }
.spot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border-radius: var(--r); background: var(--navy); color: var(--white); }
.spot h2 { color: var(--white); }
.spot .kicker { color: var(--sun); }
.spot p:last-child { margin: 0; color: #d6e2ec; }

/* two-column grouped lists */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); text-decoration: none; color: var(--navy); font-weight: 500; font-size: .92rem; }
.jump a:hover { border-color: var(--aqua); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.group { background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); padding: 22px 24px 10px; }
.cat { scroll-margin-top: 12px; }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.group-head img { width: 52px; }
.group-head h2 { margin: 0; font-size: 1.55rem; }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li { padding: 14px 0; border-top: 1px solid var(--rule); }
.glist li:first-child { border-top: 0; }
.gl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.gl-top h3 { margin: 0; }
.gl-price { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--red-dk); white-space: nowrap; }
.glist p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.q { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: .82rem; line-height: 1.3; color: #0a6f86; white-space: normal; text-align: right; max-width: 10em; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offers li { background: var(--white); border-radius: var(--r); padding: 18px 20px; border: 0; }
.offers .gl-price { font-size: 1.15rem; }

/* about / contact */
.story .first { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1.35; }
.story p { color: var(--muted); }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px 26px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 500; color: var(--red-dk); }
.facts dd { margin: 0; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 11px 6px 11px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.hours thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 0; font-weight: 500; }
.hours tbody th { font-weight: 500; width: 42%; }
.hours .note { display: block; color: var(--red-dk); font-size: .92rem; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--r); display: block; background: var(--aqua-lt); }
.map-link { margin: 14px 0 0; font-weight: 500; }
.foam .map-link a { color: var(--navy); }

/* footer */
.site-footer { background: var(--navy); color: #c9d5e0; padding: 44px 0 24px; }
.site-footer a { color: var(--white); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--sun); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #23364a; font-size: .86rem; }

@media (max-width: 960px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .offers { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .head-in { justify-content: center; }
  .brand-name { font-size: 1.28rem; }
  .main-nav ul { justify-content: center; }
  .main-nav a { padding: 6px 10px; font-size: .92rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; gap: 0 14px; align-items: center; padding: 14px 16px; }
  .cat-grid img { width: 48px; grid-row: span 2; }
  .group { padding: 18px 16px 6px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
