:root {
  --bg: #050407;
  --bg-soft: #0c0a12;
  --ink: #f6f1ff;
  --muted: #a9a1b8;
  --muted-2: #736b82;
  --violet: #9b6cff;
  --violet-soft: rgba(155, 108, 255, 0.18);
  --gold: #f0aa26;
  --amber: #ffc866;
  --orange: #ef7f17;
  --gold-soft: rgba(240, 170, 38, 0.16);
  --orange-soft: rgba(239, 127, 23, 0.13);
  --line: rgba(246, 241, 255, 0.12);
  --card: rgba(255, 255, 255, 0.055);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 12%, rgba(155, 108, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 18% 84%, rgba(239, 127, 23, 0.1), transparent 25rem),
    linear-gradient(180deg, #050407 0%, #09070d 48%, #050407 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 84px;
  margin: 18px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(5, 4, 7, 0.54);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 4, 7, 0.84);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 168px;
  min-width: 168px;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(240, 170, 38, 0.12));
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 12px 14px;
  color: var(--amber);
  font-size: 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff0bd;
}

.nav .nav-cta {
  margin-left: 6px;
  color: #fff0bd;
  border: 1px solid rgba(240, 170, 38, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(155, 108, 255, 0.14), rgba(240, 170, 38, 0.1));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94svh;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 88px;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08) brightness(0.72);
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 66% 64%, rgba(240, 170, 38, 0.13), transparent 20rem),
    linear-gradient(90deg, rgba(5, 4, 7, 0.9) 0%, rgba(5, 4, 7, 0.7) 38%, rgba(5, 4, 7, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 4, 7, 0.1) 0%, rgba(5, 4, 7, 0.95) 100%);
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #d8c9ff;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(2.85rem, 5.45vw, 5.25rem);
  line-height: 1.06;
  font-weight: 820;
  letter-spacing: 0.006em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.9vw, 4.8rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.hero-copy,
.section-heading p,
.about-text p,
.service-card p,
.step p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.brand-strip {
  display: flex;
  width: 178px;
  height: 4px;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.brand-strip span {
  flex: 1;
}

.brand-strip span:nth-child(1) {
  background: var(--violet);
}

.brand-strip span:nth-child(2) {
  background: var(--gold);
}

.brand-strip span:nth-child(3) {
  background: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #08060d;
  background: linear-gradient(135deg, #fff0bd, var(--gold) 45%, var(--orange));
  box-shadow: 0 18px 50px rgba(239, 127, 23, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.button.ghost {
  border: 1px solid rgba(155, 108, 255, 0.32);
  background: rgba(255, 255, 255, 0.055);
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 620px;
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.work-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  overflow: hidden;
}

.service-card::before,
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--gold), var(--orange));
  opacity: 0.72;
}

.service-card span,
.step span {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card p,
.step p {
  margin-bottom: 0;
  color: #d9b96e;
  font-size: 0.94rem;
}

.portfolio {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 18% 38%, rgba(155, 108, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 83% 72%, rgba(239, 127, 23, 0.1), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.manifesto-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #09070d;
  box-shadow: var(--shadow);
}

.manifesto-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 4, 7, 0.35) 100%),
    radial-gradient(circle at 76% 18%, rgba(240, 170, 38, 0.18), transparent 15rem);
  pointer-events: none;
}

.manifesto-visual img,
.showcase-card img,
.mood-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-copy {
  max-width: 680px;
}

.manifesto-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.85;
}

.manifesto-copy p + p {
  margin-top: 22px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 16px;
}

.work-card,
.showcase-card {
  overflow: hidden;
  min-height: 370px;
}

.work-card.large,
.showcase-card.hero-work {
  grid-row: span 2;
  min-height: 760px;
}

.work-visual {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(circle at 70% 28%, rgba(155, 108, 255, 0.52), transparent 9rem),
    radial-gradient(circle at 28% 72%, rgba(240, 170, 38, 0.38), transparent 6rem),
    linear-gradient(140deg, #101016, #21163a 52%, #07060b);
}

.work-card.large .work-visual {
  min-height: 585px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 100%),
    url("assets/hero-studio.png") center / cover;
}

.work-visual.identity {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 54px),
    radial-gradient(circle at 78% 28%, rgba(239, 127, 23, 0.26), transparent 6rem),
    linear-gradient(140deg, #09080d, #241845, #0c0a12);
}

.work-visual.social {
  background:
    radial-gradient(circle at 30% 26%, rgba(246, 241, 255, 0.36), transparent 4rem),
    radial-gradient(circle at 72% 52%, rgba(155, 108, 255, 0.45), transparent 6rem),
    radial-gradient(circle at 45% 84%, rgba(240, 170, 38, 0.32), transparent 5rem),
    linear-gradient(135deg, #111017, #07060a);
}

.work-card div:last-child {
  padding: 24px;
}

.work-card p {
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  max-width: 540px;
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  grid-auto-rows: minmax(340px, auto);
  gap: 16px;
}

.showcase-card {
  position: relative;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 7, 0.04) 0%, rgba(5, 4, 7, 0.78) 100%);
  pointer-events: none;
}

.showcase-card img,
.showcase-card .work-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.showcase-card:hover img,
.showcase-card:hover .work-visual {
  filter: saturate(1.08) brightness(1.05);
  transform: scale(1.035);
}

.showcase-card > div:last-child {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.showcase-card p {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-card h3 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(1.3rem, 2.35vw, 2.1rem);
  line-height: 1.04;
}

.showcase-card.wide {
  grid-column: 1 / -1;
  min-height: 460px;
}

.creation {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.creation::before {
  content: "";
  position: absolute;
  inset: 8% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 108, 255, 0.42), rgba(240, 170, 38, 0.34), transparent);
}

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

.creation-grid span {
  display: grid;
  min-height: 122px;
  place-items: end start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 18%, rgba(240, 170, 38, 0.13), transparent 5rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(155, 108, 255, 0.07), rgba(255, 255, 255, 0.025));
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 850;
  line-height: 1.1;
}

.creation-grid span:nth-child(3n + 1) {
  min-height: 176px;
}

.creation-grid span:nth-child(4n) {
  background:
    radial-gradient(circle at 20% 20%, rgba(155, 108, 255, 0.2), transparent 6rem),
    linear-gradient(150deg, rgba(239, 127, 23, 0.09), rgba(255, 255, 255, 0.04));
}

.creation-grid .art-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.75);
}

.creation-grid .art-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 4, 7, 0.1) 0%, rgba(5, 4, 7, 0.72) 100%),
    radial-gradient(circle at 78% 18%, rgba(240, 170, 38, 0.18), transparent 8rem);
}

.creation-grid span.art-identity {
  background: url("assets/card-identidade-visual.png") center / cover no-repeat !important;
}

.creation-grid span.art-characters {
  background: url("assets/card-personagens.png") center / cover no-repeat !important;
}

.creation-grid span.art-campaigns {
  background: url("assets/card-campanhas.png") center / cover no-repeat !important;
}

.creation-grid span.art-videos {
  background: url("assets/card-videos-v2.png") center / cover no-repeat !important;
}

.creation-grid span.art-thumbnails {
  background: url("assets/card-thumbnails.png") center / cover no-repeat !important;
}

.creation-grid span.art-posters {
  background: url("assets/card-posters.png") center / cover no-repeat !important;
}

.creation-grid span.art-creative-direction {
  background: url("assets/card-direcao-criativa.png") center / cover no-repeat !important;
}

.creation-grid span.art-interfaces {
  background: url("assets/card-interfaces-v2.png") center / cover no-repeat !important;
}

.creation-grid span.art-motion {
  background: url("assets/card-motion-graphics.png") center / cover no-repeat !important;
}

.creation-grid span.art-digital-art {
  background: url("assets/card-arte-digital.png") center / cover no-repeat !important;
}

.selected-work {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.selected-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.selected-heading h2 {
  max-width: 860px;
  margin-bottom: 0;
}

.selected-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 16px;
}

.selected-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.selected-main {
  grid-row: span 2;
  min-height: 720px;
}

.selected-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05) brightness(0.82);
  transition: transform 0.65s ease, filter 0.65s ease;
}

.selected-card:hover img {
  filter: saturate(1.08) contrast(1.08) brightness(0.9);
  transform: scale(1.035);
}

.selected-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 20%, rgba(240, 170, 38, 0.14), transparent 13rem),
    linear-gradient(180deg, rgba(5, 4, 7, 0.03) 0%, rgba(5, 4, 7, 0.88) 100%);
  pointer-events: none;
}

.selected-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
}

.selected-main .selected-copy {
  width: min(720px, 100%);
  padding: 38px;
}

.selected-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-copy h3 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.9vw, 3rem);
  line-height: 1.02;
}

.selected-card:not(.selected-main) .selected-copy h3 {
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1.1;
}

.selected-copy p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.moodboard {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.moodboard-heading {
  position: sticky;
  top: 130px;
}

.moodboard-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 132px;
  gap: 12px;
}

.mood-item,
.mood-note {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.25);
}

.mood-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 24%, rgba(240, 170, 38, 0.16), transparent 12rem);
}

.mood-item.tall {
  grid-column: span 3;
  grid-row: span 4;
}

.mood-item:not(.tall):not(.wide) {
  grid-column: span 3;
  grid-row: span 2;
}

.mood-item.wide {
  grid-column: span 4;
  grid-row: span 3;
}

.mood-note {
  display: grid;
  align-content: space-between;
  grid-column: span 2;
  grid-row: span 3;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(155, 108, 255, 0.18), rgba(239, 127, 23, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.mood-note span {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.5;
}

.mood-note strong {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.04;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-text {
  padding-top: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stats div {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(155, 108, 255, 0.06), rgba(239, 127, 23, 0.045));
}

.stats strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.stats span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 26px;
}

.final-cta {
  position: relative;
  margin: 42px auto 0;
  padding: 126px 24px;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 45%, rgba(240, 170, 38, 0.18), transparent 18rem),
    linear-gradient(180deg, rgba(5, 4, 7, 0.2), rgba(5, 4, 7, 0.92)),
    url("assets/hero-studio.png") center 58% / cover;
  opacity: 0.82;
}

.final-cta div {
  width: min(760px, 100%);
  margin: 0 auto;
}

.final-cta h2 {
  margin-bottom: 34px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .brand {
  color: var(--ink);
  width: 164px;
  min-width: 164px;
}

.footer p {
  margin: 0;
}

.footer > span {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 86px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 6, 10, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px;
  }

  .nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 96svh;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid,
  .manifesto,
  .moodboard,
  .about {
    grid-template-columns: 1fr;
  }

  .manifesto-visual {
    min-height: 520px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card.hero-work,
  .showcase-card.wide {
    min-height: 540px;
  }

  .selected-heading,
  .selected-grid {
    grid-template-columns: 1fr;
  }

  .selected-main {
    min-height: 560px;
  }

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

  .moodboard-heading {
    position: static;
  }

  .work-card.large,
  .work-card {
    min-height: auto;
  }

  .work-card.large .work-visual {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 24px);
    min-height: 78px;
    margin-top: 12px;
    padding: 0 12px;
  }

  .brand {
    width: 132px;
    min-width: 132px;
  }

  .brand-logo {
    max-height: 62px;
  }

  .hero {
    align-items: end;
    min-height: 94svh;
    padding: 118px 20px 48px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 4, 7, 0.94) 0%, rgba(5, 4, 7, 0.72) 100%),
      linear-gradient(180deg, rgba(5, 4, 7, 0.12) 0%, rgba(5, 4, 7, 0.98) 100%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.6vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: 0.004em;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .brand-strip {
    margin-bottom: 26px;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 40px);
    padding: 82px 0;
  }

  .service-grid,
  .timeline,
  .stats {
    grid-template-columns: 1fr;
  }

  .manifesto-visual {
    min-height: 360px;
  }

  .showcase-card,
  .showcase-card.hero-work,
  .showcase-card.wide {
    min-height: 360px;
  }

  .showcase-card > div:last-child {
    padding: 22px;
  }

  .creation {
    padding-right: 20px;
    padding-left: 20px;
  }

  .selected-work {
    padding-right: 20px;
    padding-left: 20px;
  }

  .selected-heading {
    gap: 18px;
  }

  .selected-card,
  .selected-main {
    min-height: 360px;
  }

  .selected-main .selected-copy,
  .selected-copy {
    padding: 22px;
  }

  .selected-copy h3 {
    font-size: clamp(1.55rem, 9vw, 2.35rem);
  }

  .selected-copy p {
    font-size: 0.96rem;
  }

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

  .creation-grid span,
  .creation-grid span:nth-child(3n + 1) {
    min-height: 118px;
  }

  .moodboard {
    padding-right: 20px;
    padding-left: 20px;
  }

  .moodboard-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .mood-item.tall,
  .mood-item:not(.tall):not(.wide),
  .mood-item.wide,
  .mood-note {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .mood-note {
    min-height: 240px;
  }

  .service-card,
  .step {
    min-height: 230px;
  }

  .service-card span,
  .step span {
    margin-bottom: 34px;
  }

  .portfolio {
    padding-right: 20px;
    padding-left: 20px;
  }

  .work-visual,
  .work-card.large .work-visual {
    min-height: 280px;
  }

  .final-cta {
    padding: 92px 20px;
  }

  .footer {
    width: calc(100% - 40px);
    flex-direction: column;
    align-items: flex-start;
  }
}
