/* Revive In Action — site styles
   Palette and type come from the RIA logo kit. The rounded top-left "pathway corner"
   on photos and panels echoes the turn of the paths in the mark. */
:root {
  --forest: #183F35; --forest-deep: #102C25; --ivory: #F5F1E8; --teal: #287C78; --teal-ink: #1F6663;
  --gold: #B79658; --gold-btn: #C8A862; --ink: #1F2A27; --muted: #55635E; --line: #DCD6C7; --white: #FFFFFF;
  --accent: #E86A4F; --accent-ink: #B8432B; --wrap: 1160px; --corner: 72px;
  --font: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); }
h1, h2, h3 { color: var(--forest); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.measure { max-width: 62ch; }
.lede { font-size: 1.22rem; line-height: 1.5; }
.eyebrow { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 0.8em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--ivory); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-gold { background: var(--gold-btn); color: var(--forest-deep); }
.btn-gold:hover { background: #D6B874; }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: var(--ivory); }
.btn-light { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn-light:hover { background: var(--ivory); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; align-items: center; }

/* Draft-only markers: turn off with draft:false in js/config.js */
.ph { display: inline-block; padding: 1px 8px; border: 2px dashed #A6781C; background: #FFF6DC; color: #5C4200; font-size: 0.82em; font-weight: 700; border-radius: 6px; letter-spacing: 0.02em; }
.draft-note { display: none; margin: 12px 0; padding: 10px 14px; border: 2px dashed #A6781C; background: #FFF6DC; color: #5C4200; font-size: 0.9rem; line-height: 1.45; border-radius: 8px; }
.draft-note::before { content: "Draft note: "; font-weight: 800; }
body.draft .draft-note { display: block; }
.link-flag { display: none; }
body.draft .needs-link + .link-flag, body.draft .needs-link .link-flag { display: inline-block; }
.btn-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* Utility strip + header */
.strip { background: var(--forest-deep); color: var(--ivory); font-size: 0.92rem; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.strip a { color: var(--ivory); font-weight: 700; text-underline-offset: 3px; }
.strip .quick { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 58px; width: auto; margin-left: -10px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--forest); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 10px 11px; border-radius: 8px; }
.nav a:not(.btn):hover { background: var(--ivory); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 8px 22px; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 14px; border: 2px solid var(--forest); border-radius: 10px; background: #fff; color: var(--forest); font: 700 0.95rem var(--font); cursor: pointer; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.band-ivory { background: var(--ivory); }
.band-forest { background: var(--forest); color: var(--ivory); }
.band-forest h1, .band-forest h2, .band-forest h3 { color: var(--ivory); }
.band-forest .eyebrow { color: var(--gold-btn); }
.band-forest a:not(.btn) { color: var(--ivory); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.top { align-items: start; }
.section-head { max-width: 760px; margin-bottom: 40px; }

/* Hero */
.hero { background: var(--forest); color: var(--ivory); padding: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.hero h1 { color: var(--ivory); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { color: #E4E9E2; max-width: 34em; }
.hero .secondary { margin-top: 18px; font-weight: 600; }
.hero .secondary a { color: var(--gold-btn); text-underline-offset: 4px; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--corner) 14px 14px 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hero-photo::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 62%; height: 62%; border-top: 10px solid var(--gold); border-left: 10px solid var(--gold); border-radius: calc(var(--corner) + 14px) 0 0 0; }
.page-hero { background: var(--forest); color: var(--ivory); padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); border-bottom: 8px solid var(--accent); }
.page-hero h1 { color: var(--ivory); max-width: 18em; }
.page-hero .lede { max-width: 40em; color: #E4E9E2; margin: 0; }
.page-hero .eyebrow { color: var(--gold-btn); }

/* Cards and photos */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.card.corner { border-radius: 44px 14px 14px 14px; border-top: 6px solid var(--accent); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.band-ivory .card { border-color: transparent; }
.num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: var(--forest); color: var(--ivory); font-weight: 800; margin-bottom: 14px; }
figure { margin: 0; }
.photo img { width: 100%; border-radius: var(--corner) 14px 14px 14px; object-fit: cover; }
.photo.tall img { aspect-ratio: 4 / 5; }
.photo.wide img { aspect-ratio: 3 / 2; }
figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.band-forest figcaption { color: #D5DCD4; }
.notice { border-left: 6px solid var(--accent); background: var(--ivory); padding: 14px 18px; border-radius: 0 10px 10px 0; font-weight: 600; margin: 1.2em 0; }
.band-ivory .notice { background: var(--white); }
.band-forest .notice { background: rgba(255,255,255,.1); color: var(--ivory); }
.feature { background: var(--ivory); border-radius: var(--corner) 18px 18px 18px; padding: clamp(28px, 5vw, 56px); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--accent-ink); color: #fff; margin-bottom: 14px; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; margin: 0; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--forest); color: var(--ivory); font-weight: 800; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-top: 4px solid var(--accent); border-right: 4px solid var(--accent); border-radius: 0 4px 0 0; }

/* Timeline, stats, FAQ */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 4px solid var(--forest); }
.timeline li { position: relative; padding: 0 0 26px 28px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -12px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); border: 4px solid var(--ivory); }
.timeline .yr { font-weight: 800; font-size: 1.3rem; color: var(--forest); display: block; }
.timeline li.upcoming::before { background: var(--ivory); border-color: var(--gold); }
.timeline li.upcoming .yr::after { content: "Planned"; margin-left: 10px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold-btn); color: var(--forest-deep); padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.stat { background: var(--white); border-radius: 14px; padding: 22px; border-top: 6px solid var(--accent); }
.stat .fig { font-size: 2.4rem; font-weight: 800; color: var(--forest); line-height: 1; display: block; margin-bottom: 8px; }
.stat .lbl { font-weight: 700; color: var(--forest); display: block; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.1rem; color: var(--forest); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 500; color: var(--teal-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; max-width: 68ch; }
.empty { border: 2px dashed var(--line); border-radius: 14px; padding: 28px; color: var(--muted); background: var(--white); }
.headshot { aspect-ratio: 4 / 5; border-radius: var(--corner) 14px 14px 14px; background: var(--ivory); border: 2px dashed var(--gold); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list b { display: block; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); }
.cta-band { text-align: center; }
.cta-band .measure { margin: 0 auto 0; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--forest-deep); color: #D5DCD4; padding: 56px 0 28px; font-size: 0.98rem; }
.site-footer a { color: var(--ivory); }
.site-footer h3 { color: var(--ivory); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer img { height: 64px; margin: -8px 0 10px -12px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.fine { border-top: 1px solid rgba(255,255,255,.18); margin-top: 36px; padding-top: 20px; font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 8px; }
  .nav .btn { margin: 10px 0 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo { margin: 18px 0 0 18px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  :root { --corner: 48px; }
  .grid-4, .gallery, .foot-grid { grid-template-columns: 1fr; }
  .brand img { height: 50px; }
  .btn-row .btn, .btn-row .btn-wrap { width: 100%; }
  .btn-wrap .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
.band-forest .card h3, .band-forest .card h2 { color: var(--forest); }
.band-forest .card a:not(.btn) { color: var(--teal-ink); }

/* Accent touches */
.section-head h2::after, .page-hero h1::after { content: ""; display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--accent); margin-top: 18px; }
.btn-primary:hover { background: var(--accent-ink); }
a:hover { color: var(--accent-ink); }
.band-forest a:not(.btn):hover, .site-footer a:hover, .strip a:hover { color: #FFB8A6; }
.photo.portrait img { object-position: 50% 8%; }
.gallery.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .gallery.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery.four { grid-template-columns: 1fr; } }

/* Contact form */
.form { display: grid; gap: 18px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--forest); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid #9AA8A2; border-radius: 10px; font: 400 1rem var(--font); color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-help { font-size: 0.92rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form-status { display: none; margin: 0; padding: 12px 16px; border-radius: 10px; background: #E6F0EE; border-left: 6px solid var(--teal); font-weight: 600; }
.form-status.show { display: block; }
.form-status.bad { background: #FCE9E4; border-left-color: var(--accent-ink); }
.stat { border: 1px solid var(--line); border-top-width: 6px; border-top-color: var(--accent); }
.band-forest .stat { border-color: transparent; border-top-color: var(--accent); }
.stat .fig { font-size: clamp(2rem, 3.4vw, 2.6rem); }
@media (max-width: 980px) { .photo:not(.portrait) img, .hero-photo img { max-height: 420px; } }

/* The Gift of Joy */
:root { --red: #9E1B32; --red-deep: #7C1427; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.gift-hero { position: relative; color: var(--ivory); text-align: center; padding: clamp(56px, 8vw, 104px) 0; background: linear-gradient(rgba(16,44,37,.86), rgba(16,44,37,.92)), url("../images/gift-lights.jpg") center / cover no-repeat; border-bottom: 8px solid var(--gold); }
.gift-presents { margin: 0 0 18px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1rem; }
.gift-presents span { display: block; font-weight: 500; font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1.05rem; margin-top: 4px; }
.gift-presents b { display: block; margin-top: 14px; font-size: 0.8rem; letter-spacing: 0.5em; color: var(--gold-btn); }
.gift-hero h1 { color: var(--ivory); font-size: clamp(3.2rem, 10vw, 7rem); line-height: 0.95; margin: 0 0 22px; }
.gift-hero h1::after { display: none; }
.gift-ribbon { display: inline-block; margin: 0 0 16px; padding: 10px 34px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.5rem); border-radius: 6px; }
.gift-tag { font-size: 1.35rem; font-style: italic; margin: 0 0 26px; }
.gift-facts { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.gift-facts li { margin: 0; padding: 10px 20px; border: 2px solid var(--gold); border-radius: 999px; font-size: 1.05rem; }
.gift-hero .btn-row { justify-content: center; margin-top: 30px; }
.gift-give .eyebrow, #gift-details .eyebrow { color: var(--red); }
.gift-promo { background: var(--red); color: #fff; padding: 26px 0; }
.gift-promo .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.gift-promo h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 6px; }
.gift-promo .eyebrow { color: #FFE2A8; margin-bottom: 6px; }
.gift-promo p { margin: 0; max-width: 46em; }
.gift-promo .btn-row { margin: 0; }
.gift-promo .btn-red { background: var(--forest); }

.gift-bar { background: var(--forest-deep); }
.gift-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.gift-bar img { height: 56px; width: auto; margin-left: -10px; }
.gift-bar nav { display: flex; gap: 4px; }
.gift-bar nav a { color: var(--ivory); font-weight: 700; text-decoration: none; padding: 12px 14px; border-radius: 8px; }
.gift-bar nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
