/* ============================================================
   Perry Mansion Cultural Center
   Heritage re-skin of the SSDM "Pulse" design system.
   Same structural language (mono eyebrows, gold hairlines,
   hard offset shadows, Space Grotesk display + Source Serif body)
   warmed for a historic-mansion / community-arts / wellness brand.
   ============================================================ */

:root {
  /* Core palette — warm heritage charcoal + brass + ember */
  --noir: #0E0A06;     /* deepest background */
  --black: #17120B;    /* warm near-black */
  --white: #FFFFFF;
  --paper: #F6EFE2;    /* warm cream */
  --paper-2: #EFE6D5;  /* deeper cream */
  --gold: #D9A441;     /* antique brass / heritage gold */
  --gold-soft: #E8C77E;
  --ember: #B0432B;    /* brick / fire — "the house that refused to fall" */
  --ember-deep: #7C2D1E;
  --ink: #211910;
  --rule: #2C2218;
  --muted: #7A6E5E;    /* warm muted text */
  --muted-light: rgba(246, 239, 226, 0.7);

  --display: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 56px);

  --topbar-h: 34px;
  --nav-h: 60px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--black);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--gold); color: var(--black); }

/* Skip link + focus */
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--black); color: var(--gold);
  padding: 12px 16px; z-index: 1000;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============== UTILITIES ============== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 128px) 0; position: relative; }
.section--black { background: var(--black); color: var(--paper); }
.section--noir { background: var(--noir); color: var(--paper); }
.section--paper { background: var(--paper); color: var(--black); }
.section--cream { background: var(--paper-2); color: var(--black); }
.section + .section { border-top: 1px solid var(--gold); }

.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ember);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section--black .eyebrow, .section--noir .eyebrow { color: var(--gold); }

.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 920px; }
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98; letter-spacing: -0.025em;
  text-transform: uppercase; margin-top: 18px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, var(--gold) 58%, var(--gold) 92%, transparent 92%);
  padding: 0 0.04em;
}
.section-lead {
  font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.6; margin-top: 22px; max-width: 720px; color: inherit;
}
.section--paper .section-lead, .section--cream .section-lead { color: #3a3024; }
.section--black .section-lead, .section--noir .section-lead { color: var(--muted-light); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 24px; transition: all 180ms var(--ease-out);
  border: 1px solid transparent; cursor: pointer;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--ember); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--gold); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost-light:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ============== TOP BAR ============== */
.topbar {
  height: var(--topbar-h); background: var(--noir); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; position: relative; z-index: 60;
}
.topbar__inner {
  display: flex; align-items: center; gap: 18px; white-space: nowrap;
  overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter);
}
.topbar__inner::-webkit-scrollbar { display: none; }
.topbar__sep { color: var(--gold); user-select: none; }
.topbar a { color: var(--gold-soft); transition: color 160ms var(--ease-out); }
.topbar a:hover { color: var(--white); }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; height: var(--nav-h);
  background: rgba(14, 10, 6, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--paper); z-index: 50;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: var(--noir); border-bottom-color: var(--gold); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logotype { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logotype__main {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.logotype__sub {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em;
  margin-top: 3px; color: var(--gold);
}
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__link {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(246, 239, 226, 0.78);
  position: relative; padding: 6px 0; transition: color 160ms var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--black);
  padding: 10px 18px; font-family: var(--mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 160ms var(--ease-out);
}
.nav__cta:hover { background: var(--ember); color: var(--white); transform: translateY(-1px); }
.nav__hamburger { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--paper); }
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; }
.nav__hamburger span::before, .nav__hamburger span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor;
}
.nav__hamburger span::before { top: -7px; }
.nav__hamburger span::after { top: 7px; }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; background: var(--noir); color: var(--paper);
  z-index: 100; display: none; flex-direction: column; padding: 24px var(--gutter);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.mobile-nav__close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 22px; color: var(--paper);
}
.mobile-nav__list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav__list a {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 11vw, 64px); letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0; text-transform: uppercase;
}
.mobile-nav__list a::before {
  content: ''; display: inline-block; width: 0; height: 2px; background: var(--gold);
  transition: width 200ms var(--ease-out);
}
.mobile-nav__list a:hover::before, .mobile-nav__list a:focus::before { width: 32px; }
.mobile-nav__cta {
  margin-top: auto; display: block; background: var(--gold); color: var(--black);
  text-align: center; padding: 18px; font-family: var(--mono); font-size: 12px;
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ============== TICKER ============== */
.ticker {
  background: var(--noir); color: var(--paper);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  overflow: hidden; position: relative;
}
.ticker__track { display: flex; white-space: nowrap; animation: ticker-scroll 40s linear infinite; width: max-content; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 13px 22px; display: inline-flex;
  align-items: center; gap: 14px; color: rgba(246, 239, 226, 0.85);
}
.ticker__item--live { color: var(--black); background: var(--gold); font-weight: 600; }
.ticker__item--live::before {
  content: ''; width: 8px; height: 8px; background: var(--ember);
  border-radius: 50%; animation: pulse-dot 1.4s ease-in-out infinite;
}
.ticker__sep { color: var(--gold); font-size: 10px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

/* ============== HERO ============== */
.hero { background: var(--paper); position: relative; border-bottom: 1px solid var(--gold); }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: clamp(560px, 80vh, 900px); align-items: stretch;
}
.hero__text {
  padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 24px; position: relative; z-index: 2;
}
.hero__headline {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 8vw, 132px); line-height: 0.94;
  letter-spacing: -0.035em; text-transform: uppercase; color: var(--black);
}
.hero__headline em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, var(--gold) 60%);
  padding: 0 0.04em;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.hero__excerpt { max-width: 540px; font-family: var(--serif); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: #3a3024; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__media { position: relative; overflow: hidden; background: var(--noir); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 116%;
  object-fit: cover; will-change: transform;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(176,67,43,0.18) 0%, transparent 35%);
  pointer-events: none;
}
.hero__corner {
  position: absolute; bottom: 24px; right: 24px; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; color: var(--paper);
  text-transform: uppercase; background: rgba(14,10,6,0.65);
  padding: 8px 12px; border-left: 2px solid var(--gold); z-index: 3;
}

/* ============== STORY / TIMELINE ============== */
.story__narrative { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__copy p { margin-bottom: 22px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: var(--muted-light); }
.story__copy p strong { color: var(--gold); font-weight: 600; }
.story__media { position: relative; border: 1px solid var(--gold); overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(14,10,6,0.7); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  padding: 12px 16px; text-transform: uppercase; border-top: 1px solid var(--gold);
}

.timeline {
  display: flex; gap: 0; overflow-x: auto; padding: 8px 0 36px;
  scroll-snap-type: x mandatory; margin-top: clamp(40px, 5vw, 72px);
}
.timeline::-webkit-scrollbar { height: 6px; }
.timeline::-webkit-scrollbar-track { background: rgba(246,239,226,0.1); }
.timeline::-webkit-scrollbar-thumb { background: var(--gold); }
.timeline-item {
  flex: 0 0 300px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 28px 28px 26px; border-left: 1px solid var(--gold); position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 34px;
  width: 9px; height: 9px; background: var(--gold); border-radius: 50%;
}
.timeline-item--ember::before { background: var(--ember); box-shadow: 0 0 0 4px rgba(176,67,43,0.25); }
.timeline-item__year { font-family: var(--mono); font-weight: 600; font-size: 30px; color: var(--gold); letter-spacing: -0.02em; }
.timeline-item--ember .timeline-item__year { color: var(--ember); }
.timeline-item__title { font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; }
.timeline-item__label { font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--muted-light); }

/* ============== BREAK PANEL (quote) ============== */
.break-panel { background: var(--noir); color: var(--paper); padding: clamp(72px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.break-panel__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 30%, rgba(176,67,43,0.22), transparent 45%),
              radial-gradient(circle at 85% 70%, rgba(217,164,65,0.12), transparent 50%);
}
.break-panel__quote {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 5vw, 76px); line-height: 1.05;
  letter-spacing: -0.02em; max-width: 1100px; position: relative;
}
.break-panel__quote::before { content: '\201C'; color: var(--gold); margin-right: 0.05em; }
.break-panel__attr {
  margin-top: 32px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; position: relative;
}
.break-panel__attr::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* ============== FOUNDER ============== */
.founder__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.founder__media { position: relative; border: 1px solid var(--gold); overflow: hidden; aspect-ratio: 4 / 5; }
.founder__media img { width: 100%; height: 100%; object-fit: cover; }
.founder__tag {
  position: absolute; bottom: 16px; left: 16px; background: var(--gold); color: var(--black);
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 8px 12px;
}
.founder__name { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 56px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; margin-top: 18px; }
.founder__role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin-top: 12px; }
.section--black .founder__role, .section--noir .founder__role { color: var(--gold); }
.founder__bio p { margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.7; color: var(--muted-light); }
.founder__bio p strong { color: var(--gold); font-weight: 600; }

/* ============== PROGRAMS ============== */
.programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); }
.program-card {
  display: flex; flex-direction: column; background: var(--black); color: var(--paper);
  border: 1px solid var(--rule); position: relative; overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.program-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease-out); z-index: 3;
}
.program-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ember); }
.program-card:hover::after { transform: scaleX(1); }
.program-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.program-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) sepia(0.2) contrast(1.05);
  transition: filter 300ms var(--ease-out), transform 600ms var(--ease-out);
}
.program-card:hover .program-card__media img { filter: none; transform: scale(1.05); }
.program-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--gold); flex: 1; }
.program-card__name { font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: -0.01em; }
.program-card__desc { font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--muted-light); }

/* ============== WELLNESS 360 ============== */
.wellness__intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.wellness__statement {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em;
}
.wellness__statement em { font-style: normal; color: var(--gold); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.pillar {
  background: var(--black); color: var(--paper); border: 1px solid var(--rule);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden; min-height: 280px;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform 260ms var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); border-color: var(--gold); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon { width: 48px; height: 48px; color: var(--gold); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ember); }
.pillar__name { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.pillar__desc { font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--muted-light); margin-top: auto; }

/* App teaser / phone mockup */
.app-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.app-teaser__copy h3 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.app-teaser__copy p { font-family: var(--serif); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--muted-light); margin-top: 18px; max-width: 480px; }
.app-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.app-features li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.app-features li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; background: var(--gold); }
.store-badges { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--muted); padding: 12px 18px; color: var(--muted-light);
  opacity: 0.6; cursor: not-allowed; position: relative;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge__small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; }
.store-badge__big { font-family: var(--display); font-weight: 700; font-size: 16px; }
.store-badge__soon {
  position: absolute; top: -10px; right: 10px; background: var(--ember); color: var(--white);
  font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 3px 7px;
}

.phone-stage { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  position: relative; width: clamp(240px, 26vw, 300px); aspect-ratio: 9 / 19.5;
  background: var(--noir); border: 2px solid var(--gold); border-radius: 38px;
  padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); will-change: transform;
}
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 38%; height: 18px; background: var(--noir); border-radius: 0 0 14px 14px; z-index: 4; }
.phone__screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: var(--black); display: flex; flex-direction: column; }
.phone__screen-top { padding: 30px 18px 14px; background: linear-gradient(160deg, var(--ember-deep), var(--black)); }
.phone__brand { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--gold-soft); text-transform: uppercase; }
.phone__greeting { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--paper); margin-top: 6px; line-height: 1.05; text-transform: uppercase; }
.phone__body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.phone__row { display: flex; gap: 10px; }
.phone__tile { flex: 1; background: rgba(246,239,226,0.06); border: 1px solid var(--rule); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone__tile-ic { width: 22px; height: 22px; color: var(--gold); }
.phone__tile-label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; color: var(--muted-light); text-transform: uppercase; }
.phone__bar { height: 6px; border-radius: 4px; background: rgba(246,239,226,0.12); }
.phone__bar--gold { background: var(--gold); width: 60%; }
.phone__bar--ember { background: var(--ember); width: 40%; }
.phone__card { background: rgba(217,164,65,0.1); border: 1px solid var(--gold); border-radius: 14px; padding: 12px; }
.phone__card-title { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--paper); text-transform: uppercase; }
.phone__card-sub { font-family: var(--mono); font-size: 8px; color: var(--gold-soft); letter-spacing: 0.1em; margin-top: 4px; text-transform: uppercase; }
.phone__tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 8px; border-top: 1px solid var(--rule); }
.phone__tab { width: 18px; height: 18px; color: var(--muted); }
.phone__tab--active { color: var(--gold); }

/* ============== VISIT ============== */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.visit__info { display: flex; flex-direction: column; gap: 28px; }
.visit-block { border-left: 2px solid var(--gold); padding-left: 22px; }
.visit-block h3 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }
.section--black .visit-block h3, .section--noir .visit-block h3 { color: var(--gold); }
.visit-block p { font-family: var(--serif); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; }
.visit-block .addr { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); text-transform: uppercase; letter-spacing: -0.01em; }
.visit-block .placeholder-note { color: var(--muted); font-size: 14px; font-style: italic; }
.map-block {
  position: relative; min-height: 360px; border: 1px solid var(--gold);
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(217,164,65,0.08) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(217,164,65,0.08) 38px 39px),
    radial-gradient(circle at 60% 40%, rgba(176,67,43,0.18), transparent 55%),
    var(--noir);
  overflow: hidden;
}
.map-block__pin {
  position: absolute; top: 42%; left: 58%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.map-block__dot { width: 18px; height: 18px; background: var(--ember); border: 3px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 8px rgba(176,67,43,0.2); }
.map-block__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--paper); text-transform: uppercase; background: rgba(14,10,6,0.8); padding: 6px 10px; border: 1px solid var(--gold); white-space: nowrap; }
.map-block__roads { position: absolute; inset: 0; }
.map-block__cta { position: absolute; bottom: 16px; right: 16px; }

/* ============== DONATE / GET INVOLVED ============== */
.donate { background: var(--noir); color: var(--paper); position: relative; overflow: hidden; }
.donate__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 20%, rgba(176,67,43,0.25), transparent 45%); }
.donate__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.donate__title { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.5vw, 84px); line-height: 0.96; letter-spacing: -0.03em; text-transform: uppercase; }
.donate__title em { font-style: normal; background: linear-gradient(180deg, transparent 60%, var(--gold) 60%); padding: 0 0.04em; }
.donate__copy { font-family: var(--serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted-light); margin-top: 22px; max-width: 540px; }
.donate__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.involve-cards { display: flex; flex-direction: column; gap: 16px; }
.involve-card { border: 1px solid var(--rule); padding: 24px; transition: border-color 200ms var(--ease-out); background: rgba(246,239,226,0.02); }
.involve-card:hover { border-color: var(--gold); }
.involve-card h4 { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; }
.involve-card p { font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--muted-light); margin-top: 8px; }
.involve-card .mono-link { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ============== FOOTER ============== */
.footer { background: var(--noir); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 32px; border-top: 1px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-family: var(--serif); font-size: 16px; color: rgba(246,239,226,0.8); transition: color 160ms var(--ease-out); }
.footer__col a:hover { color: var(--gold); }
.footer__brand p { font-family: var(--serif); font-size: 16px; line-height: 1.6; color: rgba(246,239,226,0.7); max-width: 380px; margin-top: 14px; }
.footer__brand .logotype__main { font-size: 22px; }
.footer__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); margin-top: 16px; text-transform: uppercase; line-height: 1.6; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(246,239,226,0.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,239,226,0.55);
}
.footer__bottom a { color: var(--gold); }

/* ============== REVEALS / MOTION ============== */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { aspect-ratio: 4 / 3; min-height: 320px; }
  .hero__media img { height: 100%; }
  .story__narrative { grid-template-columns: 1fr; }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__media { max-width: 460px; }
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .app-teaser { grid-template-columns: 1fr; }
  .phone-stage { order: -1; }
  .wellness__intro { grid-template-columns: 1fr; align-items: start; }
  .visit__grid { grid-template-columns: 1fr; }
  .donate__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: inline-flex; }
  .programs__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { flex-basis: 78vw; }
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker__track { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
