/* Stoneham Memorial SDA Church — one stylesheet, no framework. */

:root {
  --teal:        #134C5F;
  --teal-dark:   #0D3A49;
  --teal-mid:    #1D7A97;
  --teal-line:   #235165;
  --gold:        #C8960C;
  --gold-soft:   #E9C46A;
  --gold-ink:    #2E2200;
  --gold-deep:   #A87C08;
  --cream:       #F4F1E8;
  --cream-line:  #DED8C6;
  --ink:         #16262D;
  --body:        #4A5560;
  --muted:       #7C868D;
  --rule:        #E7E3D6;
  --white:       #FFFFFF;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Lato', Helvetica, Arial, sans-serif;

  --wrap: 1260px;
  --pad:  90px;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a   { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--teal); line-height: 1.22; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr, .skip {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 8px; left: 8px; z-index: 50;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: 10px 18px; background: var(--gold); color: var(--gold-ink);
  font-weight: 700;
}
.hp { position: absolute; left: -9999px; }   /* honeypot */

.h-serif  { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--teal); }
.h-serif--lg { font-size: 36px; }
.lede     { font-size: 17px; font-weight: 300; line-height: 1.75; color: #5D686F; }
.dot      { opacity: .5; }
.rule     { display: block; width: 58px; height: 3px; background: var(--gold); }

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

.btn {
  display: inline-block; border: 1px solid transparent; border-radius: 4px;
  padding: 14px 32px; font-size: 14px; font-weight: 700; letter-spacing: .14em;
  text-align: center; cursor: pointer; font-family: var(--sans);
}
.btn--gold  { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover  { background: #B5870B; color: var(--gold-ink); }
.btn--teal  { background: var(--teal); color: var(--white); }
.btn--teal:hover  { background: var(--teal-dark); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn--line  { border-color: #C5BCA3; color: var(--teal); }
.btn--line:hover  { border-color: var(--teal); color: var(--teal); }
.btn--sm    { padding: 10px 26px; }
.btn--block { display: block; width: 100%; }

.more {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--gold-deep); text-transform: uppercase;
}

/* ---------- top bar ---------- */

.topbar { background: var(--teal-dark); }
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar__contact { margin: 0; font-size: 13px; font-weight: 300; color: #8EB2BF; }
.topbar__contact a { color: #8EB2BF; }
.topbar__contact a:hover { color: var(--gold-soft); }

.social { display: flex; gap: 10px; align-items: center; }
.social a { display: block; }
.social svg { display: block; }
.social--bar a { color: #8EB2BF; }
.social--bar a:hover { color: var(--gold-soft); }
.social--bar svg { width: 17px; height: 17px; }
.social--foot a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--gold-ink);
}
.social--foot a:hover { background: var(--gold-soft); }
.social--foot svg { width: 16px; height: 16px; }

/* ---------- masthead ---------- */

.masthead { background: var(--teal); }
.masthead__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px; flex-wrap: wrap;
}

/* One SVG: church name in Advent Sans (outlined) over the official SDA logo. */
.brand { display: block; }
/* The artwork is trimmed tight, so this height is the mark, not padding. */
.brand img { display: block; width: auto; height: 54px; }
.brand--foot img { height: 56px; }

.nav ul { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav a  { font-size: 15px; color: #E6EFF2; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-soft); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav .btn { color: var(--gold-ink); }

.navtoggle, .navtoggle__btn { display: none; }

/* ---------- page banner (inner pages) ---------- */

.banner { background: var(--cream); padding: 52px 0 46px; }
.banner .rule { margin-bottom: 18px; }
.banner__title { font-family: var(--serif); font-size: 44px; }
.banner__intro { margin: 14px 0 0; max-width: 620px; font-size: 18px; font-weight: 300; color: #5D686F; }

/* ---------- hero (homepage) ---------- */

.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
}
/* Copy sits right; the wash is heaviest there so the steeple stays clear on the left. */
.hero__wash {
  position: absolute; inset: 0;
  background: linear-gradient(266deg,
    rgba(10,44,56,.95) 0%, rgba(11,52,66,.88) 42%, rgba(13,58,73,.10) 100%);
}
.hero__in { position: relative; padding: 70px 24px; }
.hero__copy { max-width: 520px; margin-left: auto; }
.hero h1 {
  margin: 18px 0 0; font-family: var(--serif); font-size: 56px;
  font-weight: 400; color: var(--white); line-height: 1.1;
}
.hero__lede { margin: 18px 0 0; max-width: 430px; font-size: 18px; font-weight: 300; color: #B9D2DB; }

.times { display: flex; gap: 38px; margin: 28px 0 0; }
.times__item { display: flex; flex-direction: column; gap: 4px; }
.times__label { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--gold-soft); }
.times__time  { font-family: var(--serif); font-size: 31px; color: var(--white); line-height: 1.2; }
.times__sep   { width: 1px; background: rgba(255,255,255,.26); }

.hero__cta { display: flex; gap: 13px; margin: 30px 0 0; flex-wrap: wrap; }

/* ---------- sunset strip ---------- */

.sunset { background: var(--gold); }
.sunset__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px; flex-wrap: wrap;
}
.sunset__label {
  display: flex; align-items: center; gap: 13px; margin: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: #3D2E02; text-transform: uppercase;
}
.sunset__label svg { width: 20px; height: 20px; flex: none; }
.sunset__count { margin: 0; font-size: 14px; color: #4A3803; }

/* ---------- sections ---------- */

.sec       { padding: 76px 0; }
.sec--cream{ background: var(--cream); }
.sec--tight{ padding: 56px 0; }

.sechead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; border-bottom: 2px solid var(--teal); padding-bottom: 11px; margin-bottom: 26px;
}
.sechead h2 { font-family: var(--serif); font-size: 27px; }

.sechead--mid { display: flex; flex-direction: column; align-items: center; gap: 14px;
                border: 0; text-align: center; margin-bottom: 38px; }
.sechead--mid h2 { font-family: var(--serif); font-size: 36px; }

/* ---------- watch + bulletin ---------- */

.watchgrid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }

/* Poster + custom play button. No YouTube iframe until someone presses play. */
.player {
  position: relative; display: block; background: var(--ink);
  aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer;
}
.player__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease, filter .3s ease;
}
.player::after {           /* subtle scrim so the button always has contrast */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,38,48,.34) 0%, rgba(10,38,48,.10) 55%, rgba(10,38,48,.34) 100%);
  transition: opacity .3s ease;
}
.player:hover .player__poster { transform: scale(1.03); }

.player__btn {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 86px; height: 86px; margin: -43px 0 0 -43px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(13, 58, 73, .62);
  border: 2px solid rgba(255, 255, 255, .92);
  color: #fff;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.player__btn svg { width: 30px; height: 34px; margin-left: 5px; fill: currentColor; }

/* Expanding ring on hover */
.player__btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0; transform: scale(.85);
  transition: opacity .35s ease, transform .35s ease;
}
.player:hover .player__btn,
.player:focus-visible .player__btn {
  background: var(--gold); border-color: var(--gold); color: var(--gold-ink);
  transform: scale(1.06);
}
.player:hover .player__btn::before { opacity: 1; transform: scale(1.22); }
.player:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.player__live {
  position: absolute; top: 0; left: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: #B8321C; padding: 8px 15px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--white);
}
.player__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .player__poster, .player__btn, .player__btn::before { transition: none; }
  .player:hover .player__poster { transform: none; }
}

/* ---------- lightbox ---------- */

body.is-locked { overflow: hidden; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: flex;
            align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 26, 33, .92); }
.lightbox__inner { position: relative; width: 100%; max-width: 1100px; }
.lightbox__inner:has(.lightbox__frame--doc) { max-width: 760px; }
.lightbox__inner:has(.lightbox__frame--panel) { max-width: 460px; }
.lightbox__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
/* Hymn pages are documents, not video: taller frame, light ground. */
.lightbox__frame--doc { aspect-ratio: auto; height: min(82vh, 900px); background: var(--white); }
/* Our own hymn card: no iframe, sized to its content. */
.lightbox__frame--panel { aspect-ratio: auto; height: auto; background: var(--white); }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; top: -46px; right: 0;
  width: 38px; height: 38px; padding: 0; cursor: pointer;
  background: none; border: 0; color: #fff;
}
.lightbox__close svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.lightbox__close:hover { color: var(--gold); }
.lightbox__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 860px) {
  .player__btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .player__btn svg { width: 22px; height: 26px; }
  .lightbox { padding: 16px; }
  .lightbox__close { top: -40px; }
}

.watch__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 14px; }
.watch__title { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.watch__sub   { margin: 4px 0 0; font-size: 14px; font-weight: 300; color: var(--muted); }
.watch__links { display: flex; gap: 20px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }

.bcard {
  background: var(--cream); border-top: 4px solid var(--gold);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.bcard__date { font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.3; }
.bcard__list { display: flex; flex-direction: column; gap: 11px;
               border-top: 1px solid var(--cream-line); padding-top: 17px; }
.bcard__row  { display: flex; gap: 12px; }
.bcard__row dt {
  flex: none; width: 68px; padding-top: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #9A8C6A; text-transform: uppercase;
}
.bcard__row dd { margin: 0; font-size: 14px; color: #414C54; }
.bcard__cta { display: flex; flex-direction: column; gap: 9px; margin-top: auto; padding-top: 14px; }
.bcard__cta .btn { padding: 12px 0; letter-spacing: .1em; font-size: 13px; }

/* ---------- tiles: photo + solid caption bar ---------- */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile  { display: flex; flex-direction: column; background: var(--white); }
.sec--cream .tile { background: var(--white); }
.tile__img { width: 100%; height: 215px; object-fit: cover; display: block; }
.tile__bar { background: var(--teal); padding: 15px 22px; }
.tile__bar h3 { font-size: 17px; font-weight: 700; letter-spacing: .04em; color: var(--white); }
.tile__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.tile__body p { font-size: 15px; font-weight: 300; line-height: 1.7; color: #5D686F; }
.tile__body .more { margin-top: auto; padding-top: 8px; }

/* ---------- media rows: round thumb + text ---------- */

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.split__aside .rule { margin-bottom: 16px; }
.split__aside h2 { font-family: var(--serif); font-size: 34px; margin-bottom: 14px; }

.rows { display: flex; flex-direction: column; }
.row  { display: flex; gap: 22px; align-items: flex-start;
        padding: 20px 0; border-bottom: 1px solid var(--rule); }
.row__thumb { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; display: block; }
.row h3 { font-family: var(--serif); font-size: 19px; }
.row p  { margin: 4px 0 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: #5D686F; }

/* ---------- event list ---------- */

.events { display: flex; flex-direction: column; gap: 14px; }
.event  { display: flex; align-items: center; gap: 26px; background: var(--white); padding: 18px 24px; }
.sec--cream .event { background: var(--white); }
.event__date {
  display: flex; flex-direction: column; align-items: center; flex: none;
  min-width: 58px; padding-right: 22px; border-right: 1px solid var(--rule);
}
.event__mon { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.event__day { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--teal); line-height: 1.2; }
.event__body { flex: 1 1 auto; }
.event__body h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.event__body p  { margin: 3px 0 0; font-size: 14px; font-weight: 300; color: var(--muted); }
.event__thumb { width: 92px; height: 62px; object-fit: cover; display: block; flex: none; }

.tag {
  flex: none; padding: 6px 13px; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: #E8EEF0; color: var(--teal);
}
.tag--fellowship     { background: #F6EDD6; color: #7A5E08; }
.tag--youth          { background: #E9F0E2; color: #3F5B2E; }
.tag--worship        { background: #E8EEF0; color: var(--teal); }
.tag--bible-study    { background: #EFE6F5; color: #5B3E82; }
.tag--camp-meeting   { background: #DCEFEA; color: #12695A; }
.tag--memorial       { background: #EDEBE7; color: #5C5347; }
.tag--health         { background: #F7E3DE; color: #8A3B24; }
.tag--administration { background: #E6EAF0; color: #33475B; }
.tag--outreach       { background: #FBEAD9; color: #9A5B12; }
.tag--off            { background: #9A2C2C; color: var(--white); }

/* A cancelled event still shows — people need to know it is off — but it must
   never be mistaken for one that is going ahead. */
.event--off { background: #FBF7F6; }
.event--off .event__day,
.event--off .event__mon { color: #9A7A78; }
.event--off .event__body h3 { color: var(--muted); font-weight: 400; }
.event--off .event__body h3 s { text-decoration-thickness: 2px; }
.event--off .event__thumb { filter: grayscale(1); opacity: .55; }

/* ---------- hymn card ---------- */

.hymnbox { padding: 40px 38px 34px; text-align: center; }
.hymnbox__eyebrow {
  margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em;
  color: #9A8C6A; text-transform: uppercase;
}
.hymnbox__no {
  margin: 10px 0 0; font-family: var(--serif); font-size: 56px;
  font-weight: 500; color: var(--gold); line-height: 1;
}
.hymnbox__title {
  margin: 6px 0 0; font-family: var(--serif); font-size: 26px;
  font-weight: 500; color: var(--teal); line-height: 1.25;
}
.hymnbox__sung {
  margin: 18px 0 0; font-size: 15px; font-weight: 300; color: #5D686F;
  padding-top: 16px; border-top: 1px solid var(--rule);
}
.hymnbox__sung strong { font-weight: 700; color: var(--ink); }
.hymnbox__dates {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px;
  margin: 14px 0 0;
}
.hymnbox__dates a {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--teal); background: #E8EEF0; padding: 5px 11px; border-radius: 3px;
}
.hymnbox__dates a:hover { background: var(--gold); color: var(--gold-ink); }
.hymnbox .btn { margin-top: 24px; }
.hymnbox__note { margin: 12px 0 0; font-size: 12px; color: var(--muted); font-weight: 300; }

a.hymn { color: var(--teal); border-bottom: 1px dotted var(--gold); }
a.hymn:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

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

.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: 28px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 26px 0 8px; }
.prose p, .prose li { font-size: 17px; font-weight: 300; line-height: 1.8; color: #4F5A62; }
.prose ul { margin: 0 0 1em; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }

.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.card {
  background: var(--white); border: 1px solid var(--rule);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-family: var(--serif); font-size: 21px; }
.card p  { font-size: 15px; font-weight: 300; line-height: 1.7; color: #5D686F; }

.factlist { display: flex; flex-direction: column; gap: 0; }
.factlist div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.factlist dt { flex: none; width: 150px; font-weight: 700; font-size: 14px; color: var(--teal); }
.factlist dd { margin: 0; font-size: 15px; font-weight: 300; color: #5D686F; }

/* ---------- media library ---------- */

.vidgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vid .player__btn { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-width: 2px; }
.vid .player__btn svg { width: 19px; height: 22px; margin-left: 3px; }
.vid h3  { font-family: var(--serif); font-size: 18px; margin-top: 12px; }
.vid p   { margin: 4px 0 0; font-size: 14px; font-weight: 300; color: var(--muted); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filters a, .filters button {
  border: 1px solid var(--rule); background: var(--white); border-radius: 3px;
  padding: 8px 16px; font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; color: var(--teal); cursor: pointer;
}
.filters .is-on { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ---------- bulletin archive ---------- */

.filters__n { opacity: .55; font-weight: 400; }

.arch__year {
  font-family: var(--serif); font-size: 26px; color: var(--teal);
  margin: 34px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--teal);
}
.arch__year:first-child { margin-top: 0; }

.arch__row {
  display: flex; align-items: baseline; gap: 22px;
  padding: 13px 0; border-bottom: 1px solid var(--rule);
}
.arch__date {
  flex: none; width: 86px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; color: var(--gold-deep); text-transform: uppercase;
}
.arch__body { flex: 1 1 auto; min-width: 0; }
.arch__title { font-size: 17px; color: var(--ink); }
.arch__title:hover { color: var(--gold-deep); }
.arch__title--plain { color: var(--muted); font-style: italic; }
.arch__meta { margin: 3px 0 0; font-size: 14px; font-weight: 300; color: var(--muted); }
.arch__pdf {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--teal); background: #E8EEF0; padding: 5px 11px; border-radius: 3px;
}
.arch__pdf:hover { background: var(--gold); color: var(--gold-ink); }

.aside__head {
  margin: 34px 0 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; color: #9A8C6A;
}
.aside__list li { padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.aside__list li.is-on a { font-weight: 700; color: var(--gold-deep); }

@media (max-width: 860px) {
  .arch__row { flex-wrap: wrap; gap: 6px 16px; }
  .arch__date { width: auto; }
}

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

input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; border: 1px solid #D8D2C2; border-radius: 3px;
  padding: 13px 16px; font-family: var(--sans); font-size: 15px;
  color: var(--ink); background: var(--white);
}
input::placeholder, textarea::placeholder { color: #9AA5AB; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal-mid); outline-offset: 1px; }
textarea { min-height: 150px; resize: vertical; }

.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--teal); }

.note { padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--cream); font-size: 15px; }
.note--ok  { border-color: #4E7538; background: #EDF3E8; }
.note--bad { border-color: #B8321C; background: #FBECE9; }

/* ---------- signup band ---------- */

.signup { background: var(--white); padding: 68px 0; border-top: 1px solid var(--rule); }
.signup__in { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.signup__form { display: flex; flex-direction: column; gap: 10px; }
.signup__row  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.signup .btn  { letter-spacing: .16em; }

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

.foot { background: var(--teal-dark); color: #A8C4CE; padding: 64px 0 34px; }
.foot__in { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.foot__brand { max-width: 330px; display: flex; flex-direction: column; gap: 18px; }
.foot__addr { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.85; color: #A8C4CE; }
.foot__addr a { color: #A8C4CE; }
.foot__addr a:hover { color: var(--gold-soft); }
.foot__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot__cols h3 {
  margin-bottom: 14px; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: var(--gold);
}
.foot__cols li { margin-bottom: 12px; }
.foot__cols a  { font-size: 14px; font-weight: 300; color: #D6E4E9; }
.foot__cols a:hover { color: var(--gold-soft); }
.foot__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--teal-line);
}
.foot__legal p { margin: 0; font-size: 13px; font-weight: 300; color: #6E97A6; }

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

@media (max-width: 1040px) {
  .watchgrid, .split, .signup__in { grid-template-columns: 1fr; gap: 32px; }
  .tiles, .cols3, .vidgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .navtoggle__btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer; margin-left: auto;
  }
  .navtoggle__btn span { display: block; height: 2px; background: #E6EFF2; border-radius: 2px; }
  .nav { flex-basis: 100%; display: none; }
  .navtoggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  .nav li { border-top: 1px solid rgba(255,255,255,.12); }
  .nav a  { display: block; padding: 13px 0; }
  .nav .btn { margin-top: 14px; }

  .masthead__in { min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 34px; }
  .topbar__in   { justify-content: center; text-align: center; padding: 8px 24px; }

  .hero h1 { font-size: 40px; }
  .hero__copy { max-width: none; margin-left: 0; }
  .hero__wash { background: linear-gradient(180deg, rgba(10,44,56,.92) 0%, rgba(11,52,66,.86) 100%); }
  .banner__title { font-size: 34px; }
  .times { gap: 24px; }

  .tiles, .cols2, .cols3, .vidgrid { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }

  .event { flex-wrap: wrap; gap: 16px; }
  .event__thumb, .event .tag { display: none; }
  .event .tag--off { display: block; }   /* the one tag that must survive the narrow layout */

  .foot__in { flex-direction: column; gap: 40px; }
  .foot__cols { gap: 40px; }
  .factlist div { flex-direction: column; gap: 4px; }
  .factlist dt { width: auto; }
}

/* ---------- registration ---------- */
.wrap--narrow { max-width: 680px; }
.reg { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.reg label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.reg input[type="text"], .reg input[type="email"], .reg input[type="tel"],
.reg input[type="number"], .reg input[type="date"], .reg select, .reg textarea {
  font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--cream-line);
  border-radius: 5px; background: var(--white); color: var(--ink); width: 100%;
}
.reg__h { font-family: var(--serif); font-size: 21px; margin: 6px 0 0; }
.reg__intro, .reg__note { font-weight: 300; line-height: 1.7; color: #4A5560; }
.reg__help { font-size: 13px; font-weight: 400; color: var(--muted); }
.reg__left { display: inline-block; padding: 5px 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; background: #FDF3E3; color: #7A5308; }

.reg__people, .reg__choices { border: none; padding: 0; margin: 0; }
.reg__people legend, .reg__choices legend { font-family: var(--serif); font-size: 21px; padding: 0; margin-bottom: 10px; }
.person {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; position: relative;
  background: var(--cream); border: 1px solid var(--cream-line); border-radius: 6px;
  padding: 16px 44px 16px 16px; margin-bottom: 12px;
}
.person__n { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); }
.person__x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; padding: 0;
  font: inherit; font-size: 17px; line-height: 1; background: none; border: 1px solid var(--cream-line);
  border-radius: 50%; color: #9A2C2C; cursor: pointer; }
.reg__add { align-self: flex-start; padding: 9px 16px; font: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; background: none; color: var(--teal); border: 1px solid var(--teal-line);
  border-radius: 5px; cursor: pointer; }
.reg__add:hover { background: var(--white); }

.reg__opt, .reg__consent { flex-direction: row; align-items: flex-start; gap: 9px; font-weight: 400; margin-bottom: 7px; }
.reg__opt input, .reg__consent input { margin-top: 3px; flex: none; }

.reg__pay { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.reg__total { font-family: var(--serif); font-size: 30px; color: var(--teal); margin: 0; }
.reg__total-note { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.reg__card { padding: 13px; border: 1px solid var(--cream-line); border-radius: 5px; background: var(--white); }
.reg__secure, .reg__test { font-size: 13px; color: var(--muted); margin: 0; }
.reg__test { padding: 9px 12px; background: #FDF3E3; color: #7A5308; border-radius: 4px; }

.reg__errors { background: #FBEFEF; border-left: 3px solid #9A2C2C; padding: 12px 16px; }
.reg__errors p { margin: 0 0 4px; font-size: 14px; color: #7A2222; }
.reg__errors p:last-child { margin-bottom: 0; }

.reg__closed { background: var(--cream); border-left: 3px solid var(--gold); padding: 16px 20px; margin: 22px 0; }
.reg__closed p { margin: 0 0 8px; }
.reg__closed p:last-child { margin: 0; }
.reg__done { background: var(--cream); border-left: 3px solid var(--teal); padding: 20px 24px; margin: 22px 0; }
.reg__done p { margin: 0 0 10px; line-height: 1.7; }
.reg__ref { font-size: 13px; color: var(--muted); }

@media (max-width: 560px) { .person { grid-template-columns: 1fr; } }
.event__reg { margin-top: 5px !important; }
.event__reg a { font-size: 13px; font-weight: 700; color: var(--gold-ink); letter-spacing: .02em;
  border-bottom: 1px solid var(--gold-soft); }
.event__reg a:hover { color: var(--teal); border-color: var(--teal-line); }
