/* ============================================================
   SuneVisuals — visuals.suneworld.ru
   Palette drawn from the logo: graphite, ember red, copper.
   Type: Onest
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #08080b;
  --bg-soft: #0c0c11;
  --bg-card: #101015;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f2efec;
  --text-dim: #a9a5a0;
  --text-mute: #6f6b68;

  --ember: #de1b21;
  --copper: #c8875a;
  --copper-soft: #e0a578;
  --copper-deep: #8a5636;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --shell: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 350;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

em {
  font-style: normal;
  color: var(--copper-soft);
}

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

::selection {
  background: rgba(222, 27, 33, 0.32);
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 28px;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgba(8, 8, 11, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(222, 27, 33, 0.28));
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 400;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, #e02a2f, #b4151a 55%, #8f1015);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -12px rgba(222, 27, 33, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(222, 27, 33, 0.8),
              inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-line {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.015);
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 135, 90, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-dim);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(200, 135, 90, 0.45);
}

.btn-sm { padding: 10px 17px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* Burger */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateX(-50%) translateY(-3px) rotate(-45deg); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(222, 27, 33, 0.14);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 135, 90, 0.16), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-aura::after {
  content: "";
  position: absolute;
  inset: 22% 18% 40% 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 27, 33, 0.18), transparent 66%);
  filter: blur(40px);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.99;
  letter-spacing: -0.042em;
  font-weight: 500;
  margin-bottom: 26px;
  position: relative;
}

.hero-line { display: block; }

.hero-line--soft {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.28em;
}

.hero-accent {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hero-title em {
  position: relative;
  display: inline-block;
  padding-bottom: 0.14em;
  line-height: 1.1;
  z-index: 1;
  color: transparent;
  background: linear-gradient(100deg, var(--copper-soft) 8%, var(--copper) 46%, var(--ember) 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Hand-drawn underline, warm, sits just under the descenders */
.hero-swash {
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: -0.1em;
  width: calc(100% + 0.12em);
  height: 0.22em;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.hero-swash path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.55;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: swash-draw 1.6s var(--ease) 0.55s forwards;
}

@keyframes swash-draw {
  to { stroke-dashoffset: 0; }
}

.hero-period {
  color: var(--ember);
  margin-left: -0.1em;
}

/* Soft light wash behind the headline */
.hero-copy::before {
  content: "";
  position: absolute;
  left: -8%;
  top: 6%;
  width: 78%;
  height: 46%;
  background: radial-gradient(closest-side, rgba(200, 135, 90, 0.11), transparent 78%);
  filter: blur(26px);
  pointer-events: none;
  z-index: -1;
}

.hero-lede {
  max-width: 500px;
  color: var(--text-dim);
  font-size: 17.5px;
  line-height: 1.65;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.hero-tags li {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-tags li:hover {
  color: var(--copper-soft);
  border-color: rgba(200, 135, 90, 0.4);
}

/* Hero art panel */
.hero-art { position: relative; }

.art-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 78% 12%, rgba(200, 135, 90, 0.14), transparent 58%),
    radial-gradient(100% 100% at 18% 88%, rgba(222, 27, 33, 0.12), transparent 60%),
    linear-gradient(180deg, #0e0e13, #09090d);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.art-glow {
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 27, 33, 0.24), rgba(200, 135, 90, 0.1) 45%, transparent 70%);
  filter: blur(28px);
}

/* Screenshot panel */
.art-shot {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
}

.art-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 30px 70px -28px rgba(0, 0, 0, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 1s var(--ease), border-color 0.6s var(--ease), filter 0.6s var(--ease);
}

/* Warm light kissing the corners, like light through glass */
.art-shot::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(75% 55% at 92% 6%, rgba(200, 135, 90, 0.16), transparent 62%),
    radial-gradient(70% 50% at 6% 97%, rgba(222, 27, 33, 0.14), transparent 64%);
  mix-blend-mode: screen;
  opacity: 0.9;
  transition: opacity 0.7s var(--ease);
}

/* Vignette: darkened edges, clean centre */
.art-shot::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(118% 100% at 50% 46%, transparent 34%, rgba(8, 8, 11, 0.36) 74%, rgba(8, 8, 11, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 8, 11, 0.2), transparent 24%, transparent 58%, rgba(8, 8, 11, 0.56));
  box-shadow:
    inset 0 0 70px rgba(8, 8, 11, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: opacity 0.7s var(--ease);
}

.art-frame:hover .art-shot img {
  transform: scale(1.02);
  border-color: rgba(200, 135, 90, 0.42);
  filter: saturate(1.06) contrast(1.02);
}

.art-frame:hover .art-shot::after { opacity: 0.82; }
.art-frame:hover .art-shot::before { opacity: 1; }

.art-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 3;
}

.art-caption span:first-child { color: var(--copper); }

/* Scroll hint */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 76px;
}

.scroll-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember);
  animation: sweep 2.6s var(--ease) infinite;
}

@keyframes sweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.scroll-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  white-space: nowrap;
}

.marquee-track .sep { color: var(--ember); opacity: 0.6; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }

.section-head { max-width: 760px; margin-bottom: 62px; }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin-bottom: 20px;
}

.section-lede {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 540px;
}

.section-lede--tight { max-width: 380px; margin-left: auto; text-align: right; }

/* ---------- Cards (Approach) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 135, 90, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.card:hover::before { opacity: 1; }

.card-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 40px;
  font-weight: 500;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.62;
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease);
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 135, 90, 0.38);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 11, 0.72));
}

.thumb-a {
  background:
    radial-gradient(90% 80% at 25% 20%, rgba(200, 135, 90, 0.42), transparent 60%),
    radial-gradient(80% 90% at 82% 78%, rgba(222, 27, 33, 0.34), transparent 58%),
    linear-gradient(160deg, #1a1216, #0b0b10);
}

.thumb-b {
  background:
    radial-gradient(80% 70% at 70% 28%, rgba(222, 27, 33, 0.3), transparent 62%),
    radial-gradient(90% 90% at 20% 80%, rgba(120, 82, 60, 0.45), transparent 60%),
    linear-gradient(200deg, #121016, #09090c);
}

.thumb-c {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 100%) 0 0 / 34px 34px,
    linear-gradient(180deg, #101017, #0a0a0e);
}

.thumb-c::before {
  content: "";
  position: absolute;
  inset: 26% 30% 30% 22%;
  border: 1px solid rgba(200, 135, 90, 0.42);
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, rgba(222, 27, 33, 0.2), transparent 70%);
}

.thumb-d {
  background:
    conic-gradient(from 210deg at 70% 30%, rgba(222, 27, 33, 0.32), transparent 40%),
    radial-gradient(90% 90% at 25% 75%, rgba(200, 135, 90, 0.3), transparent 60%),
    linear-gradient(180deg, #0f0f14, #08080b);
}

.work-thumb {
  transition: transform 0.8s var(--ease);
}

.work-card:hover .work-thumb { transform: scale(1.03); }

.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  z-index: 0;
}

.work-card--wide {
  grid-column: 1 / -1;
}

.work-card--wide .work-thumb {
  aspect-ratio: 1785 / 873;
}

.work-card--wide .work-thumb img {
  object-fit: contain;
  object-position: 50% 50%;
  background: #0a0a0e;
}

.work-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px 18px;
  padding: 22px 26px 26px;
}

.work-tag {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}

.work-meta h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 450;
}

.work-year {
  font-size: 13px;
  color: var(--text-mute);
}

.module-desc {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 46ch;
}

/* Inline code + keys */
code,
kbd {
  font-family: inherit;
  font-size: 0.86em;
  letter-spacing: 0.01em;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--copper-soft);
  white-space: nowrap;
}

kbd {
  border-bottom-width: 2px;
  color: var(--text);
  font-weight: 450;
}

/* ---------- Stats ---------- */
.stats-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  padding: 66px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.stat-value {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(150deg, #fff, var(--copper-soft) 70%, var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 34px 26px 0 22px;
  border-left: 1px solid var(--line);
  transition: background 0.45s var(--ease);
}

.step:first-child { border-left: none; padding-left: 0; }

.step:hover { background: linear-gradient(180deg, rgba(200, 135, 90, 0.05), transparent 70%); }

.step-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 22px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 12px;
  font-weight: 450;
}

.step p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.62;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 150px;
}

.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(200, 135, 90, 0.13), rgba(222, 27, 33, 0.06) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.contact-inner { position: relative; text-align: center; }

.contact-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.036em;
  margin-bottom: 24px;
}

.contact-title em {
  color: transparent;
  background: linear-gradient(100deg, var(--copper-soft), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
}

.contact-lede {
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto 40px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.contact-link {
  font-size: 14.5px;
  color: var(--text-mute);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.contact-link:hover {
  color: var(--copper-soft);
  border-bottom-color: rgba(200, 135, 90, 0.5);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 46px;
  background: rgba(255, 255, 255, 0.012);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  align-items: center;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0.92;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-mute);
  max-width: 260px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-nav a { transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--copper-soft); }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 44px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .step:nth-child(3) { border-left: none; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-legal { align-items: flex-start; }
  .section-lede--tight { margin-left: 0; text-align: left; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 28px 30px;
    background: rgba(9, 9, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a { padding: 14px 6px; font-size: 17px; border-radius: 8px; }

  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: block; }

  .hero { padding-top: 132px; padding-bottom: 64px; }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .hero-inner > *,
  .cards > *,
  .work-grid > *,
  .steps > *,
  .stats > * {
    min-width: 0;
  }

  body { overflow-x: clip; }

  .hero-art { order: -1; max-width: 360px; width: 100%; }

  .hero-title { font-size: clamp(36px, 9vw, 54px); }

  .cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .scroll-hint { margin-top: 52px; }
}

@media (max-width: 560px) {
  .shell { padding-inline: 20px; }
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .hero-lede { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 18px; font-size: 14.5px; }
  .btn-lg { padding: 15px 24px; font-size: 15px; }
  .card { padding: 28px 24px 26px; }
  .card-num { margin-bottom: 28px; }
  .work-meta { padding: 18px 20px 22px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .stat { padding-left: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; padding-left: 0; }
  .contact { padding: 96px 0; }
  .footer-nav { flex-wrap: wrap; gap: 16px 22px; }
  .marquee-track span { font-size: 13.5px; }
}

/* ---------- Motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 6px;
}
