/* =========================================================
   Code With Zain – style.css  (responsive, all-in-one)
   Breakpoints: 1100 / 980 / 900 / 860 (mobile menu) / 700 / 560 / 480 / 360
   ========================================================= */

:root {
  /* left/right gutter that lines up with the 1200px sections */
  --gut: max(24px, calc((100% - 1200px) / 2));
}

/* Self-hosted variable fonts (latin). font-display: swap keeps text visible. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img,
video {
  max-width: 100%;
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* GSAP word-reveal wrappers (created by script.js) */
.sw {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0.08em 0.06em 0.16em;
  margin: -0.08em -0.06em -0.16em;
}
.swi {
  display: inline-block;
  will-change: transform;
}

/* Selected text color */
::selection {
  background: #0881ff;
  color: #fff;
}
::-moz-selection {
  background: #0881ff;
  color: #fff;
}

a {
  text-decoration: none;
}

/* decorative arrow inside the nav button (replaces the Font Awesome icon) */
.nav-btn > a > svg {
  vertical-align: -1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* accessibility: skip link + focus target */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 6px;
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; outline: 2px solid #0881ff; outline-offset: 2px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100; /* keeps hover previews under the navbar while scrolling */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  padding: 0 var(--gut);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.navbar.is-scrolled {
  border-bottom-color: #ececec;
}

.nav-logo > a {
  display: inline-block;
  color: #0a0a0a;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  transition: color 0.3s ease;
}
.nav-logo > a:hover {
  color: #0881ff;
}

/* desktop: links and button sit directly in the navbar flex row */
.nav-menu {
  display: contents;
}
.nav-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links > a {
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}
.nav-links > a:hover {
  color: #0881ff;
}

.nav-btn > a {
  position: relative;
  display: inline-block;
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-btn > a > svg {
  display: inline-block;
  transform: rotate(-45deg);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-btn > a:hover > svg {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.nav-btn > a:hover {
  color: #0881ff;
}
/* underline */
.nav-btn > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #0881ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-btn > a:hover::after {
  transform: scaleX(1);
}

.nav-logo > a:focus-visible,
.nav-links > a:focus-visible,
.nav-btn > a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid #0881ff;
  outline-offset: 4px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* moving background (only inside the hero) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.hero__grid,
.hero__spot {
  position: absolute;
  inset: 0;
  background-size: 28px 28px;
}
.hero__grid {
  background-image: radial-gradient(rgba(8, 129, 255, 0.22) 1.2px, transparent 1.5px);
  opacity: 0.5;
}
/* bright dots that appear around the mouse / finger / auto-drift point */
.hero__spot {
  background-image: radial-gradient(rgba(8, 129, 255, 0.95) 1.7px, transparent 2px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 45%), #000, transparent);
  mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 45%), #000, transparent);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.hero__blob::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: hero-float 9s ease-in-out infinite alternate;
}
.hero__blob--1 { width: 560px; height: 560px; top: -8%; left: -6%; }
.hero__blob--2 { width: 640px; height: 640px; top: 6%; right: -10%; }
.hero__blob--3 { width: 420px; height: 420px; bottom: -14%; left: 38%; }
.hero__blob--1::before { background: radial-gradient(circle, rgba(8, 129, 255, 0.32), rgba(8, 129, 255, 0) 68%); }
.hero__blob--2::before { background: radial-gradient(circle, rgba(60, 160, 255, 0.28), rgba(60, 160, 255, 0) 68%); animation-duration: 11s; }
.hero__blob--3::before { background: radial-gradient(circle, rgba(140, 200, 255, 0.4), rgba(140, 200, 255, 0) 68%); animation-duration: 13s; }
@keyframes hero-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -24px, 0) scale(1.08); }
}
.main-left > h1 {
  font-size: clamp(2.5rem, 7.4vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
  padding-top: clamp(7rem, 15vw, 11rem);
  color: #0a0a0a;
}
.main-left > h1 .hl {
  color: #0881ff;
}
.main-btm > p {
  max-width: 640px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.5;
  padding-top: clamp(2rem, 5vw, 6rem);
}

/* min-height instead of a fixed height so content is never cut off */
.feature {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

/* =========================================================
   FEATURED CASE SECTION
   ========================================================= */
.featured {
  --pad: 24px;
  --f-text: #111111;
  --f-btn: #2b2b2b;
  --f-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  width: 100%;
  max-width: 1229px;
  margin: 0 auto;
  padding: 0 var(--pad);
  color: var(--f-text);
}
/* the global * rule sets Manrope, so this section sets its own font */
.featured,
.featured * {
  font-family: var(--f-font);
}

.featured__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  border-bottom: 1px solid var(--f-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.featured__dash {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--f-text);
}

.featured__grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  column-gap: 41px;
  margin-top: 41px;
  align-items: stretch;
}
.featured__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured__title {
  font-size: 44px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.featured__tag {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 4px;
  border: 1px solid var(--f-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.featured__highlights {
  margin-top: 20px;
}
.featured__highlights h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 6px;
  border-bottom: 2px solid #b9b9b9;
}
.featured__highlights ul {
  list-style: none;
  margin-top: 8px;
}
.featured__highlights li {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.featured__highlights li::before {
  content: "\00B7";
  flex: none;
  font-weight: 600;
}
.featured__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 32px;
  margin-top: 40px;
  background: var(--f-btn);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.featured__btn:hover {
  background: #0881ff;
}
.featured__btn:focus-visible {
  outline: 2px solid var(--f-text);
  outline-offset: 3px;
}
.featured__media {
  background: #0b0b0b;
  overflow: hidden;
  aspect-ratio: 802 / 558;
}
.featured__media img,
.featured__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .feature {
    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 0;
  }
  .main-btm > p br {
    display: none;
  }
  .featured__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .featured__title {
    font-size: 40px;
  }
  .featured__media {
    order: -1;
  }
  .featured__btn {
    margin-top: 28px;
  }
}
@media (max-width: 480px) {
  .featured__bar {
    font-size: 11px;
  }
  .featured__title {
    font-size: 34px;
  }
  .featured__btn {
    width: 100%;
  }
}

/* =========================================================
   STATEMENT SECTION
   ========================================================= */
.statement {
  --st-text: #0a0a0a;
  --st-accent: #0881ff;
  --st-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
  color: var(--st-text);
}
.statement,
.statement * {
  font-family: var(--st-font);
}

.statement__title {
  max-width: 920px;
  font-size: clamp(38px, 6.2vw, 74px);
  font-weight: 500;
  line-height: 1.11;
  letter-spacing: -0.045em;
}
.statement__accent {
  color: var(--st-accent);
}
.statement__lead {
  max-width: 980px;
  margin-top: 36px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.statement__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  list-style: none;
  border-top: 1px solid var(--st-text);
  border-bottom: 1px solid var(--st-text);
}
.statement__card {
  padding: 32px 0 32px 32px;
}
.statement__card + .statement__card {
  border-left: 1px solid var(--st-text);
}
.statement__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid var(--st-accent);
  color: var(--st-accent);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.statement__card-title {
  margin-top: 31px;
  font-size: clamp(18px, 1.92vw, 24px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.04em;
}
.statement__card-text {
  max-width: 345px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.63;
  letter-spacing: -0.02em;
}

/* keep the design's line breaks on desktop */
@media (min-width: 901px) {
  .statement__card-title {
    white-space: nowrap;
  }
}
@media (max-width: 900px) {
  .statement__br {
    display: none;
  }
  .statement__title {
    letter-spacing: -0.04em;
  }
  .statement__grid {
    grid-template-columns: 1fr;
  }
  .statement__card {
    padding: 28px 0;
  }
  .statement__card + .statement__card {
    border-left: 0;
    border-top: 1px solid var(--st-text);
  }
  .statement__card-title {
    font-size: 24px;
  }
  .statement__card-text {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .statement__lead {
    font-size: 20px;
  }
  .statement__card-title {
    font-size: 22px;
  }
}
@media (max-width: 360px) {
  .statement__title {
    font-size: 34px;
  }
}

/* =========================================================
   HOW I WORK SECTION
   ========================================================= */
.how {
  --h-text: #0a0a0a;
  --h-soft: rgba(10, 10, 10, 0.88);
  --h-accent: #0881ff;
  --h-line: #e0e0e0;
  --h-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: var(--h-text);
}
.how,
.how * {
  font-family: var(--h-font);
}

.how__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--h-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.how__bar h2 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.how__dash {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--h-text);
}

.how__grid {
  display: grid;
  grid-template-columns: 36.67% 63.33%;
  margin-top: 24px;
}
.how__intro {
  padding-top: 16px;
}
.how__title {
  max-width: 380px;
  font-size: 26px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.035em;
}
.how__lead {
  max-width: 380px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: var(--h-soft);
}

.how__steps {
  list-style: none;
}
.how__step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  padding: 17px 0 16px;
}
.how__step + .how__step {
  border-top: 1px solid var(--h-line);
}
.how__index {
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: var(--h-accent);
}
.how__step-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.03em;
}
.how__step-text {
  max-width: 560px;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--h-soft);
}

@media (max-width: 900px) {
  .how {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .how__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .how__intro {
    padding-top: 0;
  }
  .how__title {
    font-size: 24px;
  }
  .how__step {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .how__lead {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .how__bar {
    font-size: 11px;
  }
  .how__step {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .how__step-title {
    font-size: 18px;
    line-height: 24px;
  }
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact {
  --c-text: #0a0a0a;
  --c-accent: #0881ff;
  --c-card: #e5e2db;
  --c-card-line: #c9c6bd;
  --c-line: #e0e0e0;
  --c-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
  color: var(--c-text);
}
.contact,
.contact * {
  font-family: var(--c-font);
}

.contact__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 100px 100px;
  background: var(--c-card);
  border: 1px solid var(--c-card-line);
}
/* all real content sits above the animated background layer */
.contact__card > *:not(.contact__bg) {
  position: relative;
  z-index: 1;
}

/* ---- card background animation ----
   desktop: starts on hover (or keyboard focus inside the card)
   touch:   runs while the card is on screen (class .is-live added by script.js) */
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.contact__grid,
.contact__orb,
.contact__sweep {
  position: absolute;
  display: block;
  animation-play-state: paused;
}
.contact__grid {
  inset: 0;
  background-image: radial-gradient(rgba(8, 129, 255, 0.38) 1.2px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(280px circle at var(--cx, 50%) var(--cy, 50%), #000, transparent);
  mask-image: radial-gradient(280px circle at var(--cx, 50%) var(--cy, 50%), #000, transparent);
  animation: contact-grid 6s linear infinite;
}
.contact__orb {
  border-radius: 50%;
  animation: contact-drift 7s ease-in-out infinite alternate;
}
.contact__orb--1 {
  width: 460px;
  height: 460px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(8, 129, 255, 0.3), rgba(8, 129, 255, 0) 68%);
}
.contact__orb--2 {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(60, 160, 255, 0.28), rgba(60, 160, 255, 0) 68%);
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}
.contact__sweep {
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-150%) skewX(-18deg);
  animation: contact-sweep 3.6s ease-in-out infinite;
}
.contact__card:is(:hover, :focus-within, .is-live) .contact__bg {
  opacity: 1;
}
.contact__card:is(:hover, :focus-within, .is-live) :is(.contact__grid, .contact__orb, .contact__sweep) {
  animation-play-state: running;
}
@keyframes contact-grid {
  to { background-position: 26px 26px; }
}
@keyframes contact-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, -40px, 0) scale(1.15); }
}
@keyframes contact-sweep {
  from { transform: translateX(-150%) skewX(-18deg); }
  to { transform: translateX(350%) skewX(-18deg); }
}
/* touch screens have no cursor: show the whole dot grid softly */
@media (hover: none) {
  .contact__grid {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.55;
  }
}

.contact__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.contact__dash {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--c-text);
}
.contact__title {
  margin-top: 20px;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 400;
  line-height: 1.125;
  letter-spacing: -0.04em;
}
.contact__accent {
  color: var(--c-accent);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.contact__btn svg,
.contact__mail-arrow {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-45deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.contact__btn--dark {
  background: var(--c-text);
}
.contact__btn--accent {
  background: var(--c-accent);
}
.contact__btn--dark:is(:hover, :focus-visible) {
  background: var(--c-accent);
}
.contact__btn--accent:is(:hover, :focus-visible) {
  background: var(--c-text);
}
.contact__btn:is(:hover, :focus-visible) svg {
  transform: rotate(0deg);
}
.contact__btn:focus-visible,
.contact__mail:focus-visible {
  outline: 2px solid var(--c-text);
  outline-offset: 3px;
}

.contact__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 36px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.contact__dot {
  width: 6px;
  height: 6px;
  background: var(--c-accent);
}

.contact__mail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 100px;
  padding: 27px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  color: inherit;
  text-decoration: none;
}
.contact__mail-label {
  justify-self: start;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.contact__mail-address {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}
.contact__mail-arrow {
  justify-self: end;
  color: #666666;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s ease;
}
.contact__mail:is(:hover, :focus-visible) .contact__mail-address,
.contact__mail:is(:hover, :focus-visible) .contact__mail-arrow {
  color: var(--c-accent);
}
.contact__mail:is(:hover, :focus-visible) .contact__mail-arrow {
  transform: rotate(0deg);
}

@media (max-width: 900px) {
  .contact__card {
    padding: 64px 40px;
  }
  .contact__br {
    display: none;
  }
  .contact__mail {
    grid-template-columns: 1fr auto;
    row-gap: 14px;
    margin-top: 64px;
  }
  .contact__mail-address {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: clamp(22px, 5.6vw, 40px);
    text-align: left;
  }
  .contact__mail-arrow {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 560px) {
  .contact__card {
    padding: 48px 24px;
  }
  .contact__actions .contact__btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .contact__mail {
    margin-top: 48px;
  }
}
@media (max-width: 480px) {
  .contact__card {
    padding: 40px 20px;
  }
}
@media (max-width: 360px) {
  .contact__title {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact * {
    transition: none !important;
  }
  .contact__grid,
  .contact__orb,
  .contact__sweep {
    animation: none !important;
  }
}

/* =========================================================
   CONTACT FORM SECTION
   ========================================================= */
.cform {
  --cf-text: #0a0a0a;
  --cf-soft: rgba(10, 10, 10, 0.7);
  --cf-accent: #0881ff;
  --cf-line: #d6d6d6;
  --cf-row: #e0e0e0;
  --cf-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  width: calc(100% - 48px);
  max-width: 1200px;
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  color: var(--cf-text);
}
.cform,
.cform * {
  font-family: var(--cf-font);
}

.cform__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cf-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.cform__bar h2 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.cform__dash {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--cf-text);
}

.cform__grid {
  display: grid;
  grid-template-columns: 36.67% 63.33%;
  margin-top: 40px;
}
.cform__intro {
  padding-right: 40px;
}
.cform__title {
  max-width: 380px;
  font-size: 26px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.035em;
}
.cform__lead {
  max-width: 380px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: var(--cf-soft);
}
.cform__details {
  max-width: 380px;
  margin-top: 40px;
  list-style: none;
  border-bottom: 1px solid var(--cf-row);
}
.cform__details li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--cf-row);
}
.cform__details-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
  text-transform: uppercase;
}
.cform__details a {
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}
.cform__details a:is(:hover, :focus-visible) {
  color: var(--cf-accent);
}

.cform__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.cform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.cform__field--full {
  grid-column: 1 / -1;
}
.cform__field label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.cform__input {
  width: 100%;
  padding: 8px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cf-line);
  border-radius: 0;
  color: var(--cf-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.cform__input::placeholder {
  color: rgba(10, 10, 10, 0.6);
}
.cform__input:focus {
  outline: none;
  border-bottom-color: var(--cf-accent);
  box-shadow: 0 1px 0 0 var(--cf-accent);
}
.cform__input:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 2px;
}
.cform__input:user-invalid {
  border-bottom-color: #d92d20;
}
.cform__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%230a0a0a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 12px;
  cursor: pointer;
}
.cform__textarea {
  min-height: 120px;
  resize: vertical;
}

.cform__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.cform__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  background: var(--cf-text);
  border: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.cform__btn svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-45deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cform__btn:is(:hover, :focus-visible) {
  background: var(--cf-accent);
}
.cform__btn:is(:hover, :focus-visible) svg {
  transform: rotate(0deg);
}
.cform__btn:focus-visible {
  outline: 2px solid var(--cf-text);
  outline-offset: 3px;
}
.cform__note {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--cf-soft);
}
.cform__status {
  grid-column: 1 / -1;
  min-height: 16px;
  margin-top: -12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--cf-accent);
}

@media (max-width: 900px) {
  .cform__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .cform__intro {
    padding-right: 0;
  }
}
@media (max-width: 560px) {
  .cform__form {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cform__input {
    font-size: 18px; /* 16px+ stops iOS zooming into inputs */
  }
  .cform__lead {
    font-size: 14px;
  }
  .cform__details li {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .cform__bar {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cform * {
    transition: none !important;
  }
}

/* =========================================================
   3D FOOTER
   ========================================================= */
.foot {
  --ft-bg: #0a0a0a;
  --ft-text: #f4f4f2;
  --ft-soft: rgba(244, 244, 242, 0.6);
  --ft-line: rgba(244, 244, 242, 0.18);
  --ft-accent: #0881ff;
  --ft-font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 6rem;
  background: var(--ft-bg);
  color: var(--ft-text);
}
.foot,
.foot * {
  font-family: var(--ft-font);
}

/* three.js canvas sits behind everything */
.foot__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.35;
}
.foot__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 0 32px;
  pointer-events: none; /* mouse reaches the canvas; re-enabled on links below */
}
.foot a {
  pointer-events: auto;
}

.foot__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ft-line);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
}
.foot__dash {
  width: 16px;
  height: 1px;
  background: var(--ft-text);
}

.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
}
.foot__title {
  max-width: 640px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.foot__title .foot__accent {
  color: var(--ft-accent);
}
.foot__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  background: var(--ft-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.foot__cta svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-45deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.foot__cta:is(:hover, :focus-visible) {
  background: #fff;
  color: #0a0a0a;
}
.foot__cta:is(:hover, :focus-visible) svg {
  transform: rotate(0deg);
}

.foot__marquee {
  overflow: hidden;
  margin-top: 64px;
  border-top: 1px solid var(--ft-line);
  border-bottom: 1px solid var(--ft-line);
  padding: 14px 0;
}
.foot__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: foot-marquee 28s linear infinite;
}
.foot__track span {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.foot__track i {
  width: 6px;
  height: 6px;
  background: var(--ft-accent);
}
@keyframes foot-marquee {
  to {
    transform: translateX(-50%);
  }
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 120px;
  padding-top: 20px;
  border-top: 1px solid var(--ft-line);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ft-soft);
}
.foot__links {
  display: flex;
  gap: 24px;
}
.foot__links a {
  color: inherit;
  transition: color 0.25s ease;
}
.foot__links a:is(:hover, :focus-visible) {
  color: var(--ft-accent);
}

@media (max-width: 900px) {
  .foot {
    margin-top: 4rem;
  }
  .foot__inner {
    padding-top: 64px;
  }
  .foot__canvas {
    opacity: 0.3;
  }
  .foot__bottom {
    margin-top: 72px;
  }
}
@media (max-width: 560px) {
  .foot__inner {
    padding-top: 56px;
  }
  .foot__top {
    margin-top: 32px;
  }
  .foot__cta {
    width: 100%;
    justify-content: space-between;
  }
  .foot__links {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .foot__bottom {
    margin-top: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .foot__track {
    animation: none;
  }
  .foot * {
    transition: none !important;
  }
}

/* =========================================================
   MOBILE NAV: black full-screen menu, slides in from the right
   Placed last so it wins over the desktop navbar rules above
   ========================================================= */
html.menu-open {
  overflow: hidden;
}
@media (max-width: 860px) {
  .nav-logo,
  .nav-toggle {
    position: relative;
    z-index: 2; /* stay above the black panel */
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: #0a0a0a;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.3s ease;
  }
  .navbar.is-open .nav-toggle span {
    background: #fff;
    transition-delay: 0.2s;
  }
  .navbar.is-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .navbar.is-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .navbar.is-open .nav-logo > a {
    color: #fff;
    transition-delay: 0.2s;
  }

  .nav-menu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 96px var(--gut) 48px;
    background: #0a0a0a;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.65s;
  }
  .navbar.is-open .nav-menu {
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-links {
    flex-direction: column;
    gap: 14px;
  }
  .nav-links > a,
  .nav-btn > a {
    color: #fff;
    opacity: 0;
    transform: translateX(48px);
    transition: color 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links > a {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
  }
  .nav-btn > a {
    font-size: 18px;
  }
  .nav-links > a:hover,
  .nav-btn > a:hover {
    color: #0881ff;
  }
  .navbar.is-open .nav-links > a,
  .navbar.is-open .nav-btn > a {
    opacity: 1;
    transform: none;
    transition: color 0.3s ease, opacity 0.5s ease 0.25s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s;
  }
  .navbar.is-open .nav-links > a:nth-child(2) { transition-delay: 0s, 0.32s, 0.32s; }
  .navbar.is-open .nav-links > a:nth-child(3) { transition-delay: 0s, 0.39s, 0.39s; }
  .navbar.is-open .nav-btn > a { transition-delay: 0s, 0.46s, 0.46s; }
}
@media (max-width: 700px) {
  .main-left > h1 br {
    display: none;
  }
  .hero__blob--1 { width: 360px; height: 360px; }
  .hero__blob--2 { width: 420px; height: 420px; }
  .hero__blob--3 { width: 300px; height: 300px; }
}
@media (max-width: 360px) {
  .nav-logo > a {
    font-size: 18px;
  }
}
@media (min-width: 1700px) {
  .main-left > h1 {
    font-size: 5.6rem;
  }
}

/* =========================================================
   BLUE CIRCLE CURSOR (created by script.js, mouse devices only)
   ========================================================= */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid #0881ff;
  border-radius: 50%;
  background: rgba(8, 129, 255, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease, background-color 0.3s ease;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-active {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(8, 129, 255, 0.35);
}
.cursor.is-down {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* =========================================================
   HERO ON PHONES: bigger, always-visible background motion
   (kept at the very end so it wins over the earlier hero rules)
   ========================================================= */
@media (max-width: 700px) {
  .hero__blob::before {
    animation-name: hero-float-lg;
  }
  .hero__spot {
    -webkit-mask-image: radial-gradient(170px circle at var(--mx, 50%) var(--my, 45%), #000, transparent);
    mask-image: radial-gradient(170px circle at var(--mx, 50%) var(--my, 45%), #000, transparent);
  }
}
@keyframes hero-float-lg {
  from { transform: translate3d(-24px, 12px, 0) scale(0.95); }
  to { transform: translate3d(40px, -34px, 0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__blob::before {
    animation: none;
  }
}
/* =========================================================
   404 PAGE
   ========================================================= */
.nf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px var(--gut) 48px;
  color: #0a0a0a;
}
.nf__code { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: #0057b8; }
.nf h1 { font-size: clamp(2.2rem, 7vw, 4.5rem); letter-spacing: -0.05em; line-height: 1.05; }
.nf p { max-width: 520px; font-size: 16px; line-height: 1.5; }
.nf a { color: #0057b8; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
