/* ================================================================
   THE FOLD — land-registry map meets farmer's almanac
   Palette: chalk #EFEDE3 · hedgerow #55613F · wheat #B78B4A
            rain slate #39586B · peat #2B2620
   ================================================================ */

:root {
  --chalk: #EFEDE3;
  --hedgerow: #55613F;
  --wheat: #B78B4A;
  --wheat-ink: #8A6428;
  --slate: #39586B;
  --peat: #2B2620;
  --peat-soft: #4A4438;
  --rule: rgba(43, 38, 32, .22);
  --rule-soft: rgba(43, 38, 32, .12);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;

  --ease-land: cubic-bezier(.22, .61, .21, 1);
}

/* ---- season palettes: land colours, light, water ---- */
html[data-season="midsummer"] {
  --page: #EFEDE3; --paper: #F2F0E6;
  --f1: #BCC49D; --f2: #C8CDA4; --f3: #B0BC92; --f4: #C4C9A0;
  --f-orch: #A9B88D; --f-rough: #C2BD96; --f-meadow: #CDD2A7;
  --tree: #55613F; --water: #39586B; --hedge: #55613F;
  --beck-w: 3.6; --season-ink: #55613F;
}
html[data-season="candlemas"] {
  --page: #ECEAE1; --paper: #EFEDE4;
  --f1: #C8C3AD; --f2: #C0BDA9; --f3: #B4AF98; --f4: #CBC7B2;
  --f-orch: #B8B59C; --f-rough: #B1AA90; --f-meadow: #BFBDA5;
  --tree: #6B6250; --water: #39586B; --hedge: #4A4636;
  --beck-w: 5.2; --season-ink: #39586B;
}
html[data-season="harvest"] {
  --page: #F0EBDC; --paper: #F3EEDF;
  --f1: #D7BD86; --f2: #CEB178; --f3: #C5A56B; --f4: #DAC38F;
  --f-orch: #AEB685; --f-rough: #C9B483; --f-meadow: #CEBD87;
  --tree: #7A8353; --water: #456070; --hedge: #55613F;
  --beck-w: 3.0; --season-ink: #8A6428;
}
html[data-season="frost"] {
  --page: #EBECE8; --paper: #EEEFEA;
  --f1: #D9DCD4; --f2: #D2D6CE; --f3: #C7CCC6; --f4: #DEE0D8;
  --f-orch: #CFD3C9; --f-rough: #CBD0CA; --f-meadow: #D6D9D1;
  --tree: #5E6558; --water: #6E8899; --hedge: #3E4437;
  --beck-w: 2.6; --season-ink: #39586B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--peat);
  background: var(--page);
  transition: background-color .8s var(--ease-land);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--wheat); color: var(--chalk); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 50;
  background: var(--peat); color: var(--chalk);
  padding: .5rem 1rem; font-family: var(--mono); font-size: .85rem;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

a { color: inherit; }
:focus-visible {
  outline: 2px dashed var(--peat);
  outline-offset: 3px;
  border-radius: 1px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }

/* ================= ATLAS: sticky sheet + scrolling ledger ================= */

.atlas {
  display: grid;
  grid-template-columns: 47% 1fr;
  align-items: start;
}

.map-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

.sheet-fig { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

#map {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 44px rgba(43, 38, 32, .16));
}

.nojs-note {
  font-family: var(--mono); font-size: .85rem; max-width: 30ch;
  border: 1px solid var(--rule); padding: 1rem;
}

/* ---- map internals (SVG classes assigned by app.js) ---- */
#map .cell { transition: fill .8s var(--ease-land), opacity .6s var(--ease-land); }
#map .f1 { fill: var(--f1); } #map .f2 { fill: var(--f2); }
#map .f3 { fill: var(--f3); } #map .f4 { fill: var(--f4); }
#map .f-orch { fill: var(--f-orch); } #map .f-rough { fill: var(--f-rough); }
#map .f-meadow { fill: var(--f-meadow); }
#map .hedge { fill: none; stroke: var(--hedge); stroke-width: 1.6; stroke-linejoin: round; transition: stroke .8s var(--ease-land); }
#map .hedge-soft { fill: none; stroke: var(--hedge); stroke-width: 4.6; opacity: .16; stroke-linejoin: round; transition: stroke .8s var(--ease-land); }
#map .beck { fill: none; stroke: var(--water); stroke-width: var(--beck-w); stroke-linecap: round; transition: stroke .8s var(--ease-land), stroke-width .8s var(--ease-land); }
#map .leat { fill: none; stroke: var(--water); stroke-width: 1.6; transition: stroke .8s var(--ease-land); }
#map .lane-case { fill: none; stroke: var(--peat-soft); stroke-width: 7; opacity: .5; }
#map .lane-fill { fill: none; stroke: var(--paper); stroke-width: 4.6; transition: stroke .8s var(--ease-land); }
#map .fpath { fill: none; stroke: var(--hedge); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .85; }
#map .tree { fill: var(--tree); transition: fill .8s var(--ease-land); }
#map .rough-mark { stroke: var(--hedge); stroke-width: 1; opacity: .32; }
#map .bldg { fill: var(--peat); }
#map .grid-line { stroke: var(--slate); stroke-width: .4; opacity: .16; }
#map .paper { fill: var(--paper); transition: fill .8s var(--ease-land); }
#map .frame { fill: none; stroke: var(--peat); }
#map text { user-select: none; }
#map .fname { font-family: var(--serif); font-style: italic; font-size: 11px; fill: var(--peat); opacity: .82; }
#map .facre { font-family: var(--mono); font-size: 7.5px; fill: var(--peat); opacity: .6; }
#map .hname { font-family: var(--sans); font-weight: 600; font-size: 9.5px; letter-spacing: .18em; fill: var(--peat); }
#map .gref { font-family: var(--mono); font-size: 9px; fill: var(--peat); opacity: .55; }
#map .titleblock { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; fill: var(--peat); opacity: .8; }
#map .waterlabel { font-family: var(--serif); font-style: italic; font-size: 10.5px; fill: var(--water); transition: fill .8s var(--ease-land); }
#map .outline {
  fill: rgba(183, 139, 74, 0);
  stroke: var(--peat);
  stroke-width: 0;
  stroke-dasharray: 7 4;
  stroke-linejoin: round;
  transition: fill .7s var(--ease-land), stroke-width .5s var(--ease-land);
  pointer-events: none;
}
#map.has-active .cell:not(.lit) { opacity: .48; }
#map .mark-group { transition: opacity .6s var(--ease-land); }
#map.has-active .mark-group:not(.lit) { opacity: .3; }
#map .outline.on { fill: rgba(183, 139, 74, .18); stroke-width: 2.4; }
#map .cell.probe { fill: var(--wheat); transition-delay: 0s !important; }
.schedule tr.probeable:hover, .schedule tr.probeable:focus-within { background: rgba(183, 139, 74, .1); }
#world { transition: transform 1.1s var(--ease-land); will-change: transform; }

/* ---- season dial ---- */
.dial {
  position: absolute;
  top: 2.2rem; right: 2rem;
  border: none; margin: 0; padding: 0;
  text-align: center;
  z-index: 6;
}
.dial-face {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--peat);
  box-shadow: 0 4px 14px rgba(43, 38, 32, .14), inset 0 0 0 6px rgba(43, 38, 32, .04);
  transition: background-color .8s var(--ease-land);
}
.dial-face::after {
  content: ""; position: absolute; inset: 50%; width: 7px; height: 7px;
  margin: -3.5px; border-radius: 50%; background: var(--peat);
}
.dial-needle {
  position: absolute; left: 50%; top: 50%;
  width: 2.5px; height: 34px;
  margin-left: -1.25px;
  background: var(--wheat);
  transform-origin: 50% 0%;
  transform: rotate(var(--dial-angle, 90deg)) translateY(6px);
  transition: transform .7s var(--ease-land);
  border-radius: 2px;
}
.dial-btn {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--mono); font-weight: 700; font-size: .72rem;
  color: var(--peat); cursor: pointer;
  display: grid; place-items: center;
  padding: 0;
}
.dial-btn:hover { border-color: var(--peat); }
.dial-btn[aria-pressed="true"] { background: var(--peat); color: var(--chalk); }
.d-n { top: 2px; left: 50%; transform: translateX(-50%); }
.d-e { right: 2px; top: 50%; transform: translateY(-50%); }
.d-s { bottom: 2px; left: 50%; transform: translateX(-50%); }
.d-w { left: 2px; top: 50%; transform: translateY(-50%); }
.dial-read {
  margin: .45rem 0 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--season-ink);
  transition: color .8s var(--ease-land), background-color .8s var(--ease-land);
  background: var(--paper);
  border: 1px solid var(--rule);
  display: inline-block;
  padding: .12rem .5rem .08rem;
}

/* ---- acreage tally ---- */
.tally {
  position: absolute;
  left: 2rem; bottom: 2.2rem;
  z-index: 6;
  background: var(--paper);
  border: 1.5px solid var(--peat);
  padding: .65rem .9rem .6rem;
  min-width: 15.5rem;
  box-shadow: 0 4px 14px rgba(43, 38, 32, .14);
  transition: background-color .8s var(--ease-land);
}
.t-folio {
  display: block; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; opacity: .65;
}
.t-name { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.25; }
.t-acres { display: block; font-family: var(--mono); font-size: .85rem; margin-top: .15rem; }
.t-num { font-weight: 700; font-size: 1.05rem; color: var(--hedgerow); }
.t-arp { opacity: .65; }

/* ================= LEDGER (right column) ================= */

.ledger {
  padding: 0 clamp(1.4rem, 4.5vw, 4.5rem);
  max-width: 46rem;
}

.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem 0 1.2rem;
  border-bottom: 2px solid var(--peat);
}
.brand {
  margin: 0;
  font-family: var(--sans); font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase;
  font-size: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.brand-glyph {
  width: 20px; height: 14px;
  background: var(--hedgerow);
  clip-path: polygon(0 100%, 34% 0, 58% 48%, 82% 8%, 100% 100%);
  display: inline-block;
}
.masthead nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.masthead nav a {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .06em;
  text-decoration: none; border-bottom: 1px solid transparent;
}
.masthead nav a:hover { border-bottom-color: var(--wheat); }

.hero { padding: clamp(2.4rem, 5.5vh, 4rem) 0 1rem; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--season-ink);
  margin: 0 0 1.3rem;
  transition: color .8s var(--ease-land);
}
h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -.01em;
  font-optical-sizing: auto;
  max-width: 13ch;
}
h1 em { font-style: italic; color: var(--hedgerow); }
.lede { font-size: 1.12rem; max-width: 54ch; margin: 1.6rem 0 0; }
.lede-2 { max-width: 54ch; margin: .9rem 0 0; color: var(--peat-soft); }
.sheet-note {
  font-family: var(--mono); font-size: .8rem; line-height: 1.55;
  max-width: 52ch; color: var(--peat-soft);
  border-left: 3px solid var(--wheat);
  padding-left: 1rem; margin: 2rem 0 0;
}

/* ---- practice ---- */
.practice { padding: 3.4rem 0 1rem; }
h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.method h3 { font-size: 1.25rem; font-style: italic; }
.method .no {
  font-family: var(--mono); font-style: normal; font-size: .8rem;
  color: var(--wheat-ink); margin-right: .55rem; letter-spacing: .1em;
}
.method p { margin: .35rem 0 0; max-width: 52ch; color: var(--peat-soft); }
.method li { border-top: 1px solid var(--rule); padding-top: 1.1rem; }

/* ---- holdings / folios ---- */
#holdings { padding-top: 3.2rem; }
.book-h { border-bottom: 2px solid var(--peat); padding-bottom: .7rem; }
.book-sub { font-family: var(--mono); font-size: .85rem; font-style: normal; letter-spacing: .06em; opacity: .7; }

.folio {
  position: relative;
  padding: 2.8rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}
.folio-head { margin-bottom: 1.4rem; }
.folio-no {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; margin: 0 0 .9rem;
}
.folio-no .fn { color: var(--wheat-ink); font-weight: 700; }
.folio-no .tno { opacity: .65; }
.folio h3 { font-size: clamp(2rem, 3.4vw, 2.7rem); font-style: italic; font-weight: 400; line-height: 1.08; }
.locale {
  font-family: var(--sans); font-size: .82rem; letter-spacing: .22em;
  text-transform: uppercase; margin: .5rem 0 0; color: var(--peat-soft);
}
.guide { font-family: var(--mono); font-size: 1.05rem; margin: .9rem 0 0; font-weight: 700; }
.guide-sub { display: block; font-weight: 400; font-size: .8rem; opacity: .7; margin-top: .15rem; }
.desc { max-width: 56ch; }

/* schedule + inventory tables */
table { border-collapse: collapse; width: 100%; margin: 1.6rem 0; }
caption {
  text-align: left; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; opacity: .65;
  padding-bottom: .45rem;
}
th, td { text-align: left; padding: .42rem .6rem .42rem 0; font-size: .92rem; }
thead th {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 400; opacity: .65;
  border-bottom: 1px solid var(--peat);
}
tbody td { border-bottom: 1px dotted var(--rule); }
.schedule td:first-child { font-family: var(--serif); font-style: italic; font-size: 1.02rem; }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.num span { display: inline-block; width: 2.7ch; text-align: right; }
tfoot td { font-weight: 600; border-top: 1.5px solid var(--peat); font-family: var(--mono); font-size: .88rem; }
.inventory td { font-size: .88rem; }
.inventory td:not(:first-child), .inventory th:not(:first-child) { font-family: var(--mono); font-size: .82rem; }
.ditto { display: inline-block; padding-left: .5em; color: var(--peat-soft); }

/* data strips */
.strips { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 1.8rem 0; }
.strips h4, .burdens h4 {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700; margin: 0 0 .5rem; opacity: .75;
}
.strips p { font-size: .84rem; color: var(--peat-soft); margin: .6rem 0 0; line-height: 1.5; }
.strata { display: flex; height: 30px; border: 1px solid var(--peat); }
.strata span {
  width: var(--w); overflow: hidden;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap; text-align: center;
}
.st-top { background: var(--hedgerow); color: var(--chalk); }
.st-sub { background: var(--wheat); color: var(--peat); }
.st-rock {
  background: repeating-linear-gradient(135deg, transparent 0 3px, var(--rule) 3px 4px);
  color: var(--peat);
}
.bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; border-bottom: 1px solid var(--peat); }
.bars i {
  flex: 1; height: var(--h);
  background: var(--slate); opacity: .85;
  position: relative; font-style: normal; min-width: 6px;
  transition: background-color .8s var(--ease-land);
}
.bars i b {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-weight: 400; font-size: .58rem; opacity: .6;
  padding-top: 2px;
}
html[data-season="frost"] .bars i { background: #6E8899; }

/* burdens & blessings */
.burdens { margin: 1.8rem 0; }
.burdens ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.burdens li { max-width: 56ch; margin-bottom: .45rem; font-size: .95rem; color: var(--peat-soft); }
.burdens li::marker { color: var(--wheat); }

/* boundary walk */
.walk { margin: 2rem 0 0; border: 1px solid var(--rule); padding: 1.1rem; background: var(--paper); transition: background-color .8s var(--ease-land); }
.walk-map svg { width: 100%; height: auto; max-height: 330px; display: block; margin: 0 auto; overflow: visible; }
.walk-map .w-cell { fill: var(--f-meadow); opacity: .5; transition: fill .8s var(--ease-land); }
.walk-map .w-outline {
  fill: none; stroke: var(--peat); stroke-width: 2;
  stroke-dasharray: 6 5; stroke-linejoin: round;
}
.walk-map .w-dot { fill: var(--wheat); stroke: var(--peat); stroke-width: 1; }
.walk-map .w-dist { font-family: var(--mono); font-size: 9px; fill: var(--slate); opacity: 0; transition: opacity .5s; }
.walk-map .w-dist.show { opacity: .9; }
.walk figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-top: .8rem; font-size: .84rem; color: var(--peat-soft);
}
.walk-cap { max-width: 42ch; }
.replay {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em;
  background: none; border: 1px solid var(--peat); color: var(--peat);
  padding: .35rem .8rem; cursor: pointer; white-space: nowrap;
}
.replay:hover { background: var(--peat); color: var(--chalk); }

/* seasonal marginalia */
.marginal {
  margin-top: 1.6rem;
  font-family: var(--serif); font-style: italic; font-size: 1.02rem;
  color: var(--season-ink);
  transition: color .8s var(--ease-land);
}
.marginal::before { content: "☞ "; font-style: normal; }
.marginal span { display: none; }
html[data-season="candlemas"] .marginal .s-candlemas,
html[data-season="midsummer"] .marginal .s-midsummer,
html[data-season="harvest"] .marginal .s-harvest,
html[data-season="frost"] .marginal .s-frost { display: inline; }

/* ================= FULL-WIDTH SECTIONS ================= */

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.4rem, 4.5vw, 4rem); }

.almanac { border-top: 2px solid var(--peat); padding: 4.5rem 0; margin-top: 2rem; }
.almanac-lede { max-width: 52ch; color: var(--peat-soft); margin-bottom: 2.2rem; }
.quarters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.quarter {
  text-align: left; background: var(--paper);
  border: 1px solid var(--rule); border-top: 3px solid var(--hedgerow);
  padding: 1.2rem 1.1rem 1.3rem; cursor: pointer;
  font-family: inherit; color: inherit; font-size: inherit;
  display: flex; flex-direction: column; gap: .55rem;
  transition: background-color .8s var(--ease-land), border-color .3s, transform .3s var(--ease-land);
}
.quarter:hover { transform: translateY(-3px); }
.quarter[aria-pressed="true"] { border-color: var(--peat); border-top-color: var(--wheat); box-shadow: 0 6px 18px rgba(43,38,32,.12); }
.q-name { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.1; }
.q-date { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.q-body { font-size: .9rem; line-height: 1.55; color: var(--peat-soft); }
.q-saw { font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--season-ink); margin-top: auto; transition: color .8s var(--ease-land); }

.terms { border-top: 1px solid var(--rule); padding: 4.5rem 0; }
.terms-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem 3rem; margin: 0; }
.terms-list dt {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700; color: var(--hedgerow);
  margin-bottom: .4rem;
}
.terms-list dd { margin: 0; max-width: 48ch; color: var(--peat-soft); }

.register { border-top: 1px solid var(--rule); padding: 4.5rem 0 5.5rem; }
.reg-lede { max-width: 52ch; color: var(--peat-soft); }
#regform { max-width: 34rem; margin-top: 2rem; }
#regform .row { margin-bottom: 1.3rem; }
#regform label {
  display: block; font-family: var(--mono); font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem;
}
#regform input, #regform textarea {
  width: 100%; font-family: var(--serif); font-size: 1.05rem;
  padding: .6rem .7rem; color: var(--peat);
  background: var(--paper); border: 1px solid var(--peat); border-radius: 0;
  transition: background-color .8s var(--ease-land);
}
#regform textarea { resize: vertical; font-style: italic; line-height: 1.5; }
#regform ::placeholder { color: var(--peat-soft); opacity: .55; }
.post-btn {
  font-family: var(--mono); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--peat); color: var(--chalk); border: 1.5px solid var(--peat);
  padding: .8rem 1.6rem; cursor: pointer;
}
.post-btn:hover { background: var(--hedgerow); border-color: var(--hedgerow); }
.reg-note { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--hedgerow); min-height: 1.5em; }

/* footer */
.foot { background: var(--peat); color: var(--chalk); padding: 3rem 0 3.4rem; }
.foot p { max-width: 68ch; }
.foot-brand { font-size: .95rem; }
.colophon, .credit { font-family: var(--mono); font-size: .78rem; opacity: .72; line-height: 1.6; }
.credit a { color: var(--wheat); }

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .atlas { grid-template-columns: 44% 1fr; }
  .quarters { grid-template-columns: repeat(2, 1fr); }
  .dial { top: 1.4rem; right: 1.2rem; }
  .tally { left: 1.2rem; bottom: 1.4rem; }
}

@media (max-width: 820px) {
  .atlas { display: block; }
  .map-panel {
    height: 47vh; height: 47dvh;
    z-index: 8;
    background: var(--page);
    padding: .7rem;
    border-bottom: 1.5px solid var(--peat);
    transition: background-color .8s var(--ease-land);
  }
  #map { filter: drop-shadow(0 8px 18px rgba(43, 38, 32, .14)); }
  .ledger { max-width: none; }
  .dial { top: .9rem; right: .8rem; }
  .dial-face { width: 74px; height: 74px; }
  .dial-needle { height: 26px; }
  .dial-btn { width: 23px; height: 23px; font-size: .66rem; }
  .dial-read { display: none; }
  .tally { left: .8rem; bottom: .9rem; min-width: 0; padding: .4rem .6rem .35rem; }
  .t-folio { font-size: .58rem; }
  .t-name { font-size: .88rem; }
  .t-acres { font-size: .68rem; }
  .t-num { font-size: .85rem; }
  h1 { font-size: clamp(2.1rem, 8.4vw, 2.6rem); }
  .strips { grid-template-columns: 1fr; }
  .quarters { grid-template-columns: 1fr; }
  .terms-list { grid-template-columns: 1fr; }
  .folio-no { flex-direction: column; gap: .2rem; }
  th, td { padding-right: .4rem; }
}

/* ================= PAGE-LOAD RISE ================= */

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  .sheet-fig { animation: rise 1.1s var(--ease-land) both; }
  .dial, .masthead { animation: rise .9s var(--ease-land) .15s both; }
  .hero .eyebrow { animation: rise .8s var(--ease-land) .2s both; }
  .hero h1 { animation: rise .8s var(--ease-land) .3s both; }
  .hero .lede { animation: rise .8s var(--ease-land) .42s both; }
  .hero .lede-2 { animation: rise .8s var(--ease-land) .52s both; }
  .hero .sheet-note { animation: rise .8s var(--ease-land) .64s both; }
}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  #world { transition: none; }
  .quarter:hover { transform: none; }
}
