/* ==========================================================================
   Grace Community Church — Dawsonville, GA
   Stylesheet. "Sage & Slate" palette: slate blue, sage green, dusty blue accents.
   ========================================================================== */

:root {
  /* Ink & neutrals */
  --ink:        #2a3440;
  --ink-soft:   #4e5865;
  --muted:      #767f8d;
  --line:       #e6e0d4;
  --line-soft:  #f0ebe1;

  /* Brand — carried over from the original site, warmed */
  --navy:       #34495e;
  --deep:       #243444;
  --teal:       #567b5f;
  --teal-dk:    #45664d;
  --teal-lt:    #ecf3ee;
  --olive:      #7d9461;
  --olive-lt:   #f1f5ea;
  --brick:      #3d6a92;
  --brick-dk:   #2f5576;
  --brick-lt:   #e9f0f7;

  /* Surfaces */
  --white:      #ffffff;
  --cream:      #fdfaf5;
  --sand:       #f5f0e6;
  --sand-dk:    #ece5d7;

  /* Type */
  --display: "Fraunces", "Lora", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(36,52,68,.06), 0 2px 8px rgba(36,52,68,.05);
  --shadow:    0 2px 6px rgba(36,52,68,.06), 0 12px 30px rgba(36,52,68,.08);
  --shadow-lg: 0 6px 14px rgba(36,52,68,.08), 0 26px 60px rgba(36,52,68,.13);

  --wrap: 1180px;
  --narrow: 760px;
  --header-h: 74px;
}

/* --------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brick); text-decoration: none; }
a:hover { color: var(--brick-dk); text-decoration: underline; text-underline-offset: 3px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--olive-lt); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- layout --- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: var(--narrow); }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5.5vw, 64px) 0; }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--teal  { background: var(--teal); color: #fff; }
.section--deep  { background: var(--deep); color: #fff; }
.section--teal h2, .section--teal h3, .section--deep h2, .section--deep h3 { color: #fff; }

.section-head { max-width: 640px; margin: 0 0 clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.section--teal .section-head p, .section--deep .section-head p { color: rgba(255,255,255,.82); }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .85rem;
}
.eyebrow--olive { color: var(--olive); }
.eyebrow--brick { color: var(--brick); }
.section--teal .eyebrow, .section--deep .eyebrow { color: rgba(255,255,255,.72); }

.lede { font-size: clamp(1.08rem, 1.9vw, 1.28rem); line-height: 1.62; color: var(--ink-soft); }

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-size: .95rem; font-weight: 600; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill); border: 2px solid transparent;
  background: var(--brick); color: #fff !important; cursor: pointer;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--brick-dk); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--teal { background: var(--teal); }
.btn--teal:hover { background: var(--teal-dk); }

.btn--olive { background: var(--olive); }
.btn--olive:hover { background: #5d7046; }

.btn--ghost { background: transparent; border-color: currentColor; color: var(--navy) !important; box-shadow: none; }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff !important; }

.btn--light { background: #fff; color: var(--navy) !important; }
.btn--light:hover { background: var(--sand); color: var(--navy) !important; }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.65); color: #fff !important; box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--lg { padding: 18px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.textlink {
  font-weight: 600; color: var(--brick); display: inline-flex; align-items: center; gap: .4em;
}
.textlink::after { content: "\2192"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(4px); }
.section--teal .textlink, .section--deep .textlink { color: #fff; }

/* ------------------------------------------------------------- header --- */

.topbar {
  background: var(--deep); color: rgba(255,255,255,.78);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 40px; flex-wrap: wrap; padding-block: 7px;
}
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: #fff; }
.topbar__times { display: flex; align-items: center; gap: 8px; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 20px; }

.masthead {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.masthead.is-stuck { box-shadow: 0 4px 20px rgba(36,52,68,.09); }

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex: none; }
.logo:hover { text-decoration: none; }
.logo__mark { flex: none; width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--display); font-weight: 600; font-size: 1.16rem;
  color: var(--navy); letter-spacing: -.01em;
}
.logo__sub {
  font-size: .68rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-top: 2px;
}

.mainnav { display: flex; align-items: center; gap: 4px; }
.mainnav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.mainnav > ul > li { position: relative; }

.mainnav a, .mainnav .navtop {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .93rem; font-weight: 500; color: var(--navy);
  padding: 10px 13px; border-radius: var(--r-sm);
  text-decoration: none !important; background: none; border: 0;
  font-family: var(--body); cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.mainnav a:hover, .mainnav .navtop:hover,
.mainnav li:hover > a, .mainnav li:hover > .navtop { background: var(--sand); color: var(--brick); }
.mainnav a[aria-current="page"] { color: var(--brick); background: var(--brick-lt); }

.navtop .caret { width: 9px; height: 9px; opacity: .5; transition: transform .18s ease; }
.mainnav li:hover .caret, .mainnav li:focus-within .caret { transform: rotate(180deg); }

.subnav {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 236px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 8px; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.mainnav li:hover > .subnav, .mainnav li:focus-within > .subnav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.subnav li { width: 100%; }
.subnav a { width: 100%; padding: 9px 14px; font-size: .9rem; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--r-sm); cursor: pointer; flex: none;
}
.burger span {
  display: block; width: 19px; height: 2px; background: var(--navy);
  border-radius: 2px; position: relative; transition: background .15s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.drawer {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: #fff; overflow-y: auto; padding: 20px 22px 44px;
}
.drawer.is-open { display: block; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; margin-bottom: 14px; }
.drawer__close {
  width: 44px; height: 44px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--r-sm); font-size: 1.35rem; line-height: 1; cursor: pointer; color: var(--navy);
}
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.drawer nav a, .drawer nav .drawer__group {
  display: block; padding: 15px 4px; font-size: 1.08rem; font-weight: 500;
  color: var(--navy); text-decoration: none !important;
}
.drawer nav .drawer__group {
  font-size: .74rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; padding-bottom: 4px; padding-top: 18px;
}
.drawer nav .subnav-m { padding-left: 14px; border-left: 2px solid var(--sand-dk); margin-bottom: 12px; }
.drawer nav .subnav-m a { padding: 10px 4px; font-size: .98rem; color: var(--ink-soft); }
.drawer__actions { display: grid; gap: 12px; margin-top: 26px; }
.drawer__contact { margin-top: 28px; font-size: .92rem; color: var(--muted); line-height: 1.9; }
.drawer__contact a { color: var(--brick); }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------- hero --- */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(30,42,54,.86) 0%, rgba(30,42,54,.68) 46%, rgba(30,42,54,.34) 100%),
    linear-gradient(to top, rgba(30,42,54,.6) 0%, rgba(30,42,54,0) 55%);
}
.hero__inner { padding: clamp(84px, 13vw, 148px) 0 clamp(76px, 11vw, 128px); max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: .38em; text-wrap: balance; }
.hero .eyebrow { color: var(--olive); }
.hero p { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 33em; }
.hero .btn-row { margin-top: 30px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  color: #fff; border-radius: var(--r-pill); padding: 8px 18px 8px 14px;
  font-size: .86rem; font-weight: 500; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero__badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--olive); flex: none;
  box-shadow: 0 0 0 0 rgba(125,148,97,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(125,148,97,.65); }
  70%  { box-shadow: 0 0 0 11px rgba(125,148,97,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,148,97,0); }
}

/* Interior page hero */
.pagehero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(30,42,54,.9) 0%, rgba(30,42,54,.72) 55%, rgba(30,42,54,.5) 100%);
}
.pagehero__inner { padding: clamp(56px, 8vw, 92px) 0 clamp(52px, 7vw, 82px); max-width: 720px; }
.pagehero h1 { color: #fff; margin-bottom: .3em; text-wrap: balance; }
.pagehero p { color: rgba(255,255,255,.86); font-size: 1.08rem; max-width: 40em; margin-bottom: 0; }
.pagehero .eyebrow { color: var(--olive); }

.crumbs { font-size: .84rem; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.82); }
.crumbs a:hover { color: #fff; }
.crumbs span { padding: 0 7px; opacity: .5; }

/* -------------------------------------------------------- service bar --- */

.times {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}
.times--float { margin-top: clamp(-52px, -5vw, -30px); position: relative; z-index: 5; background: var(--line); }
.times__item { background: #fff; padding: 26px 24px; text-align: center; }
.times__label {
  font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 8px;
}
.times__time {
  font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 600; color: var(--navy); margin: 0 0 6px; line-height: 1.2;
}
.times__note { font-size: .87rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------- split --- */

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 68px); align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__body h2 { margin-bottom: .5em; }
.split__body .btn-row { margin-top: 26px; }

.stamp {
  position: absolute; right: -18px; bottom: -22px;
  background: var(--olive); color: #fff; border-radius: var(--r);
  padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 210px;
}
.stamp strong { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.stamp span { font-size: .82rem; opacity: .92; }

/* -------------------------------------------------------------- cards --- */

.grid { display: grid; gap: clamp(18px, 2.4vw, 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: #fff; border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
a.card { text-decoration: none !important; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand-dk); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .textlink { margin-top: auto; padding-top: 16px; }
.card--plain { box-shadow: none; background: transparent; border: 0; padding: 0; }

.icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 18px; flex: none; background: var(--teal-lt); color: var(--teal-dk);
}
.icon svg { width: 25px; height: 25px; }
.icon--olive { background: var(--olive-lt); color: #5d7046; }
.icon--brick { background: var(--brick-lt); color: var(--brick); }
.icon--sand  { background: var(--sand); color: var(--navy); }

/* Photo card */
.photocard {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px; isolation: isolate; text-decoration: none !important;
  box-shadow: var(--shadow); background: var(--navy);
}
.photocard img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform .5s ease;
}
.photocard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(30,42,54,.9) 6%, rgba(30,42,54,.42) 52%, rgba(30,42,54,.16) 100%);
}
.photocard:hover img { transform: scale(1.05); }
.photocard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px; }
.photocard h3 { color: #fff; margin-bottom: .25em; }
.photocard p { color: rgba(255,255,255,.82); font-size: .93rem; margin: 0; }
.photocard .textlink { color: #fff; margin-top: 12px; }

/* --------------------------------------------------------- verse block --- */

.verse { text-align: center; max-width: 800px; margin-inline: auto; }
.verse blockquote {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(1.35rem, 3.1vw, 2rem); line-height: 1.42;
  margin: 0 0 18px; color: inherit; text-wrap: balance;
}
.verse cite {
  font-family: var(--body); font-style: normal; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .78;
}

/* -------------------------------------------------------------- prose --- */

.prose { font-size: 1.045rem; line-height: 1.78; color: var(--ink-soft); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.1em 0 .55em; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.7em 0 .45em; color: var(--navy); }
.prose h4 { margin: 1.5em 0 .4em; color: var(--navy); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--olive); }
.prose blockquote {
  margin: 1.7em 0; padding: 4px 0 4px 26px;
  border-left: 3px solid var(--olive);
  font-family: var(--display); font-style: italic; font-size: 1.14rem;
  color: var(--navy); line-height: 1.6;
}
.prose blockquote cite {
  display: block; margin-top: .7em; font-family: var(--body); font-style: normal;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
}
.prose strong { color: var(--navy); font-weight: 600; }
.prose hr { margin: 2.6em 0; }
.prose sup { font-size: .7em; color: var(--brick); font-weight: 600; }

.note {
  background: var(--sand); border-radius: var(--r); padding: 24px 26px;
  font-size: .95rem; color: var(--ink-soft); margin: 1.8em 0;
}
.note strong { color: var(--navy); }

.pastoral {
  background: var(--cream); border: 1px solid var(--line);
  border-left: 4px solid var(--brick);
  border-radius: var(--r); padding: clamp(26px, 4vw, 40px);
  margin: 2em 0;
}
.pastoral h3 { margin-top: 0; }
.pastoral .signature {
  font-family: var(--display); font-style: italic; font-size: 1.16rem;
  color: var(--navy); margin-top: 1.4em;
}

/* ---------------------------------------------------------- accordion --- */

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--display); font-size: 1.14rem; font-weight: 600; color: var(--navy);
  transition: color .15s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brick); }
.accordion summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.accordion details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.accordion .accordion__body { padding: 0 0 24px; color: var(--ink-soft); line-height: 1.76; }
.accordion .accordion__body p:last-child { margin-bottom: 0; }
.accordion__num {
  display: inline-block; min-width: 3.5em; padding-right: 10px; color: var(--olive);
  font-family: var(--body); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; vertical-align: middle;
}

/* --------------------------------------------------------------- team --- */

.person { text-align: center; }
.person__photo {
  width: 148px; height: 148px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--sand); display: grid; place-items: center; overflow: hidden;
  border: 4px solid #fff; box-shadow: var(--shadow);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initials {
  font-family: var(--display); font-size: 2.1rem; font-weight: 600; color: var(--teal);
}
.person h3 { margin-bottom: .1em; }
.person__role {
  font-size: .76rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; color: var(--brick); margin-bottom: 1em;
}
.person p { font-size: .96rem; color: var(--ink-soft); text-align: left; }

.namelist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.namelist li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 10px 22px; font-weight: 500; color: var(--navy); font-size: .96rem;
}

/* --------------------------------------------------------------- misc --- */

.embed {
  position: relative; padding-top: 56.25%; border-radius: var(--r);
  overflow: hidden; background: var(--sand); box-shadow: var(--shadow);
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--map { padding-top: 62%; }

.schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 1.6em 0; }
.schedule table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.schedule caption {
  caption-side: top; text-align: left; background: var(--navy); color: #fff;
  font-family: var(--body); font-size: .76rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; padding: 13px 20px;
}
.schedule th, .schedule td { padding: 13px 20px; text-align: left; font-size: .97rem; border-top: 1px solid var(--line-soft); }
.schedule th { font-weight: 500; color: var(--ink-soft); }
.schedule td { font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.footnotes { grid-column: 1 / -1; font-size: .87rem; color: var(--muted); }
.footnotes p { margin-bottom: .5em; }

.faq { display: grid; gap: 2px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; position: relative; padding-left: 62px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brick-lt); color: var(--brick);
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
}
.steps h3 { font-size: 1.12rem; margin-bottom: .25em; }
.steps p { color: var(--ink-soft); font-size: .97rem; margin: 0; }

.event {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.event__when {
  flex: none; width: 78px; text-align: center; background: var(--sand);
  border-radius: var(--r-sm); padding: 10px 6px;
}
.event__day {
  display: block; font-family: var(--display); font-size: 1.05rem;
  font-weight: 600; color: var(--navy); line-height: 1.2;
}
.event__time { display: block; font-size: .78rem; color: var(--brick); font-weight: 600; margin-top: 3px; }
.event h3 { font-size: 1.1rem; margin-bottom: .2em; }
.event p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.pill {
  display: inline-block; background: var(--olive-lt); color: #5d7046;
  border-radius: var(--r-pill); padding: 5px 14px; font-size: .76rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pill--teal { background: var(--teal-lt); color: var(--teal-dk); }
.pill--brick { background: var(--brick-lt); color: var(--brick); }

.banner {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dk) 100%);
  color: #fff; border-radius: var(--r-lg); padding: clamp(30px, 5vw, 52px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.banner h2, .banner h3 { color: #fff; margin-bottom: .35em; }
.banner p { color: rgba(255,255,255,.88); margin-bottom: 0; }

.docrow {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r);
  box-shadow: var(--shadow-sm); text-decoration: none !important; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.docrow:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.docrow__icon {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--brick-lt); color: var(--brick); display: grid; place-items: center;
}
.docrow__icon svg { width: 21px; height: 21px; }
.docrow h3 { font-size: 1.05rem; margin-bottom: .15em; }
.docrow p { font-size: .92rem; color: var(--muted); margin: 0; }
.docrow__go { margin-left: auto; color: var(--brick); font-weight: 600; flex: none; }

/* -------------------------------------------------------------- forms --- */

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .89rem; font-weight: 600; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(86,123,95,.16);
}
.field--check { display: flex; align-items: flex-start; gap: 11px; }
.field--check input { width: auto; margin-top: 4px; flex: none; }
.field--check label { font-weight: 400; font-size: .93rem; color: var(--ink-soft); }
.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
}
.hp { position: absolute; left: -9999px; }

/* ------------------------------------------------------------ contact --- */

.contactlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contactlist li { display: flex; gap: 16px; align-items: flex-start; }
.contactlist .icon { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.contactlist .icon svg { width: 20px; height: 20px; }
.contactlist strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 2px; }
.contactlist span, .contactlist a { font-size: .96rem; color: var(--ink-soft); }
.contactlist a { color: var(--brick); }

/* --------------------------------------------------------------- CTA ---- */

.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--deep); color: #fff; text-align: center;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(30,42,54,.82), rgba(30,42,54,.72));
}
.cta__inner { padding: clamp(64px, 9vw, 108px) 0; max-width: 700px; margin-inline: auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.86); font-size: 1.08rem; }
.cta .btn-row { margin-top: 30px; justify-content: center; }

/* ------------------------------------------------------------- footer --- */

.footer { background: var(--deep); color: rgba(255,255,255,.68); font-size: .94rem; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px); padding: clamp(48px, 6vw, 72px) 0 44px;
}
.footer h4, .footer__title {
  margin-top: 0;
  color: #fff; font-family: var(--body); font-size: .76rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: var(--olive); }
.footer__mark { width: 42px; height: 42px; flex: none; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .15s ease;
}
.footer__social a:hover { background: var(--teal); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.11); padding: 22px 0 34px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: rgba(255,255,255,.5);
}
.footer__times li { display: flex; justify-content: space-between; gap: 14px; }
.footer__times span:last-child { color: #fff; font-weight: 500; white-space: nowrap; }

/* --------------------------------------------------------- animation --- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1040px) {
  .mainnav, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  /* keep the crops the photos were cut to; 16/10 threw away half of a 4:5 frame */
  .split__media img { aspect-ratio: 4 / 3; }
  .split__media--tall img { aspect-ratio: 1 / 1; }
  .stamp { right: 12px; bottom: -18px; }
  .banner { grid-template-columns: 1fr; }
  .topbar__times { display: none; }
}

@media (max-width: 660px) {
  body { font-size: 16.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .times, .schedule { grid-template-columns: 1fr; }
  .times--float { margin-top: 0; border-radius: var(--r); }
  .footer__top { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero__inner { padding-block: clamp(64px, 16vw, 96px) clamp(56px, 12vw, 84px); }
  .event { flex-direction: column; gap: 14px; }
  .event__when { width: auto; display: flex; gap: 10px; align-items: baseline; padding: 8px 14px; }
  .stamp { position: static; display: inline-block; margin-top: 14px; max-width: none; }
  .btn-row--inline { flex-direction: row; }
  .btn-row--inline .btn { width: auto; flex: 1 1 auto; }
}

@media print {
  .masthead, .topbar, .drawer, .cta, .footer__social, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
