/* ═══════════════════════════════════════════════════════════════
   RESERVE ONE HOLDINGS — PREMIUM v3.0
   Enterprise-grade visual experience
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Tokens ────────────────────────────────────────────────────── */
:root {
  --ink:        #060e1a;
  --ink-2:      #0a1622;
  --navy:       #0f1e30;
  --navy-2:     #152a44;
  --navy-3:     #1e3a5f;
  --charcoal:   #1a2433;
  --off-white:  #f7f8fb;
  --white:      #ffffff;
  --gold:       #c9a45c;
  --gold-bright:#d4af6a;
  --champagne:  #e5c98b;
  --champ-light:#f0dca8;
  --light-gray: #e8edf2;
  --muted-d:    #8a9bab;
  --muted-l:    #5a6b7d;
  --border-d:   rgba(255,255,255,0.08);
  --border-gold:rgba(201,164,92,0.2);
  --max:        1280px;
  --read:       760px;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

/* ── Noise Texture ──────────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Layout ─────────────────────────────────────────────────────── */
.wrap   { width: min(var(--max), 90vw); margin: 0 auto; }
.narrow { width: min(var(--read), 90vw); margin: 0 auto; }
.muted  { color: var(--muted-d); }
.light  { background: var(--off-white); color: var(--navy); }
.light .muted { color: var(--muted-l); }

/* ── Scroll Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
}
.light .lead { color: var(--muted-l); }
.kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
}
.gradient-text {
  background: linear-gradient(135deg, var(--champ-light), var(--gold), var(--champagne));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,164,92,0.3); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--champagne);
  background: rgba(201,164,92,0.05);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border-l);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.5rem; }

/* ═══ HEADER ═════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 14, 26, 0.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom-color: var(--border-d);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 5vw;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 38px; width: auto; transition: opacity 0.3s; }
.brand:hover img { opacity: 0.85; }

.nav-list { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--white); }
.nav-link .caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
  opacity: 0.4;
}
.nav-item:hover .caret { transform: rotate(-135deg); opacity: 0.8; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(10, 22, 34, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-d);
  border-radius: 0 0 6px 6px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s var(--ease);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 11px 22px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.dropdown a:hover {
  color: var(--gold);
  background: rgba(201,164,92,0.06);
  border-left-color: var(--gold);
  padding-left: 26px;
}

/* Mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 85vw);
  height: 100vh;
  background: var(--ink);
  border-left: 1px solid var(--border-d);
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  padding: 90px 0 40px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 104;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s;
}
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; }
.mobile-nav-section { border-bottom: 1px solid var(--border-d); }
.mobile-nav-section > .m-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 28px;
  font-size: 0.92rem; font-weight: 600;
  color: var(--white); background: transparent; border: none;
  cursor: pointer; text-align: left;
}
.mobile-nav-section > .m-nav-head .m-caret {
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--muted-d);
  border-bottom: 1.5px solid var(--muted-d);
  transform: rotate(45deg); transition: transform 0.2s;
}
.mobile-nav-section.open .m-caret { transform: rotate(-135deg); }
.mobile-nav-section > div { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.mobile-nav-section.open > div { max-height: 500px; }
.mobile-nav-section a { display: block; padding: 13px 28px 13px 44px; font-size: 0.86rem; color: var(--muted-d); }
.mobile-nav-section a:hover { color: var(--gold); }
.mobile-nav-contact { padding: 18px 28px; }
.mobile-nav-contact a {
  display: inline-block; padding: 12px 24px;
  font-size: 0.86rem; font-weight: 600;
  background: var(--gold); color: var(--ink);
  border-radius: 2px;
}

/* ═══ HOMEPAGE ═══════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background: var(--ink);
}
/* Dramatic animated gradient orb */
.hero-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,92,0.15), rgba(201,164,92,0.03) 40%, transparent 70%);
  filter: blur(40px);
  top: -200px;
  right: -150px;
  z-index: 0;
  animation: orb-float 12s ease-in-out infinite alternate;
}
.hero-orb-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,58,95,0.4), transparent 60%);
  filter: blur(60px);
  bottom: -100px;
  left: -100px;
  z-index: 0;
  animation: orb-float-2 14s ease-in-out infinite alternate;
}
@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 60px) scale(1.1); }
}
@keyframes orb-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.15); }
}
/* Animated grid lines */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
/* Animated SVG lines */
.hero-lines {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero-lines svg { position: absolute; width: 100%; height: 100%; opacity: 0.15; }
.hero-line {
  fill: none; stroke: var(--gold); stroke-width: 1;
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  animation: draw 5s var(--ease) forwards;
}
.hero-line:nth-child(2) { animation-delay: 0.8s; }
.hero-line:nth-child(3) { animation-delay: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 90vw);
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(201,164,92,0.05);
}
.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 600;
  max-width: 1000px;
  line-height: 0.95;
  margin-bottom: 0;
}
.hero h1 .italic { font-style: italic; font-weight: 400; }
.hero h1 .gold-text { color: var(--gold); }
.hero .lead {
  margin-top: 2rem;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.55;
}
.hero .actions { margin-top: 2.8rem; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-d);
  text-align: center;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(var(--gold), transparent);
  margin: 12px auto 0;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ── Section Base ───────────────────────────────────────────────── */
.section { padding: clamp(90px, 14vw, 150px) 0; position: relative; }
.section-head { margin-bottom: clamp(48px, 6vw, 72px); max-width: 700px; }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head h2 { margin-bottom: 1rem; }

/* ── Section 2: Intelligence Strip ──────────────────────────────── */
.intel-strip {
  position: relative;
  background: var(--ink-2);
  border-top: 1px solid var(--border-d);
  border-bottom: 1px solid var(--border-d);
  padding: 0;
  overflow: hidden;
}
.intel-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.intel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}
.intel-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--border-d);
  transition: all 0.3s var(--ease);
  position: relative;
  cursor: pointer;
}
.intel-cell:last-child { border-right: none; }
.intel-cell::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.intel-cell:hover { background: rgba(201,164,92,0.04); }
.intel-cell:hover::after { transform: scaleX(1); }
.intel-cell .label {
  font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--gold);
  font-weight: 700; margin-bottom: 12px;
}
.intel-cell .title {
  font-family: var(--serif);
  font-size: 1.15rem; line-height: 1.35;
  color: var(--white); margin-bottom: 8px;
}
.intel-cell .desc { font-size: 0.8rem; color: var(--muted-d); }

/* ── Section 3: Portfolio ───────────────────────────────────────── */
.portfolio-section {
  background: var(--ink);
  position: relative;
}
.portfolio-section::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse, rgba(30,58,95,0.15), transparent 60%);
  z-index: 0;
}
.portfolio-section .wrap { position: relative; z-index: 1; }
.portfolio-list { display: flex; flex-direction: column; gap: 0; }
.portfolio-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 24px 36px 0;
  border-top: 1px solid var(--border-d);
  transition: all 0.4s var(--ease);
  position: relative;
}
.portfolio-row::before {
  content: "";
  position: absolute;
  left: -100%; top: 0; bottom: 0; width: 100%;
  background: linear-gradient(90deg, rgba(201,164,92,0.04), transparent);
  transition: left 0.5s var(--ease);
}
.portfolio-row:last-child { border-bottom: 1px solid var(--border-d); }
.portfolio-row:hover { padding-left: 24px; }
.portfolio-row:hover::before { left: 0; }
.portfolio-row:hover .p-name { color: var(--gold); }
.portfolio-row:hover .p-arrow { opacity: 1; transform: translateX(0); }
.p-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--muted-d);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.portfolio-row:hover .p-num { opacity: 1; color: var(--gold); }
.p-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  transition: color 0.3s;
  font-weight: 500;
}
.p-desc {
  color: var(--muted-d); font-size: 0.92rem;
  margin-top: 8px; max-width: 480px; font-weight: 300;
}
.p-meta {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 12px;
}
.p-industry {
  font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold);
  font-weight: 600; text-align: right;
}
.p-arrow {
  font-size: 1.4rem; color: var(--gold);
  opacity: 0; transform: translateX(-10px);
  transition: all 0.3s var(--ease);
}
.p-tag {
  display: inline-block; padding: 5px 12px;
  font-size: 0.7rem; border: 1px solid var(--border-gold);
  border-radius: 100px; color: var(--champagne);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.p-learn {
  font-size: 0.82rem; color: var(--muted-d);
  margin-top: 10px; display: inline-flex;
  align-items: center; gap: 6px;
  transition: all 0.2s;
}
.portfolio-row:hover .p-learn { color: var(--gold); gap: 12px; }

/* ── Section 4: Why ─────────────────────────────────────────────── */
.why-section {
  background: var(--off-white);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(201,164,92,0.06), transparent 50%);
}
.why-section .wrap { position: relative; z-index: 1; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid rgba(10,22,34,0.08);
}
.why-col {
  padding: 48px 32px 48px 0;
  border-right: 1px solid rgba(10,22,34,0.08);
  position: relative;
}
.why-col:last-child { border-right: none; padding-right: 0; }
.why-col:nth-child(2) { padding-left: 32px; }
.why-col:nth-child(3) { padding-left: 32px; }
.why-col .num {
  font-family: var(--serif);
  font-size: 4rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 28px;
  opacity: 0.8;
}
.why-col h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 500;
}
.why-col p {
  color: var(--muted-l);
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 400;
}
.why-col .illustration {
  display: none;
}

/* ── Section 5: Research ────────────────────────────────────────── */
.research-section { background: var(--ink); position: relative; }
.research-mag {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.research-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 52px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
  border: 1px solid var(--border-d);
  transition: all 0.4s var(--ease);
}
.research-feature:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.research-feature::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(201,164,92,0.08), transparent),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(30,58,95,0.3), transparent),
    linear-gradient(160deg, var(--navy-2), var(--ink));
  z-index: 0;
  transition: opacity 0.4s;
}
.research-feature:hover::before { opacity: 0.3; }
.research-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6,14,26,0.88) 75%);
  z-index: 1;
}
.research-feature > * { position: relative; z-index: 2; }
.research-feature .kicker { margin-bottom: 14px; }
.research-feature h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  margin-bottom: 14px; max-width: 500px;
  font-weight: 500;
}
.research-feature p { color: var(--muted-d); max-width: 460px; font-weight: 300; }
.research-feature .read-link {
  margin-top: 20px; font-size: 0.85rem; font-weight: 600;
  color: var(--champagne); display: inline-flex;
  align-items: center; gap: 8px; transition: gap 0.2s;
}
.research-feature:hover .read-link { gap: 14px; }

.research-secondary { display: flex; flex-direction: column; gap: 20px; }
.research-secondary-item {
  padding: 32px;
  border: 1px solid var(--border-d);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.research-secondary-item::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.research-secondary-item:hover {
  border-color: var(--border-gold);
  background: rgba(201,164,92,0.03);
}
.research-secondary-item:hover::before { transform: scaleY(1); }
.research-secondary-item .kicker { margin-bottom: 10px; }
.research-secondary-item h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 500; }
.research-secondary-item p { font-size: 0.86rem; color: var(--muted-d); font-weight: 300; }

.research-sidebar {
  margin-top: 48px;
  border-top: 1px solid var(--border-d);
  padding-top: 36px;
}
.research-sidebar h4 {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--gold);
  margin-bottom: 24px; font-family: var(--sans); font-weight: 700;
}
.research-sidebar-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border-d);
  align-items: center; transition: padding-left 0.2s;
}
.research-sidebar-item:hover { padding-left: 12px; }
.research-sidebar-item time { font-size: 0.78rem; color: var(--champagne); font-weight: 600; }
.research-sidebar-item span { font-size: 0.9rem; color: var(--muted-d); transition: color 0.2s; }
.research-sidebar-item:hover span { color: var(--white); }
.research-sidebar-item .s-arrow { color: var(--gold); opacity: 0; transition: opacity 0.2s; }
.research-sidebar-item:hover .s-arrow { opacity: 1; }

/* ── Section 6: Industries ──────────────────────────────────────── */
.industries-section { background: var(--ink-2); position: relative; overflow: hidden; }
.industry-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1px;
  background: var(--border-d);
  border: 1px solid var(--border-d);
  margin-top: 40px;
  border-radius: 2px;
  overflow: hidden;
}
.industry-panel {
  position: relative;
  padding: 28px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.industry-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,0.4), rgba(15,30,48,0.8));
  z-index: 0;
  transition: background 0.4s;
}
.industry-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,164,92,0.08), transparent 50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.industry-panel:hover { transform: scale(1.02); z-index: 1; }
.industry-panel:hover::before { background: linear-gradient(135deg, rgba(30,58,95,0.6), rgba(15,30,48,0.9)); }
.industry-panel:hover::after { opacity: 1; }
.industry-panel.large { grid-column: span 2; grid-row: span 2; }
.industry-panel.wide { grid-column: span 2; }
.industry-panel > * { position: relative; z-index: 1; }
.industry-panel h3 { font-size: 1.25rem; color: var(--white); font-weight: 500; }
.industry-panel.large h3 { font-size: 2.2rem; }
.industry-panel p { font-size: 0.84rem; color: var(--muted-d); margin-top: 8px; max-width: 260px; font-weight: 300; }
.industry-panel .arrow {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px;
  border: 1px solid var(--border-d);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold); font-size: 0.9rem;
  transition: all 0.3s var(--ease); z-index: 1;
}
.industry-panel:hover .arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-45deg); }

/* ── Section 7: Newsroom ────────────────────────────────────────── */
.newsroom-section { background: var(--off-white); color: var(--navy); }
.newsroom-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; margin-top: 40px;
}
.news-feature { display: flex; flex-direction: column; cursor: pointer; }
.news-feature .news-img {
  width: 100%; height: 360px;
  border-radius: 2px; margin-bottom: 28px;
  position: relative; overflow: hidden;
  background: var(--navy);
}
.news-feature .news-img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2), var(--navy-3));
}
.news-feature .news-img::after {
  content: "R1";
  position: absolute; bottom: 24px; left: 32px;
  font-family: var(--serif); font-size: 5rem;
  font-style: italic; font-weight: 600;
  color: rgba(201,164,92,0.12);
  line-height: 1;
}
.news-feature .news-img .news-shine {
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.6s var(--ease);
}
.news-feature:hover .news-shine { left: 100%; }
.news-feature .kicker { color: var(--gold); margin-bottom: 12px; }
.news-feature h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); margin-bottom: 12px; font-weight: 500; }
.news-feature p { color: var(--muted-l); margin-bottom: 16px; font-weight: 400; }
.news-feature .read-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy); display: inline-flex;
  align-items: center; gap: 8px; transition: all 0.2s;
}
.news-feature:hover .read-link { gap: 14px; color: var(--gold); }

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; padding: 22px 0;
  border-bottom: 1px solid var(--border-l);
  align-items: start;
  transition: padding-left 0.2s; cursor: pointer;
}
.news-item:first-child { border-top: 2px solid var(--navy); padding-top: 24px; }
.news-item:hover { padding-left: 12px; }
.news-item .date { font-size: 0.74rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.news-item h4 { font-size: 1.02rem; margin-bottom: 4px; font-family: var(--sans); font-weight: 600; transition: color 0.2s; }
.news-item:hover h4 { color: var(--gold); }
.news-item p { font-size: 0.84rem; color: var(--muted-l); }
.news-item .n-arrow { color: var(--gold); opacity: 0; transition: opacity 0.2s; }
.news-item:hover .n-arrow { opacity: 1; }

/* ── Section 8: Trust ───────────────────────────────────────────── */
.trust-section { background: var(--ink); position: relative; overflow: hidden; }
.trust-section::before {
  content: ""; position: absolute;
  bottom: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 40px;
  border-top: 1px solid var(--border-d);
}
.trust-item {
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-d);
  border-right: 1px solid var(--border-d);
  transition: all 0.3s var(--ease);
  position: relative;
}
.trust-item:nth-child(4n) { border-right: none; }
.trust-item::before {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.trust-item:hover { background: rgba(201,164,92,0.04); }
.trust-item:hover::before { transform: scaleX(1); }
.trust-item h4 {
  font-size: 0.95rem; color: var(--white);
  margin-bottom: 8px; font-family: var(--sans); font-weight: 600;
  transition: color 0.2s;
}
.trust-item:hover h4 { color: var(--gold); }
.trust-item p { font-size: 0.82rem; color: var(--muted-d); font-weight: 300; }

/* ── Section 9: Footer ──────────────────────────────────────────── */
.site-footer {
  background: #03080f;
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-d);
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px; margin-bottom: 50px;
}
.footer-brand img { height: 32px; margin-bottom: 20px; opacity: 0.8; }
.footer-brand p { font-size: 0.86rem; color: var(--muted-d); max-width: 260px; font-weight: 300; }
.footer-col h4 {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gold);
  margin-bottom: 20px; font-family: var(--sans); font-weight: 700;
}
.footer-col a {
  display: block; font-size: 0.84rem;
  color: var(--muted-d); margin-bottom: 11px;
  transition: all 0.15s;
}
.footer-col a:hover { color: var(--champagne); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-d);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted-d); }
.footer-bottom .footer-note {
  font-size: 0.85rem; color: var(--champagne);
  font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.footer-bottom .footer-note::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ═══ SUB-PAGES ═══════════════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 60px;
  background: var(--ink);
  border-bottom: 1px solid var(--border-d);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,92,0.08), transparent 60%);
  filter: blur(40px);
}
.page-hero .narrow { max-width: var(--read); position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.8rem; color: var(--muted-d);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

.prose {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,0.78); font-weight: 400;
}
.prose h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 2em 0 0.6em; color: var(--white); font-weight: 500; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 0.5em; color: var(--white); font-weight: 500; }
.prose p { margin-bottom: 1.2em; }
.prose a { color: var(--champagne); text-decoration: underline; text-decoration-color: rgba(201,164,92,0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold); }
.prose ul, .prose ol { margin: 1em 0 1.4em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 0 12px 24px;
  margin: 1.5em 0; font-style: italic;
  color: rgba(255,255,255,0.6);
}
.light .prose { color: var(--navy); }
.light .prose h2, .light .prose h3 { color: var(--navy); }

.meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  color: var(--muted-d); font-size: 0.86rem;
  margin: 18px 0 34px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border-d);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--border-d); font-size: 0.76rem; color: var(--muted-d); }
.author-box {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  align-items: center; padding: 24px;
  border: 1px solid var(--border-d); border-radius: 2px;
  background: var(--navy); margin: 36px 0;
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold), var(--champagne));
  color: var(--ink); font-family: var(--serif);
  font-size: 1.4rem; font-weight: 700;
}
.light .author-box { background: var(--white); border-color: var(--border-l); }
.faq details { border-top: 1px solid var(--border-d); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; }
.faq summary::marker { color: var(--gold); }
.faq p { color: var(--muted-d); margin-top: 10px; }
.light .faq details { border-color: var(--border-l); }
.table-wrap { overflow-x: auto; }
.seo-table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.seo-table th, .seo-table td { padding: 12px 14px; border: 1px solid var(--border-l); text-align: left; font-size: 0.92rem; }
.seo-table th { background: rgba(201,164,92,0.08); font-weight: 600; color: var(--navy); }

/* Search */
.search-box { display: flex; gap: 10px; max-width: 500px; }
.search-box input { flex: 1; padding: 14px 16px; border-radius: 2px; border: 1px solid var(--border-l); font: inherit; background: var(--white); color: var(--navy); outline: none; }
.search-box input:focus { border-color: var(--gold); }
.search-box button { border: none; border-radius: 2px; padding: 0 20px; background: var(--gold); color: var(--ink); font-weight: 700; cursor: pointer; }
.search-results { margin-top: 20px; }
.search-results .result { padding: 12px 0; border-bottom: 1px solid var(--border-d); }
.search-results .result a { color: var(--champagne); }
.search-results .result p { font-size: 0.85rem; color: var(--muted-d); }

/* Compatibility */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-card { padding: 28px; border-radius: 2px; border: 1px solid var(--border-d); background: var(--navy); transition: all 0.3s; }
.topic-card:hover { border-color: var(--border-gold); background: var(--navy-2); }
.light .topic-card { background: var(--white); border-color: var(--border-l); }
.updated-list { display: grid; gap: 0; }
.updated-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border-d); align-items: center; }
.updated-item time { color: var(--champagne); font-size: 0.85rem; }
.news-feature-box { padding: 28px; border: 1px solid var(--border-d); border-radius: 2px; margin: 24px 0; background: var(--navy); }
.light .news-feature-box { background: var(--white); border-color: var(--border-l); }

/* ═══ RESPONSIVE ═════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .research-mag { grid-template-columns: 1fr; }
  .newsroom-grid { grid-template-columns: 1fr; }
  .intel-grid { grid-template-columns: repeat(2, 1fr); }
  .intel-cell:nth-child(2) { border-right: none; }
  .intel-cell:nth-child(1), .intel-cell:nth-child(2) { border-bottom: 1px solid var(--border-d); }
}
@media (max-width: 860px) {
  .nav-list { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .why-grid { grid-template-columns: 1fr; }
  .why-col { border-right: none; border-bottom: 1px solid rgba(10,22,34,0.08); padding: 40px 0; }
  .why-col:last-child { border-bottom: none; }
  .why-col:nth-child(2), .why-col:nth-child(3) { padding-left: 0; }
  .portfolio-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 28px 0; }
  .p-meta { grid-column: 2; align-items: flex-start; }
  .p-industry { text-align: left; }
  .industry-panels { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .industry-panel.large { grid-column: span 2; grid-row: span 1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(4n) { border-right: 1px solid var(--border-d); }
  .trust-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .wrap, .narrow { width: 92vw; }
  .nav { padding: 0 6vw; height: 64px; }
  .brand img { height: 28px; }
  .section { padding: 60px 0; }
  .hero { min-height: 90vh; padding: 110px 0 60px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .intel-grid { grid-template-columns: 1fr; }
  .intel-cell { border-right: none; border-bottom: 1px solid var(--border-d); }
  .intel-cell:last-child { border-bottom: none; }
  .industry-panels { grid-template-columns: 1fr; grid-auto-rows: 140px; }
  .industry-panel.large, .industry-panel.wide { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }
  .topic-grid { grid-template-columns: 1fr; }
  .updated-item { grid-template-columns: 1fr; gap: 4px; }
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-avatar { margin: 0 auto; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; justify-content: center; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .research-sidebar-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 380px) { .mobile-nav { width: 100vw; } }

/* ========================================
   MOBILE BREAKPOINT COVERAGE
   320px, 375px, 390px, 414px, 768px
   Tablet Landscape
   ======================================== */

/* 768px — Tablet Portrait */
@media (max-width: 768px) {
  .wrap, .narrow { width: 90vw; }
  .section { padding: 56px 0; }
  .hero { min-height: 80vh; padding: 100px 0 50px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.8rem); }
  .page-hero { padding: 80px 0 40px; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .prose { font-size: 0.95rem; }
  .prose h2 { font-size: 1.4rem; }
  .prose h3 { font-size: 1.15rem; }
  .industry-panels { grid-template-columns: 1fr; grid-auto-rows: 130px; }
  .industry-panel.large, .industry-panel.wide { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  table { font-size: 0.82rem; }
  table th, table td { padding: 8px 10px; }
}

/* 414px — Large Phone */
@media (max-width: 414px) {
  .wrap, .narrow { width: 92vw; }
  .section { padding: 48px 0; }
  .hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero .lead { font-size: 1rem; }
  .page-hero { padding: 70px 0 32px; }
  .page-hero h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .page-hero .lead { font-size: 0.95rem; }
  .prose { font-size: 0.92rem; line-height: 1.65; }
  .prose h2 { font-size: 1.3rem; }
  .prose h3 { font-size: 1.1rem; }
  .btn { padding: 10px 24px; font-size: 0.88rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .actions { gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  table { font-size: 0.78rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table thead, table tbody { display: table; width: 100%; }
  .breadcrumb { font-size: 0.78rem; }
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.12em; }
  .quote { font-size: 1.1rem; }
  blockquote p { font-size: 1.15rem !important; }
}

/* 390px — iPhone 14/15 */
@media (max-width: 390px) {
  .wrap, .narrow { width: 94vw; }
  .hero h1 { font-size: clamp(1.9rem, 11vw, 2.8rem); }
  .page-hero h1 { font-size: clamp(1.5rem, 8vw, 2.2rem); }
  .prose { font-size: 0.9rem; }
  .prose h2 { font-size: 1.25rem; }
  .prose h3 { font-size: 1.05rem; }
  .section { padding: 40px 0; }
  .btn { padding: 10px 20px; font-size: 0.85rem; }
  .footer-links a { font-size: 0.8rem; }
  .footer-links h4 { font-size: 0.82rem; }
  .news-item { gap: 4px; }
  .news-date { font-size: 0.72rem; }
  .news-title { font-size: 0.92rem; }
}

/* 375px — iPhone X/12/13/14 */
@media (max-width: 375px) {
  .wrap, .narrow { width: 94vw; }
  .hero h1 { font-size: clamp(1.8rem, 10vw, 2.6rem); }
  .hero .lead { font-size: 0.95rem; }
  .page-hero h1 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .page-hero .lead { font-size: 0.9rem; }
  .prose { font-size: 0.88rem; line-height: 1.6; }
  .prose h2 { font-size: 1.2rem; }
  .prose h3 { font-size: 1rem; }
  .prose p { margin-bottom: 14px; }
  .btn { padding: 8px 18px; font-size: 0.82rem; }
  .eyebrow { font-size: 0.68rem; }
  .breadcrumb a { font-size: 0.75rem; }
  .quote { font-size: 1rem; }
  blockquote p { font-size: 1.05rem !important; }
  .footer-bottom { font-size: 0.75rem; }
  .footer-bottom a { font-size: 0.75rem; }
}

/* 320px — Smallest phones */
@media (max-width: 320px) {
  .wrap, .narrow { width: 95vw; }
  .nav { padding: 0 12px; height: 56px; }
  .brand img { height: 24px; }
  .hero { min-height: 70vh; padding: 80px 0 40px; }
  .hero h1 { font-size: clamp(1.5rem, 9vw, 2.2rem); }
  .hero .lead { font-size: 0.88rem; }
  .hero .actions .btn { font-size: 0.8rem; padding: 8px 16px; }
  .page-hero { padding: 60px 0 24px; }
  .page-hero h1 { font-size: clamp(1.3rem, 7vw, 1.8rem); }
  .page-hero .lead { font-size: 0.85rem; }
  .section { padding: 32px 0; }
  .section .wrap { width: 95vw; }
  .prose { font-size: 0.85rem; line-height: 1.55; }
  .prose h2 { font-size: 1.15rem; }
  .prose h3 { font-size: 0.95rem; }
  .prose p { margin-bottom: 12px; }
  .prose ul, .prose ol { padding-left: 18px; }
  .prose li { margin-bottom: 6px; font-size: 0.85rem; }
  .btn { padding: 8px 14px; font-size: 0.78rem; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 0.1em; }
  .breadcrumb { font-size: 0.72rem; }
  .breadcrumb a { font-size: 0.72rem; }
  .muted { font-size: 0.78rem; }
  .lead { font-size: 0.88rem; }
  .footer-top { gap: 20px; }
  .footer-links h4 { font-size: 0.78rem; }
  .footer-links a { font-size: 0.75rem; }
  .footer-bottom { font-size: 0.72rem; }
  table { font-size: 0.72rem; }
  table th, table td { padding: 6px 8px; }
  blockquote p { font-size: 0.95rem !important; }
  .quote { font-size: 0.95rem; }
  /* Prevent horizontal scroll */
  * { max-width: 100vw; }
  img, svg { max-width: 100%; height: auto; }
  pre, code { font-size: 0.78rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .wrap, .narrow { width: 88vw; }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 3; }
  .industry-panels { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .industry-panel.large { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  table { font-size: 0.88rem; }
}

/* Universal anti-overflow safety */
@media (max-width: 414px) {
  html, body { overflow-x: hidden; }
  img, svg, video, canvas { max-width: 100%; height: auto; }
  pre { white-space: pre-wrap; word-wrap: break-word; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}


/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
