/* ==========================================================================
   PVAEPL — PSK Vakalapudi Annavaram Expressways Private Limited
   Main stylesheet (loads after Bootstrap 5.3)

   1. Fonts & design tokens
   2. Base
   3. Utilities (eyebrow, lane line, buttons)
   4. Header & navigation
   5. Home — hero
   6. Home — stats
   7. Home — project intro & route strip
   8. Footer & back-to-top
   9. Scroll-reveal animation
   ========================================================================== */

/* 1. Fonts & design tokens ------------------------------------------------ */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --brand: #0089cf;          /* primary highlight — accents, icons, large text */
  --brand-deep: #0066b3;     /* secondary highlight — buttons, links, small text */
  --brand-ink: #004b86;      /* darker shade for hover / footer depth */
  --brand-tint: #f2f8fc;     /* soft section background */
  --brand-tint-2: #e3f1fa;   /* borders on tinted areas */

  /* Neutrals */
  --ink: #12263f;            /* headings */
  --text: #4d4d4f;           /* body copy (logo grey) */
  --muted: #6b7380;
  --line: #e4e9ef;
  --white: #fff;

  /* Shape & depth */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(18, 38, 63, .06);
  --shadow: 0 12px 40px -12px rgba(18, 38, 63, .18);
  --shadow-lg: 0 24px 64px -20px rgba(0, 75, 134, .30);

  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--white);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.7;
  --bs-link-color: var(--brand-deep);
  --bs-link-color-rgb: 0, 102, 179;
  --bs-link-hover-color: var(--brand-ink);
  --bs-link-hover-color-rgb: 0, 75, 134;
  --bs-border-color: var(--line);
  --bs-primary: var(--brand-deep);
  --bs-primary-rgb: 0, 102, 179;
}

/* 2. Base ----------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Sticky footer: page is a full-height column, main grows to fill any gap,
   so the footer always sits at the bottom of tall screens (e.g. 4K) on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1 0 auto; overflow-x: clip; } /* overflow clip: slide-in animations never cause sideways scroll */
.site-header, .site-footer { flex-shrink: 0; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
a { text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; height: auto; }

::selection { background: var(--brand); color: var(--white); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--brand-deep); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--white); }

.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.section-tint { background: var(--brand-tint); }

/* 3. Utilities ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); }

/* Dashed road "lane marking" under headings */
.lane-line {
  display: block; width: 96px; height: 4px; margin-top: 1.1rem; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 18px, transparent 18px 28px);
}
.text-center .lane-line { margin-inline: auto; }

.btn { --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .8rem; --bs-btn-border-radius: 999px; letter-spacing: .01em; }
.btn-brand {
  --bs-btn-color: var(--white); --bs-btn-bg: var(--brand-deep); --bs-btn-border-color: var(--brand-deep);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--brand-ink); --bs-btn-hover-border-color: var(--brand-ink);
  --bs-btn-active-bg: var(--brand-ink); --bs-btn-active-border-color: var(--brand-ink); --bs-btn-active-color: var(--white);
}
.btn-light-brand {
  --bs-btn-color: var(--brand-deep); --bs-btn-bg: var(--white); --bs-btn-border-color: var(--white);
  --bs-btn-hover-color: var(--brand-ink); --bs-btn-hover-bg: #eaf5fc; --bs-btn-hover-border-color: #eaf5fc;
  --bs-btn-active-bg: #dceffa; --bs-btn-active-border-color: #dceffa; --bs-btn-active-color: var(--brand-ink);
}
.btn-outline-white {
  --bs-btn-color: var(--white); --bs-btn-border-color: rgba(255, 255, 255, .7);
  --bs-btn-hover-color: var(--brand-deep); --bs-btn-hover-bg: var(--white); --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-bg: var(--white); --bs-btn-active-color: var(--brand-deep); --bs-btn-active-border-color: var(--white);
}
.btn-outline-brand {
  --bs-btn-color: var(--brand-deep); --bs-btn-border-color: var(--brand-deep);
  --bs-btn-hover-color: var(--white); --bs-btn-hover-bg: var(--brand-deep); --bs-btn-hover-border-color: var(--brand-deep);
  --bs-btn-active-color: var(--white); --bs-btn-active-bg: var(--brand-ink); --bs-btn-active-border-color: var(--brand-ink);
}
.btn .bi { transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }

/* 4. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  /* Solid white on purpose: backdrop-filter here would trap the fixed mobile menu inside the header */
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(18, 38, 63, .18); border-color: var(--line); }
.site-header.is-scrolled .container { height: 70px; }

.brand-logo { display: block; flex-shrink: 0; }
.brand-logo img { display: block; height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo img { height: 46px; }

.site-nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  position: relative; display: block; padding: .6rem .85rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #33404d;
}
.site-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 3px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--brand-deep); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--brand-deep); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--brand-deep); }
.nav-toggle span:nth-child(2) { width: 70%; }

.offcanvas-header .brand-logo img { height: 44px; }

@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .brand-logo img { height: 46px; }
  .site-header.is-scrolled .container { height: 64px; }
  .site-header.is-scrolled .brand-logo img { height: 40px; }
  .offcanvas-lg { --bs-offcanvas-width: min(320px, 85vw); }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 1rem .25rem; font-size: .85rem; }
  .site-nav a::after { left: 0; right: auto; width: 3px; top: 1rem; bottom: 1rem; height: auto; transform: scaleY(0); }
  .site-nav a:hover::after, .site-nav a.active::after { transform: scaleY(1); }
  .site-nav a:hover, .site-nav a.active { padding-left: .9rem; }
}

/* 5. Home — hero ---------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 860px);
  display: flex; align-items: center;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 42, 82, .90) 0%, rgba(0, 66, 128, .72) 38%, rgba(0, 102, 179, .18) 72%, rgba(0, 102, 179, 0) 100%),
    linear-gradient(0deg, rgba(0, 32, 64, .55) 0%, rgba(0, 32, 64, 0) 40%);
}
.hero-content { padding-block: 5rem 8rem; max-width: 860px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; margin-bottom: 1.5rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #5cc8ff; box-shadow: 0 0 0 4px rgba(92, 200, 255, .25); }
.hero h1 {
  color: var(--white); font-weight: 800; letter-spacing: -.025em; line-height: 1.08;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.1rem); margin-bottom: 1.5rem;
}
.hero h1 small { display: block; margin-top: .5rem; font-size: .42em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.75; color: rgba(255, 255, 255, .9); margin-bottom: 2.25rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Slow settle-in zoom on load */
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-media img { animation: hero-zoom 14s var(--ease) both; }

@media (max-width: 767.98px) {
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(0, 42, 82, .94) 0%, rgba(0, 66, 128, .78) 55%, rgba(0, 102, 179, .25) 100%); }
  .hero-content { padding-block: 6rem 7rem; }
  .hero-tag { font-size: .68rem; letter-spacing: .05em; padding: .4rem .8rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* 6. Home — stats --------------------------------------------------------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -4.5rem; }
.stats-card {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.stats-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-deep)); }
.stat { padding: 2rem 1.25rem 1.75rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { display: block; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat-unit { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-left: .15em; color: var(--brand-deep); }
.stat-label { display: block; margin-top: .7rem; font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--muted); }

@media (max-width: 1199.98px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .stats-wrap { margin-top: -3rem; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.5rem .75rem 1.35rem; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* 7. Home — project intro & route strip ----------------------------------- */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-block: 2rem 2.25rem; }
.fact {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
}
.fact .bi { font-size: 1.35rem; color: var(--brand); line-height: 1; margin-top: .15rem; }
.fact small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact strong { display: block; color: var(--ink); font-weight: 700; line-height: 1.35; }
@media (max-width: 459.98px) { .fact-grid { grid-template-columns: 1fr; } }

.map-frame {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 6px solid var(--white); outline: 1px solid var(--line);
}
.map-frame img { display: block; width: 100%; transition: transform .6s var(--ease); }
.map-frame:hover img { transform: scale(1.03); }
.map-frame .zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(18, 38, 63, .78); color: var(--white); font-size: .78rem; font-weight: 600;
}

/* Route strip: Km 0+000 → Km 40+621 */
.route { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.route-ends { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.route-end { display: flex; flex-direction: column; }
.route-end:last-child { text-align: right; }
.route-end small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.route-end strong { color: var(--ink); font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); }
.route-end span { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; font-weight: 600; }

.route-track { position: relative; height: 18px; border-radius: 999px; background: #dfe7ef; }
.route-road {
  position: absolute; inset: 0; border-radius: 999px; overflow: hidden;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.8s var(--ease) .2s;
}
.route-road::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .95) 0 16px, transparent 16px 30px);
}
.route-pin {
  position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--white); border: 5px solid var(--brand-deep); box-shadow: 0 4px 12px rgba(0, 75, 134, .3);
}
.route-pin.start { left: 0; border-color: var(--brand); }
.route-pin.end { left: 100%; }
.route-ticks { position: relative; height: 2.2rem; margin-top: .6rem; }
.route-ticks span {
  position: absolute; top: 0; transform: translateX(-50%);
  font-size: .74rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.route-ticks span::before { content: ""; display: block; width: 2px; height: 8px; margin: 0 auto .3rem; background: #c3cfdb; }
.route.is-visible .route-road { transform: scaleX(1); }
@media (max-width: 575.98px) { .route-ticks span:nth-child(odd) { display: none; } }

/* 7b. Inner pages — title banner ------------------------------------------ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s var(--ease) both; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0, 42, 82, .93) 0%, rgba(0, 66, 128, .84) 45%, rgba(0, 102, 179, .55) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 36px, transparent 36px 52px);
}
.page-hero h1 { color: var(--white); font-weight: 800; letter-spacing: -.025em; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); margin: 0; }
.page-hero-sub { margin: .9rem 0 0; max-width: 720px; color: rgba(255, 255, 255, .86); font-size: 1.05rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .55); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .85); margin-bottom: .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.page-hero .breadcrumb a { color: var(--white); }
.page-hero .breadcrumb a:hover { color: #9fdcff; }

/* 7c. Content blocks ------------------------------------------------------ */
.section-head { margin-bottom: 2.25rem; }
.section-head p { margin: 1rem 0 0; max-width: 720px; }

.card-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* "To be updated" placeholder text — search the HTML for PLACEHOLDER */
.tbu { color: var(--muted); font-style: italic; font-weight: 500; }

/* Map / figure */
.figure-frame { margin: 0; }
.figure-frame figcaption { margin-top: .9rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* Key dates timeline */
.timeline { list-style: none; margin: 0; padding: 1.75rem 1.75rem 1.25rem; }
.timeline-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); padding: 1.5rem 1.75rem 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1.4rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -8px; width: 2px; background: repeating-linear-gradient(180deg, var(--brand-tint-2) 0 6px, transparent 6px 10px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(0, 137, 207, .15); }
.timeline li.is-pending::after { background: var(--white); border: 2px solid var(--brand); }
.timeline small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.timeline strong { display: block; color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.timeline-foot { display: flex; border-top: 1px solid var(--line); }
.timeline-foot div { flex: 1; padding: 1rem 1.75rem; }
.timeline-foot div + div { border-left: 1px solid var(--line); }
.timeline-foot small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.timeline-foot strong { color: var(--brand-deep); font-size: 1.15rem; }

/* Data tables (Salient Features, Inventory, Progress) */
.table-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.data-table { --bs-table-bg: transparent; --bs-table-striped-bg: var(--brand-tint); --bs-table-striped-color: var(--text); margin: 0; font-size: .95rem; }
.data-table > :not(caption) > * > * { padding: .95rem 1.1rem; border-bottom-color: var(--line); vertical-align: middle; }
.data-table thead th {
  background: var(--brand-deep); color: var(--white); border-bottom: 0;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr { transition: background-color .2s; }
.data-table tbody tr:hover > * { --bs-table-bg-state: #e8f4fb; }
.data-table .col-sl { width: 72px; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.data-table .col-item { color: var(--ink); font-weight: 600; }
.data-table .col-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); white-space: nowrap; }
.data-table .col-unit { color: var(--muted); white-space: nowrap; }
.data-table th.col-num { text-align: right; }
.data-table thead th, .data-table thead th.col-sl, .data-table thead th.col-num { color: var(--white); }
.data-table.table-salient .col-item { width: 260px; }
.table-note { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* Progress page: keep the column headings visible while scrolling (desktop) */
@media (min-width: 992px) {
  .table-progress thead th { position: sticky; top: 70px; z-index: 2; }
  .table-card.is-sticky { overflow: visible; }
  .table-card.is-sticky thead th:first-child { border-top-left-radius: var(--radius); }
  .table-card.is-sticky thead th:last-child { border-top-right-radius: var(--radius); }
}
.table-progress { min-width: 860px; }
.table-progress .col-num { min-width: 120px; }
.table-progress .col-item { min-width: 240px; }

/* Salient Features on phones: stack each row as label + value */
@media (max-width: 575.98px) {
  .table-salient thead { display: none; }
  .table-salient, .table-salient tbody, .table-salient tr, .table-salient td { display: block; width: 100%; }
  .table-salient .col-sl { display: none; }
  .table-salient tr { border-bottom: 1px solid var(--line); }
  .table-salient tr:last-child { border-bottom: 0; }
  .data-table.table-salient > :not(caption) > * > * { border-bottom: 0; }
  .data-table.table-salient td.col-item { width: 100%; padding-bottom: .1rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }
  .data-table.table-salient td:last-child { padding-top: .2rem; color: var(--ink); }
}
.swipe-hint { display: none; }
@media (max-width: 991.98px) {
  .swipe-hint { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
}

.status-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
}
.status-bar .updated { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); }
.status-bar .updated .bi { color: var(--brand); font-size: 1.2rem; }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 991.98px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 12px;
  background: var(--brand-tint); box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item::after {
  content: "\f62c"; /* bootstrap-icons: zoom-in */
  font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.6rem; color: var(--white); background: rgba(0, 66, 128, .45); opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1;
  padding: .35rem .65rem; border-radius: 8px; background: rgba(18, 38, 63, .78); color: var(--white);
  font-size: .76rem; font-weight: 600; line-height: 1.35;
}
@media (max-width: 575.98px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery-caption { font-size: .68rem; left: 6px; right: 6px; bottom: 6px; } }
.gallery-count { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-weight: 700; font-size: .85rem; }

/* GLightbox brand touches */
.glightbox-clean .gslide-description { background: var(--white); }
.glightbox-clean .gslide-title { font-family: var(--bs-body-font-family); font-weight: 600; color: var(--ink); margin-bottom: 0; }
.goverlay { background: rgba(6, 22, 40, .94); }

/* Coming soon (videos) */
.coming-soon { max-width: 720px; margin-inline: auto; text-align: center; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem); position: relative; overflow: hidden; }
.coming-soon::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-deep)); }
.coming-soon-icon {
  width: 88px; height: 88px; margin: 0 auto 1.75rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.2rem; color: var(--brand-deep); background: var(--brand-tint); box-shadow: 0 0 0 10px rgba(0, 137, 207, .07);
  animation: pulse-ring 2.8s var(--ease) infinite;
}
@keyframes pulse-ring { 0%, 100% { box-shadow: 0 0 0 10px rgba(0, 137, 207, .07); } 50% { box-shadow: 0 0 0 18px rgba(0, 137, 207, .03); } }
.coming-soon .badge-soon { display: inline-block; margin-bottom: 1rem; padding: .35rem .9rem; border-radius: 999px; background: var(--brand-deep); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Contact cards */
.contact-card { display: flex; gap: 1.25rem; padding: 1.75rem; height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.contact-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.contact-card address { margin: 0; font-style: normal; line-height: 1.75; }
.contact-card .org { display: block; font-weight: 700; color: var(--ink); }

/* 404 */
.error-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--brand); }

/* 8. Footer & back-to-top ------------------------------------------------- */
.site-footer {
  position: relative; color: rgba(255, 255, 255, .78); text-align: center;
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand-ink) 100%);
  padding-block: 3.5rem 2.5rem;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 36px, transparent 36px 52px);
}
.footer-nav { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.75rem; }
.footer-nav a { color: var(--white); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem 0; display: inline-block; }
.footer-nav a:hover { color: #9fdcff; }
.footer-name { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; letter-spacing: 0; }
.footer-spv { color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 500; margin-bottom: 1.75rem; letter-spacing: 0; }
.footer-copy { font-size: .82rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1020;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center; font-size: 1.2rem;
  background: var(--brand-deep); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 75, 134, .6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-ink); }

/* 9. Scroll-reveal animation ---------------------------------------------- */
/* Only hides content when JS is running, so the site still works without it. */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
