@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IM Fell English SC"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/im-fell-english-sc-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/public-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Harrison Homestead public pages: the land-office plat look, shared with the game. Mobile first. */
:root {
  color-scheme: light;
  --paper: #efe9da; --paper-2: #f7f3e8; --paper-3: #e6dec9;
  --ink: #2a2620; --ink-2: #5a5346; --rule: #d3c8ae; --rule-strong: #b8ab8f;
  --forest: #3f6b4a; --forest-young: #8fb07a; --forest-old: #2c5236; --meadow: #d9d6a6; --cleared: #d8c9a3; --field: #cdbf84;
  --water: #7ea6b8; --water-deep: #4f7f96; --road: #9a7b52;
  --accent: #b5481f; --accent-ink: #fff9ee; --accent-soft: #f0d5c6; --link: #8a3414;
  --ridge: #c3bba4; --trunk: #6b5a43; --shadow: rgba(42, 38, 32, .18);
  --serif: "IM Fell English", Georgia, "Times New Roman", serif;
  --sc: "IM Fell English SC", var(--serif);
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1c1a16; --paper-2: #26231d; --paper-3: #2f2b23;
    --ink: #ece4d1; --ink-2: #b9b09a; --rule: #3d382d; --rule-strong: #5a5342;
    --forest: #6f9b78; --forest-young: #9bbd86; --forest-old: #4e7c58; --meadow: #4a4a2c; --cleared: #4d4430; --field: #5a4f2c;
    --water: #3d6070; --water-deep: #5f93a8; --road: #b49668;
    --accent: #e0714a; --accent-ink: #1c1a16; --accent-soft: #4a2a1c; --link: #f0a27f;
    --ridge: #3a3629; --trunk: #8f7c5f; --shadow: rgba(0, 0, 0, .5);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1c1a16; --paper-2: #26231d; --paper-3: #2f2b23;
  --ink: #ece4d1; --ink-2: #b9b09a; --rule: #3d382d; --rule-strong: #5a5342;
  --forest: #6f9b78; --forest-young: #9bbd86; --forest-old: #4e7c58; --meadow: #4a4a2c; --cleared: #4d4430; --field: #5a4f2c;
  --water: #3d6070; --water-deep: #5f93a8; --road: #b49668;
  --accent: #e0714a; --accent-ink: #1c1a16; --accent-soft: #4a2a1c; --link: #f0a27f;
  --ridge: #3a3629; --trunk: #8f7c5f; --shadow: rgba(0, 0, 0, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 8.5vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 5.5vw, 2.7rem); }
h3 { font-size: 1.4rem; margin-bottom: .35em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: .75rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 50; border-radius: 4px; }
.skip:focus { top: .75rem; }
.wrap { width: 100%; max-width: 70rem; margin-inline: auto; padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right)); }
.narrow { max-width: 46rem; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.ico.big { width: 2.2rem; height: 2.2rem; color: var(--accent); stroke-width: 1.6; margin-bottom: .6rem; }
.eyebrow { font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 1rem; }
.sub { max-width: 40rem; color: var(--ink-2); font-size: 1.1rem; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule-strong); padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.mark { font: 400 1.25rem/1 var(--sc); letter-spacing: .02em; color: var(--ink); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.mark .ico { color: var(--forest); width: 1.4rem; height: 1.4rem; }
.nav { display: none; gap: 1.4rem; font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; padding: .4rem 0; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 56rem) { .nav { display: flex; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.4rem; font: 600 1rem/1.1 var(--sans); color: var(--accent-ink); background: var(--accent); border: 2px solid var(--ink); border-radius: 3px; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-sm { min-height: 2.5rem; padding: .45rem 1rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-quiet { background: var(--paper-2); color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 1rem 1.1rem; margin: 1.6rem 0 1.4rem; }

/* hero */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4.5rem); background: radial-gradient(120% 80% at 90% 0%, var(--paper-3), transparent 60%), var(--paper); }
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
.hero-hook { display: flex; gap: .65rem; align-items: flex-start; margin: 0 0 1rem; padding-left: .85rem; border-left: 3px solid var(--accent); font: 600 1.05rem/1.4 var(--sans); color: var(--ink); }
.hero-hook span { text-wrap: balance; }
.hero-hook .ico { color: var(--accent); margin-top: .12rem; }
.lead { font-size: 1.2rem; max-width: 34rem; color: var(--ink); }
.pencil { color: var(--accent); background: linear-gradient(transparent 82%, color-mix(in srgb, var(--accent) 35%, transparent) 82% 92%, transparent 92%); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-size: .95rem; }
.facts li { display: inline-flex; gap: .45rem; align-items: center; }
.facts .ico { color: var(--forest); }
.hero-art { margin: 0; }
.hero-art figcaption, .valley figcaption, .shot figcaption { font: 500 .8rem/1.4 var(--mono); color: var(--ink-2); margin-top: .7rem; text-align: center; }
.plat-art { display: block; width: 100%; height: auto; filter: drop-shadow(8px 8px 0 var(--shadow)); }

/* bands and cards */
.band { background: var(--paper-2); border-block: 1px solid var(--rule-strong); }
.band, .wrap { scroll-margin-top: 4.5rem; }
section.band, section.wrap { padding-block: clamp(2.6rem, 7vw, 5rem); }
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.card { position: relative; background: var(--paper); border: 1.5px solid var(--ink); padding: 1.4rem 1.4rem 1.2rem; box-shadow: 5px 5px 0 var(--shadow); }
.card::before, .card::after { content: ""; position: absolute; width: .7rem; height: .7rem; border: 2px solid var(--accent); }
.card::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.band .card { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: s; }
.steps .card { counter-increment: s; }
.steps h3::before { content: counter(s) ". "; font-family: var(--mono); font-size: .85rem; color: var(--ink-2); }
.trio { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2rem; }

.tablewrap { overflow-x: auto; border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 5px 5px 0 var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; min-width: 30rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule-strong); vertical-align: top; }
thead th { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-3); }
tbody th { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
tbody tr:last-child > * { border-bottom: 0; }

.deed { list-style: none; margin: 0; padding: 1.4rem 1.6rem; display: grid; gap: .9rem; font-size: 1.1rem; }
.deed li { display: flex; gap: .9rem; align-items: center; }
.deed .ico { color: var(--forest); width: 1.5rem; height: 1.5rem; }

.valley { margin: 2rem 0 0; }
.valley-art { display: block; width: 100%; height: auto; border: 1.5px solid var(--ink); background: var(--paper-2); box-shadow: 5px 5px 0 var(--shadow); }

.eras { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); position: relative; }
.eras li { display: grid; gap: .3rem; padding-top: 1rem; border-top: 3px solid var(--ink); position: relative; }
.eras li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; background: var(--accent); border: 2px solid var(--ink); border-radius: 50%; }
.eras .yrs { font: 500 .85rem/1 var(--mono); color: var(--ink-2); }
.eras strong { font: 400 1.35rem/1.15 var(--serif); }
.eras span:last-child { color: var(--ink-2); font-size: .98rem; }

.shots { display: grid; gap: 2rem; margin-top: 2rem; align-items: start; }
@media (min-width: 48rem) { .shots { grid-template-columns: 2.2fr 1fr; } }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--shadow); background: var(--paper-2); }
.shot-phone { width: 100%; max-width: 20rem; margin-inline: auto; }
.shot img { aspect-ratio: 1280 / 800; }
.shot-phone img { aspect-ratio: 390 / 780; }

details { border-bottom: 1px solid var(--rule-strong); }
details:first-of-type { border-top: 1px solid var(--rule-strong); }
summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font: 400 1.25rem/1.3 var(--serif); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .3rem; top: .9rem; font: 500 1.5rem/1 var(--mono); color: var(--accent); }
details[open] > summary::after { content: "\2212"; }
details p { color: var(--ink-2); margin: 0 0 1.2rem; max-width: 40rem; }

.closer { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); background: radial-gradient(90% 120% at 50% 100%, var(--paper-3), transparent 70%); }
.closer p { color: var(--ink-2); }
.closer .btn { margin-top: .6rem; }

.foot { border-top: 1px solid var(--rule-strong); background: var(--paper-2); padding-block: 2rem calc(2rem + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 1rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot a { color: var(--ink); }
.fine { color: var(--ink-2); font-size: .85rem; max-width: 46rem; margin: 0; }
.mark.small { font-size: 1.1rem; margin: 0; }

/* plain text pages (privacy) */
.doc { padding-block: clamp(2rem, 6vw, 4rem); }
.doc h1 { font-size: clamp(2rem, 6vw, 3rem); }
.doc h2 { font-size: 1.6rem; margin-top: 2em; }
.doc li { margin-bottom: .5em; }
.doc .updated { font: 500 .85rem/1 var(--mono); color: var(--ink-2); }

/* ---- the illustrations (see scripts/home-art.mjs for what draws them) ---- */
.sheet-bg { fill: var(--paper-2); } .sheet-line { fill: none; stroke: var(--ink); stroke-width: 2; }
.c-m { fill: var(--forest); fill-opacity: .55; } .c-y { fill: var(--forest-young); fill-opacity: .55; } .c-o { fill: var(--forest-old); fill-opacity: .75; }
.c-r { fill: var(--ridge); } .c-cl { fill: var(--cleared); } .c-fd { fill: var(--field); } .c-mw { fill: var(--meadow); }
.hatch-line { stroke: var(--ink-2); stroke-width: .8; opacity: .4; }
.gridline { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .35; }
.board-line { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.contour { fill: none; stroke: var(--road); stroke-width: 1.2; stroke-dasharray: 2 5; opacity: .8; }
.road { fill: none; stroke: var(--road); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 9; }
.t { fill: var(--forest); stroke: var(--ink); stroke-width: .7; stroke-linejoin: round; }
.t.y { fill: var(--forest-young); } .t.o { fill: var(--forest-old); }
.trunk { fill: var(--trunk); stroke: none; }
.st { fill: var(--cleared); stroke: var(--ink); stroke-width: .8; } .ring { fill: none; stroke: var(--ink-2); stroke-width: .6; }
.bld { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.door { fill: none; stroke: var(--ink); stroke-width: 1.1; } .chimney { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.furrow { stroke: var(--road); stroke-width: 1.3; fill: none; opacity: .8; }
.pole { fill: none; stroke: var(--ink); stroke-width: 1.5; } .pennant { fill: var(--accent); stroke: var(--ink); stroke-width: .8; }
.flag { color: var(--accent); }
.river { fill: var(--water); stroke: var(--ink); stroke-width: 1.4; } .wave { fill: none; stroke: var(--water-deep); stroke-width: 1.6; stroke-linecap: round; }
.dock { fill: var(--road); stroke: var(--ink); stroke-width: 1.4; } .lg { fill: var(--trunk); stroke: var(--ink); stroke-width: .9; }
.wag { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.2; }
.nline { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.lab { font: 500 13px var(--mono); fill: var(--ink-2); } .lab.sm { font-size: 12px; fill: var(--ink); paint-order: stroke; stroke: var(--paper-2); stroke-width: 4px; } .lab.you { fill: var(--accent); }
.river-lab { font: italic 400 18px var(--serif); fill: var(--ink); }
.p1, .p2 { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.p2 { stroke-width: 2; opacity: .7; }
.v-claim { fill: var(--forest); fill-opacity: .35; stroke: var(--ink); stroke-width: 1; } .v-open { fill: var(--meadow); fill-opacity: .8; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 5 4; }
.v-town { fill: var(--cleared); stroke: var(--ink); stroke-width: 1.2; } .v-mine { fill: var(--forest); fill-opacity: .35; stroke: var(--ink); stroke-width: 1; }
.v-reserve { fill: var(--forest-old); fill-opacity: .55; stroke: var(--ink); stroke-width: 1.6; }
.v-yours { fill: none; stroke: var(--accent); stroke-width: 4; }

.tour-fig { margin: 0; }
.tour-fig img { display: block; width: 100%; height: auto; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--shadow); background: var(--paper-3); aspect-ratio: 1200 / 630; }
.tour-fig figcaption { font: 500 .8rem/1.4 var(--mono); color: var(--ink-2); margin-top: .8rem; }
@media (min-width: 52rem) { .tour .tour-fig { order: 0; } }
