/* iBES Advisory — site styles
   Brand: navy #001a60 · dark red #8c0d19 · red #ef1f35 · black · white */
:root {
  --navy: #001a60;
  --navy-deep: #000f3a;
  --navy-ink: #000a26;
  --red: #ef1f35;
  --red-dark: #8c0d19;
  --black: #0a0c12;
  --white: #ffffff;

  /* light theme tokens (default) */
  --bg: #ffffff;
  --bg-2: #f4f6fb;
  --surface: #ffffff;
  --text: #0a0c12;
  --heading: #0a0c12;
  --muted: #4a5368;
  --dim: #7a8296;
  --line: rgba(0, 26, 96, 0.12);
  --line-soft: rgba(0, 26, 96, 0.08);
  --accent: var(--red);
  --em: var(--red);

  --max: 1200px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(0, 16, 58, .06), 0 12px 32px -12px rgba(0, 16, 58, .16);
}

/* Navy feature sections */
.dark {
  --bg: var(--navy-deep);
  --bg-2: #00134a;
  --surface: rgba(255, 255, 255, .05);
  --text: #ffffff;
  --heading: #ffffff;
  --muted: rgba(225, 231, 247, .74);
  --dim: rgba(225, 231, 247, .5);
  --line: rgba(255, 255, 255, .16);
  --line-soft: rgba(255, 255, 255, .09);
  --em: #ff4d5f;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(0, 54, 170, .55), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--text);
}

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

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; color: var(--heading); }
h1 em, h2 em, h3 em, blockquote em { font-style: normal; color: var(--em); }

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500;
}
.label::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--red-dark)); }
.dark .label { color: #ff6b7a; }

/* Brand stripe — echoes the "i" in the logo */
.stripe { height: 4px; background: linear-gradient(90deg, var(--red) 0 22%, var(--red-dark) 22% 40%, var(--navy) 40% 100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: rgba(0, 26, 96, .08); box-shadow: 0 8px 24px -16px rgba(0, 16, 58, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 50px; width: auto; }

.menu { display: flex; align-items: center; gap: 36px; list-style: none; }
.menu a { font-size: 0.92rem; font-weight: 500; color: #3b4458; transition: color .2s; position: relative; }
.menu a:hover, .menu a.active { color: var(--navy); }
.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--red); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600;
  padding: 14px 26px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--red);
  background: var(--red); color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(239, 31, 53, .55); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(0, 26, 96, .25); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.dark .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.menu .btn { padding: 10px 20px; color: #fff; }
.menu .btn:hover { color: #fff; }

.menu-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Background texture ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 25%, transparent 75%);
}
.glow {
  position: absolute; pointer-events: none; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 31, 53, .28), transparent 62%);
  filter: blur(20px);
}
/* Diagonal brand slash, like the logo's "i" */
.slash { position: absolute; z-index: 0; pointer-events: none; width: 120px; top: -10%; bottom: -10%; right: 9%; transform: skewX(-14deg); opacity: .9;
  background: linear-gradient(180deg, var(--red) 0 18%, var(--red-dark) 18% 34%, transparent 34% 38%, rgba(255,255,255,.06) 38% 100%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 150px 0 110px; overflow: hidden; }
.hero .glow { width: 760px; height: 760px; left: -280px; bottom: -380px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 5.8rem); margin: 28px 0 28px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin-bottom: 44px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.ticker-card {
  position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 28px; box-shadow: 0 40px 80px -30px rgba(0, 4, 20, .7);
}
.ticker-card::before { content: ""; position: absolute; left: 28px; top: 0; width: 56px; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-dark)); border-radius: 0 0 3px 3px; }
.ticker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ticker-head .sym { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; color: var(--muted); }
.ticker-head .chg { font-family: var(--mono); font-size: .76rem; color: #7fe0a2; display: flex; align-items: center; gap: 6px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #7fe0a2; box-shadow: 0 0 0 0 rgba(127,224,162,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127,224,162,0); } 100% { box-shadow: 0 0 0 0 rgba(127,224,162,0); } }
.ticker-big { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.ticker-big em { font-style: normal; color: var(--em); }
.chart { margin: 18px 0 22px; }
.chart path.line { fill: none; stroke: #ff4d5f; stroke-width: 2.5; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s .4s var(--ease) forwards; }
.chart path.area { fill: url(#gfill); opacity: 0; animation: fade 1.4s 1.8s forwards; }
.chart circle { fill: #ff4d5f; opacity: 0; animation: fade .6s 2.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.ticker-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); padding-top: 18px; gap: 12px; }
.ticker-stats div span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.ticker-stats div strong { font-weight: 600; font-size: .95rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 1; font-family: var(--mono); font-size: .66rem; letter-spacing: .24em; color: var(--dim); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(#ff4d5f, transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections ---------- */
section { position: relative; padding: 130px 0; }
section.alt { background: var(--bg-2); }
.section-head { max-width: 780px; margin-bottom: 68px; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 22px 0 20px; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.divider { height: 1px; background: var(--line-soft); }

/* About / Belief */
.belief { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; }
.belief h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); margin-top: 22px; }
.belief-body p { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; }
.belief-body p.first { color: var(--heading); font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.3; letter-spacing: -.015em; }
.signature { margin-top: 36px; padding: 22px 0 0 0; border-top: 1px solid var(--line-soft); font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--navy); display: flex; align-items: center; gap: 14px; }
.signature::before { content: ""; width: 10px; height: 32px; transform: skewX(-14deg); background: linear-gradient(180deg, var(--red) 0 50%, var(--navy) 50%); flex-shrink: 0; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.metric { padding: 38px 30px; border-right: 1px solid var(--line-soft); position: relative; }
.metric:last-child { border-right: 0; }
.metric::before { content: ""; position: absolute; left: 30px; top: 0; width: 32px; height: 3px; background: var(--red); }
.metric strong { display: block; font-family: var(--display); font-size: 3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.metric strong sup { font-size: 1.1rem; color: var(--red); vertical-align: top; margin-left: 3px; letter-spacing: 0; }
.metric span { display: block; margin-top: 12px; color: var(--muted); font-size: .92rem; }

/* Thesis band */
.thesis { overflow: hidden; }
.thesis .glow { width: 600px; height: 600px; right: -220px; top: -260px; }
.thesis-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.thesis blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -.02em; }
.thesis-side p { color: var(--muted); font-size: 1.08rem; padding-left: 28px; border-left: 3px solid var(--red); }

/* Service tiles (home) */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 460px; padding: 48px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--surface); box-shadow: var(--shadow);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--red); }
.svc.navy::after { background: var(--navy); }
.svc::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 20%), rgba(0, 54, 170, .07), transparent 45%);
}
.svc:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(0, 16, 58, .3); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc-num { font-family: var(--mono); font-size: .74rem; color: var(--dim); letter-spacing: .14em; }
.svc h3 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin: 18px 0 8px; }
.svc .tag { font-family: var(--display); font-weight: 600; color: var(--red); font-size: 1.15rem; }
.svc.navy .tag { color: var(--navy); }
.svc p { color: var(--muted); margin-top: 20px; max-width: 42ch; }
.svc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.svc li { font-size: .78rem; padding: 6px 12px; border-radius: 4px; color: var(--navy); background: rgba(0, 26, 96, .06); font-weight: 500; }
.svc .go { margin-top: 36px; display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 600; font-size: .92rem; }
.svc.navy .go { color: var(--navy); }
.svc .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc:hover .go svg { transform: translateX(5px); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 36px 32px 34px;
  background: var(--surface); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
}
.member:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -20px rgba(0, 16, 58, .3); }
.avatar {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: -.02em;
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red);
  margin: 4px 0 30px 4px;
}
.member h3 { font-size: 1.55rem; }
.member .role { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 8px 0 20px; font-weight: 500; }
.member p { color: var(--muted); font-size: .97rem; }
.member .yrs { display: flex; gap: 22px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.member .yrs div strong { font-family: var(--display); font-weight: 700; font-size: 1.8rem; display: block; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.member .yrs div span { font-size: .78rem; color: var(--dim); }

/* CTA */
.cta { text-align: center; overflow: hidden; }
.cta .glow { width: 800px; height: 800px; left: 50%; top: 60%; transform: translate(-50%, -50%); }
.cta-inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; padding: 0 20px; }
.cta h2 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin: 22px 0 24px; }
.cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 40px; }
.cta .actions { justify-content: center; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 200px 0 110px; overflow: hidden; }
.page-hero .glow { width: 640px; height: 640px; left: -260px; bottom: -380px; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); margin-top: 26px; }
.page-hero .kicker { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--em); margin-top: 18px; }
.page-hero p.lead { color: var(--muted); font-size: 1.08rem; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* Detailed service list */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.deliverable {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 44px 40px 44px 0; border-bottom: 1px solid var(--line);
}
.deliverable:nth-child(odd) { border-right: 1px solid var(--line); }
.deliverable:nth-child(even) { padding-left: 40px; }
.deliverable .n { font-family: var(--mono); font-size: .8rem; color: var(--red); padding-top: 10px; font-weight: 500; }
.deliverable h3 { font-size: 1.55rem; margin-bottom: 12px; }
.deliverable p { color: var(--muted); }
.ico { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--navy); margin-bottom: 22px; transition: background .3s; }
.ico svg { width: 21px; height: 21px; }
.deliverable:hover .ico, .r-card:hover .ico { background: var(--red); }

/* Retainer cards */
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.r-card { background: var(--surface); padding: 40px 34px 44px; min-height: 230px; display: flex; flex-direction: column; transition: background .3s; }
.r-card:hover { background: #f8f9fd; }
.r-card .ico { margin-bottom: auto; }
.r-card .n { font-family: var(--mono); font-size: .72rem; color: var(--dim); letter-spacing: .14em; margin-top: 40px; }
.r-card h3 { font-size: 1.4rem; margin-top: 8px; }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: linear-gradient(90deg, var(--red), var(--red-dark) 35%, var(--navy) 70%); }
.step { padding-right: 28px; }
.step .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; position: relative; margin-bottom: 28px; }
.step:first-child .dot { border-color: var(--red); }
.step .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red); }
.step span { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.step h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Next service link */
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 52px 0 0; border-top: 1px solid var(--line); }
.next span { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.next h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: 8px; transition: color .3s; }
.next:hover h3 { color: var(--red); }
.next .arrow { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); flex-shrink: 0; transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.next:hover .arrow { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
.next .arrow svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.info-list { list-style: none; }
.info-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list small { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-weight: 500; }
.info-list a, .info-list address, .info-list span { font-style: normal; font-size: 1.12rem; line-height: 1.55; color: var(--heading); }
.info-list a:hover { color: var(--red); }
.info-list .reg { color: var(--dim); }
.map { margin-top: 36px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { border: 1px solid var(--line-soft); border-top: 4px solid var(--red); border-radius: 16px; padding: 44px; background: var(--surface); box-shadow: 0 24px 60px -24px rgba(0, 16, 58, .25); }
.form h2 { font-size: 2.1rem; margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 32px; }
.form > p b, .field label b { color: var(--red); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 500; color: var(--heading); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg-2); border: 1px solid transparent; border-radius: 8px;
  padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(0, 26, 96, .08); }
.field input.err, .field textarea.err { border-color: var(--red); background: #fff5f6; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: .8rem; color: var(--dim); margin-top: 16px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.foot-inner { padding: 72px 0 36px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.foot-top .brand img { height: 52px; }
.foot-top p { color: var(--muted); font-size: .95rem; margin-top: 20px; max-width: 34ch; }
.foot-top h4 { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.foot-top ul { list-style: none; display: grid; gap: 10px; }
.foot-top ul a, .foot-top address { color: var(--muted); font-size: .95rem; font-style: normal; transition: color .2s; }
.foot-top ul a:hover { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chart path.line { stroke-dashoffset: 0; animation: none; }
  .chart path.area, .chart circle { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .page-hero-inner, .belief, .thesis-inner, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .team-grid, .r-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .journey::before { display: none; }
  .slash { right: -40px; width: 90px; opacity: .55; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { height: 68px; }
  .brand img { height: 38px; }
  .menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 28px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 16, 58, .3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .menu li { width: 100%; }
  .menu a { display: block; padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .menu a.active { color: var(--red); }
  .menu a.active::after { display: none; }
  .menu .btn { margin-top: 20px; justify-content: center; border-bottom: 0; }
  .menu-open .menu { opacity: 1; transform: none; pointer-events: auto; }
  section { padding: 90px 0; }
  .svc-grid, .deliverables { grid-template-columns: 1fr; }
  .deliverable:nth-child(odd) { border-right: 0; }
  .deliverable:nth-child(even) { padding-left: 0; }
  .svc { padding: 36px 28px; min-height: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 32px 24px; }
  .page-hero { padding: 150px 0 80px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 120px; min-height: 0; }
  .metrics, .team-grid, .r-grid, .foot-top, .journey { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .metric:last-child { border-bottom: 0; }
  .ticker-stats { grid-template-columns: 1fr 1fr; }
  .deliverable { grid-template-columns: 1fr; gap: 6px; padding-right: 0; }
  .next .arrow { width: 56px; height: 56px; }
  .scroll-cue { display: none; }
  .slash { display: none; }
}
