/* Almanac — Brand System (Southern Sands reimagined) — generated from tokens.json */
:root, [data-theme="day"] {
  --ground: #f4eee3; /* Page background. Day is warm sand paper; Night is evergreen ink. Text on it: ink, muted and any edition accent (all 4.5:1 or better in both themes). */
  --ground-deep: #eae1d2; /* Alternating full-width band so long pages read as chapters. Text on it: ink, muted, accents (ember 4.7:1 day). */
  --paper: #fbf8f2; /* Raised surfaces: entry cards, inspector's notes, forms. Always with a line border, never a shadow. */
  --ink: #1d2a26; /* The brand ink: headlines, body, the logo. Evergreen-black, not navy. 12.9:1 on ground (day), 14.3:1 (night). */
  --muted: #4f5852; /* Captions, meta lines, drive times, roles. 6.4:1 on ground day, 7.8:1 night. */
  --line: #d9cfbf; /* 1px hairlines between rows and around cards. Decorative only: never the only edge of a control. */
  --band: #1d2a26; /* Full-width evergreen statement bands, the footer, the app icon ground. Text on it: on-band. */
  --on-band: #f4eee3; /* Text and logo on band (14.3:1). */
  --ember: #a3461f; /* The signature accent: porch light. Primary buttons, eyebrows on masterbrand pages, the seal on the app icon. 5.3:1 on ground day; 6.3:1 night. One accent per page: an edition page swaps ember for its edition color. */
  --on-ember: #ffffff; /* Label text on ember buttons (6.1:1 day; 6.3:1 night). */
  --coast: #2f6670; /* Coast editions (Gulf Coast: Galveston, Crystal Beach). Eyebrows, numerals, seal tint. 5.6:1 on ground day. */
  --mountain: #4e5d3f; /* Mountain editions (Smoky Mountains, Blue Ridge). 6.1:1 on ground day. */
  --lake: #1f3a5f; /* Lake editions (Broken Bow). The old Southern Sands navy, kept as heritage. 9.9:1 on ground day. */
  --city: #5e3a5a; /* City editions (Austin, Nashville). 8.2:1 on ground day. */
  --island: #7a5520; /* Trade Winds Edition (Curaçao, Aruba, The Bahamas). 5.8:1 on ground day. */
  --lowcountry: #8a3d5c; /* Lowcountry Edition (Savannah, Charleston). Azalea: the spring bloom of both cities. 6.3:1 on ground day; 7.7:1 night. */
  --highcountry: #2f5d8a; /* High Country Edition (Aspen, Breckenridge). Glacier blue for ski country. 6.0:1 on ground day; 9.1:1 night. */
  --desert: #8b4a2b; /* Sonoran Edition (Scottsdale). Canyon clay; replaces ember on desert pages, never shown beside it. 5.8:1 on ground day; 7.5:1 night. */
  --highlight: #e8c99a; /* Selected option and focus ring on band (10.4:1 on band). Never on sand ground: no contrast. */
  --focus: var(--ink); /* Keyboard focus ring: 2px solid, 2px offset. */
  --photo-fill: #8ea7ae; /* Empty photo frame while an image loads or a shoot is pending; micro label in white (day) or on-band (night). */
  --white: #ffffff; /* Credits laid over photography only. */
}
[data-theme="night"] {
  --ground: #16211e;
  --ground-deep: #1f2d29;
  --paper: #1f2d29;
  --ink: #f4eee3;
  --muted: #b8b2a6;
  --line: #34433e;
  --band: #0f1715;
  --ember: #e08a5f;
  --on-ember: #16211e;
  --coast: #7fb5bd;
  --mountain: #a7b88f;
  --lake: #93b1d6;
  --city: #c99bc3;
  --island: #e0b866;
  --lowcountry: #e89bb7;
  --highcountry: #9cc4ee;
  --desert: #e3a07a;
  --focus: #e8c99a;
  --photo-fill: #3c524f;
}
:root {
  --space-1: 4px; /* Seal to label; hairline gaps. */
  --space-2: 8px; /* Meta items in a line. */
  --space-3: 12px; /* Photo to caption. */
  --space-4: 16px; /* Form row padding; button gap. */
  --space-6: 24px; /* Card padding; column gaps in rows. */
  --space-8: 32px; /* Headline to lede; grid gap. */
  --space-10: 40px; /* Page gutter. */
  --space-12: 48px; /* Section header to content. */
  --space-16: 64px; /* Band vertical padding. */
  --space-24: 96px; /* Standard section vertical padding. */
  --radius-none: 0px; /* Everything by default: frames, cards, fields, bands. Square and printed. */
  --radius-xs: 2px; /* Buttons only. */
  --radius-round: 999px; /* The seal, phase dots and edition dots only. */
  --rule-strong: 2px; /* The ink rule that opens every list, form and table. The system's main divider. */
  --rule-hairline: 1px; /* Line-colored dividers between rows and around cards. */
  --container-max: 1360px; /* Max content width; bands run full-bleed. */
  --measure: 520px; /* Max width of a lede or body column. */
  --font-serif: Fraunces, Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --text-display: 300 96px/96px var(--font-serif); /* One per page: the hero headline, in ink. One word may be italic at 400. */
  --text-title: 300 56px/60px var(--font-serif); /* Section headlines. */
  --text-statement: 300 40px/50px var(--font-serif); /* Sentence-led statements on band. */
  --text-place: 400 34px/38px var(--font-serif); /* Place and home names in indexes and entry cards. */
  --text-heading: 400 24px/30px var(--font-serif); /* Card and sub-section headings; person names. */
  --text-dateline: italic 400 15px/20px var(--font-serif); /* Opens every photo caption: place, then time. */
  --text-lede: 400 18px/29px var(--font-sans); /* The paragraph under a display headline. Max width: measure. */
  --text-body: 400 16px/26px var(--font-sans); /* Running copy. */
  --text-detail: 400 14px/22px var(--font-sans); /* Row descriptions, card bodies, footer copy. */
  --text-caption: 400 13px/20px var(--font-sans); /* Captions, roles, drive times. In muted. */
  --text-nav: 600 13px/16px var(--font-sans); /* Navigation and button labels. Uppercase. */
  --text-eyebrow: 600 12px/16px var(--font-sans); /* Label above a headline, in the page accent. Uppercase. */
  --text-entry: 500 13px/16px var(--font-mono); /* Home entry numbers, edition names, coordinates. Uppercase. */
  --text-coordinate: 400 12px/16px var(--font-mono); /* Coordinates beside place names, on photos and print. */
  --text-figure: 400 40px/44px var(--font-mono); /* Proof numbers: response times, inspection counts, owner scorecard figures. In the page accent. */
  --text-micro: 500 11px/14px var(--font-mono); /* Credits over photos, placeholder labels. Uppercase. */
}
.display {
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 96px;
  font-weight: 300;
  letter-spacing: -0.025em;
}
.title {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 60px;
  font-weight: 300;
  letter-spacing: -0.015em;
}
.statement {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 50px;
  font-weight: 300;
  letter-spacing: 0;
}
.place {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 38px;
  font-weight: 400;
  letter-spacing: 0;
}
.heading {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: 0;
}
.dateline {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
  font-style: italic;
}
.lede {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 29px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: 0;
}
.detail {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.nav {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.entry {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.coordinate {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.figure {
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.micro {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
