/* ============================================================
   SXFO.COM — Strategy. Execution. Focus. Opportunity.
   ============================================================ */

:root {
  --ink: #05070f;
  --navy: #0a0e1c;
  --navy-2: #0e1428;
  --light: #f5f7fb;
  --white: #ffffff;
  --text-dark: #10162b;
  --text-mut-dark: #4c556e;
  --text-light: #eef1fa;
  --text-mut-light: #9aa3bd;
  --blue: #4f7cff;
  --blue-bright: #3b82f6;
  --purple: #a855f7;
  --grad: linear-gradient(115deg, #4f7cff 10%, #a855f7 90%);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-card: 0 8px 40px rgba(10, 14, 28, 0.10);
  --shadow-glow: 0 0 40px rgba(79, 124, 255, 0.35);
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

::selection { background: rgba(79, 124, 255, 0.35); }

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

/* ---------- Type helpers ---------- */
.grad-text {
  background: linear-gradient(115deg, #6ea0ff, #4f7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--purple { background-image: linear-gradient(115deg, #8b7bff, #b565f8); }

.accent { color: var(--blue); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow--dark { color: #7ea1ff; }

.section__title {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 21em;
  margin-bottom: clamp(28px, 4vw, 48px);
  text-wrap: balance;
}

.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-mut-dark);
  max-width: 34em;
  margin-bottom: 1.1em;
}
.lead--strong {
  font-weight: 800;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--text-light);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn__arrow { transition: transform 0.25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(120, 90, 250, 0.35);
}
.btn--primary:hover { box-shadow: 0 6px 32px rgba(120, 90, 250, 0.55); transform: translateY(-2px); }

.btn--ghost {
  color: var(--text-light);
  border: 1px solid rgba(126, 161, 255, 0.5);
  background: rgba(79, 124, 255, 0.06);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--blue); background: rgba(79, 124, 255, 0.14); transform: translateY(-2px); }

.btn--ghost-dark {
  color: var(--text-dark);
  border: 1.5px solid rgba(16, 22, 43, 0.25);
}
.btn--ghost-dark:hover { border-color: var(--blue); color: var(--blue); }

.btn--sm { font-size: 12px; padding: 11px 20px; }
.btn--lg { font-size: 14px; padding: 17px 30px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(126, 161, 255, 0.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.nav__logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-right: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__link {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mut-light);
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: right 0.25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.nav__cta-mobile { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
  padding: 120px 0 90px;
}
.hero__bg {
  position: absolute;
  inset: -12% 0;
  background: var(--ink) url("../img/hero-x.webp") no-repeat right center / cover;
  will-change: transform;
  z-index: 0;
}
@media (max-width: 760px) {
  .hero__bg { background-image: url("../img/hero-x-mobile.webp"); background-position: 72% center; }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5, 7, 15, 0.94) 22%, rgba(5, 7, 15, 0.55) 55%, rgba(5, 7, 15, 0.18) 100%);
}
@media (max-width: 760px) {
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(5,7,15,0.86) 0%, rgba(5,7,15,0.62) 45%, rgba(5,7,15,0.88) 100%);
  }
}
.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  left: -18vw; top: 8%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.18) 0%, transparent 65%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 15, 0.85));
  z-index: 1;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; }

.hero__kicker {
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7ea1ff;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 26px;
  max-width: 12em;
}
.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #c3cbe4;
  max-width: 33em;
  margin-bottom: 38px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.hero__cred {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 44px);
}
.hero__cred li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aeb8d6;
  line-height: 1.35;
}
.hero__cred svg {
  width: 34px; height: 34px;
  flex: none;
  color: var(--blue);
  filter: drop-shadow(0 0 8px rgba(79, 124, 255, 0.5));
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--light { background: var(--light); color: var(--text-dark); }
.section--light .section__title { color: var(--text-dark); }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--dark .section__title { color: var(--white); }
.section--dark .lead { color: #b7c0da; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(16, 22, 43, 0.06);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10, 14, 28, 0.14), 0 0 0 1px rgba(79, 124, 255, 0.25);
}
.card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(168, 85, 247, 0.12));
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p { font-size: 14.5px; color: var(--text-mut-dark); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chips li {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(16, 22, 43, 0.10);
  color: var(--text-mut-dark);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.chips li:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Approach ---------- */
.approach { position: relative; overflow: hidden; }
.approach::before {
  content: "";
  position: absolute;
  right: -20%; top: -30%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.approach__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  position: relative;
}
.approach .section__title .plus { color: var(--blue); font-weight: 900; }
.approach__steps {
  margin-top: 30px;
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.approach__steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 13px 20px;
  background: rgba(126, 161, 255, 0.05);
  border: 1px solid rgba(126, 161, 255, 0.14);
  border-radius: 14px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.approach__steps li:hover {
  border-color: rgba(126, 161, 255, 0.45);
  background: rgba(126, 161, 255, 0.09);
  transform: translateX(4px);
}
.approach__steps li span {
  font-size: 13px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.approach__media img,
.about__media img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126, 161, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(79, 124, 255, 0.12);
}

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 22, 43, 0.06);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(10, 14, 28, 0.16);
}
.project__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.project__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 85% 15%, rgba(255,255,255,0.16) 0%, transparent 45%),
    radial-gradient(100% 120% at 10% 100%, rgba(0,0,0,0.35) 0%, transparent 55%);
  z-index: 1;
}
.project__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 2;
}
.project:hover .project__visual::after { transform: translateX(100%); }
.project__mark {
  position: relative;
  z-index: 3;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease;
}
.project:hover .project__mark { transform: scale(1.06); }
.project__mark span { opacity: 0.72; font-weight: 700; }

.project__visual--gcam   { background: linear-gradient(130deg, #0c0f1e 0%, #232a54 55%, #4f7cff 130%); }
.project__visual--flirt  { background: linear-gradient(130deg, #170b12 0%, #451a2e 60%, #e0447c 140%); }
.project__visual--gio    { background: linear-gradient(130deg, #07131c 0%, #0e3a4e 60%, #22b8cf 135%); }
.project__visual--slurpy { background: linear-gradient(130deg, #1b1038 0%, #4c2889 60%, #a855f7 135%); }
.project__visual--bulkup { background: linear-gradient(130deg, #100c20 0%, #35155e 60%, #7c3aed 135%); }
.project__visual--xlove  { background: linear-gradient(130deg, #150b14 0%, #43173c 60%, #b0468b 140%); }

.project__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__body h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.project__ext {
  font-size: 14px;
  color: var(--blue);
  transition: transform 0.2s ease;
  display: inline-block;
}
.project__ext:hover { transform: translate(2px, -2px); }
.project__body p { font-size: 14px; color: var(--text-mut-dark); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(79, 124, 255, 0.09);
  border-radius: 999px;
  padding: 5px 12px;
}
/* ---------- Socials ---------- */
.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.socials__handle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mut-light);
  margin-right: 4px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: #c3cbe4;
  background: rgba(126, 161, 255, 0.07);
  border: 1px solid rgba(126, 161, 255, 0.16);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.socials a:hover {
  color: var(--white);
  border-color: rgba(126, 161, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79, 124, 255, 0.25);
}
.socials svg { width: 20px; height: 20px; }
.socials--footer { margin-top: 0; }

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; }
.about::before {
  content: "";
  position: absolute;
  left: -25%; bottom: -40%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.09) 0%, transparent 60%);
  pointer-events: none;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 88px);
  position: relative;
}
.about__copy em { font-style: normal; color: var(--white); font-weight: 700; }

.career { position: relative; }
.career__title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 30px;
}
.career__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}
.career__item {
  padding: 26px 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(126, 161, 255, 0.06), rgba(168, 85, 247, 0.04));
  border: 1px solid rgba(126, 161, 255, 0.14);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.career__item:hover { border-color: rgba(126, 161, 255, 0.4); transform: translateY(-4px); }
.career__item h4 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.career__item p { font-size: 14.5px; color: #b7c0da; }
.career__orgs { font-size: 14px; color: var(--text-mut-light); }
.career__orgs a { color: #9db6ff; font-weight: 600; transition: color 0.2s ease; }
.career__orgs a:hover { color: var(--white); }

/* ---------- Why SXFO ---------- */
.section--sxfo {
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(79, 124, 255, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.section--sxfo .section__title { color: var(--white); }
.sxfo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.sxfo__item {
  position: relative;
  padding: 40px 28px 34px;
  border-radius: var(--radius);
  background: rgba(10, 14, 28, 0.6);
  border: 1px solid rgba(126, 161, 255, 0.14);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sxfo__item:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 161, 255, 0.5);
  box-shadow: var(--shadow-glow);
}
.sxfo__letter {
  position: absolute;
  right: -6px; top: -26px;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(160deg, rgba(126, 161, 255, 0.22), rgba(168, 85, 247, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}
.sxfo__item h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
}
.sxfo__item h3::before {
  content: "";
  display: block;
  width: 34px; height: 3px;
  border-radius: 2px;
  background: var(--grad);
  margin-bottom: 14px;
}
.sxfo__item p { font-size: 14.5px; color: #b7c0da; position: relative; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/lobby.webp") no-repeat center / cover;
  opacity: 0.16;
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(5, 7, 15, 0.55) 40%, var(--ink) 100%);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact__info { display: grid; gap: 16px; margin-top: 30px; }
.contact__info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: #c3cbe4;
}
.contact__info svg {
  width: 22px; height: 22px;
  color: var(--blue);
  flex: none;
}
.contact__info a { transition: color 0.2s ease; }
.contact__info a:hover { color: var(--white); }

.contact__form {
  background: rgba(14, 20, 40, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(126, 161, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 14px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: block; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text-light);
  background: rgba(5, 7, 15, 0.55);
  border: 1px solid rgba(126, 161, 255, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.contact__form select { color: var(--text-mut-light); }
.contact__form select:valid { color: var(--text-light); }
.contact__form ::placeholder { color: var(--text-mut-light); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.22);
}
.contact__form textarea { resize: vertical; min-height: 120px; }
.form__submit { justify-content: center; width: 100%; }
.form__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-mut-light);
}
.form__note svg { width: 15px; height: 15px; color: var(--blue); }
.form__status { font-size: 14px; font-weight: 600; color: #8de8b4; text-align: center; min-height: 1em; }

/* ---------- Footer ---------- */
.footer {
  background: #04060c;
  color: var(--text-mut-light);
  border-top: 1px solid rgba(126, 161, 255, 0.10);
  padding: 48px 0 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 34px;
}
.footer__brand p {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer__nav a:hover { color: var(--white); }
.footer__legal {
  border-top: 1px solid rgba(126, 161, 255, 0.08);
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 12.5px;
  text-align: center;
}

/* ---------- Reveal animations ---------- */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .sxfo { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .approach__grid,
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .approach__media { order: -1; }
  .career__grid { grid-template-columns: 1fr; }

  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(5, 7, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(126, 161, 255, 0.14);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 4px; font-size: 15px; }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 12px; justify-content: center; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .sxfo { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__cred { gap: 18px 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
