:root {
  --background: #030303;
  --foreground: #f7f7f2;
  --muted: #cececa;
  --line: rgba(255, 255, 255, 0.16);
  --panel: #171717;
  --panel-soft: #222222;
  --accent: #ff4fa3;
  --accent-violet: #a45cff;
  --accent-blue: #5b7cff;
  --accent-gradient: linear-gradient(105deg, #ff4fa3 0%, #c15cff 45%, #7f62ff 72%, #5b7cff 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --color-background: var(--background);
  --color-surface: var(--panel);
  --color-text: var(--foreground);
  --color-text-muted: var(--muted);
  --color-accent: var(--accent);
  --font-primary: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
}

main,
section,
article,
div,
form,
nav {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-primary);
  margin: 0;
  position: relative;
}

h1,
h2,
h3 {
  color: var(--foreground);
}

body.menu-open {
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

section[id] {
  scroll-margin-top: 110px;
}

body::before {
  animation: page-curtain 1150ms var(--ease-out) forwards;
  background: var(--accent-gradient);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  transform-origin: top;
  z-index: 9999;
}

body::after {
  background: var(--accent-gradient);
  content: "";
  height: 3px;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  width: 100%;
  z-index: 10000;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  align-items: center;
  animation: fade-down 800ms ease both;
  backdrop-filter: blur(18px);
  background: rgba(3, 3, 3, 0.78);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand,
.nav nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
}

.brand {
  background: linear-gradient(90deg, #ffffff 0%, #e7ddff 38%, #bd8cff 72%, #7f9cff 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 700;
  letter-spacing: -0.025em;
  padding-left: 30px;
  position: relative;
  white-space: nowrap;
  -webkit-background-clip: text;
}

.brand::before {
  background: var(--accent-gradient);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(164, 92, 255, 0.48);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.brand-mark,
.ticker b {
  background: var(--accent-gradient);
  background-clip: text;
  color: transparent;
  font-size: 34px;
  line-height: 1;
  -webkit-background-clip: text;
}

.brand-mark {
  display: none;
}

.nav nav a {
  color: var(--muted);
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 600;
  position: relative;
  transition: color 180ms ease;
}

.nav nav a:hover {
  color: var(--foreground);
}

.nav nav a::after {
  background: var(--accent-gradient);
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
  width: 100%;
}

.nav nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav nav .nav-social {
  border: 1px solid rgba(164, 92, 255, 0.5);
  border-radius: 999px;
  font-size: 14px;
  padding: 10px 15px;
}

.nav nav .nav-social::after {
  display: none;
}

.nav nav .nav-social-linkedin {
  background: rgba(91, 124, 255, 0.14);
  color: #dce5ff;
}

.nav nav .nav-social-instagram {
  background: linear-gradient(110deg, rgba(255, 79, 163, 0.2), rgba(164, 92, 255, 0.22));
  color: #ffe0f1;
}

.nav nav .nav-social:hover {
  border-color: rgba(205, 183, 255, 0.9);
  box-shadow: 0 0 24px rgba(164, 92, 255, 0.2);
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(118deg, transparent 0 46%, rgba(255, 79, 163, 0.11) 65%, rgba(164, 92, 255, 0.16) 82%, rgba(91, 124, 255, 0.08) 100%);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  min-height: 78vh;
  padding: clamp(56px, 9vw, 132px) clamp(20px, 4vw, 64px) 56px;
  position: relative;
}

.eyebrow,
.label {
  color: var(--foreground);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  margin: 0 0 24px;
}

.hero .eyebrow {
  animation: fade-up 800ms 120ms ease both;
}

.hero h1,
.section h2,
.contact h2 {
  animation: title-reveal 1100ms 180ms var(--ease-out) both;
  font-size: clamp(54px, 9vw, 148px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.93;
  margin: 0;
  max-width: 1180px;
}

.gradient-text,
.portfolio-category-branding .portfolio-category-heading h3,
.contact h2 {
  animation: gradient-shift 8s ease-in-out infinite alternate;
  background: var(--accent-gradient);
  background-clip: text;
  background-size: 180% 100%;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-side {
  align-self: end;
  display: grid;
  gap: 42px;
  justify-items: start;
}

.hero-side p {
  animation: fade-up 900ms 360ms ease both;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.15;
  margin: 0;
}

.round-link {
  align-items: center;
  animation: fade-up 900ms 500ms ease both;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  height: 164px;
  justify-items: center;
  padding: 26px;
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: border-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.round-link::before {
  background: var(--accent-gradient);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(0.5);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.round-link:hover {
  border-color: var(--accent-violet);
  box-shadow: 0 0 52px rgba(164, 92, 255, 0.24);
  transform: translateY(-6px) rotate(-3deg);
}

.round-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.round-link span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.round-link strong {
  color: var(--foreground);
  font-size: 46px;
  font-weight: 300;
  transition: transform 260ms ease;
  position: relative;
  z-index: 1;
}

.round-link:hover span,
.round-link:hover strong {
  color: #050505;
}

.round-link:hover strong {
  transform: translate(6px, -6px);
}

.ticker {
  background: linear-gradient(90deg, rgba(255, 79, 163, 0.04), rgba(164, 92, 255, 0.1), rgba(91, 124, 255, 0.04));
  align-items: center;
  border-block: 1px solid var(--line);
  display: flex;
  gap: clamp(22px, 4vw, 58px);
  overflow: hidden;
  padding: 26px 0;
  white-space: nowrap;
}

.ticker.is-ready {
  gap: 0;
}

.ticker-track {
  align-items: center;
  animation: ticker-scroll 28s linear infinite;
  display: flex;
  gap: clamp(22px, 4vw, 58px);
  padding-right: clamp(22px, 4vw, 58px);
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker span {
  font-size: clamp(26px, 3.4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.ticker b {
  animation: accent-pulse 1.8s ease-in-out infinite alternate;
  font-size: 22px;
}

.section {
  padding: clamp(76px, 10vw, 150px) clamp(20px, 4vw, 64px);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: clip-path 1050ms var(--ease-out), opacity 900ms var(--ease-out), transform 1050ms var(--ease-out);
}

.js-enabled .reveal {
  clip-path: inset(0 0 14% 0);
  opacity: 0;
  transform: translateY(72px) scale(0.985);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.split {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
}

.section-title h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(48px, 6vw, 92px);
}

.section-title h2,
.section-title .label,
.service-card h3,
.home-about-copy h2,
.home-about-copy .label {
  color: #ffffff;
}

.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.08), transparent 38%, rgba(91, 124, 255, 0.08)),
    linear-gradient(118deg, #080808 0%, #121212 48%, #262626 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 250px;
  padding: 34px;
  transition: border-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.service-card:hover {
  border-color: rgba(164, 92, 255, 0.72);
  box-shadow: 0 28px 80px rgba(91, 124, 255, 0.13);
  transform: translateY(-8px);
}

.js-enabled .service-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1);
}

.service-card span,
.process-grid span,
.work-row > span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.service-card h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  margin: 72px 0 18px;
}

.service-card p,
.process-grid p,
.work-row p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.28;
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 22px;
  margin-bottom: 56px;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 80px 1fr minmax(240px, 0.8fr);
  padding: 34px 0;
  transition: border-color 220ms ease, padding-left 220ms ease;
}

.work-row:hover {
  border-color: rgba(164, 92, 255, 0.66);
  padding-left: 18px;
}

.work-row h3 {
  font-size: clamp(32px, 4.5vw, 74px);
  font-weight: 500;
  line-height: 0.95;
  margin: 8px 0 0;
}

.portfolio-screen {
  min-height: 100vh;
}

.portfolio-hero {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  margin-bottom: 42px;
}

.portfolio-hero h2 {
  font-size: clamp(50px, 7.2vw, 118px);
}

.portfolio-hero > p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.15;
  margin: 0;
}

.portfolio-category + .portfolio-category {
  border-top: 1px solid var(--line);
  margin-top: clamp(96px, 12vw, 180px);
  padding-top: clamp(72px, 9vw, 130px);
}

.portfolio-category-heading {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  margin-bottom: 34px;
}

.portfolio-category-heading h3 {
  font-size: clamp(58px, 8vw, 132px);
  font-weight: 500;
  line-height: 0.88;
  margin: 0;
}

.portfolio-category-heading > p {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.25;
  margin: 0;
}

.portfolio-category-index {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.portfolio-category-branding .portfolio-category-heading h3 {
  color: transparent;
}

.portfolio-filters {
  border-block: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  padding: 18px 0;
}

.filter-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  min-height: 44px;
  padding: 0 18px;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--accent-gradient);
  border-color: var(--accent-violet);
  color: #050505;
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  background: #111111;
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 430px;
  overflow: hidden;
  position: relative;
  transition: border-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out), opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card:hover {
  border-color: rgba(164, 92, 255, 0.74);
  box-shadow: 0 28px 90px rgba(91, 124, 255, 0.15);
}

.portfolio-card a {
  display: grid;
  height: 100%;
  transform: perspective(1100px) translateY(var(--card-lift, 0px)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease-out);
}

.portfolio-card:hover a {
  --card-lift: -8px;
}

.portfolio-card-large {
  grid-column: span 2;
}

.portfolio-visual {
  align-items: end;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.2), transparent 34%, rgba(91, 124, 255, 0.2)),
    linear-gradient(120deg, #090909 0%, #1c1c1c 48%, #303030 100%);
  display: flex;
  min-height: 260px;
  padding: 24px;
  position: relative;
}

.portfolio-visual::before,
.portfolio-visual::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  position: absolute;
}

.portfolio-visual::before {
  border-radius: 22px;
  inset: 28px 28px auto auto;
  height: 48%;
  width: 36%;
}

.portfolio-visual::after {
  border-radius: 999px;
  bottom: 28px;
  height: 54px;
  right: 28px;
  width: 54px;
}

.portfolio-visual span {
  color: var(--accent);
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 500;
  line-height: 0.9;
  position: relative;
  z-index: 1;
}

.portfolio-project-image {
  align-items: stretch;
  background: #eef0f3;
  overflow: hidden;
  padding: 0;
}

.portfolio-project-image::before,
.portfolio-project-image::after {
  display: none;
}

.portfolio-project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
  width: 100%;
}

.portfolio-card:hover .portfolio-project-image img {
  transform: scale(1.065);
}

.js-enabled .portfolio-card.reveal .portfolio-visual,
.js-enabled .case-cover.reveal img,
.js-enabled .case-gallery-item.reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.04);
  transition: clip-path 1150ms var(--ease-out), transform 1400ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .portfolio-card.reveal.is-visible .portfolio-visual,
.js-enabled .case-cover.reveal.is-visible img,
.js-enabled .case-gallery-item.reveal.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.site-preview {
  background:
    linear-gradient(180deg, transparent 18%, rgba(255, 255, 255, 0.12) 18% 19%, transparent 19% 38%, rgba(255, 255, 255, 0.12) 38% 39%, transparent 39%),
    linear-gradient(120deg, #090909 0%, #202020 60%, #3b3b3b 100%);
}

.system-preview {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 72px),
    linear-gradient(120deg, #050505 0%, #1d1d1d 48%, #333333 100%);
}

.branding-preview {
  background:
    linear-gradient(135deg, rgba(255, 79, 163, 0.7), transparent 32%, rgba(91, 124, 255, 0.52)),
    linear-gradient(135deg, #090909 0%, #191919 52%, #2e2e2e 100%);
}

.portfolio-card-content {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.portfolio-card-content span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-card-content h3 {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 0.96;
  margin: 0;
}

.portfolio-card-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.32;
  margin: 0;
}

.case-shell {
  overflow: clip;
}

.case-hero {
  background: linear-gradient(125deg, transparent 0 52%, rgba(255, 79, 163, 0.1) 70%, rgba(127, 98, 255, 0.12) 88%, rgba(91, 124, 255, 0.05));
  padding: clamp(64px, 9vw, 128px) clamp(20px, 4vw, 64px) clamp(48px, 7vw, 92px);
}

.case-hero h1 {
  animation: title-reveal 1100ms 160ms var(--ease-out) both;
  font-size: clamp(58px, 10vw, 164px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0;
  max-width: 1450px;
}

.case-intro {
  align-items: end;
  display: grid;
  gap: clamp(36px, 7vw, 120px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  margin-top: clamp(54px, 8vw, 112px);
}

.case-intro > p {
  color: var(--muted);
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1.08;
  margin: 0;
  max-width: 950px;
}

.case-meta {
  border-top: 1px solid var(--line);
  margin: 0;
}

.case-meta div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 100px 1fr;
  padding: 18px 0;
}

.case-meta dt {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.case-meta dd {
  font-size: 17px;
  margin: 0;
}

.case-cover {
  aspect-ratio: 16 / 10;
  background: #eef0f3;
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
  width: min(calc(100% - 40px), 1180px);
}

.case-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.case-overview {
  border-bottom: 1px solid var(--line);
}

.case-copy-grid {
  display: grid;
  gap: clamp(48px, 8vw, 140px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
}

.case-copy-grid h2,
.case-gallery-heading h2,
.case-next h2 {
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.94;
  max-width: 1100px;
}

.case-copy-grid p {
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.35;
  margin: 0 0 28px;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-steps article {
  border: 1px solid var(--line);
  min-height: 310px;
  padding: clamp(24px, 3vw, 42px);
  transition: background 420ms var(--ease-out), border-color 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.case-steps article:hover {
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.14), rgba(127, 98, 255, 0.12), rgba(91, 124, 255, 0.08));
  border-color: rgba(164, 92, 255, 0.62);
  transform: translateY(-6px);
}

.case-steps span,
.case-gallery-item figcaption {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-steps h3 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  margin: 92px 0 18px;
}

.case-steps p {
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.case-gallery {
  display: grid;
  gap: clamp(48px, 8vw, 120px) 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
}

.case-gallery-heading {
  grid-column: 1 / -1;
}

.case-gallery-item {
  margin: 0;
}

.case-gallery-item-wide {
  grid-column: 1 / -1;
}

.case-gallery-item img {
  background: #000000;
  display: block;
  max-height: 720px;
  object-fit: contain;
  width: 100%;
}

.case-gallery-item figcaption {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.case-next {
  border-top: 1px solid var(--line);
}

.case-next h2 {
  margin-bottom: clamp(48px, 7vw, 100px);
}

.case-back-link {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: clamp(24px, 3vw, 44px);
  justify-content: space-between;
  padding: 20px 0;
  transition: border-color 220ms ease, color 220ms ease;
}

.case-back-link:hover {
  border-color: var(--accent-violet);
  color: #d9c8ff;
}

.process {
  background: var(--foreground);
  color: #050505;
}

.process .label,
.process h2,
.process h3,
.process-grid p,
.process-grid span {
  color: #050505;
}

.process-grid article {
  color: #050505;
}

.process-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article {
  border: 1px solid rgba(0, 0, 0, 0.14);
  min-height: 280px;
  padding: 34px;
  transition: background 260ms ease, transform 260ms ease;
}

.process-grid article:hover {
  background: linear-gradient(135deg, rgba(255, 79, 163, 0.4), rgba(164, 92, 255, 0.28), rgba(91, 124, 255, 0.18));
  transform: translateY(-6px);
}

.js-enabled .process-grid article.reveal.is-visible:hover {
  transform: translateY(-6px) scale(1);
}

.process-grid h3 {
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 500;
  margin: 100px 0 16px;
}

.contact {
  background:
    linear-gradient(125deg, rgba(255, 79, 163, 0.12), transparent 34%, rgba(164, 92, 255, 0.14) 72%, rgba(91, 124, 255, 0.1)),
    var(--panel);
  border-radius: 56px 56px 0 0;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  padding: clamp(72px, 9vw, 126px) clamp(20px, 4vw, 64px) 64px;
}

.contact h2 {
  color: transparent;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 52px);
}

.contact-socials a {
  align-items: center;
  border: 1px solid rgba(184, 140, 255, 0.64);
  border-radius: 999px;
  color: var(--foreground);
  display: inline-flex;
  gap: 28px;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(91, 124, 255, 0.12);
  font-weight: 700;
  min-width: 184px;
  padding: 16px 20px;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.contact-socials .social-linkedin {
  background: linear-gradient(110deg, rgba(51, 92, 210, 0.3), rgba(91, 124, 255, 0.16));
}

.contact-socials .social-instagram {
  background: linear-gradient(110deg, rgba(255, 79, 163, 0.28), rgba(164, 92, 255, 0.2));
}

.contact-socials a:hover {
  background: rgba(164, 92, 255, 0.12);
  border-color: var(--accent-violet);
  transform: translateY(-3px);
}

.contact-socials span {
  transition: transform 240ms ease;
}

.contact-socials a:hover span {
  transform: translate(3px, -3px);
}

.contact-form {
  align-self: center;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  color: var(--muted);
  display: grid;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  background: var(--panel-soft);
  border: 1px solid transparent;
  border-radius: 24px;
  color: var(--foreground);
  min-height: 62px;
  outline: none;
  padding: 18px 20px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 4px rgba(164, 92, 255, 0.14);
  transform: translateY(-2px);
}

.contact-form button {
  background: var(--accent-gradient);
  border: 0;
  border-radius: 999px;
  color: #050505;
  cursor: pointer;
  font-weight: 700;
  min-height: 58px;
  padding: 0 28px;
  transition: box-shadow 220ms ease, transform 220ms ease;
  width: fit-content;
}

.contact-form button:hover {
  box-shadow: 0 16px 44px rgba(164, 92, 255, 0.28);
  transform: translateY(-3px);
}

.footer {
  align-items: center;
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 64px);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-curtain {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-105%);
  }
}

@keyframes title-reveal {
  0% {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: translateY(72px);
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient-shift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes accent-pulse {
  from {
    opacity: 0.55;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes star-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .nav,
  .footer,
  .hero,
  .split,
  .contact,
  .portfolio-hero,
  .portfolio-category-heading {
    grid-template-columns: 1fr;
  }

  .nav,
  .footer {
    align-items: flex-start;
    display: grid;
    gap: 18px;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .process-grid,
  .contact-form,
  .portfolio-grid,
  .case-intro,
  .case-copy-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-gallery-heading {
    grid-column: auto;
  }

  .case-gallery-item-wide {
    grid-column: auto;
  }

  .work-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .portfolio-card-large {
    grid-column: auto;
  }

  .contact {
    border-radius: 36px 36px 0 0;
  }
}

@media (max-width: 560px) {
  .nav nav,
  .footer div {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .ticker {
    padding: 20px 0;
  }

  .service-card,
  .process-grid article,
  .case-steps article {
    border-radius: 22px;
    padding: 26px;
  }

  .case-steps {
    grid-template-columns: 1fr;
  }

  .case-steps h3 {
    margin-top: 64px;
  }

  .round-link {
    height: 132px;
  }
}

/* Apresentação dos mockups dos cases de interface */
.case-ui .case-gallery {
  gap: clamp(56px, 8vw, 124px) clamp(20px, 2.4vw, 36px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  max-width: 1440px;
}

.case-ui .case-gallery-heading {
  grid-column: 1 / -1;
  margin-bottom: clamp(-28px, -2vw, -12px);
}

.case-ui .case-gallery-item {
  background:
    radial-gradient(circle at 76% 18%, rgba(164, 92, 255, 0.2), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(91, 124, 255, 0.16), transparent 38%),
    linear-gradient(145deg, #17171a, #0b0b0d 72%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: clamp(26px, 3vw, 46px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  display: grid;
  grid-column: span 6;
  grid-template-rows: minmax(0, 1fr) auto;
  isolation: isolate;
  min-height: clamp(560px, 62vw, 800px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 76px) clamp(24px, 4vw, 60px) clamp(22px, 3vw, 38px);
  position: relative;
}

.case-ui .case-gallery-item::before {
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.08), transparent 58%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-45%);
  transition: transform 700ms var(--ease-out);
  z-index: 0;
}

.case-ui .case-gallery-item:nth-of-type(even) {
  background:
    radial-gradient(circle at 82% 16%, rgba(164, 92, 255, 0.22), transparent 34%),
    radial-gradient(circle at 16% 88%, rgba(255, 79, 163, 0.1), transparent 38%),
    linear-gradient(145deg, #1c1922, #0d0c10 72%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.case-ui .case-gallery-item:hover::before {
  transform: translateX(45%);
}

.case-ui .case-gallery-item img {
  align-self: center;
  background: transparent;
  border-radius: clamp(16px, 2vw, 30px);
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.36));
  max-height: 760px;
  object-fit: contain;
  position: relative;
  transform-origin: center bottom;
  transition: filter 600ms var(--ease-out), transform 600ms var(--ease-out);
  z-index: 1;
}

.js-enabled .case-ui .case-gallery-item.reveal.is-visible:hover img {
  filter: drop-shadow(0 42px 42px rgba(0, 0, 0, 0.44));
  transform: translateY(-10px) scale(1.018);
}

.case-ui .case-gallery-item figcaption {
  border-color: rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 2;
}

.case-ui .case-gallery-item:nth-of-type(even) figcaption {
  border-color: rgba(255, 255, 255, 0.18);
}

.case-ui .case-gallery-wide,
.case-ui .case-gallery-item-wide,
.case-ui-web .case-gallery-item,
.case-ui-mixed .case-gallery-item {
  grid-column: 1 / -1;
}

.case-ui-web .case-gallery-item,
.case-ui-mixed .case-gallery-item {
  min-height: clamp(520px, 60vw, 860px);
}

.case-ui-web .case-gallery-item img,
.case-ui-mixed .case-gallery-item img {
  max-height: 820px;
}

/* Case HEMERA: mockups de produto sobre o palco escuro do portfólio */
.hemera-case .case-cover {
  aspect-ratio: 16 / 9;
  background: #09090c;
  border-radius: clamp(26px, 3vw, 44px);
}

.hemera-case .case-gallery-item {
  padding-top: clamp(58px, 6vw, 86px);
}

.hemera-case .hemera-browser-mockup::after {
  background:
    radial-gradient(circle, #ff5f57 0 5px, transparent 6px) 0 50% / 18px 18px no-repeat,
    radial-gradient(circle, #febc2e 0 5px, transparent 6px) 18px 50% / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 5px, transparent 6px) 36px 50% / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  content: "";
  height: 38px;
  left: clamp(24px, 4vw, 60px);
  position: absolute;
  right: clamp(24px, 4vw, 60px);
  top: clamp(20px, 2.6vw, 34px);
  z-index: 2;
}

.hemera-case .hemera-browser-mockup img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
}

/* Case Finfy: Internet Banking e aplicativo no mesmo sistema visual */
.finfy-case .case-cover {
  aspect-ratio: 16 / 9;
  background: #070c0e;
  border-radius: clamp(26px, 3vw, 44px);
}

.finfy-case .finfy-browser-mockup {
  padding-top: clamp(58px, 6vw, 86px);
}

.finfy-case .finfy-browser-mockup::after {
  background:
    radial-gradient(circle, #ff5f57 0 5px, transparent 6px) 0 50% / 18px 18px no-repeat,
    radial-gradient(circle, #febc2e 0 5px, transparent 6px) 18px 50% / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 5px, transparent 6px) 36px 50% / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(0, 207, 194, 0.12), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  content: "";
  height: 38px;
  left: clamp(24px, 4vw, 60px);
  position: absolute;
  right: clamp(24px, 4vw, 60px);
  top: clamp(20px, 2.6vw, 34px);
  z-index: 2;
}

.finfy-case .finfy-browser-mockup img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
}

/* Case ABTEC: telas do site em moldura de navegador */
.abtec-site-gallery .abtec-browser-mockup {
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 87, 33, 0.16), transparent 32%),
    #09090b;
  border-radius: clamp(20px, 2vw, 30px);
  padding: clamp(58px, 6vw, 86px) clamp(24px, 4vw, 60px) clamp(24px, 4vw, 60px);
  position: relative;
}

.abtec-site-gallery .abtec-browser-mockup::after {
  background:
    radial-gradient(circle, #ff5f57 0 5px, transparent 6px) 0 50% / 18px 18px no-repeat,
    radial-gradient(circle, #febc2e 0 5px, transparent 6px) 18px 50% / 18px 18px no-repeat,
    radial-gradient(circle, #28c840 0 5px, transparent 6px) 36px 50% / 18px 18px no-repeat,
    linear-gradient(90deg, rgba(242, 87, 33, 0.12), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  content: "";
  height: 38px;
  left: clamp(24px, 4vw, 60px);
  position: absolute;
  right: clamp(24px, 4vw, 60px);
  top: clamp(20px, 2.6vw, 34px);
}

.abtec-site-gallery .abtec-browser-mockup img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
  max-height: none;
}

.case-site-link {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: clamp(18px, 2vw, 24px);
  justify-content: space-between;
  margin-top: 28px;
  padding: 16px 0;
  transition: border-color 220ms ease, color 220ms ease;
}

.case-site-link:hover {
  border-color: #f25721;
  color: #ff9a76;
}

.finfy-case .finfy-mobile-heading {
  margin-top: clamp(36px, 7vw, 100px);
}

.finfy-case .finfy-app-mockup {
  background:
    radial-gradient(circle at 18% 82%, rgba(0, 207, 194, 0.18), transparent 36%),
    linear-gradient(145deg, #101719, #06090a 72%);
  grid-column: 1 / -1;
}

.finfy-case .case-gallery-item-app {
  grid-column: span 6;
  min-height: clamp(650px, 72vw, 920px);
}

.finfy-case .case-gallery-item-app img {
  border-radius: clamp(28px, 3vw, 44px);
  max-height: 800px;
  width: auto;
}

.case-ui-mixed .case-gallery-item:has(img[src*="traders-redesign-app-"]) {
  grid-column: span 6;
  min-height: clamp(560px, 62vw, 800px);
}

@media (max-width: 900px) {
  .case-ui .case-gallery {
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .case-ui .case-gallery-heading,
  .case-ui .case-gallery-item,
  .case-ui .case-gallery-wide,
  .case-ui .case-gallery-item-wide,
  .case-ui-web .case-gallery-item,
  .case-ui-mixed .case-gallery-item,
  .case-ui-mixed .case-gallery-item:has(img[src*="traders-redesign-app-"]) {
    grid-column: 1;
  }

  .case-ui .case-gallery-item {
    border-radius: 26px;
    min-height: 0;
    padding: 28px 18px 22px;
  }

  .case-ui .case-gallery-item img {
    max-height: 680px;
  }

  .hemera-case .case-gallery-item {
    padding-top: 64px;
  }

  .hemera-case .hemera-browser-mockup::after {
    left: 18px;
    right: 18px;
    top: 18px;
  }

  .finfy-case .finfy-browser-mockup {
    padding-top: 64px;
  }

  .finfy-case .finfy-browser-mockup::after {
    left: 18px;
    right: 18px;
    top: 18px;
  }

  .finfy-case .case-gallery-item-app {
    grid-column: 1;
    min-height: 0;
  }
}

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

  .ticker-track {
    animation: none;
  }
}

/* Sobre mim */
.nav nav a.is-active,
.nav nav a[aria-current="page"] {
  color: var(--foreground);
}

.nav nav a.is-active::after,
.nav nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.about-hero {
  background:
    radial-gradient(circle at 75% 22%, rgba(164, 92, 255, 0.2), transparent 28%),
    linear-gradient(118deg, transparent 0 52%, rgba(255, 79, 163, 0.08) 72%, rgba(91, 124, 255, 0.11) 100%);
  display: grid;
  gap: clamp(44px, 7vw, 112px);
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: calc(100svh - 86px);
  padding: clamp(62px, 8vw, 118px) clamp(20px, 4vw, 64px) clamp(56px, 7vw, 96px);
}

.about-hero-copy {
  align-self: center;
  min-width: 0;
}

.about-hero h1 {
  animation: title-reveal 1100ms 180ms var(--ease-out) both;
  font-size: clamp(66px, 10vw, 156px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.82;
  margin: 0;
  max-width: 8ch;
}

.about-hero-line {
  color: var(--muted);
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.15;
  margin: clamp(36px, 5vw, 68px) 0 0;
  max-width: 720px;
}

.about-hero-summary {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 650px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.about-button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 18px;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  transition: border-color 260ms ease, box-shadow 260ms ease, color 260ms ease, transform 260ms var(--ease-out);
}

.about-button-primary {
  background: var(--accent-gradient);
  border: 0;
  color: #050505;
}

.about-button:hover {
  border-color: var(--accent-violet);
  box-shadow: 0 14px 38px rgba(164, 92, 255, 0.2);
  transform: translateY(-3px);
}

.about-photo-wrap {
  align-self: center;
  min-width: 0;
}

.about-photo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 180px 180px 28px 28px;
  display: block;
  height: min(62vh, 680px);
  min-height: 440px;
  object-fit: cover;
  object-position: center 24%;
  overflow: hidden;
  transition: border-color 400ms ease, transform 600ms var(--ease-out);
  width: 100%;
}

.about-photo:hover {
  border-color: rgba(164, 92, 255, 0.65);
  transform: translateY(-8px) rotate(1deg);
}

.about-photo-wrap > p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin: 16px 0 0;
  text-align: center;
  text-transform: uppercase;
}

.about-photo-wrap > p span {
  color: var(--accent);
  margin: 0 8px;
}

.about-intro,
.about-journey,
.about-experience,
.about-tools,
.about-practice,
.about-philosophy,
.about-education {
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

.about-editorial,
.about-philosophy-layout {
  display: grid;
  gap: clamp(40px, 8vw, 130px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.about-editorial h2,
.about-section-heading h2,
.about-philosophy h2,
.about-final-cta h2 {
  font-size: clamp(46px, 6.7vw, 104px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
}

.about-rich-text {
  align-self: end;
}

.about-rich-text p {
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.5;
  margin: 0;
}

.about-rich-text p + p {
  margin-top: 24px;
}

.about-metrics {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 clamp(20px, 4vw, 64px);
}

.about-metrics article {
  border-right: 1px solid var(--line);
  min-width: 0;
  padding: clamp(32px, 5vw, 72px) clamp(22px, 3vw, 48px);
}

.about-metrics article:last-child {
  border-right: 0;
}

.about-metrics strong {
  background: var(--accent-gradient);
  background-clip: text;
  color: transparent;
  display: block;
  font-size: clamp(62px, 8vw, 126px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.8;
  -webkit-background-clip: text;
}

.about-metrics p {
  color: var(--muted);
  margin: 30px 0 0;
  max-width: 260px;
}

.about-section-heading {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1.1fr);
  margin-bottom: clamp(48px, 7vw, 96px);
}

.about-section-heading .label {
  margin: 8px 0 0;
}

.about-timeline,
.about-education-list,
.about-tools-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-timeline {
  border-top: 1px solid var(--line);
}

.about-timeline li {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(60px, 0.2fr) minmax(0, 1fr);
  padding: clamp(26px, 4vw, 52px) 0;
}

.about-timeline > li > span,
.about-experience-list article > span,
.about-tools-grid article > span,
.about-practice-grid article > span,
.about-education-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.about-timeline h3,
.about-experience-list h3,
.about-tools-grid h3,
.about-practice-grid h3 {
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
}

.about-timeline p,
.about-experience-list p,
.about-practice-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 760px;
}

.about-experience-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-experience-list article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: clamp(30px, 5vw, 68px);
}

.about-experience-list article:last-child {
  border-right: 0;
}

.about-experience-list h3 {
  margin-top: clamp(56px, 8vw, 100px);
}

.about-tools-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-tools-grid article,
.about-practice-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  transition: border-color 320ms ease, transform 420ms var(--ease-out);
}

.about-tools-grid article:hover,
.about-practice-grid article:hover {
  border-color: rgba(164, 92, 255, 0.65);
  transform: translateY(-7px);
}

.about-tools-grid h3 {
  margin: 68px 0 28px;
}

.about-tools-grid li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 12px 0;
}

.about-practice-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-practice-grid h3 {
  margin-top: 86px;
}

.about-philosophy {
  background: linear-gradient(125deg, var(--panel) 0 55%, rgba(164, 92, 255, 0.12) 100%);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.about-philosophy h2 {
  max-width: 9ch;
}

.about-education-list {
  border-top: 1px solid var(--line);
}

.about-education-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 60px minmax(0, 1fr);
  padding: 24px 0;
}

.about-education-list p {
  font-size: clamp(20px, 2.5vw, 36px);
  letter-spacing: -0.025em;
  margin: 0;
}

.about-final-cta {
  background: var(--panel);
  border-radius: 48px 48px 0 0;
  padding: clamp(64px, 9vw, 132px) clamp(20px, 4vw, 64px);
}

.about-final-cta h2 {
  max-width: 18ch;
}

.about-final-cta > p:not(.label) {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.4;
  margin: 32px 0 0;
  max-width: 720px;
}

@media (max-width: 900px) {
  .about-hero,
  .about-editorial,
  .about-philosophy-layout,
  .about-section-heading {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero h1 {
    max-width: 10ch;
  }

  .about-photo-wrap {
    max-width: 620px;
  }

  .about-photo {
    height: min(80vw, 680px);
  }

  .about-section-heading {
    gap: 18px;
  }

  .about-section-heading h2 {
    max-width: 14ch;
  }

  .about-practice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero {
    gap: 54px;
  }

  .about-hero h1 {
    font-size: clamp(54px, 17vw, 82px);
    line-height: 0.88;
  }

  .about-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-button {
    width: 100%;
  }

  .about-photo {
    border-radius: 120px 120px 22px 22px;
    height: 118vw;
    min-height: 380px;
  }

  .about-metrics,
  .about-experience-list,
  .about-tools-grid {
    grid-template-columns: 1fr;
  }

  .about-metrics article,
  .about-experience-list article {
    border-right: 0;
  }

  .about-metrics article:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .about-editorial h2,
  .about-section-heading h2,
  .about-philosophy h2,
  .about-final-cta h2 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .about-timeline li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .about-tools-grid h3,
  .about-practice-grid h3,
  .about-experience-list h3 {
    margin-top: 48px;
  }

  .about-final-cta {
    border-radius: 30px 30px 0 0;
  }
}

/* Evolução editorial da página inicial */
.hero {
  align-items: center;
  background: #030303;
  gap: clamp(48px, 7vw, 120px);
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 86px), 860px);
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 104px) 76px;
}

.hero::before {
  content: none;
}

.hero::after {
  background: linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.88) 28%, rgba(3, 3, 3, 0.48) 50%, rgba(3, 3, 3, 0.12) 72%, transparent 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero-gradient {
  inset: -20%;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transform: translateZ(0);
  z-index: 0;
}

.hero-gradient-spot {
  border-radius: 48% 52% 58% 42% / 54% 42% 58% 46%;
  filter: blur(52px);
  opacity: 0.9;
  position: absolute;
  transform-origin: center;
  will-change: transform;
}

.hero-gradient-purple {
  animation: hero-purple-flow 14s ease-in-out infinite alternate;
  background: radial-gradient(ellipse at center, rgba(164, 92, 255, 0.92) 0%, rgba(164, 92, 255, 0.48) 30%, rgba(164, 92, 255, 0.12) 54%, transparent 72%);
  height: 68%;
  left: 55%;
  top: 3%;
  width: 58%;
}

.hero-gradient-blue {
  animation: hero-blue-flow 18s ease-in-out infinite alternate;
  background: radial-gradient(ellipse at center, rgba(91, 124, 255, 0.86) 0%, rgba(91, 124, 255, 0.42) 32%, rgba(91, 124, 255, 0.1) 56%, transparent 74%);
  height: 62%;
  left: 52%;
  top: 52%;
  width: 64%;
}

.hero-gradient-magenta {
  animation: hero-magenta-flow 22s ease-in-out infinite alternate;
  background: radial-gradient(ellipse at center, rgba(255, 79, 163, 0.72) 0%, rgba(255, 79, 163, 0.32) 30%, rgba(255, 79, 163, 0.08) 54%, transparent 72%);
  height: 54%;
  left: 42%;
  top: 27%;
  width: 48%;
}

.hero-tech-grid {
  animation: hero-grid-drift 20s linear infinite;
  background-image:
    linear-gradient(rgba(164, 92, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 124, 255, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  height: 92%;
  left: 48%;
  mask-image: radial-gradient(ellipse at center, #000 6%, rgba(0, 0, 0, 0.72) 44%, transparent 74%);
  opacity: 0.42;
  position: absolute;
  top: 20%;
  transform: perspective(760px) rotateX(62deg) rotateZ(-12deg) scale(1.18);
  transform-origin: center;
  width: 72%;
  will-change: transform, background-position;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 6%, rgba(0, 0, 0, 0.72) 44%, transparent 74%);
}

.hero-tech-orbit {
  --orbit-size: min(46vw, 620px);
  animation: hero-orbit-float 12s ease-in-out infinite alternate;
  border: 1px solid rgba(205, 183, 255, 0.52);
  border-radius: 50%;
  box-shadow:
    0 0 44px rgba(164, 92, 255, 0.12),
    inset 0 0 58px rgba(91, 124, 255, 0.08);
  height: var(--orbit-size);
  position: absolute;
  right: 21%;
  top: 8%;
  transform: rotate(-18deg);
  width: var(--orbit-size);
  will-change: transform;
}

.hero-tech-orbit::before,
.hero-tech-orbit::after {
  border-radius: 50%;
  content: "";
  position: absolute;
}

.hero-tech-orbit::before {
  animation: hero-orbit-dot 7s linear infinite;
  background: #b88cff;
  box-shadow: 0 0 12px #b88cff, 0 0 36px rgba(91, 124, 255, 0.9);
  height: 10px;
  left: 50%;
  top: -5px;
  transform-origin: 0 calc(var(--orbit-size) / 2 + 5px);
  width: 10px;
}

.hero-tech-orbit::after {
  border: 1px dashed rgba(91, 124, 255, 0.36);
  inset: 13%;
}

.hero-tech-core {
  animation: hero-core-float 8s ease-in-out infinite alternate;
  background: #f4efff;
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 34px rgba(184, 140, 255, 0.9),
    0 0 90px rgba(91, 124, 255, 0.44);
  height: 8px;
  left: 59%;
  position: absolute;
  top: 48%;
  width: 8px;
  will-change: transform;
}

.hero-tech-core::before,
.hero-tech-core::after {
  border-radius: 50%;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero-tech-core::before {
  animation: hero-core-pulse 4s ease-in-out infinite;
  border: 1px solid rgba(205, 183, 255, 0.46);
  height: 130px;
  width: 130px;
}

.hero-tech-core::after {
  border: 1px dashed rgba(91, 124, 255, 0.3);
  height: 260px;
  width: 260px;
}

.hero-tech-nodes {
  animation: hero-nodes-pulse 5s ease-in-out infinite alternate;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  box-shadow:
    110px 42px 0 rgba(184, 140, 255, 0.8),
    220px 116px 0 rgba(91, 124, 255, 0.72),
    72px 208px 0 rgba(255, 79, 163, 0.68),
    330px 246px 0 rgba(255, 255, 255, 0.48),
    180px 322px 0 rgba(164, 92, 255, 0.76);
  height: 4px;
  opacity: 0.7;
  position: absolute;
  right: 34%;
  top: 22%;
  width: 4px;
}

.hero-tech-scan {
  animation: hero-scan 11s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(166, 126, 255, 0.4), rgba(91, 124, 255, 0.08), transparent);
  filter: blur(0.5px);
  height: 1px;
  left: 46%;
  opacity: 0;
  position: absolute;
  top: 18%;
  width: 58%;
  will-change: opacity, transform;
}

.has-scroll-motion .hero-copy h1,
.has-scroll-motion .hero-side p,
.has-scroll-motion .hero-gradient,
.has-scroll-motion .ticker,
.has-scroll-motion .section-title,
.has-scroll-motion .home-about-photo,
.has-scroll-motion .home-about-copy,
.has-scroll-motion .portfolio-hero,
.has-scroll-motion .portfolio-category-heading,
.has-scroll-motion .portfolio-filters,
.has-scroll-motion .portfolio-card,
.has-scroll-motion .portfolio-visual,
.has-scroll-motion .process-grid article,
.has-scroll-motion .contact > div,
.has-scroll-motion .contact-form {
  will-change: transform, opacity;
}

.has-scroll-motion .portfolio-card,
.has-scroll-motion .service-card,
.has-scroll-motion .process-grid article {
  transition: none;
}

.has-scroll-motion .service-card:hover,
.has-scroll-motion .process-grid article:hover {
  transform: none;
}

.hero-copy,
.hero-side,
.scroll-cue {
  z-index: 1;
}

.hero h1 {
  animation: none;
  display: grid;
  font-size: clamp(52px, 5.6vw, 94px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 22ch;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  white-space: nowrap;
}

.hero-title-line > span {
  animation: none;
  display: block;
  filter: none;
  opacity: 1;
  transform: none;
}

.hero-title-line:nth-child(2) > span {
  animation-delay: 110ms;
}

.hero-title-line:nth-child(3) > span {
  animation-delay: 220ms;
}

.hero-title-line strong {
  font-weight: inherit;
}

.label {
  align-items: center;
  background: linear-gradient(90deg, #ff6daf 0%, #bd8cff 48%, #7f9cff 100%);
  background-clip: text;
  color: transparent;
  display: inline-flex;
  font-size: clamp(13px, 1vw, 16px);
  gap: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-background-clip: text;
}

.label::before {
  background: var(--accent-gradient);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(164, 92, 255, 0.36);
  content: "";
  flex: 0 0 auto;
  height: 2px;
  width: 34px;
}

.process .label {
  background: linear-gradient(90deg, #d91a79 0%, #7b35d3 52%, #315ae8 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero .gradient-text {
  animation: none;
  background-size: 100% 100%;
}

.hero-side {
  gap: clamp(28px, 3vw, 40px);
  padding-bottom: 38px;
}

.hero-side p {
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.35;
  max-width: 32ch;
}

.round-link {
  height: 148px;
}

.round-link:hover {
  border-color: rgba(164, 92, 255, 0.72);
  box-shadow: 0 14px 42px rgba(164, 92, 255, 0.16);
  transform: scale(1.025);
}

.round-link:hover::before {
  opacity: 0.1;
}

.round-link:hover span {
  color: var(--muted);
}

.round-link:hover strong {
  color: var(--foreground);
  transform: translate(5px, -5px);
}

.scroll-cue {
  align-items: center;
  bottom: 32px;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 12px;
  letter-spacing: 0.14em;
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  text-transform: uppercase;
}

.scroll-cue i {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: block;
  height: 44px;
  overflow: hidden;
  position: relative;
  width: 25px;
}

.scroll-cue i::after {
  animation: none;
  background: var(--accent-gradient);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 9px;
  position: absolute;
  opacity: 0.8;
  top: 19px;
  width: 5px;
}

.ticker-track {
  animation-duration: 34s;
  transform: translateZ(0);
}

.split {
  gap: clamp(58px, 9vw, 148px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr);
}

.service-grid {
  border-top: 1px solid var(--line);
  display: block;
}

.service-card {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid;
  gap: clamp(20px, 3vw, 48px);
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1fr);
  min-height: 0;
  padding: clamp(28px, 4vw, 54px) 0;
  position: relative;
  transition: background 620ms var(--ease-out), border-color 560ms ease, padding 620ms var(--ease-out);
}

.service-card::after {
  content: none;
}

.service-card:hover {
  background: linear-gradient(90deg, rgba(164, 92, 255, 0.055), rgba(91, 124, 255, 0.025), transparent 78%);
  border-color: rgba(164, 92, 255, 0.48);
  box-shadow: none;
  padding-left: 8px;
  transform: none;
}

.js-enabled .service-card.reveal.is-visible:hover {
  transform: none;
}

.service-card h3 {
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: 0.95;
  margin: 0;
  transition: color 520ms ease, transform 620ms var(--ease-out);
}

.service-card:hover h3 {
  color: #eee8ff;
  transform: translateX(3px);
}

.service-card p {
  max-width: 520px;
}

.home-about {
  align-items: center;
  border-block: 1px solid var(--line);
  display: grid;
  gap: clamp(48px, 9vw, 150px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
}

.home-about-photo {
  border-radius: 180px 180px 26px 26px;
  max-height: 720px;
  overflow: hidden;
}

.home-about-photo img {
  display: block;
  height: min(66vw, 720px);
  object-fit: cover;
  object-position: center 24%;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06);
  transition: transform 160ms linear;
  width: 100%;
}

.home-about-copy h2 {
  font-size: clamp(50px, 7vw, 110px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.94;
  margin: 0;
  max-width: 10ch;
}

.home-about-copy > p:not(.label) {
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.4;
  margin: 36px 0 0;
  max-width: 680px;
}

.text-link {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: clamp(18px, 2vw, 28px);
  justify-content: space-between;
  margin-top: 42px;
  max-width: 520px;
  padding: 16px 0;
  transition: border-color 260ms ease, color 260ms ease;
}

.text-link span {
  transition: transform 320ms var(--ease-out);
}

.text-link:hover {
  border-color: var(--accent);
  color: #e7dcff;
}

.text-link:hover span {
  transform: translate(6px, -6px);
}

.portfolio-screen {
  padding-bottom: clamp(110px, 14vw, 220px);
}

.portfolio-hero {
  margin-bottom: clamp(72px, 10vw, 144px);
}

.portfolio-grid {
  counter-reset: editorial-project;
  display: grid;
  gap: clamp(64px, 7vw, 108px) clamp(24px, 4vw, 56px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-card,
.portfolio-card-large {
  background: transparent;
  border: 0;
  border-radius: 0;
  counter-increment: editorial-project;
  grid-column: auto;
  min-height: 0;
  overflow: visible;
  width: 100%;
}

.portfolio-card:nth-child(even) {
  align-self: stretch;
}

.portfolio-card::before {
  content: none;
}

.portfolio-card:hover {
  box-shadow: none;
}

.portfolio-card a {
  border-bottom: 1px solid var(--line);
  display: block;
  padding-bottom: 24px;
}

.portfolio-card:hover a {
  --card-lift: 0px;
}

.portfolio-visual,
.portfolio-card:not(.portfolio-card-large) .portfolio-visual {
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  min-height: 0;
  overflow: hidden;
}

.portfolio-card-content {
  align-content: start;
  column-gap: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 190px;
  padding: 20px 0 0;
}

.portfolio-card-content > span,
.portfolio-card-content > p {
  grid-column: 1;
}

.portfolio-card-content h3 {
  font-size: clamp(30px, 3.8vw, 58px);
  grid-column: 1;
  line-height: 0.96;
  margin: 0;
  min-height: 1.92em;
}

.portfolio-card-content > span {
  display: block;
  line-height: 1.25;
  margin-bottom: 4px;
  min-height: 1.25em;
}

.service-card > span,
.process-grid article > span,
.case-steps article > span,
.about-timeline > li > span,
.about-experience-list article > span,
.about-tools-grid article > span,
.about-practice-grid article > span,
.about-education-list li > span {
  display: none;
}

.process-grid h3,
.case-steps h3,
.about-experience-list h3,
.about-tools-grid h3,
.about-practice-grid h3 {
  margin-top: 0;
}

.about-timeline li,
.about-education-list li {
  grid-template-columns: minmax(0, 1fr);
}

.portfolio-card-content::after {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "↗";
  display: grid;
  font-size: 24px;
  grid-column: 2;
  grid-row: 1 / span 3;
  height: 52px;
  place-items: center;
  transition: background 320ms ease, border-color 320ms ease, color 320ms ease, transform 380ms var(--ease-out);
  width: 52px;
}

.portfolio-card:hover .portfolio-card-content::after {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #050505;
  transform: translate(5px, -5px);
}

.portfolio-project-image img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.045);
  transition: transform 650ms var(--ease-out);
}

.portfolio-card:hover .portfolio-project-image img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.085);
}

.contact {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.contact::before {
  background: radial-gradient(circle, rgba(164, 92, 255, 0.25), transparent 68%);
  content: "";
  height: 620px;
  pointer-events: none;
  position: absolute;
  right: -240px;
  top: -260px;
  width: 620px;
  z-index: -1;
}

.contact-form button::after {
  content: " ↗";
}

.nav.is-scrolled {
  background: rgba(3, 3, 3, 0.92);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
}

.nav nav a.is-section-active {
  color: var(--foreground);
}

.nav nav a.is-section-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--foreground);
  cursor: pointer;
  display: none;
  height: 48px;
  padding: 0;
  position: relative;
  width: 48px;
  z-index: 102;
}

.menu-toggle span {
  background: currentColor;
  display: block;
  height: 1px;
  margin: 6px auto;
  transition: opacity 260ms ease, transform 320ms var(--ease-out);
  width: 19px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal-left {
  opacity: 0;
  transform: translateX(-56px);
}

.js-enabled .reveal-right {
  opacity: 0;
  transform: translateX(56px);
}

.js-enabled .reveal-scale {
  opacity: 0;
  transform: scale(0.94);
}

.js-enabled .reveal-left.is-visible,
.js-enabled .reveal-right.is-visible,
.js-enabled .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left,
.reveal-right,
.reveal-scale {
  transition: opacity 900ms var(--ease-out), transform 1050ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

@keyframes hero-line-in {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes hero-purple-flow {
  0% { transform: translate3d(18%, -10%, 0) scale(0.88) rotate(-8deg); }
  48% { transform: translate3d(-38%, 13%, 0) scale(1.18) rotate(4deg); }
  100% { transform: translate3d(-16%, -20%, 0) scale(1.06) rotate(11deg); }
}

@keyframes hero-blue-flow {
  0% { transform: translate3d(22%, 18%, 0) scale(1.1) rotate(7deg); }
  52% { transform: translate3d(-18%, -42%, 0) scale(0.86) rotate(-11deg); }
  100% { transform: translate3d(-34%, -12%, 0) scale(1.2) rotate(5deg); }
}

@keyframes hero-magenta-flow {
  0% { transform: translate3d(-24%, 4%, 0) scale(0.82) rotate(-13deg); }
  46% { transform: translate3d(28%, -20%, 0) scale(1.2) rotate(7deg); }
  100% { transform: translate3d(42%, 22%, 0) scale(0.96) rotate(15deg); }
}

@keyframes hero-grid-drift {
  0% {
    background-position: 0 0, 0 0;
    transform: perspective(760px) rotateX(62deg) rotateZ(-12deg) translate3d(0, 0, 0) scale(1.18);
  }
  50% {
    background-position: 24px 48px, 24px 48px;
    transform: perspective(760px) rotateX(60deg) rotateZ(-9deg) translate3d(-2%, -3%, 0) scale(1.24);
  }
  100% {
    background-position: 48px 96px, 48px 96px;
    transform: perspective(760px) rotateX(62deg) rotateZ(-12deg) translate3d(0, -6%, 0) scale(1.18);
  }
}

@keyframes hero-orbit-float {
  from { transform: translate3d(8%, -5%, 0) rotate(-24deg) scale(0.92); }
  to { transform: translate3d(-12%, 12%, 0) rotate(4deg) scale(1.08); }
}

@keyframes hero-orbit-dot {
  to { transform: rotate(360deg); }
}

@keyframes hero-core-float {
  from { transform: translate3d(-16px, -12px, 0) scale(0.94); }
  to { transform: translate3d(22px, 18px, 0) scale(1.08); }
}

@keyframes hero-core-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.78); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes hero-nodes-pulse {
  from { filter: blur(0); opacity: 0.4; transform: translate3d(0, 0, 0); }
  to { filter: blur(0.3px); opacity: 0.9; transform: translate3d(-18px, 12px, 0); }
}

@keyframes hero-scan {
  0%, 12% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-8deg); }
  30% { opacity: 0.65; }
  72% { opacity: 0.18; }
  88%, 100% { opacity: 0; transform: translate3d(-18%, 520px, 0) rotate(-8deg); }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(12px); }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(46px, 7vw, 70px);
  }

  .hero-side {
    align-self: auto;
    padding-bottom: 0;
  }

  .service-card {
    grid-template-columns: 44px minmax(180px, 0.8fr) minmax(200px, 1fr) 30px;
  }

  .portfolio-card,
  .portfolio-card-large {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .nav,
  .footer {
    align-items: center;
    display: flex;
    gap: 18px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .js-enabled .nav nav {
    align-items: stretch;
    background: rgba(12, 12, 12, 0.98);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100dvh;
    justify-content: center;
    max-width: 380px;
    padding: 90px 32px 40px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 420ms var(--ease-out), visibility 420ms;
    visibility: hidden;
    width: 86vw;
    z-index: 101;
  }

  .js-enabled .nav.is-open nav {
    transform: translateX(0);
    visibility: visible;
  }

  .js-enabled .nav nav a {
    border-bottom: 1px solid var(--line);
    font-size: clamp(26px, 8vw, 42px);
    padding: 18px 0;
  }

  .js-enabled .nav nav a::after {
    bottom: -1px;
  }

  .js-enabled .nav nav a.nav-social {
    border: 1px solid rgba(184, 140, 255, 0.58);
    border-radius: 999px;
    font-size: 18px;
    margin-top: 10px;
    padding: 14px 18px;
    text-align: center;
  }

  .hero {
    align-items: start;
    gap: 38px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 68px 112px;
  }

  .hero h1 {
    font-size: clamp(38px, 6.8vw, 58px);
    max-width: 22ch;
  }

  .hero-gradient {
    inset: -18% -28%;
  }

  .hero-gradient-spot {
    filter: blur(46px);
    opacity: 0.78;
  }

  .hero-tech-grid {
    left: 34%;
    opacity: 0.3;
    width: 92%;
  }

  .hero-tech-orbit {
    --orbit-size: min(72vw, 520px);
    opacity: 0.72;
    right: 2%;
  }

  .hero-tech-core {
    left: 62%;
    top: 44%;
  }

  .hero-tech-nodes {
    opacity: 0.5;
    right: 42%;
  }

  .hero-side {
    align-self: auto;
    gap: 26px;
    padding-bottom: 0;
  }

  .hero-side p {
    max-width: 38ch;
  }

  .scroll-cue {
    bottom: 26px;
  }

  .split,
  .home-about {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card p {
    grid-column: 1;
  }

  .home-about-photo {
    max-width: 620px;
  }

  .home-about-photo img {
    height: min(116vw, 720px);
  }

  .portfolio-card,
  .portfolio-card-large,
  .portfolio-card:nth-child(even) {
    width: 100%;
  }

  .portfolio-visual,
  .portfolio-card:not(.portfolio-card-large) .portfolio-visual {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card-large,
  .portfolio-card:nth-child(even) {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(22px, 7.2vw, 38px);
    line-height: 1.02;
    max-width: 100%;
  }

  .hero-title-line {
    overflow-wrap: anywhere;
  }

  .hero-gradient {
    inset: -12% -48% -18% -18%;
  }

  .hero-gradient-spot {
    filter: blur(40px);
    opacity: 0.68;
  }

  .hero-gradient-magenta {
    opacity: 0.54;
  }

  .hero-tech-grid {
    background-size: 38px 38px;
    left: 18%;
    opacity: 0.22;
    top: 32%;
    width: 120%;
  }

  .hero-tech-orbit {
    --orbit-size: 88vw;
    opacity: 0.52;
    right: -24%;
    top: 18%;
  }

  .hero-tech-core {
    left: 70%;
    opacity: 0.58;
    top: 49%;
  }

  .hero-tech-core::after {
    height: 180px;
    width: 180px;
  }

  .hero-tech-nodes,
  .hero-tech-scan {
    display: none;
  }

  .round-link {
    height: 124px;
    padding: 20px;
  }

  .ticker span {
    font-size: clamp(24px, 8vw, 38px);
  }

  .service-card {
    gap: 16px;
    grid-template-columns: 32px minmax(0, 1fr) 26px;
    padding: 28px 0;
  }

  .service-card h3 {
    font-size: clamp(28px, 10vw, 42px);
  }

  .portfolio-grid {
    gap: 72px;
  }

  .portfolio-visual,
  .portfolio-card:not(.portfolio-card-large) .portfolio-visual {
    border-radius: 20px;
    min-height: 0;
  }

  .portfolio-card-content {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .portfolio-card-content h3 {
    font-size: clamp(30px, 9vw, 42px);
    min-height: 0;
  }

  .portfolio-card-content::after {
    height: 44px;
    width: 44px;
  }

  .home-about-copy h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .home-about-photo {
    border-radius: 120px 120px 22px 22px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(21px, 6.8vw, 26px);
  }

  .portfolio-card-content {
    column-gap: 14px;
  }
}

/* Revisão responsiva global: tablets */
@media (max-width: 900px) {
  .about-timeline li,
  .about-education-list li {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-tools-grid h3,
  .about-practice-grid h3,
  .about-experience-list h3 {
    margin-top: 0;
  }
}

/* Revisão responsiva global: celulares */
@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav {
    padding: 18px 20px;
  }

  .brand {
    font-size: 15px;
    padding-left: 22px;
  }

  .brand::before {
    width: 14px;
  }

  .section {
    padding: 72px 20px;
  }

  .split {
    gap: 44px;
  }

  .section-title h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
  }

  .service-grid {
    width: 100%;
  }

  .service-card {
    border-radius: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 0;
    width: 100%;
  }

  .service-card h3,
  .service-card p {
    grid-column: 1;
    max-width: none;
    min-width: 0;
    overflow-wrap: normal;
    width: 100%;
    word-break: normal;
  }

  .service-card h3 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1;
  }

  .service-card p {
    font-size: 16px;
    line-height: 1.45;
  }

  .home-about {
    gap: 52px;
  }

  .home-about-copy h2 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 0.98;
    max-width: none;
  }

  .portfolio-screen {
    padding-bottom: 110px;
  }

  .portfolio-hero {
    margin-bottom: 64px;
  }

  .portfolio-hero h2,
  .portfolio-category-heading h3 {
    font-size: clamp(42px, 13vw, 60px);
    line-height: 0.94;
    overflow-wrap: normal;
    word-break: normal;
  }

  .portfolio-category-heading {
    gap: 20px;
  }

  .portfolio-category-heading > p {
    font-size: 17px;
    line-height: 1.45;
  }

  .portfolio-grid {
    gap: 64px;
  }

  .portfolio-card-content {
    column-gap: 14px;
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 0;
    padding-top: 18px;
  }

  .portfolio-card-content h3 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1;
    min-height: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .portfolio-card-content p {
    font-size: 15px;
    line-height: 1.45;
  }

  .portfolio-card-content::after {
    font-size: 20px;
    height: 42px;
    width: 42px;
  }

  .process-grid article {
    min-height: 0;
    padding: 30px 22px;
  }

  .process-grid h3 {
    font-size: clamp(32px, 11vw, 46px);
    margin: 0 0 14px;
  }

  .case-hero {
    padding: 52px 20px 44px;
  }

  .case-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .case-intro {
    gap: 30px;
    margin-top: 38px;
  }

  .case-intro > p {
    font-size: clamp(21px, 7vw, 30px);
    line-height: 1.2;
  }

  .case-meta div {
    gap: 14px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .case-meta dd {
    overflow-wrap: anywhere;
  }

  .case-cover {
    border-radius: 20px;
    width: calc(100% - 32px);
  }

  .case-copy-grid,
  .case-gallery {
    gap: 42px;
  }

  .case-copy-grid h2,
  .case-gallery-heading h2,
  .case-next h2 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
  }

  .case-copy-grid p {
    font-size: 17px;
    line-height: 1.5;
  }

  .case-steps {
    gap: 16px;
  }

  .case-steps article {
    border-radius: 20px;
    min-height: 0;
    padding: 26px 20px;
  }

  .case-steps h3 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1;
    margin: 0 0 16px;
  }

  .case-gallery-item img {
    max-height: none;
  }

  .about-hero {
    padding: 54px 20px 64px;
  }

  .about-hero h1 {
    font-size: clamp(52px, 17vw, 76px);
    line-height: 0.9;
    max-width: none;
  }

  .about-editorial h2,
  .about-section-heading h2,
  .about-philosophy h2,
  .about-final-cta h2 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
  }

  .about-timeline li,
  .about-education-list li {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-tools-grid h3,
  .about-practice-grid h3,
  .about-experience-list h3 {
    margin-top: 0;
  }

  .about-tools-grid article,
  .about-practice-grid article {
    border-radius: 22px;
    padding: 28px 22px;
  }

  .contact {
    gap: 44px;
    padding: 68px 20px 48px;
  }

  .contact-socials {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-socials a {
    min-width: 0;
    width: 100%;
  }

  .contact-form {
    gap: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    min-width: 0;
    width: 100%;
  }

  .contact-form button {
    justify-self: stretch;
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    display: grid;
    gap: 22px;
  }

  .footer div {
    gap: 14px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient-spot,
  .hero-tech-grid,
  .hero-tech-orbit,
  .hero-tech-orbit::before,
  .hero-tech-core,
  .hero-tech-core::before,
  .hero-tech-nodes,
  .hero-tech-scan,
  .hero-title-line > span,
  .scroll-cue i::after {
    animation: none !important;
  }

  .hero-gradient-spot {
    will-change: auto;
  }

  .home-about-photo img,
  .portfolio-project-image img {
    transform: none !important;
  }

  .js-enabled .reveal-left,
  .js-enabled .reveal-right,
  .js-enabled .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
