/* ==========================================================================
   GARDEN STUDIO — Página de Links
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. FONTE DA CASA — Neue Haas Display (convertida de fonte/*.ttf p/ woff2)
   A família não tem peso 600: use 500 (Medium) ou 700 (Bold), nunca 600,
   senão o navegador inventa um negrito falso.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/nhd-light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/nhd-roman.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/nhd-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/nhd-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Neue Haas Display";
  src: url("assets/fonts/nhd-black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Cores */
  --bg:            #000000;
  --card:          #1E1E1E;
  --card-soft:     rgba(42, 42, 42, 0.6);
  --card-hover:    #262626;

  /* vidro */
  --glass:         rgba(30, 30, 30, 0.55);
  --glass-hover:   rgba(46, 46, 46, 0.62);
  --glass-edge:    rgba(255, 255, 255, 0.09);
  --glass-top:     rgba(255, 255, 255, 0.07);
  --glass-blur:    blur(22px) saturate(150%);

  /* Degradê da casa — amostrado de degrade/degrade 1.png
     (prata no topo → petróleo no meio → água clara embaixo) */
  --grad-silver:   #D6D9D9;
  --grad-steel:    #8E9697;
  --grad-petrol:   #213133;
  --grad-teal:     #4D6365;
  --grad-aqua:     #C5D9DB;

  --accent:        #C3DCDF;          /* troque aqui p/ mudar toda a marca */
  --accent-2:      #94B0B3;
  --accent-ink:    #0B1617;

  --text:          #FFFFFF;
  --text-2:        rgba(255, 255, 255, 0.75);
  --text-3:        #7C7F82;

  --line:          rgba(255, 255, 255, 0.15);
  --hairline:      rgba(255, 255, 255, 0.2);

  /* Forma */
  --r:             6px;
  --r-lg:          10px;

  /* Layout */
  --col:           640px;   /* largura da coluna de conteúdo (com padding) */
  --col-pad:       36px;
  --grid-max:      1185px;  /* largura das linhas verticais de fundo */
  --grid-gutter:   40px;

  /* Tipografia — Neue Haas é um Helvetica; os fallbacks acompanham a métrica */
  --font: "Neue Haas Display", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Motion */
  --ease:          cubic-bezier(0.44, 0, 0.22, 1);
  --dur:           0.28s;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-synthesis: none;   /* sem negrito/itálico sintético */
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   2a. BARRA DE ROLAGEM
   -------------------------------------------------------------------------- */
html {
  scrollbar-width: thin;                                  /* Firefox */
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  /* a borda transparente + background-clip afina o polegar sem encostar
     nas bordas da pista */
  background: rgba(255, 255, 255, 0.18);
  background-clip: content-box;
  border: 3px solid transparent;
  border-radius: 99px;
  transition: background-color var(--dur) var(--ease);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.34); background-clip: content-box; }
::-webkit-scrollbar-thumb:active { background: var(--accent); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* --------------------------------------------------------------------------
   2c. CURSOR PERSONALIZADO
   Um disco só, com mix-blend-mode: difference — ele inverte o que está
   embaixo, então continua legível sobre o preto, sobre o botão amarelo e
   sobre a logo clara, sem precisar de lógica por elemento.
   Sem atraso: a posição é escrita direto no evento do ponteiro.
   -------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;      /* nunca intercepta clique */
  opacity: 0;
  will-change: transform;
  transition: opacity 0.2s var(--ease),
              width 0.24s var(--ease), height 0.24s var(--ease),
              margin 0.24s var(--ease), opacity 0.24s var(--ease);
}

/* Atenção à especificidade: `html.cursor-on .cursor` é (0,2,1) e vence
   `.cursor.is-link` (0,2,0). Por isso as regras de estado também são
   escritas sob `html.cursor-on`, senão a opacidade nunca muda. */
html.cursor-on .cursor { opacity: 1; }

/* sobre algo clicável: abre e alivia, p/ não tampar o texto embaixo */
.cursor.is-link {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
}
html.cursor-on .cursor.is-link { opacity: 0.55; }

/* pressionado: recolhe, dá resposta tátil */
.cursor.is-down {
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
}
html.cursor-on .cursor.is-down { opacity: 1; }

/* fora da janela — por último, p/ ganhar o empate de especificidade */
html.cursor-out .cursor,
html.cursor-out .cursor.is-link,
html.cursor-out .cursor.is-down { opacity: 0; }

/* só esconde o cursor nativo depois que o nosso está de pé */
@media (hover: hover) and (pointer: fine) {
  html.cursor-on,
  html.cursor-on body,
  html.cursor-on a,
  html.cursor-on button { cursor: none; }
}

/* em toque ou ponteiro grosso, nem aparece */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* --------------------------------------------------------------------------
   2b. PRELOADER
   Logo sobe com blur/fade, a barra carrega, e a tela inteira desliza p/ cima.
   O contorno luminoso ao redor é o ShapeBlur (WebGL, em preloader.js).
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.preloader.is-done { transform: translateY(-100%); }

html.is-loading, html.is-loading body { overflow: hidden; }

/* as mesmas hairlines da página, acompanhando o preloader ao subir */
.preloader .bg-grid { position: absolute; }

/* anel luminoso girando atrás do logo */
.preloader__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(260px, 62vw);
  aspect-ratio: 1;
  pointer-events: none;
}

.preloader__logo {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 0.5px solid var(--hairline);
  animation: pre-logo-in 1s var(--ease) both;
}
.preloader__logo img { width: 100%; height: 100%; object-fit: cover; }

/* sobe de baixo para cima, saindo do blur */
@keyframes pre-logo-in {
  from { opacity: 0; translate: 0 44px; filter: blur(18px); }
  to   { opacity: 1; translate: 0 0;    filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* --------------------------------------------------------------------------
   3. FUNDO — hairlines verticais + brilho no topo
   -------------------------------------------------------------------------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  padding: 0 var(--grid-gutter);
  pointer-events: none;
}
.bg-grid__inner {
  display: flex;
  justify-content: space-between;
  max-width: var(--grid-max);
  height: 100%;
  margin: 0 auto;
}
.bg-grid__inner span {
  width: 1px;
  height: 100%;
  background: var(--line);
}

.bg-glow {
  position: fixed;
  top: -360px;
  left: 50%;
  /* A caixa precisa ser MAIOR que as elipses, senão o degradê é cortado pela
     borda do elemento antes de chegar em alpha 0 e aparece um retângulo
     visível no fundo (era o caso com 900x700 + raios em %). Raios em px para
     não voltarem a depender do tamanho da caixa. */
  width: 1400px;
  height: 1000px;
  transform: translateX(-50%);
  /* atmosfera da casa: o degradê do studio (petróleo → água) em vez de um
     brilho branco neutro. Duas camadas — o petróleo abre o volume, a água
     acende o miolo logo atrás da logo. */
  background:
    radial-gradient(414px 308px at 50% 42.2%, rgba(197, 217, 219, 0.10) 0%, rgba(197, 217, 219, 0) 100%),
    radial-gradient(558px 406px at 50% 45%,   rgba(33, 49, 51, 0.75) 0%, rgba(33, 49, 51, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. SHELL / COLUNA
   -------------------------------------------------------------------------- */
.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: var(--col);
  padding: 100px var(--col-pad) 80px;
}

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 0 12px;
}

.avatar {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 0.5px solid var(--hairline);
  transition: transform var(--dur) var(--ease);
}
.avatar:hover { transform: scale(1.04); }
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masthead__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 420px;
}

.masthead__name {
  font-family: var(--font);
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-align: center;
  color: var(--text);
}

.masthead__bio > span { display: block; }

.masthead__bio {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  text-align: center;
  color: var(--text-2);
  text-wrap: balance;
}
/* linha que puxa o olho para baixo */
.masthead__cue {
  display: inline-block;
  margin-top: 6px;
  font-weight: 500;
  color: var(--accent);
}

.masthead__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   6. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 112px;
  height: 40px;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 16px;
  line-height: 17.6px;
  font-weight: 500;
  letter-spacing: -0.16px;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

.btn--primary {
  background: linear-gradient(180deg, #DCEAEC 0%, var(--accent) 45%, var(--accent-2) 100%);
  color: var(--accent-ink);
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-top);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* pílula que é rótulo, não link — sem hover, sem cursor de clique */
.btn--static { cursor: default; user-select: none; }

/* --------------------------------------------------------------------------
   7. PILHA DE CARDS
   -------------------------------------------------------------------------- */
.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.card {
  position: relative;
  width: 100%;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
  /* sem overflow:hidden aqui: os filhos que precisam de recorte (o thumb e o
     .project__media) já têm o seu, e um clip arredondado a mais neste box —
     que tem backdrop-filter e se move no hover — é fonte de hairline. */
  box-shadow: inset 0 1px 0 var(--glass-top), 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.16);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card__title {
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--text);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  line-height: 24px;
  font-weight: 400;
  color: var(--text-2);
  transition: color var(--dur) var(--ease);
}
.card__link svg {
  width: 12px; height: 12px;
  transition: transform var(--dur) var(--ease);
}
.card:hover .card__link { color: var(--accent); }
.card:hover .card__link svg { transform: translateX(2px); }

/* --------------------------------------------------------------------------
   8. LINK CARD (Instagram / LinkedIn)
   -------------------------------------------------------------------------- */
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px 16px 16px;
}
.link-card:hover { transform: translateY(-2px); }

.link-card__thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--r);
  overflow: hidden;
}
.link-card__thumb svg { width: 100%; height: 100%; }

.link-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link-card__name {
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--text);
}
.link-card__desc {
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--text-2);
}

/* seta discreta: o card inteiro já é o link, ela só indica o destino */
.link-card__cta {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--text-3);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.link-card__cta svg { width: 18px; height: 18px; }

.link-card:hover .link-card__cta {
  color: var(--text);
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   9. CARD DE PROJETO
   -------------------------------------------------------------------------- */
.project {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}
.project:hover { transform: translateY(-2px); }

.project__media {
  position: relative;
  /* Casa com a proporção real das imagens (1650x900). Se divergir, o
     object-fit: cover corta os cantos arredondados que vêm no alpha do
     arquivo e sobram cantos retos de um lado. */
  aspect-ratio: 1650 / 900;
  /* as imagens já trazem canto arredondado no alpha (~17px no tamanho
     exibido); o container acompanha para os dois casarem */
  border-radius: 16px;
  overflow: hidden;
}
/* carrossel: as imagens ficam empilhadas e trocam por opacidade */
.project__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.85s var(--ease), transform 0.6s var(--ease);
}
.project__media img.is-active { opacity: 1; }
.project:hover .project__media img { transform: scale(1.04); }

/* indicadores */
.project__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -6px;
}
.project__dots span {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}
.project__dots span.is-active {
  width: 16px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   10. STACK — só os ícones passando, sem card e sem título
   -------------------------------------------------------------------------- */
.toolstack { width: 100%; }

.marquee {
  position: relative;
  overflow: hidden;
  /* folga vertical para o icone poder subir no hover sem ser cortado */
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* placa escura uniforme: as marcas entram "nuas", sem fundo próprio */
.tool {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-top);
  opacity: 0.9;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tool:hover {
  transform: translateY(-3px);
  opacity: 1;
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.18);
}
.tool svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   11. RODAPÉ
   -------------------------------------------------------------------------- */
.footer {
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   11c. ENTRADA DO TOPO (depois do preloader)
   O caminho scroll-driven não serve aqui: elemento que já nasce dentro da
   viewport está ALÉM da faixa de entrada e renderiza direto no estado final
   — por isso o topo nunca animava. Então ele tem entrada própria, disparada
   quando o preloader sai.
   `intro-hold` é posto pelo preloader.js; se ele não rodar, nada fica
   escondido e o topo aparece normalmente.
   -------------------------------------------------------------------------- */
html.intro-hold .intro {
  opacity: 0.001;
  filter: blur(16px);
  translate: 0 30px;
}
html.intro-in .intro {
  opacity: 1;
  /* `none`, não `blur(0)`: blur(0) continua sendo um filtro e deixaria o
     .btn--ghost (vidro, com backdrop-filter) numa textura própria pra sempre. */
  filter: none;
  translate: 0 0;
  transition: opacity 0.9s var(--ease)   calc(var(--i, 0) * 95ms),
              filter 0.9s var(--ease)    calc(var(--i, 0) * 95ms),
              translate 0.9s var(--ease) calc(var(--i, 0) * 95ms);
}

@media (prefers-reduced-motion: reduce) {
  html .intro {
    opacity: 1 !important;
    filter: none !important;
    translate: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   12. ANIMAÇÃO DE ENTRADA
   -------------------------------------------------------------------------- */
/* Usamos as propriedades individuais `translate` e `scale` — e NÃO `transform` —
   porque uma animação com fill:both sobrescreve declarações normais. Com
   `transform` aqui, o `:hover { transform: ... }` dos cards e botões morria. */
/* Sem `filter` aqui de propósito. A animação é scroll-driven com fill:both, ou
   seja NUNCA termina: o estado final ficava aplicado para sempre e todo .card
   carregava um `filter: blur(0px)` permanente. Filtro + backdrop-filter no
   mesmo box obriga o Chrome a rasterizar o card numa textura à parte; no hover
   o translateY(-2px) reamostrava essa textura em posição fracionária e a borda
   de 1px clara borrava numa linha visível embaixo do card. */
@keyframes reveal-in {
  from { opacity: 0; translate: 0 26px; scale: 0.985; }
  to   { opacity: 1; translate: 0 0;    scale: 1; }
}

/* filhos entrando em cascata dentro do bloco */
@keyframes stagger-in {
  from { opacity: 0; translate: 0 12px; }
  to   { opacity: 1; translate: 0 0; }
}

/* índice de cada filho, para escalonar o atraso */
.link-card > *,
.project > *            { --i: 0; }
.link-card > :nth-child(2),
.project > :nth-child(2) { --i: 1; }
.link-card > :nth-child(3),
.project > :nth-child(3)   { --i: 2; }

/* --- caminho A: animação amarrada à posição do scroll (Chrome/Edge) ------- */
html.scroll-driven .reveal {
  animation: reveal-in linear both;
  animation-timeline: view();
  animation-range: entry 2% entry 42%;
}
html.scroll-driven .link-card > *,
html.scroll-driven .project > * {
  animation: stagger-in linear both;
  animation-timeline: view();
  animation-range: entry calc(8% + var(--i) * 6%) entry calc(48% + var(--i) * 6%);
}

/* --- caminho B: dispara ao entrar na viewport (Safari/Firefox) ------------ */
html:not(.scroll-driven) .reveal {
  opacity: 0.001;
  translate: 0 26px;
  scale: 0.985;
}
html:not(.scroll-driven) .reveal.is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition: opacity 0.75s var(--ease),
              translate 0.75s var(--ease),
              scale 0.75s var(--ease);
}
html:not(.scroll-driven) .link-card > *,
html:not(.scroll-driven) .project > * {
  opacity: 0.001;
  translate: 0 12px;
}
html:not(.scroll-driven) .reveal.is-in > * {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.6s var(--ease) calc(var(--i) * 90ms),
              translate 0.6s var(--ease) calc(var(--i) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  html .reveal,
  html .link-card > *,
  html .project > * {
    opacity: 1 !important;
    filter: none !important;
    translate: none !important;
    scale: none !important;
    animation: none !important;
  }
  .marquee__track { animation: none !important; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   13. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 809px) {
  .bg-grid { padding: 0 24px; }
  .column { gap: 48px; padding: 72px 24px 64px; }
}

@media (max-width: 639px) {
  .column { gap: 40px; padding: 56px 20px 56px; }
  .bg-grid { padding: 0 16px; }
  .bg-grid__inner span:nth-child(2),
  .bg-grid__inner span:nth-child(3) { opacity: 0.5; }

  .masthead { padding: 0; }
  .masthead__name { font-size: 32px; line-height: 38px; }
  .masthead__bio { font-size: 15px; line-height: 24px; }

  .btn { min-width: 0; font-size: 15px; padding: 12px 14px; }

  /* com a seta o card cabe numa linha só, sem empilhar */
  .link-card {
    padding: 14px 12px 14px 14px;
    gap: 12px;
  }
  .link-card__thumb { width: 48px; height: 48px; }
  .link-card__name { font-size: 14px; line-height: 20px; }
  .link-card__desc { font-size: 13px; line-height: 19px; }
  .link-card__cta { width: 26px; height: 26px; }
  .link-card__cta svg { width: 16px; height: 16px; }

  .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
  .marquee__track { gap: 22px; }
  .tool { width: 40px; height: 40px; }
  .tool svg { width: 22px; height: 22px; }
}
