/* ============================================================
   MIVORAQ Growth — styles.css
   Consulting-grade editorial system · purple + white
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #FBFAFC;
  --bg-tint: #F5EEFA;
  --bg-panel: #FFFFFF;

  /* Ink */
  --ink: #1B0630;
  --ink-2: #59486B;
  --ink-3: #9B8CAD;

  /* Brand */
  --brand: #7A1F9F;
  --brand-deep: #4A0D6B;
  --brand-accent: #C41BAF;
  --brand-tint: rgba(122, 30, 155, 0.055);
  --brand-hover: #6A1A8D;

  /* Lines */
  --line: rgba(27, 6, 48, 0.09);
  --line-soft: rgba(27, 6, 48, 0.055);
  --line-strong: rgba(122, 30, 155, 0.24);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27, 6, 48, 0.04);
  --shadow-md: 0 4px 24px rgba(122, 30, 155, 0.07);
  --shadow-lg: 0 24px 64px -16px rgba(74, 13, 107, 0.14);
  --shadow-xl: 0 40px 100px -24px rgba(122, 30, 155, 0.26);

  /* Radii */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1180px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(84px, 10vw, 148px);

  /* Type */
  --f-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(122, 30, 155, 0.16); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus { left: 16px; }

/* Serif italic accent */
.grad {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(105deg, var(--brand-accent) 0%, var(--brand) 52%, var(--brand-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px var(--pad-x);
  background: rgba(251, 250, 252, 0.78);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 252, 0.93);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-logo { height: 30px; width: auto; }
.nav-wordmark {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}
.nav-wordmark b { font-weight: 600; letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.003em;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--brand-tint); }
.nav-links .nav-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  padding: 0;
  border-radius: 10px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  margin-left: 6px;
}
.nav-links .nav-ig:hover {
  color: var(--brand);
  background: var(--brand-tint);
  border-color: var(--line-strong);
}
.nav-links .nav-cta {
  color: #fff;
  background: var(--brand);
  font-weight: 500;
  padding: 10px 19px;
  margin-left: 8px;
  box-shadow: 0 4px 14px -5px rgba(122, 30, 155, 0.5);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--brand-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(122, 30, 155, 0.55);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav[data-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav[data-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 104px) var(--pad-x) clamp(72px, 9vw, 124px);
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -60px -40vw 10% -40vw;
  background:
    radial-gradient(ellipse 880px 480px at 82% 18%, rgba(196, 27, 175, 0.09), transparent 62%),
    radial-gradient(ellipse 680px 400px at 12% 45%, rgba(122, 30, 155, 0.05), transparent 62%);
  pointer-events: none;
  z-index: -1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  margin: 0 0 30px 0;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.72); }
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(52px, 8.2vw, 122px);
  line-height: 0.97;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 30px 0;
}
.hero-sub {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 38px 0;
  line-height: 1.62;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  letter-spacing: -0.004em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -9px rgba(122, 30, 155, 0.5);
}
.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -9px rgba(122, 30, 155, 0.58);
}
.btn-ghost {
  background: var(--bg-panel);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--brand-tint);
  transform: translateY(-1px);
}

/* Hero visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(196, 27, 175, 0.14), transparent 56%),
    radial-gradient(circle at 70% 74%, rgba(122, 30, 155, 0.11), transparent 60%),
    linear-gradient(158deg, #FFFFFF 0%, #F5EEFA 100%);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-soft);
  animation: floaty 10s ease-in-out infinite;
}
.hero-logo {
  position: relative;
  z-index: 2;
  width: 76%;
  height: auto;
  animation: floaty 10s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ============================================================
   PRINCIPLES STRIP
   ============================================================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}
.strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.strip-item:last-child { border-right: 0; }
.strip-item + .strip-item { padding-left: 28px; }
.strip-item b {
  font-family: var(--f-display);
  font-size: 25px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.strip-item span {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}
.section-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.inner-section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.section-head { max-width: 800px; margin-bottom: 60px; }
.kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px 0;
  font-weight: 500;
}
.section-head h2,
.firm-copy h2,
.contact-card h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin: 0 0 20px 0;
  font-weight: 400;
  color: var(--ink);
}
.section-head .sub {
  color: var(--ink-2);
  font-size: clamp(16px, 1.2vw, 18px);
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}
.lede {
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.52;
  color: var(--ink-2);
  max-width: 880px;
  margin: 0 0 24px 0;
}
.lede-sub {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0;
}
.lede .hl {
  color: var(--ink);
  font-weight: 500;
  background: linear-gradient(180deg, transparent 66%, rgba(196, 27, 175, 0.16) 66%);
  padding: 0 3px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.service-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.service-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brand);
  flex-shrink: 0;
}
.service h3 {
  font-family: var(--f-display);
  font-size: 29px;
  line-height: 1.06;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.016em;
  color: var(--ink);
}
.service-outcome {
  color: var(--ink);
  margin: 0 0 22px 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 450;
}
.caps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  margin-top: auto;
}
.caps li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 15px;
  position: relative;
  line-height: 1.45;
}
.caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px; height: 1px;
  background: var(--brand);
  opacity: 0.55;
}

/* ============================================================
   SECTORS
   ============================================================ */
.sector-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.sector {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line-soft);
  transition: background 0.3s;
}
.sector:nth-child(3n) { border-right: 0; }
.sector:hover { background: var(--brand-tint); }
.sector-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand);
  display: block;
  margin-bottom: 12px;
  padding-left: 24px;
}
.sector h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 8px 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-left: 24px;
}
.sector p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
  padding-left: 24px;
  max-width: 320px;
}

/* ============================================================
   ENGAGEMENT TIERS
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.tier {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s, border-color 0.3s, box-shadow 0.3s;
}
.tier:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.tier-featured {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  position: relative;
}
.tier-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand));
}
.tier-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px 0;
  font-weight: 500;
}
.tier h3 {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 14px 0;
  color: var(--ink);
}
.tier-desc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}
.tier-points {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.tier-points li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.tier-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  opacity: 0.7;
}
/* Pushed to the card floor with a top rule, so the divider aligns across all
   three cards regardless of how long each point list is. */
.tier-fit {
  margin: auto 0 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.tier-fit span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   APPROACH
   ============================================================ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand) 55%, var(--brand-deep) 100%);
  color: #fff;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -7px rgba(122, 30, 155, 0.5);
}
.step h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 25px;
  margin: 0 0 8px 0;
  color: var(--ink);
  letter-spacing: -0.014em;
}
.step p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ============================================================
   PERSPECTIVES
   ============================================================ */
.views {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.view {
  padding: 36px 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.view:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.view h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.016em;
  margin: 0 0 14px 0;
  color: var(--ink);
  max-width: 26ch;
}
.view p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.62;
}

/* ============================================================
   THE FIRM
   ============================================================ */
.firm-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.firm-copy p {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.68;
  margin: 0 0 20px 0;
  max-width: 580px;
}
.firm-quote {
  margin: 36px 0 0 0;
  padding: 26px 30px;
  border-left: 2px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 580px;
}
.firm-quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 23px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  max-width: none;
}
.firm-aside {
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}
.firm-aside-title {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 22px 0;
}
.firm-facts { margin: 0; display: grid; gap: 0; }
.firm-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.firm-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.firm-facts dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
}
.firm-facts dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  text-align: right;
  font-weight: 450;
  line-height: 1.4;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.014em;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--brand);
  border-bottom: 1.5px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-body {
  padding: 0 60px 28px 0;
  animation: faqIn 0.3s ease;
}
.faq-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.68;
  max-width: 70ch;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  position: relative;
  padding: clamp(36px, 5vw, 76px);
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 27, 175, 0.09), transparent 62%);
  pointer-events: none;
}
.contact-card .lede { margin-bottom: 40px; }
.contact-card .lede strong { color: var(--ink); font-weight: 600; }
.contact-form { display: grid; gap: 18px; position: relative; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 118px; line-height: 1.55; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  background: var(--bg-panel);
  box-shadow: 0 0 0 3px rgba(122, 30, 155, 0.09);
  outline: none;
}
.contact-form button { justify-self: start; margin-top: 8px; }
.contact-form button[disabled] { opacity: 0.6; cursor: progress; }

/* Honeypot — visually hidden but still reachable by bots that parse the DOM.
   Deliberately not display:none, which some bots detect and skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 4px 0 0 0;
  font-size: 14px;
  line-height: 1.5;
  min-height: 1px;
}
.form-status.is-success {
  color: #1B7F4B;
  font-weight: 500;
}
.form-status.is-error {
  color: #B3123C;
  font-weight: 500;
}
.form-fallback {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(122, 30, 155, 0.35);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.form-fallback:hover { text-decoration-color: var(--brand); }

.form-note { font-size: 13px; color: var(--ink-3); margin: 8px 0 0 0; }
.form-note a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(122, 30, 155, 0.32);
  text-underline-offset: 3px;
  font-weight: 500;
}

/* Follow CTA */
.follow-cta {
  position: relative;
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(118deg, rgba(196, 27, 175, 0.055), rgba(122, 30, 155, 0.035));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.follow-copy { flex: 1 1 320px; min-width: 260px; }
.follow-headline {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px 0;
  color: var(--ink);
}
.follow-sub { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.follow-sub strong { color: var(--brand); font-weight: 600; }
.btn-ig {
  background: linear-gradient(135deg, #C41BAF 0%, #7A1F9F 55%, #4A0D6B 100%);
  color: #fff;
  box-shadow: 0 10px 24px -9px rgba(122, 30, 155, 0.5);
}
.btn-ig:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -9px rgba(122, 30, 155, 0.58);
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--pad-x) 44px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-lockup { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 38px; width: auto; }
.footer-wordmark {
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-weight: 400;
}
.footer-wordmark b { font-weight: 600; letter-spacing: 0.04em; }
.footer-caption {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  font-weight: 500;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 5px 0;
  font-weight: 500;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.2s;
  line-height: 1.4;
}
.footer-col a:hover { color: var(--brand); }
.footer-bar {
  border-top: 1px solid var(--line-soft);
}
.footer-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}
.footer-bar .copy {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ============================================================
   REVEAL
   ============================================================ */
/* Content is visible by default. Only when JS is running (html.js) do we hide
   it for the scroll-reveal — so a JS failure or a no-JS client still sees
   the entire page. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo, .hero-panel, .hero-eyebrow .dot { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .sector-list { grid-template-columns: repeat(2, 1fr); }
  .sector:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .sector:nth-child(2n) { border-right: 0; }
  .tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 300px; margin: 0 auto 4px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item { padding: 24px 24px 24px 0; }
  .strip-item:nth-child(2n) { border-right: 0; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .strip-item + .strip-item { padding-left: 0; }
  .strip-item:nth-child(2n) { padding-left: 24px; }
  .views { grid-template-columns: 1fr; }
  .firm-grid { grid-template-columns: 1fr; }
  .firm-aside { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links a { padding: 13px 16px; }
  .nav-links .nav-cta { text-align: center; margin-left: 0; margin-top: 6px; }
  .nav-links .nav-ig { align-self: flex-start; margin-left: 4px; margin-top: 4px; }
  .nav[data-open="true"] .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .nav-logo { height: 31px; }

  .services { grid-template-columns: 1fr; }
  .sector-list { grid-template-columns: 1fr; }
  .sector { border-right: 0 !important; padding-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 20px 0 !important; }
  .strip-item:last-child { border-bottom: 0; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-logo { height: 52px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .faq-body { padding-right: 0; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 46px; }
  .footer-nav { grid-template-columns: 1fr; }
}
