/* ============================================================
   Historic Tyler, Inc. — Redesign concept
   Design system & component styles
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,7..144,400&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ink:        #322c26;
  --ink-soft:   #6c6157;
  --ink-faint:  #9b9286;
  --rose:       #9c2c3f;
  --rose-deep:  #79212f;
  --rose-tint:  #f3e3e1;
  --gold:       #ab8444;
  --gold-light: #d8b877;
  --green:      #41513f;
  --cream:      #f5efe2;
  --cream-deep: #ece2cd;
  --paper:      #fffdf8;
  --line:       #e6dcc4;
  --line-soft:  #efe8d6;

  --shadow-sm: 0 1px 3px rgba(50,40,30,.06), 0 6px 20px rgba(50,40,30,.05);
  --shadow-md: 0 4px 14px rgba(50,40,30,.08), 0 18px 48px rgba(50,40,30,.10);
  --shadow-lg: 0 10px 30px rgba(50,40,30,.12), 0 30px 70px rgba(50,40,30,.14);

  --serif: 'Fraunces', 'Hoefler Text', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--rose); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--rose-deep); }
ul, ol { padding-left: 1.2em; }
li { margin: .28em 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.overline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--rose);
  display: inline-block;
}
.overline.gold { color: var(--gold); }
.lead { font-size: 1.22rem; color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--ink-soft); }
.serif-accent { font-family: var(--serif); font-style: italic; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.section.cream { background: var(--cream); }
.section.paper { background: var(--paper); }
.section.deep  { background: var(--cream-deep); }
.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Botanical divider ---------- */
.sprig { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 6px; }
.sprig::before, .sprig::after {
  content: ""; height: 1px; width: 54px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.sprig::after { background: linear-gradient(90deg, var(--gold-light), transparent); }
.sprig svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  letter-spacing: .01em;
  padding: 14px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 8px 20px rgba(156,44,63,.28); }
.btn-primary:hover { background: var(--rose-deep); color: #fff; box-shadow: 0 12px 28px rgba(156,44,63,.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(171,132,68,.28); }
.btn-gold:hover { background: #957036; color: #fff; }
.btn-light { background: #fff; color: var(--rose); }
.btn-light:hover { background: var(--cream); color: var(--rose-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .87rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.textlink {
  font-weight: 600; display: inline-flex; align-items: center; gap: .4em;
}
.textlink::after { content: "\2192"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.anniv-ribbon {
  background: linear-gradient(90deg, var(--rose-deep), var(--rose));
  color: #fbe9d8; text-align: center;
  font-size: .82rem; letter-spacing: .08em; font-weight: 500;
  padding: 7px 16px;
}
.anniv-ribbon strong { color: #fff; font-weight: 700; letter-spacing: .12em; }
.anniv-ribbon a { color: var(--gold-light); font-weight: 600; }
.anniv-ribbon a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,248,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(50,40,30,.09); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .seal { width: 46px; height: 46px; flex: none; }
.brand-logo { height: 70px; width: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.32rem;
  color: var(--ink); letter-spacing: -.01em;
}
.brand-sub {
  font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}

/* ---- desktop nav ---- */
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-size: .92rem; font-weight: 500; color: var(--ink);
  padding: 10px 14px; border-radius: 8px;
  cursor: pointer; transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--cream); color: var(--rose); }
.nav-link.current { color: var(--rose); }
.nav-link .caret { width: 9px; height: 9px; opacity: .55; transition: transform .2s ease; }
.nav-menu > li:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 252px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: var(--ink); font-size: .9rem; font-weight: 500;
}
.dropdown a:hover { background: var(--rose-tint); color: var(--rose-deep); }
.dropdown a small { display: block; font-weight: 400; font-size: .76rem; color: var(--ink-faint); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f7ecd6 0%, #f2e6cf 42%, var(--cream) 100%);
}
.hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 76px 28px 0;
  position: relative; z-index: 2;
}
.hero-content { max-width: 660px; }
.hero h1 { margin: 16px 0 20px; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-scene { position: relative; z-index: 1; margin-top: 36px; }
.hero-scene svg { width: 100%; height: auto; display: block; }
.hero-seal {
  position: absolute; top: 64px; right: 36px; z-index: 3;
  width: 158px; height: 158px;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }

/* page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--rose-deep), var(--rose) 55%, #8a2738);
  color: #fbeede; position: relative; overflow: hidden;
  padding: 78px 0 84px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/></svg>");
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .overline { color: var(--gold-light); }
.page-hero h1 { color: #fff; margin: 14px 0 16px; max-width: 16ch; }
.page-hero p { color: #f3d9d3; font-size: 1.16rem; max-width: 60ch; }
.crumbs { font-size: .82rem; color: #e9c4bd; margin-bottom: 6px; letter-spacing: .03em; }
.crumbs a { color: #f0d3ce; }
.crumbs a:hover { color: #fff; }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* stat band */
.stat-band { background: var(--ink); color: var(--cream); }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center; padding: 52px 18px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--serif); font-size: 3rem; font-weight: 500;
  color: var(--gold-light); line-height: 1;
}
.stat .label {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: #cabfae; margin-top: 10px;
}

/* generic card grid */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card.hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 10px; }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--rose-tint); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card .icon.gold { background: #f1e6cf; color: var(--gold); }
.card .icon.green { background: #e2e8df; color: var(--green); }

/* pillar card (numbered) */
.pillar { position: relative; }
.pillar .step {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  color: var(--gold); letter-spacing: .1em;
}

/* feature split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.split.flip .split-visual { order: 2; }
.split-visual {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--cream-deep);
}
.split-visual svg { width: 100%; height: auto; }
.split-body h2 { margin: 14px 0 16px; }

/* image frame / illustration plate */
.plate {
  background: linear-gradient(165deg, #f3e7d0, #ecdcbf);
  border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line);
}
.plate svg { width: 100%; height: auto; }
.figcap {
  font-size: .82rem; color: var(--ink-faint); font-style: italic;
  margin-top: 12px; text-align: center; line-height: 1.5;
}

/* quote */
.quote {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-style: italic; line-height: 1.4; color: var(--ink);
  max-width: 800px; margin: 0 auto; text-align: center;
}
.quote .mark { color: var(--gold); font-size: 1.4em; line-height: 0; }
.quote cite {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: .92rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--rose); margin-top: 22px;
}

/* anniversary band */
.anniv-band {
  background:
    radial-gradient(circle at 20% 0%, rgba(216,184,119,.22), transparent 55%),
    linear-gradient(135deg, var(--rose-deep), #6c1d2a);
  color: #f8e7d5; position: relative; overflow: hidden;
}
.anniv-band .wrap {
  display: grid; grid-template-columns: 200px 1fr; gap: 50px;
  align-items: center; padding-top: 70px; padding-bottom: 70px;
}
.anniv-band h2 { color: #fff; }
.anniv-band .overline { color: var(--gold-light); }
.anniv-band p { color: #f0d4c9; }
.anniv-seal-lg { width: 200px; height: 200px; }

/* tier / pricing cards */
.tier {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; position: relative;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--gold); border-width: 2px; }
.tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px;
  border-radius: 999px;
}
.tier .tier-name {
  font-family: var(--serif); font-size: 1.4rem; color: var(--ink);
}
.tier .tier-price {
  font-family: var(--serif); font-size: 2.6rem; color: var(--rose);
  font-weight: 600; margin: 6px 0 4px;
}
.tier .tier-price small { font-size: .9rem; color: var(--ink-faint); font-family: var(--sans); }
.tier .tier-note { font-size: .85rem; color: var(--ink-faint); margin-bottom: 14px; }
.tier ul { list-style: none; padding: 0; margin: 14px 0 22px; }
.tier ul li {
  padding-left: 26px; position: relative; font-size: .92rem;
  color: var(--ink-soft); margin: 9px 0;
}
.tier ul li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--rose-tint);
}
.tier ul li::after {
  content: "\2713"; position: absolute; left: 3.5px; top: 4px;
  color: var(--rose); font-size: .66rem; font-weight: 700; line-height: 1;
}
.tier .btn { margin-top: auto; }

/* tag / badge */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
  background: var(--rose-tint); color: var(--rose-deep);
}
.badge.gold { background: #f1e6cf; color: #8a6a2e; }
.badge.green { background: #e2e8df; color: var(--green); }
.badge.outline { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

/* district card */
.district-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.district-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.district-art { aspect-ratio: 16/9; }
.district-art svg { width: 100%; height: 100%; }
.district-body { padding: 26px 28px 30px; }
.district-body .meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px;
}
.district-body h3 { font-size: 1.32rem; margin-bottom: 8px; }
.district-body p { font-size: .94rem; color: var(--ink-soft); }
.fact-row {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.fact-row .fact .fv { font-family: var(--serif); font-size: 1.25rem; color: var(--rose); }
.fact-row .fact .fl { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }

/* timeline */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--gold-light), var(--line));
}
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--rose);
}
.tl-item .tl-year {
  font-family: var(--serif); font-size: 1.5rem; color: var(--rose);
  font-weight: 600; line-height: 1;
}
.tl-item h4 { margin: 6px 0 6px; }
.tl-item p { font-size: .95rem; color: var(--ink-soft); }

/* accordion (FAQ) */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 14px; overflow: hidden;
}
.acc-q {
  width: 100%; text-align: left; background: none; border: none;
  cursor: pointer; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: 1.16rem; color: var(--ink);
}
.acc-q .pm {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--rose-tint); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: transform .25s ease, background .2s ease;
}
.acc-item.open .acc-q .pm { transform: rotate(45deg); background: var(--rose); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 26px 24px; color: var(--ink-soft); font-size: .98rem; }

/* people grid */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; text-align: center;
}
.person .avatar {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(145deg, var(--rose-tint), #e7d3c0);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; color: var(--rose-deep);
  font-weight: 600;
}
.person .pname { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.person .prole { font-size: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .05em; margin-top: 3px; }

/* list panel */
.panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 34px;
  box-shadow: var(--shadow-sm);
}
.panel h3 { margin-bottom: 16px; }
.named-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; }
.named-list li {
  padding: 6px 0 6px 20px; position: relative; break-inside: avoid;
  font-size: .94rem; color: var(--ink-soft);
}
.named-list li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light);
}

/* sponsor tier block */
.sponsor-tier { margin-bottom: 34px; }
.sponsor-tier .st-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.sponsor-tier .st-head h3 { color: var(--rose); }
.sponsor-tier .st-head .st-count { font-size: .82rem; color: var(--ink-faint); }
.sponsor-names {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.sponsor-names span {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 14px; font-size: .9rem; color: var(--ink-soft);
}
.sponsor-tier.lead-tier .sponsor-names span {
  background: linear-gradient(135deg, #f6ead2, #efe0c2);
  border-color: var(--gold-light); color: var(--ink); font-weight: 500;
}

/* news list */
.news-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px;
  align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: none; }
.news-item .date {
  font-family: var(--serif); color: var(--rose); font-size: .98rem;
}
.news-item .src { font-size: .8rem; color: var(--ink-faint); }
.news-item h4 { font-size: 1.12rem; }
.news-item h4 a { color: var(--ink); }
.news-item h4 a:hover { color: var(--rose); }

/* callout */
.callout {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff; border-radius: var(--radius); padding: 48px;
  text-align: center;
}
.callout.gold { background: linear-gradient(135deg, var(--gold), #8a6a2e); }
.callout h2 { color: #fff; }
.callout p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 12px auto 24px; }

/* contact strip */
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.contact-item .ci-label {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 6px;
}
.contact-item p { font-size: .95rem; color: var(--ink-soft); }

/* prose */
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin-bottom: 1.05rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.05rem; color: var(--ink-soft); }
.prose > *:first-child { margin-top: 0; }

/* note box */
.note {
  background: var(--rose-tint); border-left: 4px solid var(--rose);
  border-radius: 0 10px 10px 0; padding: 18px 22px; font-size: .94rem;
  color: var(--rose-deep);
}
.note.gold { background: #f3e8cf; border-color: var(--gold); color: #7a5e26; }
.note strong { color: inherit; }

/* demo banner */
.demo-banner {
  background: var(--ink); color: var(--cream-deep);
  font-size: .8rem; text-align: center; padding: 8px 16px; letter-spacing: .03em;
}
.demo-banner strong { color: var(--gold-light); }

/* forms */
.form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 9px;
  padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); background: #fff;
  box-shadow: 0 0 0 3px var(--rose-tint);
}
.field textarea { resize: vertical; min-height: 110px; }

/* amount chips */
.amount-row { display: flex; flex-wrap: wrap; gap: 12px; }
.amount-chip {
  flex: 1; min-width: 96px; text-align: center; padding: 18px 10px;
  border-radius: 12px; border: 1.6px solid var(--line); background: var(--paper);
  cursor: pointer; font-family: var(--serif); font-size: 1.5rem; color: var(--rose);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.amount-chip:hover { border-color: var(--rose); transform: translateY(-2px); }
.amount-chip.active { border-color: var(--rose); background: var(--rose-tint); }
.amount-chip small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--ink-faint); }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #241f1b; color: #c9bfae;
  padding: 70px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .seal { width: 56px; height: 56px; margin-bottom: 16px; }
.footer-logo { height: 108px; width: auto; margin-bottom: 14px; filter: invert(1); opacity: .92; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; font-family: var(--serif); }
.footer-brand p { font-size: .92rem; margin-top: 12px; color: #a89e8d; }
.footer-col h4 {
  color: #fff; font-family: var(--sans); font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 9px 0; }
.footer-col a { color: #c9bfae; font-size: .92rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact p { font-size: .9rem; margin: 8px 0; color: #c9bfae; }
.footer-contact a { color: #c9bfae; }
.footer-contact a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
}
.socials a:hover { background: var(--rose); border-color: var(--rose); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px 0; font-size: .82rem; color: #8a8073;
}
.footer-bottom .anniv-mini { color: var(--gold-light); font-weight: 600; letter-spacing: .06em; }

/* ============================================================
   ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-seal { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .people { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .nav-menu, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 14px; gap: 2px;
    max-height: 80vh; overflow-y: auto;
  }
  .nav-menu.open > li { width: 100%; }
  .nav-menu.open .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 6px 14px; min-width: auto; padding: 2px 0;
  }
  .nav-menu.open .nav-link { padding: 13px 12px; font-size: 1rem; }
  .nav-menu.open .caret { margin-left: auto; }
  .split, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split.flip .split-visual { order: 0; }
  .anniv-band .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 28px; }
  .hero-seal { width: 104px; height: 104px; top: 24px; right: 18px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .named-list { columns: 1; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .nav { padding: 0 20px; height: 76px; }
  .brand-logo { height: 56px; }
  .footer-logo { height: 92px; }
  .people { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.09); }
  .footer-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card, .panel, .callout { padding: 24px; }
  .brand-name { font-size: 1.12rem; }
}
