/**
 * Welcome Packet page — page-specific styles only.
 * Shared components (tall-row, cards, feature-split, grande-row, gallery
 * strip, service-times card) come from the theme's design.css; this file
 * carries what the welcome page adds. Tokens (--navy, --gold, …) come from
 * the theme; fallbacks match so the page survives being rendered without it.
 */

/* ── Gold word highlight — the Bible Studies title treatment, promoted to
      the page's section-heading motif. One meaningful word per masthead:
      Worship · Word · Life · Now · Place · You. ── */
.se-welcome .sew-gold {
  font-style: normal;
  box-shadow: inset 0 -12px 0 rgba(250, 181, 0, 0.35);
}
.se-welcome .sew-gold--dark {
  /* the translucent swipe goes muddy on navy — solid underline instead */
  box-shadow: none;
  border-bottom: 4px solid var(--gold, #fab500);
  padding-bottom: 2px;
}

/* ── Hero — white band flowing from the header, campus skyline resting on
      a gold horizon, off-white page begins below. ── */
.se-welcome .sew-hero {
  background: var(--white, #ffffff);
  text-align: center;
  padding-top: 64px;
  border-bottom: 3px solid var(--gold, #fab500);
}
.se-welcome .sew-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}
.se-welcome .sew-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple, #44427b);
  margin-bottom: 16px;
}
.se-welcome .sew-eyebrow img {
  height: 15px;
  vertical-align: -2px;
  margin-right: 8px;
}
.se-welcome .sew-hero-heading {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 700;
  color: var(--navy, #003057);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.se-welcome .sew-hero-mission {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 400;
  color: var(--navy, #003057);
  line-height: 1.55;
  margin: 0 0 14px;
}
.se-welcome .sew-hero-mission b {
  font-weight: 700;
  border-bottom: 3px solid var(--gold, #fab500);
  padding-bottom: 1px;
}
.se-welcome .sew-hero-sub {
  font-size: 15px;
  color: var(--text-light, #5a5a6a);
  margin: 0;
}
.se-welcome .sew-hero-skyline {
  width: min(1400px, 96%);
  margin: 44px auto 0;
}
.se-welcome .sew-hero-skyline img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Hero morph: intro <-> visit form; headline personalizes on submit ── */
.se-welcome .sew-swap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s ease, opacity 0.35s ease;
}
.se-welcome .sew-swap > div { overflow: hidden; }
.se-welcome .sew-swap.is-closed {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}
.se-welcome .sew-hh-name { color: var(--navy, #003057); }
.se-welcome .sew-hh-name b {
  font-weight: 700;
  box-shadow: inset 0 -14px 0 rgba(250, 181, 0, 0.35);
}
.se-welcome .sew-visit-btn {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 26px; padding: 15px 30px; border: none; cursor: pointer;
  background: var(--gold, #fab500); color: var(--navy, #003057);
  font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; border-radius: 40px;
  box-shadow: 0 4px 16px rgba(250, 181, 0, 0.35);
  transition: background 0.2s, transform 0.15s;
}
.se-welcome .sew-visit-btn:hover { background: #e8a800; transform: translateY(-1px); }
.se-welcome .sew-hero.is-done .sew-visit-btn { display: none; }

.se-welcome .sew-visit-form {
  max-width: 680px; margin: 8px auto 0; text-align: left;
  display: flex; flex-direction: column; gap: 14px;
  padding: 4px 4px 10px;
}
.se-welcome .sew-vf-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.se-welcome .sew-vf-field label {
  display: block; font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--purple, #44427b); margin-bottom: 6px;
}
.se-welcome .sew-vf-field label small {
  font-weight: 600; color: var(--text-light, #5a5a6a);
  text-transform: none; letter-spacing: 0;
}
.se-welcome .sew-vf-field input[type="text"],
.se-welcome .sew-vf-field input[type="email"],
.se-welcome .sew-vf-field select {
  /* the theme has no global border-box; without it width:100% + padding
     overflows the grid column and the two fields collide */
  box-sizing: border-box;
  width: 100%; padding: 13px 16px;
  font-family: 'Open Sans', sans-serif; font-size: 15px; color: var(--text-main, #2a2a3d);
  background: var(--white, #ffffff);
  border: 1.5px solid rgba(0, 48, 87, 0.18); border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.se-welcome .sew-vf-field input:focus,
.se-welcome .sew-vf-field select:focus {
  outline: none; border-color: var(--gold, #fab500);
  box-shadow: 0 0 0 3px rgba(250, 181, 0, 0.22);
}
.se-welcome .sew-vf-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.se-welcome .sew-vf-pills input { position: absolute; opacity: 0; pointer-events: none; }
.se-welcome .sew-vf-pills label {
  display: inline-block; margin: 0; padding: 9px 18px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--navy, #003057);
  letter-spacing: 0; text-transform: none;
  background: var(--white, #ffffff);
  border: 1.5px solid rgba(0, 48, 87, 0.22); border-radius: 999px;
  transition: background 0.15s, border-color 0.15s;
}
.se-welcome .sew-vf-pills input:checked + label {
  background: var(--navy, #003057); border-color: var(--navy, #003057);
  color: var(--white, #ffffff);
}
.se-welcome .sew-vf-pills input:checked + label::before {
  content: '\2713  '; color: var(--gold, #fab500);
}
.se-welcome .sew-vf-hp {
  position: absolute !important; left: -9999px !important;
  height: 0; width: 0; opacity: 0;
}
.se-welcome .sew-vf-submit {
  align-self: center; display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 30px; margin-top: 4px; border: none; cursor: pointer;
  background: var(--gold, #fab500); color: var(--navy, #003057);
  font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; border-radius: 40px;
  box-shadow: 0 4px 16px rgba(250, 181, 0, 0.35);
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.se-welcome .sew-vf-submit:hover { background: #e8a800; transform: translateY(-1px); }
.se-welcome .sew-vf-submit[disabled] { opacity: 0.55; cursor: wait; transform: none; }
.se-welcome .sew-vf-privacy {
  text-align: center; font-size: 12px;
  color: var(--text-light, #5a5a6a); margin: 0;
}
.se-welcome .sew-vf-privacy.is-error { color: #c0392b; font-weight: 700; }

/* ── Section mastheads — theme's masthead classes, welcome spacing ── */
.se-welcome .sew-masthead {
  padding: 64px 0 8px;
  margin-bottom: 8px;
}
.se-welcome .sew-masthead .masthead-sub {
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Shared pill buttons ── */
.se-welcome .sew-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.2s;
}
.se-welcome .sew-btn--navy {
  background: var(--navy, #003057);
  color: var(--white, #ffffff);
}
.se-welcome .sew-btn--navy:hover {
  background: var(--purple, #44427b);
  color: var(--white, #ffffff);
}
.se-welcome .sew-btn--gold {
  background: var(--gold, #fab500);
  color: var(--navy, #003057);
}
.se-welcome .sew-btn--gold:hover {
  background: #e8a800;
  color: var(--navy, #003057);
}
.se-welcome .sew-cta-wrap {
  text-align: center;
  margin-top: 30px;
}

/* ── Worship trio: welcome-only cards beside the theme's service card ── */
.se-welcome .cst-time-row { align-items: center; }
.se-welcome .cst-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  margin-top: 28px;
  padding: 14px 26px;
  background: var(--gold, #fab500);
  color: var(--navy, #003057);
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.2s;
}
.se-welcome .cst-watch-btn:hover {
  background: #e8a800;
  color: var(--navy, #003057);
}

.se-welcome .sew-card {
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.se-welcome .sew-card-body {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}
.se-welcome .sew-card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.se-welcome .sew-card-heading {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.15;
}

.se-welcome .sew-card--white {
  background: var(--white, #ffffff);
  color: var(--text-main, #2a2a3d);
  box-shadow: 0 16px 40px rgba(0, 30, 60, 0.12);
}
.se-welcome .sew-card--white .sew-card-eyebrow { color: var(--purple, #44427b); }
.se-welcome .sew-card--white .sew-card-heading { color: var(--navy, #003057); }
.se-welcome .sew-expect {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}
.se-welcome .sew-expect li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-light, #5a5a6a);
}
.se-welcome .sew-expect i {
  color: var(--gold, #fab500);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}
.se-welcome .sew-expect b { color: var(--text-main, #2a2a3d); }

.se-welcome .sew-card--gold {
  background: var(--gold, #fab500);
  color: var(--navy, #003057);
  box-shadow: 0 16px 40px rgba(250, 181, 0, 0.28);
}
.se-welcome .sew-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at -10% -10%, rgba(255, 255, 255, 0.28) 0%, transparent 55%);
  pointer-events: none;
}
.se-welcome .sew-card--gold .sew-card-eyebrow { color: #7a5a00; }
.se-welcome .sew-card--gold .sew-card-heading { color: var(--navy, #003057); }
.se-welcome .sew-card-copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(0, 48, 87, 0.82);
  margin: 0 0 auto;
}
.se-welcome .sew-addr { margin-bottom: 14px; }
.se-welcome .sew-addr b {
  display: block;
  font-size: 16px;
}
.se-welcome .sew-addr a {
  color: inherit;
  text-decoration: none;
}
.se-welcome .sew-card--gold .sew-btn { margin-top: 28px; align-self: flex-start; }

/* ── Bible Studies preview — row styles mirrored from bible-studies.css
      (that sheet only enqueues on its own template) ── */
.se-welcome .sew-bs {
  max-width: 880px;
  margin: 40px auto 0;
}
.se-welcome .se-bs-day { margin-bottom: 26px; }
.se-welcome .se-bs-day-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.se-welcome .se-bs-day-head h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy, #003057);
  white-space: nowrap;
  margin: 0;
}
.se-welcome .se-bs-day-head::after {
  content: '';
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold, #fab500), rgba(250, 181, 0, 0.12));
}
.se-welcome .se-bs-rows {
  background: var(--white, #ffffff);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 30, 60, 0.10);
}
.se-welcome .se-bs-row {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(0, 48, 87, 0.08);
  transition: background 0.15s;
}
.se-welcome .se-bs-row:first-child { border-top: 0; }
.se-welcome .se-bs-row:hover { background: rgba(250, 181, 0, 0.07); }
.se-welcome .se-bs-when {
  text-align: center;
  border-right: 2px solid rgba(0, 48, 87, 0.10);
  padding-right: 16px;
}
.se-welcome .se-bs-big {
  display: block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy, #003057);
  line-height: 1.1;
  white-space: nowrap;
}
.se-welcome .se-bs-sub {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light, #5a5a6a);
  margin-top: 3px;
}
.se-welcome .se-bs-aud {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple, #44427b);
  margin-bottom: 3px;
}
.se-welcome .se-bs-name {
  display: block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy, #003057);
  line-height: 1.25;
}
.se-welcome .se-bs-info {
  display: block;
  font-size: 13px;
  color: var(--text-light, #5a5a6a);
  margin-top: 3px;
  line-height: 1.45;
}
.se-welcome .se-bs-go {
  font-size: 18px;
  color: var(--gold, #fab500);
  font-weight: 700;
}

/* ── Discipleship strip ── */
.se-welcome .sew-disciple {
  max-width: 880px;
  margin: 40px auto 0;
  background: var(--navy, #003057);
  color: var(--white, #ffffff);
  border-radius: 16px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0, 30, 80, 0.18);
}
.se-welcome .sew-disciple-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #fab500);
  display: block;
  margin-bottom: 6px;
}
.se-welcome .sew-disciple h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--white, #ffffff);
}
.se-welcome .sew-disciple p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 480px;
}
.se-welcome .sew-disciple .sew-btn { flex-shrink: 0; }

/* ── School — photo takes its height from the panel via grid stretch, so
      it can never widen its track past the page margins ── */
.se-welcome .sew-school { margin-top: 80px; }
.se-welcome .sew-fs-copy {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 16px 0 0;
}
.se-welcome .sew-school .fs-title { -webkit-line-clamp: unset; }
.se-welcome .sew-school .fs-image {
  aspect-ratio: auto;
  min-height: 340px;
}
.se-welcome .sew-school .fs-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Happening Now grid spacing ── */
.se-welcome .sew-latest { margin-top: 40px; }

/* ── Find Your Place — ministry doors ── */
.se-welcome .sew-ministry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.se-welcome .sew-ministry-card {
  background: var(--white, #ffffff);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 30, 57, 0.07);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.se-welcome .sew-ministry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 30, 57, 0.13);
}
.se-welcome .sew-ministry-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(68, 66, 123, 0.10);
  color: var(--purple, #44427b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.se-welcome .sew-ministry-card h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy, #003057);
  margin: 0 0 8px;
}
.se-welcome .sew-ministry-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-light, #5a5a6a);
  margin: 0 0 14px;
}
.se-welcome .sew-ministry-link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple, #44427b);
}
.se-welcome .sew-ministry-link i {
  font-size: 11px;
  margin-left: 6px;
}

/* ── Closing band — navy night sky with scattered twinkling stars ── */
.se-welcome .sew-closing {
  background: linear-gradient(180deg, #0a3563 0%, #062142 55%, #020d20 100%);
  border-radius: 22px;
  margin-top: 80px;
  padding: 64px 40px;
  text-align: center;
  color: var(--white, #ffffff);
  position: relative;
  overflow: hidden;
}
.se-welcome .sew-closing > *:not(.sew-stars) {
  position: relative;
  z-index: 1;
}
.se-welcome .sew-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.se-welcome .sew-stars img {
  position: absolute;
  animation: sew-twinkle 6s ease-in-out infinite;
}
@keyframes sew-twinkle {
  0%, 100% { opacity: 0.10; }
  50%      { opacity: 0.26; }
}
@media (prefers-reduced-motion: reduce) {
  .se-welcome .sew-stars img {
    animation: none;
    opacity: 0.15;
  }
}
.se-welcome .sew-closing-star {
  height: 44px;
  margin-bottom: 20px;
}
.se-welcome .sew-closing h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--white, #ffffff);
}
.se-welcome .sew-closing p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 4px;
}
.se-welcome .sew-closing-contact {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 14.5px;
  font-weight: 600;
}
.se-welcome .sew-closing-contact span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.se-welcome .sew-closing-contact i { color: var(--gold, #fab500); }
.se-welcome .sew-closing-contact a {
  color: inherit;
  text-decoration: none;
}
.se-welcome .sew-closing-contact a:hover { color: var(--gold, #fab500); }
.se-welcome .sew-closing .sew-btn { margin-top: 34px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .se-welcome .sew-hero-inner { padding: 0 20px; }
  /* the mission's hard break is a desktop luxury; on narrow screens it
     strands "Enrich" on its own line, so let the text wrap naturally */
  .se-welcome .sew-hero-mission br { display: none; }
  .se-welcome .sew-ministry-row { grid-template-columns: 1fr; }
  .se-welcome .sew-vf-row { grid-template-columns: 1fr; }
  .se-welcome .se-bs-row { grid-template-columns: 88px 1fr; }
  .se-welcome .se-bs-go { display: none; }
  .se-welcome .se-bs-big {
    font-size: 15px;
    white-space: normal;
  }
  .se-welcome .sew-school .fs-image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}
@media (min-width: 640px) and (max-width: 900px) {
  .se-welcome .sew-ministry-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
