/* ============================================================
   CALVARY PAMULA CHURCH OF WORSHIP — DESIGN SYSTEM
   ============================================================ */

:root {
  /* Color */
  --navy: #0F2A4A;
  --navy-deep: #0A1D34;
  --royal: #1E4D8C;
  --gold: #C9A24B;
  --gold-soft: #E4CE96;
  --ivory: #FAF8F4;
  --ivory-wash: #F4EDE0;
  --charcoal: #22262B;
  --charcoal-soft: #565C64;
  --white: #FFFFFF;
  --line: rgba(15, 42, 74, 0.12);

  /* Type */
  --font-display: "Fraunces", "Noto Serif Sinhala", Georgia, serif;
  --font-body: "Inter", "Noto Sans Sinhala", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 6px;
  --radius-lg: 10px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; max-width: 66ch; }
p.lede { font-size: 1.2rem; color: var(--charcoal-soft); max-width: 56ch; }

.si {
  font-family: "Noto Sans Sinhala", var(--font-body);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: var(--container-narrow); }

section { padding: var(--space-xl) 0; }
@media (max-width: 720px) {
  section { padding: var(--space-lg) 0; }
}

.section-wash { background: var(--ivory-wash); }
.section-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }
.section-navy p { color: rgba(250, 248, 244, 0.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

.divider-gold {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 1.1rem 0 1.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-soft); }

.btn-outline-light {
  border-color: rgba(250, 248, 244, 0.55);
  color: var(--ivory);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(250,248,244,0.08); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--royal); }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1560px;
  margin: 0 auto;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand img { height: 42px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 1; min-width: 0; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  flex-wrap: nowrap;
}
.main-nav a.nav-link {
  color: var(--charcoal);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.main-nav a.nav-link:hover { color: var(--royal); }
.main-nav a.nav-link.is-active { color: var(--navy); font-weight: 600; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15,42,74,0.12);
  min-width: 210px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.dropdown a:hover { background: var(--ivory-wash); color: var(--navy); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-switch button {
  background: none; border: none; cursor: pointer; font: inherit; color: inherit; padding: 0.2rem 0.3rem;
}
.lang-switch button.is-current { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); display: block; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 1460px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu-close { background: none; border: none; color: var(--ivory); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(250,248,244,0.14); }
.mobile-menu a { display: block; padding: 1rem 0.2rem; font-size: 1.1rem; font-family: var(--font-display); }
.mobile-submenu { padding-left: 1rem; }
.mobile-submenu a { font-size: 0.95rem; font-family: var(--font-body); padding: 0.75rem 0.2rem; color: rgba(250,248,244,0.8); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }
.mobile-lang { margin-top: 1.5rem; display: flex; gap: 1rem; font-size: 0.95rem; }

/* ============================================================
   HERO — full-bleed image, text anchored low in a translucent
   glass panel that clears both faces (which sit upper-frame).
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 0;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transform: scale(1);
  animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,29,52,0) 0%,
    rgba(10,29,52,0.08) 30%,
    rgba(10,29,52,0.62) 54%,
    rgba(10,29,52,0.93) 78%,
    rgba(10,29,52,0.98) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1.5rem, 6vw, 6.5rem) var(--space-lg);
}
.hero-inner {
  max-width: 640px;
  margin: 0;
  padding: 0;
  opacity: 0;
  animation: heroRise 0.9s ease 0.15s forwards;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-cross { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero h1 { color: var(--white); margin-bottom: 0.5rem; font-size: clamp(2rem, 4vw, 3.1rem); text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero .hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero .hero-support {
  color: rgba(250,248,244,0.92);
  font-size: 1rem;
  margin-bottom: 1.4rem;
  max-width: 50ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-locations {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero { min-height: 100vh; align-items: flex-end; }
  .hero-content { padding-bottom: var(--space-md); }
  .hero-inner { max-width: 100%; padding: 0; margin: 0; }
  .hero-media img { object-position: 78% 2%; }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(10,29,52,0) 0%,
      rgba(10,29,52,0.15) 38%,
      rgba(10,29,52,0.6) 58%,
      rgba(10,29,52,0.92) 82%,
      rgba(10,29,52,0.97) 100%);
  }
}

@media (max-width: 900px) and (max-height: 720px) {
  .hero { min-height: auto; display: block; }
  .hero-media { position: relative; height: 42vh; min-height: 260px; }
  .hero-media img { object-position: 84% 20%; animation: none; }
  .hero-scrim { background: linear-gradient(180deg, rgba(10,29,52,0) 55%, rgba(10,29,52,0.97) 100%); }
  .hero-content { position: relative; padding: 1.8rem 1.4rem 2.4rem; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
}
   panel less room, so pull the subjects further up in the frame
   to keep clear of their faces regardless of panel height. */
@media (max-height: 860px) and (min-width: 901px) {
  .hero-media img { object-position: center 6%; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .hero-media img { object-position: center -8%; }
  .hero { min-height: 720px; }
}

/* ============================================================
   WELCOME / TWO-COL
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;

  gap: var(--space-lg);
  align-items: center;
}
.two-col.reverse { grid-template-columns: 0.95fr 1.05fr; }
.two-col.reverse .two-col-media { order: 2; }
@media (max-width: 860px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .two-col-media { order: 0; }
}
.two-col-media img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.scripture-block {
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin-top: var(--space-md);
}
.scripture-block p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.scripture-block cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

/* ============================================================
   CHURCH CARDS (typography-led, no building photos)
   ============================================================ */
.church-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
  margin-top: var(--space-md);
}
.church-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  cursor: pointer;
}
.church-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.church-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.church-card h3 { margin-bottom: 0.5rem; }
.church-card p { font-size: 0.93rem; color: var(--charcoal-soft); margin-bottom: 1.2rem; flex-grow: 1; }
.church-card .explore { font-size: 0.88rem; font-weight: 600; color: var(--royal); margin-top: auto; }
.church-card .explore:hover { color: var(--navy); }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: var(--space-md);
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.leader-photo {
  aspect-ratio: 4/3;
  background: var(--ivory-wash);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  overflow: hidden;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-body { padding: 1.6rem 1.7rem 1.9rem; }
.leader-body .role { color: var(--gold); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; margin-bottom: 0.3rem; }
.leader-body h3 { margin-bottom: 0.6rem; }
.leader-body p { font-size: 0.95rem; color: var(--charcoal-soft); }

/* ---------- Leadership hierarchy (Leadership page) ---------- */
.leadership-hierarchy { display: flex; flex-direction: column; align-items: center; }
.leadership-tier { width: 100%; display: flex; justify-content: center; }
.leadership-tier + .leadership-tier { margin-top: 2.5rem; }
.leadership-connector {
  width: 2px; height: 2.5rem;
  background: linear-gradient(var(--gold), transparent);
  margin: 0 auto;
}
.tier-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.leadership-tier--principal .leader-card { max-width: 760px; }
.leadership-tier--principal .leader-photo { aspect-ratio: 4/3; }
.leadership-tier--secondary .leader-card { max-width: 600px; }
.leadership-tier--secondary .leader-photo { aspect-ratio: 4/3; }
.leadership-tier--team { display: block; }
.leader-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  gap: 1.8rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.leader-grid-small .leader-photo { aspect-ratio: 4/3; }
.leader-grid-small .leader-body { padding: 1.3rem 1.4rem 1.6rem; }
.leader-grid-small .leader-body h3 { font-size: 1.15rem; }
.leader-grid-small .leader-body p { font-size: 0.88rem; }

@media (max-width: 640px) {
  .leadership-tier--principal .leader-card,
  .leadership-tier--secondary .leader-card { max-width: 100%; }
}

/* ============================================================
   MINISTRY CARDS
   ============================================================ */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  margin-top: var(--space-md);
}
.ministry-card {
  padding: 1.8rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}
.ministry-card h4 { margin-bottom: 0.5rem; }
.ministry-card p { font-size: 0.92rem; color: var(--charcoal-soft); margin: 0; }
.ministry-card--cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
}
.ministry-card--cta h4 { color: var(--white); }
.ministry-card--cta p { color: rgba(250,248,244,0.82); margin-bottom: 1.1rem; flex-grow: 1; }
.ministry-card--cta a { font-size: 0.92rem; font-weight: 600; color: var(--gold-soft); }
.ministry-card--cta a:hover { color: var(--gold); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h3 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(250,248,244,0.82); margin: 0; }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}
.cta-mini {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
}
.cta-mini h4 { margin-bottom: 0.5rem; }
.cta-mini p { font-size: 0.9rem; color: var(--charcoal-soft); margin-bottom: 1rem; }
.cta-mini a.mini-link { font-weight: 600; color: var(--royal); font-size: 0.9rem; }
.cta-mini a.mini-link:hover { color: var(--navy); }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FLOATING WHATSAPP BUTTON — persistent across every page
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.34);
}
.whatsapp-float svg { width: 30px; height: 30px; display: block; }

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(250,248,244,0.75);
  padding: var(--space-lg) 0 var(--space-md);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(250,248,244,0.14);
}
@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { height: 40px; }
.footer-brand-text { font-family: var(--font-display); color: var(--white); font-size: 1.05rem; }
.footer-top h4 { color: var(--white); font-size: 0.92rem; letter-spacing: 0.03em; margin-bottom: 1rem; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-top a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(250,248,244,0.3);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.4rem; font-size: 0.82rem; flex-wrap: wrap; gap: 0.6rem;
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 6rem 0 3.4rem;
  text-align: left;
}
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header .breadcrumb { font-size: 0.85rem; color: var(--gold-soft); margin-bottom: 1rem; }
.page-header p { color: rgba(250,248,244,0.82); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.info-card h4 { margin-bottom: 0.7rem; color: var(--navy); }
.info-card .meta-row { display: flex; gap: 0.6rem; margin-bottom: 0.4rem; font-size: 0.94rem; }
.info-card .meta-row .label { color: var(--charcoal-soft); min-width: 90px; }

.tag-pill {
  display: inline-block;
  background: var(--ivory-wash);
  color: var(--navy);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0.4rem 0.4rem 0;
}

form.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--ivory);
  color: var(--charcoal);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--royal);
  outline: none;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; }
.form-check input { width: auto; }
.form-privacy { font-size: 0.85rem; color: var(--charcoal-soft); margin-top: 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.7rem 1.2rem; z-index: 999; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }
