/* Hallmark · macrostructure: Contour Sheet (custom: contour-map home with real link pins, sheet-index list, legend-rail guides, facts-rail place pages) · genre: editorial · tone: austere, cartographic · theme: custom limestone paper + live-oak ink + redbud accent (paper oklch(95.5% 0.022 88), accent oklch(46% 0.17 355)) · fonts: Spectral + Libre Franklin + Space Mono · nav: top bar with sheet-index sheet · footer: dense colophon, one flowing index */
:root {
  --paper: oklch(95.5% 0.022 88);
  --paper-2: oklch(91.5% 0.03 88);
  --paper-3: oklch(87% 0.035 88);
  --ink: oklch(25% 0.045 155);
  --ink-soft: oklch(38% 0.04 155);
  --oak: oklch(40% 0.075 152);
  --contour: oklch(70% 0.055 140);
  --contour-strong: oklch(55% 0.075 145);
  --redbud: oklch(46% 0.17 355);
  --redbud-tint: oklch(92% 0.04 355);
  --white: oklch(99% 0.006 88);
  --scrim: oklch(25% 0.045 155 / 0.55);
  --radius: 0.4rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --wide: 76rem;
  --font-head: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); overflow-x: clip; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; overflow-wrap: anywhere; font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.05em; overflow-wrap: break-word; }
a { color: var(--redbud); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--redbud); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2rem; margin: 0 0 1.05em; }
.tc-skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; z-index: 50; }
.tc-skip:focus { left: 0; }
.tc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* header */
.tc-head { background: var(--paper); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.tc-head-in { max-width: var(--wide); margin: 0 auto; padding: 0.6rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tc-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; min-width: 0; }
.tc-brand svg { flex: none; color: var(--oak); }
.tc-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tc-brand-text strong { font: 700 1.35rem/1.1 var(--font-head); }
.tc-brand-text span { font: 400 0.82rem/1.3 var(--font-mono); color: var(--ink-soft); overflow-wrap: anywhere; }
.tc-index-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.45rem 0.9rem; border: 1.5px solid var(--ink); border-radius: 2rem; background: var(--paper); color: var(--ink); font: 700 0.85rem/1 var(--font-mono); cursor: pointer; white-space: nowrap; }
.tc-index-btn:hover { background: var(--ink); color: var(--paper); }

/* menu sheet */
.tc-menu { position: fixed; inset: 0; background: var(--scrim); z-index: 40; display: flex; justify-content: flex-end; }
.tc-menu[hidden] { display: none; }
.tc-menu-card { background: var(--paper); width: min(34rem, 100%); height: 100%; overflow-y: auto; padding: 1rem var(--gutter) 2rem; border-left: 1px solid var(--ink); }
.tc-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-family: var(--font-head); font-size: 1.3rem; }
.tc-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
.tc-nav-group h2 { font: 700 0.85rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 0.4rem; }
.tc-nav-group ul { list-style: none; padding: 0; margin: 0; }
.tc-nav-group a { display: block; padding: 0.55rem 0; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--contour-strong); }
.tc-nav-group a:hover, .tc-nav-group a[aria-current="page"] { color: var(--redbud); }

main { display: block; }
.tc-page { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) 3rem; }

/* home */
.tc-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem) 0 2rem; }
.tc-hero h1 { margin-bottom: 0.4em; }
.tc-hero .tc-deck { font-size: 1.15rem; max-width: 34rem; }
.tc-kicker, .tc-sheetno { font: 700 0.82rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--oak); margin: 0 0 0.8rem; }
.tc-map-frame { position: relative; aspect-ratio: 900 / 560; border: 1.5px solid var(--ink); background: var(--paper-2); outline: 1px solid var(--ink); outline-offset: 5px; margin: 6px; }
.tc-cont { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--contour-strong); }
.tc-cont path { stroke: currentColor; stroke-width: 1; opacity: 0.55; }
.tc-cont path.idx { stroke-width: 1.8; opacity: 0.85; }
.tc-pins { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.tc-pins li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); }
.tc-pins li[data-side="r"] { transform: translate(-100%, -50%); }
.tc-pins li[data-side="r"] a { flex-direction: row-reverse; padding: 0 0.35rem 0 0.6rem; }
.tc-pins a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.6rem 0 0.35rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: 2rem; color: var(--ink); text-decoration: none; font: 600 0.88rem/1.1 var(--font-body); white-space: nowrap; }
.tc-pins a:hover { background: var(--ink); color: var(--paper); }
.tc-pin-dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--redbud); border: 2px solid var(--white); flex: none; }
.tc-sheets-wrap { padding: 1rem 0 0; }
.tc-sheets-wrap > h2 { border-top: 2px solid var(--ink); padding-top: 1rem; }
.tc-sheets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; counter-reset: sheet; }
.tc-sheets li { border-bottom: 1px solid var(--contour-strong); }
.tc-sheets a { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; color: var(--ink); text-decoration: none; align-items: center; }
.tc-sheets a:hover .tc-sheet-title { color: var(--redbud); }
.tc-sheets .tc-thumbbox { position: relative; width: 6.5rem; aspect-ratio: 3 / 2; border: 1px solid var(--ink); background: var(--paper-2); overflow: hidden; }
.tc-sheets .tc-thumbbox .tc-cont { color: var(--contour-strong); }
.tc-sheet-no { font: 700 0.8rem/1 var(--font-mono); color: var(--oak); display: block; margin-bottom: 0.3rem; }
.tc-sheet-title { font: 600 1.2rem/1.2 var(--font-head); display: block; margin-bottom: 0.25rem; }
.tc-sheet-blurb { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; display: block; }
.tc-places-wrap { padding: 2.2rem 0 0; }
.tc-places-wrap > h2 { border-top: 2px solid var(--ink); padding-top: 1rem; }
.tc-places { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.2rem 2rem; }
.tc-places li { border-bottom: 1px dotted var(--contour-strong); padding: 0.7rem 0; }
.tc-places a { font: 600 1.1rem/1.25 var(--font-head); text-decoration: none; display: block; min-height: 44px; }
.tc-places span { display: block; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; }
.tc-intro { max-width: 46rem; padding: 2rem 0 0; }
.tc-home-photo { margin: 2.2rem 0 0; }

/* story pages */
.tc-story-head { position: relative; padding: 2rem 0 1.4rem; }
.tc-profile { display: block; width: 100%; height: 3.6rem; margin: 0 0 1.4rem; color: var(--contour-strong); }
.tc-profile path { stroke: currentColor; stroke-width: 1.6; }
.tc-profile .fill { fill: var(--paper-3); stroke: none; opacity: 0.65; }
.tc-deck { font-size: 1.2rem; line-height: 1.5; color: var(--ink-soft); max-width: 46rem; }
.tc-byline { font: 400 0.82rem/1.4 var(--font-mono); color: var(--ink-soft); margin: 0; }
.tc-cols { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.tc-cols-area { grid-template-columns: minmax(0, 1fr); }
.tc-cols-area .tc-article { max-width: 50rem; }
.tc-article { min-width: 0; font-size: 1.0625rem; }
.tc-lead-photo { margin: 0 0 1.8rem; }
.tc-photo img { width: 100%; border: 1px solid var(--ink); }
.tc-sec { margin: 0 0 2.2rem; }
.tc-sec h2 { border-top: 1px solid var(--ink); padding-top: 0.9rem; }
.tc-legend { position: sticky; top: 5.2rem; background: var(--paper-2); border: 1.5px solid var(--ink); padding: 1rem 1.1rem; font-size: 0.95rem; }
.tc-legend h2 { font: 700 0.85rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; margin: 0 0 0.7rem; color: var(--oak); }
.tc-legend h3 { font: 700 0.8rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; margin: 1.1rem 0 0.5rem; color: var(--oak); }
.tc-legend dl { margin: 0; }
.tc-legend dl div { padding: 0.45rem 0; border-bottom: 1px dotted var(--contour-strong); }
.tc-legend dt { font: 400 0.8rem/1.3 var(--font-mono); color: var(--ink-soft); }
.tc-legend dd { margin: 0.1rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tc-legend ol, .tc-legend ul { padding: 0; list-style: none; margin: 0; }
.tc-legend li a { display: block; padding: 0.4rem 0; min-height: 44px; line-height: 1.3; }

/* area head */
.tc-area-head { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; padding: 2rem 0 1.6rem; }
.tc-station { position: relative; aspect-ratio: 8 / 5; border: 1.5px solid var(--ink); background: var(--paper-2); }
.tc-station-dot { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1.1rem; margin: -0.55rem; border-radius: 50%; background: var(--redbud); border: 3px solid var(--white); }
.tc-bounds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0; margin: 0 0 2rem; border: 1.5px solid var(--ink); background: var(--paper-2); }
.tc-bounds div { padding: 0.8rem 1rem; border-bottom: 1px dotted var(--contour-strong); }
.tc-bounds dt { font: 700 0.8rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--oak); }
.tc-bounds dd { margin: 0.2rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* community, faq, refs, chips */
.tc-community { margin: 0 0 2.4rem; padding: 1.2rem 1.3rem; background: var(--paper-2); border: 1.5px solid var(--ink); }
.tc-community h2 { border: 0; padding: 0; font-size: 1.35rem; }
.tc-community h3 { font-size: 1.05rem; margin-top: 1rem; }
.tc-ent { padding: 0.8rem 0; border-top: 1px dotted var(--contour-strong); }
.tc-ent p { margin: 0; }
.tc-faq h3 { font-size: 1.1rem; margin: 1.3rem 0 0.4rem; }
.tc-faq p { margin: 0 0 0.6rem; }
.tc-refs { border-top: 1px solid var(--ink); padding-top: 0.9rem; font-size: 0.92rem; }
.tc-refs h2 { font: 700 0.85rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; border: 0; padding: 0; }
.tc-refs ol { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; padding: 0; }
.tc-refs a { display: inline-block; padding: 0.55rem 0; min-height: 44px; }
.tc-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tc-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.3rem 0.9rem; border: 1.5px solid var(--ink); border-radius: 2rem; color: var(--ink); text-decoration: none; font-size: 0.95rem; line-height: 1.2; background: var(--paper); }
.tc-chips a:hover { background: var(--ink); color: var(--paper); }

/* pager */
.tc-pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin: 2rem 0 0; border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.tc-pager a { display: block; padding: 0.9rem 1rem; border: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); font: 600 1.05rem/1.25 var(--font-head); min-height: 44px; }
.tc-pager a span { display: block; font: 400 0.8rem/1.3 var(--font-mono); color: var(--oak); margin-bottom: 0.25rem; }
.tc-pager a.tc-next { text-align: right; }
.tc-pager a:hover { background: var(--ink); color: var(--paper); }
.tc-pager a:hover span { color: var(--paper); }

/* forms and map */
.tc-contact { background: var(--paper-2); border: 1.5px solid var(--ink); padding: 1.2rem 1.3rem; max-width: 34rem; }
.tc-contact label { display: block; font-weight: 600; margin-bottom: 0.9rem; }
.tc-contact input, .tc-contact textarea { display: block; width: 100%; margin-top: 0.3rem; padding: 0.6rem 0.7rem; font: inherit; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); border-radius: var(--radius); min-height: 44px; }
.tc-btn { min-height: 44px; padding: 0.6rem 1.4rem; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: 700 0.95rem/1 var(--font-mono); cursor: pointer; border-radius: 2rem; }
.tc-btn:hover { background: var(--redbud); border-color: var(--redbud); }
.tc-note { font-size: 0.92rem; color: var(--ink-soft); margin: 0.8rem 0 0; min-height: 1.4em; }
.tc-map { margin: 1.4rem 0; border: 1.5px solid var(--ink); }
.tc-map iframe { display: block; width: 100%; height: 20rem; border: 0; }
.tc-addr { font-style: normal; font-weight: 600; }

/* footer: dense colophon */
.tc-foot { background: var(--paper-2); border-top: 2px solid var(--ink); margin-top: 2rem; padding: 2rem var(--gutter) 1.4rem; }
.tc-foot-in { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.4rem 3rem; align-items: start; }
.tc-foot-title { font: 700 1.5rem/1.1 var(--font-head); margin: 0 0 0.2rem; }
.tc-foot address { font-style: normal; }
.tc-foot-index { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.tc-foot-index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); white-space: nowrap; }
.tc-fine { font-size: 0.9rem; color: var(--ink-soft); margin: 0.2rem 0; overflow-wrap: anywhere; }
.tc-scale { max-width: var(--wide); margin: 1.4rem auto 0.6rem; display: grid; grid-template-columns: repeat(4, 1fr); height: 0.5rem; border: 1.5px solid var(--ink); }
.tc-scale span:nth-child(odd) { background: var(--ink); }
.tc-copy { max-width: var(--wide); margin: 0.6rem auto 0; }

/* responsive */
@media (max-width: 62rem) {
  .tc-foot-in { grid-template-columns: minmax(0, 1fr); }
  .tc-cols { grid-template-columns: minmax(0, 1fr); }
  .tc-legend { position: static; order: -1; }
}
@media (max-width: 56rem) {
  .tc-hero { grid-template-columns: minmax(0, 1fr); }
  .tc-map-frame { aspect-ratio: auto; padding: 0.9rem; outline-offset: 4px; }
  .tc-map-frame .tc-cont { opacity: 0.6; }
  .tc-pins { position: relative; inset: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .tc-pins li, .tc-pins li[data-side="r"] { position: static; transform: none; }
  .tc-pins li[data-side="r"] a { flex-direction: row; padding: 0.4rem 0.6rem 0.4rem 0.5rem; }
  .tc-pins a { width: 100%; border-radius: var(--radius); padding: 0.4rem 0.6rem 0.4rem 0.5rem; }
  .tc-sheets { grid-template-columns: minmax(0, 1fr); }
  .tc-area-head { grid-template-columns: minmax(0, 1fr); }
  .tc-station { max-width: 20rem; }
}
@media (max-width: 36rem) {
  .tc-brand-text span { display: none; }
  .tc-index-btn span { display: inline; }
  .tc-pager { grid-template-columns: minmax(0, 1fr); }
  .tc-pager a.tc-next { text-align: left; }
  .tc-sheets a { grid-template-columns: 5rem minmax(0, 1fr); }
  .tc-sheets .tc-thumbbox { width: 5rem; }
  .tc-pins { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
/* hallmark: anti-slop audit applied (no side stripes, no nested cards, tokens only) */
