/*
Theme Name: Majestic Construction Updates
Theme URI: https://siteupdates.majestic.tz
Author: Zanziholics Digital Agency
Description: Construction progress timeline theme for Majestic Zanzibar — The Hills Nungwi. Each WordPress post becomes a timeline milestone.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: majestic-updates
*/

/* ============================================================
   DESIGN TOKENS — identical to blog theme
   ============================================================ */
:root {
  --navy:         #1C2840;
  --navy-deep:    #151e30;
  --navy-mid:     #2C3E5C;
  --gold:         #BFA863;
  --gold-hover:   #A89254;
  --gold-pale:    rgba(191,168,99,0.12);
  --ivory:        #F6F3EF;
  --ivory-dark:   #EDE9E3;
  --border:       #E5DDD5;
  --text-body:    #2E3A4A;
  --text-muted:   #5C6B8A;
  --white:        #FFFFFF;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  --outer-max:    1160px;
  --radius:       6px;
  --radius-sm:    3px;
  --shadow-sm:    0 2px 8px rgba(28,40,64,0.06);
  --shadow-md:    0 4px 20px rgba(28,40,64,0.10);
  --shadow-lg:    0 12px 40px rgba(28,40,64,0.14);
  --ease:         0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); background: var(--ivory); color: var(--text-body); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   HEADER — matches blog exactly
   ============================================================ */
.site-header {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(191,168,99,0.15);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.3); }

.header-inner {
  max-width: var(--outer-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--ease);
}
.header-back:hover { color: var(--gold); }
.header-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform var(--ease); }
.header-back:hover svg { transform: translateX(-3px); }

.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.site-logo__name { font-family: var(--font-serif); font-size: 1rem; color: var(--white); letter-spacing: 0.1em; line-height: 1; }
.site-logo__sub { font-family: var(--font-ui); font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

.header-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   HERO BAND
   ============================================================ */
.updates-hero {
  background: var(--navy);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.updates-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,168,99,0.35), transparent);
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.gold-rule { width: 36px; height: 2px; background: var(--gold); margin: 1.25rem auto; }

/* Progress bar strip */
.progress-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.progress-stat {
  text-align: center;
}
.progress-stat__number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.progress-stat__label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}
.progress-divider {
  width: 1px;
  height: 36px;
  background: rgba(191,168,99,0.2);
}

/* ============================================================
   TIMELINE LAYOUT
   ============================================================ */
.timeline-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  position: relative;
}

/* Vertical spine */
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: calc(2rem + 120px + 24px);
  top: 5rem;
  bottom: 3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(191,168,99,0.15));
}

/* Month group */
.timeline-month {
  margin-bottom: 3.5rem;
}

.timeline-month__label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  width: 120px;
  text-align: right;
  padding-right: 1.5rem;
  padding-top: 1.5rem;
  float: left;
  clear: both;
}

/* Timeline entry */
.timeline-entry {
  margin-left: calc(120px + 48px + 12px);
  margin-bottom: 2rem;
  position: relative;
}

/* Dot on the spine */
.timeline-entry::before {
  content: '';
  position: absolute;
  left: calc(-48px - 12px + 1px);
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 3px rgba(191,168,99,0.25);
  transform: translateX(-50%);
  z-index: 2;
}

/* Entry card */
.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Card image */
.timeline-card__image {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  background: var(--navy-mid);
}

/* Card body */
.timeline-card__body { padding: 1.5rem; }

.timeline-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}
.timeline-card__status--complete { background: rgba(34,139,34,0.1); color: #1a6b1a; }
.timeline-card__status--progress { background: rgba(191,168,99,0.15); color: var(--gold-hover); }
.timeline-card__status--upcoming { background: rgba(28,40,64,0.07); color: var(--text-muted); }

.timeline-card__status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.timeline-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.65rem;
  transition: color var(--ease);
}
.timeline-card:hover .timeline-card__title { color: var(--gold-hover); }

.timeline-card__excerpt {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.timeline-card__date {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.timeline-card__read {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--ease), color var(--ease);
}
.timeline-card:hover .timeline-card__read { gap: 0.6rem; color: var(--gold-hover); }
.timeline-card__read svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Gallery strip inside card */
.timeline-card__gallery {
  display: flex;
  gap: 4px;
  padding: 0 1.5rem 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.timeline-card__gallery::-webkit-scrollbar { display: none; }
.timeline-card__gallery img {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--ease);
}
.timeline-card__gallery img:hover { opacity: 1; }

/* No posts */
.no-updates {
  text-align: center;
  padding: 5rem 2rem;
}
.no-updates p {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================================
   SINGLE UPDATE
   ============================================================ */
.update-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.update-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.update-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(28,40,64,0.1) 0%, rgba(21,30,48,0.9) 100%);
}
.update-hero--no-image { min-height: auto; padding: 3.5rem 0 3rem; }
.update-hero--no-image .update-hero__overlay { display: none; }

.update-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--outer-max);
  margin: 0 auto;
  padding: 0 2rem 3rem;
}
.update-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.update-hero__breadcrumb a,
.update-hero__breadcrumb span {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--ease);
}
.update-hero__breadcrumb a:hover { color: var(--gold); }
.update-hero__breadcrumb .sep { color: rgba(255,255,255,0.2); }
.update-hero__breadcrumb .current { color: rgba(255,255,255,0.6); }

.update-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.update-hero__status--complete { background: rgba(34,139,34,0.85); color: #fff; }
.update-hero__status--progress { background: var(--gold); color: var(--navy); }
.update-hero__status--upcoming { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }
.update-hero__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.update-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  max-width: 780px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.update-hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.update-hero__meta-item { font-family: var(--font-ui); font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.update-hero__meta-item strong { color: rgba(255,255,255,0.85); font-weight: 500; }
.meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: 0.6; }

/* Single update body */
.update-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.update-content-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}

.update-content {
  padding: 2.75rem;
}

/* Content typography */
.update-content h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.update-content h2:first-child { margin-top: 0; }
.update-content h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: var(--navy); margin: 1.75rem 0 0.6rem; }
.update-content p { font-family: var(--font-sans); font-size: 1.05rem; line-height: 1.85; color: var(--text-body); margin-bottom: 1.4rem; }
.update-content p:last-child { margin-bottom: 0; }
.update-content strong { color: var(--navy); font-weight: 600; }
.update-content a { color: var(--gold-hover); border-bottom: 1px solid rgba(168,146,84,0.3); transition: color var(--ease); }
.update-content a:hover { color: var(--navy); }
.update-content img { width: 100%; border-radius: var(--radius); margin: 1.75rem 0; box-shadow: var(--shadow-md); }
.update-content ul { list-style: none; margin: 1.25rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.update-content ul li { position: relative; padding-left: 1.4rem; font-family: var(--font-sans); font-size: 1rem; color: var(--text-body); line-height: 1.7; }
.update-content ul li::before { content: ''; position: absolute; left: 0; top: 0.62rem; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.update-content blockquote { border-left: 3px solid var(--gold); background: linear-gradient(135deg, rgba(191,168,99,0.05), rgba(28,40,64,0.03)); padding: 1.25rem 1.5rem; margin: 1.75rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.update-content blockquote p { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--navy); margin: 0; }

/* Photo gallery block */
.update-gallery {
  padding: 0 2rem 2rem;
}
.update-gallery__title {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.update-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.update-gallery__grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: opacity var(--ease);
  cursor: zoom-in;
}
.update-gallery__grid img:hover { opacity: 0.85; }

/* YouTube embed */
.update-video {
  padding: 0 2rem 2rem;
}
.update-video__title {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Post nav */
.update-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.update-nav__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--ease);
}
.update-nav__item:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.update-nav__label { font-family: var(--font-ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; }
.update-nav__title { font-family: var(--font-serif); font-size: 0.95rem; color: var(--navy); line-height: 1.35; }
.update-nav__item--next { text-align: right; }

/* CTA banner */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(191,168,99,0.06);
}
.cta-banner__eyebrow { font-family: var(--font-ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.cta-banner__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); line-height: 1.3; margin-bottom: 0.75rem; }
.cta-banner__text { font-family: var(--font-sans); font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; max-width: 400px; margin-left: auto; margin-right: auto; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(191,168,99,0.3); color: var(--navy); }

/* ============================================================
   FOOTER — matches blog exactly
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(191,168,99,0.12);
}
.footer-grid {
  max-width: var(--outer-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand__name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); letter-spacing: 0.06em; }
.footer-brand__tag { font-family: var(--font-ui); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0.2rem 0 1rem; }
.footer-brand__desc { font-family: var(--font-sans); font-size: 0.83rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 260px; }
.footer-col__title { font-family: var(--font-ui); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-family: var(--font-sans); font-size: 0.83rem; color: rgba(255,255,255,0.42); transition: color var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--outer-max);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-family: var(--font-ui); font-size: 0.7rem; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--font-ui); font-size: 0.7rem; color: rgba(255,255,255,0.3); transition: color var(--ease); }
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   WORDPRESS BLOCK GALLERY — inside update content
   ============================================================ */
.update-content .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  margin: 2rem 0 !important;
}

.update-content .wp-block-gallery .wp-block-image {
  margin: 0 !important;
}

.update-content .wp-block-gallery .wp-block-image img {
  width: 100% !important;
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  margin: 0 !important;
  box-shadow: none !important;
  cursor: zoom-in;
  transition: opacity var(--ease);
}

.update-content .wp-block-gallery .wp-block-image img:hover {
  opacity: 0.85;
}

/* Gallery label above the grid */
.update-content .wp-block-gallery::before {
  content: 'Site Photography';
  display: block;
  grid-column: 1 / -1;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Separator styling */
.update-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Fix figure captions */
.update-content figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .timeline-wrap::before { display: none; }
  .timeline-month__label { float: none; width: auto; text-align: left; padding: 0 0 0.75rem 0; }
  .timeline-entry { margin-left: 0; }
  .timeline-entry::before { display: none; }
  .update-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .update-nav { grid-template-columns: 1fr; }
  .update-nav__item--next { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-logo { position: static; transform: none; }
  .header-label { display: none; }
  .header-inner { padding: 0 1.25rem; }
  .update-content { padding: 1.75rem; }
  .update-body { padding: 2.5rem 1.25rem 4rem; }
}

@media (max-width: 480px) {
  .update-gallery__grid { grid-template-columns: 1fr; }
  .progress-strip { gap: 1rem; }
  .progress-divider { display: none; }
}
