/* =========================================================
   Baazm — technology development & product strategy
   Dark, editorial, engineered. Inter + Instrument Serif.
   ========================================================= */

:root {
  color-scheme: dark;

  --bg: #06080c;
  --bg-elev: #0b0f16;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eceff5;
  --muted: #a2abbb;
  --faint: #7b8496;

  --accent: #f0a85a;
  --accent-soft: #ffd596;
  --accent-ink: #1b1209;
  --indigo: #6a7cff;
  --ok: #7be0a8;
  --err: #ff8a8a;

  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --header-h: 72px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.9, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: 999px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Background ---------- */
.bg-aurora, .bg-grid { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.bg-aurora {
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(240, 168, 90, 0.20), transparent 60%),
    radial-gradient(760px 520px at -8% 38%, rgba(106, 124, 255, 0.16), transparent 62%),
    radial-gradient(700px 480px at 70% 108%, rgba(240, 168, 90, 0.10), transparent 60%);
}
.bg-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 8, 12, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--accent); }
.brand__mark { width: 34px; height: 22px; fill: currentColor; stroke: none; }
.brand__name { color: var(--text); font-weight: 650; font-size: 1.25rem; letter-spacing: -0.03em; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a:not(.btn) {
  padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--muted); font-size: 0.94rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--text); background: var(--card-hover); }
.nav__links .btn { margin-left: 0.6rem; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.45rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; line-height: 1; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--small { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 8px 28px -8px rgba(240, 168, 90, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(240, 168, 90, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn--ghost { border-color: var(--line-strong); background: var(--card); }
.btn--ghost:hover { background: var(--card-hover); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Type helpers ---------- */
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.06em;
  margin-right: -0.06em;
}
h1 em { white-space: nowrap; }
.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section__lede { color: var(--muted); font-size: 1.1rem; margin-top: 1.1rem; max-width: 62ch; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--card); color: var(--muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 1.6rem;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(240, 168, 90, 0.6); animation: ping 2.4s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(240, 168, 90, 0); } }
.hero__lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 54ch; margin-top: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }

.hero__visual { position: relative; padding: 1.25rem 0.5rem; }
.panel {
  position: relative; border: 1px solid var(--line-strong); border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.panel__bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.panel__dots { display: inline-flex; gap: 6px; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.panel__title { font-size: 0.78rem; color: var(--faint); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.02em; }

.steps { padding: 0.5rem 0.6rem; }
.step { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 0.6rem; padding: 0.85rem 0.7rem; border-radius: 12px; color: var(--faint); font-size: 0.97rem; }
.step__n { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.78rem; }
.step__tag { font-size: 0.74rem; padding: 0.2rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.step.is-done { color: var(--muted); }
.step.is-done .step__n { color: var(--ok); }
.step.is-active { color: var(--text); background: linear-gradient(90deg, rgba(240, 168, 90, 0.16), rgba(240, 168, 90, 0.03)); box-shadow: inset 0 0 0 1px rgba(240, 168, 90, 0.35); }
.step.is-active .step__n, .step.is-active .step__tag { color: var(--accent); border-color: rgba(240, 168, 90, 0.4); }
.step.is-active .step__n { border: 0; }

.topology { display: block; width: 100%; padding: 0.4rem 1rem 1.1rem; }
.topology__links path { stroke: rgba(240, 168, 90, 0.55); stroke-dasharray: 5 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.topology__nodes circle { fill: var(--bg-elev); stroke: var(--line-strong); stroke-width: 1.5; }
.topology__pulse circle { fill: var(--accent); animation: blink 2.8s ease-in-out infinite; }
.topology__pulse circle:nth-child(2) { animation-delay: 0.5s; }
.topology__pulse circle:nth-child(3) { animation-delay: 1s; }
.topology__pulse circle:nth-child(4) { animation-delay: 1.5s; }
@keyframes blink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.topology__labels text { fill: var(--faint); font-size: 11px; font-family: var(--font); }

.float-chip {
  position: absolute; z-index: 2; padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--accent-soft);
  background: rgba(11, 15, 22, 0.85); border: 1px solid rgba(240, 168, 90, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  animation: bob 6s ease-in-out infinite;
}
.float-chip--a { top: -4px; left: -10px; }
.float-chip--b { right: -30px; top: 40%; animation-delay: -2s; }
.float-chip--c { bottom: 6px; left: 8%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Proof strip ---------- */
.proof { margin-top: clamp(3rem, 6vw, 5rem); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.proof__item { padding: 1.5rem 1.6rem; border-right: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 0.35rem; }
.proof__item:last-child { border-right: 0; }
.proof__item dt { color: var(--faint); font-size: 0.85rem; }
.proof__item dd { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; }

/* ---------- Marquee ---------- */
.marquee { margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: scroll-x 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li { display: flex; align-items: center; color: var(--muted); font-size: 0.95rem; font-weight: 500; white-space: nowrap; padding-inline: 1.4rem; }
.marquee__list li::after { content: ""; width: 5px; height: 5px; margin-left: 2.8rem; border-radius: 50%; background: var(--accent); opacity: 0.7; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem; padding: 1.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 168, 90, 0.13), transparent 45%),
    var(--card);
  transition: border-color 0.3s, transform 0.4s var(--ease), background-color 0.3s;
}
.card:hover { border-color: rgba(240, 168, 90, 0.38); transform: translateY(-4px); }
.card--span3 { grid-column: span 3; }
.card--span2 { grid-column: span 2; }
.card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--accent); background: rgba(240, 168, 90, 0.1); border: 1px solid rgba(240, 168, 90, 0.28); font-size: 1.35rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.6rem; }
.tags li { font-size: 0.78rem; font-weight: 500; color: var(--muted); padding: 0.28rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.02); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: p; position: relative; }
.process__item { position: relative; padding: 1.7rem 1.6rem 1.8rem; border-top: 1px solid var(--line-strong); }
.process__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--accent); }
.process__n { display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(240, 168, 90, 0.7); margin-bottom: 1.1rem; }
.process__item h3 { margin-bottom: 0.55rem; font-size: 1.3rem; }
.process__item p { color: var(--muted); font-size: 0.97rem; }

.engage { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.engage__title { font-size: 1.05rem; color: var(--faint); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.4rem; }
.engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.engage__item { position: relative; padding-left: 1.1rem; border-left: 2px solid rgba(240, 168, 90, 0.5); }
.engage__item h4 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.engage__item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.work__card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: border-color 0.3s, transform 0.4s var(--ease); }
.work__card:hover { border-color: rgba(240, 168, 90, 0.4); transform: translateY(-5px); }
.work__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-elev); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; filter: saturate(0.85) brightness(0.92); }
.work__card:hover .work__media img { transform: scale(1.05); filter: none; }
.work__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem 1.6rem 1.7rem; flex: 1; }
.work__tag { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.work__body p:not(.work__tag) { color: var(--muted); font-size: 0.97rem; }
.work__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.6rem; font-weight: 600; font-size: 0.93rem; color: var(--text); }
.work__link .icon { transition: transform 0.25s var(--ease); }
.work__card:hover .work__link .icon { transform: translate(3px, -3px); color: var(--accent); }
.work__all { margin-top: 2.2rem; text-align: center; }

/* ---------- Founder ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 8, 12, 0.55)); pointer-events: none; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about__copy > p:not(.kicker):not(.about__links) { color: var(--muted); font-size: 1.1rem; margin-top: 1.3rem; max-width: 60ch; }
.about__copy strong { color: var(--text); font-weight: 600; }
.checks { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.checks li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text); }
.checks .icon { margin-top: 0.2em; color: var(--accent); stroke-width: 2.4; }
.about__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.about__links a { padding: 0.55rem 1.05rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.about__links a:hover { color: var(--text); border-color: rgba(240, 168, 90, 0.5); background: var(--card-hover); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: clamp(1.6rem, 4vw, 3.4rem); border: 1px solid var(--line-strong); border-radius: 28px;
  background: radial-gradient(700px 360px at 0% 0%, rgba(240, 168, 90, 0.12), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.contact__mail { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.8rem; padding: 0.8rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-weight: 500; transition: border-color 0.2s, background 0.2s; }
.contact__mail:hover { border-color: rgba(240, 168, 90, 0.5); background: var(--card-hover); }
.contact__mail .icon { color: var(--accent); }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(6, 8, 12, 0.6); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23a2abbb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.field select option { background: var(--bg-elev); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 168, 90, 0.16); background: rgba(6, 8, 12, 0.85); }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--err); }
.form__bot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__status { min-height: 1.4em; font-size: 0.93rem; text-align: center; color: var(--muted); }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line); padding-block: 2.6rem 3rem; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015)); }
.footer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.8rem 2rem; align-items: start; }
.footer__brand p { color: var(--faint); font-size: 0.95rem; margin-top: 0.9rem; max-width: 36ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: flex-end; }
.footer__nav a { color: var(--muted); font-size: 0.94rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__legal { grid-column: 1 / -1; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .float-chip--b { right: -8px; top: auto; bottom: -14px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 380px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 1rem 1.25rem 1.4rem; background: rgba(6, 8, 12, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 0.9rem 0.6rem; font-size: 1.05rem; border-radius: 12px; }
  .nav__links .btn { margin: 0.6rem 0 0; padding: 0.95rem; }
  .site-header.menu-open { background: rgba(6, 8, 12, 0.96); border-bottom-color: var(--line); }

  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--span3 { grid-column: span 2; }
  .card--span2 { grid-column: span 1; }
  .engage__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .work { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .bento { grid-template-columns: 1fr; }
  .card--span3, .card--span2 { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-chip--a { left: 0; }
  .float-chip--b { right: 0; top: auto; bottom: -14px; }
  .step { grid-template-columns: 1.9rem 1fr; }
  .step__tag { display: none; }
  .proof__item { padding: 1.1rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
