/* WorshipCast website. Deep navy and gold, the colours of the app itself. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Figtree; src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Noto Sans Tamil'; src: url('../fonts/noto-sans-tamil-tamil-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Noto Sans Tamil'; src: url('../fonts/noto-sans-tamil-tamil-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Noto Serif Tamil'; src: url('../fonts/noto-serif-tamil-tamil-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+20B9, U+25CC; }

:root {
  --night: #0B1C2E; --deep: #06111D; --panel: #11263B; --line: #24405C;
  --gold: #C9A84C; --gold-hi: #EBD48F; --ink: #EEF3F8; --mute: #A9BBCD; --live: #C62F35; --wall: #F4F1E6;
  --display: 'Bricolage Grotesque', Figtree, 'Noto Sans Tamil', system-ui, sans-serif;
  --body: Figtree, 'Noto Sans Tamil', system-ui, sans-serif;
  --verse: 'Noto Serif Tamil', Georgia, 'Times New Roman', serif;
  --wrap: 1180px; --gap: clamp(1rem, 2.4vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-underline-offset: .18em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
[lang="ta"] { line-height: 1.75; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.lead { color: var(--mute); max-width: 60ch; margin-top: .9rem; font-size: 1.15rem; }
.small { color: var(--mute); font-size: .9rem; margin-top: .6rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--deep); padding: .7rem 1rem; font-weight: 700; z-index: 20; }
.skip:focus { left: .5rem; top: .5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.25rem; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--gold); color: #fff; }
.btn--gold { background: linear-gradient(#E3C76F, var(--gold)); border-color: #E3C76F; color: #14202C; }
.btn--gold:hover { background: var(--gold-hi); color: #14202C; }
.btn--lg { min-height: 58px; padding-inline: 1.7rem; font-size: 1.1rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 28, 46, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--gold); font-weight: 700; }
.site-nav { margin-left: auto; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav .menu a { display: block; padding: .7rem .8rem; color: var(--mute); text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 8px; }
.site-nav .menu a:hover { color: #fff; background: var(--panel); }
.site-nav__toggle { display: none; }
.site-header__cta { min-height: 44px; }
@media (max-width: 960px) {
  .site-nav__toggle { display: inline-flex; min-height: 44px; padding: 0 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 700 1rem var(--body); align-items: center; }
  .site-nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
  .site-nav__menu.is-open { display: block; }
  .site-nav .menu { flex-direction: column; }
  .site-nav .menu a { padding: .9rem .5rem; font-size: 1.05rem; }
}
@media (max-width: 520px) { .site-header__cta { display: none; } .brand { font-size: 1.15rem; } }

/* hero: the words on the left, the working model of the four screens on the right */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); background: radial-gradient(90rem 40rem at 78% -10%, rgba(201, 168, 76, .13), transparent 60%), var(--night); overflow: hidden; }
.hero__in { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.hero__text { margin-top: 1.4rem; font-size: 1.2rem; color: var(--ink); max-width: 46ch; }
.hero__ta { margin-top: .9rem; color: var(--mute); max-width: 46ch; font-size: 1rem; }
.hero__note { margin-top: 1rem; color: var(--mute); font-size: .95rem; }
@media (max-width: 1020px) { .hero__in { grid-template-columns: 1fr; } }

.demo { display: grid; gap: 1.1rem 1rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.demo figure { margin: 0; display: flex; flex-direction: column; }
.demo figure > div { flex: 1; }
.demo figcaption { margin-top: .5rem; font-size: .88rem; color: var(--mute); }
.demo__hint { grid-column: 1 / -1; color: var(--gold-hi); font-weight: 600; font-size: 1rem; }
.demo__screen { grid-column: 1 / -1; }
.demo__stage { grid-column: 1 / span 5; }
.demo__operator { grid-column: 6 / span 4; }
.demo__phone { grid-column: 10 / span 3; }
@media (max-width: 720px) { .demo__stage, .demo__operator { grid-column: 1 / -1; } .demo__phone { grid-column: 1 / -1; max-width: 260px; } }

/* the projector: a lit screen on a dark wall, with the light spilling under it */
.screen { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; border-radius: 6px; background: radial-gradient(120% 90% at 50% 0%, #1B3A5C, #0C2037 70%); border: 1px solid #3A5878; box-shadow: 0 0 0 6px #050C14, 0 2.2rem 5rem -1rem rgba(201, 168, 76, .32), 0 0 7rem rgba(60, 120, 190, .18); display: grid; place-items: center; padding: 6cqw 7cqw 9cqw; text-align: center; transition: background .25s; }
.screen[data-output="black"] { background: #000; box-shadow: 0 0 0 6px #050C14; }
.screen__text p { margin: 0; white-space: pre-line; color: #fff; text-shadow: 0 .1em .4em rgba(0, 0, 0, .55); }
.screen__text p[lang="ta"] { font: 600 4.6cqw/1.5 var(--verse); }
.screen__text p[lang="en"] { font: 600 3.5cqw/1.35 var(--display); letter-spacing: -.01em; }
.screen__text p + p { margin-top: 2.4cqw; color: var(--gold-hi); }
.screen__ref { position: absolute; left: 0; right: 0; bottom: 4cqw; font: 600 2.6cqw var(--body); color: var(--gold-hi); }

.stage, .operator, .phone { border: 1px solid var(--line); background: var(--deep); border-radius: 12px; }
.stage { padding: .8rem; }
.stage__top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; color: var(--gold); font-weight: 700; font-size: .92rem; }
.stage__clock { font: 700 1.25rem var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.stage__now { margin-top: .5rem; background: var(--panel); border-radius: 8px; padding: .7rem; min-height: 4.6rem; }
.stage__now p { margin: 0; white-space: pre-line; font-size: .92rem; line-height: 1.45; }
.stage__now p[lang="ta"] { font-family: var(--verse); font-weight: 600; line-height: 1.6; }
.stage__now p + p { color: var(--mute); margin-top: .3rem; }
.stage__next { margin-top: .5rem; display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .8rem; color: var(--mute); }
.stage__next span { color: var(--gold); font-weight: 700; }
.stage__next > div { min-width: 0; }
.stage__next p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__next p + p { display: none; }

.operator { padding: .8rem; display: grid; gap: .7rem; align-content: start; }
.operator__tabs { display: grid; gap: .35rem; }
.operator__keys { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.demo button { min-height: 44px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 700 .92rem var(--body); cursor: pointer; padding: .3rem .5rem; }
.demo button:hover:not(:disabled) { border-color: var(--gold); }
.demo button:disabled { opacity: .45; cursor: default; }
.demo button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #14202C; }
.demo button.is-gold { background: linear-gradient(#E3C76F, var(--gold)); border-color: #E3C76F; color: #14202C; }
.demo button.is-live { background: var(--live); border-color: var(--live); color: #fff; grid-column: 1 / -1; }

.phone { border-radius: 22px; padding: .9rem .6rem .7rem; border-width: 3px; border-color: #2E4B69; }
.phone__now { background: var(--panel); border: 1px solid var(--live); border-radius: 8px; padding: .5rem; min-height: 4.2rem; display: grid; align-content: center; text-align: center; }
.phone__now p { margin: 0; font-size: .7rem; line-height: 1.4; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.phone__now p + p { display: none; }
.phone__keys { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-top: .5rem; }

/* three steps */
.flow { background: var(--gold); color: #14202C; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.flow h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.01em; }
.flow__steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow__steps li { counter-increment: step; border-top: 3px solid #14202C; padding-top: .9rem; }
.flow__steps strong { display: block; font: 800 clamp(2.4rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.035em; }
.flow__steps strong::before { content: counter(step); font-size: .32em; vertical-align: top; margin-right: .35em; letter-spacing: 0; font-weight: 700; }
.flow__steps span { display: block; margin-top: .7rem; max-width: 30ch; font-weight: 600; }
@media (max-width: 720px) { .flow__steps { grid-template-columns: 1fr; } }

/* the four screens, real pictures */
.screens, .features, .library, .get, .questions, .extra { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.shots { margin-top: 2.5rem; display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.shot { margin: 0; }
.shot img { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, .8); width: 100%; }
.shot figcaption { margin-top: .8rem; color: var(--mute); max-width: 44ch; }
.shot figcaption strong { color: var(--gold-hi); font: 700 1.15rem var(--display); display: block; }
.shot--operator { grid-column: 1 / span 9; }
.shot--remote { grid-column: 10 / span 3; grid-row: span 2; }
.shot--remote img { border-radius: 22px; border: 3px solid #2E4B69; }
.shot--display { grid-column: 1 / span 5; }
.shot--stage { grid-column: 6 / span 4; }
@media (max-width: 820px) { .shot--operator, .shot--display, .shot--stage { grid-column: 1 / -1; } .shot--remote { grid-column: 1 / span 6; grid-row: auto; } }

/* what it does: a ruled ledger, the group on the left and its lines on the right */
.features { background: var(--deep); }
.ledger { margin: 2.5rem 0 0; }
.ledger > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); padding: 1.6rem 0; border-top: 1px solid var(--line); }
.ledger > div:last-child { border-bottom: 1px solid var(--line); }
.ledger dt { font: 700 1.5rem/1.15 var(--display); color: var(--gold-hi); letter-spacing: -.015em; }
.ledger dd { margin: 0; }
.ledger ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gap); }
.ledger li { break-inside: avoid; padding: 0 0 .8rem 1.1rem; position: relative; max-width: 46ch; }
.ledger li::before { content: ''; position: absolute; left: 0; top: .68em; width: .45rem; height: 2px; background: var(--gold); }
@media (max-width: 820px) { .ledger > div { grid-template-columns: 1fr; gap: .8rem; } .ledger ul { columns: 1; } }

/* library */
.library__in { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.library__lists { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.library h3 { color: var(--gold-hi); margin-bottom: .9rem; }
.langs { list-style: none; margin: 0; padding: 0; }
.langs li { padding: .5rem 0; border-top: 1px solid var(--line); font-weight: 600; }
.langs li span { color: var(--mute); font-weight: 400; margin-left: .4rem; font-size: .95rem; }
.counts { border-collapse: collapse; width: 100%; }
.counts th, .counts td { padding: .5rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 600; }
.counts td { text-align: right; font: 700 1.25rem var(--display); font-variant-numeric: tabular-nums; color: #fff; }
@media (max-width: 900px) { .library__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .library__lists { grid-template-columns: 1fr; } }

/* get it */
.get { background: var(--wall); color: #14202C; }
.get .lead { color: #44566A; }
.ways { margin-top: 2.2rem; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.way { border-top: 3px solid #14202C; padding-top: 1.1rem; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.way p { color: #33475C; max-width: 38ch; flex: 1; }
.get .btn { background: #14202C; border-color: #14202C; color: #fff; }
.get .btn:hover { background: #24384E; }
.get .btn--gold { background: var(--gold); border-color: #A9883A; color: #14202C; }
.get :focus-visible { outline-color: #14202C; }

/* questions */
.questions__in { display: grid; gap: 2rem; }
.faq { max-width: 820px; }
.questions__in > p { justify-self: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font: 700 1.2rem/1.3 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: .9rem; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 1.2rem; color: var(--mute); max-width: 62ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--deep); padding: 3rem 0 2.5rem; }
.site-footer__in { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.site-footer__brand p { color: var(--mute); margin-top: .8rem; max-width: 40ch; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .menu a { color: var(--mute); text-decoration: none; }
.site-footer .menu a:hover { color: #fff; text-decoration: underline; }
.site-footer__ministry { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.4rem; color: var(--gold-hi); font-weight: 600; }
.site-footer__ministry a { color: inherit; }
@media (max-width: 640px) { .site-footer__in { grid-template-columns: 1fr; } }

/* ordinary pages and posts */
.page { padding: clamp(2.5rem, 6vw, 5rem) 0; max-width: 820px; }
.page__title { margin-bottom: 1.5rem; }
.entry + .entry { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.entry__title a { color: var(--ink); text-decoration: none; }
.entry__title a:hover { color: var(--gold-hi); }
.entry__date { color: var(--mute); font-size: .95rem; margin: .4rem 0 1rem; }
.entry__image { border-radius: 10px; margin-bottom: 1.5rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.8rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose blockquote { margin: 1.5em 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--gold); color: var(--gold-hi); font-family: var(--verse); }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-top: 1px solid var(--line); padding: .6rem .5rem; text-align: left; }
.prose input[type="text"], .prose input[type="email"], .prose textarea, .search-field { background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .7rem; font: inherit; max-width: 100%; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption-text, .wp-element-caption { color: var(--mute); font-size: .9rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.nav-links .page-numbers { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.nav-links .current { background: var(--gold); color: #14202C; border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .demo, .site-nav { display: none; } body { background: #fff; color: #000; } }
