/* =========================================================
   Tokens (paleta da referência: creme, oliva, laranja, rosa,
   lilás e marrom sobre um degradê desfocado)
   ========================================================= */
:root {
  --cream: #f8efe6;
  --cream-soft: #fbf5ef;
  --line: rgba(76, 26, 16, .14);
  --text: #4c1a10;                      /* marrom do "fonts" */
  --text-muted: #7d4a3a;
  --olive: #b9b52a;                     /* abas e botões */
  --olive-ink: #8a8613;                 /* títulos grandes sobre o creme (contraste ≥ 3:1) */
  --olive-deep: #6f6c0e;                /* textinhos em oliva (contraste ≥ 4.5:1) */
  --orange: #e3945a;
  --pink: #e7b2d9;
  --lilac: #d7b2f0;
  --spark: #fffaf5;                     /* estrelinhas em traço branco */

  --font-heavy: "Bricolage Grotesque", system-ui, sans-serif;   /* o "canva" */
  --font-script: "Yellowtail", cursive;                          /* o "fonts" */
  --font-hand: "Caveat", cursive;                                /* o "for your next project" */
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius: 22px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  /* curvas "orgânicas": arrancam rápido e pousam devagar */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Lenis (scroll suave) */
html.lenis,
html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: #efe9d0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--olive); color: var(--text); }

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

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

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 { margin: 0; font-weight: 400; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--olive-deep); outline-offset: 3px; }

/* bloco de desenhos reutilizáveis: não ocupa espaço */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* rótulo em caixa alta espaçada (como o "MOSCASDEFRUTA") */
.label {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 1.1rem;
}

/* =========================================================
   Fundo em degradê desfocado, mexendo bem devagar
   ========================================================= */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #efe9d0;
}

/* cada bolha flutua sozinha (animation) e ainda desliza com o mouse e a rolagem
   (--bx/--by/--bs vêm do JS; --depth e --sd dizem o quanto cada uma anda) */
.glow {
  position: absolute;
  width: 70vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--g) 0%, transparent 65%);
  translate:
    calc(var(--bx, 0) * var(--depth, 4vmax))
    calc(var(--by, 0) * var(--depth, 4vmax) + var(--bs, 0) * var(--sd, 0vmax));
  transition: translate 2.4s var(--ease);
  animation: drift-a 20s var(--ease-in-out) infinite alternate;
  will-change: transform, translate;
}

.glow--lilac { --g: #dcaef0; --depth: 6vmax;  --sd: 18vmax;  left: -25vmax; top: -15vmax; }
.glow--pink  { --g: #ebbcc8; --depth: -5vmax; --sd: 26vmax;  left: 5vmax; top: -30vmax; width: 60vmax; animation-name: drift-b; animation-duration: 23s; }
.glow--olive { --g: #c3bb45; --depth: 4vmax;  --sd: -22vmax; left: -15vmax; bottom: -38vmax; width: 80vmax; animation-name: drift-c; animation-duration: 26s; }
.glow--lime  { --g: #d6e389; --depth: -7vmax; --sd: -14vmax; right: -30vmax; top: 8vmax; width: 85vmax; animation-name: drift-b; animation-duration: 21s; animation-direction: alternate-reverse; }
.glow--cream { --g: #fbf3ea; --depth: 9vmax;  --sd: 30vmax;  right: 0; top: -20vmax; width: 50vmax; opacity: .8; animation-name: drift-c; animation-duration: 17s; }

@keyframes drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(14vmax, 8vmax) scale(1.15); }
  66%  { transform: translate(-6vmax, 16vmax) scale(.92); }
  100% { transform: translate(10vmax, -6vmax) scale(1.08); }
}

@keyframes drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-16vmax, 10vmax) scale(.9); }
  66%  { transform: translate(-4vmax, -12vmax) scale(1.18); }
  100% { transform: translate(12vmax, 6vmax) scale(1); }
}

@keyframes drift-c {
  0%   { transform: translate(0, 0) scale(1.05); }
  33%  { transform: translate(10vmax, -14vmax) scale(.95); }
  66%  { transform: translate(18vmax, 4vmax) scale(1.2); }
  100% { transform: translate(-8vmax, -4vmax) scale(1); }
}

/* =========================================================
   Abertura ("Oie…"): cobre a página enquanto o conteúdo carrega
   e depois sobe como uma cortina de borda curva (o JS põe .is-leaving)
   ========================================================= */
.intro,
.no-intro .intro { display: none; }

.js:not(.no-intro) .intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  overflow: hidden;
  background:
    radial-gradient(60vmax 60vmax at 8% 0%, #dcaef0 0%, transparent 62%),
    radial-gradient(55vmax 55vmax at 95% 25%, #d6e389 0%, transparent 60%),
    radial-gradient(70vmax 60vmax at 25% 110%, #c3bb45 0%, transparent 60%),
    #efe9d0;
  cursor: pointer;
  transition:
    transform 1.05s cubic-bezier(.76, 0, .24, 1),
    border-radius 1.05s cubic-bezier(.76, 0, .24, 1);
  /* se algo falhar no JS, a abertura some sozinha */
  animation: intro-failsafe .6s ease 8s forwards;
}

/* rolagem travada enquanto a abertura está na tela (destrava sozinha no mesmo prazo) */
html.is-intro { overflow: hidden; animation: intro-unlock 0s 8s forwards; }

.intro.is-leaving {
  transform: translateY(-104%);
  border-radius: 0 0 50% 50% / 0 0 22vh 22vh;
  pointer-events: none;
}

/* o conteúdo só aparece quando a fonte está pronta (o JS põe .is-playing) */
.intro:not(.is-playing) .intro__content { opacity: 0; }

.intro__content {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  transition: transform .9s var(--ease), opacity .5s var(--ease);
}

.intro.is-leaving .intro__content { transform: translateY(-14vh) scale(.94); opacity: 0; }

.intro__word {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 .12em;
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: clamp(5rem, 24vw, 12rem);
  line-height: .95;
  letter-spacing: -.06em;
  color: var(--olive-ink);
  white-space: nowrap;
}

.intro__letters span,
.intro__dots span { display: inline-block; }

/* letras pulam uma a uma */
.intro.is-playing .intro__letters span {
  animation: intro-letter .8s var(--ease-back) backwards;
  animation-delay: calc(.15s + var(--i) * 90ms);
}

/* reticências digitando e piscando */
.intro__dots { color: var(--orange); letter-spacing: -.02em; }

.intro.is-playing .intro__dots span {
  animation:
    intro-pop .35s var(--ease-back) backwards,
    intro-dot 1.3s var(--ease-in-out) infinite;
  animation-delay: calc(.6s + var(--i) * .14s), calc(1.1s + var(--i) * .16s);
}

/* círculo laranja desenhado à mão em volta */
.intro__circle {
  position: absolute;
  left: -9%;
  top: -16%;
  width: 118%;
  height: 132%;
  overflow: visible;
  pointer-events: none;
}

.intro__circle path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* intervalo maior que o traço: antes de desenhar não sobra nem a pontinha arredondada */
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.01;
}

.intro.is-playing .intro__circle path { animation: intro-draw 1.2s var(--ease) .8s forwards; }

.intro__star {
  position: absolute;
  right: -.18em;
  top: -.34em;
  width: .36em;
  height: .36em;
  overflow: visible;
  fill: none;
  stroke: var(--orange);
  stroke-width: 6;
  stroke-linejoin: round;
}

.intro.is-playing .intro__star {
  animation:
    intro-pop .7s var(--ease-back) 1.05s backwards,
    cursor-spin 7s linear 1.05s infinite;
}

.intro__hello {
  margin-top: clamp(1.2rem, 4vw, 2rem);
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(1.5rem, 5.5vw, 2.3rem);
  line-height: 1.1;
  color: var(--text);
  rotate: -3deg;
}

.intro.is-playing .intro__hello { animation: intro-rise .9s var(--ease) 1.15s backwards; }

/* as estrelinhas brancas da abertura aparecem antes das do site */
.intro .doodle { animation-delay: var(--t, 0s), .5s; }

@keyframes intro-letter { from { opacity: 0; transform: translateY(.45em) rotate(10deg) scale(.6); } }
@keyframes intro-pop    { from { opacity: 0; transform: scale(0); } }
@keyframes intro-dot    { 0%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-.1em); } }
@keyframes intro-draw   { to { stroke-dashoffset: 0; } }
@keyframes intro-rise   { from { opacity: 0; transform: translateY(14px); } }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
@keyframes intro-unlock { to { overflow: visible; } }

/* =========================================================
   Botões
   ========================================================= */
.btn {
  --btn-fill: #a39f1d;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
  /* --mx/--my: efeito magnético (JS) · --s: clique */
  transform: translate(var(--mx, 0px), var(--my, 0px)) scale(var(--s, 1));
  transition:
    transform .7s var(--ease),
    color .5s var(--ease),
    border-color .5s var(--ease),
    box-shadow .7s var(--ease);
}

/* preenchimento em curva que sobe por baixo */
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 100%;
  height: 300%;
  border-radius: 50%;
  background: var(--btn-fill);
  transition: transform .8s var(--ease);
}

.btn:hover::before { transform: translateY(-62%); }

.btn:hover { box-shadow: 0 16px 34px -14px rgba(111, 108, 14, .45); }

.btn:active { --s: .95; transition-duration: .2s; }

/* texto que rola para cima no hover */
.btn__text {
  position: relative;
  display: block;
  overflow: hidden;
}

.btn__text > span {
  position: relative;
  display: block;
  transition: transform .7s var(--ease);
}

.btn__text > span::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.btn:hover .btn__text > span { transform: translateY(-100%); }

.btn--ghost {
  --btn-fill: var(--orange);
  background: var(--cream-soft);
  border-color: rgba(76, 26, 16, .2);
}

.btn--ghost:hover { border-color: var(--orange); box-shadow: 0 16px 34px -14px rgba(227, 148, 90, .5); }

.btn--small { padding: .55rem 1.2rem; font-size: .9rem; }

/* =========================================================
   Placeholder (some quando entrarem as imagens reais)
   ========================================================= */
.placeholder {
  --hue: 60;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(110% 80% at 20% 10%, hsl(var(--hue) 60% 72%) 0%, transparent 60%),
    radial-gradient(90% 80% at 90% 100%, hsl(calc(var(--hue) + 30) 60% 62%) 0%, transparent 60%),
    hsl(var(--hue) 32% 46%);
  overflow: hidden;
}

.placeholder span {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.placeholder--portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(70% 55% at 25% 20%, #f3d6f2 0%, transparent 60%),
    radial-gradient(80% 70% at 90% 95%, #c9c24c 0%, transparent 62%),
    linear-gradient(170deg, #e2b9e6, #c8a99a);
}

/* =========================================================
   Header (translúcido; recolhe ao descer, volta ao subir)
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(248, 239, 230, .45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    transform .8s var(--ease),
    border-color .4s var(--ease);
}

.header.is-scrolled { border-bottom-color: var(--line); }

.header.is-hidden { transform: translateY(-105%); }

.js .header { animation: header-in 1.2s var(--ease) .05s backwards; }

@keyframes header-in {
  from { transform: translateY(-100%); opacity: 0; }
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -.05em;
  color: var(--olive-ink);
}

.logo__star {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 8;
  stroke-linejoin: round;
  transition: transform .9s var(--ease-back);
}

.logo:hover .logo__star { transform: rotate(144deg) scale(1.2); }

.nav { display: flex; align-items: center; gap: 2rem; }

.nav a:not(.btn) {
  position: relative;
  font-size: .95rem;
  color: var(--text-muted);
  transition: color .4s var(--ease);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}

.nav a:not(.btn):hover { color: var(--text); }

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .5s var(--ease), top .5s var(--ease);
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child  { top: 25px; }

.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Pasta com abas (o cartão da referência)
   ========================================================= */
.folder { position: relative; margin-top: 44px; }

.folder__tabs {
  position: absolute;
  left: clamp(20px, 5%, 56px);
  bottom: calc(100% - 1px);
  display: flex;
  align-items: flex-end;
  padding-left: 14px;
}

.tab {
  position: relative;
  flex: none;
  margin-left: -14px;
  padding: .7rem 1.4rem .9rem;
  border: 0;
  border-radius: 18px 18px 0 0;
  background: var(--tab, var(--cream));
  color: var(--text);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: 8px 0 14px -10px rgba(76, 26, 16, .35);
  transform: translateY(7px);
  transition: transform .5s var(--ease-back), background .4s var(--ease), color .4s var(--ease);
}

.tab--olive  { --tab: var(--olive); }
.tab--orange { --tab: var(--orange); }
.tab--pink   { --tab: var(--pink); }
.tab--lilac  { --tab: var(--lilac); }

/* a aba mais à esquerda fica na frente; as seguintes vão para trás,
   todas encaixadas atrás do corpo da pasta (z-index 7) */
.folder__tabs .tab:nth-child(1) { z-index: 6; }
.folder__tabs .tab:nth-child(2) { z-index: 5; }
.folder__tabs .tab:nth-child(3) { z-index: 4; }
.folder__tabs .tab:nth-child(4) { z-index: 3; }
.folder__tabs .tab:nth-child(5) { z-index: 2; }

a.tab:hover,
button.tab:hover { transform: translateY(0); }

/* aba ativa: vira creme e se junta ao corpo da pasta */
.tab.is-active {
  --tab: var(--cream);
  z-index: 10;
  color: var(--olive-deep);
  transform: none;
  padding-bottom: 1.1rem;
}

.folder__body {
  position: relative;
  z-index: 7;
  background: var(--cream);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow:
    0 30px 60px -30px rgba(76, 26, 16, .35),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* =========================================================
   Títulos: grotesca pesada em oliva + cursiva marrom por cima
   (como o "canva / fonts" da referência)
   ========================================================= */
.title { line-height: .9; }

.title__heavy {
  display: block;
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: clamp(3.6rem, 9vw, 7.5rem);
  letter-spacing: -.05em;
  color: var(--olive-ink);
}

.title__script {
  display: block;
  margin: -.32em 0 0 .9em;
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  color: var(--text);
  rotate: -4deg;
}

/* a cursiva tem floreios: a máscara das palavras ganha folga dos lados */
.title__script .word { padding-inline: .2em; margin-inline: -.2em; }

/* nota manuscrita com o círculo laranja desenhado à mão */
.note {
  position: absolute;
  top: 6%;
  right: 0;
  padding: .6rem 1rem;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  color: var(--olive-deep);
  rotate: -7deg;
}

.note__circle {
  position: absolute;
  top: -14px;
  left: -22px;
  width: calc(100% + 44px);
  height: calc(100% + 28px);
  overflow: visible;
  pointer-events: none;
}

.note__circle path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.js .note__circle path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease) calc(var(--d, 0s) + .9s);
}

.js .is-visible .note__circle path { stroke-dashoffset: 0; }

/* =========================================================
   Primeiro bloco
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 72px;
  overflow-x: clip;
}

.hero .container,
.works .container,
.contact .container { position: relative; z-index: 1; }

.folder--hero { rotate: -1deg; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__heading { position: relative; margin-bottom: 1.8rem; }

.hero__bio {
  max-width: 34rem;
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.services li {
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--pill);
  font-size: .82rem;
  font-weight: 500;
  transition: transform .6s var(--ease-back), background .4s var(--ease);
}

.services li:nth-child(1) { --pill: var(--olive); }
.services li:nth-child(2) { --pill: var(--orange); }
.services li:nth-child(3) { --pill: var(--pink); }
.services li:nth-child(4) { --pill: var(--lilac); }

.services li:hover { transform: translateY(-3px) rotate(-2deg); }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --py: parallax suave (JS) */
.hero__photo {
  position: relative;
  margin: 0;
  transform: translate3d(0, var(--py, 0px), 0);
}

.hero__frame { position: relative; border-radius: var(--radius); }

.hero__photo .placeholder,
.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* selo giratório */
.badge {
  position: absolute;
  left: -36px;
  bottom: 56px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 16px 32px -14px rgba(76, 26, 16, .35);
}

.badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: spin 20s linear infinite;
}

.badge text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  fill: currentColor;
}

.badge__play {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--olive);
  animation: pulse 2.8s var(--ease-in-out) infinite;
}

.badge__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--text);
}

@keyframes spin { to { transform: rotate(1turn); } }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(185, 181, 42, .55); }
  50%      { box-shadow: 0 0 0 10px rgba(185, 181, 42, 0); }
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1.6s infinite;
}

@keyframes blink { 50% { opacity: .25; } }

/* =========================================================
   Trabalhos (pasta com as abas como filtro)
   ========================================================= */
.works { position: relative; padding: 96px 0; }

/* --panel: a pasta "abre" de leve conforme entra na tela (JS) */
.folder--works {
  transform: scale(var(--panel, 1));
  transform-origin: 50% 0;
}

.section-head { margin-bottom: 44px; }

.title--section .title__heavy { font-size: clamp(2.6rem, 6vw, 4.8rem); }

.title--section .title__script { margin: -.3em 0 0 1.6em; font-size: clamp(1.8rem, 3.6vw, 3rem); }

/* Grade: cards verticais (9:16) por padrão; horizontais ocupam 2 colunas
   e esticam até a altura dos verticais da mesma linha. */
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 40px 20px;
}

.card { display: flex; flex-direction: column; }

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

.card--horizontal { grid-column: span 2; }

.card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  background: #e9dfd2;
  border-radius: var(--radius);
  overflow: hidden;
  /* --rx/--ry: perspectiva que segue o cursor (JS) */
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-back), box-shadow .8s var(--ease);
}

/* com o mouse em cima, a resposta fica rápida para acompanhar o cursor; ao sair, volta com a mola */
.card__media:hover {
  box-shadow: 0 30px 46px -26px rgba(76, 26, 16, .45);
  transition: transform .4s var(--ease), box-shadow .8s var(--ease);
}

/* inclinadinha para lados alternados */
.card:nth-child(odd) .card__media:hover  { transform: perspective(900px) translateY(-8px) rotate(-1.5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:nth-child(even) .card__media:hover { transform: perspective(900px) translateY(-8px) rotate(1.5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* brilho de luz que acompanha o cursor */
.card__media::after,
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 58%);
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

.card__media:hover::after,
.hero__tilt:hover .hero__frame::after { opacity: 1; }

.card--horizontal .card__media {
  aspect-ratio: 16 / 9;
  flex: 1 0 auto;
}

.card__media .placeholder,
.card__media img,
.card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.card__media:hover .placeholder,
.card__media:hover img,
.card__media:hover video { transform: scale(1.07); }

.card__media .placeholder span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: .65rem;
}

/* etiqueta de formato, como as abas */
.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--tag, var(--cream));
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  box-shadow: 0 6px 14px -8px rgba(76, 26, 16, .5);
  transition: rotate .6s var(--ease-back);
}

.card__tag--olive  { --tag: var(--olive); }
.card__tag--orange { --tag: var(--orange); }
.card__tag--pink   { --tag: var(--pink); }
.card__tag--lilac  { --tag: var(--lilac); }
.card__tag--cream  { --tag: var(--cream); }

.card__media:hover .card__tag { rotate: -6deg; }

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .45);
  transform: translate(-50%, -50%) scale(.9);
  transition:
    transform .7s var(--ease-back),
    background .5s var(--ease),
    border-color .5s var(--ease),
    color .5s var(--ease);
}

.play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent currentColor;
}

.card__media:hover .play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--olive);
  border-color: var(--olive);
  color: var(--text);
}

.card--horizontal .play { width: 68px; height: 68px; }

.card__info { padding-top: 1rem; }

.card__title {
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: .2rem;
  transition: color .5s var(--ease);
}

.card:hover .card__title { color: var(--olive-deep); }

.card__meta { font-size: .8rem; color: var(--text-muted); }

/* =========================================================
   Contato
   ========================================================= */
.contact { position: relative; padding: 96px 0 120px; overflow-x: clip; }

.folder--contact { rotate: .8deg; }

.title--contact .title__heavy { font-size: clamp(2.6rem, 7.5vw, 6rem); }

.title--contact .title__script { margin: -.3em 0 0 1.2em; font-size: clamp(2rem, 4.6vw, 3.8rem); }

/* e-mail circulado à mão, como a nota da referência */
.contact__email {
  position: relative;
  display: inline-block;
  margin-top: 2.8rem;        /* folga para a cursiva de cima e o círculo */
  padding: .55rem 1rem;
  font-family: var(--font-heavy);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--olive-deep);
  overflow-wrap: anywhere;
  transition: color .4s var(--ease);
}

.contact__email:hover { color: var(--text); }

.contact__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px dashed rgba(76, 26, 16, .25);
}

.contact__list li { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }

.contact__label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__list a {
  position: relative;
  overflow-wrap: anywhere;
  transition: color .4s var(--ease);
}

.contact__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease);
}

.contact__list a:hover { color: var(--olive-deep); }

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

/* =========================================================
   Footer (translúcido)
   ========================================================= */
.footer {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: rgba(248, 239, 230, .45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .85rem;
  color: var(--text-muted);
}

.footer a:not(.btn) { transition: color .4s var(--ease); }

.footer a:not(.btn):hover { color: var(--olive-deep); }

/* voltar ao topo: botão cheio, com a setinha numa bolinha que flutua */
.btn--top {
  gap: .75rem;
  padding: .55rem .6rem .55rem 1.4rem;
  font-size: .95rem;
}

.btn--top::after {
  content: "↑";
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive-deep);
  font-weight: 700;
  animation: nudge 2.4s var(--ease-in-out) infinite;
}

@keyframes nudge { 50% { transform: translateY(-4px); } }

/* =========================================================
   Modal de vídeo
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.modal[hidden] { display: none; }

/* o painel esconde blocos vazios com o atributo hidden */
[hidden] { display: none !important; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 16, 10, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade .5s var(--ease);
}

.modal__content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  animation: pop .8s var(--ease);
}

.modal.is-closing .modal__backdrop { animation: fade-out .4s var(--ease) forwards; }
.modal.is-closing .modal__content  { animation: pop-out .4s var(--ease) forwards; }

.modal__player {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

/* vídeo vertical: altura manda, largura sai da proporção */
.modal--vertical .modal__content { width: auto; }

.modal--vertical .modal__player {
  aspect-ratio: 9 / 16;
  height: min(82vh, 860px, calc((100vw - 2 * var(--gutter)) * 16 / 9));
}

.modal__player iframe,
.modal__player video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }

.modal__empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .75);
  font-size: .95rem;
  text-align: center;
  padding: 24px;
}

.modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 1rem;
  transition: transform .6s var(--ease-back), background .4s var(--ease);
}

.modal__close:hover { background: var(--olive); transform: rotate(90deg); }

@keyframes fade     { from { opacity: 0; } }
@keyframes fade-out { to   { opacity: 0; } }
@keyframes pop      { from { opacity: 0; transform: translateY(24px) scale(.94); } }
@keyframes pop-out  { to   { opacity: 0; transform: translateY(12px) scale(.96); } }

body.modal-open { overflow: hidden; }

/* =========================================================
   Estrelinhas desenhadas à mão, coração, brilhinhos
   ========================================================= */
.doodles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* posição e tamanho vêm de variáveis no HTML; --mx/--my: reação ao mouse (JS) */
.doodle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 1.4s var(--ease);
  animation:
    float 6s var(--ease-in-out) var(--t, 0s) infinite,
    doodle-in 1s var(--ease-back) 1.3s backwards;
}

.doodle svg {
  display: block;
  width: var(--s, 40px);
  height: var(--s, 40px);
  overflow: visible;
  fill: none;
  stroke: var(--c, var(--spark));
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 1px rgba(76, 26, 16, .15));
}

@keyframes doodle-in { from { opacity: 0; scale: 0; } }

@keyframes float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: 0 -14px; rotate: 14deg; }
}

/* coraçãozinho do rodapé */
.heart {
  display: inline-block;
  color: var(--orange);
  animation: beat 1.4s var(--ease-in-out) infinite;
}

@keyframes beat {
  0%, 30%, 100% { transform: scale(1); }
  15%           { transform: scale(1.3); }
  45%           { transform: scale(1.15); }
  60%           { transform: scale(1); }
}

/* brilhinhos que estouram no clique (JS) */
.sparkle {
  position: fixed;
  left: var(--x0);
  top: var(--y0);
  z-index: 300;
  pointer-events: none;
  font-size: var(--size, 12px);
  line-height: 1;
  color: var(--c, var(--olive));
  transform: translate(-50%, -50%);
  animation: sparkle .9s var(--ease) forwards;
}

@keyframes sparkle {
  to {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)) scale(.3);
    opacity: 0;
  }
}

/* =========================================================
   Cursor: estrelinha desenhada à mão que segue o mouse
   (só com mouse; o JS liga com a classe .has-cursor)
   ========================================================= */
.cursor { display: none; }

.has-cursor .cursor { display: block; }

.has-cursor,
.has-cursor a,
.has-cursor button { cursor: none; }

/* --translate: posição vem do JS a cada movimento do mouse */
.cursor__star,
.cursor__label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
}

/* estrela: é o próprio ponteiro (o clique vale no centro dela), girando devagar */
.cursor__star {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  transition: scale .6s var(--ease-back), opacity .3s var(--ease);
}

.cursor__star svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: transparent;
  stroke: var(--olive-deep);
  stroke-width: 5;
  stroke-linejoin: round;
  animation: cursor-spin 9s linear infinite;
  transition: fill .4s var(--ease), stroke .4s var(--ease);
}

@keyframes cursor-spin { to { transform: rotate(1turn); } }

/* etiqueta manuscrita sobre os vídeos */
.cursor__label {
  padding: .45rem .95rem .5rem;
  border-radius: 999px;
  background: var(--olive);
  color: var(--text);
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(76, 26, 16, .45);
  transform: translate(-50%, -50%) scale(0) rotate(-12deg);
  transition: transform .55s var(--ease-back);
}

.cursor__label::after {
  content: "";
  display: inline-block;
  margin-left: .4em;
  border-style: solid;
  border-width: .3em 0 .3em .5em;
  border-color: transparent transparent transparent currentColor;
  vertical-align: .05em;
}

/* em links e botões: a estrela cresce e ganha recheio rosa */
.cursor.is-link .cursor__star { scale: 1.6; }
.cursor.is-link .cursor__star svg { fill: var(--pink); stroke: var(--orange); }

/* sobre os vídeos: vira a etiqueta "assistir" */
.cursor.is-media .cursor__star { scale: 0; }
.cursor.is-media .cursor__label { transform: translate(-50%, -50%) scale(1) rotate(-6deg); }

/* clique: aperta */
.cursor.is-down .cursor__star { scale: .75; }
.cursor.is-link.is-down .cursor__star { scale: 1.3; }

/* fora da janela ou com o player aberto: some (o player usa a seta normal) */
.cursor.is-out > *,
.modal-open .cursor > * { opacity: 0; }

.has-cursor .modal,
.has-cursor .modal * { cursor: auto; }

.has-cursor .modal button { cursor: pointer; }

/* =========================================================
   Animações de entrada (só com JS ativo)
   --d: atraso do bloco (JS distribui em cascata)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(10px);
  transition:
    opacity 1s var(--ease),
    transform 1.3s var(--ease),
    filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* títulos: cada palavra sobe de dentro de uma máscara */
.js .reveal--words { opacity: 1; transform: none; filter: none; }

.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .06em 0 .2em;
  margin: -.06em 0 -.2em;
}

.word__inner { display: inline-block; }

.js .word__inner {
  transform: translateY(110%) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--w, 0) * 110ms);
}

.js .is-visible .word__inner { transform: none; }

/* grupos (pílulas, lista): os filhos entram um a um */
.js .reveal--cascade { opacity: 1; transform: none; filter: none; }

.js .reveal--cascade > * { opacity: 0; }

.js .reveal--cascade.is-visible > * {
  opacity: 1;
  animation: rise 1s var(--ease) backwards;
  animation-delay: calc(var(--d, 0s) + var(--i, 0) * 70ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
}

/* foto: cortina que abre de baixo para cima, com zoom saindo */
.js .reveal--clip {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(100% 0 0 0 round 22px);
  transition: clip-path 1.6s var(--ease) var(--d, 0s);
}

.js .reveal--clip.is-visible { clip-path: inset(0 0 0 0 round 22px); }

.js .reveal--clip > * {
  transform: scale(1.25);
  transition: transform 2.2s var(--ease) var(--d, 0s);
}

.js .reveal--clip.is-visible > * { transform: none; }

/* card da foto: foto, selo e legenda inclinam juntos seguindo o cursor (--rx/--ry vêm do JS);
   o selo "salta" para fora da foto, dando profundidade */
.hero__tilt {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .9s var(--ease-back);
}

.hero__tilt:hover { transition: transform .4s var(--ease); }

.hero__tilt .badge { translate: 0 0 70px; }

.hero__tilt .hero__caption { translate: 0 0 30px; }

/* selo: gira e "quica" ao aparecer */
.js .reveal--pop {
  transform: scale(.2) rotate(-140deg);
  filter: none;
  transition:
    opacity .6s var(--ease) var(--d, 0s),
    transform 1.4s var(--ease-back) var(--d, 0s);
}

.js .reveal--pop.is-visible { transform: none; }

/* troca de filtro: some rápido, volta em cascata */
.js .works__grid.is-filtering .card.reveal {
  opacity: 0;
  transform: translateY(18px) scale(.97);
  filter: blur(6px);
  transition-duration: .3s;
  transition-delay: 0s;
}

/* =========================================================
   Responsivo
   ========================================================= */
/* tablet e desktop: a nota fica no canto de cima do título; o nome encolhe só o necessário
   para não encostar nela (--name-len = nº de letras do nome, vem do content.js) */
@media (min-width: 761px) {
  .hero__heading { container-type: inline-size; }

  .hero .title__heavy { font-size: min(clamp(3.6rem, 9vw, 7.5rem), calc((100cqi - 225px) / (var(--name-len, 5) * .47))); }
}

@media (max-width: 960px) {
  .works__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --header-h: 64px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), transform .6s var(--ease), visibility .4s;
  }

  .nav.is-open { opacity: 1; transform: none; visibility: visible; }

  .nav a:not(.btn) {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-heavy);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -.04em;
    color: var(--olive-ink);
    border-bottom: 1px solid var(--line);
  }

  .nav a:not(.btn)::after { display: none; }

  .nav a:nth-child(2) { --i: 1; }
  .nav a:nth-child(3) { --i: 2; }

  .nav.is-open a { animation: rise .7s var(--ease) backwards; animation-delay: calc(.05s + var(--i, 0) * 70ms); }

  .nav .btn { margin-top: 20px; }

  /* abas: rolam de lado quando não cabem */
  .folder__tabs {
    left: 10px;
    right: 10px;
    padding-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .folder__tabs::-webkit-scrollbar { display: none; }

  .tab { padding: .6rem 1rem .8rem; font-size: .64rem; letter-spacing: .14em; }

  .folder__body { border-radius: 22px; }

  .folder--hero,
  .folder--contact { rotate: 0deg; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 64px); }

  /* celular: a foto vai para o lado do nome, preenchendo o espaço vazio;
     o texto e a figura "se abrem" (display: contents) para cada peça ir para a sua área */
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 48%;
    grid-template-areas:
      "label    label"
      "heading  photo"
      "bio      bio"
      "services services"
      "actions  actions"
      "caption  caption";
    column-gap: 12px;
    align-items: start;
  }

  .hero__text,
  .hero__photo,
  .hero__tilt { display: contents; }

  .hero__text > .label { grid-area: label; }
  .hero__heading { grid-area: heading; align-self: center; margin-bottom: 1.6rem; }
  .hero__frame   { grid-area: photo; }

  /* no celular a foto fica mais alta (retrato), ocupando a altura do título e da nota */
  .hero__photo .placeholder,
  .hero__photo img { aspect-ratio: 2 / 3; }
  .hero__bio     { grid-area: bio; }
  .services      { grid-area: services; }
  .hero__actions { grid-area: actions; }
  .hero__caption { grid-area: caption; margin-top: 1.4rem; }

  /* o nome divide a linha com a foto: acompanha a largura da tela e encolhe se for comprido
     para caber na coluna (--name-len = nº de letras, vem do content.js) */
  .hero__heading { container-type: inline-size; }

  .hero .title__heavy { font-size: min(clamp(2.8rem, 13vw, 3.6rem), calc(100cqi / (var(--name-len, 5) * .47))); }

  .title__script { margin: -.3em 0 0 .45em; font-size: clamp(1.75rem, 8.2vw, 2rem); }

  /* a nota sai de cima do título e entra no fluxo */
  .note {
    position: relative;
    top: auto;
    right: auto;
    display: inline-block;
    margin: 1.2rem 0 0;
    padding: .5rem .6rem;
    font-size: clamp(1rem, 4.5vw, 1.1rem);
  }

  .note__circle { left: -10px; width: calc(100% + 20px); }

  /* com a foto pequena, o selo cobriria a imagem */
  .badge { display: none; }

  .works { padding: 72px 0; }

  .contact { padding: 72px 0 88px; }

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

  .card__media { border-radius: 16px; }

  .card__tag { top: 8px; left: 8px; padding: .2rem .5rem; font-size: .58rem; letter-spacing: .1em; }

  .play { width: 42px; height: 42px; }

  .play::before { border-width: 6px 0 6px 10px; }

  .card--horizontal .play { width: 52px; height: 52px; }

  .card__info { padding-top: .75rem; }

  .card__title { font-size: .95rem; }

  .card__meta { font-size: .75rem; }

  .contact__list { grid-template-columns: 1fr; margin-top: 48px; }

  .footer__inner { flex-direction: column; }

  .doodle--desk { display: none; }
}

/* =========================================================
   Movimento reduzido: só fades, nada se mexe
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal,
  .js .reveal--clip,
  .js .reveal--pop {
    transform: none;
    filter: none;
    clip-path: none;
    transition: opacity .5s ease;
  }

  .js .reveal--clip > *,
  .js .word__inner { transform: none; transition: none; }

  .js .note__circle path { stroke-dashoffset: 0; transition: none; }

  .intro *,
  .intro .doodle { animation: none !important; }

  .intro__circle path { stroke-dashoffset: 0; }

  .js .intro { transition: opacity .4s ease; }

  .intro.is-leaving { transform: none; border-radius: 0; opacity: 0; }

  .js .reveal--cascade.is-visible > *,
  .js .header,
  .nav.is-open a,
  .rec-dot,
  .badge svg,
  .badge__play,
  .glow,
  .doodle,
  .cursor__star svg,
  .btn--top::after,
  .heart { animation: none; }

  .header,
  .btn,
  .btn::before,
  .btn__text > span,
  .card__media,
  .card__media .placeholder { transition-duration: .01s; }
}
