/* ════════════════════════════════════════════
   Ekarigar — light editorial theme
   ════════════════════════════════════════════ */

:root {
  --bg: #f6f5f1;
  --bg-soft: #efede7;
  --ink: #131312;
  --ink-soft: #5b5a55;
  --line: rgba(19, 19, 18, 0.12);
  --accent: #4338f0;
  --accent-ink: #ffffff;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 20px;
  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
sup { font-size: 0.45em; vertical-align: super; }

.container {
  width: min(var(--container), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary::after,
.btn--ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn--primary:hover::after,
.btn--ghost:hover::after { transform: translateY(0); }
.btn--primary:hover { color: #fff; }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { color: #fff; border-color: var(--accent); }

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  animation: pulse 2.4s ease-in-out infinite;
}
.dot--light { background: #aab0ff; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.5; }
}

/* ── Loader ──────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: flex-end;
}
.loader__inner {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--pad);
  font-family: var(--font-display);
}
.loader__word { font-size: clamp(28px, 4vw, 48px); font-weight: 700; }
.loader__count {
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 700;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

/* ── Page-transition curtain ─────────────── */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  transform: translateY(101%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.curtain__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px);
  color: var(--bg);
  opacity: 0;
}
/* arriving from an internal link: start covered, JS reveals */
.pt-in .curtain { transform: translateY(0); }

/* ── Page hero (subpages) ────────────────── */
.page-hero {
  padding: clamp(150px, 24vh, 240px) 0 clamp(48px, 8vh, 90px);
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-top: 18px;
}
.page-hero__title .muted { color: var(--ink-soft); }
.page-hero__sub {
  max-width: 560px;
  margin-top: 28px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-soft);
}

/* ── Nav ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transform: translate(0px, 0) !important; /* nav stays visible; overrides .nav--hidden */
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav--scrolled {
  background: rgba(246, 245, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav--hidden { transform: translateY(-110%); }
.nav__inner {
  width: min(var(--container), 100% - var(--pad) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 40px;
  width: auto;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__logo:hover img { transform: translateY(-3px) rotate(-6deg); }
.nav__links { display: flex; gap: 32px; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 11px 22px; font-size: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 60;
}
.nav__burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ── Mobile menu ─────────────────────────── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s 0.6s;
}
.menu.is-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.menu__links { display: flex; flex-direction: column; gap: 8px; }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.15s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.21s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.27s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.33s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.39s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: 0.45s; }
.menu__link em {
  font-style: normal;
  font-size: 14px;
  color: var(--accent);
  font-family: var(--font-body);
}
.menu__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ── Flight canvas (scroll-following plane) ── */
#flight-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
/* content paints above the plane; it shows through transparent-bg sections */
main { position: relative; z-index: 2; }
.footer { position: relative; z-index: 2; }

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(16px, 3vh, 32px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 10.5vw, 152px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: clamp(28px, 5vh, 56px);
}
.hero__line { display: block; overflow: hidden; }
.hero__line > .hero__line-inner { display: block; }
.hero__line--accent { color: var(--accent); }
.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 7vh, 80px);
}
.hero__sub {
  max-width: 480px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-soft);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: clamp(20px, 3vh, 36px) 0 clamp(28px, 4vh, 48px);
  gap: 24px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  display: block;
}

.hero__scrollhint {
  position: absolute;
  right: var(--pad);
  bottom: 140px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
}
.hero__scrollbar {
  width: 1px; height: 56px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scrollbar i {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--accent);
  animation: scrolldrip 1.8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}
@keyframes scrolldrip {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(280%); }
}

/* ── Clients marquee ─────────────────────── */
.clients {
  padding: clamp(48px, 8vh, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}
.clients__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.marquee { overflow: hidden; white-space: nowrap; }
.marquee + .marquee { margin-top: clamp(20px, 3vh, 36px); }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  padding-right: clamp(40px, 5vw, 80px);
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee__track img {
  height: clamp(34px, 4.5vw, 56px);
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  mix-blend-mode: multiply;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.marquee__track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Section heads ───────────────────────── */
.section-head { margin-bottom: clamp(40px, 7vh, 80px); }
.section-head__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.section-head__title .muted { color: var(--ink-soft); }
.line-reveal { display: block; }

/* ── Services ────────────────────────────── */
.services { padding: clamp(80px, 14vh, 160px) auto; padding-block: clamp(80px, 14vh, 160px); }
.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1.1fr 1fr 60px;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vh, 40px) 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.4s ease, padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover { background: #fff; padding-left: 28px; }
.service__idx {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.service__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.service:hover .service__name { color: var(--accent); }
.service__desc {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 460px;
}
.service__arrow {
  font-size: 24px;
  justify-self: end;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover .service__arrow { transform: translateX(8px) rotate(-45deg); }
.service::before {
  content: attr(data-tag);
  position: absolute;
  top: 10px;
  left: 116px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.service:hover::before { opacity: 1; transform: none; }

/* ── Tech stack ──────────────────────────── */
.stack {
  margin-top: clamp(40px, 7vh, 72px);
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.stack__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 10px;
  white-space: nowrap;
}
.stack__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 880px;
}
.stack__list li {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.stack__list li:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ── About ───────────────────────────────── */
.about {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  padding: clamp(90px, 15vh, 180px) 0;
  border-radius: clamp(24px, 4vw, 48px);
  margin-inline: clamp(8px, 1vw, 16px);
  overflow: hidden;
}
.about__canvas {
  position: absolute;
  top: 0; right: 0;
  width: min(640px, 70vw);
  height: min(640px, 70vw);
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}
.about__content { position: relative; z-index: 1; }
.about .section-head__eyebrow { color: rgba(246, 245, 241, 0.55); }
.about__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 1080px;
  margin-bottom: clamp(56px, 9vh, 110px);
}
.about__statement .w {
  display: inline-block;
  opacity: 0.18;
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.about__card {
  border: 1px solid rgba(246, 245, 241, 0.14);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}
.about__card:hover {
  border-color: var(--accent);
  background: rgba(67, 56, 240, 0.12);
  transform: translateY(-6px);
}
.about__card-num {
  font-family: var(--font-display);
  color: var(--accent);
  filter: brightness(1.6);
  font-size: 15px;
  font-weight: 600;
}
.about__card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin: 14px 0 10px;
}
.about__card p { font-size: 14.5px; color: rgba(246, 245, 241, 0.65); }

/* ── Badges ──────────────────────────────── */
.badges { margin-top: clamp(48px, 8vh, 96px); }
.badges__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 245, 241, 0.55);
  margin-bottom: 24px;
}
.badges__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 20px);
}
.badge {
  background: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -16px rgba(67, 56, 240, 0.55);
}
.badge img {
  height: clamp(36px, 4vw, 52px);
  width: auto;
  object-fit: contain;
}

/* ── Process ─────────────────────────────── */
.process { position: relative; }
.process__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(36px, 6vh, 64px);
  padding: clamp(70px, 10vh, 120px) 0;
  overflow: hidden;
}
.process__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--pad), (100vw - var(--container)) / 2);
  width: max-content;
}
.pcard {
  width: clamp(280px, 30vw, 420px);
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  min-height: clamp(280px, 38vh, 360px);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -24px rgba(19, 19, 18, 0.18);
}
.pcard__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: auto;
}
.pcard h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.pcard p { color: var(--ink-soft); font-size: 15px; }

/* ── Team ────────────────────────────────── */
.team { padding-block: clamp(80px, 14vh, 160px); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.tcard { position: relative; }
.tcard__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  margin-bottom: 18px;
}
.tcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9);
  transform: scale(1.02);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.tcard:hover .tcard__photo img {
  filter: grayscale(0);
  transform: scale(1.07);
}
.tcard h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tcard p { font-size: 14px; color: var(--ink-soft); }

/* ── Process grid (subpages, unpinned) ───── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(40px, 7vh, 80px);
}
.process-grid .pcard { width: auto; min-height: clamp(240px, 30vh, 320px); }

/* ── Client logo wall ────────────────────── */
.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.wall__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(16px, 3vw, 36px);
  transition: background 0.35s ease;
}
.wall__cell:hover { background: #fff; }
.wall__cell img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  mix-blend-mode: multiply;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.wall__cell:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* ── Contact page ────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(40px, 7vh, 80px);
}
.form__row { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.form__row label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form__row input,
.form__row select,
.form__row textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 2px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus { border-color: var(--accent); }
.form__row textarea { resize: vertical; min-height: 120px; }
.form button.btn { border: 0; cursor: pointer; margin-top: 8px; }

.info-cards { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 30px);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.info-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.info-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.info-card p, .info-card a { font-size: 16.5px; line-height: 1.6; }
.info-card a:hover { color: var(--accent); }

.map {
  width: 100%;
  height: clamp(280px, 40vh, 420px);
  border: 0;
  border-radius: var(--radius);
  margin-block: clamp(40px, 7vh, 80px);
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.4s ease;
}
.map:hover { filter: grayscale(0); }

/* ── CTA ─────────────────────────────────── */
.cta {
  position: relative;
  background: var(--accent);
  color: #fff;
  padding: clamp(90px, 16vh, 200px) 0 clamp(70px, 10vh, 120px);
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
  margin-top: clamp(40px, 8vh, 100px);
  overflow: hidden;
}
.cta__canvas {
  position: absolute;
  top: -5%; right: -8%;
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.cta .container { position: relative; z-index: 1; }
.cta__eyebrow { color: rgba(255, 255, 255, 0.7); }
.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: clamp(32px, 6vh, 64px);
}
.cta__mail {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 34px);
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.cta__mail:hover { border-color: #fff; gap: 22px; }
.cta__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: clamp(56px, 10vh, 110px);
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.cta__meta h4 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
}
.cta__meta p { font-size: 15.5px; line-height: 1.7; }
.cta__meta a { border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: border-color 0.3s; }
.cta__meta a:hover { border-color: #fff; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--accent); color: #fff; padding: 28px 0 40px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 28px;
}
.footer__plane {
  position: absolute;
  right: clamp(28px, 9vw, 140px);
  top: -20px;
  width: 56px;
  opacity: 0;
  pointer-events: none;
}
.footer__plane svg { width: 100%; height: auto; display: block; }
.footer__logo { display: flex; align-items: center; }
.footer__logo img { height: 36px; width: auto; }
.footer__links { display: flex; gap: 22px; font-size: 14px; }
.footer__links a { opacity: 0.75; transition: opacity 0.3s; }
.footer__links a:hover { opacity: 1; }
.footer__copy { font-size: 13px; opacity: 0.6; }

/* ════════ Responsive ════════ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero { padding-top: 100px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__scrollhint { display: none; }

  .service {
    grid-template-columns: 48px 1fr 32px;
    grid-template-areas: "idx name arrow" ". desc arrow";
    row-gap: 8px;
  }
  .service__idx { grid-area: idx; }
  .service__name { grid-area: name; }
  .service__desc { grid-area: desc; }
  .service__arrow { grid-area: arrow; }
  .service::before { display: none; }
  .service:hover { padding-left: 12px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__canvas { opacity: 0.35; }

  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tcard h3 { font-size: 17px; }

  .stack { flex-direction: column; gap: 16px; }
  .cta__canvas { opacity: 0.4; }

  /* Process falls back to vertical stack on mobile */
  .process__pin { min-height: auto; }
  .process__track {
    flex-direction: column;
    width: auto;
    padding-inline: var(--pad);
  }
  .pcard { width: 100%; min-height: auto; }

  .cta__meta { grid-template-columns: 1fr; gap: 28px; }

  .process-grid { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__plane { width: 44px; }
}

@media (max-width: 520px) {
  .hero__title { font-size: clamp(44px, 13vw, 64px); }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
}

/* ════════ Reduced motion ════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loader { display: none; }
}
