/* =========================================================
   Ben & Rad Digital — styles.css
   Brand: navy #0F1B3D + electric blue #2D6BFF
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #0B142E;
  --navy-800: #0F1B3D;
  --navy-700: #16264f;
  --blue-600: #2D6BFF;
  --blue-500: #4d83ff;
  --blue-400: #6f9bff;

  /* Neutral */
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --surface: #ffffff;
  --text: #0F1B3D;
  --text-muted: #56607a;
  --border: #e4e8f2;
  --border-strong: #cdd5e6;

  /* Semantic */
  --success: #16a34a;
  --error: #dc2626;

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 27, 61, .06), 0 2px 8px rgba(15, 27, 61, .05);
  --shadow-md: 0 8px 24px rgba(15, 27, 61, .10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 61, .16);
  --shadow-blue: 0 10px 30px rgba(45, 107, 255, .35);

  --ease: cubic-bezier(.22, 1, .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; } }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -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; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }

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

::selection { background: var(--blue-600); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

/* =========================================================
   Brand mark
   ========================================================= */
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); }
.brand__mark {
  display: inline-grid; place-items: center; position: relative;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--navy-800);
  font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: -1px;
  box-shadow: var(--shadow-sm);
}
.brand__mark .brand__b { color: #fff; }
.brand__mark .brand__r { color: var(--blue-500); margin-left: -2px; }
.brand__mark--lg { width: 92px; height: 92px; border-radius: 22px; font-size: 44px; }
.brand__name { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand__sub { color: var(--blue-600); }

/* Real logo lockup (inline SVG) */
.brand__logo { height: 38px; width: auto; display: block; color: var(--navy-800); --logo-accent: var(--blue-600); }
.brand--footer .brand__logo { height: 36px; color: #fff; --logo-accent: #8fb0ff; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 12px 22px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn__arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: #1f5af0; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(45,107,255,.45); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; transform: translateY(-2px); }

.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15,27,61,.05);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links > a:not(.btn) {
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--navy-800); position: relative;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--blue-600);
  transition: width .25s var(--ease);
}
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 24px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--font-head); font-weight: 500; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,27,61,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,27,61,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero__glow--1 { width: 420px; height: 420px; background: rgba(45,107,255,.4); top: -120px; right: -60px; }
.hero__glow--2 { width: 360px; height: 360px; background: rgba(111,155,255,.35); top: 120px; left: -120px; }

.hero__inner { position: relative; z-index: 1; max-width: 860px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 22px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px rgba(45,107,255,.18); }

.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; }
.grad-text {
  background: linear-gradient(100deg, var(--blue-600), #7aa2ff 60%, #18c9b4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--text-muted); margin-top: 24px; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--navy-800); line-height: 1; }
.hero__stats span { color: var(--text-muted); font-size: .95rem; margin-top: 6px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--blue-600); animation: scrolldot 1.6s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   Trust bar
   ========================================================= */
.trustbar { border-block: 1px solid var(--border); background: var(--bg); }
.trustbar__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; padding: 24px; }
.trustbar__label { font-family: var(--font-head); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.trustbar__logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 30px; }
.trustbar__logos li { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy-800); opacity: .55; transition: opacity .2s; }
.trustbar__logos li:hover { opacity: 1; }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
.section__sub { color: var(--text-muted); font-size: 1.08rem; margin-top: 16px; }
.section__head .eyebrow { justify-content: center; }

/* =========================================================
   Service cards
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,107,255,.14), rgba(45,107,255,.06));
  color: var(--blue-600); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .98rem; }

/* =========================================================
   Before / After comparison
   ========================================================= */
.ba { max-width: 980px; margin: 0 auto; }
.ba__slider {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y;
  border: 1px solid var(--border);
  background: #fff;
}
.ba__layer { position: absolute; inset: 0; }
.ba__before { overflow: hidden; width: 50%; z-index: 2; border-right: 0; will-change: width; }
.ba__before-inner { position: absolute; inset: 0; height: 100%; }
/* width of inner set by JS to slider width so it never squishes */

.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%);
  background: #fff; z-index: 5; box-shadow: 0 0 0 1px rgba(15,27,61,.1); cursor: ew-resize;
}
.ba__line { position: absolute; inset: 0; width: 4px; background: linear-gradient(var(--blue-600), #18c9b4); }
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue-600);
  display: grid; place-items: center; box-shadow: var(--shadow-md); cursor: ew-resize;
}
.ba__grip svg { width: 22px; height: 22px; }
.ba__slider:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 4px; }

.ba__tag {
  position: absolute; top: 16px; z-index: 4; font-family: var(--font-head); font-weight: 600; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.ba__tag--before { left: 16px; background: rgba(15,27,61,.78); color: #fff; }
.ba__tag--after { right: 16px; background: rgba(45,107,255,.92); color: #fff; }

.ba__hint {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 18px; color: var(--text-muted); font-size: .92rem; font-family: var(--font-head);
}
.ba__hint svg { width: 20px; height: 20px; color: var(--blue-600); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }

.ba__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; max-width: 980px; margin-inline: auto; }
.result {
  text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.result strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--blue-600); }
.result span { color: var(--text-muted); font-size: .9rem; }

/* ---------- Browser mock chrome ---------- */
.mock { width: 100%; height: 100%; display: flex; flex-direction: column; background: #fff; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #e7e7e7; background: #f3f4f7; flex: 0 0 auto; }
.mock__dots { display: inline-flex; gap: 6px; }
.mock__dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3d6dd; }
.mock--after .mock__dots i:nth-child(1) { background: #ff5f57; }
.mock--after .mock__dots i:nth-child(2) { background: #febc2e; }
.mock--after .mock__dots i:nth-child(3) { background: #28c840; }
.mock__url { font-size: 12px; color: #8b90a0; background: #fff; border: 1px solid #e3e5ec; border-radius: 8px; padding: 3px 12px; font-family: var(--font-body); }
.mock--before .mock__url { background: #e9e9e9; }
.mock__body { flex: 1; overflow: hidden; position: relative; }

/* ---------- AFTER mock (modern) ---------- */
.mafter { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff, #f3f6ff); padding: clamp(10px, 2.4vw, 22px); gap: clamp(8px, 1.8vw, 16px); }
.mafter__nav { display: flex; align-items: center; justify-content: space-between; }
.mafter__logo { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); font-size: clamp(11px, 2vw, 17px); }
.mafter__links { display: flex; gap: 8px; }
.mafter__links i { width: clamp(14px, 3vw, 26px); height: 6px; border-radius: 3px; background: #d7def0; }
.mafter__cta { background: var(--blue-600); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(9px, 1.7vw, 13px); padding: clamp(5px,1.2vw,8px) clamp(10px,2vw,16px); border-radius: 999px; }
.mafter__hero { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(8px, 2vw, 20px); }
.mafter__eyebrow { font-family: var(--font-head); font-weight: 600; font-size: clamp(8px,1.5vw,12px); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.mafter__copy h4 { font-size: clamp(15px, 3.6vw, 34px); font-weight: 700; color: var(--navy-800); line-height: 1.05; margin: 7px 0; letter-spacing: -.02em; }
.mafter__copy p { font-size: clamp(9px, 1.7vw, 14px); color: #5a647c; margin-bottom: clamp(8px,1.6vw,16px); }
.mafter__btn { display: inline-block; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(9px,1.7vw,13px); padding: clamp(6px,1.4vw,11px) clamp(12px,2.4vw,20px); border-radius: 10px; }
.mafter__art { position: relative; height: 100%; min-height: 90px; }
.mafter__blob { position: absolute; inset: 8% 4%; border-radius: 26% 74% 62% 38% / 40% 42% 58% 60%; background: linear-gradient(140deg, #2D6BFF, #18c9b4); opacity: .92; animation: blob 9s var(--ease) infinite; }
@keyframes blob { 50% { border-radius: 62% 38% 38% 62% / 54% 60% 40% 46%; } }
.mafter__card { position: absolute; right: 6%; bottom: 8%; width: 46%; height: 30%; background: rgba(255,255,255,.92); border-radius: 12px; box-shadow: 0 10px 24px rgba(15,27,61,.22); backdrop-filter: blur(4px); }
.mafter__leaf { position: absolute; border-radius: 0 100% 0 100%; background: rgba(255,255,255,.85); }
.mafter__leaf--1 { width: 22%; height: 22%; top: 16%; left: 14%; }
.mafter__leaf--2 { width: 14%; height: 14%; bottom: 22%; left: 30%; background: rgba(255,255,255,.6); }
.mafter__row { display: flex; gap: clamp(8px, 1.8vw, 16px); }
.mafter__row span { flex: 1; height: clamp(26px, 7vw, 64px); border-radius: 12px; background: #fff; border: 1px solid #e6ebf7; box-shadow: var(--shadow-sm); }

/* ---------- BEFORE mock (dated 2005 site) ---------- */
.mbefore { height: 100%; background: #cfcfcf; font-family: "Times New Roman", Times, serif; color: #00128a; overflow: hidden; }
.mbefore__header { background: #000080; color: #ffff00; text-align: center; font-weight: bold; padding: 4px; font-size: clamp(8px, 1.5vw, 12px); white-space: nowrap; overflow: hidden; }
.mbefore__header marquee-fake { display: inline-block; animation: marq 12s linear infinite; }
@keyframes marq { from { transform: translateX(30%); } to { transform: translateX(-70%); } }
.mbefore__top { background: #008080; padding: clamp(6px,1.4vw,12px); text-align: center; border-bottom: 4px ridge #c0c0c0; }
.mbefore__logo { display: block; font-size: clamp(14px, 3.4vw, 30px); font-weight: bold; color: #ff0000; text-shadow: 1px 1px 0 #ffff00; font-style: italic; }
.mbefore__nav { display: block; margin-top: 4px; color: #ffffff; font-size: clamp(8px, 1.6vw, 13px); text-decoration: underline; }
.mbefore__hero { text-align: center; padding: clamp(8px,1.8vw,18px) clamp(8px,2vw,20px); background: #cfcfcf; }
.mbefore__hero h4 { color: #800080; font-size: clamp(12px, 2.8vw, 24px); font-weight: bold; }
.mbefore__hero p { color: #000; font-size: clamp(8px, 1.6vw, 13px); margin: 8px auto; max-width: 80%; line-height: 1.35; }
.mbefore__btn { display: inline-block; margin-top: 6px; background: linear-gradient(#fff, #b0b0b0); border: 2px outset #fff; color: #0000ff; font-weight: bold; text-decoration: underline; padding: 3px 10px; font-size: clamp(8px, 1.6vw, 13px); }
.mbefore__cols { display: flex; gap: 6px; padding: clamp(6px,1.4vw,12px); justify-content: center; }
.mbefore__box { width: 24%; height: clamp(22px, 5vw, 46px); background: #ffffcc; border: 2px inset #999; }
.mbefore__counter { text-align: center; background: #000; color: #00ff00; font-family: "Courier New", monospace; font-size: clamp(7px, 1.4vw, 11px); padding: 5px; }

/* =========================================================
   Work grid
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work__thumb { height: 240px; position: relative; overflow: hidden; }
.work__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 90%, #000) 0%, var(--accent) 100%);
}
.work__thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: radial-gradient(circle at 22% 26%, rgba(255,255,255,.5) 0, transparent 38%),
                    linear-gradient(120deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
}
/* faux UI layered over each thumbnail */
.work__thumb--saas  { --pat: ""; }
.work__meta {
  position: absolute; inset: auto 0 0 0; z-index: 3; padding: 22px 24px;
  background: linear-gradient(to top, rgba(11,20,46,.92), transparent);
  color: #fff;
}
.work__meta h3 { font-size: 1.3rem; }
.work__meta p { font-size: .92rem; opacity: .85; }
.work__tag {
  position: absolute; top: 16px; left: 16px; z-index: 3; font-family: var(--font-head); font-weight: 600;
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #fff;
  background: rgba(11,20,46,.5); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px;
}
/* simple decorative "screens" inside thumbnails */
.work__thumb--saas::before  { background-image: linear-gradient(transparent 64%, rgba(255,255,255,.16) 64%), linear-gradient(90deg, rgba(255,255,255,.22) 30%, transparent 30%), radial-gradient(circle at 78% 30%, rgba(255,255,255,.4) 0 16%, transparent 17%); }
.work__thumb--shop::before  { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 24%, transparent 24% 33%), linear-gradient(transparent 70%, rgba(255,255,255,.14) 70%); }
.work__thumb--studio::before{ background-image: linear-gradient(120deg, transparent 45%, rgba(255,255,255,.25) 55%, transparent 65%), radial-gradient(circle at 30% 60%, rgba(255,255,255,.35) 0 12%, transparent 13%); }
.work__thumb--food::before  { background-image: radial-gradient(circle at 50% 40%, rgba(255,255,255,.4) 0 18%, transparent 19%), repeating-linear-gradient(0deg, transparent 0 22%, rgba(255,255,255,.12) 22% 24%); }

/* =========================================================
   About
   ========================================================= */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__media { position: relative; min-height: 380px; }
.about__card {
  position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 4px;
}
.about__card--1 { inset: 30px auto auto 30px; width: 200px; height: 200px; display: grid; place-items: center; background: var(--navy-800); }
.about__card--2 { top: 0; right: 16px; padding: 20px 26px; }
.about__card--3 { bottom: 10px; left: 0; padding: 18px 24px; }
.about__stat { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--blue-600); }
.about__card--3 .about__stat { font-size: 1.2rem; color: var(--navy-800); }
.about__statlabel { font-size: .82rem; color: var(--text-muted); }

.about__content > p { color: var(--text-muted); margin-top: 16px; }
.about__content .section__title { text-align: left; }
.about__content .eyebrow { margin-bottom: 18px; }
.about__list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about__list svg { width: 22px; height: 22px; flex: 0 0 auto; color: #fff; background: var(--success); border-radius: 50%; padding: 4px; }

/* =========================================================
   Contact
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__intro .section__title { text-align: left; }
.contact__intro > p { color: var(--text-muted); margin-top: 16px; }
.contact__details { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 16px; }
.contact__details li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact__details a:hover { color: var(--blue-600); }
.contact__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(45,107,255,.1); color: var(--blue-600); flex: 0 0 auto; }
.contact__ic svg { width: 22px; height: 22px; }

/* Contact — team members */
.contact__people { margin-top: 28px; display: grid; gap: 18px; }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.person__name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.person__link { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .94rem; color: var(--text-muted); word-break: break-word; transition: color .2s; }
.person__link svg { width: 18px; height: 18px; color: var(--blue-600); flex: 0 0 auto; }
.person__link:hover { color: var(--blue-600); }
.contact__location { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-muted); font-size: .94rem; }
.contact__location svg { width: 20px; height: 20px; color: var(--blue-600); flex: 0 0 auto; }
@media (min-width: 560px) { .contact__people { grid-template-columns: 1fr 1fr; } }

/* About — logo mark in the floating card */
.about__logo { width: 64%; height: auto; color: #fff; --logo-accent: #7aa2ff; }

.contact__form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-md); display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .92rem; }
.field label span { color: var(--blue-600); }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 12px; background: #fbfcfe;
  color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa1b4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(45,107,255,.14);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .82rem; min-height: 0; }
.field.is-invalid .field__error { min-height: 1em; }
.form__status { font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .btn__label::after { content: "…"; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-900); color: #c4cce0; padding: 64px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--blue-400); }
.footer__brand p { margin-top: 14px; max-width: 320px; font-size: .95rem; color: #97a1bd; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; font-family: var(--font-head); font-weight: 500; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .86rem; color: #7e88a6; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span, .ba__hint svg, .mafter__blob, .mbefore__header marquee-fake { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { min-height: 320px; max-width: 420px; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 70px; }
  .hero__stats { gap: 28px; }
  .hero__stats strong { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .ba__results { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .hero__actions .btn { width: 100%; }
  .ba__results { grid-template-columns: repeat(2, 1fr); }
}
