/* ============================================================
   ICSDAI — Production CSS
   Institutional Identity: Emerald #0A2B28 · Gold #B89A5A · Ivory #F8F6F1
   Typography: Libre Baskerville (serif) · IBM Plex Sans (sans)
   Version: Production 1.0
   ============================================================ */

/* Google Fonts — preloaded in HTML head for performance */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--graphite);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

ul,
ol {
  list-style: none
}

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none
}

input,
select,
textarea {
  font: inherit
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

/* ── Design Tokens ── */
:root {
  --emerald: #0A2B28;
  --emerald-mid: #0d3530;
  --gold: #B89A5A;
  --gold-light: rgba(184, 154, 90, .18);
  --ivory: #F8F6F1;
  --ivory-dark: #F0EDE6;
  --graphite: #1A1A1A;
  --muted: #4A4A4A;
  --ocean: #123D5A;
  --stone: #DAD7D2;
  --stone-light: rgba(218, 215, 210, .5);
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --max: 1200px;
  --section-pad: 96px 24px;
  --section-pad-sm: 64px 24px;
}

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--emerald);
  color: var(--ivory);
  padding: 12px 20px;
  font-size: 14px;
  z-index: 9999;
  transition: top .2s
}

.skip-link:focus {
  top: 0
}

/* ── Wrap ── */
.wrap {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px
}

/* ── Navigation ── */
.site-header {
  background: var(--emerald);
  border-bottom: 1px solid rgba(184, 154, 90, .25);
  position: sticky;
  top: 0;
  z-index: 100
}

.nav {
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto
}

.logo img {
  height: 42px;
  width: auto
}

.menu-toggle {
  display: none;
  color: var(--ivory);
  padding: 8px 12px;
  border: 1px solid rgba(184, 154, 90, .4);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-links a {
  color: rgba(248, 246, 241, .8);
  font-size: 13px;
  letter-spacing: .04em;
  padding: 8px 12px;
  transition: color .2s;
  white-space: nowrap
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ivory)
}

.nav-links a[aria-current="page"] {
  border-bottom: 1px solid var(--gold)
}

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 7px 16px !important;
  margin-left: 8px
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--emerald) !important
}

/* ── Hero ── */
.hero {
  background:
    linear-gradient(90deg, rgba(10, 43, 40, .98), rgba(10, 43, 40, .86) 48%, rgba(10, 43, 40, .70)),
    url("../assets/globe.svg") right center/580px no-repeat,
    radial-gradient(circle at 75% 40%, rgba(184, 154, 90, .18), transparent 35%),
    var(--emerald);
  color: var(--ivory);
  border-bottom: 1px solid rgba(184, 154, 90, .3);
  padding: 0
}

.hero-inner {
  max-width: var(--max);
  margin: auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: start
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold)
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  margin: 0
}

h1 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -.025em
}

h1 .gold,
h2 .gold {
  color: var(--gold)
}

.hero p {
  max-width: 600px;
  color: rgba(248, 246, 241, .82);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 20px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px
}

.hero-card {
  border: 1px solid rgba(184, 154, 90, .35);
  background: rgba(6, 32, 30, .52);
  min-height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../assets/pillar.svg") center/340px no-repeat;
  opacity: .18
}

.hero-seal {
  width: 240px;
  z-index: 1;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, .25))
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .2s;
  white-space: nowrap;
  border: 1px solid transparent
}

.btn-primary {
  background: var(--gold);
  color: var(--emerald);
  border-color: var(--gold)
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold)
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(248, 246, 241, .4)
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.btn-light {
  background: var(--ivory);
  color: var(--emerald);
  border-color: var(--stone)
}

.btn-light:hover {
  background: var(--emerald);
  color: var(--ivory);
  border-color: var(--emerald)
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald)
}

.btn-outline:hover {
  background: var(--emerald);
  color: var(--ivory)
}

.btn-dark {
  background: var(--emerald);
  color: var(--ivory);
  border-color: var(--emerald)
}

.btn-dark:hover {
  background: transparent;
  color: var(--emerald)
}

/* ── Pillar Strip ── */
.pillar-strip {
  background: var(--emerald);
  border-top: 1px solid rgba(184, 154, 90, .2);
  border-bottom: 1px solid rgba(184, 154, 90, .2);
  padding: 0 24px
}

.pillar-strip .wrap {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr)
}

.mini-pillar {
  padding: 22px 16px;
  border-right: 1px solid rgba(184, 154, 90, .18);
  text-align: center
}

.mini-pillar:last-child {
  border-right: none
}

.icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: var(--gold)
}

.mini-pillar strong {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold)
}

.mini-pillar span {
  font-size: 12px;
  color: rgba(248, 246, 241, .7)
}

/* ── Section Base ── */
section:not(.hero) {
  padding: var(--section-pad)
}

section.tight {
  padding: var(--section-pad-sm)
}

.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 40px
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.02em;
  color: var(--emerald)
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.7
}

.dark {
  background: var(--emerald);
  color: var(--ivory)
}

.dark h2,
.dark h3 {
  color: var(--ivory)
}

.dark p {
  color: rgba(248, 246, 241, .75)
}

.dark .eyebrow {
  color: var(--gold)
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--stone);
  background: var(--ivory)
}

.card {
  padding: 34px 30px;
  border-right: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  min-height: 240px;
  transition: background .2s
}

.card:hover {
  background: var(--ivory-dark)
}

.card:nth-child(3n) {
  border-right: none
}

.card:nth-last-child(-n+3) {
  border-bottom: none
}

.card .icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 14px
}

.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--emerald);
  margin: 0 0 10px;
  font-weight: 400
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7
}

.card .num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold);
  font-weight: 400
}

/* ── Split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center
}

.panel {
  border: 1px solid rgba(184, 154, 90, .35);
  padding: 38px;
  background: rgba(248, 246, 241, .05)
}

.panel.ivory {
  background: var(--ivory);
  border-color: var(--stone)
}

.panel h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--emerald);
  margin-bottom: 14px;
  font-weight: 400
}

.panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px
}

.dark .panel h3 {
  color: var(--ivory) !important;
}

.dark .panel p {
  color: rgba(248, 246, 241, .75) !important;
}

/* ── AI Stack ── */
.ai-stack {
  display: grid;
  gap: 2px
}

.stack-row {
  padding: 16px 20px;
  background: rgba(248, 246, 241, .07);
  border: 1px solid rgba(184, 154, 90, .22);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  transition: background .2s
}

.stack-row:hover {
  background: rgba(248, 246, 241, .12)
}

.stack-row span:first-child {
  font-weight: 600;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .04em
}

.stack-row span:last-child {
  color: rgba(248, 246, 241, .65);
  font-size: 13px
}

/* ── Timeline ── */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--stone)
}

.step {
  padding: 28px 24px;
  border-right: 1px solid var(--stone);
  background: var(--ivory)
}

.step:last-child {
  border-right: none
}

.step .year {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase
}

.step h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--emerald);
  margin: 10px 0 8px;
  font-weight: 400
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65
}

/* ── Resources ── */
.resources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.resource {
  background: var(--ivory);
  border: 1px solid var(--stone);
  padding: 24px;
  transition: border-color .2s
}

.resource:hover {
  border-color: var(--gold)
}

.resource-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--emerald), var(--ocean));
  border: 1px solid rgba(184, 154, 90, .25);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold)
}

.resource h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--emerald);
  margin-bottom: 8px;
  font-weight: 400
}

.resource p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px
}

/* ── KPI ── */
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--stone)
}

.kpi div {
  padding: 22px 30px;
  border-right: 1px solid var(--stone)
}

.kpi strong {
  font-family: var(--serif);
  font-size: 50px;
  color: var(--gold);
  font-weight: 400;
  display: block;
  line-height: 1
}

.kpi span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
  letter-spacing: .04em
}

/* ── Forms ── */
.form {
  display: grid;
  gap: 16px
}

.form-group {
  display: grid;
  gap: 6px
}

.form-group label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--stone);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--graphite);
  transition: border-color .2s;
  border-radius: 0
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold)
}

textarea {
  min-height: 160px;
  resize: vertical
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B89A5A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(10, 43, 40, .06);
  border: 1px solid rgba(184, 154, 90, .4);
  color: var(--emerald);
  font-size: 14px;
  margin-top: 8px
}

/* ── Proof Grid ── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.proof {
  background: var(--ivory);
  border: 1px solid var(--stone);
  padding: 24px;
  transition: border-color .2s
}

.proof:hover {
  border-color: var(--gold)
}

.proof .thumb {
  height: 130px;
  background: linear-gradient(135deg, rgba(10, 43, 40, .95), rgba(18, 61, 90, .88));
  margin-bottom: 16px;
  position: relative
}

.proof .thumb::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(184, 154, 90, .4)
}

.proof h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--emerald);
  margin: 8px 0;
  font-weight: 400
}

.proof p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65
}

/* ── List Grid ── */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.list-item {
  padding: 24px;
  border: 1px solid var(--stone);
  background: var(--ivory);
  transition: border-color .2s
}

.list-item:hover {
  border-color: var(--gold)
}

.list-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--emerald);
  margin: 8px 0 0;
  font-weight: 400
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px
}

/* ── Notice ── */
.notice {
  border-left: 4px solid var(--gold);
  padding: 18px 24px;
  background: #fff;
  margin: 24px 0;
  font-size: 14px;
  color: var(--muted)
}

/* ── Page Hero ── */
.page-hero {
  background: var(--emerald);
  color: var(--ivory);
  padding: 40px 24px;
  border-bottom: 1px solid rgba(184, 154, 90, .3)
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center
}

.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  margin-bottom: 16px
}

.page-hero p {
  color: rgba(248, 246, 241, .75);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px
}

.page-mark {
  min-height: 260px;
  border: 1px solid rgba(184, 154, 90, .3);
  background: url("../assets/pillar.svg") center/220px no-repeat, radial-gradient(circle, rgba(184, 154, 90, .1), transparent 55%)
}

/* ── Engage / Membership ── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.engage-card {
  background: var(--ivory);
  border: 1px solid var(--stone);
  padding: 34px;
  transition: border-color .2s
}

.engage-card:hover {
  border-color: var(--gold)
}

.engage-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--emerald);
  margin: 12px 0 10px;
  font-weight: 400
}

.engage-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px
}

.engage-card .icon {
  width: 32px;
  height: 32px;
  color: var(--gold)
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--emerald);
  color: rgba(248, 246, 241, .85);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 200;
  border-top: 1px solid rgba(184, 154, 90, .3);
  font-size: 13px;
  transform: translateY(100%);
  transition: transform .3s
}

.cookie-banner.visible {
  transform: translateY(0)
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.cookie-accept {
  background: var(--gold);
  color: var(--emerald);
  border: none;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer
}

.cookie-decline {
  background: transparent;
  color: rgba(248, 246, 241, .65);
  border: 1px solid rgba(248, 246, 241, .3);
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer
}

/* ── Footer ── */
.footer {
  background: var(--emerald);
  color: var(--ivory);
  padding: 56px 24px 0;
  border-top: 1px solid rgba(184, 154, 90, .3)
}

.footer-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px
}

.footer img {
  width: 160px;
  margin-bottom: 16px
}

.footer p {
  color: rgba(248, 246, 241, .65);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px
}

.footer a {
  display: block;
  color: rgba(248, 246, 241, .65);
  margin: 7px 0;
  font-size: 13px;
  transition: color .2s
}

.footer a:hover {
  color: var(--gold)
}

.footer h4 {
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 14px;
  font-weight: 600
}

.footer-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 0;
  border-top: 1px solid rgba(184, 154, 90, .2);
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.footer-legal a {
  font-size: 12px;
  color: rgba(248, 246, 241, .45);
  transition: color .2s
}

.footer-legal a:hover {
  color: var(--gold)
}

.subfooter {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(184, 154, 90, .2);
  font-size: 12px;
  color: rgba(248, 246, 241, .5);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

/* ── Legal Pages ── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px
}

.legal-content h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--emerald);
  margin-bottom: 8px;
  font-weight: 400
}

.legal-content .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stone)
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--emerald);
  margin: 40px 0 14px;
  font-weight: 400
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px
}

.legal-content a {
  color: var(--emerald);
  text-decoration: underline
}

/* ── Accessibility Helpers ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* ── Responsive ── */
@media(max-width:1024px) {
  .resources {
    grid-template-columns: repeat(2, 1fr)
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr)
  }

  .step:nth-child(3) {
    border-right: none
  }
}

@media(max-width:900px) {
  :root {
    --section-pad: 64px 24px;
    --section-pad-sm: 48px 24px
  }

  .menu-toggle {
    display: block
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--emerald);
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(184, 154, 90, .3);
    gap: 4px
  }

  .nav-links.open {
    display: flex
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px
  }

  .hero-inner,
  .section-head,
  .split,
  .page-hero .wrap,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .hero-inner {
    padding: 8px 24px 64px
  }

  .pillar-strip .wrap {
    grid-template-columns: repeat(3, 1fr)
  }

  .mini-pillar:nth-child(3) {
    border-right: none
  }

  .cards,
  .proof-grid,
  .engage-grid {
    grid-template-columns: 1fr
  }

  .card,
  .card:nth-child(3n),
  .mini-pillar,
  .step {
    border-right: none
  }

  .card:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--stone)
  }

  .card:last-child {
    border-bottom: none
  }

  .timeline {
    grid-template-columns: 1fr
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--stone)
  }

  .step:last-child {
    border-bottom: none
  }

  .kpi {
    grid-template-columns: 1fr
  }

  .kpi div {
    border-right: none;
    border-bottom: 1px solid var(--stone)
  }

  .list-grid {
    grid-template-columns: 1fr
  }

  .resources {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .section-head {
    grid-template-columns: 1fr
  }

  h1 {
    font-size: 40px
  }
}

@media(max-width:480px) {
  :root {
    --section-pad: 48px 16px;
    --section-pad-sm: 36px 16px
  }

  .hero-inner {
    padding: 8px 16px 48px
  }

  .hero h1 {
    font-size: 34px
  }

  .hero-actions {
    flex-direction: column
  }

  .btn {
    justify-content: center
  }

  .pillar-strip .wrap {
    grid-template-columns: 1fr 1fr
  }

  .mini-pillar:nth-child(2) {
    border-right: none
  }

  .mini-pillar:nth-child(5) {
    border-right: none
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start
  }
}

/* ── Print ── */
@media print {

  .site-header,
  .cookie-banner,
  .footer {
    display: none
  }

  body {
    background: #fff;
    color: #000
  }

  a[href]::after {
    content: " (" attr(href)")"
  }
}

/* ── Animations & Back to Top ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: var(--emerald);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: #cba85a; /* slightly darker gold */
}

/* Mobile Nav Transition */
.nav-links {
  transition: transform 0.3s ease, opacity 0.3s ease;
}