:root {
  color-scheme: dark;
  --bg: #0c141b; --surface: #15252f; --ink: #f2e9d0; --muted: #c2c7c0; --rule: #556267;
  --input-border: #849095; --accent: #f5ca7f; --button-ink: #172028;
  --display: "Bevan", Georgia, serif; --body: "Alegreya Sans", sans-serif; --label: "Cutive Mono", monospace;
  --gutter: clamp(1rem, 4.5vw, 5rem);
}
body { background: radial-gradient(ellipse at 91% 13%, #31404a, #101b24 38%, var(--bg) 67%); font-size: 1.17rem; }
.mast { grid-template-columns: auto minmax(0, 1fr) auto; border-bottom: 1px solid var(--rule); background: #0d171f; }
.mast nav { justify-content: end; font: 1rem var(--label); }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.15rem; }
.lighthouse-mark { width: .9rem; height: 1rem; background: var(--accent); clip-path: polygon(18% 0,82% 0,82% 48%,67% 48%,81% 100%,19% 100%,33% 48%,18% 48%); }
.wrap { max-width: 92rem; padding-inline: var(--gutter); }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 28rem; display: grid; align-items: center; padding: clamp(3rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--rule); }
.hero h1 { font-size: clamp(2.5rem, 6.25vw, 6rem); max-width: 14ch; }
.hero .lede { font-size: 1.3rem; }
.beacon { pointer-events: none; position: absolute; z-index: -1; inset: 4% 0 0 44%; background: radial-gradient(ellipse at 75% 48%, #f5ca7f30, transparent 42%); }
.beacon::before { content: ""; position: absolute; inset: 16% 12% 9% 0; background: linear-gradient(90deg, transparent, #f5ca7f30 75%, #f5ca7f88); clip-path: polygon(0 11%, 100% 48%, 100% 55%, 0 98%); }
.beacon i { position: absolute; width: 23%; height: 55%; right: 3%; bottom: 3%; border: 2px solid #ac925c; border-radius: 46% 46% 0 0; background: repeating-linear-gradient(90deg,#ebc47e32 0 2px,transparent 2px 12px), linear-gradient(#f5ca7f55,#685c43); }
.eyebrow { font-size: 1rem; }
.band { padding: clamp(2rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--rule); }
.entries { display: grid; gap: .65rem; }
.entry { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .6rem 1.6rem; padding: 1rem; background: var(--surface); border: 1px solid var(--rule); }
.entry :is(h2,h3) { font-family: var(--label); }
.example { padding-inline: 1rem; border-left: 2px solid var(--accent); }
form { max-width: 44rem; }
.editorial-head { padding: clamp(2.5rem, 7vw, 5rem) 0 1.5rem; }
.editorial-head h1 { font-size: clamp(2.7rem, 5.2vw, 5rem); }
.blog-index { border-top: 2px solid var(--accent); padding-bottom: 3rem; }
.dispatch { display: grid; grid-template-columns: 1fr .8fr; gap: .6rem 1.2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.article-body { padding: 1.8rem 0 3rem; }
.article-body section { padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }

/* AstroWind Hero2 with a standalone visual, followed by service panels. */
.home .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: 2rem; }
.home .hero h1 { font-size: clamp(2.6rem, 5.4vw, 5.35rem); }
.clinic-map { position: relative; aspect-ratio: 1.22; border: 1px solid #6c7f87; border-radius: .75rem; background: repeating-linear-gradient(42deg, transparent 0 2.45rem, #81919355 2.45rem 2.52rem), repeating-linear-gradient(132deg, transparent 0 3rem, #81919345 3rem 3.08rem), radial-gradient(ellipse at 68% 32%,#3e5557,#13252f); box-shadow: .6rem .65rem 0 #f5ca7f30; }
.clinic-map i { position: absolute; width: clamp(2rem, 8vw, 6rem); aspect-ratio: 1; background: radial-gradient(circle,#f5ca7f 0 9%,transparent 10% 27%,#f5ca7f70 28% 30%,transparent 31% 49%,#f5ca7f50 50% 52%,transparent 53%); }
.clinic-map i:nth-child(1) { inset: 20% auto auto 15%; }
.clinic-map i:nth-child(2) { inset: 42% auto auto 47%; }
.clinic-map i:nth-child(3) { inset: 57% auto auto 72%; }
.home .entries { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home .entry { display: block; border-top: 2px solid var(--accent); }
.blog-index .dispatch { align-items: start; padding-inline: 1rem; }
.blog-index .dispatch:nth-child(even) { background: var(--surface); }
.related-articles { margin-block: 0 3rem; padding: 1rem; border-left: 2px solid var(--accent); }
@media (max-width: 55rem) {
  .mast { grid-template-columns: 1fr auto; gap: .5rem; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; gap: .1rem .7rem; }
  .entry,.dispatch { grid-template-columns: 1fr; }
  .beacon { opacity: .46; inset-inline-start: 29%; }
  .home .hero,.home .entries { grid-template-columns: 1fr; }
  .clinic-map { width: min(100% - .65rem, 26rem); }
}
