:root {
  --bg: #020408;
  --surface: #080b12;
  --text: #f5f4f8;
  --muted: #9a99a4;
  --purple: #9825f2;
  --pink: #f100e8;
  --green: #00eead;
  --line: rgba(152, 37, 242, .7);
  --nav-text: #aaa9b1;
  --text-strong: #fff;
  --copy: #c3c1c8;
  --copy-soft: #a7a5ae;
  --copy-muted: #83828b;
  --hero-bg: linear-gradient(180deg, rgba(2,4,8,.04), var(--bg) 97%), radial-gradient(circle at 65% 0%, #12151c 0, #06080d 38%, #020408 80%);
  --hero-sheen: linear-gradient(120deg, transparent 10%, rgba(0,0,0,.26) 45%, transparent 72%);
  --hero-texture: repeating-radial-gradient(ellipse at 25% -20%, transparent 0 85px, rgba(87,91,105,.13) 88px 101px, transparent 106px 155px);
  --button-bg: rgba(7, 8, 14, .35);
  --button-hover-bg: rgba(152, 37, 242, .12);
  --card-bg: linear-gradient(145deg, rgba(152,37,242,.035), transparent 50%);
  --card-hover-bg: rgba(152,37,242,.08);
  --footer-bg: #0a0e18;
  --copyright-bg: #333;
  --mobile-menu-bg: radial-gradient(circle at 50% 10%, rgba(152,37,242,.28), transparent 34%), radial-gradient(circle at 85% 82%, rgba(0,238,173,.11), transparent 28%), linear-gradient(180deg, rgba(2,4,8,.98), rgba(8,11,18,.99));
  color-scheme: dark;
  --blog-cover-ratio: 1309 / 853;
  --portfolio-cover-ratio: 3 / 4;
}

:root[data-theme="light"] {
  --bg: #f6f2ea;
  --surface: #fffaf2;
  --text: #17121f;
  --muted: #665f70;
  --purple: #7f20d0;
  --pink: #d900c8;
  --green: #008d70;
  --line: rgba(127, 32, 208, .34);
  --nav-text: #514b5b;
  --text-strong: #17121f;
  --copy: #4f4859;
  --copy-soft: #665f70;
  --copy-muted: #6d6674;
  --hero-bg: linear-gradient(180deg, rgba(246,242,234,.12), var(--bg) 97%), radial-gradient(circle at 65% 0%, #fff7ef 0, #f2eadf 42%, #f6f2ea 82%);
  --hero-sheen: linear-gradient(120deg, transparent 10%, rgba(255,255,255,.42) 45%, transparent 72%);
  --hero-texture: repeating-radial-gradient(ellipse at 25% -20%, transparent 0 85px, rgba(127,32,208,.11) 88px 101px, transparent 106px 155px);
  --button-bg: rgba(255, 250, 242, .74);
  --button-hover-bg: rgba(127, 32, 208, .1);
  --card-bg: linear-gradient(145deg, rgba(127,32,208,.08), rgba(255,255,255,.28) 50%);
  --card-hover-bg: rgba(127,32,208,.1);
  --footer-bg: #eee6da;
  --copyright-bg: #1f1a26;
  --mobile-menu-bg: radial-gradient(circle at 50% 10%, rgba(127,32,208,.16), transparent 34%), radial-gradient(circle at 85% 82%, rgba(0,141,112,.12), transparent 28%), linear-gradient(180deg, rgba(246,242,234,.98), rgba(255,250,242,.99));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.pink { color: var(--pink); }
.green { color: var(--green); }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1170px, calc(100% - 40px));
  height: 92px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}
.logo {
  color: var(--text-strong);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -2px;
  line-height: 1;
  text-decoration: none;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a:not(.button) {
  color: var(--nav-text);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.main-nav > a:hover { color: var(--text-strong); }
.menu-toggle { display: none; }
.theme-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--text-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--button-bg);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.theme-toggle:hover { border-color: var(--pink); background: var(--button-hover-bg); transform: translateY(-2px); }
.theme-toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: inset -5px -4px 0 0 var(--button-bg);
  transition: box-shadow .25s ease, background .25s ease, transform .25s ease;
}
.theme-toggle-icon::after {
  position: absolute;
  width: 4px;
  height: 4px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 -13px 0 currentColor,
    0 13px 0 currentColor,
    13px 0 0 currentColor,
    -13px 0 0 currentColor,
    9px 9px 0 currentColor,
    -9px 9px 0 currentColor,
    9px -9px 0 currentColor,
    -9px -9px 0 currentColor;
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%) scale(.4);
  transition: transform .25s ease, opacity .25s ease;
}
:root[data-theme="light"] .theme-toggle-icon::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
:root[data-theme="light"] .theme-toggle-icon {
  box-shadow: none;
  transform: scale(.78);
}

.button {
  display: inline-flex;
  min-width: 270px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  color: var(--text-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--button-bg);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--pink); background: var(--button-hover-bg); }
.button-small { min-width: 215px; min-height: 42px; font-size: 11px; }

.hero {
  --hero-texture-x: 0px;
  --hero-texture-y: 0px;
  --hero-content-x: 0px;
  --hero-content-y: 0px;
  --hero-orb-one-x: 0px;
  --hero-orb-one-y: 0px;
  --hero-orb-two-x: 0px;
  --hero-orb-two-y: 0px;
  position: relative;
  display: grid;
  min-height: 810px;
  place-items: start center;
  overflow: hidden;
  padding: 190px 20px 110px;
  background: var(--hero-bg);
}
.hero::after {
  position: absolute;
  inset: 0;
  background: var(--hero-sheen);
  content: "";
  pointer-events: none;
}
.hero-texture {
  position: absolute;
  width: 150%;
  height: 145%;
  top: -34%;
  left: -25%;
  background: var(--hero-texture);
  pointer-events: none;
  transition: translate .8s cubic-bezier(.2,.8,.2,1);
  translate: var(--hero-texture-x) var(--hero-texture-y);
  will-change: transform, translate;
}
.hero-texture-one { animation: hero-wave-drift 22s ease-in-out infinite alternate; }
.hero-texture-two {
  top: -45%;
  left: -38%;
  opacity: .32;
  transform: scale(1.08) rotate(2deg);
  animation: hero-wave-counter 30s ease-in-out infinite alternate;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .12; transition: translate 1s cubic-bezier(.2,.8,.2,1); will-change: transform, translate; }
.hero-orb-one { width: 360px; height: 360px; top: -150px; right: 12%; background: var(--purple); animation: hero-orb-float 16s ease-in-out infinite alternate; }
.hero-orb-two { width: 300px; height: 300px; bottom: 10%; left: -100px; background: var(--green); animation: hero-orb-float 20s ease-in-out -5s infinite alternate-reverse; }
.hero-orb-one { translate: var(--hero-orb-one-x) var(--hero-orb-one-y); }
.hero-orb-two { translate: var(--hero-orb-two-x) var(--hero-orb-two-y); }
.hero-bloom {
  position: absolute;
  z-index: 0;
  width: min(80vw, 1050px);
  height: 460px;
  top: 95px;
  left: 50%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(151,37,242,.42) 0%, rgba(151,37,242,.14) 32%, transparent 68%),
    radial-gradient(ellipse, rgba(255,255,255,.2) 0%, transparent 48%);
  filter: blur(34px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(.15);
  animation: hero-bloom-intro 2.3s cubic-bezier(.16,.8,.26,1) .12s forwards;
}
@keyframes hero-wave-drift {
  0% { transform: translate3d(-2%, -1%, 0) rotate(-1deg) scale(1.02); }
  50% { transform: translate3d(2%, 2%, 0) rotate(1deg) scale(1.05); }
  100% { transform: translate3d(5%, -2%, 0) rotate(-.5deg) scale(1.03); }
}
@keyframes hero-wave-counter {
  0% { transform: translate3d(4%, 1%, 0) rotate(2deg) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) rotate(-2deg) scale(1.12); }
}
@keyframes hero-orb-float {
  0% { transform: translate3d(0, 0, 0) scale(.95); opacity: .08; }
  100% { transform: translate3d(45px, 30px, 0) scale(1.15); opacity: .18; }
}
@keyframes hero-bloom-intro {
  0% { opacity: 0; transform: translateX(-50%) scale(.15); }
  30% { opacity: .95; transform: translateX(-50%) scale(.72); }
  62% { opacity: .45; transform: translateX(-50%) scale(1.08); }
  100% { opacity: .14; transform: translateX(-50%) scale(1); }
}
.hero-content { z-index: 1; display: flex; align-items: center; flex-direction: column; text-align: center; transition: transform .9s cubic-bezier(.2,.8,.2,1); transform: translate3d(var(--hero-content-x), var(--hero-content-y), 0); }
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.hero h1 span { color: var(--purple); }
.hero-copy { margin: 18px 0 60px; color: var(--copy); font-size: 17px; line-height: 1.45; }
.hero-copy-rotator {
  position: relative;
  display: grid;
  min-height: 50px;
  overflow: hidden;
  place-items: center;
}
.hero-copy-phrase {
  grid-area: 1 / 1;
  display: block;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-14px);
  transition: opacity .85s ease, filter .85s ease, transform .85s cubic-bezier(.2,.75,.2,1);
}
.hero-copy-phrase.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.hero-copy-phrase.is-exiting {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(16px);
}
.hero small { margin-top: 13px; color: var(--copy-muted); }
.hero small strong { color: var(--text-strong); }

.portfolio { position: relative; z-index: 2; margin-top: -105px; padding: 0 0 85px; }
.portfolio-viewport { width: min(1720px, calc(100% - 40px)); margin: auto; overflow: hidden; }
.portfolio-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-card {
  flex: 0 0 calc((100% - 42px) / 4);
  overflow: hidden;
  aspect-ratio: var(--portfolio-cover-ratio);
  border-radius: 42px;
  background: var(--surface);
  opacity: 0;
  scroll-snap-align: start;
  transform: translate3d(-90px, 0, 0) scale(.96);
  animation: portfolio-card-intro .85s cubic-bezier(.16,.8,.22,1) forwards;
}
.portfolio-card:nth-child(1) { animation-delay: 1.65s; }
.portfolio-card:nth-child(2) { animation-delay: 1.85s; }
.portfolio-card:nth-child(3) { animation-delay: 2.05s; }
.portfolio-card:nth-child(4) { animation-delay: 2.25s; }
.portfolio-card a { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.portfolio-image-frame {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--portfolio-cover-ratio);
}
.portfolio-card .portfolio-image-frame { width: 100%; height: 100%; }
.portfolio-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-card img { transition: transform .6s ease; }
.portfolio-card:hover img { transform: scale(1.035); }
.portfolio-controls {
  display: flex;
  width: min(1720px, calc(100% - 40px));
  justify-content: flex-end;
  gap: 10px;
  margin: 18px auto 0;
  transition: opacity .2s ease;
}
.portfolio-controls[hidden] { display: none; }
.portfolio-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--text-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--button-bg);
  cursor: pointer;
  font: inherit;
  transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}
.portfolio-arrow:hover:not(:disabled) { border-color: var(--pink); background: var(--button-hover-bg); }
.portfolio-arrow:disabled { cursor: default; opacity: .3; }
.portfolio-more {
  display: block;
  width: max-content;
  margin: 26px auto 0;
  color: var(--purple);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.portfolio-more:hover { color: var(--green); }
@keyframes portfolio-card-intro {
  0% { opacity: 0; transform: translate3d(-90px, 0, 0) scale(.96); filter: blur(8px); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

.section { width: min(1180px, calc(100% - 40px)); margin: auto; }
.section-heading { margin-bottom: 65px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 26px; }
.section-heading h2 { margin: 0; color: var(--copy); font-size: 18px; font-weight: 400; line-height: 1.5; }
.stats-section { padding: 70px 0 120px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 90px 95px; width: min(900px, 100%); margin: auto; }
.stat { display: grid; grid-template-columns: 175px 1fr; align-items: center; }
.stat > strong { font-size: 76px; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.stat p { margin: 0; color: var(--copy-soft); font-size: 12px; line-height: 1.5; }
.stat b { font-weight: 500; }
.stats-summary { max-width: 930px; margin: 95px auto 12px; color: var(--copy); text-align: center; line-height: 1.6; }
.source { display: block; color: var(--muted); font-size: 10px; text-align: center; }

.services-section { padding: 55px 0 70px; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.service-card {
  min-height: 230px;
  padding: 40px 25px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card-bg);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--pink); background: var(--card-hover-bg); }
.service-icon { display: flex; min-height: 75px; align-items: flex-start; }
.service-icon img { width: auto; height: 54px; object-fit: contain; object-position: left top; }
.service-card h3 { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.45; }

.client-strip {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 70px 25px;
  cursor: grab;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.client-strip::-webkit-scrollbar { display: none; }
.client-strip.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.client-track {
  display: flex;
  width: max-content;
  animation: client-marquee 32s linear infinite;
  will-change: transform;
}
.client-strip:hover .client-track,
.client-strip:focus-within .client-track,
.client-strip.is-dragging .client-track {
  animation-play-state: paused;
}
.client-group {
  display: flex;
  flex-shrink: 0;
  gap: clamp(20px, 2.2vw, 42px);
  align-items: center;
  padding-right: clamp(20px, 2.2vw, 42px);
  white-space: nowrap;
}
.client-group img {
  flex: 0 0 auto;
  width: auto;
  height: 46px;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform .25s ease, filter .25s ease;
}
.client-group img:hover {
  filter: brightness(1.12);
  transform: scale(1.06);
}
@keyframes client-marquee {
  to { transform: translateX(-50%); }
}
.cta-band { display: flex; align-items: center; flex-direction: column; padding: 35px 20px 120px; }
.online { margin-top: 12px; color: var(--green); font-size: 12px; }
.online i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(0,238,173,.5); }

.content-section { padding: 30px 0 170px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px; }
.article-card img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.article-meta { display: flex; justify-content: space-between; margin-top: 22px; color: var(--muted); font-size: 11px; }
.article-meta b, .article-card a { color: var(--purple); font-weight: 500; }
.article-card h2, .article-card h3 { margin: 20px 0 12px; font-size: 17px; line-height: 1.25; }
.article-card h2 a, .article-card h3 a { color: var(--text); font-size: inherit; text-decoration: none; }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--purple); }
.article-card p { min-height: 72px; margin: 0 0 17px; color: var(--copy-soft); font-size: 12px; line-height: 1.55; }
.article-card a { font-size: 12px; text-decoration: none; }
.article-card a:hover { color: var(--green); }
.article-card .article-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--blog-cover-ratio);
  border-radius: 12px;
}
.article-card .article-image-link img { transition: transform .4s ease; }
.article-card .article-image-link:hover img { transform: scale(1.025); }
.blog-button { display: flex; width: max-content; margin: 95px auto 0; }

.blog-header { position: relative; }
.blog-hero {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 130px 0 100px;
  text-align: center;
}
.blog-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  letter-spacing: -.045em;
  line-height: 1;
}
.blog-hero h1 span { color: var(--purple); }
.blog-hero > p:last-child { margin: 25px 0 0; color: var(--muted); }
.blog-listing { padding: 0 0 150px; }
.portfolio-listing { padding: 0 0 150px; }
.portfolio-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-list-card {
  overflow: hidden;
  border: 1px solid rgba(152, 37, 242, .35);
  border-radius: 28px;
  background: var(--card-bg);
}
.portfolio-list-card a { display: block; color: inherit; text-decoration: none; }
.portfolio-list-card img { transition: transform .5s ease; }
.portfolio-list-card:hover img { transform: scale(1.025); }
.portfolio-list-content { padding: 28px; }
.portfolio-list-content span { color: var(--green); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.portfolio-list-content h2 { margin: 12px 0 10px; font-size: 30px; letter-spacing: -.03em; }
.portfolio-list-content p { margin: 0; color: var(--copy-soft); font-size: 14px; line-height: 1.6; }
.post { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 100px 0 150px; }
.post-header { width: min(850px, 100%); margin: 0 auto 65px; text-align: center; }
.post-back { display: inline-block; margin-bottom: 60px; color: var(--muted); font-size: 12px; text-decoration: none; }
.post-back:hover { color: var(--green); }
.post-header h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; line-height: 1.03; }
.post-description { max-width: 700px; margin: 25px auto; color: var(--copy-soft); font-size: 17px; line-height: 1.6; }
.post-meta { display: flex; justify-content: center; gap: 28px; color: var(--muted); font-size: 12px; }
.post-meta strong { color: var(--purple); font-weight: 500; }
.post-cover { width: 100%; aspect-ratio: var(--blog-cover-ratio); border-radius: 28px; object-fit: cover; }
.portfolio-post .post-cover {
  display: block;
  width: min(540px, 100%);
  height: min(720px, calc((100vw - 40px) * 4 / 3));
  aspect-ratio: var(--portfolio-cover-ratio);
  margin: auto;
  object-fit: cover;
}
.post-content { width: min(720px, 100%); margin: 75px auto 0; color: var(--copy); font-size: 17px; line-height: 1.8; }
.post-content h2 { margin: 60px 0 18px; color: var(--text); font-size: 30px; line-height: 1.2; }
.post-content p { margin: 0 0 24px; }
.post-content a { color: var(--green); }
.post-content strong { color: var(--text); }
.post-content blockquote { margin: 40px 0; padding: 5px 0 5px 28px; color: var(--text-strong); border-left: 2px solid var(--purple); font-size: 21px; }
.portfolio-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(820px, 100%);
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}
.portfolio-services li {
  padding: 9px 15px;
  color: var(--text-strong);
  border: 1px solid rgba(152,37,242,.5);
  border-radius: 999px;
  background: var(--card-hover-bg);
  font-size: 12px;
}

footer { border-top: 7px solid var(--green); background: var(--footer-bg); }
.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 80px;
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  overflow: hidden;
  padding: 100px 0 90px;
}
.footer-main::after {
  position: absolute;
  width: 700px;
  height: 700px;
  right: -250px;
  bottom: -550px;
  border: 1px solid rgba(152,37,242,.15);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(152,37,242,.12);
  content: "";
}
.footer-brand .logo { font-size: 55px; }
.footer-brand h2 { margin: 45px 0 0; font-size: 25px; line-height: 1.18; }
.footer-brand h2 span { color: var(--purple); }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 12px; }
.footer-links strong { margin-bottom: 8px; font-size: 12px; }
.footer-links > a { color: var(--copy-soft); font-size: 11px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { display: grid; width: 25px; height: 25px; place-items: center; color: var(--green); border: 1px solid var(--green); border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
.footer-cta { z-index: 1; display: flex; align-items: center; flex-direction: column; padding-top: 20px; }
.copyright { padding: 22px 20px; color: #f5f4f8; background: var(--copyright-bg); font-size: 9px; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-content.reveal {
  transform: translate3d(var(--hero-content-x), var(--hero-content-y), 0);
  transition: opacity .9s ease .35s, transform .9s cubic-bezier(.2,.8,.2,1);
}
.hero-content.reveal.visible { transform: translate3d(var(--hero-content-x), var(--hero-content-y), 0); }

@media (max-width: 1100px) {
  .site-header { position: absolute; height: 78px; }
  .menu-toggle {
    display: flex;
    z-index: 31;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--button-bg);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
  }
  .menu-toggle:hover,
  .menu-toggle.active { border-color: var(--green); background: var(--button-hover-bg); }
  .menu-toggle span { width: 20px; height: 1px; background: var(--text-strong); transition: transform .25s ease; }
  .menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 30;
    display: grid;
    visibility: hidden;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    align-content: center;
    justify-items: center;
    gap: 22px;
    overflow-y: auto;
    padding: 110px 24px 48px;
    background: var(--mobile-menu-bg);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity .3s ease, visibility .3s ease;
  }
  .main-nav::before {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(152,37,242,.18);
    border-radius: 34px;
    content: "";
    pointer-events: none;
  }
  .main-nav::after {
    position: absolute;
    width: min(520px, 72vw);
    height: min(520px, 72vw);
    border: 1px solid rgba(152,37,242,.14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    box-shadow: 0 0 80px rgba(152,37,242,.14);
  }
  .main-nav.open { visibility: visible; opacity: 1; pointer-events: auto; }
  .main-nav > a {
    position: relative;
    z-index: 1;
  }
  .main-nav > a:not(.button) {
    display: block;
    color: var(--text-strong);
    font-size: clamp(22px, 5vw, 42px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1;
    text-transform: none;
  }
  .main-nav > a:not(.button):hover { color: var(--green); }
  .main-nav .button {
    z-index: 1;
    min-width: min(300px, calc(100vw - 56px));
    margin-top: 10px;
    background: var(--button-hover-bg);
  }
  .main-nav .theme-toggle {
    z-index: 1;
    width: 48px;
    height: 48px;
  }
  .portfolio-track { grid-template-columns: repeat(2, 1fr); max-width: 850px; }
  .portfolio-list-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { gap: 30px; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; }
  .site-header .logo { font-size: 26px; }
  .hero { min-height: 650px; padding: 145px 20px 100px; }
  .hero h1 { font-size: clamp(38px, 11vw, 55px); }
  .hero-copy { margin-bottom: 45px; font-size: 14px; }
  .hero-copy br, .section-heading h2 br { display: none; }
  .portfolio { margin-top: -50px; }
  .portfolio-viewport { width: 100%; overflow: visible; }
  .portfolio-track { width: 100%; padding: 0 18px 15px; }
  .portfolio-card { flex-basis: 82vw; border-radius: 28px; scroll-snap-align: center; }
  .portfolio-controls { display: none; }
  .portfolio-more { margin-top: 10px; }
  .section { width: min(100% - 32px, 1180px); }
  .stats-section { padding-top: 30px; }
  .stats-grid { grid-template-columns: 1fr; gap: 45px; }
  .stat { grid-template-columns: 125px 1fr; }
  .stat > strong { font-size: 58px; }
  .stats-summary { margin-top: 65px; font-size: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { min-height: 185px; padding: 27px 18px 20px; border-radius: 18px; }
  .service-icon { min-height: 55px; }
  .service-icon img { height: 42px; }
  .service-card h3 { font-size: 13px; }
  .client-strip { padding: 50px 0; }
  .client-track { animation-duration: 24s; }
  .client-group img { height: 40px; }
  .cta-band { padding-bottom: 90px; }
  .content-section { padding-bottom: 100px; }
  .articles-grid { grid-template-columns: 1fr; gap: 55px; }
  .article-card p { min-height: auto; }
  .blog-button { margin-top: 65px; }
  .blog-hero { padding: 95px 0 70px; }
  .blog-hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .portfolio-list-grid { grid-template-columns: 1fr; gap: 28px; }
  .portfolio-list-content { padding: 22px; }
  .portfolio-list-content h2 { font-size: 25px; }
  .post { padding: 75px 0 100px; }
  .post-header { margin-bottom: 40px; }
  .post-back { margin-bottom: 40px; }
  .post-header h1 { font-size: clamp(36px, 11vw, 54px); }
  .post-description, .post-content { font-size: 15px; }
  .post-cover { border-radius: 16px; }
  .post-content { margin-top: 45px; }
  .post-content h2 { margin-top: 45px; font-size: 25px; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; padding: 70px 0; }
  .footer-brand h2 { margin-top: 30px; }
  .footer-cta { align-items: flex-start; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .client-track { animation-play-state: paused; }
  .hero-texture, .hero-orb, .hero-bloom, .portfolio-card { animation: none; }
  .hero-bloom { opacity: .14; transform: translateX(-50%) scale(1); }
  .portfolio-card { opacity: 1; transform: none; filter: none; }
  .hero-copy-phrase { transition: none; }
}
