/* ---------- Tokens ---------- */
:root {
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --surface: #14161b;
  --surface-2: #1a1d23;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eeece6;
  --muted: #9a9ca3;
  --accent: #c8f53c;
  --accent-ink: #c8f53c;
  --on-accent: #0c0e06;
  --glow: rgba(200, 245, 60, 0.16);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);

  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f1ea;
  --bg-soft: #ebe8df;
  --surface: #fbfaf6;
  --surface-2: #ffffff;
  --line: rgba(15, 17, 20, 0.1);
  --line-strong: rgba(15, 17, 20, 0.22);
  --text: #121315;
  --muted: #5d6068;
  --accent: #c8f53c;
  --accent-ink: #4a6800;
  --on-accent: #0c0e06;
  --glow: rgba(150, 200, 0, 0.22);
  --shadow: 0 30px 70px -35px rgba(40, 45, 20, 0.35);
  color-scheme: light;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* Блоки на фотографии всегда тёмные, какая бы тема ни была выбрана:
   пока шапка прозрачная, она лежит на фото первого экрана. */
.on-photo,
.header:not(.is-scrolled) {
  --bg: #0a0b0d;
  --bg-soft: #101216;
  --surface: #14161b;
  --surface-2: #1a1d23;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #eeece6;
  --muted: #b4b6bb;
  --accent-ink: #c8f53c;
  --glow: rgba(200, 245, 60, 0.16);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  color: var(--text);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
svg { display: block; }

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
}
.skip:focus { left: 8px; }

/* ---------- Photo backgrounds ---------- */
.on-photo { position: relative; isolation: isolate; overflow: hidden; background: #0a0b0d; }
.photo-bg { position: absolute; inset: 0; z-index: -2; }
.photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-bg::after { content: ""; position: absolute; inset: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 { font-size: clamp(1.7rem, 4.6vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.25; font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--glow); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 40px -12px var(--glow);
}
.btn--accent:hover { box-shadow: 0 16px 50px -10px var(--glow); }

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--text); }

.btn--sm { padding: 11px 18px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 32px; height: 32px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.logo__text span { font-weight: 500; color: var(--muted); }

.nav { display: none; gap: 30px; font-size: 0.95rem; color: var(--muted); }
.nav a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 8px; }

.tool {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.tool:hover { border-color: var(--line-strong); background: var(--surface); }
.tool svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

.header__cta { display: none; margin-left: 6px; }

@media (min-width: 560px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
}

/* ---------- Hero ---------- */
/* Иллюстрация: луна и волк в правой части кадра, левая — тёмная, под текст.
   На телефоне картинка стоит сверху и растворяется вниз, текст идёт под ней. */
.hero {
  /* Заезжает под прозрачную шапку, чтобы фон начинался от самого верха. */
  margin-top: -72px;
  padding: min(80vw, 470px) 0 56px;
}

.hero__photo { bottom: auto; height: min(108vw, 640px); }
.hero__photo img { object-position: 100% 50%; }
.hero__photo::after {
  background:
    linear-gradient(0deg, #0a0b0d 0%, rgba(10, 11, 13, 0.85) 16%, rgba(10, 11, 13, 0) 42%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0) 20%);
}

.hero__inner { position: relative; }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2rem, 8.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-ink);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.06em;
  height: 0.07em;
  border-radius: 99px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 0.9s 0.7s var(--ease) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero__copy { margin-top: clamp(24px, 3vw, 36px); }

.hero__lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero__notes li { display: flex; align-items: center; gap: 10px; }
.hero__notes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-ink);
  transform: rotate(45deg);
}

@media (min-width: 860px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: max(620px, min(62vw, 100svh));
    padding: 120px 0 72px;
  }
  .hero__photo { bottom: 0; height: auto; }
  .hero__photo img { object-position: 100% 60%; }
  .hero__photo::after {
    background:
      linear-gradient(90deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.6) 35%, rgba(10, 11, 13, 0) 62%),
      linear-gradient(0deg, #0a0b0d 0%, rgba(10, 11, 13, 0) 22%),
      linear-gradient(180deg, rgba(10, 11, 13, 0.5) 0%, rgba(10, 11, 13, 0) 16%);
  }
  .hero__inner > * { max-width: min(60%, 740px); }
  .hero__title { font-size: clamp(2.4rem, 4.3vw, 3.9rem); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 20px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.4rem);
  white-space: nowrap;
}
.marquee__group i { margin: 0 28px; font-style: normal; color: var(--accent-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { margin-top: 18px; }
.section__lead { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 36em; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card p { color: var(--muted); }

.card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-ink);
  margin-bottom: clamp(28px, 5vw, 64px);
}

/* Services */
.services { display: grid; gap: 16px; }
.service h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; margin-bottom: 14px; }

.ticks { display: grid; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.96rem; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: translateY(-3px) rotate(-45deg);
}

@media (min-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

/* Bento */
.bento { display: grid; gap: 16px; }
.bento__item h3 { font-weight: 700; margin: 26px 0 10px; }
.bento__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
}
.bento__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__item:nth-child(1), .bento__item:nth-child(4) { grid-column: span 2; }
  .bento__item:nth-child(2), .bento__item:nth-child(3) { grid-column: span 4; }
  .bento__item p { max-width: 30em; }
}

/* ---------- Photo band ---------- */
/* Иллюстрация квадратная: на телефоне стоит сверху и растворяется в фоне снизу,
   на широком экране уходит вправо и растворяется влево, под текст. */
.band__photo { bottom: auto; height: 96vw; }
.band__photo img { object-position: 50% 30%; }
.band__photo::after {
  background:
    linear-gradient(0deg, #0a0b0d 0%, rgba(10, 11, 13, 0.75) 22%, rgba(10, 11, 13, 0) 55%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0) 22%);
}
.band__inner { padding-block: 74vw clamp(64px, 12vw, 96px); }
.band h2 { max-width: 16ch; }

@media (min-width: 860px) {
  .band__photo { bottom: 0; left: auto; height: auto; width: min(58%, 900px); }
  .band__photo::after {
    background:
      linear-gradient(90deg, #0a0b0d 0%, rgba(10, 11, 13, 0.82) 18%, rgba(10, 11, 13, 0.2) 55%, rgba(10, 11, 13, 0) 100%),
      linear-gradient(0deg, rgba(10, 11, 13, 0.7) 0%, rgba(10, 11, 13, 0) 25%),
      linear-gradient(180deg, rgba(10, 11, 13, 0.6) 0%, rgba(10, 11, 13, 0) 22%);
  }
  .band__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: clamp(540px, 46vw, 700px);
    padding-block: 80px;
  }
  .band__inner > * { max-width: min(46%, 560px); }
}
.band p { max-width: 32em; margin: 22px 0 34px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); }

/* Мягкая подсветка, чтобы секции без фото не были глухо-чёрными. */
#services, #process, #faq { position: relative; }
#services::before, #process::before, #faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
#services::before { background: radial-gradient(45% 55% at 100% 10%, var(--glow), transparent 70%); }
#process::before { background: radial-gradient(40% 60% at 0% 50%, var(--glow), transparent 70%); }
#faq::before { background: radial-gradient(40% 50% at 95% 70%, var(--glow), transparent 70%); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { border-top-color: var(--accent-ink); }
.step__num { grid-row: span 2; font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-ink); padding-top: 5px; }
.step h3 { font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); max-width: 40em; }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 0 28px; }
  .step { display: block; padding: 28px 0 0; border-top-width: 2px; }
  .step:last-child { border-bottom: 0; }
  .step__num { display: block; padding: 0; margin-bottom: 44px; }
  .step p { font-size: 0.95rem; }
}

/* ---------- Works ---------- */
.works { display: grid; gap: 16px; margin-bottom: 36px; }
.work { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 14px; }
.work__shot {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(110deg, transparent 35%, var(--line) 50%, transparent 65%) 0 0 / 250% 100%,
    var(--bg-soft);
  animation: shimmer 3.2s linear infinite;
}
.work__shot span {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.work__meta { display: grid; gap: 8px; padding: 16px 6px 6px; }
.work__meta i { height: 8px; border-radius: 99px; background: var(--line); }
.work__meta i:first-child { width: 55%; height: 12px; background: var(--line-strong); }
.work__meta i:last-child { width: 80%; }
@keyframes shimmer { to { background-position: -250% 0, 0 0; } }

@media (min-width: 760px) {
  .works { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-ink); }
.faq__item p { padding: 0 52px 26px 0; color: var(--muted); max-width: 44em; }

.faq__plus {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
}
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

@media (min-width: 1000px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq .section__head { position: sticky; top: 110px; margin-bottom: 0; }
}

/* ---------- Contact ---------- */
.section--contact { padding-top: 0; }

.contact {
  display: grid;
  gap: 40px;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 10px);
}
.contact__photo::after {
  background: linear-gradient(100deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.62) 55%, rgba(10, 11, 13, 0.3) 100%);
}
.contact .field input, .contact .field textarea {
  background: rgba(10, 11, 13, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.contact__intro h2 { margin-top: 18px; }

.contact__direct-label {
  margin-top: clamp(32px, 5vw, 56px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__links { margin-top: 14px; display: grid; gap: 4px; }
.contact__links a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 6px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
.contact__links a:hover { color: var(--accent-ink); }
.contact__links span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); min-width: 68px; }

.form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field span { font-size: 0.88rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 4px var(--glow);
}
.field.is-invalid textarea { border-color: #ff6b5e; box-shadow: 0 0 0 4px rgba(255, 107, 94, 0.18); }

.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 220px; }
.form__hint { font-size: 0.86rem; color: var(--muted); }

@media (min-width: 940px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 0.9rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer a:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__title em::after { transform: none; }
}
