/* ============================================================
   Islamic Center of Lake Georgetown — Dawn Edition
   ----------------------------------------------------------------
   Dawn-sky hero · paper middle sections · night colophon.
   ============================================================ */

:root {
  --ink:        #1a3a5c;
  --ink-soft:   #2c4f73;
  --ink-deep:   #0e2640;
  --dusk:       #6e6580;
  --peach:      #c8907a;
  --cream-warm: #e8b890;

  --paper:      #faf5e9;
  --paper-deep: #f3eadb;
  --paper-edge: #ebdfc8;

  --gold:       #b8924a;
  --gold-soft:  #d4a854;
  --gold-deep:  #8a6a30;
  --gold-light: #f5ecd6;
  --gold-line:  rgba(184, 146, 74, 0.32);
  --gold-line-soft: rgba(184, 146, 74, 0.18);

  --ink-line:   rgba(26, 58, 92, 0.16);
  --ink-line-soft: rgba(26, 58, 92, 0.08);

  --display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --body:    'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --arabic:  'Amiri', 'Cormorant Garamond', serif;

  --container: 1080px;
  --radius:    10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(14, 38, 64, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(14, 38, 64, 0.18);
  --shadow-lg: 0 30px 70px -22px rgba(14, 38, 64, 0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset + base
============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 184, 144, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(46, 79, 115, 0.06) 0%, transparent 70%);
  background-attachment: fixed;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Type system
============================================================ */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.04;
  margin: 0;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }
em { font-style: italic; color: var(--gold-deep); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

.kicker {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ============================================================
   Hero — dawn sky over the lake
============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  display: flex;
  flex-direction: column;
}

.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 10%, rgba(232, 184, 144, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 92%, rgba(200, 144, 122, 0.32) 0%, transparent 60%),
    linear-gradient(180deg,
      #1a3a5c 0%,
      #2c4f73 32%,
      #6e6580 58%,
      #c8907a 86%,
      #e8b890 100%);
  z-index: -3;
}

.hero-pattern { display: none; }

.hero-glow {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(232, 184, 144, 0.4) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  animation: dawn-pulse 8s ease-in-out infinite;
}
@keyframes dawn-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

.hero-horizon {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 38%;
  z-index: -1;
  pointer-events: none;
}

.masthead {
  position: relative;
  z-index: 5;
  padding: 28px 0 0;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream-warm);
  letter-spacing: -0.02em;
}
.brand-rule {
  width: 1px;
  height: 18px;
  background: rgba(250, 245, 233, 0.4);
}
.brand-full {
  font-family: var(--body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.78);
}
.masthead-nav { display: flex; gap: 30px; }
.masthead-nav a {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.75);
  transition: color .25s var(--ease);
}
.masthead-nav a:hover { color: var(--cream-warm); }

.hero-inner {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 12vh;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0 0 32px;
  text-shadow: 0 2px 30px rgba(14, 38, 64, 0.4);
}
.hero-title em {
  color: var(--cream-warm);
  font-weight: 600;
  font-style: italic;
}
.hero-title .hero-line-1,
.hero-title .hero-line-2 { display: block; }
.hero-title .hero-line-2 { padding-left: 0.06em; }
.hero-line-mobile { display: none; }

.hero-ayah {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 48px;
}
.hero-ayah em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.5;
  color: var(--cream-warm);
  letter-spacing: -0.003em;
  white-space: nowrap;
}
.hero-ayah-cite {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.6);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-warm);
  padding: 10px 0;
  border-bottom: 1px solid rgba(232, 184, 144, 0.4);
  width: fit-content;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.hero-link:hover {
  gap: 18px;
  color: var(--paper);
  border-color: var(--paper);
}
.hero-link-arrow { display: inline-block; transition: transform .4s var(--ease); }
.hero-link:hover .hero-link-arrow { transform: translateY(3px); }

/* ============================================================
   Section base
============================================================ */

section { position: relative; }

/* ============================================================
   Prayer — card layout (port from iclg-site-final, dawn palette)
============================================================ */

.prayer {
  position: relative;
  z-index: 10;
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 50%, var(--paper) 100%);
}
.prayer-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.prayer-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  margin-bottom: 36px;
  align-items: flex-end;
}
.prayer-head h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: var(--ink);
  letter-spacing: -0.018em;
  margin: 0;
}
.prayer-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}
.prayer-date .kicker { margin-bottom: 4px; }
.prayer-date-greg {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}
.prayer-date-hijri {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.prayer-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
}
.prayer-item {
  padding: 24px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--gold-line-soft);
  background: var(--paper);
  transition: background .25s var(--ease);
  position: relative;
}
.prayer-item:last-child { border-right: none; }
.prayer-item:hover { background: var(--paper-deep); }

.pname {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.ptime {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.ptime::before {
  content: 'Adhan';
  display: block;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  opacity: 0.75;
  margin-bottom: 2px;
}
[data-prayer="Sunrise"] .ptime::before { visibility: hidden; }

.prayer-item.is-passive { background: var(--paper-deep); }
.prayer-item.is-passive .ptime,
.prayer-item.is-passive .pname { color: var(--ink-soft); opacity: 0.65; }

.prayer-item.is-next {
  background: linear-gradient(180deg, rgba(232, 184, 144, 0.32) 0%, var(--paper) 100%);
}
.prayer-item.is-next::before {
  content: 'Next';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--cream-warm);
  padding: 2px 8px;
  border-radius: 100px;
}
.prayer-item.is-next .ptime { color: var(--gold-deep); }

.prayer-method {
  margin: 16px 0 0;
  text-align: center;
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ============================================================
   Events — flyer carousel
============================================================ */

.events {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 50%, var(--paper) 100%);
  padding: 48px 0 64px;
  position: relative;
}
.events .container { max-width: 1120px; padding: 0 24px; }
.events::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'><g fill='none' stroke='%23b8924a' stroke-opacity='0.04' stroke-width='0.8'><circle cx='200' cy='200' r='80'/><circle cx='200' cy='200' r='130'/></g></svg>");
  background-size: 400px 400px;
  pointer-events: none;
}

.events-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}
.events-head h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  letter-spacing: -0.018em;
  margin: 0;
}

.carousel-controls { display: none; gap: 10px; }
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), opacity .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover {
  background: var(--ink);
  color: var(--cream-warm);
  border-color: var(--ink);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.carousel-btn:disabled:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--gold-line);
}

.carousel {
  position: relative;
}
.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 4px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.event-card {
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--gold-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.event-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Flyer art panel — looks like a real ICLG flyer */
.event-flyer {
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream-warm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flyer-pattern { display: none; }
.flyer-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.fm-iclg {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream-warm);
  letter-spacing: -0.02em;
}
.fm-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--cream-warm);
  opacity: 0.55;
  margin: 5px 0;
}
.fm-full {
  font-family: var(--body);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.75);
}
.flyer-headline { text-align: left; }
.fh-eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream-warm);
  margin: 0 0 6px;
  opacity: 0.85;
}
.fh-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 8px;
}
.fh-title em {
  color: var(--cream-warm);
  font-weight: 600;
  font-style: italic;
}
.fh-time {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.78);
  margin: 0;
}
.fh-date {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream-warm);
  margin: 6px 0 0;
  opacity: 0.9;
}

.flyer-evening {
  background: linear-gradient(180deg, #051529 0%, #0a1f38 50%, #1a3a5c 100%);
}
.flyer-dawn {
  background: linear-gradient(180deg, #1a3a5c 0%, #2c4f73 35%, #6e6580 60%, #c8907a 92%, #e8b890 100%);
}
.flyer-autumn {
  background: linear-gradient(180deg, #051529 0%, #0a1f38 35%, #4a2918 70%, #a04a1c 92%, #d97842 100%);
}
.flyer-noon {
  background:
    radial-gradient(circle at 75% 14%, rgba(255, 240, 200, 0.55) 0%, transparent 36%),
    linear-gradient(180deg, #5a9bc8 0%, #4078a6 35%, #1f4670 70%, #0e2a4c 100%);
}

.event-card-body {
  padding: 20px 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--gold-line-soft);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 14px;
  border-right: 1px solid var(--gold-line-soft);
}
.ed-day {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ed-month {
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}
.event-info { min-width: 0; }
.event-info h3 {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}
.event-meta {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.event-where {
  font-family: var(--body);
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin: 2px 0 0;
  line-height: 1.45;
}
.event-tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-light);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.event-action {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.event-card:hover .event-action { color: var(--gold); }

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--gold-line);
  cursor: pointer;
  transition: width .3s var(--ease), background .25s var(--ease), border-radius .3s var(--ease);
}
.carousel-dots .dot.is-active {
  width: 26px;
  background: var(--gold);
  border-radius: 4px;
}

/* ============================================================
   About — story (port from iclg-site-final, dawn palette)
============================================================ */

.about {
  padding: 64px 0;
  background: var(--paper);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(232, 184, 144, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 90%, rgba(46, 79, 115, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 90px;
  align-items: center;
  position: relative;
}
.about-art {
  position: relative;
  height: 520px;
}
.art-frame {
  position: absolute;
  top: 0; left: 0;
  width: 88%; height: 88%;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 6px rgba(184, 146, 74, 0.55);
}
.art-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%;
  height: 38%;
  background: radial-gradient(ellipse 70% 80% at 18% 22%, rgba(14, 38, 64, 0.55) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}
.art-mark {
  position: absolute;
  top: 22px;
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.art-mark-iclg {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 14px rgba(0, 0, 0, 0.85),
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 0 2px rgba(0, 0, 0, 0.9);
}
.art-mark-rule {
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--cream-warm);
  opacity: 0.95;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}
.art-mark-full {
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.7);
}
.art-card {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.art-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-text h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.about-text p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 1.2em;
}
.about-text p:last-child { margin-bottom: 0; }

/* ============================================================
   Colophon footer
============================================================ */

.colophon {
  position: relative;
  padding: 64px 0 48px;
  color: var(--paper);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.colophon-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(232, 184, 144, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #2c4f73 0%, #1a3a5c 35%, #0e2640 100%);
  z-index: -2;
}
.colophon::before { display: none; }
.colophon-line {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.colophon-locale {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.65);
  margin: 0 0 18px;
}
.colophon-prayer {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-warm);
  margin: 0 0 36px;
}
.colophon-nav {
  display: inline-flex;
  gap: 28px;
  margin-bottom: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(232, 184, 144, 0.2);
  border-bottom: 1px solid rgba(232, 184, 144, 0.2);
}
.colophon-nav a {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 245, 233, 0.7);
  transition: color .25s var(--ease);
}
.colophon-nav a:hover { color: var(--cream-warm); }
.colophon-tiny {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(250, 245, 233, 0.45);
  margin: 0;
}

/* ============================================================
   Responsive
============================================================ */

@media (max-width: 980px) {
  .about-grid { gap: 60px; }
}

@media (max-width: 880px) {
  .container { padding: 0 24px; }
  .events .container { padding: 0 24px; }

  .masthead-inner { justify-content: center; }
  .masthead-nav { display: none; }
  .brand-full,
  .brand-rule { display: none; }
  .hide-mobile { display: none; }

  .hero-inner {
    padding-top: 28px;
    padding-bottom: 14vh;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }
  .hero-title { font-size: clamp(2rem, 9vw, 3.4rem); text-align: center; }
  .hero-title .hero-line-1,
  .hero-title .hero-line-2 { display: none; }
  .hero-line-mobile { display: block; padding-left: 0; }
  .hero-ayah { margin: 0 0 36px; align-items: center; text-align: center; }
  .hero-ayah em { white-space: normal; font-size: 0.98rem; line-height: 1.55; }
  .hero-ayah-cite { font-size: 0.58rem; letter-spacing: 0.18em; white-space: nowrap; }

  .prayer { padding: 64px 0 28px; }
  .events { padding: 28px 0 56px; }
  .prayer-date .kicker { display: none; }
  .prayer-item.is-next { background: var(--paper); }
  .prayer-item.is-next::before { display: none; }
  .prayer-item.is-next .ptime { color: var(--ink); }
  .prayer-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .prayer-date {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
  .prayer-date .kicker { margin-bottom: 0; }

  .prayer-grid { grid-template-columns: 1fr; }
  .prayer-item {
    padding: 18px 12px;
    border-right: none;
    border-bottom: 1px solid var(--gold-line-soft);
  }
  .prayer-item:last-child { border-bottom: none; }
  .ptime { font-size: 1.5rem; }
  .pname { font-size: 1rem; }
  .prayer-method { font-size: 0.6rem; letter-spacing: 0.12em; line-height: 1.5; }

  .events-head { gap: 16px; }
  .carousel-controls { display: none; }
  .carousel-dots { display: none; }
  .carousel-track {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    gap: 28px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }
  .event-card { scroll-snap-align: unset; }
  .event-flyer { aspect-ratio: 4 / 5; padding: 26px 28px; }

  .flyer-dawn .fm-rule,
  .flyer-dawn .fm-full { display: none; }
  .flyer-dawn .flyer-headline { margin-bottom: 22%; }
  .event-card-body { padding: 16px 20px; gap: 12px; }
  .event-info h3 { font-size: 1.1rem; }
  .event-meta { font-size: 0.78rem; }
  .event-where { font-size: 0.72rem; }

  .about { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-art { height: 420px; max-width: 480px; margin: 0 auto; width: 100%; }
  .art-card {
    width: 64%;
    padding: 18px 18px;
  }
  .art-card .kicker { font-size: 0.6rem; letter-spacing: 0.16em; }

  .colophon { padding: 64px 24px 48px; }
  .colophon-locale { display: none; }
  .colophon-line { margin-bottom: 18px; }
  .colophon-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 540px) {
  .ptime { font-size: 1.4rem; }
  .pname { font-size: 0.95rem; }

  .event-card-body {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .event-action { display: none; }

  .art-num { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
