:root {
  --ink: #101010;
  --text: #343434;
  --muted: #6f6f6f;
  --muted-on-dark: rgba(255, 255, 255, 0.62);
  --paper: #ffffff;
  --soft: #f7f4ef;
  --line: #e5ded2;
  --navy: #071c46;
  --gold: #a87c2b;
  --radius: 18px;
  --max: 1080px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Layout rails */
.container,
.home-hero-grid,
.section-heading,
.section > .cards,
.section > .next-steps,
.section > .feature-strip,
.section > .map-embed,
.section > .live-featured-grid,
.footer-grid,
.footer-bottom,
.admin-panel,
.holding-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.section {
  padding: clamp(3.25rem, 7vw, 6rem) 0;
}
.section-soft,
.live-panel,
.what-to-expect,
.church-search-section {
  background: var(--soft);
}
.section-cta {
  padding-top: clamp(3.25rem, 7vw, 6rem);
  padding-bottom: clamp(3.25rem, 7vw, 6rem);
}

/* Top service bar */
.service-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  min-height: 36px;
  padding: 0.42rem 1rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 400;
}
.service-bar strong { color: var(--ink); font-weight: 600; }
.service-bar a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 222, 210, 0.85);
  backdrop-filter: blur(16px);
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: grid; gap: 0.12rem; line-height: 1; }
.brand-text strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.06em;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.brand-text strong b { font-weight: 700; }
.brand-text strong span {font-weight: 400;}
.brand-text small {
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
}
.site-nav a {
  position: relative;
  padding: 0.5rem 0.62rem 0.68rem;
  border-radius: 999px;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transform: translateX(-50%);
}
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.68rem 1.08rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.header-cta { background: #000; border-color: #000; }
.button-secondary,
.button-dark {
  background: transparent;
  border-color: rgba(16, 16, 16, 0.22);
  color: var(--ink);
}
.button-secondary:hover,
.button-dark:hover { border-color: var(--ink); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 1.45rem;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
}

/* Type */
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  font-weight: 500;
}
h2 {
  max-width: 780px;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  font-weight: 500;
}
h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
p { color: var(--text); }

/* Section headings */
.section-heading {
  margin-bottom: clamp(1.65rem, 3vw, 2.6rem);
}
.section-heading .eyebrow { margin-bottom: 0.7rem; }
.section-heading h2 { max-width: 760px; }
.section-heading h2 + p,
.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 0.9rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Home hero */
.hero {
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.84) 42%, rgba(255,255,255,0.16) 100%),
    url("https://loveworldpersia.org/wp-content/uploads/2022/06/Backdrop-option2.jpg") center center / cover no-repeat;
}
.hero-copy-wrap {
  max-width: 720px;
  text-align: left;
}
.hero-copy {
  max-width: 650px;
  margin: 1.1rem 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.7rem;
}

/* Page heroes */
.page-hero {
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3.8rem, 7vw, 6.2rem) max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.86) 44%, rgba(255,255,255,0.2) 100%),
    url("https://loveworldpersia.org/wp-content/uploads/2022/06/Backdrop-option2.jpg") center center / cover no-repeat;
}
.page-hero > * {
  width: min(720px, 100%);
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
}
.page-hero .eyebrow { margin-bottom: 0.85rem; }
.page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.1rem 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.55;
}
.page-hero .hero-actions { justify-content: flex-start; }
.page-hero-about {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 46%, rgba(255,255,255,0.22) 100%),
    url("https://images.unsplash.com/photo-1490730141103-6cac27aaab94?auto=format&fit=crop&w=1800&q=80") center right / cover no-repeat;
}
.page-hero-visit {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 46%, rgba(255,255,255,0.22) 100%),
    url("https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}
.page-hero-events {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 46%, rgba(255,255,255,0.22) 100%),
    url("https://images.unsplash.com/photo-1505236858219-8359eb29e329?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}
.page-hero-sports {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 44%, rgba(255,255,255,0.16) 100%),
    url("https://images.unsplash.com/photo-1552674605-db6ffd4facb5?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}
.page-hero-live {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 46%, rgba(255,255,255,0.22) 100%),
    url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}
.page-hero-news {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 46%, rgba(255,255,255,0.22) 100%),
    url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}
.page-hero-contact {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 46%, rgba(255,255,255,0.22) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}
.page-hero-privacy {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 46%, rgba(255,255,255,0.3) 100%),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}

/* Layout components */
.grid-two,
.visit-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.section.grid-two,
.section.visit-intro-grid,
.section.cards,
.section.content-stack,
.service-summary {
  width: min(var(--max), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.section.grid-two.what-to-expect {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
}
.section.grid-two,
.section.visit-intro-grid,
.section.cards,
.section.content-stack {
  padding-left: 0;
  padding-right: 0;
}
.section.content-stack {
  display: grid;
  max-width: min(860px, calc(100% - 2rem));
  gap: clamp(1.7rem, 4vw, 2.7rem);
}
.content-stack article {
  padding-bottom: clamp(1.7rem, 4vw, 2.7rem);
  border-bottom: 1px solid var(--line);
}
.content-stack article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.content-stack h2 {
  max-width: 700px;
  margin-bottom: 0.8rem;
}
.content-stack p {
  max-width: 680px;
  margin: 0 0 0.8rem;
  color: var(--muted);
}
.cards,
.next-steps,
.feature-strip,
.service-summary {
  display: grid;
  gap: 1rem;
}
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section.cards + .section-compact-top,
.section-compact-top { padding-top: 0; }

/* Cards */
.card,
.next-step-card,
.visitor-guide-card,
.contact-list,
.admin-panel,
.holding-shell,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.card,
.next-step-card {
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card p,
.next-step-card p { color: var(--text); }
.card p { margin-bottom: 0; }
.card a {
  display: inline-flex;
  width: max-content;
  margin-top: auto;
  padding-top: 1rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.card-muted { background: var(--soft); }
.event-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--soft);
}

/* Start here */
.next-steps {
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.9fr));
}
.next-step-card {
  min-height: 205px;
  color: var(--ink);
  text-decoration: none;
}
.next-step-card:first-child {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.next-step-card span {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.next-step-card:first-child span { color: #dfc993; }
.next-step-card strong {
  display: block;
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.next-step-card p { margin: 1rem 0 0; }
.next-step-card:first-child p { color: rgba(255,255,255,0.76); }

/* Service summary */
.service-summary {
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-summary div {
  padding: clamp(1.2rem, 2vw, 1.7rem);
  border-right: 1px solid var(--line);
}
.service-summary div:last-child { border-right: 0; }
.service-summary .material-symbols-outlined {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: "Material Symbols Outlined";
  font-size: 1.45rem;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
}
.service-summary strong,
.info-list strong,
.parking-steps strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}
.service-summary span,
.info-list span,
.parking-steps span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.info-list,
.parking-steps {
  display: grid;
  gap: 0;
}
.info-list div,
.parking-steps div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.info-list div:last-child,
.parking-steps div:last-child { border-bottom: 0; }

/* Media, maps, forms */
.live-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 880px;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  text-align: center;
}
.live-intro {
  max-width: 680px;
  margin: 0 auto;
}
.live-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--text);
}
.live-outro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.live-featured-grid h2 { font-size: clamp(1.75rem, 2.7vw, 2.65rem); }
.live-featured-grid .hero-actions { justify-content: center; }
.video-frame,
.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}
.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 390px;
  border: 0;
}
.map-section .section-heading { max-width: 820px; }
.church-search-content {
  width: min(var(--max), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.church-search-content .eyebrow { margin-bottom: 0.75rem; }
.church-search-content h2 { margin-bottom: 0.9rem; }
.church-search-content p {
  max-width: 660px;
  margin: 0 0 1.3rem;
  color: var(--muted);
}
.visitor-guide-card {
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  background: var(--navy);
  color: #fff;
}
.visitor-guide-card h3 { color: #fff; }
.visitor-guide-card p { color: rgba(255,255,255,0.76); }
.contact-list {
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  background: var(--soft);
}
.contact-list h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.contact-list p:last-child { margin-bottom: 0; }
.contact-form,
.admin-form-card { display: grid; gap: 1rem; }
.contact-form label,
.admin-form-card label,
.admin-filters label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-filters input,
.admin-filters select,
.admin-form-card input,
.admin-form-card select,
.admin-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.84rem 0.92rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.checkbox {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  color: var(--muted) !important;
  font-weight: 400 !important;
}
.checkbox input { width: auto; margin-top: 0.35rem; }
.form-note { color: var(--muted); font-size: 0.9rem; }

/* CTA */
.cta-band {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, var(--navy), var(--ink));
  color: #fff;
}
.cta-band > * { width: auto; margin: 0; }
.cta-band .eyebrow { color: #dfc993; }
.cta-band h2 { max-width: 680px; color: #fff; }
.cta-band p {
  max-width: 640px;
  margin: 0.9rem 0 0;
  color: rgba(255,255,255,0.76);
}
.cta-band .button {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  white-space: nowrap;
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 6vw, 4.8rem) clamp(1rem, 4vw, 3rem) 1.5rem;
  background: var(--ink);
  color: var(--muted-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,0.58); }
.site-footer h2 {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer a { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.site-footer p {
  margin: 0.35rem 0;
  color: var(--muted-on-dark);
}

/* Articles and admin basics */
.article-page {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.article-header { margin-bottom: 2rem; }
.article-header h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.article-header p:not(.eyebrow),
.article-excerpt { color: var(--muted); font-size: 1.05rem; }
.article-featured-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.article-body { color: var(--text); font-size: 1.03rem; }
.article-body img,
.article-body iframe { max-width: 100%; border-radius: 12px; }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.admin-holding {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: var(--soft);
}
.admin-panel,
.holding-shell { padding: clamp(1.5rem, 4vw, 2.4rem); }
.admin-nav,
.admin-topbar,
.admin-section-heading,
.admin-stats,
.admin-form-grid,
.admin-detail-grid,
.admin-filters { gap: 1rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.admin-table th,
.admin-table td { padding: 0.82rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.is-hidden { display: none !important; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(16,16,16,0.72);
}
.modal[aria-hidden="false"] { display: grid; }
.modal-panel {
  position: relative;
  width: min(720px, 100%);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.parking-modal { max-height: min(760px, calc(100vh - 2rem)); overflow-y: auto; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .service-bar { display: none; }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    gap: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .brand {
    justify-self: start;
    min-width: 0;
  }
  .header-actions {
    justify-self: end;
    width: auto;
    margin-left: 0;
  }
  .nav-toggle {
    display: inline-flex;
    position: relative;
    justify-self: end;
    z-index: 101;
    margin: 0;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 6rem 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: auto;
    font-size: clamp(1.6rem, 9vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.055em;
    color: var(--ink);
  }
  .site-nav a[aria-current="page"]::after { left: 50%; bottom: -0.35rem; transform: translateX(-50%); width: 2.2rem; }
  .hero { min-height: 560px; background-position: center; }
  .page-hero { min-height: 460px; background-position: center; }
  .hero-copy-wrap { max-width: 620px; }
  .grid-two,
  .visit-intro-grid,
  .cards,
  .next-steps,
  .service-summary,
  .feature-strip,
  .footer-grid,
  .admin-detail-grid { grid-template-columns: 1fr; }
  .service-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-summary div:last-child { border-bottom: 0; }
  .cta-band { grid-template-columns: 1fr; align-items: start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
  h2 { font-size: clamp(1.65rem, 8vw, 2.25rem); }
  .hero { min-height: 540px; padding: 3.2rem 0; }
  .page-hero { min-height: 430px; padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .hero .button,
  .page-hero .button,
  .live-outro .button {
    width: auto;
    min-width: 0;
  }
  .button { width: 100%; }
  .service-bar { justify-content: flex-start; }
}
.sports-registration-section {
  background:
    radial-gradient(circle at top left, rgba(168,124,43,0.12), transparent 34rem),
    linear-gradient(180deg, #fff, var(--soft));
}

.sports-registration-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.sports-registration-aside,
.form-section-card,
.form-alert {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 55px rgba(16,16,16,0.05);
}

.sports-registration-aside {
  position: sticky;
  top: 6.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.sports-registration-aside h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.sports-detail-list {
  display: grid;
  gap: 0;
  margin: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sports-detail-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.sports-detail-list div:last-child { border-bottom: 0; }
.sports-detail-list strong { color: var(--ink); font-weight: 600; }
.sports-detail-list span { color: var(--muted); }

.sports-registration-main,
.sports-registration-form {
  display: grid;
  gap: 1rem;
}

.form-section-card {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
}

.form-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.form-section-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.form-section-head h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.form-section-head p:not(.eyebrow) {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sports-registration-form label,
.sports-registration-form legend {
  color: var(--ink);
  font-weight: 600;
}

.sports-registration-form label {
  display: grid;
  gap: 0.42rem;
}

.sports-registration-form input,
.sports-registration-form select,
.sports-registration-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.sports-registration-form input:focus,
.sports-registration-form select:focus,
.sports-registration-form textarea:focus {
  border-color: rgba(7,28,70,0.5);
  box-shadow: 0 0 0 4px rgba(7,28,70,0.08);
}

.sports-registration-form textarea { resize: vertical; }

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-group legend {
  grid-column: 1 / -1;
  margin-bottom: 0.15rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.radio-group input,
.form-commitment input {
  width: auto;
  margin: 0;
}

.form-final-card {
  background: linear-gradient(135deg, #fff, var(--soft));
}

.form-commitment {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.form-alert {
  padding: 1rem 1.1rem;
}

.form-alert ul {
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.form-alert p { margin: 0.45rem 0 0; }
.form-alert .button { margin-top: 1rem; }
.form-alert-error { background: #fff7ed; border-color: #fed7aa; }
.form-alert-success { background: #ecfdf5; border-color: #bbf7d0; }

@media (max-width: 900px) {
  .sports-registration-shell,
  .form-grid-two,
  .form-grid-three {
    grid-template-columns: 1fr;
  }

  .sports-registration-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .form-section-head {
    grid-template-columns: 1fr;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }
}

/* Admin UI */
.admin-holding {
  background: #f5f3ef;
}

.admin-panel {
  width: min(1180px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: #fff;
  box-shadow: 0 18px 60px rgba(16,16,16,0.06);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.admin-header h2 {
  font-size: 1.4rem;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-nav-shell {
  position: relative;
}

.admin-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.admin-nav-toggle .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 1.5rem;
}

.admin-nav-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 240px;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(16,16,16,0.08);
}

.admin-nav-menu.is-open {
  display: grid;
}

.admin-nav-menu a {
  padding: 0.82rem 0.9rem;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
}

.admin-nav-menu a:hover {
  background: var(--soft);
}

.admin-content {
  display: grid;
  gap: 1.5rem;
}

.admin-topbar,
.admin-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

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

.admin-stats .card {
  min-height: 150px;
  justify-content: space-between;
}

.admin-stats h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-table-wrap,
.admin-detail-main,
.admin-detail-side,
.admin-notes {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-table-wrap,
.admin-notes,
.admin-detail-main,
.admin-detail-side {
  padding: 1.4rem;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table td span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-list div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
}

.message-box,
.note-card {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--soft);
}

.note-card + .note-card {
  margin-top: 0.9rem;
}

.note-card span {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-new {
  background: #fef3c7;
  color: #92400e;
}

.status-in-progress {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-resolved {
  background: #dcfce7;
  color: #166534;
}

.admin-alert {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.admin-alert-success {
  background: #ecfdf5;
}

.admin-alert-info {
  background: #eff6ff;
}

@media (max-width: 900px) {
  .admin-header,
  .admin-topbar,
  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stats,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav-menu {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    min-width: 0;
  }
}

/* Admin refinement pass */
.admin-form-grid,
.admin-filters,
.admin-filter-actions {
  display: grid;
  gap: 1rem;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-filters {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-filters-small {
  max-width: 520px;
}

.admin-filter-actions {
  grid-template-columns: repeat(2, minmax(0, auto));
  align-items: end;
}

.admin-table td a,
.table-action {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.admin-table td a:hover,
.table-action:hover {
  text-decoration: underline;
}

.admin-table tbody tr {
  transition: background 140ms ease;
}

.admin-table tbody tr:hover {
  background: rgba(247,244,239,0.72);
}

.admin-detail-side {
  display: grid;
  gap: 1rem;
}

.admin-detail-side .contact-form,
.admin-detail-main,
.admin-notes {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-detail-side .contact-form h2,
.admin-detail-main h2,
.admin-notes h2 {
  margin-bottom: 1rem;
}

.admin-nav-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
}

.admin-panel {
  overflow: visible;
}

@media (max-width: 700px) {
  .admin-form-grid,
  .admin-filter-actions {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    width: calc(100% - 1rem);
    padding: 1rem;
  }

  .admin-table {
    min-width: 720px;
  }
}

/* QR share page */
.qr-share-page {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
  background:
    linear-gradient(180deg, rgba(247,244,239,0.86), rgba(255,255,255,0.96));
}

.qr-share-card {
  width: min(560px, 100%);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,0.92);
  text-align: center;
  box-shadow: 0 24px 80px rgba(16,16,16,0.08);
  backdrop-filter: blur(18px);
}

.qr-share-card h1 {
  max-width: 440px;
  margin: 0 auto;
}

.qr-share-copy {
  max-width: 460px;
  margin: 1rem auto 0;
  color: var(--muted);
}

.qr-code-shell {
  width: min(320px, 72vw);
  margin: 2rem auto;
  padding: 1rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.qr-code-shell img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.qr-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.qr-share-url {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.84rem;
  word-break: break-word;
}

@media (max-width: 560px) {
  .qr-share-actions {
    flex-direction: column;
  }

  .qr-share-actions .button {
    width: 100%;
  }
}

/* Editorial / news refinement */
.editor-guidance-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.editor-guidance-card strong {
  display: block;
  margin-bottom: 0.45rem;
}

.admin-image-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.admin-image-preview img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.wysiwyg-field {
  display: grid;
  gap: 1rem;
}

.wysiwyg-toolbar {
  position: sticky;
  top: 5.5rem;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
}

.wysiwyg-toolbar button {
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.84rem;
}

.wysiwyg-editor {
  min-height: 520px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  font-size: 1.02rem;
  line-height: 1.8;
}

.wysiwyg-editor h2,
.article-body h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
}

.wysiwyg-editor p,
.article-body p {
  margin-bottom: 1.2rem;
}

.article-page {
  width: min(860px, calc(100% - 2rem));
}

.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.article-header h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.article-featured-image {
  border-radius: 28px;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.9;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--navy);
  background: var(--soft);
  font-size: 1.08rem;
}

/* Modern editor toolbar */
.editor-toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.editor-toolbar-dropdown {
  position: relative;
}

.editor-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}

.editor-icon-button:hover {
  background: var(--soft);
  border-color: rgba(7,28,70,0.18);
}

.editor-icon-button .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 1.18rem;
  line-height: 1;
}

.editor-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 20;
  display: none;
  min-width: 190px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 18px 40px rgba(16,16,16,0.08);
  backdrop-filter: blur(18px);
}

.editor-toolbar-dropdown.is-open .editor-dropdown-menu {
  display: grid;
}

.editor-dropdown-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-size: 0.9rem;
}

.editor-dropdown-menu button:hover {
  background: var(--soft);
}

.editor-font-size-group {
  gap: 0.35rem;
  padding: 0 0.25rem;
}

.editor-font-size-input {
  width: 68px;
  min-height: 40px;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.editor-font-size-unit {
  color: var(--muted);
  font-size: 0.82rem;
}

.wysiwyg-editor img,
.article-body img {
  max-width: 100%;
  height: auto;
}

.wysiwyg-editor figure {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0;
}

.wysiwyg-editor figcaption,
.article-body figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
