/*
 * ELBOW ROOM — Massage Therapy
 * Standalone design system. Portable: this file + js/elbowroom*.js + images/elbowroom/* + the elbowroom*.html pages
 * lift cleanly to a fresh domain. No dependency on the People's Elbow stack.
 * Palette sampled from the logo: navy / antique gold / sage green on cream.
 */

:root {
  /* Brand */
  --navy:        #1b2c4d;
  --navy-mid:    #1f3357;
  --navy-deep:   #112038;
  --navy-900:    #0b1626;
  --gold:        #c49a48;
  --gold-light:  #dcc06a;
  --gold-deep:   #8a6a2e;
  --green:       #3c6a4d;
  --green-light: #4f7e60;

  /* Surfaces */
  --cream:   #f6f3ec;
  --paper:   #fbf9f4;
  --sand:    #efe9dd;
  --ink:     #16203a;
  --ink-soft:#34405a;
  --muted:   #5b6473;
  --line:    rgba(27, 44, 77, 0.12);
  --line-2:  rgba(27, 44, 77, 0.07);

  /* Type */
  --f-wordmark: 'Cinzel', Georgia, serif;
  --f-display:  'Fraunces', Georgia, serif;
  --f-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --container: 1180px;
  --container-narrow: 880px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(17,32,56,.06), 0 4px 14px rgba(17,32,56,.06);
  --shadow-md: 0 10px 30px rgba(17,32,56,.10), 0 2px 8px rgba(17,32,56,.06);
  --shadow-lg: 0 30px 70px rgba(11,22,38,.18);
  --shadow-gold: 0 12px 30px rgba(196,154,72,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(246,243,236,.6); border-radius: 4px; }
/* On dark sections the navy outline would vanish; switch it to gold (the cream halo still reads). */
.bg-navy :focus-visible, .er-hero :focus-visible, .page-hero :focus-visible, .er-cta :focus-visible, .er-footer :focus-visible { outline-color: var(--gold-light); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: #8a6a2e;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }


/* ---------- Layout ---------- */
.container { width: min(92%, var(--container)); margin: 0 auto; position: relative; z-index: 2; }
/* The scroll-spine (.er-spine, z-index:1) paints over section backgrounds but BEHIND
   content (every content wrapper above lifts to z-index:2). Dark, full-width sections
   (the navy bands and the navy heroes) lift to z-index:3 so they fully cover the spine
   instead of letting it thread across them and hurt readability; the spine keeps threading
   down the light cream/paper sections, behind their content. */
.bg-navy, .er-hero, .page-hero, .er-footer { position: relative; z-index: 3; }
.narrow { max-width: var(--container-narrow); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }

.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-sand  { background: var(--sand); }
.bg-navy  { background: var(--navy-deep); color: #e8edf6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .lead, .bg-navy p { color: #b9c4d8; }
.bg-navy .eyebrow { color: var(--gold-light); }

/* soft hairline separators that echo the spine */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: .01em;
  padding: .95rem 1.75rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold { background: linear-gradient(135deg, var(--gold-deep), var(--gold) 55%, var(--gold-light)); color: #20180a; box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 18px 40px rgba(196,154,72,.42); }

.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--navy-mid); box-shadow: var(--shadow-md); }

/* Ghost outline is an inset shadow, not a layout border, so there is no fractional-border edge seam. */
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: rgba(27,44,77,.04); box-shadow: inset 0 0 0 1.5px var(--navy); }
.bg-navy .btn-ghost, .er-cta .btn-ghost { color: #eaf0fb; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.bg-navy .btn-ghost:hover, .er-cta .btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header / nav ---------- */
.er-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(246,243,236,.72); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.er-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(17,32,56,.06); background: rgba(246,243,236,.9); }
.er-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; width: min(94%, 1280px); margin: 0 auto; }
.er-brand { display: flex; align-items: center; gap: .65rem; }
.er-brand img { height: 40px; width: auto; }
.er-brand .er-wordmark { font-family: var(--f-wordmark); font-weight: 700; font-size: 1.18rem; letter-spacing: .14em; color: var(--navy); text-transform: uppercase; line-height: 1; }
.er-brand .er-wordmark b { color: var(--gold-deep); font-weight: 700; }
.er-navlinks { display: flex; align-items: center; gap: .35rem; }
.er-navlinks a {
  font-weight: 500; font-size: .95rem; color: var(--ink-soft); padding: .5rem .8rem; border-radius: var(--r-pill);
  position: relative; transition: color .2s, background .2s;
}
.er-navlinks a:hover { color: var(--navy); background: rgba(27,44,77,.05); }
.er-navlinks a.active { color: var(--navy); }
.er-navlinks a.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .26rem; height: 2px; background: var(--gold); border-radius: 2px; }
.er-nav-cta { display: flex; align-items: center; gap: .6rem; }
.er-burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; color: var(--navy); font-size: 1.3rem; }

@media (max-width: 980px) {
  .er-navlinks {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: .5rem 1.2rem 1.4rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .er-navlinks.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .er-navlinks a { padding: .85rem .4rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .er-navlinks a.active::after { display: none; }
  .er-burger { display: inline-flex; align-items: center; justify-content: center; }
  /* Keep the Book CTA reachable on phones (Book is not in the menu), just make it compact. */
  .er-nav-cta .btn { padding: .58rem 1rem; font-size: .9rem; }
  .er-nav-cta .btn .arrow { display: none; }
}
@media (max-width: 560px) {
  .er-brand .er-wordmark { display: none; } /* mark stays; frees room for the Book CTA */
}

/* ---------- Scroll spine (signature) ---------- */
.er-spine { position: fixed; top: 0; left: 50%; transform: translateX(-50%); height: 100vh; width: 60px; pointer-events: none; z-index: 1; opacity: .5; }
.er-spine svg { height: 100%; width: 100%; overflow: visible; }
.er-spine .spine-base { fill: none; stroke: rgba(27,44,77,.10); stroke-width: 2; }
.er-spine .spine-draw { fill: none; stroke: url(#erGold); stroke-width: 2.4; stroke-linecap: round; }
.er-spine .vert { stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; opacity: 0; }
@media (max-width: 1240px) { .er-spine { display: none; } }
/* mobile top progress */
.er-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); z-index: 1001; pointer-events: none; }

/* ---------- Hero ---------- */
.er-hero { position: relative; overflow: hidden; background: radial-gradient(120% 130% at 80% -10%, #21365e 0%, var(--navy-deep) 45%, var(--navy-900) 100%); color: #eaf0fb; padding: clamp(7rem, 13vw, 10rem) 0 clamp(4rem, 8vw, 7rem); }
.er-hero::before { /* faint gold mark watermark */
  content: ""; position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(60vw, 720px); aspect-ratio: 1; background: url("../images/elbowroom/mark-gold-400.png") center/contain no-repeat;
  opacity: .06; pointer-events: none;
}
.er-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.er-orb.a { width: 420px; height: 420px; background: radial-gradient(circle, rgba(196,154,72,.55), transparent 70%); top: -120px; left: -80px; }
.er-orb.b { width: 360px; height: 360px; background: radial-gradient(circle, rgba(60,106,77,.5), transparent 70%); bottom: -140px; right: 12%; }
.er-grain { position: absolute; inset: 0; opacity: .045; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.er-hero .container { position: relative; z-index: 2; }
.er-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.er-hero .pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--gold-light); font-size: .82rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 1.4rem; }
.er-hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 0 rgba(79,126,96,.7); }
.er-h1-wordmark { font-family: var(--f-wordmark); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: .98; font-size: clamp(2.8rem, 7vw, 5.2rem); color: #fff; }
.er-h1-wordmark .e { color: var(--gold-light); }
.er-hero h1 { margin-bottom: 1.1rem; }
.er-hero .lead { color: #c4cfe3; max-width: 30ch; margin: 1.2rem 0 1.9rem; }
.er-hero-art { position: relative; display: grid; place-items: center; }
.er-medallion { width: min(82%, 380px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fffdf8, var(--cream) 70%); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(196,154,72,.4); position: relative; }
.er-medallion::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(196,154,72,.5); animation: er-spin 60s linear infinite; pointer-events: none; }
@keyframes er-spin { to { transform: rotate(360deg); } }
.er-medallion img { width: 72%; }
.er-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.er-trust div { font-size: .9rem; color: #aab6cd; }
.er-trust b { display: block; font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-light); font-weight: 600; }

@media (max-width: 860px) {
  .er-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .er-hero .lead { margin-inline: auto; }
  .er-hero .eyebrow, .er-hero .pill { justify-content: center; }
  .btn-row { justify-content: center; }
  .er-hero .btn-row { flex-direction: column; }
  .er-hero .btn-row .btn { width: 100%; }
  .er-hero-art { order: -1; margin-bottom: 1rem; }
  .er-medallion { width: min(64%, 280px); }
  .er-trust { justify-content: center; }
}

/* ---------- Logo strip / marquee ---------- */
.er-strip { padding: 2.2rem 0; border-block: 1px solid var(--line-2); background: var(--paper); }
.er-strip .lab { text-align: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.er-strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; align-items: center; }
.er-strip-items span { font-family: var(--f-display); font-size: 1.05rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .5rem; }
.er-strip-items i { color: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.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); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(196,154,72,.45); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1.1rem; background: linear-gradient(135deg, rgba(196,154,72,.18), rgba(196,154,72,.06)); color: var(--gold-deep); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .98rem; }
.card .tag { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

/* tilt wrapper */
.tilt { transform-style: preserve-3d; transition: transform .3s var(--ease); }

/* service card with price */
.svc { display: flex; flex-direction: column; }
.svc .price { font-family: var(--f-display); font-size: 2rem; color: var(--navy); font-weight: 600; margin: .3rem 0 .2rem; }
.svc .price span { font-size: .9rem; color: var(--muted); font-family: var(--f-body); font-weight: 500; }
.svc ul { margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.svc li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; }
.svc li i { color: var(--green); margin-top: .25rem; }
.svc .btn { margin-top: auto; }
.svc.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); }

/* value / step items */
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step .n { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; color: var(--gold-deep); background: var(--sand); border: 1px solid var(--line); }

/* stat */
.stat b { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold); font-weight: 600; line-height: 1; display: block; }
.stat span { color: var(--ink-soft); font-size: .95rem; }
.bg-navy .stat span { color: #aab6cd; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media { position: relative; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper); border: 1px solid var(--line); aspect-ratio: 4/3; display: grid; place-items: center; }
.media-frame.cream { background: radial-gradient(circle at 30% 25%, #fffdf8, var(--cream)); }
.media-frame img { width: 70%; }

/* ---------- Quote / testimonial ---------- */
.quote { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r-md); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm); }
.quote p { font-family: var(--f-display); font-style: italic; font-size: 1.12rem; color: var(--navy); margin-bottom: .8rem; }
.quote .who { font-size: .9rem; color: var(--muted); font-style: normal; font-family: var(--f-body); }
.quote .who b { color: var(--ink); }

/* ---------- CTA band ---------- */
.er-cta { background: linear-gradient(125deg, var(--navy-deep), var(--navy-900)); color: #fff; border-radius: clamp(20px, 4vw, 36px); padding: clamp(2.6rem, 6vw, 4.6rem); text-align: center; position: relative; overflow: hidden; }
.er-cta::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 320px; height: 320px; background: url("../images/elbowroom/mark-gold-400.png") center/contain no-repeat; opacity: .08; pointer-events: none; }
.er-cta h2 { color: #fff; position: relative; }
.er-cta .lead { color: #c4cfe3; position: relative; max-width: 56ch; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 0; font-family: var(--f-display); font-size: 1.12rem; color: var(--navy); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-deep); transition: transform .25s, background .25s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--sand); }
.faq .ans { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 64ch; }

/* ---------- Brand assets gallery ---------- */
.asset-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.asset-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.asset-prev { aspect-ratio: 16/10; display: grid; place-items: center; padding: 1.4rem; }
.asset-prev.on-cream { background: var(--cream); }
.asset-prev.on-navy { background: var(--navy-deep); }
.asset-prev.on-paper { background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 22px 22px; }
.asset-prev img { max-height: 100%; width: auto; }
.asset-meta { padding: 1.1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.asset-meta h3 { font-size: 1.05rem; margin: 0; }
.asset-meta .sub { font-size: .82rem; color: var(--muted); }
.asset-dl { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--navy); border: 1.5px solid var(--line); padding: .5rem .9rem; border-radius: var(--r-pill); transition: all .2s; white-space: nowrap; }
.asset-dl:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(196,154,72,.08); }
.asset-card.soon { opacity: .85; }
.asset-card.soon .asset-prev { color: var(--muted); font-family: var(--f-display); font-style: italic; }
@media (max-width: 440px) {
  .asset-meta { flex-wrap: wrap; }
  .asset-meta .asset-dl { width: 100%; justify-content: center; }
}
.swatch-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.swatch { border-radius: var(--r-md); padding: 1rem; min-width: 120px; flex: 1; color: #fff; box-shadow: var(--shadow-sm); }
.swatch small { display: block; font-size: .72rem; letter-spacing: .04em; }
.swatch b { font-family: var(--f-body); font-weight: 700; }

/* ---------- Footer ---------- */
.er-footer { background: var(--navy-900); color: #aeb9cf; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.er-footer a { color: #cdd6e7; }
.er-footer a:hover { color: var(--gold-light); }
.er-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 760px) { .er-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .er-foot-grid { grid-template-columns: 1fr; } }
.er-foot-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.er-foot-brand p { font-size: .92rem; max-width: 34ch; }
.er-foot-col h4 { color: #fff; }
.er-foot-col h4 { font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; color: #fff; }
.er-foot-col a { display: block; padding: .3rem 0; font-size: .95rem; }
.er-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; color: #8090ac; }
.er-foot-social { display: flex; gap: .6rem; }
.er-foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #cdd6e7; transition: all .2s; }
.er-foot-social a:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: translateY(-2px); }
.er-disclaim { font-size: .8rem; color: #7a89a6; max-width: 60ch; margin-top: 1rem; }

/* ---------- Reveal (progressive enhancement) ----------
   Elements are VISIBLE by default. js/elbowroom.js seeds the hidden state itself
   (only when it is going to animate them), so a failed module load or reduced-motion
   leaves the fully rendered page intact — nothing is ever stuck invisible via CSS. */
[data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .er-medallion::after { animation: none; }
  .er-orb { animation: none; }
}

/* page hero (interior pages) */
.page-hero { background: radial-gradient(120% 130% at 80% -20%, #21365e, var(--navy-deep) 55%, var(--navy-900)); color: #eaf0fb; padding: clamp(6rem, 11vw, 9rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -3%; bottom: -20%; width: 360px; height: 360px; background: url("../images/elbowroom/mark-gold-400.png") center/contain no-repeat; opacity: .07; pointer-events: none; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c4cfe3; max-width: 60ch; }
.page-hero .crumbs { font-size: .85rem; color: #93a1bd; margin-bottom: 1rem; }
.page-hero .crumbs a { color: var(--gold-light); }

/* utility */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.note { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.2rem; font-size: .92rem; color: var(--ink-soft); display: flex; gap: .7rem; }
.note i { color: var(--gold-deep); margin-top: .2rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(60,106,77,.12); color: var(--green); font-weight: 600; font-size: .78rem; letter-spacing: .04em; padding: .3rem .7rem; border-radius: var(--r-pill); }
