:root {
  color-scheme: dark;
  --background: #111111;
  --surface: #181818;
  --selected: #282828;
  --text: #ffffff;
  --muted: #bcbcbc;
  --red: #c62832;
  --red-text: #e13c45;
  --line: #343434;
  --gutter: clamp(24px, 5.6vw, 100px);
  --serif: 'Times New Roman', Georgia, serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--text); background: var(--background); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button[hidden] { display: none; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid white; outline-offset: 6px; }
::selection { color: white; background: #a51c25; }
svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 10; left: 20px; top: 12px; padding: 14px 20px; color: #111; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 1800px; margin-inline: auto; height: 108px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.12; font-weight: 500; letter-spacing: -1.5px; }
.site-header nav { display: flex; align-items: center; gap: 52px; color: #d3d3d3; font-size: 20px; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--red-text); }
.hero { max-width: 1800px; margin-inline: auto; padding-left: var(--gutter); padding-right: clamp(24px, 2.6vw, 48px); display: grid; grid-template-columns: 42.4% 1fr; gap: 2.2vw; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 55px 0 65px; }
h1, h2, p { margin: 0; }
h1 { font-family: var(--serif); font-size: clamp(60px, 7.3vw, 112px); font-weight: 600; line-height: 1.01; letter-spacing: -5.5px; }
h1 span { color: var(--red-text); }
.hero-copy > p { margin-top: 36px; color: var(--muted); font-size: clamp(18px, 1.8vw, 28px); line-height: 1.4; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 70px; padding: 17px 42px; border: 2px solid transparent; border-radius: 999px; font-family: var(--sans); font-size: 24px; font-weight: 500; line-height: 1.25; transition: background-color .18s ease, border-color .18s ease; }
.button-primary { margin-top: 40px; background: var(--red); color: white; }
.button-primary:hover { background: #ac1f28; }
.hero-image { display: block; width: 100%; height: clamp(500px, 41.15vw, 700px); object-fit: cover; object-position: center; border-radius: 34px 34px 0 0; }
.mission { max-width: 1600px; margin: 40px var(--gutter) 0; padding: 52px 0 58px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.16fr .94fr; gap: 80px; align-items: center; }
.mission h2 { font-family: var(--serif); font-size: clamp(40px, 4.2vw, 66px); line-height: 1.03; font-weight: 600; letter-spacing: -2px; }
.mission p { color: var(--muted); font-size: 21px; line-height: 1.48; }
.prayer-section { background: var(--surface); }
.prayer-inner { max-width: 1800px; margin-inline: auto; padding: 76px var(--gutter) 48px; }
.prayer-inner h2 { font-family: var(--serif); font-size: clamp(48px, 7.7vw, 120px); line-height: 1.1; letter-spacing: -4px; font-weight: 600; }
.section-intro { margin-top: 20px; font-size: clamp(22px, 2.8vw, 44px); line-height: 1.3; color: var(--muted); }
.prayer-layout { display: grid; grid-template-columns: 345px 1fr; gap: 66px; margin-top: 58px; align-items: start; }
.prayer-tabs { display: flex; flex-direction: column; gap: 6px; }
.prayer-tabs button { position: relative; min-height: 82px; padding: 20px 28px; border: 0; background: transparent; text-align: left; font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: -1px; }
.prayer-tabs button:not(:last-child)::after { content: ''; position: absolute; bottom: -4px; left: 6px; right: 6px; height: 1px; background: #686868; }
.prayer-tabs button[aria-selected="true"] { border-radius: 4px; background: var(--selected); }
.prayer-tabs button[aria-selected="true"]::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red-text); border-radius: 4px 0 0 4px; }
.prayer-tabs button[aria-selected="true"]::after { display: none; }
.prayer-tabs button:hover { background: #232323; }
.prayer-label { font-size: 26px; line-height: 1.3; color: var(--muted); }
.prayer-text { margin-top: 18px; min-height: 286px; font-family: var(--serif); font-size: clamp(32px, 3.85vw, 60px); line-height: 1.16; letter-spacing: -1.8px; }
.timer-controls { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.button-outline { min-height: 80px; padding: 18px 40px; border-color: white; background: transparent; font-size: 28px; gap: 22px; }
.button-outline svg { width: 35px; height: 35px; }
.button-outline:hover { background: #303030; }
.reset-button { border: 0; border-bottom: 1px solid #888; padding: 8px 0; color: var(--muted); background: none; font-size: 18px; }
.timer-note { color: var(--muted); font-size: 22px; line-height: 1.5; margin-top: 16px; min-height: 33px; }
.site-footer { padding: 32px var(--gutter) 40px; border-top: 4px solid var(--red); background: #0a0a0a; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer .wordmark { font-size: 36px; font-weight: 600; }
.site-footer p { margin-top: 10px; color: var(--muted); font-size: 22px; }
.back-top { display: flex; align-items: center; gap: 16px; font-size: 22px; }
.back-top svg { width: 30px; height: 30px; }
@media (min-width: 1800px) { .mission { margin-inline: auto; } }
@media (max-width: 1200px) {
  .site-header { height: 96px; }
  .site-header nav { font-size: 18px; gap: 30px; }
  h1 { font-size: clamp(56px, 6.8vw, 90px); letter-spacing: -3.5px; }
  .hero { gap: 24px; grid-template-columns: 45% 1fr; }
  .hero-copy { padding-block: 40px; }
  .hero-image { height: 520px; }
  .hero-copy > p { font-size: 22px; }
  .desktop-break { display: none; }
  .button { padding: 16px 28px; font-size: 20px; min-height: 64px; }
  .mission { gap: 48px; }
  .mission p { font-size: 19px; }
  .prayer-layout { grid-template-columns: 270px 1fr; gap: 40px; }
  .prayer-tabs button { font-size: 27px; padding: 20px; }
  .prayer-text { font-size: 42px; min-height: 294px; }
  .prayer-label { font-size: 22px; }
  .timer-note { font-size: 19px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 16px; }
  .site-header { height: auto; min-height: 114px; align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 24px 18px; }
  .wordmark { font-size: clamp(25px, 5vw, 34px); letter-spacing: -1px; }
  .site-header nav { gap: 28px; font-size: 16px; }
  .site-header nav a { padding: 5px 0; }
  .hero { display: flex; flex-direction: column; padding-inline: var(--gutter); gap: 30px; }
  .hero-copy { padding: 28px 0 6px; }
  h1 { font-size: clamp(48px, 9.8vw, 74px); line-height: 1.05; letter-spacing: -2.8px; }
  .hero-copy > p { margin-top: 24px; font-size: 19px; max-width: 530px; }
  .button-primary { margin-top: 26px; }
  .button { font-size: 18px; min-height: 58px; padding: 15px 24px; gap: 14px; }
  .hero-image { height: auto; aspect-ratio: 1.25; border-radius: 24px 24px 0 0; }
  .mission { display: block; margin-top: 34px; padding-block: 32px 42px; }
  .mission h2 { font-size: 42px; letter-spacing: -1.6px; line-height: 1.06; }
  .mission p { margin-top: 24px; font-size: 18px; }
  .prayer-inner { padding-block: 44px; }
  .prayer-inner h2 { font-size: clamp(46px, 9.5vw, 64px); letter-spacing: -2.3px; line-height: 1.05; }
  .section-intro { font-size: 21px; margin-top: 18px; }
  .prayer-layout { display: block; margin-top: 30px; }
  .prayer-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 32px; }
  .prayer-tabs button { min-height: 64px; padding: 14px 12px 14px 16px; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; border: 1px solid #444; border-radius: 4px; }
  .prayer-tabs button::after { display: none; }
  .prayer-tabs button[aria-selected="true"] { border-color: var(--selected); }
  .prayer-tabs button[aria-selected="true"]::before { width: 4px; }
  .prayer-label { font-size: 18px; }
  .prayer-text { font-size: clamp(29px, 6.9vw, 40px); letter-spacing: -.7px; line-height: 1.23; min-height: 0; margin-top: 16px; }
  .timer-controls { gap: 14px; margin-top: 28px; }
  .button-outline { font-size: 17px; padding-inline: 23px; }
  .button-outline svg { width: 26px; height: 26px; }
  .timer-note { margin-top: 15px; font-size: 16px; }
  .site-footer { padding-block: 30px; display: block; border-top-width: 3px; }
  .site-footer .wordmark { font-size: 27px; }
  .site-footer p { font-size: 16px; line-height: 1.5; }
  .back-top { margin-top: 24px; font-size: 16px; width: fit-content; }
  .back-top svg { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
