@font-face {
  font-family: "Google Sans Flex";
  src: url("fonte/GoogleSansFlex_36pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans Flex";
  src: url("fonte/GoogleSansFlex_36pt-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans Flex";
  src: url("fonte/GoogleSansFlex_36pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #181818;
  --black: #0c0c0c;
  --paper: #f7f7f5;
  --soft: #e1e1e1;
  --muted: #747474;
  --line: rgba(24, 24, 24, 0.13);
  --page-pad: max(24px, calc((100vw - 1180px) / 2));
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ededeb;
  --black: #ededeb;
  --paper: #101010;
  --soft: #292929;
  --muted: #9a9a9a;
  --line: rgba(237, 237, 235, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Google Sans Flex", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: color 350ms ease, background-color 350ms ease;
}

::selection {
  color: var(--paper);
  background: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: #f7f7f5;
  background: #0c0c0c;
  animation: loaderLeave 680ms cubic-bezier(0.76, 0, 0.24, 1) 700ms forwards;
}

html.skip-intro .page-loader {
  display: none;
}

.loader-content {
  width: min(calc(100% - 48px), 430px);
  overflow: hidden;
  text-align: center;
}

.loader-content p {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.055em;
  animation: welcomeRise 520ms var(--ease-out) 80ms both;
}

.loader-content span {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(247, 247, 245, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderProgress 620ms var(--ease-out) 120ms forwards;
}

body > .site-header,
body > main,
body > footer {
  animation: pageRise 760ms var(--ease-out) 650ms both;
}

html.skip-intro body > .site-header,
html.skip-intro body > main,
html.skip-intro body > footer {
  animation-delay: 0ms;
}

.site-header {
  width: min(calc(100% - 64px), 1240px);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.theme-toggle {
  position: relative;
  width: 70px;
  height: 40px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), background 320ms ease;
}

.theme-toggle span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: color 250ms ease, transform 250ms ease;
}

.theme-sun {
  color: var(--paper);
}

.theme-moon {
  color: var(--ink);
}

html[data-theme="dark"] .theme-toggle::before {
  transform: translateX(30px);
}

html[data-theme="dark"] .theme-sun {
  color: var(--ink);
}

html[data-theme="dark"] .theme-moon {
  color: var(--paper);
}

.theme-toggle:hover span,
.theme-toggle:focus-visible span {
  transform: rotate(12deg);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  transition: opacity 200ms ease;
}

.instagram-link img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: 50% 23%;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 24, 0.16);
  filter: grayscale(1) contrast(1.05);
  transition: transform 220ms ease;
}

.instagram-link:hover img,
.instagram-link:focus-visible img {
  transform: scale(1.08);
}

.instagram-link:hover,
.instagram-link:focus-visible {
  opacity: 0.72;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 11px 16px 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.hero {
  width: min(calc(100% - 40px), 1040px);
  min-height: 0;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

.hero-break-mobile,
.hero-bang {
  display: none;
}

/* Setas e símbolos precisam da forma monocromática de texto: sem isso o iOS
   cai no Apple Color Emoji, porque a Google Sans Flex não tem esses glifos. */
.card-arrow,
.cta-icon,
.carousel-button,
.theme-sun,
.theme-moon,
.header-cta span[aria-hidden="true"],
.instagram-link span[aria-hidden="true"] {
  font-variant-emoji: text;
  font-family: "Google Sans Flex", "Helvetica Neue", Arial, sans-serif;
}

.hero h1 em,
.newsletter h2 em {
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: inherit;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 27px;
  padding: 4px 5px 4px 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 34px rgba(12, 12, 12, 0.14);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(12, 12, 12, 0.22);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  font-size: 16px;
}

.link-showcase {
  width: 100%;
  min-width: 0;
  padding: 34px 0 95px;
  position: relative;
}

.link-showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 110px;
  width: min(92%, 1280px);
  height: 150px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.09);
  filter: blur(60px);
  pointer-events: none;
}

.showcase-head,
.carousel-meta {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.showcase-head {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.showcase-head p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.showcase-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: scale(1.07);
}

.cards-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  contain: paint;
}

.cards {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px var(--page-pad) 48px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--page-pad);
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  perspective: 1000px;
}

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

.cards.is-dragging,
.cards.is-jumping {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.link-card {
  position: relative;
  flex: 0 0 clamp(310px, 29vw, 380px);
  height: clamp(400px, 38vw, 490px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 22px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-shadow: 0 18px 42px rgba(12, 12, 12, 0.1);
  transform: perspective(1000px) translateY(10px) scale(0.94);
  transform-origin: center center;
  opacity: 0.48;
  transition: transform 420ms var(--ease-out), opacity 360ms ease, box-shadow 350ms ease, filter 350ms ease;
}

.link-card.is-before {
  transform: perspective(1000px) rotateY(3deg) translateY(5px) scale(0.97);
  opacity: 0.78;
}

.link-card.is-after {
  transform: perspective(1000px) rotateY(-3deg) translateY(5px) scale(0.97);
  opacity: 0.78;
}

/* Estado intermediário: os vizinhos imediatos esmaecem menos que o resto,
   devolvendo o degradê do centro para as bordas sem custo por frame. */
.link-card.is-near {
  transform: perspective(1000px) translateY(5px) scale(0.97);
  opacity: 0.72;
  z-index: 1;
}

/* Sem box-shadow aqui de propósito: animar um borrão de 72px a cada troca de
   card é repintura cara: o destaque sai só de transform e opacity. */
.link-card.is-active {
  transform: perspective(1000px) translateY(0) scale(1);
  opacity: 1;
  z-index: 2;
}

html[data-theme="dark"] .card-youtube,
html[data-theme="dark"] .card-community {
  color: #f4f4f1;
  background: #292929;
}

html[data-theme="dark"] .card-nevel,
html[data-theme="dark"] .card-launch {
  color: #f4f4f1;
  background: #1d1d1d;
}

html[data-theme="dark"] .card-ai {
  color: #f7f7f5;
}

html[data-theme="dark"] .link-showcase::before {
  background: rgba(237, 237, 235, 0.08);
}

.link-card:hover,
.link-card:focus-visible {
  box-shadow: 0 36px 75px rgba(12, 12, 12, 0.22);
  filter: contrast(1.04);
}

.link-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.card-topline {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.card-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  transition: transform 280ms ease, color 280ms ease, background 280ms ease;
}

.link-card:hover .card-arrow,
.link-card:focus-visible .card-arrow {
  transform: rotate(45deg);
  color: var(--paper);
  background: var(--ink);
}

.card-copy {
  position: relative;
  z-index: 4;
}

.card-label {
  display: block;
  margin-bottom: 7px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.17em;
  opacity: 0.58;
}

.card-copy h3 {
  margin: 0;
  font-size: clamp(29px, 3vw, 41px);
  font-weight: 400;
  letter-spacing: -0.057em;
  line-height: 0.94;
}

.visual-mark {
  position: absolute;
  pointer-events: none;
}

.card-youtube {
  background: #e2e2e0;
}

.youtube-mark {
  top: 89px;
  left: 50%;
  width: 205px;
  height: 205px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 24, 24, 0.18);
  border-radius: 50%;
}

.youtube-mark::before,
.youtube-mark::after {
  content: "";
  position: absolute;
  inset: 19px;
  border: inherit;
  border-radius: inherit;
}

.youtube-mark::after {
  inset: 45px;
  background: var(--ink);
}

.youtube-mark span {
  z-index: 2;
  color: var(--paper);
  font-size: 26px;
  transform: translateX(3px);
}

.card-think {
  color: var(--paper);
  background: var(--black);
}

.card-think:hover .card-arrow,
.card-think:focus-visible .card-arrow,
.card-ai:hover .card-arrow,
.card-ai:focus-visible .card-arrow {
  color: var(--ink);
  background: var(--paper);
}

.think-mark {
  inset: 76px 0 auto;
  height: 200px;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(247, 247, 245, 0.12);
  border-bottom: 1px solid rgba(247, 247, 245, 0.12);
  transform: rotate(-7deg) scale(1.08);
}

.think-mark::before,
.think-mark::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 150%;
  background: rgba(247, 247, 245, 0.1);
  transform: rotate(45deg);
}

.think-mark::after {
  transform: rotate(-45deg);
}

.think-mark span {
  font-family: inherit;
  font-size: 72px;
  font-style: normal;
  letter-spacing: -0.08em;
  transform: rotate(7deg);
}

.card-nevel {
  color: var(--ink);
  background: #f0f0ed;
}

.card-nevel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background: repeating-linear-gradient(90deg, transparent 0 29px, rgba(24, 24, 24, 0.1) 30px);
}

.nevel-mark {
  top: 82px;
  left: 50%;
  width: 190px;
  height: 190px;
  transform: translateX(-50%) rotate(8deg);
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  z-index: 2;
}

.nevel-mark::before,
.nevel-mark::after,
.cross-line {
  content: "";
  position: absolute;
  width: 1px;
  height: 240px;
  background: var(--ink);
}

.nevel-mark::after {
  transform: rotate(90deg);
}

.cross-line {
  transform: rotate(45deg);
  opacity: 0.15;
}

.nevel-mark strong {
  padding: 9px 12px;
  background: var(--paper);
  font-size: 13px;
  letter-spacing: 0.22em;
  z-index: 2;
}

.card-ai {
  color: var(--paper);
  background-color: #171717;
  background-image: radial-gradient(rgba(247, 247, 245, 0.15) 1px, transparent 1px);
  background-size: 14px 14px;
}

.ai-mark {
  top: 86px;
  left: 50%;
  width: 220px;
  height: 200px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: inherit;
  font-size: 92px;
  font-style: normal;
  letter-spacing: -0.14em;
}

.ai-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(247, 247, 245, 0.22);
  border-radius: 48% 52% 46% 54%;
  transform: rotate(-8deg);
}

.ai-mark span:nth-child(2) {
  color: #8c8c8c;
}

.ai-mark span:last-child {
  align-self: flex-end;
  margin: 0 0 24px 13px;
  font-family: "Google Sans Flex", sans-serif;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.card-community {
  background: #d7d7d4;
}

.community-mark {
  top: 84px;
  left: 50%;
  width: 245px;
  height: 205px;
  transform: translateX(-50%);
}

.community-mark::before,
.community-mark::after {
  content: "";
  position: absolute;
  inset: 20px 0;
  border-top: 1px solid rgba(24, 24, 24, 0.15);
  border-bottom: 1px solid rgba(24, 24, 24, 0.15);
  transform: rotate(22deg);
}

.community-mark::after {
  transform: rotate(-22deg);
}

.community-mark span {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 22px;
  box-shadow: 0 8px 22px rgba(12, 12, 12, 0.17);
}

.community-mark span:nth-child(1) { top: 4px; left: 96px; }
.community-mark span:nth-child(2) { top: 73px; left: 7px; }
.community-mark span:nth-child(3) { top: 73px; right: 7px; }
.community-mark span:nth-child(4) { bottom: 1px; left: 50px; }
.community-mark span:nth-child(5) { right: 50px; bottom: 1px; }

.card-launch {
  background: #ececea;
}

.launch-mark {
  top: 76px;
  left: 50%;
  width: 208px;
  height: 220px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 24, 24, 0.15);
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(to top, var(--ink) 0 8%, transparent 8%);
}

.launch-mark::before,
.launch-mark::after {
  content: "";
  position: absolute;
  inset: 17px;
  border: inherit;
  border-radius: inherit;
}

.launch-mark::after {
  inset: 34px;
}

.launch-mark span {
  z-index: 2;
  font-family: inherit;
  font-size: 100px;
  font-style: normal;
}

.carousel-meta {
  display: block;
  color: #8d8d8d;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.progress-track {
  height: 1px;
  overflow: hidden;
  background: rgba(24, 24, 24, 0.16);
}

.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0.04);
  transform-origin: left;
  transition: transform 160ms linear;
}

.newsletter {
  width: min(calc(100% - 48px), 1180px);
  min-height: 510px;
  margin: 42px auto 0;
  padding: clamp(48px, 7vw, 92px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(55px, 9vw, 145px);
  color: var(--paper);
  background: var(--black);
  border-radius: 27px;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: -170px;
  left: -150px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(247, 247, 245, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(247, 247, 245, 0.025), 0 0 0 110px rgba(247, 247, 245, 0.018);
}

.newsletter-copy,
.newsletter-form {
  position: relative;
  z-index: 2;
}

.newsletter h2 {
  margin: 0;
  font-size: clamp(51px, 5.7vw, 78px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.newsletter h2 em {
  font-style: normal;
}

.newsletter-form {
  display: grid;
  gap: 16px;
}

.newsletter-form label {
  display: grid;
  gap: 9px;
}

.newsletter-form label > span {
  color: #8e8e8e;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.newsletter-form input {
  width: 100%;
  padding: 16px 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 247, 245, 0.22);
  border-radius: 0;
  font-size: 14px;
  transition: border-color 200ms ease;
}

.newsletter-form input::placeholder {
  color: #555;
}

.newsletter-form input:focus {
  border-color: var(--paper);
}

html[data-theme="dark"] .newsletter-form input {
  border-bottom-color: rgba(12, 12, 12, 0.25);
}

html[data-theme="dark"] .newsletter-form input:focus {
  border-bottom-color: #0c0c0c;
}

html[data-theme="dark"] .newsletter::before {
  border-color: rgba(12, 12, 12, 0.1);
  box-shadow: 0 0 0 55px rgba(12, 12, 12, 0.025), 0 0 0 110px rgba(12, 12, 12, 0.018);
}

.newsletter-form button {
  min-height: 52px;
  margin-top: 11px;
  padding: 5px 6px 5px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.newsletter-form button span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  transition: transform 230ms ease;
}

.newsletter-form button:hover span,
.newsletter-form button:focus-visible span {
  transform: rotate(45deg);
}

.form-feedback {
  min-height: 15px;
  margin: 0;
  color: #9c9c9c;
  font-size: 11px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 800ms var(--ease-out);
}

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

footer {
  width: min(calc(100% - 64px), 1180px);
  min-height: 155px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.06em;
}

footer a {
  justify-self: end;
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-delay-1 { animation-delay: 90ms; }
.reveal-delay-2 { animation-delay: 180ms; }
.reveal-delay-3 { animation-delay: 270ms; }
.reveal-delay-4 { animation-delay: 360ms; }

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

@keyframes welcomeRise {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderProgress {
  to { transform: scaleX(1); }
}

@keyframes loaderLeave {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); visibility: hidden; }
}

@keyframes pageRise {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  :root {
    --page-pad: max(18px, calc((100vw - 330px) / 2));
  }

  .site-header {
    width: calc(100% - 36px);
    height: 76px;
  }

  .instagram-link,
  .header-cta {
    font-size: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .theme-toggle {
    width: 62px;
    height: 36px;
  }

  .theme-toggle::before {
    width: 26px;
    height: 26px;
  }

  html[data-theme="dark"] .theme-toggle::before {
    transform: translateX(26px);
  }

  .instagram-link img {
    width: 32px;
    height: 32px;
  }

  .header-cta {
    padding: 9px 13px;
  }

  .hero {
    width: calc(100% - 30px);
    min-height: 0;
    margin-top: 53px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.6vw, 54px);
    line-height: 0.98;
  }

  .hero-break-desktop,
  .hero-stop {
    display: none;
  }

  .hero-break-mobile,
  .hero-bang {
    display: inline;
  }

  .hero h1 em {
    display: inline;
  }

  .link-showcase {
    margin-top: 57px;
    padding-top: 0;
    padding-bottom: 75px;
  }

  .showcase-head,
  .carousel-meta {
    width: calc(100% - 36px);
  }

  .showcase-head {
    align-items: flex-end;
    margin-bottom: 13px;
  }

  .showcase-head h2 {
    max-width: 200px;
    font-size: 21px;
    line-height: 1.05;
  }

  .carousel-button {
    width: 36px;
    height: 36px;
  }

  .cards {
    width: 100vw;
    max-width: 100vw;
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 43px;
  }

  .link-card {
    flex-basis: min(84vw, 330px);
    height: 430px;
  }

  .card-copy h3 {
    font-size: 34px;
  }

  .carousel-meta {
    display: block;
  }

  .newsletter {
    width: calc(100% - 28px);
    min-height: auto;
    margin-top: 25px;
    padding: 72px 25px 38px;
    grid-template-columns: 1fr;
    gap: 55px;
    border-radius: 21px;
  }

  .newsletter h2 {
    font-size: clamp(50px, 15vw, 65px);
  }

  footer {
    width: calc(100% - 36px);
    min-height: 180px;
    grid-template-columns: 1fr auto;
  }

}

@media (max-width: 430px) {
  .instagram-link > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-loader {
    display: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  body > .site-header,
  body > main,
  body > footer {
    animation: none;
  }
}
