/* ---------- Hero ---------- */
  .hero {
    position: relative; overflow: hidden;
    min-height: 100vh;
    min-height: 100svh; /* full screen without the mobile address-bar jump */
    display: grid; align-items: end;
    padding: 160px 0 96px;
    color: #FBF7F0;
    isolation: isolate;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(180deg, rgba(31,18,8,.65) 0%, rgba(31,18,8,.45) 30%, rgba(31,18,8,.55) 70%, rgba(31,18,8,.80) 100%),
      url('img/hero-bg.png');
    background-size: cover, cover;
    background-position: center, center 35%;
    background-repeat: no-repeat, no-repeat;
    background-color: var(--accent-ink);
    z-index: -2;
  }
  .hero .container { position: relative; z-index: 2; }
  .hero h1 { color: #FBF7F0; max-width: 16ch; }
  .hero .cta-row { margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; }
  .hero .btn-primary { background: #FBF7F0; color: var(--accent-ink); }
  .hero .btn-primary:hover { background: #fff; color: var(--accent); }
  @media (max-width: 880px) {
    .hero { padding: 132px 0 72px; }
    .hero h1 { max-width: 20ch; }
    .hero .cta-row { margin-top: 32px; }
  }
  @media (max-width: 560px) {
    .hero { padding: 116px 0 64px; }
    .hero::before { background-position: center, center 30%; }
    .hero .cta-row .btn { width: 100%; justify-content: center; }
  }

  /* ---------- Section: highlights (Project insights) ---------- */
  .highlights .head {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: end; margin-bottom: 56px;
  }
  .highlights .head h2 { max-width: 16ch; }
  .highlights .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .highlight-card {
    position: relative; overflow: hidden;
    padding: 48px 44px 44px;
    background: var(--surface-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .3s var(--t), box-shadow .3s var(--t), border-color .3s var(--t);
  }
  .highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
  .highlight-card h3 { max-width: 14ch; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em; }
  .highlight-card p { margin-top: 18px; max-width: 44ch; }
  .highlight-card .bg-ring {
    position: absolute; right: -80px; top: -80px;
    width: 240px; height: 240px;
    border: 1px solid var(--accent-line);
    border-radius: 50%;
    pointer-events: none; opacity: .4;
  }
  .highlight-card .bg-ring.inner {
    width: 160px; height: 160px;
    right: -20px; top: -20px;
    opacity: .25;
  }
  @media (max-width: 880px) {
    .highlights .head { grid-template-columns: 1fr; gap: 24px; }
    .highlights .grid-2 { grid-template-columns: 1fr; }
  }

  /* ---------- Section: resources ---------- */
  .resources { position: relative; overflow: hidden; }
  .resources .blob { width: 520px; height: 520px; background: var(--ochre); left: -240px; top: 20%; opacity: .14; }
  .resources .head { max-width: 720px; margin-bottom: 56px; }
  .resources .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .resource-card {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 56px 44px;
    background: linear-gradient(160deg, var(--accent-ink), var(--accent) 70%);
    color: #FBF7F0;
    min-height: 360px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform .3s var(--t), box-shadow .3s var(--t);
  }
  .resource-card.alt { background: linear-gradient(160deg, var(--soil), #6E3C1A); }
  .resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .resource-card h3 { color: #FBF7F0; max-width: 18ch; font-size: clamp(26px, 2.8vw, 34px); }
  .resource-card p { color: rgba(251,247,240,.82); margin-top: 16px; max-width: 44ch; }
  .resource-card .arrow-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #FBF7F0; color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 32px;
    transition: transform .25s var(--t);
    align-self: flex-end;
  }
  .resource-card:hover .arrow-btn { transform: translateX(6px); }
  .resource-card .ring {
    position: absolute;
    right: -120px; bottom: -120px;
    width: 380px; height: 380px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
  }
  .resource-card .ring.inner {
    right: -50px; bottom: -50px;
    width: 240px; height: 240px;
    border-color: rgba(255,255,255,.12);
  }
  @media (max-width: 880px) {
    .resources .grid-2 { grid-template-columns: 1fr; }
  }

  /* ---------- Section: event ---------- */
  .event { position: relative; overflow: hidden; }
  .event .section-head { margin-bottom: 48px; }
  /* "Featured / Recent Event" and "Latest News" share one heading style
     (site.css .section-head h2 would otherwise make the event heading smaller) */
  #featured-event-heading,
  #latest-news-heading {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 600;
  }
  .event-card {
    display: grid; grid-template-columns: 1.1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-elev);
    border: 1px solid var(--border);
    min-height: 520px;
  }
  .event-visual {
    position: relative; overflow: hidden;
    background: linear-gradient(140deg, #2C160A, #5A2C12 50%, #8C5424);
  }
  .event-visual svg.terrain { position: absolute; inset: 0; width: 100%; height: 100%; }
  .event-visual .date-chip {
    position: absolute; top: 32px; left: 32px;
    background: #FBF7F0;
    padding: 18px 22px;
    border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center;
    line-height: 1; box-shadow: var(--shadow);
  }
  .event-visual .date-chip .day { font-size: 38px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
  .event-visual .date-chip .my { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
  .event-visual .corner-ring { position: absolute; left: -120px; bottom: -120px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
  .event-body {
    padding: 56px 56px;
    display: flex; flex-direction: column; justify-content: center;
    gap: 12px;
  }
  .event-body .meta-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; margin-top: 14px; }
  .event-body .meta-row span { display: inline-flex; align-items: center; gap: 8px; }
  .event-body .meta-row svg { width: 16px; height: 16px; color: var(--accent); }
  .event-body h3 { max-width: 24ch; margin-top: 8px; }
  .event-body p { color: var(--fg-soft); margin-top: 18px; max-width: 50ch; }
  .event-body .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
  @media (max-width: 980px) {
    .event-card { grid-template-columns: 1fr; }
    .event-visual { min-height: 260px; }
    .event-body { padding: 40px 32px; }
  }

  /* ---------- Section: news (image-top, 3 columns) ---------- */
  .news { background: var(--bg-deep); position: relative; overflow: hidden; }
  .news .head { margin-bottom: 48px; }
  .news h2 { max-width: 14ch; }
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .news-card {
    background: var(--surface-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .25s var(--t), box-shadow .25s var(--t), border-color .25s var(--t);
  }
  .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
  .news-card .visual {
    position: relative; overflow: hidden;
    aspect-ratio: 16/10;
  }
  .news-card .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .news-card .visual img { width: 100%; height: 100%; object-fit: cover; }
  .news-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
  .news-card h4 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
  .news-card .date {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--muted-soft); letter-spacing: .04em;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .news-card .date svg { width: 12px; height: 12px; color: var(--accent); }
  .news-card .read-more {
    margin-top: auto; padding-top: 8px;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--accent);
    align-self: flex-start;
    transition: gap .2s var(--t);
  }
  .news-card .read-more svg { width: 15px; height: 15px; transition: transform .25s var(--t); }
  .news-card:hover .read-more svg { transform: translateX(4px); }
  @media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

  /* ---------- Section heading helper ---------- */
  .section-head { display: flex; flex-direction: column; gap: 16px; }
  .section-head h2 { max-width: 22ch; }
  .section-head .lead { max-width: 56ch; color: var(--muted); }

/* ---------- Regionalisation (dynamic split section) ---------- */
.reg-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 116px) 0;
  background:
    radial-gradient(120% 90% at 88% 12%, #3A2413 0%, rgba(58,36,19,0) 60%),
    linear-gradient(152deg, #1F150C 0%, #2C1B0E 52%, #43210E 100%);
  color: #F6EFE5;
}
/* Abstract shapes */
.reg-intro .rg-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.reg-intro .rg-blob-a {
  width: 460px; height: 460px;
  top: -190px; left: -150px;
  background: radial-gradient(circle at 35% 35%, rgba(226,112,58,.30), rgba(226,112,58,0) 68%);
}
.reg-intro .rg-blob-b {
  width: 380px; height: 380px;
  right: -120px; bottom: -170px;
  background: radial-gradient(circle at 50% 50%, rgba(146,210,107,.18), rgba(146,210,107,0) 70%);
}
.reg-intro .rg-arc {
  position: absolute;
  width: 720px; height: 720px;
  right: -240px; top: -180px;
  border: 1px solid rgba(246,239,229,.10);
  border-radius: 50%;
  pointer-events: none;
}

.reg-intro .container { position: relative; z-index: 1; } /* same width as the other home sections */
.rg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}

/* Text side — top-aligned, staggered */
.rg-copy { padding-top: 0; }
.rg-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 11px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #FFD9C2;
  background: rgba(246,239,229,.08);
  border: 1px solid rgba(246,239,229,.18);
  border-radius: var(--radius-pill);
}
.rg-kicker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #E2703A;
  box-shadow: 0 0 0 4px rgba(226,112,58,.22);
}
.rg-copy h2 {
  margin: 0;
  color: #FFF6EA; /* size and spacing follow the standard section h2 */
}
.rg-kicker + h2 { margin-top: 22px; }
.rg-copy p {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: clamp(15.5px, 1.5vw, 17px);
  line-height: 1.76;
  color: rgba(246,239,229,.78);
  text-wrap: pretty;
}
.rg-cta { margin-top: 32px; }
.rg-cta .btn-primary {
  background: #F6EFE5;
  color: #43210E;
  border-color: #F6EFE5;
}
.rg-cta .btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; }

.rg-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 40px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid rgba(246,239,229,.14);
}
.rg-stats li { display: flex; flex-direction: column; gap: 3px; }
.rg-stats strong {
  font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  color: #FFD9C2;
}
.rg-stats span {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246,239,229,.58);
}

/* Visual side */
.rg-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.rg-orbit {
  position: absolute;
  width: 86%; aspect-ratio: 1;
  border: 1px dashed rgba(246,239,229,.16);
  border-radius: 50%;
  animation: rg-spin 46s linear infinite;
  pointer-events: none;
}
.rg-orbit-2 {
  width: 62%;
  border-style: solid;
  border-color: rgba(226,112,58,.20);
  animation-direction: reverse;
  animation-duration: 34s;
}
@keyframes rg-spin { to { transform: rotate(360deg); } }

.rg-map { position: relative; width: 100%; max-width: 480px; }
.rg-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.rg-map .hm-land path {
  fill: rgba(246,239,229,.09);
  stroke: rgba(246,239,229,.22);
  stroke-width: .5;
}
.rg-map .hm-land path.is-solo {
  fill: var(--leaf, #7BA05B);
  fill-opacity: .85;
  stroke: rgba(246,239,229,.55);
  stroke-width: .7;
}
.rg-map .hm-dot { animation: rg-dot 3.6s ease-in-out infinite; }
.rg-map .hm-pulse {
  transform-origin: center;
  animation: rg-pulse 3.6s ease-out infinite;
}
@keyframes rg-pulse {
  0%   { transform: scale(.6); opacity: .55; }
  70%  { transform: scale(3.1); opacity: 0; }
  100% { transform: scale(3.1); opacity: 0; }
}
@keyframes rg-dot {
  0%, 100% { opacity: .82; }
  50%      { opacity: 1; }
}
/* Graceful when the geography can't load. */
.rg-map.is-fallback { min-height: 300px; border-radius: var(--radius-lg); background: rgba(246,239,229,.05); }

@media (prefers-reduced-motion: reduce) {
  .rg-orbit, .rg-map .hm-dot, .rg-map .hm-pulse { animation: none; }
  .rg-map .hm-pulse { opacity: .25; }
}

@media (max-width: 940px) {
  .rg-grid { grid-template-columns: 1fr; gap: 44px; }
  .rg-visual { min-height: 320px; order: 2; }
  .rg-map { max-width: 400px; }
}
@media (max-width: 560px) {
  .rg-stats { gap: 14px 26px; }
  .rg-stats strong { font-size: 25px; }
  .rg-arc { display: none; }
}
