/* Central Valley Lantern LLC — shared styles
   Seed 3-6-5-2-6-5-4: bright, vivid lantern palette (flame orange, lantern-glass yellow, signal teal) · deep
   amber-brown base · editorial columns with a narrow side column · humanist sans (Second Ave Sans) ·
   vertical side header · category index column + item rows · pill buttons and tags · motif: lantern-pane lattice */

@font-face { font-family: "Second Ave Sans"; src: url("fonts/second-ave-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Second Ave Sans"; src: url("fonts/second-ave-sans-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Second Ave Sans"; src: url("fonts/second-ave-sans-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --base: #1f1309;
  --base-2: #28190c;
  --panel: #301e0e;
  --line: #4d321a;
  --text: #fdf3e1;
  --muted: #dcc6a4;
  --flame: #ff8a1f;
  --glow: #ffd25c;
  --teal: #3fd0c0;
  --ink: #1f1309;
  --r: 999px;
  --side: 268px;
  --sans: "Second Ave Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --lattice: url("assets/motif-lattice.svg") 0 0 / 32px 32px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body { margin: 0; font-family: var(--sans); font-size: 1.1rem; line-height: 1.66; color: var(--text); background: var(--base); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 600; color: #ffffff; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.45em; color: #ffffff; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--glow); text-underline-offset: 0.18em; }
a:hover { color: #ffffff; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; border-radius: var(--r); background: var(--glow); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- vertical side header ---------- */
.shell { position: relative; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.shell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--side); background: var(--panel) var(--lattice); border-right: 1px solid var(--line); }
.site-header { position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 1.6rem; padding: 1.8rem 1.4rem; z-index: 1; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; color: #ffffff; text-decoration: none; }
.brand img { width: 92px; height: auto; border-radius: 10px; }
.brand-name { font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.brand:hover .brand-name { color: var(--glow); }
.main-nav ul { display: flex; flex-direction: column; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 0.5rem 1rem; border-radius: var(--r); color: var(--text); font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.main-nav a:hover { box-shadow: inset 0 0 0 1px var(--glow); color: #ffffff; }
.main-nav a[aria-current="page"] { background: var(--flame); color: var(--ink); box-shadow: none; }
.side-contact { margin-top: auto; font-size: 0.95rem; color: var(--muted); }
.side-contact p { margin: 0 0 0.6rem; }
.side-contact .pill { display: inline-block; padding: 0.4rem 0.95rem; border-radius: var(--r); background: var(--glow); color: var(--ink); font-weight: 600; text-decoration: none; }
.side-contact .pill:hover { background: #ffffff; }
.content { min-width: 0; display: flex; flex-direction: column; }
.content main { flex: 1; }

/* ---------- editorial frame ---------- */
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.6rem); }
.section { padding-block: clamp(2.4rem, 5.5vw, 4rem); }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.aside { padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--base-2); border: 1px solid var(--line); }
.aside > * + * { margin-top: 1rem; }
.aside h2, .aside h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.aside p { color: var(--muted); font-size: 1rem; }
.cols { column-count: 2; column-gap: 2.4rem; }
.cols > * { break-inside: avoid; }
.hero { padding-block: clamp(2.2rem, 5vw, 3.6rem); border-bottom: 1px solid var(--line); }
.hero-art { display: block; width: 100%; max-width: 620px; margin-top: 1.6rem; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.3rem 0.9rem; border-radius: var(--r); background: rgba(255, 210, 92, 0.12); color: var(--glow); font-weight: 600; font-size: 0.93rem; line-height: 1.45; box-shadow: inset 0 0 0 1px rgba(255, 210, 92, 0.4); }
.lede { font-size: clamp(1.15rem, 2vw, 1.32rem); color: var(--muted); max-width: 46ch; }
.kicker { margin: 0 0 0.35rem; color: var(--teal); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.35rem; border-radius: var(--r); background: var(--flame); color: var(--ink); font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--glow); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: transparent; color: #ffffff; box-shadow: inset 0 0 0 2px var(--glow); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.aside .btn { width: 100%; }

/* ---------- home ---------- */
.practice { list-style: none; margin: 0; padding: 0; }
.practice li { break-inside: avoid; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.practice a { display: flex; align-items: center; gap: 0.9rem; color: var(--text); text-decoration: none; }
.practice img { width: 52px; height: 52px; flex: none; }
.practice .p-name { display: block; font-weight: 800; font-size: 1.08rem; line-height: 1.25; color: #ffffff; }
.practice .p-count { display: block; color: var(--muted); font-size: 0.95rem; }
.practice a:hover .p-name { color: var(--glow); }
.deal { margin: 0.4rem 0 0; }
.chip { display: inline-block; padding: 0.18rem 0.7rem; border-radius: var(--r); background: var(--glow); color: var(--ink); font-weight: 800; font-size: 0.98rem; line-height: 1.4; white-space: nowrap; }
.chip.alt { background: var(--teal); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { break-inside: avoid; position: relative; padding: 0 0 1rem 1.7rem; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0 35%, var(--flame) 36% 100%); }
.ticks strong { color: #ffffff; }
.band { background: var(--base-2) var(--lattice); border-block: 1px solid var(--line); }

/* ---------- catalog: category index column + item rows ---------- */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: start; }
.index { position: sticky; top: 1.2rem; }
.index p { margin: 0 0 0.6rem; color: var(--teal); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; }
.index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; counter-reset: ix; }
.index a { display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.8rem; border-radius: 22px; color: var(--text); font-weight: 600; font-size: 0.93rem; line-height: 1.25; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); counter-increment: ix; }
.index a::before { content: counter(ix); display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--flame); color: var(--ink); font-size: 0.82rem; font-weight: 800; }
.index a:hover { box-shadow: inset 0 0 0 1px var(--glow); color: #ffffff; }
.cat { scroll-margin-top: 1rem; }
.cat + .cat { margin-top: clamp(2.2rem, 5vw, 3rem); }
.cat-head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 0.7rem; margin-bottom: 0.2rem; border-bottom: 2px solid var(--flame); }
.cat-head img { width: 54px; height: 54px; flex: none; }
.cat-head h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.irow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 1.6rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.irow h3 { margin: 0 0 0.15rem; font-size: 1.1rem; }
.irow p { margin: 0; color: var(--muted); font-size: 1rem; }
.irow .fee { align-self: start; text-align: right; }
.irow .chip { font-size: 1.02rem; }
.irow .quote { display: inline-block; max-width: 13rem; padding: 0.3rem 0.85rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--teal); color: var(--text); font-weight: 600; font-size: 0.92rem; line-height: 1.35; text-align: left; }
.irow .quote a { display: block; color: var(--teal); white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; }
.offers li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.offers li:first-child { padding-top: 0; }
.offers h3 { margin-bottom: 0.2rem; }
.offers p { margin: 0; color: var(--muted); }

/* ---------- about / contact ---------- */
.facts { margin: 0; }
.facts div { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--teal); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; color: #ffffff; }
.story p { color: var(--muted); }
.story .first { color: var(--text); font-size: 1.22rem; }
.story .kicker { color: var(--teal); }
.details { margin: 0; display: grid; gap: 0.6rem; }
.details div { padding: 0.75rem 1.1rem; border-radius: 14px; background: var(--base-2); border: 1px solid var(--line); }
.details dt { color: var(--teal); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.details dd { margin: 0; font-weight: 600; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.4rem; font-weight: 800; font-size: 1.15rem; color: #ffffff; }
.hours th, .hours td { padding: 0.4rem 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours thead th { color: var(--teal); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { font-weight: 600; padding-right: 0.6rem; }
.hours td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--flame); font-weight: 600; }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--line); border-radius: 14px; background: var(--base-2); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: #170e06; color: var(--muted); font-size: 0.98rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--glow); }
.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: 800; font-size: 1.3rem; color: #ffffff; }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--teal); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; 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 var(--line); font-size: 0.88rem; }

@media (max-width: 1100px) {
  .ed { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .index { position: static; }
  .index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .shell { display: block; }
  .shell::before { display: none; }
  .site-header { position: static; height: auto; overflow: visible; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.4rem; padding: 0.9rem clamp(1.1rem, 4vw, 2rem); background: var(--panel) var(--lattice); border-bottom: 1px solid var(--line); }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 58px; }
  .brand-name { font-size: 1.3rem; }
  .main-nav ul { flex-direction: row; flex-wrap: wrap; }
  .main-nav a { padding: 0.38rem 0.9rem; }
  .side-contact { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1.04rem; }
  .cols { column-count: 1; }
  .index ol { grid-template-columns: 1fr; }
  .irow { grid-template-columns: 1fr; }
  .irow .fee { 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; }
}
