/* Sol of Bear LLC — shared styles
   Seed 3-2-7-1-4-5-7: bright vivid pool colours (pool blue, aqua tile, sun gold, lane-float coral) ·
   warm off-white paper base · narrow document-like column · classic serif headings (Gelasio) + Inter body ·
   phone/hours strip above the header · category index column + item rows · diagonal section dividers ·
   motif: pool tile mosaic */

@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #fbf7ef;
  --white: #ffffff;
  --blue: #1b7fc4;
  --blue-deep: #0f5f99;
  --aqua: #66d6e6;
  --gold: #ffc43d;
  --coral: #ff5a4e;
  --navy: #0a1c30;
  --ink: #16263a;
  --muted: #4d5b6b;
  --line: #e7dfcf;
  --slant: clamp(26px, 4vw, 56px);
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --tile: url("assets/motif-tile.svg") 0 0 / 40px 20px repeat-x;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 0.45em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.col { width: 100%; max-width: 880px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; background: var(--gold); color: var(--navy); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- phone/hours strip + header ---------- */
.strip { background: var(--navy); color: #cfe3f2; font-size: 0.9rem; }
.strip .col { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1.2rem; padding-block: 0.45rem; }
.strip a { color: var(--gold); font-weight: 600; text-decoration: none; }
.strip a:hover { color: var(--white); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem 1.5rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--navy); text-decoration: none; }
.brand img { width: 64px; height: auto; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2.8vw, 1.7rem); line-height: 1.1; }
.brand:hover .brand-name { color: var(--blue); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.3rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue-deep); border-bottom-color: var(--gold); }

/* ---------- diagonal bands ---------- */
.band { position: relative; padding-block: clamp(2.4rem, 6vw, 3.6rem) calc(clamp(2.4rem, 6vw, 3.6rem) + var(--slant)); background: var(--blue); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%); }
.band h1, .band h2, .band h3 { color: var(--white); }
.band a:not(.btn) { color: var(--white); }
.band-aqua { background: var(--aqua); color: var(--navy); clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-top: calc(clamp(2.4rem, 6vw, 3.6rem) + var(--slant)); margin-block: calc(var(--slant) * -0.4); }
.band-aqua h2, .band-aqua h3 { color: var(--navy); }
.band-aqua a:not(.btn) { color: var(--navy); }
.section { padding-block: clamp(2rem, 5vw, 3rem); }
.tiles { height: 20px; background: var(--tile); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.28rem 0.8rem; background: rgba(255, 255, 255, 0.16); border-left: 4px solid var(--gold); color: var(--white); font-size: 0.9rem; line-height: 1.45; }
.lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); }
.band .lede { color: #e1f2fb; }
.kicker { margin: 0 0 0.35rem; color: var(--blue); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.band .kicker { color: var(--gold); }
.band-aqua .kicker { color: var(--blue-deep); }
.hero-art { display: block; width: 100%; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.72rem 1.35rem; background: var(--gold); color: var(--navy); font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--white); color: var(--navy); }
.btn-line { background: transparent; color: var(--blue-deep); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-line:hover { background: var(--white); color: var(--navy); }
.band .btn-line { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75); }
.band .btn-line:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.section .btn { background: var(--blue); color: var(--white); }
.section .btn:hover { background: var(--blue-deep); }
.section .btn-line { background: transparent; color: var(--blue-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* ---------- home ---------- */
.depts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.depts li { border-bottom: 1px solid var(--line); }
.depts a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.75rem 0.2rem; color: var(--ink); text-decoration: none; }
.depts a:hover { background: var(--white); }
.depts img { width: 52px; height: 52px; }
.depts .d-name { font-weight: 600; letter-spacing: 0.02em; }
.depts .d-count { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.spot { margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--white); border-left: 5px solid var(--coral); }
.spot h3 { margin-bottom: 0.2rem; }
.spot p { margin: 0; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 0.9rem 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--coral); box-shadow: inset 0 0 0 4px var(--white); }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }

/* ---------- catalog: index column + item rows ---------- */
.catalog { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.index { position: sticky; top: 1rem; border-left: 4px solid var(--aqua); padding-left: 0.9rem; }
.index p { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.index ul { list-style: none; margin: 0; padding: 0; }
.index a { display: block; padding: 0.4rem 0; color: var(--ink); font-weight: 600; font-size: 0.92rem; line-height: 1.3; text-decoration: none; }
.index a:hover { color: var(--blue); }
.group { scroll-margin-top: 1rem; }
.group + .group { margin-top: 2.2rem; }
.group-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.4rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--navy); }
.group-head img { width: 50px; height: 50px; flex: none; }
.group-head h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.15rem 1.2rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.item-name { margin: 0; font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.item-desc { grid-column: 1; margin: 0; color: var(--muted); font-size: 0.97rem; }
.item-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--blue-deep); white-space: nowrap; }
.item-price.quote { max-width: 12rem; white-space: normal; font-family: var(--sans); font-size: 0.92rem; font-weight: 600; line-height: 1.35; text-align: right; color: var(--ink); }
.item-price .call { display: block; margin-top: 0.2rem; color: var(--blue-deep); white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.offers li { padding: 1rem 1.2rem; background: rgba(255, 255, 255, 0.12); border-left: 5px solid var(--gold); }
.offers h3 { margin-bottom: 0.2rem; }
.offers p { margin: 0; color: #e1f2fb; }
.offers .deal { color: var(--gold); font-weight: 600; }

/* ---------- about / contact ---------- */
.facts { margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.4rem; padding: 1.1rem 1.3rem; background: var(--white); border-top: 4px solid var(--aqua); }
.facts .wide { grid-column: 1 / -1; }
.facts dt { color: var(--blue); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; }
.story p { color: var(--muted); }
.story .first { color: var(--ink); font-size: 1.16rem; }
.story .kicker { color: var(--blue); }
.details { margin: 0; display: grid; gap: 0.7rem; }
.details div { padding: 0.75rem 1rem; background: var(--white); border-left: 4px solid var(--aqua); }
.details dt { color: var(--blue); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.details dd { margin: 0; font-weight: 600; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.4rem; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.hours th, .hours td { padding: 0.42rem 0.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { color: var(--blue); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 2px solid var(--navy); }
.hours tbody th { font-weight: 600; }
.hours td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours .closed { color: #c2362c; font-weight: 600; }
.map-frame { display: block; width: 100%; height: 380px; border: 0; background: #dcebf3; }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c6d6e4; font-size: 0.97rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.6rem; padding-block: 2rem 1.3rem; }
.footer-name { margin: 0 0 0.3rem; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.86rem; }

@media (max-width: 760px) {
  .catalog, .visit, .facts { grid-template-columns: 1fr; }
  .index { position: static; }
  .index ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .brand img { width: 54px; }
  .depts a { grid-template-columns: 44px minmax(0, 1fr); }
  .depts img { width: 44px; height: 44px; }
  .depts .d-count { grid-column: 2; margin-top: -0.6rem; }
  .item { grid-template-columns: 1fr; }
  .item-price { grid-column: 1; grid-row: auto; margin-top: 0.3rem; }
  .item-price.quote { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
