/* ==========================================================================
   Fireland Global Ministries — "The Lit Hearth" design system
   Palette: oxblood structural blocks, ember red actions, candlelight gold
   Type:    Fraunces (display) · Archivo (body) · Noto Serif/Sans Malayalam
   ========================================================================== */

:root {
  --ink: #241518;
  --ink-soft: #52403c;
  --muted: #7d6c64;
  --oxblood: #3f0d0d;
  --oxblood-deep: #2b0808;
  --flame: #b3251e;
  --flame-bright: #d8402a;
  --gold: #d99a3d;
  --gold-soft: #f3dcb4;
  --paper: #faf7f2;
  --paper-dim: #f2ebe1;
  --card: #ffffff;
  --shadow-soft: 0 24px 48px -24px rgba(43, 8, 8, 0.28);
  --shadow-lift: 0 16px 40px -16px rgba(43, 8, 8, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Fraunces", "Noto Serif Malayalam", serif;
  --font-body: "Archivo", "Noto Sans Malayalam", sans-serif;
  --font-ml-serif: "Noto Serif Malayalam", serif;
  --font-ml-sans: "Noto Sans Malayalam", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.container--wide { width: min(1360px, 94vw); margin-inline: auto; }

/* ------------------------------------------------------------------ type */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }

.display {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 620;
}

.display em, .h2 em {
  font-style: italic;
  color: var(--flame-bright);
}

.h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

.ml { font-family: var(--font-ml-sans); }

.ml-display {
  font-family: var(--font-ml-serif);
  font-weight: 600;
  line-height: 1.5;
}

/* Eyebrow with the signature ember dash */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flame) 0%, var(--gold) 100%);
  transform: skewX(-18deg);
}

.on-dark .eyebrow { color: var(--gold); }

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(63, 13, 13, 0.07), 0 12px 32px -24px rgba(43, 8, 8, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--oxblood);
}

.nav__brand img { height: 42px; width: 42px; object-fit: contain; }

.nav__brand span small {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 550;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flame);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav__links a {
  position: relative;
  padding-block: 0.35rem;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flame), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__links a:hover { color: var(--flame); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--oxblood); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 0.9rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--oxblood);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--flame {
  background: linear-gradient(120deg, var(--flame) 0%, var(--flame-bright) 100%);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(179, 37, 30, 0.55);
}

.btn--flame:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(179, 37, 30, 0.6); }

.btn--ghost {
  background: transparent;
  color: var(--oxblood);
  box-shadow: inset 0 0 0 1.5px rgba(63, 13, 13, 0.28);
}

.btn--ghost:hover { background: rgba(63, 13, 13, 0.06); transform: translateY(-2px); }

.on-dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.on-dark .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn--gold {
  background: var(--gold);
  color: var(--oxblood-deep);
  box-shadow: 0 12px 28px -12px rgba(217, 154, 61, 0.55);
}

.btn--gold:hover { transform: translateY(-2px); }

.btn--sm { padding: 0.6rem 1.3rem; font-size: 0.86rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--flame);
  transition: gap 0.25s ease;
}

.textlink:hover { gap: 0.8rem; }

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

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--dim { background: var(--paper-dim); }

.section--dark {
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(216, 64, 42, 0.28), transparent 62%),
    radial-gradient(700px 480px at 8% 110%, rgba(217, 154, 61, 0.12), transparent 60%),
    linear-gradient(160deg, var(--oxblood) 0%, var(--oxblood-deep) 100%);
  color: #f7ece2;
}

.section--dark .lead { color: rgba(247, 236, 226, 0.78); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.8rem);
}

.section-head .lead { max-width: 44ch; }

.stack-sm > * + * { margin-top: 0.9rem; }
.stack > * + * { margin-top: 1.5rem; }

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -12%, rgba(216, 64, 42, 0.32), transparent 60%),
    radial-gradient(800px 520px at -6% 108%, rgba(217, 154, 61, 0.14), transparent 58%),
    linear-gradient(158deg, #4a1010 0%, var(--oxblood) 42%, var(--oxblood-deep) 100%);
  color: #f7ece2;
}

.hero__flame {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: clamp(340px, 40vw, 640px);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.hero__ml {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--gold-soft);
  margin-top: 1.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.6rem, 4vw, 3.6rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 236, 226, 0.14);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--gold);
}

.hero__stats span { font-size: 0.85rem; color: rgba(247, 236, 226, 0.7); }

/* Service times card in hero */
.times-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 236, 226, 0.14);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lift);
}

.times-card h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
}

.times-card ul { list-style: none; }

.times-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.times-card li + li { border-top: 1px solid rgba(247, 236, 226, 0.1); }

.times-card li strong { font-weight: 600; }
.times-card li span { color: rgba(247, 236, 226, 0.66); font-size: 0.9rem; white-space: nowrap; }

.times-card .btn { width: 100%; margin-top: 1.5rem; }

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.card--oxblood {
  background: linear-gradient(155deg, #4a1010, var(--oxblood-deep));
  color: #f7ece2;
}

.card--gold {
  background: linear-gradient(140deg, var(--gold) 0%, #c9852b 100%);
  color: var(--oxblood-deep);
}

.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); }
.card--oxblood p { color: rgba(247, 236, 226, 0.78); }
.card--gold p { color: rgba(43, 8, 8, 0.75); }

.card .textlink { margin-top: 1.4rem; }

/* Welcome bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.4rem;
}

.bento__visit { grid-column: span 4; display: flex; flex-direction: column; justify-content: flex-end; min-height: 330px; position: relative; overflow: hidden; }

.bento__visit img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__visit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(12deg, rgba(43, 8, 8, 0.88) 18%, rgba(43, 8, 8, 0.25) 62%, rgba(43, 8, 8, 0.05) 100%);
}

.bento__visit > div { position: relative; z-index: 1; color: #f7ece2; }
.bento__visit p { color: rgba(247, 236, 226, 0.85); }
.bento__visit .ml { color: var(--gold-soft); }

.bento__locations { grid-column: span 2; }

.locations-list { list-style: none; margin-top: 1.4rem; }

.locations-list li { padding-left: 1rem; border-left: 2px solid rgba(217, 154, 61, 0.55); }

.locations-list li + li { margin-top: 1.2rem; }

.locations-list small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.bento__prayer {
  grid-column: span 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.bento__prayer h3 { margin-bottom: 0.25rem; }

/* Ministry cards */
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.ministry .ml {
  display: block;
  color: var(--flame);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.ministry h3 { margin-bottom: 0.15rem; }

/* --------------------------------------------------------------- music */

.music-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.music-feature__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.music-feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.music-feature__media figcaption {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  right: 1.4rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(43, 8, 8, 0.82);
  backdrop-filter: blur(8px);
  color: #f7ece2;
  font-size: 0.9rem;
}

.music-feature__media figcaption strong { color: var(--gold-soft); }

.songlist { list-style: none; margin-top: 1.8rem; }

.songlist li + li { margin-top: 0.65rem; }

.songlist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.songlist a:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }

.songlist .ml { color: var(--flame); font-weight: 600; font-size: 0.95rem; }

.songlist strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }

.songlist .arrow { color: var(--gold); font-size: 1.2rem; }

/* Song database (music page) */
.song-search {
  width: min(430px, 100%);
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-soft), inset 0 0 0 1.5px rgba(63, 13, 13, 0.1);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}

.song-search:focus { outline: none; box-shadow: var(--shadow-soft), inset 0 0 0 2px rgba(179, 37, 30, 0.45); }

.song-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-row + .song-row { margin-top: 1rem; }

.song-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.song-row h3 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.song-row .ml { color: var(--flame); font-weight: 600; }

.song-row__meta { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-top: 0.5rem; }

.song-row__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--paper-dim);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.chip:hover { background: var(--oxblood); color: #f7ece2; transform: translateY(-2px); }
.chip--flame { background: var(--flame); color: #fff; }
.chip--flame:hover { background: var(--flame-bright); }

/* Album banner */
.album {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.album__cover { position: relative; min-height: 340px; }

.album__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.album__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(14deg, rgba(43, 8, 8, 0.75) 8%, transparent 55%);
}

.album__cover span {
  position: absolute;
  left: 1.8rem;
  bottom: 1.6rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 620;
  color: #fff;
}

.album__body {
  background: linear-gradient(155deg, #4a1010, var(--oxblood-deep));
  color: #f7ece2;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

.album__body blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-style: italic; line-height: 1.45; color: var(--gold-soft); }

.album__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }

.album__facts div {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 0.9rem 0.6rem;
  text-align: center;
}

.album__facts strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--gold); }
.album__facts span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247, 236, 226, 0.65); font-weight: 700; }

/* --------------------------------------------------------------- events */

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 1.6rem;
  align-items: start;
}

.events-layout__side { position: sticky; top: 96px; }

.event-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.event-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.event-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.6rem; }

.event-card__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--flame), var(--flame-bright));
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.event-card__date strong { font-family: var(--font-display); font-size: 1.35rem; }
.event-card__date span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

.event-card .ml { color: var(--flame); font-weight: 600; }

.event-card__meta { display: flex; gap: 1.2rem; font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 1rem; }

/* Featured event banner */
.feature-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--card);
}

.feature-banner__media { position: relative; min-height: 300px; }
.feature-banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.feature-banner__body { padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }

.badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(179, 37, 30, 0.1);
  color: var(--flame);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.on-dark .badge { background: rgba(217, 154, 61, 0.16); color: var(--gold); }

/* ------------------------------------------------------------ scripture */

.scripture { text-align: center; position: relative; }

.scripture__mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  display: block;
  margin-bottom: 1.6rem;
}

.scripture blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 550;
  line-height: 1.35;
  max-width: 26em;
  margin-inline: auto;
}

.scripture .ml-display {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--gold-soft);
  max-width: 42em;
  margin: 1.8rem auto 0;
  font-weight: 500;
}

.scripture cite {
  display: inline-block;
  margin-top: 2rem;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ------------------------------------------------------------ leadership */

.leader-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.leader-card figure { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }

.leader-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }

.leader-card:hover figure img { transform: scale(1.045); }

.leader-card > div { padding: 1.7rem 1.8rem 2rem; }

.leader-card .role {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flame);
  display: block;
  margin: 0.3rem 0 0.9rem;
}

.leader-card p { font-size: 0.95rem; }

/* --------------------------------------------------------------- history */

.timeline { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.timeline__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}

.timeline__item:nth-child(even) .timeline__media { order: -1; }

.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 620;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(179, 37, 30, 0.5);
  line-height: 1;
}

.timeline__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 10;
}

.timeline__media img { width: 100%; height: 100%; object-fit: cover; }

.timeline__media--tone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(420px 260px at 80% 0%, rgba(216, 64, 42, 0.35), transparent 60%),
    linear-gradient(150deg, #4a1010, var(--oxblood-deep));
}

.timeline__media--tone p {
  font-family: var(--font-ml-serif);
  color: var(--gold-soft);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  text-align: center;
  line-height: 1.7;
}

/* -------------------------------------------------------------- sermons */

.sermon-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lift);
}

.sermon-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }

.sermon-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(8deg, rgba(28, 6, 6, 0.92) 12%, rgba(28, 6, 6, 0.35) 55%, rgba(28, 6, 6, 0.12) 100%);
}

.sermon-hero__body { position: relative; z-index: 1; color: #f7ece2; padding: clamp(2rem, 4.5vw, 4rem); max-width: 760px; }

.sermon-hero__body .ml-display { color: var(--gold-soft); font-size: clamp(1.15rem, 2.2vw, 1.6rem); margin-top: 1rem; }

.sermon-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.sermon-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-family: var(--font-ml-serif);
  font-size: 1.35rem;
  text-align: center;
  padding: 1.5rem;
}

.sermon-card__thumb--a { background: radial-gradient(340px 200px at 20% 0%, rgba(216, 64, 42, 0.5), transparent 65%), linear-gradient(150deg, #4a1010, var(--oxblood-deep)); }
.sermon-card__thumb--b { background: radial-gradient(340px 200px at 85% 10%, rgba(217, 154, 61, 0.45), transparent 60%), linear-gradient(150deg, #3c1508, #240a04); }
.sermon-card__thumb--c { background: radial-gradient(340px 220px at 50% 110%, rgba(216, 64, 42, 0.55), transparent 62%), linear-gradient(160deg, #2b0b14, #16050a); }

.sermon-card__thumb time {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(247, 236, 226, 0.85);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.sermon-card > div { padding: 1.6rem 1.7rem 1.9rem; }
.sermon-card h3 { font-size: 1.25rem; }
.sermon-card .ml { color: var(--flame); font-weight: 600; font-size: 0.95rem; }
.sermon-card p:not(.ml) { font-size: 0.92rem; margin-top: 0.7rem; }

.filter-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

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

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }

.field { display: flex; flex-direction: column; gap: 0.45rem; }

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  padding: 0.95rem 1.15rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper-dim);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  resize: vertical;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--card);
  box-shadow: inset 0 0 0 2px rgba(179, 37, 30, 0.4);
}

/* --------------------------------------------------------------- lyrics */

.lyrics-hero { text-align: center; }

.lyrics-hero .ml-display {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--gold-soft);
  margin-top: 1rem;
}

.lyrics-hero .byline { margin-top: 1.2rem; font-size: 0.95rem; color: rgba(247, 236, 226, 0.75); }

.lyrics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.6rem;
  align-items: start;
}

/* Bilingual lyric columns: Malayalam and transliteration at the same size */
.lyrics-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.lyrics-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: start;
  margin-top: 1.6rem;
}

.stanzas { text-align: center; }

.stanzas h2 {
  font-family: var(--font-ml-serif);
  font-size: 1.35rem;
  color: var(--flame);
  margin-bottom: 2.2rem;
}

.stanza {
  font-family: var(--font-ml-sans);
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 2.05;
  color: var(--ink);
}

.stanza + .stanza { margin-top: 2.4rem; }

.stanza--tr { font-family: var(--font-body); font-style: italic; color: var(--ink-soft); font-size: 1rem; line-height: 1.9; }
.stanza--tr + .stanza--tr { margin-top: 1.6rem; }

/* Transliteration stanza at the exact same size as the Malayalam stanza */
.stanza--en { font-family: var(--font-body); }
.repeat-mark { color: var(--muted); font-size: 0.85em; }

.side-note h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.1rem; margin-bottom: 1.1rem; }

.songwriter { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }

.songwriter img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 20%; }

.songwriter strong { display: block; font-size: 0.92rem; }
.songwriter span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

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

.footer {
  background: linear-gradient(170deg, var(--oxblood-deep) 0%, #1c0505 100%);
  color: rgba(247, 236, 226, 0.75);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f7ece2;
  margin-bottom: 1rem;
}

.footer__brand img { height: 44px; width: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 5px; }

.footer p { font-size: 0.92rem; max-width: 34ch; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer ul { list-style: none; }
.footer ul li + li { margin-top: 0.6rem; }
.footer ul a { font-size: 0.93rem; transition: color 0.25s ease; }
.footer ul a:hover { color: var(--gold-soft); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(247, 236, 226, 0.12);
  font-size: 0.82rem;
  color: rgba(247, 236, 226, 0.5);
}

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

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

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

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .bento__visit, .bento__locations { grid-column: span 6; }
  .bento > * { grid-column: 1 / -1 !important; }
  .events-layout { grid-template-columns: 1fr; }
  .events-layout__side { position: static; }
  .music-feature, .album, .feature-banner, .lyrics-grid, .lyrics-cols { grid-template-columns: 1fr; }
  .lyrics-extras { grid-template-columns: 1fr; }
  .trio, .event-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline__item { grid-template-columns: 1fr; }
  .timeline__item:nth-child(even) .timeline__media { order: 0; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 4vw 1.4rem;
    background: var(--paper);
    box-shadow: 0 24px 32px -20px rgba(43, 8, 8, 0.3);
    display: none;
  }

  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 0.8rem 0; font-size: 1.05rem; }
  .nav__toggle { display: flex; }
  .nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__inner { gap: 0.8rem; }
  .nav__brand { gap: 0.55rem; font-size: 0.95rem; }
  .nav__brand img { height: 36px; width: 36px; }
  .nav__brand span small { font-size: 0.58rem; letter-spacing: 0.14em; }
  .nav__cta { gap: 0.5rem; }
  .nav__cta .btn--sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
  .nav__toggle { padding: 0.4rem; }

  .trio, .event-cards, .event-cards--two, .form-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .album__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
