/* ============================================================
   UNION BLOCK REVITALIZATION
   SleepyHouse Holdings, LLC
   Design system: "Modern Norman Rockwell New England"
   Warm, wholesome, human, community-first, quietly confident.
   No build step. Owned stack. Hand-coded and durable.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&family=Libre+Franklin:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Paper + ink */
  --paper:        #f7efe0;   /* warm aged cream */
  --paper-2:      #fbf5ea;   /* lighter panel */
  --paper-deep:   #efe4cf;   /* recessed panel */
  --ink:          #2a2521;   /* warm near-black */
  --ink-soft:     #4a423a;   /* body text */
  --ink-faint:    #6f6458;   /* captions / meta */

  /* Barn + brass + pine (the New England palette) */
  --barn:         #98332c;   /* oxblood barn red */
  --barn-deep:    #7a2823;
  --barn-bright:  #b64039;
  --brass:        #b98a34;   /* aged brass / gold */
  --brass-light:  #d9b25e;
  --pine:         #35513f;   /* forest green */
  --pine-deep:    #263b2e;
  --wheat:        #e7c988;   /* wheat highlight */

  /* Act tints */
  --sepia:        #6b4f33;   /* the past */
  --sunrise:      #e0a13a;   /* the future */
  --dawn-1:       #f3d9a0;
  --dawn-2:       #e79b52;

  /* Structure */
  --maxw:         1180px;
  --maxw-narrow:  760px;
  --gutter:       clamp(20px, 5vw, 64px);
  --radius:       4px;
  --radius-lg:    10px;
  --rule:         rgba(42, 37, 33, 0.16);
  --shadow-soft:  0 18px 50px -28px rgba(42, 37, 33, 0.55);
  --shadow-card:  0 2px 0 rgba(42,37,33,0.05), 0 22px 46px -30px rgba(42,37,33,0.5);

  /* Type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --serif:   'Source Serif 4', Georgia, serif;
  --sans:    'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 0.55vw + 0.9rem, 1.18rem);
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--paper);
  /* Subtle paper grain */
  background-image:
    radial-gradient(rgba(120,90,50,0.05) 1px, transparent 1px),
    radial-gradient(rgba(120,90,50,0.04) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--barn); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--barn-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--barn);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.lede {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--serif);
}
.drop-cap::first-letter {
  font-family: var(--display);
  font-weight: 600;
  float: left;
  font-size: 4.6rem;
  line-height: 0.8;
  padding: 0.05em 0.12em 0 0;
  color: var(--barn);
}
em, .italic { font-style: italic; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.92em 1.6em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--barn); color: #fdf6e9; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--barn-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--barn); color: var(--barn); }
.btn--gold { background: var(--brass); color: #2a2013; }
.btn--gold:hover { background: var(--brass-light); }
.btn--light { background: #fbf5ea; color: var(--ink); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 239, 224, 0.86);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -20px rgba(42,37,33,0.6); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.72rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo-mark { width: 40px; height: 40px; flex: none; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand .brand-sub { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--sans); font-weight: 500; font-size: 0.92rem;
  color: var(--ink-soft); text-decoration: none; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--barn); transition: width 0.22s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--barn); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: block; }
}
.mobile-menu {
  display: none; border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 12px var(--gutter) 22px; }
.mobile-menu li { border-bottom: 1px solid var(--rule); }
.mobile-menu a {
  display: block; padding: 15px 2px; font-family: var(--sans); font-weight: 500;
  color: var(--ink); text-decoration: none; font-size: 1.05rem;
}
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--pine-deep); color: #f6ecd8; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.85); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(21,32,25,0.55) 0%, rgba(21,32,25,0.35) 40%, rgba(21,32,25,0.82) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(96px, 17vh, 190px); }
.hero h1 { color: #fbf3e2; max-width: 15ch; }
.hero h1 .script { font-style: italic; color: var(--wheat); font-weight: 500; }
.hero .lede { color: #ecdcc0; max-width: 46ch; margin-top: 1.4rem; }
.hero .eyebrow { color: var(--wheat); }
.hero .eyebrow::before { background: var(--wheat); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(246,236,216,0.75); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .dot { width: 2px; height: 34px; background: linear-gradient(var(--wheat), transparent); animation: scrolldot 2.2s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Act ribbon / chapter marker ---------- */
.chapter {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem;
  font-family: var(--sans);
}
.chapter .num {
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  color: var(--brass); border: 1.5px solid var(--brass); border-radius: 50%;
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
}
.chapter .label { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Journey acts (background tints) ---------- */
.act-past    { background: linear-gradient(180deg, #efe2c9 0%, #e9dbbf 100%); }
.act-present { background: var(--paper-2); }
.act-future  { background: linear-gradient(180deg, #2b3d30 0%, #21301f 100%); color: #efe3cc; }
.act-future h2, .act-future h3 { color: #fbf3e2; }
.act-future .eyebrow { color: var(--wheat); }
.act-future .eyebrow::before { background: var(--wheat); }
.act-future .chapter .num { color: var(--wheat); border-color: var(--wheat); }
.act-future .chapter .label { color: rgba(239,227,204,0.7); }
.act-future .lede { color: #ecdcc0; }
.act-future a { color: var(--wheat); }

/* ---------- Two column ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ---------- Figure / image frame ---------- */
figure.plate { margin: 0; }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper-deep); box-shadow: var(--shadow-card);
  border: 1px solid rgba(42,37,33,0.1);
}
.frame::after { /* thin inner keyline like a mounted print */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; pointer-events: none; mix-blend-mode: overlay;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.sepia img { filter: sepia(0.55) saturate(0.85) contrast(0.98) brightness(1.02); }
.frame.duotone img { filter: grayscale(0.35) sepia(0.25) contrast(1.02); }
figure.plate figcaption {
  font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint);
  margin-top: 0.7rem; letter-spacing: 0.01em; display: flex; gap: 0.5rem; align-items: baseline;
}
figure.plate figcaption .tag { color: var(--barn); font-weight: 600; }

/* Placeholder slot styling (before real images added) */
.slot {
  aspect-ratio: var(--ar, 4 / 3);
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(152,51,44,0.05) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #efe4cf, #e4d6bc);
  color: var(--ink-faint); text-align: center; padding: 24px;
}
.slot .slot-inner { font-family: var(--sans); }
.slot .slot-icon { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.5; }
.slot .slot-name { font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; }
.slot .slot-hint { font-size: 0.82rem; margin-top: 6px; max-width: 30ch; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-card); position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(42,37,33,0.55); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center;
  background: var(--paper-deep); color: var(--barn); margin-bottom: 1rem; border: 1px solid var(--rule);
}
.card h3 { font-size: 1.3rem; }
.card p { font-size: 1rem; color: var(--ink-soft); }
.act-future .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.act-future .card p { color: #dccdb4; }
.act-future .card .card-icon { background: rgba(255,255,255,0.08); color: var(--wheat); border-color: rgba(255,255,255,0.18); }

/* Numbered / stat */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--paper-2); padding: 26px 22px; text-align: center; }
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--barn); line-height: 1; }
.stat .cap { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-faint); margin-top: 8px; text-transform: uppercase; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brass), rgba(185,138,52,0.15)); }
.tl-item { position: relative; padding: 0 0 2.2rem 62px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 12px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 3px solid var(--barn); box-shadow: 0 0 0 4px var(--paper); }
.tl-year { font-family: var(--display); font-weight: 600; color: var(--barn); font-size: 1.15rem; }
.tl-item h4 { margin: 2px 0 6px; }
.tl-item p { font-size: 1rem; margin: 0; color: var(--ink-soft); }
.act-future .tl-dot { border-color: var(--wheat); background: var(--pine-deep); box-shadow: 0 0 0 4px var(--pine-deep); }
.act-future .tl-year { color: var(--wheat); }
.act-future .tl-item p { color: #dccdb4; }
.act-future .timeline::before { background: linear-gradient(var(--wheat), rgba(231,201,136,0.15)); }

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.32; color: var(--ink);
  max-width: 22ch; margin: 0 auto; text-align: center; position: relative;
}
.pullquote::before { content: "\201C"; font-size: 3em; color: var(--brass); line-height: 0; position: absolute; left: -0.4em; top: 0.35em; opacity: 0.5; }
.pullquote-attr { font-family: var(--sans); font-style: normal; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 1.6rem; }
.act-future .pullquote { color: #fbf3e2; }

/* ---------- Banner / CTA strip ---------- */
.banner {
  background: var(--barn); color: #fbf3e2; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(34px, 5vw, 62px); position: relative; box-shadow: var(--shadow-soft);
  background-image: linear-gradient(135deg, var(--barn) 0%, var(--barn-deep) 100%);
}
.banner h2 { color: #fdf6e9; }
.banner p { color: #f0d9c4; }
.banner .btn--gold { box-shadow: 0 12px 30px -14px rgba(0,0,0,0.5); }

/* ---------- Node / benefit list ---------- */
.benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem 2.4rem; margin-top: 2rem; }
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; } }
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit .check { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-deep); color: var(--pine); display: grid; place-items: center; border: 1px solid var(--rule); margin-top: 2px; }
.benefit h4 { margin: 0 0 3px; font-family: var(--display); font-size: 1.12rem; }
.benefit p { margin: 0; font-size: 0.98rem; }
.act-future .benefit .check { background: rgba(255,255,255,0.08); color: var(--wheat); border-color: rgba(255,255,255,0.18); }
.act-future .benefit p { color: #dccdb4; }

/* ---------- Product rows (platform / pipeline) ---------- */
.product {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px,4vw,56px); align-items: center;
  padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule);
}
.product.reverse .product-media { order: 2; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } .product.reverse .product-media { order: 0; } }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px;
}
.badge--live { background: #e4efe2; color: var(--pine); border: 1px solid #cbe0c6; }
.badge--soon { background: #f6e6cd; color: var(--sepia); border: 1px solid #ecd4ad; }
.badge--pipeline { background: #efe4cf; color: var(--ink-faint); border: 1px solid var(--rule); }
.badge .pip { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--live .pip { background: #3f9d54; box-shadow: 0 0 0 3px rgba(63,157,84,0.2); }

/* ---------- Feature list ---------- */
.flist { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.flist li { display: flex; gap: 0.7rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--rule); align-items: flex-start; }
.flist li:last-child { border-bottom: 0; }
.flist svg { flex: none; color: var(--barn); margin-top: 4px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--serif); font-size: 1rem; color: var(--ink); background: var(--paper-2);
  border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 0.8em 0.9em; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--barn); box-shadow: 0 0 0 3px rgba(152,51,44,0.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8ccbb; padding-block: clamp(48px, 6vw, 80px) 32px; }
.site-footer a { color: #e6d9c4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: #fbf3e2; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.footer-col h5 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wheat); margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.96rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 42px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; font-family: var(--sans); font-size: 0.8rem; color: #a89a86; }
.footer-legal .rooted { color: var(--wheat); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Section divider (brass rule) ---------- */
.rule-brass { height: 2px; width: 72px; background: var(--brass); border: 0; margin: 1.6rem 0; }
.rule-brass.center { margin-inline: auto; }
.divider-orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--brass); margin: 0 auto; max-width: 320px; }
.divider-orn::before, .divider-orn::after { content: ""; height: 1px; flex: 1; background: var(--rule); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.maxw-50 { max-width: 52ch; } .maxw-60 { max-width: 62ch; }
.text-barn { color: var(--barn); } .text-brass { color: var(--brass); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--barn); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }

/* View Transitions (page-to-page, progressive enhancement) */
@view-transition { navigation: auto; }
