/* ==========================================================================
   Resolvo — Business & Personal Fixer
   Monochrome, chrome accents, slow motion.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */

/* Inter — cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Serif Display — cyrillic */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Noto Serif Display — latin-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Noto Serif Display — latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-display-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #050505;
  --bg-elev: #0b0b0d;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f6;
  --muted: #a1a1aa;
  --dim: #6b6b74;
  --ink: #0a0a0b;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif Display", "Noto Serif", Georgia, "Times New Roman", serif;

  color-scheme: dark;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: #fff; color: #000; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(3.2rem, 1.4rem + 6.6vw, 7.25rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.h2 {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.1rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.display em,
.h2 em,
.quote__text em,
.form__done-head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02em;
  letter-spacing: -0.03em;
  line-height: 0.8;
}

/* Grey-to-white heading treatment from the reference */
.text-grad {
  background: linear-gradient(100deg, #6c6c75 0%, #b9b9c0 32%, #ffffff 62%, #f2f2f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
  padding-right: 0.06em;
}
.text-grad--hero {
  background-image: linear-gradient(100deg, #ffffff 0%, #ffffff 30%, #9a9aa2 45%, #ffffff 60%, #d8d8dc 80%, #7a7a82 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  animation: sheen 9s var(--ease-in-out) 1.2s infinite alternate;
}
@keyframes sheen {
  to { background-position: 0% 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}
.eyebrow__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #000;
}
.eyebrow__icon svg { width: 10px; height: 10px; }

/* ---------- Buttons ---------- */

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 18px; height: 18px; }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 0.88rem; }

.btn--light {
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
.btn--light:hover { box-shadow: 0 10px 40px -8px rgba(255, 255, 255, 0.35); }
.btn--dark {
  background: #141416;
  border-color: var(--line-2);
  color: var(--text);
}
.btn--dark:hover { background: #1c1c1f; border-color: rgba(255, 255, 255, 0.24); }
.btn--ink {
  background: #0a0a0b;
  color: #fff;
}
.btn--ink:hover { background: #222225; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -10px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  transition: transform 0.4s var(--ease);
}
.btn__icon .i { width: 14px; height: 14px; }
.btn--sm .btn__icon { width: 22px; height: 22px; margin-right: -8px; }
.btn--dark .btn__icon { background: #fff; color: #000; }
.btn--ink .btn__icon { background: #fff; color: #000; }
.btn:hover .btn__icon { transform: translateX(3px); }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.header.is-scrolled,
.menu-open .header {
  background: rgba(5, 5, 5, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.logo__mark {
  width: 22px;
  height: 22px;
  transition: transform 1.2s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(90deg); }

.nav {
  display: none;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.nav a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.3s, background-color 0.3s;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); background: var(--surface-2); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lang a {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--dim);
  transition: color 0.3s, background-color 0.3s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: #fff; color: #000; }
.lang--header { display: none; }

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #111113;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(5, 5, 5, 0.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease), visibility 0s;
}
.menu-open { overflow: hidden; }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu__nav a span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--dim);
  letter-spacing: 0;
}
.menu-open .menu__nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(80ms + var(--i) * 50ms);
}
.menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu__phone { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav, .lang--header { display: inline-flex; }
  .burger, .menu { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88svh, 860px);
  padding: calc(var(--header-h) + 64px) 0 32px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  background:
    radial-gradient(40% 50% at 70% 30%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(50% 40% at 20% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.hero__copy > * {
  animation: rise 1.3s var(--ease) both;
}
.hero__copy > :nth-child(1) { animation-delay: 0.1s; }
.hero__copy > :nth-child(2) { animation-delay: 0.2s; }
.hero__copy > :nth-child(3) { animation-delay: 0.34s; }
.hero__copy > :nth-child(4) { animation-delay: 0.46s; }
.hero__copy > :nth-child(5) { animation-delay: 0.58s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 0.8rem;
}
.badge__dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.badge__dot::before,
.badge__dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.badge__dot::after { animation: ping 2.4s var(--ease) infinite; }
@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(3.2); opacity: 0; }
}

.hero .display { margin-top: 28px; }
.hero__lead {
  max-width: 540px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  line-height: 1.65;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--dim);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.hero__stars {
  position: absolute;
  top: -28px;
  right: -40px;
  width: min(58vw, 260px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.9;
  animation: appear 2s var(--ease) 0.3s both;
}
@keyframes appear {
  from { opacity: 0; transform: scale(0.85) rotate(-8deg); }
}
.orbit {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  animation: spin 80s linear infinite;
}
.orbit__dash { stroke-dasharray: 2 10; stroke: rgba(255, 255, 255, 0.14); }
@keyframes spin { to { transform: rotate(360deg); } }

.star { position: absolute; will-change: transform; }
.star svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)); }
.star__float { width: 100%; height: 100%; animation: float 9s var(--ease-in-out) infinite alternate; }
.star--lg { width: 62%; top: 22%; left: 30%; }
.star--md { width: 34%; top: 6%; left: 4%; }
.star--md .star__float { animation-duration: 7s; animation-delay: -2s; }
.star--sm { width: 16%; top: 76%; left: 84%; }
.star--sm .star__float { animation-duration: 6s; animation-delay: -4s; }
@keyframes float {
  from { transform: translate3d(0, -8px, 0) rotate(-4deg); }
  to { transform: translate3d(0, 10px, 0) rotate(5deg); }
}

@media (max-width: 1023px) {
  .hero__copy { padding-top: min(46vw, 210px); }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; }
  .hero__stars {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 480px;
    justify-self: end;
    opacity: 1;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(48px, 5vw, 80px);
}
.section--tight { padding-top: 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head .h2 { margin-top: 20px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }
.section__lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Scroll reveal — only when JS is running */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(8px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease),
    filter 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Cards ---------- */

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- Services bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.bento > * { grid-column: 1 / -1; }

.card--svc { display: flex; flex-direction: column; }
.card__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 260px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px;
}
.card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, 0.6));
  pointer-events: none;
}
.card__body { padding: 24px 28px 30px; }
.card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #121214;
  color: #e4e4e7;
}
.card__icon .i { width: 17px; height: 17px; }
.card__body p { margin-top: 12px; color: var(--muted); line-height: 1.65; }

@media (min-width: 900px) {
  .bento > :nth-child(1) { grid-column: span 7; }
  .bento > :nth-child(2) { grid-column: span 5; }
  .bento > :nth-child(3) { grid-column: span 5; }
  .bento > :nth-child(4) { grid-column: span 7; }
  .bento > :nth-child(5) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 5fr 7fr;
  }
  .bento > :nth-child(5) .card__visual {
    order: 2;
    height: 100%;
    min-height: 260px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .bento > :nth-child(5) .card__body { align-self: center; padding: 40px; }
  .bento > :nth-child(5) .card__title { font-size: 1.6rem; }
}

/* Mini-UI pieces */
.vis { position: relative; z-index: 1; width: 100%; height: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: linear-gradient(180deg, #1d1d20, #111113);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #e7e7ea;
  font-size: 0.82rem;
  white-space: nowrap;
}
.chip--muted { color: var(--muted); }
.chip--small { padding: 7px 12px; font-size: 0.76rem; }
.chip--small .i { width: 14px; height: 14px; }
.chip__meta {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.chip__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
}
.chip__check .i { width: 12px; height: 12px; stroke-width: 2.4; }
.chip__dot {
  width: 20px;
  height: 20px;
  border: 1.5px dashed #55555d;
  border-radius: 50%;
}

.vis--stack .chip { position: absolute; animation: drift 7s var(--ease-in-out) infinite alternate; }
.vis--stack .chip--a { top: 22%; left: 12%; }
.vis--stack .chip--b { top: 44%; left: 34%; animation-delay: -2.5s; }
.vis--stack .chip--c { top: 66%; left: 18%; animation-delay: -5s; }
@keyframes drift {
  from { transform: translate3d(-6px, 0, 0); }
  to { transform: translate3d(8px, -6px, 0); }
}

.vis--route .route {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 86%;
  max-width: 340px;
  transform: translateX(-50%);
  overflow: visible;
}
.route__base { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 6; stroke-linecap: round; }
.route__dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
  animation: dash 2.4s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -22; } }
.route__end { fill: #0b0b0d; stroke: #fff; stroke-width: 2; }
.route__dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); }
.route__label {
  position: absolute;
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.route__label--a { top: 62%; left: 8%; }
.route__label--b { top: 8%; right: 8%; }
.vis--route .chip--status { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); }
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fff;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  animation: ping 2s var(--ease) infinite;
}

.vis--ticket { display: grid; place-content: center; justify-items: center; gap: 14px; }
.ticket {
  width: min(270px, 80vw);
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(160deg, #1f1f23, #0f0f11);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-3deg);
  animation: bob 8s var(--ease-in-out) infinite alternate;
}
@keyframes bob {
  from { transform: rotate(-3deg) translateY(-4px); }
  to { transform: rotate(-1deg) translateY(4px); }
}
.ticket__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ticket__label { color: var(--muted); font-size: 0.85rem; }
.ticket__time {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.ticket__day {
  display: block;
  margin-bottom: 4px;
  color: var(--dim);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ticket__day[hidden] { display: none; }
.ticket__rule { height: 0; margin: 12px 0; border-top: 1px dashed var(--line-2); }
.ticket__status { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }

.vis--search { display: grid; align-content: center; gap: 12px; padding: 0 9%; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #0f0f11;
  color: var(--muted);
  font-size: 0.88rem;
}
.search .i { width: 16px; height: 16px; }
.caret {
  width: 1.5px;
  height: 16px;
  margin-left: -6px;
  background: #fff;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.results { display: grid; gap: 8px; }
.result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.result__bar {
  position: relative;
  flex: 1;
  height: 6px;
  max-width: 220px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.result__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #55555d, #b4b4bb);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease) 0.4s;
}
.is-in .result__bar::after, html:not(.js) .result__bar::after { transform: scaleX(1); }
.result__stars { color: #d4d4d8; font-size: 0.72rem; letter-spacing: 2px; }
.result__stars i { font-style: normal; color: #3f3f46; }
.result--best { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); }
.result--best .result__bar::after { background: linear-gradient(90deg, #8b8b93, #fff); }
.result__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.result__tag .i { width: 13px; height: 13px; stroke-width: 2.4; }
.search__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__count {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #18181b;
  color: #d4d4d8;
  font-size: 0.72rem;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .search__count { display: none; }
}

.vis--project { display: grid; place-items: center; padding: 24px; }
.project {
  width: min(380px, 100%);
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(160deg, #1d1d20, #0e0e10);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.project__head { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; }
.project__pct { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.progress {
  height: 8px;
  margin: 14px 0 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b6b73, #fff);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 2s var(--ease) 0.3s;
}
.is-in .progress span, html:not(.js) .progress span { transform: scaleX(1); }
.project__list { display: grid; gap: 10px; font-size: 0.88rem; }
.project__list li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.project__list li.is-done { color: var(--text); }
.project__ring {
  width: 20px;
  height: 20px;
  border: 1.5px solid #55555d;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1.6s linear infinite;
}

/* ---------- Approach ---------- */

.section--approach {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(50% 60% at 85% 50%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, #070708, #0a0a0b 50%, #070708);
  overflow: hidden;
}
.split { display: grid; gap: 56px; align-items: center; }
.split__copy .h2 { margin-top: 20px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.values li {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: #d4d4d8;
  font-size: 0.85rem;
}

.tilt { perspective: 1400px; }
.tilt__plane {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(155deg, #212125 0%, #0f0f11 60%);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.stat__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #fff;
  color: #000;
}
.stat__icon .i { width: 17px; height: 17px; }
.stat__value {
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 30%, #7c7c85);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--muted); font-size: 0.86rem; }

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .tilt__plane {
    transform: rotateX(22deg) rotateY(-14deg) rotateZ(-12deg);
    transform-style: preserve-3d;
    padding: 40px 20px;
  }
  .stat { animation: hover 8s var(--ease-in-out) infinite alternate; }
  .stat--1, .stat--3 { top: 48px; }
  .stat--1 { animation-delay: -2s; }
  .stat--2 { animation-delay: -4s; }
  .stat--3 { animation-delay: -6s; }
  @keyframes hover {
    from { transform: translateZ(0); }
    to { transform: translateZ(36px); }
  }
}

/* ---------- Quote ---------- */

.quote { text-align: center; overflow: hidden; }
.quote::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.quote__inner { max-width: 980px; margin-inline: auto; }
.quote__star {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 36px;
  animation: spin 40s linear infinite;
}
.quote__star svg { width: 100%; height: 100%; overflow: visible; }
/* The star glints once when the last word of the quote lights up (main.js adds .is-lit) */
.quote__star::before {
  content: "";
  position: absolute;
  inset: -70%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transform: scale(0.4);
}
.is-lit .quote__star::before { animation: flare 1.6s var(--ease) both; }
.is-lit .quote__star svg { animation: glint 1.6s var(--ease) both; }
@keyframes flare {
  30% { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.3); }
}
@keyframes glint {
  30% { filter: brightness(1.8) drop-shadow(0 0 16px rgba(255, 255, 255, 0.6)); transform: scale(1.12); }
}
.quote__text {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
  background-image: linear-gradient(180deg, #ffffff 20%, #8d8d96 100%);
}
.quote__text em { display: block; margin-top: 0.12em; line-height: 1.08; }
/* Words light up one by one as the quote scrolls toward the middle of the screen.
   main.js drives --lit from 0 to 1; without it every word stays lit. */
.quote__text .w {
  color: rgb(5 5 5 / calc(0.7 - 0.7 * clamp(0, (var(--lit, 1) * (var(--n) + 1) - var(--i)) / 2, 1)));
  transition: color 0.3s linear;
}
.quote__sub {
  max-width: 600px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Process ---------- */

.steps { display: grid; gap: 16px; }
/* main.js drives --p on .steps from 0 to 1 while scrolling; each step lights its share (--f).
   Without it every step is fully lit. */
.step {
  --f: clamp(0, var(--p, 1) * var(--n, 4) - var(--i, 0), 1);
  padding: 28px;
  border: 1px solid rgb(255 255 255 / calc(0.08 + 0.08 * min(1, var(--f) * 4)));
  border-radius: 22px;
  background: var(--surface);
}
.step__top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.3rem;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #74747c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
  opacity: calc(0.25 + 0.75 * min(1, var(--f) * 4));
  transition: opacity 0.3s linear;
}
.step__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
  transform-origin: left;
  transform: scaleX(var(--f));
  transition: transform 0.3s linear;
}
.step h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; line-height: 1.65; }

@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Clients ---------- */

.clients { display: grid; gap: 16px; }
.client { padding: 32px; }
.client__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #121214;
}
.client h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; }
.client p { margin-top: 12px; color: var(--muted); line-height: 1.7; }
.area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border: 1px dashed var(--line-2);
  border-radius: 999px;
  color: #d4d4d8;
  font-size: 0.95rem;
}
.area .i { width: 18px; height: 18px; color: var(--muted); }
@media (min-width: 820px) {
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Plans ---------- */

.section--plans::before {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  z-index: -1;
  background: radial-gradient(40% 40% at 50% 50%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.plans { display: grid; gap: 16px; align-items: stretch; perspective: 1400px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.plan__head { display: flex; align-items: center; gap: 10px; }
.plan__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  color: #000;
}
.plan__mark svg { width: 13px; height: 13px; }
.plan__name { font-size: 1.02rem; font-weight: 500; letter-spacing: -0.02em; }
.plan__tag {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}
.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.plan__price strong {
  font-size: clamp(2.8rem, 2rem + 2vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.plan__price span { color: var(--muted); font-size: 0.9rem; }
.plan__price .plan__from { align-self: flex-start; margin-top: 0.5em; }
.plan__price--text strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 1.7rem + 1.4vw, 2.8rem);
  letter-spacing: -0.03em;
}
.plan__desc { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.plan__features {
  display: grid;
  gap: 2px;
  margin: 26px 0 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan__features li { display: flex; gap: 12px; padding: 7px 0; font-size: 0.93rem; }
.plan__features .i {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  stroke-width: 2.4;
}
.plan__cta { width: 100%; margin-top: auto; justify-content: space-between; padding-right: 22px; }

.plan--featured {
  position: relative;
  isolation: isolate;
  border-color: transparent;
  background: linear-gradient(170deg, #ffffff 0%, #f0f0f2 55%, #d9d9de 100%);
  color: var(--ink);
  box-shadow: 0 40px 120px -20px rgba(255, 255, 255, 0.18), inset 0 1px 0 #fff;
}
.plan--featured .plan__mark { background: #000; color: #fff; }
.plan--featured .plan__tag { border-color: rgba(0, 0, 0, 0.14); background: #000; color: #fff; }
.plan--featured .plan__price span,
.plan--featured .plan__desc { color: #52525b; }
.plan--featured .plan__features { border-top-color: rgba(0, 0, 0, 0.1); }
.plan--featured .plan__features .i { background: #000; color: #fff; }

/* Metal card: a glint sweeps across once as it appears; on desktop it tilts toward the
   pointer (main.js sets rotate) and a glare follows it. Both sit under the text. */
.plan--featured::before,
.plan--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.plan--featured::before {
  background: linear-gradient(105deg, transparent 40%, rgba(0, 0, 0, 0.06) 45%, rgba(255, 255, 255, 0.95) 50%, rgba(0, 0, 0, 0.06) 55%, transparent 60%) 100% 0 / 250% 100% no-repeat;
}
.js .plan--featured.is-in::before { animation: card-glint 1.8s var(--ease-in-out) 0.6s both; }
@keyframes card-glint {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}
.plan--featured::after {
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.08) 85%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .plan--featured:hover::after { opacity: 1; }
}

.plans__note { margin-top: 28px; color: var(--dim); font-size: 0.88rem; text-align: center; }

@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan--featured { margin-block: -16px; padding-block: 44px; }
}

/* ---------- About ---------- */

.about { display: grid; gap: 48px; }
.about__head .h2 { margin-top: 20px; }
.signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 16px 22px 16px 16px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.signature__star { width: 52px; height: 52px; flex: none; animation: spin 30s linear infinite; }
.signature__star svg { width: 100%; height: 100%; overflow: visible; }
.signature__name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.signature__role { color: var(--muted); font-size: 0.85rem; }
.about__body { display: grid; gap: 20px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.about__lead {
  color: var(--text);
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}
@media (min-width: 960px) {
  .about { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .about__body { padding-top: 56px; }
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 48px; }
.faq__intro .h2 { margin-top: 20px; }
.faq__intro .btn { margin-top: 32px; }
.faq__list { display: grid; gap: 10px; }
.qa {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: background-color 0.5s var(--ease), border-color 0.5s, color 0.5s;
}
.qa:hover { border-color: var(--line-2); }
.qa[open] { background: #f4f4f5; border-color: #f4f4f5; color: var(--ink); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -2px; border-radius: 20px; }
.qa__icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform 0.5s var(--ease), border-color 0.5s, background-color 0.5s;
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  margin: -0.75px 0 0 -5.5px;
  background: currentColor;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(135deg); background: #000; border-color: #000; color: #fff; }
.qa__a { overflow: hidden; }
.qa__inner { padding: 0 22px 22px; }
.qa__inner p { max-width: 640px; color: #52525b; line-height: 1.7; }
@media (min-width: 960px) {
  .faq { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Contact ---------- */

.section--contact { border-top: 1px solid var(--line); }
.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 50% at 80% 30%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.contact { display: grid; gap: 48px; }
.contact__intro .h2 { margin-top: 20px; }

/* Novi Sad time and a greeting to match, filled in by main.js */
.live { margin-top: 36px; }
.live__hello {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.live__now {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.live:not([hidden]) + .channels { margin-top: 28px; }
.channels { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease), background-color 0.4s;
}
.channel:hover { padding-inline: 14px 10px; background: var(--surface); }
.channel__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #111113;
}
.channel__icon .i { width: 19px; height: 19px; }
.channel__text { display: grid; min-width: 0; }
.channel__label { color: var(--dim); font-size: 0.8rem; }
.channel__value { overflow: hidden; text-overflow: ellipsis; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.channel__arrow { margin-left: auto; color: var(--dim); transition: transform 0.5s var(--ease), color 0.3s; }
.channel:hover .channel__arrow { color: #fff; transform: translate(2px, -2px); }

.form { padding: clamp(22px, 4vw, 36px); align-self: start; }
.form__title { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 24px; }
.form__grid { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.82rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 16px;
  transition: border-color 0.3s, background-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a1a1aa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field select option { background: #111113; color: var(--text); }
.field ::placeholder { color: #55555d; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.22); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #fff;
  background-color: rgba(0, 0, 0, 0.55);
}
.field [aria-invalid="true"] { border-color: #f87171; }
.form__error { margin-top: 14px; color: #fca5a5; font-size: 0.88rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form__actions .btn { flex: 1 1 200px; }
.form__note { margin-top: 16px; color: var(--dim); font-size: 0.8rem; line-height: 1.55; }

/* After sending, the form gives way to a short confirmation (main.js) */
.form > * { transition: opacity 0.4s var(--ease), visibility 0.4s; }
.form.is-done > :not(.form__done) { opacity: 0; visibility: hidden; }
.form__done {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 36px);
  text-align: center;
  outline: none;
  animation: done-in 0.9s var(--ease) both;
}
.form__done[hidden] { display: none; }
.form__done-star { width: 56px; height: 56px; margin-bottom: 12px; animation: done-star 1.4s var(--ease) both; }
.form__done-star svg { width: 100%; height: 100%; overflow: visible; }
.form__done-title { color: var(--muted); font-size: 0.9rem; }
.form__done-head {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.form__done-text { max-width: 340px; color: var(--muted); font-size: 0.95rem; text-wrap: balance; }
.form__done .btn { margin-top: 12px; }
@keyframes done-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
@keyframes done-star { from { opacity: 0; transform: rotate(-120deg) scale(0.4); } }

@media (min-width: 560px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #050505, #0a0a0b);
}
.footer__top { display: grid; gap: 40px; }
.footer__brand p { max-width: 320px; margin: 16px 0 24px; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.footer__col h3 {
  margin-bottom: 16px;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__col a { color: #d4d4d8; transition: color 0.3s; }
.footer__col a:hover { color: #fff; }
.footer__col address { color: var(--muted); line-height: 1.6; }
.footer__legal p { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.footer__legal p + p { margin-top: 10px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.82rem;
}
.footer__top-link { color: var(--muted); transition: color 0.3s; }
.footer__top-link:hover { color: #fff; }

.wordmark {
  margin-top: 8px;
  margin-bottom: -0.2em;
  font-size: clamp(5rem, 25vw, 23rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

@media (min-width: 720px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: 48px; }
}

/* ---------- Mobile action bar ---------- */

.mbar {
  position: fixed;
  inset: auto 12px calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(140%);
  visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.mbar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.6s var(--ease), visibility 0s;
}
.mbar .btn { flex: 1; --h: 46px; }
@media (min-width: 720px) {
  .mbar { display: none; }
}

/* ---------- Reduced motion ---------- */

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