/* ============================================================
   D&F Solutions — premium enterprise consultancy
   Palette derived from the brand logo (orange / blue / ink)
   ============================================================ */

:root {
  /* Brand */
  --orange:      #e98324;
  --orange-600:  #d4731a;
  --orange-soft: #fff1e3;
  --blue:        #2f6fb8;
  --blue-700:    #245a98;
  --blue-soft:   #eaf2fb;

  /* Ink & surfaces */
  --ink:    #0d1117;
  --ink-2:  #161b24;
  --ink-3:  #222a36;
  --paper:  #ffffff;
  --mist:   #f6f8fb;
  --mist-2: #eef2f7;
  --line:   rgba(13, 17, 23, .09);
  --line-2: rgba(13, 17, 23, .06);

  --text:      #1b222c;
  --text-soft: #4a5563;
  --text-mut:  #707b89;
  --on-dark:       #f3f6fa;
  --on-dark-soft:  #aeb9c7;
  --on-dark-mut:   #7e8a99;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  /* Geometry */
  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:26px;
  --shadow-sm: 0 1px 2px rgba(13,17,23,.06), 0 2px 8px rgba(13,17,23,.05);
  --shadow:    0 12px 34px -12px rgba(13,17,23,.18), 0 4px 12px -6px rgba(13,17,23,.10);
  --shadow-lg: 0 40px 80px -28px rgba(13,17,23,.40);
  --ring: 0 0 0 4px rgba(47,111,184,.18);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow--light { color: var(--orange); }
.eyebrow--light::before { background: var(--orange); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.h-display { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2.section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-top: 18px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-soft); line-height: 1.6; }
.section-intro { max-width: 62ch; }

.balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .92em 1.5em; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: var(--orange); --fg: #fff; box-shadow: 0 10px 24px -10px rgba(233,131,36,.7); }
.btn--primary:hover { --bg: var(--orange-600); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); --fg:#fff; }
.btn--on-dark { --bg: rgba(255,255,255,.06); --fg: var(--on-dark); border-color: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.btn--on-dark:hover { --bg: #fff; --fg: var(--ink); border-color:#fff; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.02rem; }

.link-arrow { display:inline-flex; align-items:center; gap:.45em; font-weight:600; color: var(--blue-700); }
.link-arrow svg { width: 1em; height:1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { height: 38px; width: auto; }
.brand .logo-light { display: block; }
.brand .logo-dark  { display: none; }

.site-header.is-stuck {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -16px rgba(13,17,23,.4);
}
.site-header.is-stuck .brand .logo-light { display: none; }
.site-header.is-stuck .brand .logo-dark  { display: block; }
.site-header.is-stuck .nav a { color: var(--text); }
.site-header.is-stuck .nav-toggle { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: .96rem; font-weight: 500; color: var(--on-dark-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--on-dark); }
.site-header.is-stuck .nav a:hover { color: var(--ink); background: var(--mist-2); }
.nav a.is-active { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--on-dark); background: var(--ink); overflow: hidden;
  padding-top: 120px; padding-bottom: 80px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before,
.hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
}
.hero__bg::before { width: 60vw; height: 60vw; top: -22vw; right: -16vw; background: radial-gradient(circle, rgba(233,131,36,.55), transparent 62%); }
.hero__bg::after  { width: 55vw; height: 55vw; bottom: -24vw; left: -18vw; background: radial-gradient(circle, rgba(47,111,184,.55), transparent 62%); }
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { max-width: 920px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; color: var(--on-dark-soft); backdrop-filter: blur(8px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #46d18a; box-shadow: 0 0 0 4px rgba(70,209,138,.25); }
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--orange) 10%, #f2a85a 50%, var(--blue) 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { margin-top: 26px; max-width: 60ch; color: var(--on-dark-soft); font-size: clamp(1.08rem, 1.7vw, 1.32rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__trust { margin-top: 64px; }
.hero__trust p { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.trust-row span {
  font-size: .92rem; font-weight: 500; color: var(--on-dark-soft);
  padding: 7px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  display: grid; place-items: center; gap: 8px; color: var(--on-dark-mut); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 22px; height: 36px; border: 2px solid var(--on-dark-mut); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content:""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 3px; background: var(--on-dark-soft); animation: wheel 1.8s infinite; }
@keyframes wheel { 0%{opacity:0; transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0; transform:translate(-50%,12px)} }

/* ============================================================
   Stats band
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: -64px; position: relative; z-index: 5;
}
.stats > div { background: var(--paper); padding: 34px 28px; }
.stats .num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.stats .num .unit { color: var(--orange); }
.stats .lbl { margin-top: 10px; font-size: .92rem; color: var(--text-soft); }

/* ============================================================
   Generic cards / grids
   ============================================================ */
.grid { display: grid; gap: 24px; }
.section-head { display: grid; gap: 6px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.is-split { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
@media (max-width: 760px){ .section-head.is-split { grid-template-columns: 1fr; } }

/* Expertise */
.expertise-grid { grid-template-columns: repeat(3, 1fr); }
.xcard {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px 32px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.xcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.xcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.xcard:hover::before { transform: scaleX(1); }
.xicon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-700); margin-bottom: 22px;
}
.xicon svg { width: 26px; height: 26px; }
.xcard:nth-child(odd) .xicon { background: var(--orange-soft); color: var(--orange-600); }
.xcard h3 { font-size: 1.28rem; }
.xcard p { margin-top: 12px; color: var(--text-soft); font-size: .98rem; }
.xcard ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xcard ul li { font-size: .8rem; font-weight: 500; color: var(--text-soft); background: var(--mist); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; }

/* ============================================================
   Approach
   ============================================================ */
.approach { background: var(--mist); }
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--orange);
  display: inline-block; padding-bottom: 18px;
}
.step::after { content:""; position: absolute; top: 38px; left: 34px; right: -12px; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.steps .step:last-child::after { display: none; }
.step h3 { font-size: 1.18rem; }
.step p { margin-top: 10px; color: var(--text-soft); font-size: .96rem; }

/* ============================================================
   Why / value split
   ============================================================ */
.why { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.why__glow { position:absolute; inset:0; opacity:.5; z-index:0;
  background: radial-gradient(60% 60% at 85% 10%, rgba(47,111,184,.35), transparent 60%),
              radial-gradient(50% 50% at 5% 95%, rgba(233,131,36,.28), transparent 60%); }
.why .wrap { position: relative; z-index: 1; }
.why-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why h2 { color: #fff; }
.why .lead { color: var(--on-dark-soft); margin-top: 22px; }
.why__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.why__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.why__list .tick { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: var(--orange); flex: none; }
.why__list .tick svg { width: 16px; height: 16px; }
.why__list strong { color: #fff; font-weight: 600; display:block; }
.why__list span.d { color: var(--on-dark-soft); font-size: .96rem; }

.combo {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 38px; backdrop-filter: blur(8px);
}
.combo h3 { color:#fff; font-size: 1.3rem; }
.combo .eq { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; margin-top: 26px; }
.combo .eq .op { align-self: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); font-weight: 700; }
.combo .pill {
  border-radius: 16px; padding: 22px 20px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(13,17,23,.35);
}
.combo .pill .who { font-size: .76rem; letter-spacing:.12em; text-transform: uppercase; color: var(--on-dark-mut); }
.combo .pill .what { margin-top: 8px; font-weight: 600; color: #fff; font-family: var(--font-display); }
.combo .pill.f { border-color: rgba(233,131,36,.4); }
.combo .pill.d { border-color: rgba(47,111,184,.45); }
.combo .res { margin-top: 22px; text-align: center; color: var(--on-dark-soft); font-size: .96rem; }
.combo .res b { color: var(--orange); }

/* ============================================================
   Founders
   ============================================================ */
.founders-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
.founder {
  display: grid; grid-template-rows: auto 1fr; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.founder:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.founder__top { display: flex; align-items: center; gap: 20px; padding: 30px 30px 24px; border-bottom: 1px solid var(--line-2); }
.avatar {
  width: 78px; height: 78px; border-radius: 20px; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; letter-spacing: -.02em;
  box-shadow: var(--shadow-sm);
}
.avatar.f { background: linear-gradient(150deg, var(--orange), var(--orange-600)); }
.avatar.d { background: linear-gradient(150deg, var(--blue), var(--blue-700)); }
.founder__top .name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; }
.founder__top .role { color: var(--blue-700); font-weight: 600; font-size: .95rem; margin-top: 3px; }
.founder.f .founder__top .role { color: var(--orange-600); }
.founder__body { padding: 26px 30px 30px; display: flex; flex-direction: column; }
.founder__body p { color: var(--text-soft); font-size: .98rem; }
.founder__body h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); margin: 24px 0 12px; font-family: var(--font-body); font-weight: 700; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line-2); color: var(--text-soft); }
.founder.f .tags li:hover { border-color: var(--orange); color: var(--orange-600); }
.founder.d .tags li:hover { border-color: var(--blue); color: var(--blue-700); }
.founder__meta { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.founder__meta .yrs { font-size: .9rem; color: var(--text-mut); }
.founder__meta .yrs b { color: var(--ink); }
.linkedin { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--blue-700); }
.linkedin svg { width: 18px; height: 18px; }
.linkedin:hover { color: var(--orange-600); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--mist); }
.contact-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact__info h2 { color: var(--ink); }
.contact__info .lead { margin-top: 20px; }
.info-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 6px; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.info-list li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .k { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mut); }
.info-list .v { font-weight: 500; color: var(--text); }
.info-list a.v:hover { color: var(--orange-600); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: grid; gap: 8px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--text); width: 100%;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--mist); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: var(--ring); outline: none; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d9534f; }
.field .err { font-size: .8rem; color: #d9534f; min-height: 1em; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d9534f; }
.form-consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .86rem; color: var(--text-soft); margin: 4px 0 22px; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); }
.form-consent a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--text-mut); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.ok  { display: block; background: #e9f8ef; border: 1px solid #b8e6c8; color: #1c7a43; }
.form-status.bad { display: block; background: #fdeceb; border: 1px solid #f5c6c4; color: #b3322d; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn .spin { width: 1em; height: 1em; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn[aria-busy="true"] .spin { display: inline-block; }
.btn[aria-busy="true"] .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding-block: 70px 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 36ch; font-size: .96rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a, .footer-col address { color: var(--on-dark-soft); font-size: .95rem; font-style: normal; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 28px; font-size: .85rem; color: var(--on-dark-mut); }
.footer-bottom a { color: var(--on-dark-soft); }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-hero { background: var(--ink); color: var(--on-dark); padding: 150px 0 70px; position: relative; overflow: hidden; }
.legal-hero__glow { position:absolute; inset:0; opacity:.4;
  background: radial-gradient(50% 60% at 80% 0%, rgba(233,131,36,.4), transparent 60%); }
.legal-hero .wrap { position: relative; z-index:1; }
.legal-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero p { color: var(--on-dark-soft); margin-top: 14px; }
.legal-body { padding-block: clamp(56px, 8vw, 90px); }
.legal-body .prose { max-width: 76ch; }
.legal-body h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal-body h3 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--blue-700); font-family: var(--font-body); font-weight: 700; }
.legal-body p { color: var(--text-soft); margin-bottom: 16px; }
.legal-body .updated { font-size: .9rem; color: var(--text-mut); padding: 14px 18px; background: var(--mist); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; margin-bottom: 36px; }
.back-link { display:inline-flex; align-items:center; gap:.5em; margin-top: 40px; font-weight:600; color: var(--blue-700); }
.back-link svg{ width:1em;height:1em; transition: transform .25s var(--ease);} .back-link:hover svg{ transform: translateX(-4px);}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-dark);
  }
  .site-header.is-stuck .nav-toggle { background: var(--mist-2); border-color: var(--line); }
  .nav-toggle svg { width: 22px; height: 22px; }
  .founders-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  /* mobile nav drawer */
  .mobile-nav {
    position: fixed; inset: 0; z-index: 99; background: rgba(13,17,23,.97); backdrop-filter: blur(10px);
    display: grid; align-content: center; justify-items: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--on-dark); padding: 10px; }
  .mobile-nav a:hover { color: var(--orange); }
  .mobile-nav .btn { margin-top: 24px; }
  .mobile-nav .close { position: absolute; top: 22px; right: var(--gutter); width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }
}
@media (min-width: 861px) { .mobile-nav { display: none; } }
@media (max-width: 620px) {
  .expertise-grid, .steps, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .combo .eq { grid-template-columns: 1fr; }
  .combo .eq .op { transform: rotate(90deg); justify-self: center; }
  .footer-top { grid-template-columns: 1fr; }
  .founder__meta { flex-direction: column; align-items: flex-start; }
}
