/* ═══════════════════════════════════════════════════════════════
   DRB Business LLP — Shared Stylesheet
   Fonts: Georgia (headings) | Arial (body) — system only, no CDN
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #08152B;
  --navym:   #102040;
  --navyl:   #1A3355;
  --gold:    #C8971F;
  --goldl:   #E8B84B;
  --goldp:   #F5E4B5;
  --cream:   #FAF6EE;
  --white:   #FFFFFF;
  --tdark:   #1A1A2E;
  --tmid:    #3D3D5C;
  --tlight:  #6B7280;
  --green:   #2D6A4F;
  --border:  #E2D9C8;
  --nav-h:   70px;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,.09);
  --shadow-l:0 8px 48px rgba(0,0,0,.13);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;   /* prevent any element from blowing out horizontal scroll */
  max-width: 100%;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--tdark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: Georgia,'Times New Roman',serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: .975rem; line-height: 1.8; color: var(--tmid); }

.serif { font-family: Georgia,'Times New Roman',serif; }

/* ── Section labels ── */
.label {
  display: inline-block;
  font-size: .7rem; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: .6rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 40px;
  font-size: .9rem; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; transition: all .22s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--goldl); border-color: var(--goldl); }
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navyl); }
.btn-sm { padding: .5rem 1.2rem; font-size: .8rem; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }
.container-wide { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); }
.section-cream { background: var(--cream); }
.section-title { margin-bottom: .75rem; color: var(--navy); }
.section-title-light { color: var(--white); }
.section-body { max-width: 600px; margin-bottom: 2.5rem; }

/* ── Grid ── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); }

.card-accent {
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream);
  border-top: none; border-right: none; border-bottom: none;
  padding: 1.5rem;
}

.card-dark { background: var(--navyl); border-color: rgba(255,255,255,.08); }
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,.6); }

/* ── Divider ── */
.divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.5rem 0;
}
.divider-line { flex:1; height:1px; background: var(--border); }
.divider-dot  { width:7px; height:7px; background:var(--gold); transform:rotate(45deg); flex-shrink:0; }

/* ── Chip / badge ── */
.chip {
  display: inline-block;
  padding: 3px 10px; border-radius: 30px;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px;
}
.chip-gold { background: var(--gold); color: var(--navy); }
.chip-navy { background: var(--navy); color: var(--white); }
.chip-green { background: var(--green); color: var(--white); }
.chip-outline { border: 1px solid var(--gold); color: var(--gold); }

/* ── Stat box ── */
.stat-box { text-align: center; padding: 1.5rem 1rem; }
.stat-num {
  font-family: Georgia,serif; font-size: 2.8rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.stat-num em { color: var(--gold); font-style: normal; }
.stat-lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tlight); margin-top: .3rem; }

/* ── Pillar card ── */
.pillar-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pillar-head  { padding: 2rem 1.75rem 1.5rem; position: relative; }
.pillar-head.navy  { background: var(--navy); }
.pillar-head.gold  { background: linear-gradient(135deg,#8A5E0A,var(--gold)); }
.pillar-head.green { background: linear-gradient(135deg,#1B4332,var(--green)); }
.pillar-icon  { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.pillar-num   { font-family:Georgia,serif; font-size:4rem; font-weight:700; color:rgba(255,255,255,.07); position:absolute; right:1.25rem; top:.75rem; line-height:1; }
.pillar-lbl   { font-size:.68rem; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:.3rem; }
.pillar-name  { font-family:Georgia,serif; font-size:1.35rem; font-weight:700; color:#fff; line-height:1.25; }
.pillar-body  { background: var(--cream); padding: 1.5rem; }
.pillar-tag   { font-size:.85rem; color:var(--gold); font-weight:700; margin-bottom:.6rem; }
.pillar-desc  { font-size:.875rem; line-height:1.7; color:var(--tdark); margin-bottom:1rem; }
.pillar-list  { list-style:none; }
.pillar-list li { font-size:.84rem; color:var(--tmid); padding-left:1rem; position:relative; margin-bottom:.3rem; line-height:1.6; }
.pillar-list li::before { content:'▸'; position:absolute; left:0; color:var(--gold); font-size:.78rem; top:.04em; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,21,43,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,151,31,.18);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .65rem; }
.nav-logo-badge {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; display: block; flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-family: Georgia,serif; font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: .5px; line-height:1; }
.nav-logo-sub  { font-size: .62rem; color: rgba(255,255,255,.4); letter-spacing: 2px; text-transform: uppercase; margin-top:2px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: .875rem; color: rgba(255,255,255,.72); font-weight: 500;
  transition: color .18s; position: relative; padding: .25rem 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta { margin-left: .5rem; }

/* hamburger — pure CSS */
.nav-toggle { display: none; }
.nav-ham {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: .5rem; border: none; background: none;
}
.nav-ham span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all .25s;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(200,151,31,.2);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand {}
.footer-brand-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-brand-badge {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; display: block; flex-shrink: 0;
}
.footer-brand-name { font-family: Georgia,serif; font-size: .95rem; font-weight: 700; color: var(--white); }
.footer-brand-desc { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 260px; margin-bottom: 1rem; }
.footer-email { font-size: .82rem; color: var(--goldl); }

.footer-col h5 { font-size: .8rem; font-weight: 700; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a  { display: block; font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: .5rem; transition: color .18s; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.28); }
.footer-tags { display: flex; gap: .75rem; }
.footer-tag  { font-size: .72rem; color: rgba(255,255,255,.25); letter-spacing: 1px; }

/* ══════════════════════════════════════
   PAGE HERO
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navym) 60%, #0B1A34 100%);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative; overflow: hidden;
  width: 100%;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(200,151,31,.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label { color: var(--gold); margin-bottom: .5rem; }
.page-hero-title { color: var(--white); margin-bottom: 1rem; }
.page-hero-sub   { color: rgba(255,255,255,.65); max-width: 580px; font-size: 1.05rem; line-height: 1.8; }

/* ══════════════════════════════════════
   HOME — HERO FULL
══════════════════════════════════════ */
.home-hero {
  min-height: 100vh;
  background: linear-gradient(155deg, var(--navy) 0%, #0D1D38 55%, #06101F 100%);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;          /* clips the decorative circles so they don't scroll */
  width: 100%;
}
.home-hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,151,31,.07) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,51,85,.5) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.home-hero-label { font-size: .72rem; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.home-hero-title { font-family: Georgia,serif; font-size: clamp(2rem,5vw,3.4rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1.25rem; }
.home-hero-title em { color: var(--gold); font-style: normal; }
.home-hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(200,151,31,.2);
  border-radius: 10px; padding: 1.5rem;
  backdrop-filter: blur(4px);
  transition: border-color .22s, background .22s;
}
.hero-card:hover { border-color: rgba(200,151,31,.5); background: rgba(255,255,255,.08); }
.hero-card-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.hero-card-title { font-family: Georgia,serif; font-size: 1rem; color: var(--white); font-weight: 700; margin-bottom: .35rem; }
.hero-card-desc  { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.hero-card-span  { grid-column: 1/-1; }

/* ── Stat strip ── */
.stat-strip {
  background: var(--gold);
  padding: 1.5rem 0;
}
.stat-strip-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.stat-strip-item  { text-align: center; }
.stat-strip-num   { font-family: Georgia,serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-strip-lbl   { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(8,21,43,.6); margin-top: .2rem; }
.stat-strip-div   { width: 1px; height: 40px; background: rgba(8,21,43,.15); }

/* ── Three Pillars Section ── */
.pillars-section { padding: 5rem 0; }

/* ── DVO Agents strip ── */
.agents-strip {
  background: var(--navym);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1rem;
}
.agent-mini { text-align: center; }
.agent-mini-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.agent-mini-name { font-size: .8rem; font-weight: 700; margin-bottom: .2rem; }
.agent-mini-desc { font-size: .72rem; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ── Feature list ── */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .75rem 0; border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-icon { flex-shrink: 0; font-size: 1.2rem; margin-top: .1rem; }
.feature-text h4 { font-size: .95rem; color: var(--navy); margin-bottom: .2rem; }
.feature-text p  { font-size: .85rem; }

/* ── Process / Timeline ── */
.process-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding-bottom: 2rem; position: relative;
}
.process-item:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 40px;
  width: 2px; bottom: 0;
  background: linear-gradient(var(--gold), var(--border));
}
.process-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia,serif; font-size: .95rem; font-weight: 700; color: var(--gold);
}
.process-content h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: .3rem; }
.process-content p  { font-size: .88rem; }

/* ── IDRN Phases ── */
.phase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.phase-card:hover { box-shadow: var(--shadow-l); }
.phase-num {
  font-family: Georgia,serif; font-size: 3rem; font-weight: 700;
  color: rgba(8,21,43,.06); position: absolute; right: 1rem; top: .5rem; line-height: 1;
}
.phase-badge-row { margin-bottom: .5rem; }
.phase-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.phase-desc  { font-size: .85rem; line-height: 1.7; color: var(--tmid); }

/* ── Edition table ── */
.edition-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.edition-head { padding: 1.5rem; }
.edition-head.b1 { background: #1A3355; }
.edition-head.b2 { background: var(--green); }
.edition-head.b3 { background: linear-gradient(135deg,#6B2737,#8B1A1A); }
.edition-name { font-family: Georgia,serif; font-size: 1.3rem; color: var(--white); font-weight: 700; }
.edition-price{ font-size: .82rem; color: rgba(255,255,255,.5); margin-top: .25rem; }
.edition-body { background: var(--cream); padding: 1.5rem; }
.edition-list { list-style: none; }
.edition-list li {
  font-size: .875rem; color: var(--tdark); padding: .45rem 0 .45rem 1.4rem;
  position: relative; border-bottom: 1px solid var(--border); line-height: 1.5;
}
.edition-list li:last-child { border-bottom: none; }
.edition-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: .85rem; }

/* ── Layer cards ── */
.layer-card { border-radius: var(--radius); background: var(--cream); border-top: 4px solid; padding: 1.25rem; }
.layer-card.l1 { border-color: var(--navy); }
.layer-card.l2 { border-color: var(--gold); }
.layer-card.l3 { border-color: var(--green); }
.layer-card.l4 { border-color: #8B1A1A; }
.layer-num  { font-size: .68rem; letter-spacing: 2px; color: var(--tlight); text-transform: uppercase; margin-bottom: .25rem; }
.layer-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.layer-items{ font-size: .8rem; color: var(--tmid); line-height: 1.7; }

/* ── Module chip cloud ── */
.module-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.module-chip  { background: var(--navy); color: var(--white); font-size: .78rem; padding: .3rem .7rem; border-radius: 4px; }
.module-chip.gld { background: var(--gold); color: var(--navy); font-weight: 700; }
.module-chip.grn { background: var(--green); color: var(--white); }

/* ── Contact form ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; letter-spacing: .5px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .9rem; font-family: Arial,sans-serif;
  color: var(--tdark); background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,31,.15);
}
.form-textarea { resize: vertical; min-height: 130px; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navyl) 100%);
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,151,31,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { color: var(--white); margin-bottom: .75rem; }
.cta-sub   { color: rgba(255,255,255,.6); max-width: 500px; margin: 0 auto 2rem; }
.cta-btns  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── About page ── */
.about-hero-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: center; }
.founder-strip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(200,151,31,.2);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: .75rem;
}
.founder-av {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(200,151,31,.15); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia,serif; font-size: 1.3rem; font-weight: 700; color: var(--gold);
}
.founder-name { font-family: Georgia,serif; font-size: 1.05rem; color: var(--white); font-weight: 700; }
.founder-role { font-size: .78rem; color: var(--goldl); margin-top: .15rem; }
.founder-bio  { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: .3rem; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .home-hero-inner { grid-template-columns: 1fr; }
  .hero-card-stack { max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .agents-strip { grid-template-columns: repeat(3,1fr); }
  .about-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-ham { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .agents-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip-div { display: none; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .hero-card-stack { grid-template-columns: 1fr; max-width: 340px; }
}

/* ══════════════════════════════════════════════════════
   MOBILE — HAMBURGER ANIMATION
══════════════════════════════════════════════════════ */
.nav-ham span { transform-origin: center; transition: transform .25s, opacity .25s; }
.nav-ham.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-ham.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   MOBILE — NO SCROLL WHEN DRAWER OPEN
══════════════════════════════════════════════════════ */
body.mob-no-scroll { overflow: hidden; }

/* ══════════════════════════════════════════════════════
   MOBILE — OVERLAY
══════════════════════════════════════════════════════ */
.mob-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1990;
  opacity: 0;
  transition: opacity .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.mob-overlay.active { display: block; opacity: 1; }

/* ══════════════════════════════════════════════════════
   MOBILE — SIDE DRAWER
══════════════════════════════════════════════════════ */
.mob-drawer {
  position: fixed;
  top: 0; right: -110%; bottom: 0;
  width: 300px; max-width: 88vw;
  background: var(--navy);
  z-index: 2000;
  display: flex; flex-direction: column;
  box-shadow: -6px 0 36px rgba(0,0,0,.45);
  transition: right .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mob-drawer.open { right: 0; }

.mob-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.1rem 1rem 1.25rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(200,151,31,.15);
}
.mob-drawer-logo { display: flex; align-items: center; gap: .65rem; }
.mob-drawer-badge {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; display: block; flex-shrink: 0;
}
.mob-drawer-name { font-family: Georgia,serif; font-size: .9rem; font-weight: 700; color: var(--white); line-height: 1; }
.mob-drawer-sub  { font-size: .6rem; color: rgba(255,255,255,.38); letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }

.mob-drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.mob-drawer-close:hover,
.mob-drawer-close:active { background: rgba(200,151,31,.25); color: var(--gold); }

.mob-drawer-divider { height: 1px; background: rgba(255,255,255,.07); flex-shrink: 0; }

.mob-drawer-nav {
  display: flex; flex-direction: column;
  padding: .5rem 0; flex: 1;
}
.mob-drawer-link {
  display: flex; align-items: center; gap: .9rem;
  padding: .95rem 1.25rem;
  color: rgba(255,255,255,.65); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  border-left: 3px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.mob-drawer-link:hover,
.mob-drawer-link:active { background: rgba(255,255,255,.05); color: var(--white); }
.mob-drawer-link.active {
  background: rgba(200,151,31,.1);
  color: var(--gold);
  border-left-color: var(--gold);
}
.mob-drawer-link-icon  { font-size: 1.3rem; flex-shrink: 0; width: 28px; text-align: center; }
.mob-drawer-link-text  { flex: 1; }
.mob-drawer-link-label { font-family: Georgia,serif; font-size: 1rem; }
.mob-drawer-link-arrow { font-size: .85rem; color: rgba(255,255,255,.25); }
.mob-drawer-link-active-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

.mob-drawer-foot {
  padding: 1.1rem 1.25rem 1.4rem;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.mob-drawer-foot-email { font-size: .82rem; color: var(--goldl); margin-bottom: .4rem; }
.mob-drawer-foot-tag   { font-size: .68rem; color: rgba(255,255,255,.25); letter-spacing: 1px; }

/* ══════════════════════════════════════════════════════
   MOBILE — BOTTOM TAB BAR
══════════════════════════════════════════════════════ */
.mob-tabbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px;
  background: rgba(8,21,43,.97);
  border-top: 1px solid rgba(200,151,31,.2);
  backdrop-filter: blur(10px);
  z-index: 900;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mob-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  text-decoration: none;
  color: rgba(255,255,255,.38);
  font-size: .52rem; text-transform: uppercase; letter-spacing: .4px;
  transition: color .18s;
  padding: .3rem 0 .4rem;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.mob-tab::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold);
  border-radius: 0 0 2px 2px;
  transition: width .22s ease;
}
.mob-tab.active       { color: var(--gold); }
.mob-tab.active::after { width: 24px; }
.mob-tab:active       { color: var(--goldl); }
.mob-tab-icon  { font-size: 1.1rem; line-height: 1; }
.mob-tab-label { line-height: 1; }

/* Show tab bar + add body padding on mobile */
@media (max-width: 768px) {
  .mob-tabbar { display: flex; }
  body { padding-bottom: 62px; }
}

/* ══════════════════════════════════════════════════════
   MOBILE — COMPREHENSIVE RESPONSIVE FIX
   All section layouts use inline grid-template-columns.
   CSS classes can't override inline styles, so we use
   the attribute selector with !important to collapse them.
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── CORE FIX: Collapse every inline grid to single column ── */
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  /* ── Override class-based grids too ── */
  .g2, .g3, .g4, .g5   { grid-template-columns: 1fr !important; }
  .footer-grid           { grid-template-columns: 1fr !important; }
  .agents-strip          { grid-template-columns: repeat(2, 1fr) !important; }
  .home-hero-inner       { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .hero-card-stack       { grid-template-columns: 1fr !important; max-width: 100% !important; }

  /* ── Section spacing ── */
  .section     { padding: 2.75rem 0; }
  .cta-section { padding: 3rem 0; }
  .page-hero   { padding: calc(var(--nav-h) + 1.75rem) 0 2.5rem; }
  .home-hero   { min-height: auto; padding: calc(var(--nav-h) + 2rem) 0 3rem; }

  /* ── Container padding ── */
  .container, .container-wide { padding: 0 1.1rem; }

  /* ── Typography ── */
  h1  { font-size: 1.9rem; }
  h2  { font-size: 1.45rem; }
  h3  { font-size: 1.15rem; }
  .page-hero-title  { font-size: clamp(1.7rem, 6vw, 2.2rem) !important; }
  .page-hero-sub    { font-size: .92rem; }
  .home-hero-title  { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
  .home-hero-sub    { font-size: .95rem; }
  .cta-title        { font-size: 1.5rem; }
  .section-body     { max-width: 100%; }

  /* ── Buttons ── */
  .hero-btns { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .cta-btns  { flex-direction: column; align-items: center; gap: .75rem; }
  .btn       { width: 100%; justify-content: center; }

  /* ── Edition card: kill the scale(1.03) that breaks mobile ── */
  .edition-card { transform: none !important; }

  /* ── Stat strip ── */
  .stat-strip-div  { display: none; }
  .stat-strip-inner { gap: .5rem; padding: 0 .75rem; flex-wrap: wrap; justify-content: space-around; }
  .stat-strip-num  { font-size: 1.4rem; }
  .stat-strip-lbl  { font-size: .62rem; }

  /* ── Pillar cards full width ── */
  .pillar-card { margin-bottom: 0; }

  /* ── Phase cards readable ── */
  .phase-num { font-size: 2.5rem; }

  /* ── Footer ── */
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom     { flex-direction: column; align-items: center; text-align: center; }

  /* ── Text-align: centre headers on mobile ── */
  .section > .container > .label,
  .section > .container > h2,
  .section > .container > .section-title { text-align: left; }

  /* ── Card padding reduction ── */
  .card { padding: 1.25rem; }
  .layer-card { padding: 1rem; }
  .edition-body, .edition-head { padding: 1.25rem; }
  .phase-card { padding: 1rem 1rem 1rem 1.25rem; }
}

@media (max-width: 480px) {
  .container, .container-wide { padding: 0 1rem; }
  .btn { font-size: .85rem; padding: .65rem 1.25rem; }
  .agents-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .module-cloud { gap: .4rem; }
  .module-chip  { font-size: .72rem; padding: .25rem .55rem; }
  .stat-strip   { padding: 1rem 0; }
  .pillar-body  { padding: 1.25rem; }
  .pillar-head  { padding: 1.5rem 1.25rem 1.25rem; }
}

/* ══════════════════════════════════════════════════════
   DRB LOGO WATERMARK — sections (static, subtle)
══════════════════════════════════════════════════════ */
.section        { position: relative; overflow: hidden; }
.home-hero      { position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }

.section::after,
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  background: url(drb-mark.png) center / contain no-repeat;
  opacity: .07;
  pointer-events: none;
  z-index: 0;
}
/* On dark backgrounds, invert so the mark reads as light */
.section-dark::after { filter: invert(1); opacity: .10; }
.cta-section::after  { filter: invert(1); opacity: .10; }

/* ══════════════════════════════════════════════════════
   DRB LOGO DRAW ANIMATION — heroes
   Injected into .home-hero + .page-hero via nav.js.
   1. Light ball orbits the logo border (clockwise).
   2. SVG circle stroke draws behind the ball.
   3. When orbit completes → logo fades in.
   4. Pause → reset → repeat.
   Circle r=280, circumference ≈ 1760 px.
══════════════════════════════════════════════════════ */
.drb-draw-wrap {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 620px; height: 620px;
  pointer-events: none;
  z-index: 0;
}
.drb-draw-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; overflow: visible;
}
.drb-draw-circle {
  stroke: rgba(255,255,255,.18); stroke-width: 1.5; fill: none;
  stroke-dasharray: 1760; stroke-dashoffset: 1760;
  animation: drb-stroke-draw 10s ease-in-out infinite;
}
@keyframes drb-stroke-draw {
  0%   { stroke-dashoffset: 1760; }
  62%  { stroke-dashoffset: 0; }
  84%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 1760; }
}
.drb-draw-logo {
  position: absolute; inset: 5%; width: 90%; height: 90%;
  object-fit: contain; opacity: 0;
  animation: drb-logo-reveal 10s linear infinite;
}
@keyframes drb-logo-reveal {
  0%, 60% { opacity: 0; }
  72%      { opacity: .28; }
  82%      { opacity: .28; }
  95%      { opacity: 0; }
  100%     { opacity: 0; }
}
.drb-draw-arm {
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; transform-origin: 0 0;
  animation: drb-arm-spin 10s ease-in-out infinite;
}
@keyframes drb-arm-spin {
  0%   { transform: rotate(-90deg); }
  62%  { transform: rotate(270deg); }
  100% { transform: rotate(270deg); }
}
.drb-draw-dot {
  position: absolute;
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  top: -6px; left: 274px;
  box-shadow:
    0 0  3px  1px rgba(255,255,255,1),
    0 0 10px  4px rgba(255,255,220,1),
    0 0 24px 10px rgba(255,255,255,.7),
    0 0 50px 20px rgba(255,245,180,.4);
  opacity: 0;
  animation: drb-dot-vis 10s linear infinite;
}
@keyframes drb-dot-vis {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  60%  { opacity: 1; }
  66%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 768px) {
  .section::after, .cta-section::after { width: 280px; height: 280px; }
  .drb-draw-wrap { display: none; }
}

