:root {
  --paper: #f4f7f6;
  --sheet: #ffffff;
  --ink: #14241f;
  --muted: #3d524a;
  --line: #d3ded9;
  --teal: #0c5c56;
  --deep: #08332f;
  --foam: #e7f3f0;
  --serif: Palatino Linotype, Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }
a { color: var(--teal); }
.jump {
  position: absolute;
  left: -999px;
  top: 0;
}
.jump:focus {
  left: 1rem;
  top: 1rem;
  z-index: 5;
  background: var(--teal);
  color: #fff;
  padding: .5rem .8rem;
}
.folio { width: min(1080px, calc(100% - 1.4rem)); margin: 0 auto; }
.mast { background: var(--sheet); border-bottom: 1px solid var(--line); }
.mast-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 .7rem;
}
.mast-side { text-align: right; }
.account { margin: .15rem 0 0; display: flex; justify-content: flex-end; gap: .9rem; }
.account a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-size: .92rem; }
.account a.here, .account a:hover { color: var(--teal); }
.mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.mark img { width: 42px; height: 42px; object-fit: cover; }
.mark span {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.03em;
}
.host { margin: 0; color: var(--muted); font-size: .92rem; }
.menu { border-top: 1px solid var(--line); }
.menu-row { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; padding: .35rem 0 .7rem; }
.menu a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .95rem;
  border-bottom: 2px solid transparent;
}
.menu a.here, .menu a:hover { border-bottom-color: var(--teal); color: var(--teal); }
.intro, .prose, .buca-block, .piece { padding: 1.4rem 0 .2rem; }
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: .2rem 0 .8rem;
}
h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 1.6rem 0 .45rem;
}
h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.dated, .dateline { color: var(--teal); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .4rem; }
.deck { font-size: 1.12rem; color: var(--ink); max-width: 68ch; }
.deck-sm, .piece p, .prose p, .buca-block p, .intro p { color: var(--muted); max-width: 68ch; }
.strip { margin: 1rem 0 .4rem; }
.strip img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
.strip figcaption { color: var(--muted); font-size: .82rem; padding-top: .35rem; }
.toc { border-top: 1px solid var(--line); margin-top: .6rem; }
.toc a {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .75rem;
  align-items: start;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  min-height: 48px;
}
.toc a:hover { background: var(--foam); }
.toc i { font-style: normal; color: var(--teal); font-weight: 750; padding-top: .15rem; }
.toc strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.toc em { display: block; font-style: normal; color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.asks h3 {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.asks p { margin: 0 0 .2rem; }
.atlas { margin: 1rem 0 .4rem; border: 1px solid var(--line); background: var(--sheet); }
.atlas iframe { width: 100%; height: 230px; border: 0; display: block; }
.spread { padding-bottom: 1.5rem; }
.side { margin: 1.2rem 0 2rem; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.side h2 { margin-top: 0; font-size: 1.25rem; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.side a { font-weight: 700; text-decoration: none; }
.side span { display: block; color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.trail { color: var(--muted); font-size: .9rem; }
.trail a { text-decoration: none; }
.colophon { background: var(--deep); color: #d5ebe6; margin-top: 2rem; padding: 1.6rem 0 2.2rem; }
.colo-name { font-family: var(--serif); font-size: 1.8rem; margin: 0 0 .3rem; color: #fff; }
.colophon p { margin: .2rem 0; }
.colophon a { color: #b7e0d8; }
.finder { display: flex; flex-wrap: wrap; gap: .45rem .9rem; margin-top: 1rem; }
.finder a { color: #e7f6f3; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
.finder a:hover { border-bottom-color: #b7e0d8; }
.empty { padding: 2rem 0 3rem; }
.live {
  margin: 1.4rem auto;
  padding: 1.4rem 1.2rem 1.5rem;
  text-align: center;
  background: var(--sheet);
  border: 1px solid var(--line);
}
.live h2 { margin-top: 0; }
.live p { margin-left: auto; margin-right: auto; }
.live-count {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #15803d;
  font-weight: 750;
  margin-bottom: .9rem;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .65);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1.15rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}
.go:hover { background: var(--deep); }
.auth { max-width: 440px; padding: 1.6rem 0 2.4rem; }
.fail {
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  background: #fde8e8;
  color: #9f1239;
  border: 1px solid #fecdd3;
  font-weight: 750;
}
.sheet-form { display: grid; gap: .35rem; }
.sheet-form label { font-size: .92rem; font-weight: 650; margin-top: .45rem; }
.sheet-form input[type="text"],
.sheet-form input[type="tel"],
.sheet-form input[type="email"],
.sheet-form input[type="password"] {
  width: 100%;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
}
.sheet-form .check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  margin: .6rem 0 .2rem;
}
.sheet-form button {
  margin-top: .8rem;
  min-height: 46px;
  border: 0;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.sheet-form button:hover { background: var(--deep); }
.auth-alt { margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
@media (min-width: 800px) {
  .intro, .buca-block {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
    gap: 1.6rem;
    align-items: start;
  }
  .strip img { height: 260px; }
  .spread {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 2rem;
    align-items: start;
    padding-top: 1.2rem;
  }
  .side { border-top: 0; margin-top: 0; padding-top: .2rem; position: sticky; top: 1rem; }
  .atlas iframe { height: 280px; }
}
@media (max-width: 799px) {
  body { font-size: 16.5px; }
  .mark span { font-size: 1.7rem; }
  .strip img { height: 168px; }
  h1 { font-size: 1.85rem; }
  .district-photo img { height: 190px; }
}
.district { --tone: var(--teal); }
.district[data-tone="sea"] { --tone: #0e7490; }
.district[data-tone="leaf"] { --tone: #3f6212; }
.district[data-tone="navy"] { --tone: #1e3a8a; }
.district[data-tone="dusk"] { --tone: #9a3412; }
.district[data-tone="stone"] { --tone: #57534e; }
.district[data-tone="sand"] { --tone: #a16207; }
.district[data-tone="brick"] { --tone: #9f1239; }
.district-head {
  padding: 1.15rem 1.1rem 1rem;
  background: var(--foam);
  border-left: 6px solid var(--tone);
}
.district-head h1 { margin-bottom: .35rem; }
.district-head .dateline { color: var(--tone); }
.facts { display: flex; flex-wrap: wrap; gap: .45rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.facts li {
  background: #fff;
  border: 1px solid var(--line);
  padding: .4rem .7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .92rem;
}
.district-photo { margin: 0; }
.district-photo img { width: 100%; height: 240px; object-fit: cover; display: block; }
.district-photo figcaption { color: var(--muted); font-size: .82rem; padding: .35rem 0 .2rem; }
.district-copy { padding: .2rem 0 1rem; }
.district-copy p { color: var(--muted); max-width: 68ch; }
.district-copy h2 { border-top: 1px solid var(--line); padding-top: 1rem; }
@media (min-width: 800px) {
  .district-photo img { height: 340px; }
  .clip-open img { height: 320px; }
}
.clip { margin: .2rem 0 1.2rem; max-width: 720px; }
.clip-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; }
.clip-open img { width: 100%; height: 220px; object-fit: cover; display: block; }
.clip-open span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--teal); color: #fff; min-height: 44px; padding: .6rem 1.1rem; font: inherit; font-weight: 750; }
.clip video { width: 100%; max-height: 420px; background: #000; display: block; }
