/* Pacific View Silver LLC — shared styles
   Seed 8-2-1-5-3-6-1: one bold Pacific-blue accent over silver neutrals · warm off-white paper · split hero ·
   serif throughout (Gelasio) · solid coloured header bar · numbered items with large numerals ·
   sharp corners, 1px rules · motif: thin ocean-wave line */

@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-400i.woff") format("woff"); font-weight: 400; font-style: italic; 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; }

:root {
  --paper: #f7f4ee;
  --card: #fffdf9;
  --pacific: #0b6e99;
  --pacific-deep: #08506f;
  --ink: #1e2a32;
  --steel: #5f6b73;
  --silver: #a7afb5;
  --mist: #d9dde0;
  --line: #d8d3c8;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --waves: url("assets/motif-waves.svg") 0 50% / 48px 12px repeat-x;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.68; color: var(--ink); background: var(--paper); overflow-wrap: break-word; font-variant-ligatures: no-common-ligatures; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 0.45em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: var(--pacific); text-underline-offset: 0.18em; }
a:hover { color: var(--pacific-deep); }
:focus-visible { outline: 2px solid var(--pacific); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; background: var(--ink); color: #ffffff; }
.skip-link:focus { top: 1rem; }
.waves { height: 12px; background: var(--waves); }

/* ---------- solid coloured header bar ---------- */
.site-header { background: var(--pacific); color: #ffffff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 0.8rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: #ffffff; text-decoration: none; }
.brand img { width: 64px; height: auto; flex: none; }
.brand-name { font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.1; }
.brand:hover .brand-name { text-decoration: underline; text-underline-offset: 0.2em; }
.main-nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255, 255, 255, 0.35); }
.main-nav li { border-right: 1px solid rgba(255, 255, 255, 0.35); }
.main-nav a { display: inline-block; padding: 0.45rem 1rem; color: #ffffff; font-size: 1rem; text-decoration: none; }
.main-nav a:hover { background: var(--pacific-deep); }
.main-nav a[aria-current="page"] { background: var(--paper); color: var(--ink); font-weight: 700; }

/* ---------- split hero ---------- */
.hero { padding-block: clamp(2.4rem, 5.5vw, 4rem); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.split.top { align-items: start; }
.hero-art { display: block; width: 100%; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.2rem 0.7rem; border: 1px solid var(--pacific); color: var(--pacific); font-size: 0.92rem; font-style: italic; line-height: 1.5; }
.lede { font-size: clamp(1.14rem, 2vw, 1.3rem); color: var(--steel); max-width: 46ch; }
.kicker { margin: 0 0 0.35rem; color: var(--pacific); font-size: 0.95rem; font-style: italic; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.68rem 1.3rem; background: var(--pacific); color: #ffffff; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; border: 1px solid var(--pacific); }
.btn:hover { background: var(--pacific-deep); border-color: var(--pacific-deep); color: #ffffff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.section { padding-block: clamp(2.4rem, 5.5vw, 4rem); }
.band { background: var(--card); border-block: 1px solid var(--line); }

/* ---------- home ---------- */
.practice { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.practice li { border-bottom: 1px solid var(--line); }
.practice a { display: grid; grid-template-columns: 3.2rem 52px minmax(0, 1fr); align-items: center; gap: 0.9rem; padding: 0.85rem 0; color: var(--ink); text-decoration: none; }
.practice .n { font-size: 2rem; font-weight: 700; line-height: 1; color: var(--silver); font-variant-numeric: lining-nums; }
.practice img { width: 52px; height: 52px; }
.practice .p-name { display: block; font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.practice .p-count { display: block; color: var(--steel); font-size: 0.95rem; font-style: italic; }
.practice a:hover .p-name { color: var(--pacific); }
.practice a:hover .n { color: var(--pacific); }
.spot { margin-top: 1.4rem; padding: 1.05rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--pacific); }
.spot h3 { margin-bottom: 0.2rem; }
.spot p { margin: 0; color: var(--steel); }
.spot .deal { display: inline-block; margin-top: 0.4rem; font-weight: 700; color: var(--pacific); font-size: 1.15rem; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); color: var(--steel); }
.ticks strong { color: var(--ink); }

/* ---------- catalog: numbered items, large numerals ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 1.3rem 0 0; padding: 0; border-left: 1px solid var(--line); }
.jump li { border: 1px solid var(--line); border-left: 0; }
.jump a { display: inline-block; padding: 0.35rem 0.8rem; color: var(--ink); font-size: 0.95rem; text-decoration: none; }
.jump a:hover { background: var(--pacific); color: #ffffff; }
.cat { scroll-margin-top: 1rem; }
.cat + .cat { margin-top: clamp(2.4rem, 5vw, 3.2rem); }
.cat-head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--ink); }
.cat-head img { width: 54px; height: 54px; flex: none; }
.cat-head h2 { margin: 0; font-size: clamp(1.4rem, 2.7vw, 1.85rem); }
.num-list { list-style: none; margin: 0; padding: 0; }
.num-list li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: 0.3rem 1.4rem; align-items: start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.num-list .n { font-size: 2.9rem; font-weight: 700; line-height: 0.95; color: var(--silver); font-variant-numeric: lining-nums tabular-nums; }
.num-list li:hover .n { color: var(--pacific); }
.num-list h3 { margin: 0 0 0.15rem; font-size: 1.14rem; }
.num-list p { margin: 0; color: var(--steel); }
.num-list .pr { font-weight: 700; font-size: 1.15rem; color: var(--pacific); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; text-align: right; }
.num-list .pr.quote { white-space: normal; max-width: 13rem; font-size: 0.95rem; font-style: italic; color: var(--ink); line-height: 1.4; }
.num-list .pr.quote a { display: block; font-style: normal; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.offers li { padding: 1.1rem 1.2rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.offers li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.offers h3 { margin-bottom: 0.3rem; }
.offers p { margin: 0; color: var(--steel); }
.offers .deal { display: block; margin-top: 0.45rem; font-weight: 700; color: var(--pacific); }

/* ---------- about / contact ---------- */
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--pacific); font-size: 0.95rem; font-style: italic; }
.facts dd { margin: 0; font-weight: 700; }
.story p { color: var(--steel); }
.story .first { color: var(--ink); font-size: 1.22rem; }
.story .tag { color: var(--pacific); }
.story .kicker { color: var(--pacific); }
.details { margin: 0; border-top: 1px solid var(--ink); }
.details div { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--pacific); font-size: 0.95rem; font-style: italic; }
.details dd { margin: 0; font-weight: 700; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.4rem; font-weight: 700; font-size: 1.35rem; }
.hours th, .hours td { padding: 0.5rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { color: var(--pacific); font-weight: 400; font-style: italic; border-bottom: 1px solid var(--ink); }
.hours tbody th { font-weight: 700; padding-right: 0.8rem; }
.hours td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hours .closed { color: var(--steel); font-style: italic; }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--line); background: var(--card); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d0d5; font-size: 0.98rem; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: #8fd0ec; }
.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-weight: 700; font-size: 1.3rem; color: #ffffff; }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: #8fd0ec; font-style: italic; }
.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.16); font-size: 0.88rem; }

@media (max-width: 960px) {
  .split, .split.top { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offers li, .offers li + li { padding: 1rem 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1.04rem; }
  .brand img { width: 54px; }
  .main-nav a { padding: 0.4rem 0.7rem; }
  .num-list li { grid-template-columns: 3.2rem minmax(0, 1fr); }
  .num-list .n { font-size: 2.2rem; }
  .num-list .pr { grid-column: 2; text-align: left; }
  .num-list .pr.quote { max-width: none; }
  .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; }
}
