/* ============================================================
   M&M Ventures Ltd — premium design system v3
   Brand (from invoice): navy #1B2A4A · gold #C5A55A · slate #5A6A7A
   v3 builds a richer palette around the logo: deep ink navy,
   champagne gold, warm ivory, bronze accents.
============================================================ */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-var.woff2") format("woff2");
}

:root {
  /* core brand */
  --navy: #1B2A4A;
  --ink: #0E1626;          /* deep near-black navy — dark sections */
  --ink-soft: #16223D;
  --navy-soft: #2A3C61;

  --gold: #C5A55A;
  --champagne: #D9BC7A;
  --bronze: #9C7C3C;

  --ivory: #FBF9F4;        /* warm off-white page background */
  --paper: #F4EFE4;        /* warmer tinted panels */
  --line: #E6DfCE;
  --line-dark: rgba(255, 255, 255, 0.14);

  --slate: #5A6A7A;
  --text: #252F40;
  --white: #FFFFFF;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(14, 22, 38, 0.10);
  --shadow-soft: 0 6px 18px rgba(14, 22, 38, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.14; }

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; font-weight: 600; }

a { color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow-light { color: var(--champagne); }
.eyebrow-gold { color: var(--champagne); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, var(--champagne), var(--gold) 55%, #B6924A);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(197, 165, 90, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(197, 165, 90, 0.38); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--champagne); color: var(--champagne); transform: translateY(-2px); }
.btn-small { padding: 10px 22px; font-size: 0.88rem; }
.btn-large { padding: 18px 44px; font-size: 1.04rem; }

.btn:focus-visible, a:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(14, 22, 38, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand img { width: 198px; height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a:not(.btn) {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--navy); }
.nav-menu a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; }

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(42, 60, 97, 0.9), transparent 60%),
    radial-gradient(800px 500px at -10% 115%, rgba(34, 50, 84, 0.8), transparent 60%),
    var(--ink);
  color: var(--white);
}

/* drifting gradient orbs */
.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-orbs span:nth-child(1) {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.20), transparent 65%);
  top: -160px; right: 4%;
  animation: orb-a 22s ease-in-out infinite alternate;
}
.hero-orbs span:nth-child(2) {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(72, 96, 148, 0.5), transparent 65%);
  bottom: -120px; left: 10%;
  animation: orb-b 26s ease-in-out infinite alternate;
}
.hero-orbs span:nth-child(3) {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.12), transparent 65%);
  top: 35%; left: 42%;
  animation: orb-a 30s ease-in-out infinite alternate-reverse;
}
@keyframes orb-a { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
@keyframes orb-b { from { transform: translate(0, 0); } to { transform: translate(70px, -30px); } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-top: clamp(84px, 10vw, 140px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 em {
  font-style: italic;
  color: var(--champagne);
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero visual: strategic network */
.hero-visual { display: flex; justify-content: center; }
.hero-net { width: min(400px, 100%); height: auto; }
.hero-net .net-rings circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1;
}
.hero-net .net-lines path {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}
.hero-net .net-arcs path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  opacity: 0.65;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-arc 3.2s var(--ease) forwards;
}
.hero-net .net-arcs path:nth-child(2) { animation-delay: 0.5s; }
.hero-net .net-arcs path:nth-child(3) { animation-delay: 1s; }
@keyframes draw-arc { to { stroke-dashoffset: 0; } }
.hero-net .net-nodes circle {
  fill: var(--champagne);
  opacity: 0.85;
  animation: node-pulse 4s ease-in-out infinite;
}
.hero-net .net-nodes circle:nth-child(2n) { animation-delay: 1.4s; }
.hero-net .net-nodes circle:nth-child(3n) { animation-delay: 2.2s; }
.hero-net .net-nodes circle:last-child { fill: var(--gold); }
@keyframes node-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* credibility strip */
.hero-cred {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
  padding-bottom: 40px;
  gap: 18px;
}
.hero-cred span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-cred span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   Positioning — what M&M Ventures does
============================================================ */
.positioning {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 96px) 0;
}
.positioning-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.positioning-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
}
.positioning-statement em {
  font-style: italic;
  color: var(--bronze);
}
.positioning-side {
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}
.positioning-side p { font-size: 0.97rem; color: var(--slate); }

/* ============================================================
   Sections
============================================================ */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.76); }

.section-head { max-width: 800px; margin-bottom: 56px; }
.section-lede { font-size: 1.05rem; color: var(--slate); margin-top: 18px; max-width: 680px; }
.section-dark .section-lede { color: rgba(255, 255, 255, 0.76); }

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.split-text p { margin-bottom: 18px; }
.split-text h2 { margin-bottom: 22px; }

/* ---------- Due diligence visual (animated, hero-style) ---------- */
.dd-visual {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 18px;
  overflow: hidden;
}
.dd-visual svg { width: 100%; height: auto; display: block; }
.ddv-grid path {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  fill: none;
}
.ddv-base {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  fill: none;
}
.ddv-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: ddv-draw 2.8s var(--ease) forwards;
}
.ddv-line-2 {
  stroke: rgba(255, 255, 255, 0.30);
  stroke-width: 1.4;
  animation-delay: 0.6s;
}
@keyframes ddv-draw { to { stroke-dashoffset: 0; } }
.ddv-nodes circle {
  fill: var(--champagne);
  animation: node-pulse 4s ease-in-out infinite;
}
.ddv-nodes circle:nth-child(2n) { animation-delay: 1.3s; }
.ddv-nodes circle:last-child { fill: var(--gold); }
.ddv-scan rect {
  fill: rgba(217, 188, 122, 0.55);
  animation: ddv-scan 7s ease-in-out infinite;
}
@keyframes ddv-scan {
  0% { transform: translateX(40px); opacity: 0; }
  8% { opacity: 1; }
  46% { transform: translateX(478px); opacity: 1; }
  54% { opacity: 0; }
  100% { transform: translateX(40px); opacity: 0; }
}
.ddv-frame path {
  fill: none;
  stroke: rgba(197, 165, 90, 0.55);
  stroke-width: 1.5;
}

/* ============================================================
   Pillars
============================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pillar {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 30px; right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(197, 165, 90, 0));
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(197, 165, 90, 0.5);
}
.pillar-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(27, 42, 74, 0.14);
  margin-bottom: 14px;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pillar-desc { font-size: 0.95rem; color: var(--slate); margin-bottom: 20px; }
.pillar ul { list-style: none; margin-bottom: 26px; }
.pillar li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 0.94rem;
  color: var(--text);
  border-bottom: 1px solid rgba(230, 223, 206, 0.6);
}
.pillar li:last-child { border-bottom: none; }
.pillar li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.pillar-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bronze);
  transition: color 0.2s var(--ease);
}
.pillar-link:hover { color: var(--navy); }

/* ============================================================
   Due diligence
============================================================ */
.dd-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  margin-top: 10px;
}
.dd-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dd-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.notice-card {
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 165, 90, 0.35);
  border-radius: 10px;
  padding: 24px 28px;
}
.notice-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 10px;
}
.notice-card p:not(.notice-label) {
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* ============================================================
   Technology section with network lines
============================================================ */
.section-tech { position: relative; overflow: hidden; background: var(--ivory); }
.tech-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.tech-net .t-line {
  fill: none;
  stroke: rgba(27, 42, 74, 0.08);
  stroke-width: 1.4;
  stroke-dasharray: 8 10;
  animation: dash-drift 26s linear infinite;
}
.tech-net .t-line-2 { stroke: rgba(197, 165, 90, 0.18); animation-duration: 34s; }
@keyframes dash-drift { to { stroke-dashoffset: -360; } }
.tech-net .t-node {
  fill: var(--gold);
  opacity: 0.4;
  animation: node-pulse 5s ease-in-out infinite;
}
.tech-net .t-node:nth-child(2n) { animation-delay: 2s; }
.section-tech .container { position: relative; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(197, 165, 90, 0.55);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.94rem; color: var(--slate); }
.card-compact { padding: 24px 24px; display: flex; align-items: center; gap: 16px; }
.card-compact .card-icon { margin-bottom: 0; flex-shrink: 0; }
.card-compact h3 { margin-bottom: 0; font-size: 1.02rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(27, 42, 74, 0.08), rgba(197, 165, 90, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   AI section
============================================================ */
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.ai-grid .section-head { margin-bottom: 0; }
.ai-copy p { margin-bottom: 18px; }
.ai-note {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--bronze);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

/* ============================================================
   Who we work with
============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.who-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(197, 165, 90, 0.55);
}
.who-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.who-card p { font-size: 0.92rem; color: var(--slate); }

/* ============================================================
   How we work — timeline
============================================================ */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: 0.5;
}
.steps-grid li { position: relative; padding-top: 0; }
.step-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(197, 165, 90, 0.6);
  color: var(--champagne);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--paper);
}
.steps-grid h3 { margin-bottom: 8px; font-size: 1.15rem; }
.steps-grid p { font-size: 0.93rem; color: var(--slate); }
@media (min-width: 1021px) { .steps-grid.steps-5 { grid-template-columns: repeat(5, 1fr); } }
.section-dark .step-num { box-shadow: 0 0 0 6px var(--ink); }

/* ============================================================
   Why M&M Ventures — statement cards
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.why-card:hover {
  border-color: rgba(197, 165, 90, 0.55);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}
.why-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--champagne);
}
.why-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.66); margin: 0; }

/* ============================================================
   Contact
============================================================ */
.contact { padding-top: 0; background: var(--ivory); }
.contact-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 88% -20%, rgba(197, 165, 90, 0.20), transparent 60%),
    radial-gradient(600px 360px at 0% 120%, rgba(42, 60, 97, 0.9), transparent 65%),
    var(--ink);
  border-radius: 18px;
  padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 96px);
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-panel .eyebrow { justify-content: center; }
.contact-panel .eyebrow::before { display: none; }
.contact-panel h2 { color: var(--white); margin-bottom: 18px; max-width: 720px; margin-left: auto; margin-right: auto; }
.contact-text {
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 36px;
}
.contact-email { margin-top: 24px; }
.contact-email a {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--champagne);
  text-decoration: none;
}
.contact-email a:hover { text-decoration: underline; }

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: #0A111E;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 38px;
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}
.footer-tagline {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 5px;
}
.footer-meta { text-align: right; line-height: 1.9; }
.footer-meta a { color: var(--champagne); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer-legal { padding-top: 26px; }
.footer-legal p { margin-bottom: 8px; }
.footer-disclaimer { font-size: 0.79rem; color: rgba(255, 255, 255, 0.42); max-width: 760px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 165, 90, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--champagne); }

/* ============================================================
   v4 MULTIPAGE COMPONENTS
============================================================ */

/* active nav state */
.nav-menu a.active { color: var(--navy); }
.nav-menu a.active::after { width: 100%; }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -20%, rgba(42, 60, 97, 0.9), transparent 60%),
    var(--ink);
  color: var(--white);
}
.page-hero-inner {
  position: relative;
  padding-top: clamp(72px, 9vw, 116px);
  padding-bottom: clamp(56px, 7vw, 92px);
  max-width: 880px;
}
.page-hero h1 { color: var(--white); margin-bottom: 22px; }
.page-hero h1 em { font-style: italic; color: var(--champagne); }
.page-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
}
.page-hero .hero-actions { margin-top: 34px; }

/* ---------- Generic intro lead ---------- */
.lead { font-size: 1.08rem; color: var(--slate); max-width: 720px; }
.section-dark .lead { color: rgba(255, 255, 255, 0.78); }

/* ---------- Highlight statement line ---------- */
.highlight-line {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--champagne);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0 0;
}

/* ---------- Credibility line (under highlight on dark) ---------- */
.cred-line {
  text-align: center;
  max-width: 680px;
  margin: 16px auto 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Two-column list wrapper ---------- */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
}
.cols-2 h3 { margin-bottom: 14px; }

/* ---------- Feature list (light sections) ---------- */
.feature-list { list-style: none; display: grid; gap: 4px; }
.feature-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 0.96rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Services detail blocks ---------- */
.svc-block {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.svc-block:first-of-type { border-top: none; }
.svc-block-head { max-width: 720px; margin-bottom: 36px; }
.svc-block-head .pillar-num { margin-bottom: 10px; }
.svc-block-head h2 { margin-bottom: 14px; }
.svc-block-head p { color: var(--slate); }

/* ---------- Notice card light variant ---------- */
.notice-card.notice-light {
  background: rgba(197, 165, 90, 0.07);
  border-color: rgba(197, 165, 90, 0.4);
}
.notice-card.notice-light .notice-label { color: var(--bronze); }
.notice-card.notice-light p:not(.notice-label) { color: var(--slate); }

/* ---------- About preview (homepage) ---------- */
.about-preview .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-preview .profile-card { margin: 0; }

/* ---------- Founder / profile card ---------- */
.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.section-dark .profile-card {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
}
.profile-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.profile-monogram {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy), var(--ink));
  border: 1px solid rgba(197, 165, 90, 0.5);
  color: var(--champagne);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.section-dark .profile-name { color: var(--white); }
.profile-title { font-size: 0.92rem; color: var(--bronze); font-weight: 600; margin-top: 4px; }
.profile-exp {
  font-size: 0.9rem;
  color: var(--slate);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 20px;
}
.section-dark .profile-exp { color: rgba(255, 255, 255, 0.72); }
.profile-bio p { font-size: 0.97rem; margin-bottom: 14px; }
.profile-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.section-dark .profile-highlights { border-top-color: var(--line-dark); }
.profile-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text);
}
.section-dark .profile-highlights li { color: rgba(255, 255, 255, 0.82); }
.profile-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Mandate / selected work grid ---------- */
.mandate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}
.mandate-item {
  position: relative;
  padding: 18px 20px 18px 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.96rem;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.mandate-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Contact detail rows ---------- */
.contact-rows { list-style: none; display: grid; gap: 2px; max-width: 520px; margin: 0 auto; }
.contact-rows li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.82);
}
.contact-rows .row-label { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-rows a { color: var(--champagne); text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; }

/* ---------- Footer additions ---------- */
.footer-descriptor { font-size: 0.86rem; color: rgba(255, 255, 255, 0.5); margin-top: 12px; max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--champagne); }

@media (max-width: 1020px) {
  .cols-2 { grid-template-columns: 1fr; }
  .about-preview .container { grid-template-columns: 1fr; }
  .mandate-grid { grid-template-columns: 1fr; }
  .profile-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .profile-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .contact-rows li { flex-direction: column; gap: 4px; }
}

/* ============================================================
   Legal pages (privacy / terms / cookies)
============================================================ */
.legal-main { padding: clamp(48px, 7vw, 90px) 0; }
.legal-main .container { max-width: 820px; }
.legal-main h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.legal-updated { color: var(--slate); font-size: 0.9rem; margin-bottom: 40px; }
.legal-main h2 {
  font-size: 1.25rem;
  margin: 38px 0 12px;
  padding-top: 6px;
}
.legal-main p, .legal-main li { font-size: 0.97rem; color: var(--text); margin-bottom: 12px; }
.legal-main ul { padding-left: 22px; margin-bottom: 14px; }
.legal-main li { margin-bottom: 6px; }
.legal-main a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal-back { display: inline-block; margin-top: 44px; font-weight: 600; font-size: 0.93rem; text-decoration: none !important; color: var(--navy); }
.legal-back::before { content: "← "; color: var(--gold); }

/* ============================================================
   Scroll reveal (enabled only when JS + motion OK)
============================================================ */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* gentle stagger inside grids */
.js-reveal .pillar-grid .reveal:nth-child(2),
.js-reveal .who-grid .reveal:nth-child(2),
.js-reveal .why-grid .reveal:nth-child(2),
.js-reveal .steps-grid .reveal:nth-child(2),
.js-reveal .card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.js-reveal .pillar-grid .reveal:nth-child(3),
.js-reveal .who-grid .reveal:nth-child(3),
.js-reveal .why-grid .reveal:nth-child(3),
.js-reveal .steps-grid .reveal:nth-child(3),
.js-reveal .card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.js-reveal .who-grid .reveal:nth-child(4),
.js-reveal .why-grid .reveal:nth-child(4),
.js-reveal .steps-grid .reveal:nth-child(4),
.js-reveal .card-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.js-reveal .who-grid .reveal:nth-child(5),
.js-reveal .why-grid .reveal:nth-child(5),
.js-reveal .card-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.js-reveal .who-grid .reveal:nth-child(6),
.js-reveal .why-grid .reveal:nth-child(6),
.js-reveal .card-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-cred { grid-template-columns: repeat(2, 1fr); }
  .positioning-grid { grid-template-columns: 1fr; }
  .positioning-side { border-left: none; border-top: 2px solid var(--gold); padding-left: 0; padding-top: 22px; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .card-grid-3, .who-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .card-grid-3, .who-grid, .why-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-cred { grid-template-columns: 1fr; gap: 12px; }
  .brand img { width: 164px; }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a:not(.btn) {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-menu .btn { margin-top: 16px; }
}

/* ============================================================
   Reduced motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .who-card, .why-card, .pillar, .btn { transition: none; }
  .hero-orbs span,
  .hero-net .net-arcs path,
  .hero-net .net-nodes circle,
  .tech-net .t-line,
  .tech-net .t-node,
  .ddv-line,
  .ddv-nodes circle,
  .ddv-scan rect { animation: none; }
  .hero-net .net-arcs path, .ddv-line { stroke-dashoffset: 0; }
  .ddv-scan rect { opacity: 0; }
}
