/* ==========================================================================
   SILKWEAVE — style
   ========================================================================== */

:root {
  --bg: #0a0a0c;
  --bg-2: #121216;
  --ink: #efe9df;
  --muted: #8b877f;
  --line: rgba(239, 233, 223, 0.12);
  --accent: #ff5b2e;
  --silk: linear-gradient(100deg, #ff5b2e 0%, #ffb36b 25%, #f3e9ff 45%, #c9a7ff 65%, #7ee0ff 85%, #ff5b2e 100%);

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--accent); color: var(--bg); }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- wspólne ---------- */

.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.silk-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--silk);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.hero .silk-text { animation: silk 8s linear infinite; }
@keyframes silk { to { background-position: -250% 0; } }

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 6.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.section-title .silk-text { font-size: 1.12em; }

.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: block; will-change: transform; }

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 91, 46, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 91, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 46, 0); }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  isolation: isolate;
}
.btn--pill {
  padding: 13px 20px 13px 24px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(16, 16, 20, 0.86);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn--pill::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn--pill:hover { color: var(--bg); border-color: var(--ink); }
.btn--pill:hover::before { transform: translateY(0); }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: transform 0.5s var(--ease); }
.btn--pill:hover .btn__dot { transform: scale(1.6); }

/* ---------- grain ---------- */

.grain {
  position: fixed; inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  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");
}

.brand__name em, .accent { color: var(--accent); }

/* ---------- efekt „roll” na linkach ---------- */

.roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.35;
  height: 1.35em;
}
.roll > span { display: block; transition: transform 0.55s var(--ease); }
.roll > span + span { position: absolute; left: 0; top: 100%; }
a:hover .roll > span, .roll:hover > span { transform: translateY(-100%); }

/* ---------- KURSOR ---------- */

.silk {
  position: fixed; inset: 0;
  will-change: transform;
  width: 100vw; height: 100vh;
  z-index: 150;
  pointer-events: none;
}
.cursor {
  position: fixed; top: 0; left: 0;
  will-change: transform;
  z-index: 160;
  pointer-events: none;
  display: none;
  mix-blend-mode: difference; /* odwraca kolory pod kursorem — tekst zawsze czytelny */
}
body.has-cursor .cursor { display: block; }
.cursor.is-view { mix-blend-mode: normal; }
.cursor__ring {
  position: absolute;
  width: 104px; height: 104px;
  margin: -52px 0 0 -52px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  transform: scale(0.115);
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
  will-change: transform;
}
.cursor__label {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.45s var(--ease-out);
  white-space: nowrap;
}
.cursor.is-link .cursor__ring { transform: scale(0.42); }
.cursor.is-view .cursor__ring { transform: scale(1); background: var(--accent); }
.cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hidden .cursor__ring { transform: scale(0); }
.cursor.is-down .cursor__ring { transform: scale(0.25); }

/* ---------- NAV ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; color: var(--ink); transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__name { font-family: var(--f-display); font-weight: 500; font-size: 19px; letter-spacing: -0.03em; }
.nav__links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(16, 16, 20, 0.86);
}
.nav__links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
}
.nav__links a:hover { background: rgba(239, 233, 223, 0.08); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn--pill { padding: 11px 16px 11px 18px; font-size: 13px; }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--pad) clamp(28px, 5vh, 56px);
  overflow: hidden;
}
.hero__web { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero__glow {
  position: absolute;
  width: 70vmax; height: 70vmax;
  right: -20vmax; top: -25vmax;
  background: radial-gradient(closest-side, rgba(255, 91, 46, 0.16), rgba(201, 167, 255, 0.06) 55%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; width: 100%; pointer-events: none; will-change: transform, opacity; }
.hero__inner a { pointer-events: auto; }
.hero__eyebrow { margin-bottom: clamp(20px, 3vh, 36px); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(42px, 8.6vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.hero__title .silk-text { font-size: 1.14em; letter-spacing: -0.02em; }
.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  margin-top: clamp(28px, 5vh, 56px);
}
.hero__lead { max-width: 400px; color: var(--muted); font-size: 16px; }
.hero__scroll { position: relative; width: 116px; height: 116px; flex: none; display: grid; place-items: center; }
.hero__scroll-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero__scroll-ring text { fill: var(--ink); font-size: 10.4px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--f-body); font-weight: 500; }
.hero__scroll-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--bg); font-size: 20px;
  transition: transform 0.5s var(--ease-out);
}
.hero__scroll:hover .hero__scroll-arrow { transform: scale(1.2) translateY(3px); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__hint {
  position: absolute; top: 96px; right: var(--pad);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 700px) {
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { width: 92px; height: 92px; position: absolute; right: 0; bottom: 0; }
  .hero__lead { max-width: calc(100% - 110px); font-size: 15px; }
  .hero__hint { display: none; }
}

/* ---------- MARQUEE ---------- */

.marquee {
  padding: clamp(40px, 8vw, 100px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.marquee__row { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track {
  display: flex; align-items: center; flex: none;
  gap: clamp(20px, 3vw, 44px);
  padding-right: clamp(20px, 3vw, 44px);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 112px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.marquee__track i { font-style: normal; color: var(--accent); font-size: 0.5em; }
.marquee__row--outline .marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(239, 233, 223, 0.5);
}
.marquee__row--outline .marquee__track span:hover { color: var(--ink); }

/* ---------- MANIFEST ---------- */

.manifesto { padding: clamp(100px, 18vw, 240px) var(--pad); }
.manifesto .eyebrow { margin-bottom: 40px; }
.manifesto__text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 1400px;
}
.manifesto__text em { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 1.12em; }
.manifesto__text .w { display: inline-block; }

/* ---------- REALIZACJE ---------- */

.work { position: relative; }
.work__pin {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 0 0 0 var(--pad);
  overflow: hidden;
}
.work__head { flex: none; width: clamp(280px, 28vw, 420px); will-change: transform; }
.work__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 24px 0;
}
.work__title .silk-text { font-size: 1.15em; }
.work__count { font-family: var(--f-body); font-size: 0.22em; letter-spacing: 0; vertical-align: top; color: var(--muted); position: relative; top: 0.6em; }
.work__lead { color: var(--muted); max-width: 320px; }
.work__track { display: flex; gap: clamp(20px, 3vw, 44px); padding-right: var(--pad); will-change: transform; }
.work__progress {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 40px;
  height: 1px; background: var(--line);
}
.work__progress span { position: absolute; inset: 0; background: var(--silk); background-size: 200% 100%; transform-origin: left; transform: scaleX(0); }

.card { flex: none; width: clamp(320px, 44vw, 680px); perspective: 1200px; will-change: transform; }
.card a { display: block; }
.card__frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #17171c;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  will-change: transform;
}
.card:hover .card__frame { box-shadow: 0 40px 80px -30px rgba(255, 91, 46, 0.35); }
.card__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #111115;
}
.card__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(239, 233, 223, 0.16); }
.card__bar i:first-child { background: #ff5f57; }
.card__bar i:nth-child(2) { background: #febc2e; }
.card__bar i:nth-child(3) { background: #28c840; }
.card__bar span {
  margin-left: 12px; flex: 1;
  font-size: 12px; color: var(--muted);
  padding: 3px 12px; border-radius: 6px; background: rgba(239, 233, 223, 0.05);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0f0f13; }
.card__screen img {
  width: 100%; height: auto; min-height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 3.5s var(--ease);
}
.card:hover .card__screen img { transform: translateY(calc(-100% + var(--screen-h, 400px))); }

.card__badge {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px 7px 11px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(239, 233, 223, 0.18);
}
.card__badge b { width: 7px; height: 7px; border-radius: 50%; background: #febc2e; animation: pulse-y 1.6s infinite; }
@keyframes pulse-y { 50% { opacity: 0.3; } }

/* generatywny podgląd, gdy brak zrzutu ekranu */
.mock { position: absolute; inset: 0; padding: 6% 7%; display: flex; flex-direction: column; overflow: hidden; }
.mock__blob {
  position: absolute; width: 70%; aspect-ratio: 1; right: -12%; top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--c1), var(--c2) 60%, transparent 72%);
  filter: blur(6px);
  opacity: 0.9;
  animation: blob 9s ease-in-out infinite alternate;
  transition: transform 1.2s var(--ease-out);
}
.card:hover .mock__blob { transform: scale(1.25) translate(-8%, 8%); }
@keyframes blob { to { border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; translate: -6% 10%; } }
.mock__nav { position: relative; display: flex; justify-content: space-between; align-items: center; }
.mock__nav b { width: 18%; height: 8px; border-radius: 4px; background: rgba(239, 233, 223, 0.7); }
.mock__nav span { display: flex; gap: 8px; }
.mock__nav span i { width: 34px; height: 5px; border-radius: 3px; background: rgba(239, 233, 223, 0.25); }
.mock__title {
  position: relative;
  margin-top: auto;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 80%;
  transition: transform 1s var(--ease-out);
}
.card:hover .mock__title { transform: translateY(-8px); }
.mock__row { position: relative; display: flex; gap: 8px; margin-top: 7%; }
.mock__row i { flex: 1; height: 44px; border-radius: 8px; background: rgba(239, 233, 223, 0.06); border: 1px solid rgba(239, 233, 223, 0.08); }
.mock__row i:first-child { flex: 0 0 26%; background: var(--c1); opacity: 0.9; border: 0; }

.card__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 16px; padding-top: 18px; }
.card__num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card__meta h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: -0.03em; }
.card__cat { font-size: 13px; color: var(--muted); text-align: right; }

.card--next .card__frame {
  aspect-ratio: auto;
  display: grid; place-items: center;
  background: transparent;
  border-style: dashed;
  border-color: rgba(239, 233, 223, 0.25);
  height: 100%;
  min-height: 300px;
}
.card--next { width: clamp(280px, 30vw, 440px); align-self: stretch; display: flex; flex-direction: column; }
.card--next a { flex: 1; display: flex; flex-direction: column; }
.card--next .card__frame { flex: 1; }
.card--next .next__inner { text-align: center; padding: 32px; }
.card--next .next__plus {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 34px;
  background: var(--accent); color: var(--bg);
  transition: transform 0.8s var(--ease-out);
}
.card--next:hover .next__plus { transform: rotate(90deg) scale(1.1); }
.card--next h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.04em; line-height: 1.05; }
.card--next p { color: var(--muted); margin-top: 10px; font-size: 14px; }

@media (max-width: 899px) {
  .work__pin { flex-direction: column; align-items: stretch; padding: 100px var(--pad); min-height: 0; }
  .work__head { width: 100%; }
  .work__track { flex-direction: column; padding-right: 0; gap: 48px; }
  .card, .card--next { width: 100%; }
  .card--next .card__frame { min-height: 240px; }
  .work__progress { display: none; }
}

/* ---------- USŁUGI ---------- */

.services { padding: clamp(100px, 14vw, 200px) var(--pad); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }
.services__head .eyebrow { order: 2; }
.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr minmax(0, 340px) 60px;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 38px) 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), padding 0.6s var(--ease-out);
}
.service::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  z-index: -1;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s var(--ease);
}
.service:hover { color: var(--bg); padding-left: 28px; }
.service:hover::before { clip-path: inset(0 0 0 0); }
.service__num { font-size: 13px; color: var(--muted); transition: color 0.4s; }
.service:hover .service__num, .service:hover p { color: var(--bg); }
.service h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 3.6vw, 56px); letter-spacing: -0.045em; line-height: 1; }
.service p { color: var(--muted); font-size: 15px; transition: color 0.4s; }
.service__arrow { font-size: 30px; justify-self: end; transition: transform 0.6s var(--ease-out); }
.service:hover .service__arrow { transform: rotate(45deg); }
@media (max-width: 760px) {
  .service { grid-template-columns: 40px 1fr 30px; row-gap: 8px; }
  .service p { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .service__arrow { grid-column: 3; grid-row: 1; font-size: 22px; }
}

/* ---------- PROCES ---------- */

.process { padding: clamp(80px, 10vw, 160px) var(--pad) clamp(100px, 14vw, 200px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.process__head { position: sticky; top: 140px; align-self: start; }
.process__head .eyebrow { margin-bottom: 28px; }
.process__body { position: relative; padding-left: 70px; }
.process__line { position: absolute; left: 0; top: 0; width: 40px; height: 100%; overflow: visible; }
.process__line path { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.process__line-bg { stroke: var(--line); }
.process__line-fg { stroke: var(--accent); stroke-width: 2; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: clamp(36px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); opacity: 0.35; transition: opacity 0.6s; }
.step.is-active { opacity: 1; }
.step:first-child { padding-top: 0; }
.step__node {
  position: absolute; left: -57px; top: calc(clamp(36px, 6vw, 80px) + 8px);
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--muted); background: var(--bg);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.6s var(--ease-out);
}
.step:first-child .step__node { top: 8px; }
.step.is-active .step__node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 8px rgba(255, 91, 46, 0.15); transform: scale(1.2); }
.step__num { font-family: var(--f-serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--accent); }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 12px; }
.step p { color: var(--muted); max-width: 440px; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .process__body { padding-left: 46px; }
  .step__node { left: -45px; }
  .process__line { left: -12px; }
  .step { grid-template-columns: 40px 1fr; }
}

/* ---------- KONTAKT ---------- */

.contact {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 140px var(--pad);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.contact__web { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__inner { position: relative; text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.contact__inner a { pointer-events: auto; }
.contact__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(52px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 28px 0 0;
}
.contact__title .silk-text { font-size: 1.12em; }
.contact__cta {
  position: relative;
  width: clamp(150px, 15vw, 210px); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: clamp(-40px, -3vw, -20px);
  background: var(--accent);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
  transform: rotate(-8deg);
  box-shadow: 0 30px 80px -20px rgba(255, 91, 46, 0.6);
}
.contact__cta-fill { position: absolute; inset: 0; background: var(--ink); border-radius: 50%; transform: scale(0); transition: transform 0.6s var(--ease-out); z-index: -1; }
.contact__cta:hover .contact__cta-fill { transform: scale(1); }
.contact__cta-text { font-family: var(--f-display); font-weight: 500; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.1; letter-spacing: -0.03em; }
.contact__mail { margin-top: 36px; font-size: clamp(16px, 1.6vw, 22px); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.3s; }
.contact__mail:hover { border-color: var(--accent); }

/* ---------- FOOTER ---------- */

.footer { padding: 60px var(--pad) 28px; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; gap: clamp(32px, 8vw, 120px); align-items: flex-start; }
.footer__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.footer__clock { font-family: var(--f-display); font-size: 18px; font-variant-numeric: tabular-nums; }
.footer__social { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__social a { transition: color 0.3s; }
.footer__social a:hover { color: var(--accent); }
.footer__top-btn {
  margin-left: auto;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 22px;
  transition: background-color 0.4s, color 0.4s;
}
.footer__top-btn:hover { background: var(--ink); color: var(--bg); }
.footer__word {
  display: flex; justify-content: space-between;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12.9vw;
  line-height: 0.8;
  letter-spacing: -0.06em;
  margin: clamp(40px, 8vw, 100px) 0 clamp(20px, 3vw, 36px);
  overflow: hidden;
  padding-top: 0.1em;
}
.footer__word span { display: inline-block; }
.footer__word i { display: inline-block; font-style: normal; transition: color 0.4s, transform 0.6s var(--ease-out); }
.footer__word i:hover { color: var(--accent); transform: translateY(-4%) rotate(-4deg); }
.footer__word .accent i:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .footer__top { flex-wrap: wrap; }
  .footer__top-btn { width: 52px; height: 52px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}

.footer__client { color: var(--ink); transition: color 0.3s; }
.footer__client:hover { color: var(--accent); }

.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 36px; }
.contact__links .contact__mail { margin-top: 0; }

.footer__links { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__links a { color: var(--muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--accent); }
.footer__links .footer__client { color: var(--ink); }

.footer__legal { margin-top: 14px; font-size: 11px; line-height: 1.5; color: rgba(239, 233, 223, 0.32); }
