/* ==========================================================================
   Halosoft Labs — landing page
   Mobile-first. Breakpoints: 640 / 960 / 1280
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #07080b;
  --bg-2: #0a0c10;
  --surface: #0f1117;
  --surface-2: #151822;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0f4;
  --muted: #9aa0ad;
  --dim: #6c7280;
  --cream: #f4f1ea;

  --gold: #ffd27a;
  --coral: #ff7a59;
  --iris: #8b7bff;
  --ok: #6ee7a8;
  --halo: linear-gradient(100deg, var(--gold) 0%, var(--coral) 48%, var(--iris) 100%);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  --gutter: 16px;
  --radius: 22px;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
::selection { background: rgba(255, 162, 104, .35); color: #fff; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cream);
  color: #0a0b0f;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - var(--gutter) * 2, 1240px);
  margin-inline: auto;
}

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

/* ---------- Typography ---------- */
h2 {
  font-size: clamp(2.1rem, 7.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 600;
  text-wrap: balance;
}

h2 em, .hero__line--serif em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  padding-right: .06em;
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--halo);
}

.shead { max-width: 760px; margin-bottom: clamp(40px, 7vw, 72px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead__text {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.125rem);
  max-width: 600px;
  text-wrap: pretty;
}
.shead--center .shead__text { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  isolation: isolate;
  transition: transform .35s var(--ease-out), background-color .25s, border-color .25s, box-shadow .35s;
  will-change: transform;
}
.btn .ico { transition: transform .35s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--cream);
  color: #0a0b0f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 12px 40px -12px rgba(255, 150, 90, .55);
}
/* rotating halo glow behind primary buttons */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), var(--gold), var(--coral), var(--iris), var(--gold));
  filter: blur(10px);
  opacity: .55;
  animation: spin 4s linear infinite;
  transition: opacity .35s, filter .35s;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--cream);
}
.btn--primary:hover::before { opacity: .95; filter: blur(14px); }

.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }

@keyframes spin { to { --angle: 360deg; } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 6px rgba(255, 150, 100, .45)); }
.logo__word {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.045em;
}
.logo__word span {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(7, 8, 11, .74);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  transition: border-color .25s, background-color .25s;
}
.lang:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); }
.lang .ico { width: 15px; height: 15px; color: var(--muted); }
.lang__opt { transition: color .25s; }
.lang__opt.is-on { color: var(--text); }
.lang__sep { opacity: .5; }

.burger {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .4s var(--ease-out);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.mmenu {
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  height: calc(100dvh - var(--nav-h));
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background:
    radial-gradient(80% 50% at 100% 100%, rgba(139, 123, 255, .12), transparent 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(255, 122, 89, .1), transparent 70%),
    var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mmenu[hidden] { display: none; }
.mmenu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  animation: menuIn .6s var(--ease-out) forwards;
}
.mmenu__links a:nth-child(2) { animation-delay: .04s; }
.mmenu__links a:nth-child(3) { animation-delay: .08s; }
.mmenu__links a:nth-child(4) { animation-delay: .12s; }
.mmenu__links a:nth-child(5) { animation-delay: .16s; }
.mmenu__links span { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.mmenu__links b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; }
.mmenu__foot { display: grid; gap: 16px; padding-top: 32px; text-align: center; }
.mmenu__mail { color: var(--muted); font-family: var(--font-mono); font-size: 14px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 10%, transparent 75%);
}
.hero::before {
  /* warm ambient wash */
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  z-index: -3;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(255, 122, 89, .14), transparent 70%),
    radial-gradient(40% 50% at 72% 28%, rgba(139, 123, 255, .16), transparent 70%);
  filter: blur(20px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(56px, 10vw, 110px);
}
.hero__halo-anchor {
  width: 100%;
  height: clamp(150px, 30vw, 250px);
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.5rem, 12.5vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 650;
}
.hero__line { display: block; }
.hero__line--serif { margin-top: .04em; }
.hero__line--serif em {
  font-size: 1.08em;
  letter-spacing: -.02em;
  line-height: 1;
}

/* Rotating word: block (own line) on small/medium screens, inline on wide */
.rotator {
  position: relative;
  display: block;
  transition: width .7s var(--ease-out);
}
.rotator__word {
  display: block;
  white-space: nowrap;
  text-align: center;
  transition: transform .8s var(--ease-out), opacity .7s var(--ease-out), filter .7s var(--ease-out);
}
.rotator__word:not(.is-active) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(.32em);
  filter: blur(10px);
}
.rotator__word.is-out { transform: translateY(-.32em); }
.rotator__ink {
  padding: 0 .04em .1em 0;
  background: linear-gradient(100deg, #fff 5%, #ffe2b3 45%, #d9d2ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin-top: 26px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.hero__ctas .btn { flex: 1 1 200px; max-width: 260px; }
.hero__meta {
  margin-top: 40px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: left;
}
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta .ico { color: var(--gold); width: 16px; height: 16px; }

/* hero entrance */
[data-enter] {
  animation: enter 1.1s var(--ease-out) both;
  animation-delay: calc(.25s + var(--i, 0) * .09s);
}
@keyframes enter {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Stack marquee ---------- */
.stack {
  padding: 28px 0 32px;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015));
}
.stack__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
  padding-inline: var(--gutter);
}
.marquee {
  overflow: hidden;
  -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: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: rgba(238, 240, 244, .55);
  white-space: nowrap;
  transition: color .3s;
}
.marquee__group li:hover { color: var(--text); }
.marquee__group li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--halo);
  opacity: .7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(80px, 13vw, 150px);
}
.section--alt {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(139, 123, 255, .06), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

/* scroll reveal (only when JS is on) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* spotlight hover (cards) */
.spot { --mx: 50%; --my: 50%; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--spot-rgb, 255, 210, 122), .12), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* ---------- Work / projects ---------- */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.project {
  --spot-rgb: var(--brand-rgb);
  --px: 0;
  --py: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .4s, box-shadow .5s, transform .6s var(--ease-out), opacity 1s var(--ease-out);
}
.project:hover {
  border-color: rgba(var(--brand-rgb), .35);
  box-shadow: 0 30px 80px -40px rgba(var(--brand-rgb), .5);
}
.project.is-tilting { transition: border-color .4s, box-shadow .5s, transform .18s ease-out; }
.project__visual {
  position: relative;
  z-index: 1;
  height: clamp(270px, 74vw, 400px);
  overflow: hidden;
  container-type: inline-size;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 70% at 50% 100%, rgba(var(--brand-rgb), .30), transparent 70%),
    radial-gradient(50% 50% at 85% 10%, rgba(var(--brand-rgb), .10), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}
.project__visual::before {
  /* dotted texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
}
.project__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px 26px;
  flex: 1;
}
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ok);
  background: rgba(110, 231, 168, .08);
  border: 1px solid rgba(110, 231, 168, .18);
}
.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: blink 2.4s ease-in-out infinite;
}
.status--soon { color: var(--gold); background: rgba(255, 210, 122, .08); border-color: rgba(255, 210, 122, .2); }
@keyframes blink { 50% { opacity: .35; } }

.project__title {
  font-size: clamp(1.6rem, 5vw, 2rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.project__title span {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: rgb(var(--brand-rgb));
}
.project__body > p { color: var(--muted); font-size: 15.5px; text-wrap: pretty; }
/* brand hairline where the visual meets the body */
.project__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, rgb(var(--brand-rgb)) 50%, transparent);
  opacity: .35;
  transition: opacity .5s;
}
.project:hover .project__visual::after { opacity: 1; }
.project .chips li { border-color: rgba(var(--brand-rgb), .14); background: rgba(var(--brand-rgb), .04); }
.project__head { display: flex; align-items: flex-start; gap: 14px; }
.project__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 2px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgb(var(--brand-rgb));
  background:
    radial-gradient(120% 120% at 30% 0%, rgba(var(--brand-rgb), .28), rgba(var(--brand-rgb), .06) 70%);
  border: 1px solid rgba(var(--brand-rgb), .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -14px rgba(var(--brand-rgb), .7);
  transition: transform .5s var(--ease-out);
}
.project:hover .project__mark { transform: rotate(-6deg) scale(1.05); }

/* key facts strip */
.project__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2px 0 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.project__facts > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 2px;
  padding: 12px 14px;
  min-width: 0;
}
.project__facts > div + div { border-left: 1px solid var(--line); }
.project__facts dd {
  margin: 0;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--text);
}
.project__facts dt {
  font-size: 12px;
  line-height: 1.35;
  color: var(--dim);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #c9cdd6;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.project__link {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
}
.project__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project__go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--brand-rgb));
  background: rgba(var(--brand-rgb), .08);
  border: 1px solid rgba(var(--brand-rgb), .25);
  transition: background .35s, color .35s, border-color .35s;
}
.project:hover .project__go { background: rgb(var(--brand-rgb)); border-color: rgb(var(--brand-rgb)); color: #0b0b0d; }
.project__link .ico { transition: transform .35s var(--ease-out); }
/* whole card is clickable */
.project__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.project:hover .project__link .ico { transform: translate(3px, -3px); }
.project__link:focus-visible { outline: none; }
.project:has(.project__link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

.work__more {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.work__more p { font-size: clamp(1.3rem, 4vw, 1.6rem); font-weight: 600; letter-spacing: -.03em; }

/* ---------- Mockups (scale with card width via container units) ---------- */
.mock {
  position: absolute;
  inset: 0;
  font-size: clamp(8.5px, 2.85cqw, 13px);
  font-family: var(--font-sans);
  line-height: 1.35;
}
.mock > * { transition: transform .7s var(--ease-out); }
.float {
  position: absolute;
  z-index: 3;
  border-radius: 1.1em;
  transform: translate(calc(var(--px) * var(--depth, 1) * 10px), calc(var(--py) * var(--depth, 1) * 10px));
  box-shadow: 0 1.6em 3em -1em rgba(0, 0, 0, .6);
}
.float[data-depth="1.4"] { --depth: 1.4; }
.float[data-depth="1.6"] { --depth: 1.6; }
.float[data-depth="1.8"] { --depth: 1.8; }
.float[data-depth="2"] { --depth: 2; }
.float .ico { width: 1.3em; height: 1.3em; }

/* live-site screenshot in a browser frame, bleeding off the bottom edge */
.shot {
  position: absolute;
  left: 50%;
  top: 2.8em;
  width: 90%;
  translate: -50% 0;
  border-radius: .9em;
  overflow: hidden;
  background: #111318;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1),
    0 2em 4em -1em rgba(0, 0, 0, .75),
    0 0 6em -1em rgba(var(--brand-rgb), .35);
  transform: translate(calc(var(--px) * -6px), calc(var(--py) * -6px));
}
.project:hover .shot { transform: translate(calc(var(--px) * -6px), calc(var(--py) * -6px - 8px)); }
.shot__bar {
  display: flex;
  align-items: center;
  gap: .4em;
  padding: .65em .9em;
  background: #1a1c22;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.shot__bar i { width: .7em; height: .7em; border-radius: 50%; background: #ff6159; }
.shot__bar i:nth-child(2) { background: #ffbd2e; }
.shot__bar i:nth-child(3) { background: #28c941; }
.shot__url {
  margin: 0 auto;
  padding: .25em 1.2em;
  border-radius: .5em;
  background: rgba(255, 255, 255, .06);
  font-family: var(--font-mono);
  font-size: .8em;
  color: #9aa0ad;
  translate: -1.2em 0;
}
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.shot--light .shot__bar { background: #eceef2; border-bottom-color: #e0e2e7; }
.shot--light .shot__url { background: #fff; color: #6b7280; }
/* narrow cards: enlarge the shot and let it bleed off the right edge */
@container (max-width: 600px) {
  .shot { left: 7%; width: 150%; translate: none; }
  .shot__url { margin: 0 0 0 1em; translate: none; }
}

.qr { width: 100%; aspect-ratio: 1; }
.qr svg { width: 100%; height: 100%; }

/* Menued */

.float--qr {
  right: 5%;
  bottom: 8%;
  width: 8em;
  padding: .8em .8em .6em;
  background: #fff;
  color: #111;
  text-align: center;
  font-size: 1em;
  rotate: 6deg;
}
.float--qr span { display: block; margin-top: .4em; font-size: .8em; font-weight: 600; }
.float--ai {
  left: 6%;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .7em 1em;
  background: rgba(20, 20, 24, .85);
  border: 1px solid rgba(246, 178, 27, .35);
  color: #eee;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1em;
  white-space: nowrap;
}
.float--ai .ico { color: #F6B21B; }
.float--ai b { color: #F6B21B; }

/* Palestra Ime */
.float--live {
  right: 7%;
  top: 26%;
  padding: 1em 1.1em;
  background: rgba(14, 14, 14, .9);
  border: 1px solid rgba(198, 255, 61, .3);
  color: #ddd;
  font-size: 1em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.float--live p { display: flex; align-items: center; gap: .45em; white-space: nowrap; }
.float--live b { color: #C6FF3D; font-size: 1.3em; }
.live-dot { width: .55em; height: .55em; border-radius: 50%; background: #C6FF3D; box-shadow: 0 0 .6em #C6FF3D; animation: blink 1.6s infinite; }
.bars { display: flex; align-items: flex-end; gap: .3em; height: 3em; margin-top: .7em; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: .2em; background: linear-gradient(180deg, #C6FF3D, rgba(198, 255, 61, .25)); }

/* Tregu Elektrik */
.float--posted {
  right: 6%;
  bottom: 12%;
  display: flex; align-items: center; gap: .5em;
  padding: .75em 1.1em;
  background: #16181d;
  border: 1px solid rgba(61, 123, 255, .45);
  color: #fff;
  font-size: 1em;
  white-space: nowrap;
}
.float--posted .ico { color: var(--ok); stroke-width: 2.4; }

/* Unifico */
.float--score {
  right: 5%;
  bottom: 8%;
  width: 14em;
  padding: 1em 1.1em;
  background: rgba(14, 16, 24, .92);
  border: 1px solid rgba(91, 140, 255, .45);
  color: #e6e8ee;
  font-size: 1em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.float--score p { display: flex; align-items: center; gap: .4em; font-size: .85em; color: #a9b4ff; }
.score { margin: .4em 0 .5em; display: flex; align-items: baseline; gap: .2em; }
.score b { font-size: 2.2em; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.score span { color: #8088a0; font-size: .9em; }
.meter { height: .4em; border-radius: 1em; background: rgba(255, 255, 255, .1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 92%; border-radius: inherit; background: linear-gradient(90deg, #5B8CFF, #a78bfa); }
.float--score small { display: block; margin-top: .6em; font-size: .75em; color: #8a90a2; }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.service {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .35s, transform .5s var(--ease-out), opacity 1s var(--ease-out);
}
.service:hover { border-color: var(--line-2); }
.service__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(140deg, rgba(255, 210, 122, .6), rgba(255, 122, 89, .25), rgba(139, 123, 255, .6)) border-box;
  border: 1px solid transparent;
  color: var(--gold);
  transition: transform .5s var(--ease-out);
}
.service:hover .service__icon { transform: translateY(-3px) rotate(-6deg); }
.service__icon .ico { width: 22px; height: 22px; }
.service h3 { font-size: 1.3rem; letter-spacing: -.03em; font-weight: 600; }
.service p { margin-top: 10px; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.service__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.service__tags li { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }
.service__tags li::before { content: "/ "; color: rgba(255, 210, 122, .5); }

/* ---------- Deploy / terminal ---------- */
.deploy { display: grid; gap: 48px; align-items: center; }
.deploy .shead__text { margin-bottom: 26px; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: #d6d9e0; }
.ticks .ico {
  margin-top: 3px;
  width: 20px; height: 20px;
  padding: 3px;
  border-radius: 50%;
  color: #0a0b0f;
  background: var(--halo);
  stroke-width: 3;
}

.term {
  position: relative;
  border-radius: 18px;
  background: #090a0e;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .6),
    0 40px 100px -30px rgba(255, 122, 89, .25),
    0 30px 80px -40px rgba(139, 123, 255, .45);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
}
.term::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(139, 123, 255, .1), transparent 60%);
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2d36; }
.term__bar i:nth-child(1) { background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; }
.term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: auto; margin-right: auto; padding-right: 50px; color: var(--dim); font-size: 11.5px; }
.term__body {
  min-height: 260px;
  padding: 18px 16px 22px;
  line-height: 1.95;
  color: #cfd3dc;
}
.term__body p { white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: var(--gold); }
.t-prompt::after { content: " $"; color: var(--dim); }
.t-cmd { color: #fff; }
.t-dim { color: var(--dim); }
.t-ok { color: var(--ok); }
.t-iris { color: #b3a8ff; }
.t-gold { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(255, 210, 122, .35); text-underline-offset: 3px; }
.t-cursor {
  display: inline-block;
  width: .6em;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -.2em;
  background: var(--gold);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.term__body p.t-live { animation: lineIn .35s var(--ease-out); }
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } }

/* ---------- Process ---------- */
.process { display: grid; gap: 48px; }
.process__sticky .btn { margin-top: 28px; }
.steps {
  position: relative;
  padding-left: 46px;
}
.steps__list { display: grid; gap: 18px; }
.steps__line {
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.steps__line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold), var(--coral), var(--iris));
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.step {
  position: relative;
  padding: 22px 22px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  transition: border-color .4s, background-color .4s, transform .9s var(--ease-out), opacity 1s var(--ease-out);
}
.step.is-active { border-color: rgba(255, 210, 122, .28); background: rgba(255, 210, 122, .035); }
.step__num {
  position: absolute;
  left: -46px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  transition: color .4s, border-color .4s, box-shadow .4s, background-color .4s;
}
.step.is-active .step__num {
  color: #0a0b0f;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 210, 122, .12), 0 0 24px rgba(255, 210, 122, .45);
}
.step h3 { font-size: 1.35rem; letter-spacing: -.03em; font-weight: 600; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.step__tags li {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #c9cdd6;
  border: 1px solid var(--line);
}

/* ---------- Studio ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 26px 18px 24px;
  background: var(--bg);
}
.stat dd {
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.05em;
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat dt { color: var(--muted); font-size: 14px; line-height: 1.4; }

.principles {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}
.principle {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.principle__n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--halo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.principle h3 { margin-top: 16px; font-size: 1.25rem; letter-spacing: -.03em; font-weight: 600; }
.principle p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- CTA / Contact ---------- */
.cta { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 110px); }
.cta__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  padding: 30px 20px 24px;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(255, 122, 89, .12), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(139, 123, 255, .14), transparent 60%),
    var(--surface);
}
/* animated gradient border */
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), rgba(255, 255, 255, .08), var(--gold), var(--coral), var(--iris), rgba(255, 255, 255, .08) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 8s linear infinite;
}
.cta__halo {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -150px;
  width: 520px;
  height: 220px;
  translate: -50% 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(from var(--angle), var(--gold), var(--coral), var(--iris), var(--gold)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  filter: blur(1px) drop-shadow(0 0 18px rgba(255, 170, 110, .6));
  opacity: .7;
  animation: spin 6s linear infinite;
  pointer-events: none;
}
.cta__grid { display: grid; gap: 36px; }
.cta__copy h2 { font-size: clamp(2.3rem, 8.5vw, 4.4rem); }
.cta__info { margin-top: 30px; display: grid; gap: 16px; }
.cta__info li { display: flex; align-items: center; gap: 14px; }
.cta__ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: var(--gold);
}
.cta__info div { display: grid; min-width: 0; }
.cta__info small { color: var(--dim); font-size: 12.5px; }
.cta__info a, .cta__info span { font-weight: 500; overflow-wrap: anywhere; }
.cta__info a { transition: color .2s; }
.cta__info a:hover { color: var(--gold); }

/* form */
.form {
  display: grid;
  gap: 18px;
  padding: 22px 18px;
  border-radius: 24px;
  background: rgba(7, 8, 11, .55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.form__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__group legend, .field label {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #d6d9e0;
}
.form small { color: var(--dim); font-weight: 400; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
  font-size: 14px;
  color: #c9cdd6;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
  user-select: none;
}
.chip:hover span { border-color: rgba(255, 255, 255, .28); }
.chip input:checked + span {
  color: #0a0b0f;
  background: var(--cream);
  border-color: var(--cream);
  font-weight: 600;
}
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }

.form__row { display: grid; gap: 18px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(255, 210, 122, .6);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 4px rgba(255, 210, 122, .1);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, .1); }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--muted); text-align: center; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: #ff8a8a; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.footer__top { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 340px; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__col:last-child { grid-column: 1 / -1; }
.footer__col h4 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer__col a { color: #c9cdd6; transition: color .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--text); }
.footer__muted { color: var(--dim); }
.footer__bottom {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--dim);
}
.footer__top-link:hover { color: var(--text); }
.footer__word {
  margin-top: -.12em;
  margin-bottom: -.2em;
  text-align: center;
  font-size: 27vw;
  font-weight: 750;
  letter-spacing: -.07em;
  line-height: .9;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  z-index: 55;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  translate: -50% 0;
  height: 50px;
  padding: 0 24px;
  transform: translateY(160%);
  transition: transform .5s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }

/* ==========================================================================
   ≥ 640px
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 24px; }

  .hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .form { padding: 28px; }
  .cta__card { padding: 44px 36px 36px; }
  .term { font-size: 13px; }
  .term__body { min-height: 290px; padding: 22px 22px 26px; }
  .stat { padding: 30px 24px; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .footer__brand, .footer__col:last-child { grid-column: auto; }
  .sticky-cta { display: none; }
}

/* ==========================================================================
   ≥ 960px
   ========================================================================== */
@media (min-width: 960px) {
  :root { --nav-h: 76px; }

  .nav__links {
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
  }
  .nav__links a {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    transition: color .2s, background-color .2s;
  }
  .nav__links a:hover { color: var(--text); }
  .nav__links a.is-active { color: var(--text); background: rgba(255, 255, 255, .07); }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .mmenu { display: none !important; }

  .hero { min-height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: center; }
  .hero__content { padding-bottom: 90px; }

  .projects { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .project:nth-child(1) { grid-column: span 7; }
  .project:nth-child(2) { grid-column: span 5; }
  .project:nth-child(3) { grid-column: span 5; }
  .project:nth-child(4) { grid-column: span 7; }
  .project__visual { height: 400px; }
  .project__body { padding: 28px 30px 30px; }

  .services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service { padding: 30px 28px 28px; }

  .deploy { grid-template-columns: 1fr 1.1fr; gap: 72px; }

  .stats { grid-template-columns: repeat(4, 1fr); }
  .principles { grid-template-columns: repeat(3, 1fr); }

  .process { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .process__head { position: sticky; top: calc(var(--nav-h) + 48px); }
  .steps { padding-left: 64px; }
  .steps__list { gap: 22px; }
  .steps__line { left: 19px; }
  .step { padding: 28px 30px; }
  .step__num { left: -64px; top: 26px; width: 40px; height: 40px; font-size: 12px; }

  .cta__card { padding: 64px 56px 56px; }
  .cta__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
  .cta__halo { width: 720px; height: 260px; top: -170px; }

  .footer__word { font-size: 24vw; }
}

/* ==========================================================================
   ≥ 1100px — headline goes to two lines with the word inline
   ========================================================================== */
@media (min-width: 1100px) {
  .hero__title { font-size: min(7.1vw, 6.9rem); }
  .rotator { display: inline-block; vertical-align: baseline; }
  .rotator__word { text-align: left; }
  .rotator__word:not(.is-active) { right: auto; }
}

/* ==========================================================================
   ≥ 1280px
   ========================================================================== */
@media (min-width: 1280px) {
  .project__visual { height: 440px; }
}

/* ---------- Motion & input preferences ---------- */
@media (hover: none) {
  .spot::before { display: none; }
}

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