/* ==========================================================================
   KedarnathDarshan.com — Design System
   Palette: Himalayan navy, stone grey, snow white, muted saffron, temple gold
   ========================================================================== */
:root {
  --navy: #0f2233;
  --navy-2: #16324a;
  --navy-3: #1e4258;
  --stone: #3d4852;
  --stone-light: #6b7683;
  --snow: #f7f8f6;
  --snow-2: #eef1f0;
  --white: #ffffff;
  --saffron: #c97b2d;
  --saffron-soft: #e0a35c;
  --gold: #d9a441;
  --rudraksha: #6e4b2a;
  --ice: #bcd4e4;
  --danger: #b3402e;
  --success: #2e7d4f;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 34, 51, .10);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-dev: "Tiro Devanagari Sanskrit", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--saffron); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(820px, 92%); }
.center { text-align: center; margin-top: 1.5rem; }
.center-text { text-align: center; }
.muted { color: var(--stone-light); }
.fine-print { font-size: .82rem; color: var(--stone-light); }
.tag { display: inline-block; background: var(--snow-2); color: var(--navy-3); border-radius: 999px; padding: .15rem .7rem; font-size: .78rem; font-weight: 600; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .2s ease; }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: #b06a22; color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-3); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-outline.light { border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--navy-3); }
.btn-ghost:hover { color: var(--saffron); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ---------- Alert bar ---------- */
.alert-bar { background: #fdf3e7; border-bottom: 1px solid #efd9b8; padding: .45rem 0; font-size: .85rem; }
.alert-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.alert-pill { border-radius: 999px; padding: .1rem .6rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #fff; }
.alert-information { background: var(--navy-3); }
.alert-advisory { background: var(--gold); color: var(--navy); }
.alert-important { background: var(--saffron); }
.alert-emergency { background: var(--danger); }
.alert-link { font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(15,34,51,.97); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { font-family: var(--font-dev); font-size: 1.8rem; color: var(--gold); }
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .02em; }
.brand-text strong span { color: var(--gold); }
.brand-text small { display: block; font-size: .62rem; color: var(--ice); letter-spacing: .04em; }

.main-nav .nav-list { display: flex; list-style: none; gap: .2rem; }
.main-nav a, .nav-toggle { display: block; color: #dfe8ef; padding: .7rem .8rem; font-size: .92rem; font-weight: 500; background: none; border: 0; cursor: pointer; font-family: var(--font-body); }
.main-nav a:hover, .nav-toggle:hover { color: var(--gold); }
.nav-toggle::after { content: "▾"; font-size: .7rem; margin-left: .3rem; }

.has-mega { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; display: none; gap: 2rem; min-width: 620px; }
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu { display: flex; }
.mega-col { display: flex; flex-direction: column; min-width: 170px; }
.mega-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--saffron); margin-bottom: .5rem; }
.mega-col a { color: var(--stone); padding: .3rem 0; font-size: .9rem; }
.mega-col a:hover { color: var(--saffron); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-search { color: #dfe8ef; padding: .4rem; }
.header-search:hover { color: var(--gold); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem; }
.menu-btn span { width: 24px; height: 2px; background: #fff; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,34,51,.25) 0%, rgba(15,34,51,.55) 60%, rgba(15,34,51,.85) 100%); }
.hero-content { position: relative; padding: 4rem 0 3rem; }
.hero-mantra { font-family: var(--font-dev); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold); margin-bottom: .5rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero-sub { max-width: 56ch; color: #dbe5ec; font-size: 1.05rem; margin: 1rem 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-status-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin-top: 2.2rem; }
.status-card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: .9rem 1rem; backdrop-filter: blur(4px); }
.status-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ice); margin-bottom: .3rem; }
.status-card strong { font-size: 1.3rem; }
.status-card small { color: #d5dee5; }
.status-link { color: var(--gold); font-weight: 600; }

.status-badge { display: inline-block; border-radius: 999px; padding: .25rem .8rem; font-size: .8rem; font-weight: 700; }
.status-open { background: #e2f3e8; color: var(--success); }
.status-closed { background: #f8e3df; color: var(--danger); }
.status-unknown { background: #f3ecd9; color: #8a6d1f; }
.status-live { background: var(--danger); color: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- Quick strip ---------- */
.quick-strip { background: var(--navy); padding: 1.4rem 0; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; }
.quick-card { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--radius); padding: .9rem 1rem; color: #dfe8ef; display: block; }
.quick-card:hover { border-color: var(--gold); color: #fff; }
.quick-card h3 { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; font-family: var(--font-body); font-weight: 700; margin-bottom: .25rem; }
.quick-card p { font-size: .9rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--snow-2); }
.section-dark { background: var(--navy); color: #dfe8ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--gold); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--saffron); margin-bottom: .5rem; }
.eyebrow.light { color: var(--gold); }
.section-lead { max-width: 60ch; color: var(--stone-light); margin-bottom: 1.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.link-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.framed-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.framed-img figcaption { background: var(--navy); color: var(--ice); font-size: .8rem; padding: .6rem 1rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.2rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.info-card, .place-card, .post-card { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.3rem; display: block; transition: transform .2s ease, box-shadow .2s ease; }
.info-card:hover, .place-card:hover, .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card h3, .place-card h3, .post-card h3, .post-card h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.info-card p, .place-card p, .post-card p { font-size: .9rem; color: var(--stone-light); margin: 0 0 .5rem; }
.post-card small { color: var(--stone-light); font-size: .8rem; }

.pk-card { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.2rem 1rem; text-align: center; display: block; }
.pk-card strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }
.pk-card span { font-size: .82rem; color: var(--stone-light); }
.pk-card.highlight { background: var(--navy); border-color: var(--navy); }
.pk-card.highlight strong { color: var(--gold); }
.pk-card.highlight span { color: var(--ice); }
.pk-card:hover { border-color: var(--saffron); }

/* ---------- Story banner ---------- */
.story-banner { background: linear-gradient(rgba(15,34,51,.82), rgba(15,34,51,.88)), url('../images/story-himalaya.jpg') center/cover fixed; color: #fff; padding: 6rem 0; text-align: center; }
.story-banner h2 { color: #fff; max-width: 24ch; margin: 0 auto 1rem; }
.story-banner p { max-width: 62ch; margin: 0 auto 1.6rem; color: #d8e2ea; }

/* ---------- Live ---------- */
.live-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; align-items: center; }
.live-player { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000; cursor: pointer; }
.live-player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.live-player iframe { width: 100%; height: 100%; border: 0; }
.play-btn { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; background: rgba(15,34,51,.85); color: #fff; border: 2px solid var(--gold); border-radius: 999px; padding: .8rem 1.6rem; font-size: 1rem; font-weight: 600; cursor: pointer; }
.play-btn:hover { background: var(--saffron); }
.live-info h3 { margin: .6rem 0; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; font-size: .95rem; }
.table th, .table td { padding: .7rem .9rem; border-bottom: 1px solid #e8ecea; text-align: left; vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.table tr:last-child td { border-bottom: 0; }
.total-row td { background: var(--snow-2); }

.date-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.date-card { background: #fff; border: 1px solid #e3e8e6; border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.2rem; }
.date-card span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--stone-light); }
.date-card strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }

.status-banner { border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.status-banner.status-open { background: #e2f3e8; }
.status-banner.status-closed { background: #f8e3df; }
.status-banner.status-unknown { background: #f3ecd9; }

/* ---------- Weather ---------- */
.weather-now { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.6rem; }
.weather-main { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.weather-temp { font-family: var(--font-head); font-size: 3.2rem; }
.weather-cond { color: var(--ice); }
.weather-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.weather-grid > div { background: rgba(255,255,255,.08); border-radius: var(--radius); padding: .8rem 1rem; }
.weather-now .weather-grid > div { background: rgba(255,255,255,.10); }
.weather-grid span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--stone-light); }
.weather-now .weather-grid span { color: var(--ice); }
.weather-grid strong { font-size: 1.1rem; color: var(--navy); }
.weather-now .weather-grid strong { color: #fff; }
.weather-now .fine-print { color: var(--ice); margin-top: 1rem; }
.forecast-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .8rem; margin-bottom: 1.6rem; }
.forecast-day { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: .9rem .6rem; text-align: center; display: flex; flex-direction: column; gap: .2rem; align-items: center; }
.forecast-day span { font-size: .8rem; font-weight: 600; color: var(--navy); }
.forecast-day small { color: var(--stone-light); font-size: .75rem; }

/* ---------- Updates ---------- */
.update-list { display: flex; flex-direction: column; gap: 1rem; }
.update-item { display: flex; gap: 1rem; background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.2rem; align-items: flex-start; }
.update-item h2, .update-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.update-item p { margin-bottom: .4rem; }
.update-item small { color: var(--stone-light); }
.update-item .alert-pill { flex-shrink: 0; margin-top: .2rem; }

/* ---------- Page article ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 3.2rem 0 2.6rem; }
.page-hero h1 { color: #fff; }
.page-subtitle { color: var(--ice); max-width: 62ch; }
.page-meta { font-size: .82rem; color: var(--ice); margin-top: .8rem; }
.breadcrumbs { font-size: .82rem; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; color: var(--ice); }
.breadcrumbs a { color: var(--gold); }
.article-body { padding: 2.6rem 0 3.5rem; }
.article-body h2 { margin-top: 2rem; }
.article-body h3 { margin-top: 1.4rem; margin-bottom: .5rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.4rem; }
.article-body li { margin-bottom: .35rem; }
.article-body blockquote { border-left: 4px solid var(--gold); background: #fff; padding: 1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.2rem 0; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-2); }
.article-body img { border-radius: var(--radius); margin: 1rem 0; }

.quick-answer { background: #fff; border: 1px solid #e3e8e6; border-left: 4px solid var(--saffron); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.quick-answer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--saffron); font-family: var(--font-body); margin-bottom: .4rem; }
.quick-answer p { margin: 0; font-size: 1.02rem; }
.facts-box, .sources-box, .related-box { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.4rem; margin: 1.6rem 0; }
.sources-box { background: var(--snow-2); }
.share-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; border-top: 1px solid #e3e8e6; padding-top: 1.2rem; margin-top: 2rem; font-size: .9rem; }
.share-row a, .copy-link { color: var(--navy-3); font-weight: 600; background: none; border: 0; cursor: pointer; font-size: .9rem; }
.share-row a:hover, .copy-link:hover { color: var(--saffron); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); overflow: hidden; }
.faq-item summary { padding: 1rem 1.2rem; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; position: relative; padding-right: 2.4rem; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--saffron); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--stone); }
.faq-answer p { margin-bottom: .5rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.6rem; }
.form-card label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.form-card input, .form-card select, .form-card textarea { padding: .7rem .9rem; border: 1px solid #cfd8d5; border-radius: 8px; font: inherit; font-weight: 400; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--saffron); border-color: var(--saffron); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.search-form { display: flex; gap: .6rem; margin: 1.4rem 0; }
.search-form input { flex: 1; padding: .8rem 1rem; border: 1px solid #cfd8d5; border-radius: 8px; font: inherit; }
.search-result { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: .8rem; }
.search-result a { font-weight: 600; font-size: 1.02rem; }
.search-result p { font-size: .88rem; color: var(--stone-light); margin: .3rem 0 0; }

.notice-box { background: #fdf6ea; border: 1px solid #efd9b8; border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: .95rem; }
.notice-box.warning { background: #fdf0ec; border-color: #eec5b8; border-left-color: var(--danger); }
.notice-box.success { background: #e9f5ee; border-color: #bfe0cd; border-left-color: var(--success); }
.notice-box.error { background: #f8e3df; border-color: #eec5b8; border-left-color: var(--danger); }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.chip { border: 1px solid #cfd8d5; border-radius: 999px; padding: .35rem 1rem; font-size: .85rem; font-weight: 600; color: var(--stone); background: #fff; }
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Jyotirlinga ---------- */
.jyotir-card { position: relative; background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.4rem; }
.jyotir-card.highlight { border: 2px solid var(--gold); background: linear-gradient(160deg, #fff, #fdf6ea); }
.jyotir-num { position: absolute; top: .9rem; right: 1rem; font-family: var(--font-head); font-size: 1.6rem; color: var(--snow-2); }
.jyotir-card.highlight .jyotir-num { color: var(--gold); }
.jyotir-loc { font-size: .85rem; color: var(--saffron); font-weight: 600; margin-bottom: .5rem; }

/* ---------- Emergency ---------- */
.emergency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.emergency-card { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.2rem; }
.emergency-card h2 { font-size: 1.05rem; margin: .5rem 0 .3rem; }
.emergency-number { font-family: var(--font-head); font-size: 1.5rem; color: var(--danger); font-weight: 700; }
.emergency-card small { display: block; color: var(--stone-light); margin-top: .5rem; }

/* ---------- Links directory ---------- */
.link-list { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; }
.link-item { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.link-item:hover { border-color: var(--saffron); }
.link-item span { font-size: .88rem; color: var(--stone-light); }
.link-item small { font-size: .75rem; color: var(--stone-light); margin-top: .3rem; }

/* ---------- Checklist ---------- */
.checklist-group { background: #fff; border: 1px solid #e3e8e6; border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.2rem; }
.check-item { display: flex; gap: .7rem; align-items: flex-start; padding: .4rem 0; cursor: pointer; }
.check-item input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--saffron); }
.check-item input:checked + span { text-decoration: line-through; color: var(--stone-light); }

/* ---------- Map / video ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid #e3e8e6; margin-bottom: 1.4rem; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-embed.large iframe { height: 520px; }
.video-card h2, .video-card h3 { font-size: 1rem; margin: .6rem 0 .2rem; }
.video-card small { color: var(--stone-light); }

/* ---------- Error page ---------- */
.error-page { padding: 5rem 0; text-align: center; }
.mountain-silhouette { height: 140px; background: linear-gradient(135deg, transparent 49%, var(--navy) 50%) 0 0/120px 140px repeat-x, linear-gradient(45deg, transparent 49%, var(--navy-3) 50%) 60px 0/160px 140px repeat-x; opacity: .12; margin-bottom: 2rem; }
.hero-actions.center { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4d2dd; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; padding: 3.4rem 0 2rem; }
.footer-col h3, .footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-col a { display: block; color: #c4d2dd; padding: .22rem 0; font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { font-size: .9rem; }
.footer-disclaimer { color: #93a7b5; font-size: .82rem; }
.footer-bottom { border-top: 1px solid var(--navy-3); padding: 1.2rem 0 5.4rem; text-align: center; font-size: .82rem; color: #93a7b5; }
.footer-mantra { font-family: var(--font-dev); color: var(--gold); font-size: 1.05rem; margin-bottom: .4rem; }

/* ---------- Mobile quick bar ---------- */
.mobile-quickbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); z-index: 90; padding: .4rem .6rem calc(.4rem + env(safe-area-inset-bottom)); }
.mobile-quickbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #dfe8ef; font-size: .68rem; padding: .35rem 0; }
.mobile-quickbar a:hover { color: var(--gold); }

.back-to-top { position: fixed; right: 1.2rem; bottom: 5.2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80; }
.back-to-top.visible { opacity: .9; pointer-events: auto; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-quickbar, .back-to-top, .no-print, .alert-bar { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; color: #000; padding: 1rem 0; }
  .page-hero h1 { color: #000; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--navy); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; padding: 4.5rem 1.4rem 6rem; z-index: 95; }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-list { flex-direction: column; }
  .mega-menu { position: static; transform: none; min-width: 0; box-shadow: none; background: var(--navy-2); padding: .6rem 1rem; display: none; flex-direction: column; gap: 0; }
  .has-mega.open .mega-menu { display: flex; }
  .has-mega:hover .mega-menu { display: none; }
  .has-mega.open:hover .mega-menu { display: flex; }
  .mega-col a { color: #dfe8ef; }
  .mega-col h4 { margin-top: .6rem; }
  .menu-btn { display: flex; z-index: 96; }
  .two-col, .live-wrap { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .mobile-quickbar { display: flex; }
  .footer-bottom { padding-bottom: 5.4rem; }
  .story-banner { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero-status-cards { grid-template-columns: 1fr 1fr; }
  .date-cards, .form-row { grid-template-columns: 1fr; }
  .update-item { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
}
