/*
Theme Name: Zoetrope Theme
Theme URI: http://localhost/zoetrope
Author: Zoetrope Dev
Description: Tema personalizado desenvolvido do zero para o projeto Zoetrope.
Version: 1.0
Text Domain: zoetrope
*/

/* PP Object Sans — fonts/object-sans/ (ficheiros PPObjectSans-*) */
@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-Thin.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-ThinSlanted.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-ThinSlanted.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-Regular.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-Slanted.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-Slanted.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-Bold.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-BoldSlanted.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-BoldSlanted.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-Heavy.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-Heavy.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Object Sans";
  src:
    url("fonts/object-sans/PPObjectSans-HeavySlanted.woff2") format("woff2"),
    url("fonts/object-sans/PPObjectSans-HeavySlanted.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* PP Eiko — fonts/eiko/ */
@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-Thin.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-ThinItalic.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-Light.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-LightItalic.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-Regular.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-Medium.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-MediumItalic.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-Heavy.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-Heavy.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-Black.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Eiko";
  src:
    url("fonts/eiko/PPEiko-BlackItalic.woff2") format("woff2"),
    url("fonts/eiko/PPEiko-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  background: #000000;
  overflow-x: hidden;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #fcfcfd;
  line-height: 1.5;
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8' fill='%23a0c010' opacity='0.55'/%3E%3Ccircle cx='11' cy='11' r='5' fill='%23c8e85a'/%3E%3Ccircle cx='11' cy='11' r='2.2' fill='%23f4ffcc'/%3E%3C/svg%3E")
      11 11,
    auto;
}

/* Anula o cursor:pointer do user-agent para a bolinha herdar em todo o site */
a,
button,
[role="button"],
input,
select,
textarea,
label,
summary {
  cursor: inherit !important;
}

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Espaço para o header fixo; o hero com margin-top negativo continua por baixo do menu */
  padding-top: var(--site-header-offset, 72px);
}

.site-header {
  padding: 16px 2rem;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100vw;
  z-index: 50;
  transform: translateY(0);
  will-change: transform;
  /* Entrada/saída do header + vidro */
  transition:
    transform 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    background-color 0.55s cubic-bezier(0.33, 1, 0.68, 1),
    -webkit-backdrop-filter 0.4s ease,
    backdrop-filter 0.4s ease;
}

/* Rolar para baixo: menu esconde-se subindo */
.site-header.is-header-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

/* Rolar para cima: menu visível, a descer, com fundo + blur */
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Com barra clara + blur, logo e links passam a escuros */
.site-header .brand-logo,
.site-header .site-nav-list a {
  transition:
    color 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    filter 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.35s ease;
}

.site-header.is-scrolled .brand-logo {
  filter: brightness(0);
}

/* Home: logo branco sobre o hero (o SVG usa cinza #959595) */
.page-template-page-home .site-header:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .site-nav-list a {
  color: #0c111d;
}

.site-header.is-scrolled .site-nav-list a:hover {
  color: #0c111d;
  opacity: 0.72;
}

.site-header.is-scrolled .site-nav-list li.current-menu-item > a,
.site-header.is-scrolled .site-nav-list li.current_page_item > a {
  color: #0047bb;
  opacity: 1;
}

/* Barra de administração WordPress (utilizador com sessão iniciada) */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-footer {
  background: #000000;
  border-bottom: none;
  margin-top: auto;
  font-size: 0.875rem;
  color: #94a3b8;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/*
 * Escala tipográfica responsiva (reutilizar em outras telas)
 * Coloque a classe `theme-type-scale` no <main> e use as variáveis nos filhos:
 *   --t-display    título grande (ex.: hero / about title)
 *   --t-body      texto corrido
 *   --t-subheading subtítulo / nomes (ex.: equipe)
 *   --t-gap       espaço entre colunas / grid
 *   --t-pad-top   padding-top da primeira seção
 *   --t-team-margin margin acima da seção equipe
 */
.theme-type-scale {
  --t-display: 64px;
  --t-body: 18px;
  --t-subheading: 24px;
  --t-gap: 32px;
  --t-pad-top: 56px;
  --t-team-margin: 96px;
  --t-team-pad-bottom: 80px;
}

@media (max-width: 1200px) {
  .theme-type-scale {
    --t-display: 56px;
    --t-body: 17px;
    --t-subheading: 22px;
    --t-gap: 28px;
    --t-pad-top: 48px;
    --t-team-margin: 72px;
    --t-team-pad-bottom: 64px;
  }
}

@media (max-width: 900px) {
  .theme-type-scale {
    --t-display: 44px;
    --t-body: 16px;
    --t-subheading: 20px;
    --t-gap: 24px;
    --t-pad-top: 40px;
    --t-team-margin: 56px;
    --t-team-pad-bottom: 56px;
  }
}

@media (max-width: 600px) {
  .theme-type-scale {
    --t-display: 36px;
    --t-body: 15px;
    --t-subheading: 18px;
    --t-gap: 20px;
    --t-pad-top: 32px;
    --t-team-margin: 48px;
    --t-team-pad-bottom: 48px;
  }
}

@media (max-width: 400px) {
  .theme-type-scale {
    --t-display: 30px;
    --t-body: 14px;
    --t-subheading: 17px;
    --t-gap: 16px;
    --t-pad-top: 24px;
    --t-team-margin: 40px;
    --t-team-pad-bottom: 40px;
  }
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e5e7eb;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 142px;
  height: 32px;
}

.brand-logo {
  display: block;
  width: 142px;
  height: 32px;
}

.brand-text {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}

.site-nav-list a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-nav-list a:hover {
  color: #fcfcfd;
  text-decoration: none;
}

.site-nav-list li {
  position: relative;
}

.site-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 86px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #151946;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.28);
  display: none;
  z-index: 60;
}

.site-nav-list .sub-menu li {
  width: 100%;
}

.site-nav-list .sub-menu a {
  display: block;
  width: 100%;
  min-height: auto;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 6px;
  color: #fcfcfd;
}

.site-nav-list .sub-menu a:hover {
  background: rgb(255 255 255 / 0.1);
}

.site-nav-list li:not(.pll-parent-menu-item):hover > .sub-menu,
.site-nav-list li:not(.pll-parent-menu-item):focus-within > .sub-menu {
  display: block;
}

/* Polylang: abre só com clique (classe pll-lang-open; ver pll-lang-menu.js) */
.site-nav-list .pll-parent-menu-item:not(.pll-lang-open) > .sub-menu {
  display: none !important;
}

.site-nav-list .pll-parent-menu-item.pll-lang-open > .sub-menu {
  display: block !important;
}

/* Polylang: seletor de idioma no menu (dropdown claro, seta, peso 400) */
@media (min-width: 901px) {
  .site-nav-list > li.pll-parent-menu-item {
    margin-left: 32px;
  }
}

.site-nav-list .pll-parent-menu-item > a {
  display: inline-flex;
  align-items: center;
  font-weight: 400;
}

.site-nav-list .pll-parent-menu-item > a::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 8px;
  flex-shrink: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  border-bottom: 0;
  transform-origin: 50% 40%;
  transition: transform 0.2s ease;
}

.site-nav-list .pll-parent-menu-item.pll-lang-open > a::after {
  transform: rotate(180deg);
}

.site-nav-list .pll-parent-menu-item .sub-menu {
  background: #fafafa;
  border: 1px solid rgba(12, 17, 29, 0.12);
  box-shadow: 0 12px 28px rgba(12, 17, 29, 0.14);
}

.site-nav-list .pll-parent-menu-item .sub-menu a {
  color: #0c111d;
  font-weight: 400;
}

.site-nav-list .pll-parent-menu-item .sub-menu a:hover {
  background: rgba(12, 17, 29, 0.06);
  color: #0c111d;
}

.site-nav-list .pll-parent-menu-item .sub-menu li.current-lang > a {
  background: rgba(0, 71, 187, 0.12);
  color: #0047bb;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid rgba(12, 17, 29, 0.2);
  background: rgba(255, 255, 255, 0.98);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 40;
  box-shadow: 0 4px 16px rgba(12, 17, 29, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0c111d;
  transition:
    transform 220ms ease,
    opacity 180ms ease;
  transform-origin: center;
}

/* Hero — mesh: preto + azul + verde-água + roxo + roxo→rosado (tons mais escuros) */
.hero.hero-banner {
  --hero-glow-x: 50%;
  --hero-glow-y: 45%;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 742px;
  padding: 0;
  background: #000000;
  overflow: hidden;
  margin-top: -72px;
  z-index: 0;
  isolation: isolate;
}

/* Brilho suave que segue o cursor (posição via JS → --hero-glow-x/y) */
.hero-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    circle clamp(72px, 11vw, 160px) at var(--hero-glow-x) var(--hero-glow-y),
    rgb(255 255 255 / 0.42) 0%,
    rgb(255 255 255 / 0.14) 34%,
    transparent 58%
  );
  mix-blend-mode: soft-light;
}

.hero.hero-banner.hero-glow-active .hero-cursor-glow {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cursor-glow {
    display: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-cursor-glow {
    display: none !important;
  }
}

.hero-banner-inner {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 96px 2rem 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Camada de cor: mesma paleta, opacidades mais baixas + RGB ligeiramente mais profundos */
.hero::before {
  content: "";
  position: absolute;
  inset: -34%;
  background:
    radial-gradient(
      ellipse 90% 78% at 18% 30%,
      rgb(34 160 150 / 0.32) 0%,
      rgb(10 90 85 / 0.16) 38%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 70% at 52% 18%,
      rgb(40 90 190 / 0.38) 0%,
      rgb(20 50 130 / 0.18) 40%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 95% 85% at 92% 48%,
      rgb(180 60 120 / 0.28) 0%,
      rgb(120 55 180 / 0.26) 35%,
      rgb(80 40 140 / 0.14) 55%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 75% 65% at 78% 82%,
      rgb(140 45 150 / 0.26) 0%,
      rgb(85 40 130 / 0.16) 45%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 70% 60% at 8% 78%,
      rgb(18 110 100 / 0.2) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 65% 55% at 42% 92%,
      rgb(55 50 130 / 0.18) 0%,
      transparent 60%
    );
  filter: blur(82px);
  transform: translate3d(0, 0, 0) scale(1.04);
  transition: transform 700ms ease-out;
  pointer-events: none;
  z-index: 0;
}

/* Grão leve — opacidade baixa para não voltar a ficar “só preto” */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.hero:hover::before {
  transform: translate3d(1%, -1%, 0) scale(1.06);
}

.hero-banner-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 128px;
  font-weight: 500;
  color: #fcfcfd;
  text-align: center;
  margin-bottom: 48px;
}

.hero-banner-bottom {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-banner-text-block {
  max-width: 360px;
  text-align: left;
}

.hero-banner-text {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  color: #fcfcfd;
  max-width: 360px;
  margin-bottom: 24px;
}

.hero-banner-cta {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fcfcfd;
  text-decoration: none;
}

.hero-banner-cta:hover {
  text-decoration: underline;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #22d3ee);
  color: #0c111d;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-meta strong {
  display: block;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.hero-orbit {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 999px;
  position: relative;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(56, 189, 248, 0.1),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(244, 114, 182, 0.1),
      transparent 55%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(52, 211, 153, 0.12),
      transparent 55%
    );
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  overflow: hidden;
}

.hero-orbit-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 1 / 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, #22d3ee, transparent 55%),
    radial-gradient(circle at 80% 100%, #a855f7, transparent 55%),
    radial-gradient(circle at 50% 50%, #0f172a, #020617 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-orbit-core span {
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.orbit-ring {
  position: absolute;
  inset: 16%;
  border-radius: inherit;
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.orbit-ring:nth-child(2) {
  inset: 8%;
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.4);
}

.orbit-pill {
  position: absolute;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.orbit-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.orbit-pill-dot.green {
  background: #22c55e;
}

.orbit-pill-dot.cyan {
  background: #22d3ee;
}

.orbit-pill-dot.violet {
  background: #a855f7;
}

.orbit-pill.top-left {
  top: 20%;
  left: 13%;
}

.orbit-pill.top-right {
  top: 18%;
  right: 10%;
}

.orbit-pill.bottom-left {
  bottom: 17%;
  left: 7%;
}

.orbit-pill.bottom-right {
  bottom: 16%;
  right: 12%;
}

/* Section Sponsors (logos de patrocinadores) */
.section-sponsors {
  padding: 32px 2rem;
  border-bottom: 1px solid #323232;
}

.section-sponsors-inner {
  width: 100%;
}

.section-sponsors-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-sponsors-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 0;
}

.section-sponsor-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.section-sponsor-slot--empty {
  pointer-events: none;
}

.section-sponsor-logo {
  width: 100%;
  max-width: 320px;
  height: 64px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.section-sponsor-logo.sponsor-logo--fade-out {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .section-sponsor-logo {
    transition: none;
  }
}

/* Secção vídeo (home) — full width; altura fixa 520px; vídeo em cover + loop no HTML */
.section-home-video {
  width: 100%;
  padding: 0 0 28px;
  margin: 0;
}

.section-home-video-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-video-frame {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-top: 1px solid #323232;
  border-bottom: 1px solid #323232;
  background: #050508;
}

.home-video-placeholder {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #020203;
}

.home-video-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 640px) {
  .section-home-video {
    padding-bottom: 24px;
  }

  .home-video-placeholder {
    height: 520px;
  }
}

/* Section Work (posts / projetos) */
.section-work {
  padding: 32px 2rem;
}

.section-work-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-work-header {
  max-width: 520px;
  margin-bottom: 32px;
}

/* Section Background Hero (acima dos posts) */
/* (section-background-hero removida – substituída pelo hero banner) */

.section-work-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 64px;
  font-weight: 500;
  color: #fcfcfd;
  margin-bottom: 32px;
}

.section-work-subtitle {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  color: #fcfcfd;
  margin-bottom: 32px;
}

/* Our Work — home: padrão 2+1+2+1 (alturas ~1760 / 1408 / 1520 no design → escala web) */
.page-template-page-home .section-work-inner {
  max-width: 1400px;
}

.section-work-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 14vw, 150px);
  width: 100%;
}

.work-showcase-row--pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 8vw, 130px);
  align-items: start;
}

.work-showcase-row--full {
  display: flex;
  width: 100%;
}

.work-showcase-row--full .work-showcase-card--full {
  flex: 0 0 80%;
  width: 80%;
  max-width: 80%;
  min-width: 0;
}

.work-showcase-row--full.work-showcase-row--full-align-left {
  justify-content: flex-start;
}

.work-showcase-row--full.work-showcase-row--full-align-center {
  justify-content: center;
}

.work-showcase-row--full.work-showcase-row--full-align-right {
  justify-content: flex-end;
}

.work-showcase-card {
  margin: 0;
  min-width: 0;
}

.work-showcase-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-showcase-card-link:hover,
.work-showcase-card-link:focus,
.work-showcase-card-link:focus-visible,
.work-showcase-card-link:active {
  text-decoration: none;
}

.work-showcase-card-link:focus-visible {
  outline: 2px solid #fcfcfd;
  outline-offset: 4px;
}

.work-showcase-card--reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.work-showcase-card--reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .work-showcase-card--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.work-showcase-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #0a0a0c;
}

/* Referência design: 1760px / 1408px — meia escala para ecrã */
.work-showcase-card--pair-tall .work-showcase-media {
  height: clamp(260px, 46vw, 880px);
}

.work-showcase-card--pair-short .work-showcase-media {
  height: clamp(220px, 37vw, 704px);
}

.work-showcase-card--pair-short {
  margin-top: clamp(36px, 7vw, 120px);
}

.work-showcase-card--full .work-showcase-media {
  height: clamp(280px, 42vw, 760px);
}

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

.work-showcase-text {
  margin-top: 16px;
  max-width: 720px;
}

.work-showcase-row--full .work-showcase-text {
  max-width: none;
}

.work-showcase-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #fcfcfd;
  margin: 0 0 8px;
  line-height: 1.2;
}

.work-showcase-excerpt {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  color: #fcfcfd;
  margin: 0;
}

.work-showcase-tags {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  color: rgb(252 252 253 / 0.55);
  margin: 12px 0 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .work-showcase-card-link:hover .work-showcase-tags,
  .work-showcase-card-link:focus-visible .work-showcase-tags {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .work-showcase-tags {
    opacity: 1;
  }
}

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

.work-card-image {
  position: relative;
  overflow: hidden;
  background: #000;
}

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

.work-card-meta {
  margin-top: 10px;
}

.work-card-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fcfcfd;
  margin-bottom: 4px;
}

.work-card-description {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  color: #fcfcfd;
}

/* Portfolios page */
.page-template-page-portfolios {
  background: #ffffff;
  color: #0c111d;
}

.page-template-page-portfolios .site-nav-list a {
  color: #0c111d;
}

.page-template-page-portfolios .site-nav-list a:hover {
  color: #0c111d;
}

/* Item ativo no menu principal */
.page-template-page-portfolios .site-nav-list li.current-menu-item > a,
.page-template-page-portfolios .site-nav-list li.current_page_item > a,
.page-template-page-services .site-nav-list li.current-menu-item > a,
.page-template-page-services .site-nav-list li.current_page_item > a,
body.single-post .site-nav-list li.current-menu-item > a,
body.single-post .site-nav-list li.current_page_item > a,
.page-template-page-about .site-nav-list li.current-menu-item > a,
.page-template-page-about .site-nav-list li.current_page_item > a,
.page-template-page-contact .site-nav-list li.current-menu-item > a,
.page-template-page-contact .site-nav-list li.current_page_item > a,
.page-template-page-home .site-nav-list li.current-menu-item > a,
.page-template-page-home .site-nav-list li.current_page_item > a,
.page-template-page-legal .site-nav-list li.current-menu-item > a,
.page-template-page-legal .site-nav-list li.current_page_item > a,
.home .site-nav-list li.current-menu-item > a,
.home .site-nav-list li.current_page_item > a {
  color: #0047bb;
  font-style: italic;
  font-weight: 500;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-decoration: none;
}

.page-template-page-portfolios .section-work-title,
.page-template-page-portfolios .section-work-subtitle,
.page-template-page-portfolios .section-work-body,
.page-template-page-portfolios .work-card-title,
.page-template-page-portfolios .work-card-description {
  color: #0c111d;
}

.page-template-page-portfolios .work-card-tags {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #64748b;
  margin: 8px 0 0;
}

.section-portfolios .portfolio-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.section-portfolios .portfolio-card-link:focus-visible {
  outline: 2px solid #0047bb;
  outline-offset: 4px;
}

.portfolios-grid-empty {
  flex: 1 1 100%;
  margin: 0;
  font-size: 18px;
  color: #64748b;
}

.portfolios-pagination {
  margin-top: clamp(32px, 5vw, 56px);
  width: 100%;
}

.portfolios-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.portfolios-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
}

.portfolios-pagination ul.page-numbers a.page-numbers,
.portfolios-pagination ul.page-numbers span.page-numbers {
  display: inline-block;
  min-width: 2.25rem;
  padding: 8px 12px;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  color: #0c111d;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.portfolios-pagination ul.page-numbers a.page-numbers:hover {
  border-color: #cbd5e1;
  background: rgb(12 17 29 / 0.04);
}

.portfolios-pagination ul.page-numbers span.page-numbers.current {
  font-weight: 600;
  color: #ffffff;
  background: #0c111d;
  border-color: #0c111d;
}

.portfolios-pagination ul.page-numbers span.page-numbers.dots {
  min-width: auto;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: #64748b;
}

.page-template-page-portfolios .section-work-body {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 32px;
}

.page-template-page-portfolios .section-work-body p {
  margin: 0;
}

.page-template-page-portfolios .section-work-body p + p {
  margin-top: 1em;
}

.page-template-page-portfolios .footer-section.footer-contact,
.page-template-page-portfolios .footer-section.footer-join {
  background: #000000;
  color: #fcfcfd;
}

.page-template-page-portfolios .footer-section.footer-contact {
  margin-bottom: 0;
}

.page-template-page-portfolios .footer-section.footer-join {
  margin-bottom: 0;
}

.page-template-page-portfolios
  .footer-section.footer-contact
  .footer-section-title,
.page-template-page-portfolios
  .footer-section.footer-join
  .footer-section-title,
.page-template-page-portfolios .footer-section.footer-join .footer-join-text,
.page-template-page-portfolios
  .footer-section.footer-contact
  .footer-contact-locations
  p {
  color: #fcfcfd;
}

/* Services page */
.page-template-page-services {
  background: #ffffff;
  color: #0c111d;
}

.page-template-page-services .site-nav-list a {
  color: #0c111d;
}

.page-template-page-services .site-nav-list a:hover {
  color: #0c111d;
}

body.single-post {
  background: #ffffff;
  color: #0c111d;
}

body.single-post .site-nav-list a {
  color: #0c111d;
}

body.single-post .site-nav-list a:hover {
  color: #0c111d;
}

.services-hero {
  padding: 56px 2rem 24px;
}

.theme-type-scale .services-hero {
  padding-top: var(--t-pad-top);
  padding-inline: 2rem;
  padding-bottom: 24px;
}

.services-hero-copy {
  max-width: 50%;
  min-width: 0;
}

.services-hero-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1.05;
  color: #0c111d;
  margin-bottom: 24px;
}

.theme-type-scale .services-hero-title {
  font-size: var(--t-display);
}

.services-hero-subtitle {
  max-width: 100%;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #0c111d;
}

.theme-type-scale .services-hero-subtitle {
  font-size: var(--t-body);
}

.services-hero-body {
  max-width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #0c111d;
}

.theme-type-scale .services-hero-body {
  font-size: var(--t-body);
}

.services-hero-body p + p {
  margin-top: 1.25em;
}

.services-list {
  padding: 24px 2rem 56px;
}

.theme-type-scale .services-list {
  padding-bottom: var(--t-team-pad-bottom);
}

.service-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  padding: 56px 0;
}

.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 680px;
}

.service-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #0c111d;
  margin-bottom: 16px;
}

.service-text {
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
  margin-bottom: 32px;
}

.theme-type-scale .service-text {
  font-size: var(--t-body);
}

.service-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0c111d;
}

.theme-type-scale .service-items {
  font-size: var(--t-body);
}

.service-media {
  flex: 0 0 488px;
  width: 488px;
  min-width: 0;
  height: 600px;
  background: #d9d9d9;
  overflow: hidden;
}

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

.services-industries {
  padding: 24px 2rem 56px;
}

.theme-type-scale .services-industries {
  padding-bottom: var(--t-team-pad-bottom);
}

.industries-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 64px;
  font-weight: 500;
  color: #0c111d;
  margin-bottom: 16px;
}

.industries-subtitle {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.5;
  color: #0c111d;
  margin-bottom: 24px;
}

.industries-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 16px;
}

.industry-tag {
  color: #0c111d;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.theme-type-scale .industry-tag {
  font-size: var(--t-body);
}

.industry-tag:hover {
  text-decoration: none;
}

.page-template-page-services .footer-section.footer-contact,
.page-template-page-services .footer-section.footer-join {
  background: #000000;
  color: #fcfcfd;
}

.page-template-page-services .footer-section.footer-contact {
  margin-bottom: 0;
}

.page-template-page-services .footer-section.footer-join {
  margin-bottom: 0;
}

.page-template-page-services
  .footer-section.footer-contact
  .footer-section-title,
.page-template-page-services .footer-section.footer-join .footer-section-title,
.page-template-page-services .footer-section.footer-join .footer-join-text,
.page-template-page-services
  .footer-section.footer-contact
  .footer-contact-locations
  p {
  color: #fcfcfd;
}

body.single-post .footer-section.footer-contact,
body.single-post .footer-section.footer-join {
  background: #000000;
  color: #fcfcfd;
}

body.single-post .footer-section.footer-contact {
  margin-bottom: 0;
}

body.single-post .footer-section.footer-join {
  margin-bottom: 0;
}

body.single-post .footer-section.footer-contact .footer-section-title,
body.single-post .footer-section.footer-join .footer-section-title,
body.single-post .footer-section.footer-join .footer-join-text,
body.single-post .footer-section.footer-contact .footer-contact-locations p {
  color: #fcfcfd;
}

/* About page */
.page-template-page-about {
  background: #ffffff;
  color: #0c111d;
}

.page-template-page-about .site-nav-list a {
  color: #0c111d;
}

.page-template-page-about .site-nav-list a:hover {
  color: #0c111d;
}

.about-intro {
  padding: 56px 2rem 0;
}

.theme-type-scale .about-intro {
  padding-top: var(--t-pad-top);
  padding-inline: 2rem;
  padding-bottom: 0;
}

.about-intro-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.theme-type-scale .about-intro-inner {
  gap: var(--t-gap);
}

.about-intro-title {
  flex: 1 1 50%;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: #0c111d;
}

.theme-type-scale .about-intro-title {
  font-size: var(--t-display);
}

.about-intro-body {
  flex: 1 1 50%;
  min-width: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
}

.theme-type-scale .about-intro-body {
  font-size: var(--t-body);
}

.about-intro-body p + p {
  margin-top: 1.25em;
}

.about-team {
  margin-top: 96px;
  padding: 0 2rem 80px;
}

.theme-type-scale .about-team {
  margin-top: var(--t-team-margin);
  padding: 0 2rem var(--t-team-pad-bottom);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.theme-type-scale .about-team-grid {
  gap: var(--t-gap);
}

@media (max-width: 1024px) {
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.about-team-member {
  width: 100%;
  min-width: 0;
}

.about-team-photo {
  width: 100%;
  aspect-ratio: 280 / 350;
  height: auto;
  min-height: 200px;
  background: #d9d9d9;
  overflow: hidden;
}

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

.about-team-name {
  margin-top: 16px;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #0c111d;
}

.theme-type-scale .about-team-name {
  font-size: var(--t-subheading);
}

.page-template-page-about .footer-section.footer-contact,
.page-template-page-about .footer-section.footer-join {
  background: #000000;
  color: #fcfcfd;
}

.page-template-page-about .footer-section.footer-contact {
  margin-bottom: 0;
}

.page-template-page-about .footer-section.footer-join {
  margin-bottom: 0;
}

.page-template-page-about .footer-section.footer-contact .footer-section-title,
.page-template-page-about .footer-section.footer-join .footer-section-title,
.page-template-page-about .footer-section.footer-join .footer-join-text,
.page-template-page-about
  .footer-section.footer-contact
  .footer-contact-locations
  p {
  color: #fcfcfd;
}

/* Contact page */
.page-template-page-contact {
  background: #ffffff;
  color: #0c111d;
}

.page-template-page-contact .site-nav-list a {
  color: #0c111d;
}

.page-template-page-contact .site-nav-list a:hover {
  color: #0c111d;
}

.page-template-page-contact .footer-main .footer-contact,
.page-template-page-contact .footer-main .footer-join {
  display: none;
}

.contact-hero {
  padding: 56px 2rem 64px;
}

.theme-type-scale .contact-hero {
  padding-top: var(--t-pad-top);
  padding-inline: 2rem;
  padding-bottom: 64px;
}

@media (max-width: 600px) {
  .theme-type-scale .contact-hero {
    padding-bottom: 48px;
  }
}

.contact-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.contact-hero-content {
  flex: 1 1 50%;
  min-width: 0;
}

.contact-hero-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: #0c111d;
  margin-bottom: 24px;
}

.theme-type-scale .contact-hero-title {
  font-size: var(--t-display);
}

.contact-hero-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
  margin-bottom: 40px;
}

.theme-type-scale .contact-hero-intro {
  font-size: var(--t-body);
}

.contact-hero-body {
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
  margin-bottom: 40px;
}

.theme-type-scale .contact-hero-body {
  font-size: var(--t-body);
}

.contact-hero-body p + p {
  margin-top: 1.25em;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.contact-link-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-link-label {
  font-size: 18px;
  font-weight: 400;
  color: #0c111d;
}

.theme-type-scale .contact-link-label {
  font-size: var(--t-body);
}

.contact-link-email {
  font-size: 18px;
  color: #0c111d;
  text-decoration: underline;
}

.theme-type-scale .contact-link-email {
  font-size: var(--t-body);
}

.contact-link-email:hover {
  color: #0c111d;
}

.contact-hero-media {
  flex: 1 1 50%;
  min-width: 0;
}

.contact-hero-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 488 / 600;
  min-height: 200px;
  height: auto;
  background: #d9d9d9;
  overflow: hidden;
}

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

.contact-locations {
  padding: 0 2rem 80px;
}

.theme-type-scale .contact-locations {
  padding: 0 2rem var(--t-team-pad-bottom);
}

.contact-locations-header {
  margin-bottom: 48px;
  max-width: 720px;
}

.contact-locations-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 64px;
  font-weight: 500;
  color: #0c111d;
  margin-bottom: 24px;
}

.theme-type-scale .contact-locations-title {
  font-size: var(--t-display);
}

.contact-locations-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
}

.theme-type-scale .contact-locations-intro {
  font-size: var(--t-body);
}

.contact-locations-body {
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
}

.theme-type-scale .contact-locations-body {
  font-size: var(--t-body);
}

.contact-locations-body p + p {
  margin-top: 1.25em;
}

.contact-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 64px;
  column-gap: 32px;
  width: 100%;
}

.theme-type-scale .contact-locations-grid {
  row-gap: 64px;
  column-gap: var(--t-gap);
}

@media (max-width: 1024px) {
  .contact-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-location-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-location-icon {
  width: 100%;
  max-width: 96px;
  aspect-ratio: 1;
  min-height: 48px;
  height: auto;
  margin-bottom: 12px;
  overflow: hidden;
}

.contact-location-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-location-country {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  color: #0c111d;
  margin: 0;
}

.contact-location-city {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #0c111d;
  margin: 0 0 8px 0;
}

.contact-location-email {
  font-size: 16px;
  color: #0c111d;
  text-decoration: underline;
  margin: 0;
}

.contact-location-email:hover {
  color: #0c111d;
}

.contact-location-email--text {
  text-decoration: none;
}

.theme-type-scale .contact-location-country {
  font-size: max(12px, calc(var(--t-body) * 0.78));
}

.theme-type-scale .contact-location-city {
  font-size: var(--t-subheading);
}

.theme-type-scale .contact-location-email {
  font-size: var(--t-body);
}

/* Legal / content pages (Privacy, Cookies, Culture, Terms, DE&I, Modern Slavery, etc.) */
.page-template-page-legal {
  --Mean-Girl-pure: #f04170;
  --size-32: 32px;
  background: #ffffff;
  color: #0c111d;
}

.page-template-page-legal .site-header {
  background: #000000;
}

.page-template-page-legal .site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Logótipo em #FCFCFD (máscara sobre o SVG para cor exata) */
.page-template-page-legal .brand-link {
  position: relative;
}

.page-template-page-legal .brand-logo {
  opacity: 0;
}

.page-template-page-legal .brand-link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 142px;
  height: 32px;
  background-color: #fcfcfd;
  transition: background-color 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  -webkit-mask-image: url("assets/logo.svg");
  mask-image: url("assets/logo.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  pointer-events: none;
}

.page-template-page-legal .site-header.is-scrolled .brand-link::after {
  background-color: #0c111d;
}

.page-template-page-legal .site-nav-list a {
  color: #e5e7eb;
}

.page-template-page-legal .site-nav-list a:hover {
  color: #fcfcfd;
}

.page-template-page-legal .site-header.is-scrolled .site-nav-list a {
  color: #0c111d;
}

.page-template-page-legal .site-header.is-scrolled .site-nav-list a:hover {
  color: #0c111d;
  opacity: 0.72;
}

.page-template-page-legal
  .site-header.is-scrolled
  .site-nav-list
  li.current-menu-item
  > a,
.page-template-page-legal
  .site-header.is-scrolled
  .site-nav-list
  li.current_page_item
  > a {
  color: #0047bb;
  opacity: 1;
}

.page-template-page-legal .footer-main .footer-contact,
.page-template-page-legal .footer-main .footer-join,
.page-template-page-legal .site-footer .footer-newsletter {
  display: none;
}

.page-legal {
  padding: 56px 2rem 80px;
}

.page-legal-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.2;
  color: #0c111d;
  margin-bottom: 32px;
}

.page-legal-content {
  font-size: 18px;
  line-height: 1.6;
  color: #0c111d;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.page-legal-content p {
  margin: 0 0 1em 0;
}

.page-legal-content p + p {
  margin-top: 1.25em;
}

/* Clause: number (blue italic) + subtitle (black bold caps) */
.legal-clause,
.page-legal-content .wp-block-group.legal-clause {
  margin-top: 56px;
}

.legal-clause:first-of-type,
.page-legal-content > .legal-clause:first-child,
.page-legal-content .wp-block-group.legal-clause:first-child {
  margin-top: 0;
}

/* Espaço entre blocos Grupo (cláusulas) no editor */
.page-legal-content .wp-block-group + .wp-block-group {
  margin-top: 56px;
}

/* Vários h2 no mesmo nível (sem grupo): separar cláusulas */
.page-legal-content h2.wp-block-heading:not(:first-of-type),
.page-legal-content > h2:not(:first-of-type) {
  margin-top: 56px;
}

.legal-clause-num,
.page-legal-content h2.wp-block-heading,
.page-legal-content h2 {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: #2563eb;
  text-align: center;
  margin: 0 0 8px 0;
}

.legal-clause-subtitle,
.page-legal-content h3.wp-block-heading,
.page-legal-content h3 {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #0c111d;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px 0;
}

.legal-clause p {
  margin-bottom: 1em;
}

.legal-clause p:last-child {
  margin-bottom: 0;
}

/* Numbered list: blue numbers, hanging indent */
.page-legal-content .legal-list,
.page-legal-content ol.wp-block-list,
.page-legal-content ol {
  margin: 0.75em 0 1.25em 0;
  padding-left: 2em;
  list-style-type: decimal;
}

.page-legal-content .legal-list li,
.page-legal-content ol.wp-block-list li,
.page-legal-content ol li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.page-legal-content .legal-list li::marker,
.page-legal-content ol.wp-block-list li::marker,
.page-legal-content ol li::marker {
  color: #2563eb;
  font-size: 18px;
  font-weight: 400;
  font-family: "PP Eiko", "PP Object Sans", system-ui, sans-serif;
}

.page-legal-content ul {
  margin: 0.75em 0 1em 0;
  padding-left: 1.5em;
  list-style-type: disc;
}

.page-legal-content ul li {
  margin-bottom: 0.35em;
}

.page-legal-content ul li:last-child {
  margin-bottom: 0;
}

.page-legal-content a {
  color: #0c111d;
  text-decoration: underline;
}

.page-legal-content a:hover {
  color: #0c111d;
}

.page-legal-content strong {
  font-weight: 700;
}

/* Citação (bloco Quote do editor) — PP Eiko Medium Italic + rosa */
.page-legal-content .wp-block-quote {
  margin: 1.75em auto;
  padding: 0;
  border: none;
  color: var(--Mean-Girl-pure, #f04170);
  text-align: center;
  font-feature-settings: "salt" 1;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: var(--size-32, 32px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.page-legal-content .wp-block-quote p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.page-legal-content .wp-block-quote cite,
.page-legal-content .wp-block-quote .wp-block-quote__citation {
  display: block;
  margin-top: 1em;
  font: inherit;
  font-size: 0.85em;
  font-style: italic;
  color: inherit;
  opacity: 0.92;
}

/* Sub-section (e.g. "8.1. What are cookies?"): number blue, title black bold */
.legal-section-title {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0c111d;
  margin: 1.5em 0 0.35em 0;
}

.legal-section-title .legal-section-num {
  color: #2563eb;
  font-weight: 700;
}

.section-portfolios .portfolios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.section-portfolios .portfolio-card {
  flex: 0 0 calc((100% - 64px) / 3);
  max-width: calc((100% - 64px) / 3);
}

.section-portfolios .work-card-image {
  height: auto;
  min-height: 282px;
  aspect-ratio: 384 / 282;
}

@media (max-width: 900px) {
  .work-showcase-row--pair {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .work-showcase-card--pair-short {
    margin-top: 0;
  }

  .work-showcase-card--pair-tall .work-showcase-media,
  .work-showcase-card--pair-short .work-showcase-media {
    height: clamp(220px, 58vw, 520px);
  }

  .work-showcase-card--full .work-showcase-media {
    height: clamp(240px, 62vw, 560px);
  }

  .work-showcase-row--full .work-showcase-card--full {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .work-showcase-row--full.work-showcase-row--full-align-left,
  .work-showcase-row--full.work-showcase-row--full-align-center,
  .work-showcase-row--full.work-showcase-row--full-align-right {
    justify-content: center;
  }

  .hero-banner-title {
    font-size: 80px;
  }

  .section-sponsors-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .section-portfolios .portfolios-grid {
    flex-direction: column;
  }

  .section-portfolios .portfolio-card {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .services-hero-title {
    font-size: 52px;
  }

  .about-intro-inner {
    flex-direction: column;
    gap: var(--t-gap, 32px);
  }

  .about-intro-title {
    flex: none;
    max-width: 100%;
  }

  .about-intro-body {
    max-width: 100%;
  }

  .contact-hero-inner {
    flex-direction: column;
  }

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

/* Serviços: layout em 2 colunas no desktop; empilha só em telas estreitas */
@media (max-width: 768px) {
  .services-hero-copy {
    max-width: 100%;
  }

  /* Sempre: título/texto → imagem (evita duas fotos seguidas entre blocos) */
  .service-row,
  .service-row:nth-child(even) {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
  }

  .service-content {
    max-width: 100%;
  }

  .service-media {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 488 / 600;
  }
}

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

/* Section World (Zoetrope por toda parte) */
.section-world {
  padding: 32px 2rem 32px;
}

.section-world-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.section-world-content {
  flex: 0 0 50%;
  max-width: 50%;
}

.section-world-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #fcfcfd;
  margin-bottom: 64px;
  line-height: 1.2;
}

.section-world-text {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fcfcfd;
  line-height: 140%;
  margin-bottom: 24px;
}

.section-world-continents {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fcfcfd;
}

.section-world-continents span {
  transition: color 200ms ease;
}

.section-world-continents span:hover {
  color: #a0c010;
}

.section-world-continents span:focus-visible {
  color: #a0c010;
  outline: none;
}

.section-world-continents span.is-active {
  color: #a0c010;
}

.section-world-map {
  flex: 0 0 50%;
  max-width: 50%;
}

.section-world-map img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mapa em "lego" com continentes separados (home) */
.world-map-assembled {
  position: relative;
  width: 100%;
  max-width: 840px;
  aspect-ratio: 840 / 430;
  margin-left: auto;
}

.world-continent {
  position: absolute;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
  opacity: 0.48;
  transform: translateZ(0);
}

.world-continent img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 220ms ease;
}

.world-continent:hover,
.world-continent:focus-visible {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(80%) sepia(36%) saturate(1229%)
    hue-rotate(22deg) brightness(88%) contrast(93%)
    drop-shadow(0 0 14px rgba(160, 192, 16, 0.4));
  transform: translateY(-2px);
  outline: none;
}

.world-continent.is-active {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(80%) sepia(36%) saturate(1229%)
    hue-rotate(22deg) brightness(88%) contrast(93%)
    drop-shadow(0 0 14px rgba(160, 192, 16, 0.4));
  transform: translateY(-2px);
  outline: none;
}

/* Base de tamanho enviada pelo cliente (aprox em % sobre 840px):
 * Oceania 100.361x101.944 -> 11.95%
 * Ásia 248.586x193.764   -> 29.59%
 * Europa 93.931x94.243   -> 11.18%
 * África 144.742x162.552 -> 17.23%
 * América do Norte 248.747x157.812 -> 29.61%
 * Latam 98.482x153.754   -> 11.72%
 * Ajuste fino: altere top/left/width no inspetor conforme necessário.
 */
.world-continent--north-america {
  top: 9%;
  left: 17%;
  width: 29.61%;
}

.world-continent--latam {
  top: 44%;
  left: 28%;
  width: 11.72%;
}

.world-continent--europe {
  top: 10%;
  left: 47%;
  width: 11.18%;
}

.world-continent--africa {
  top: 31%;
  left: 45%;
  width: 17.23%;
}

.world-continent--asia {
  top: 10%;
  left: 56%;
  width: 29.59%;
}

.world-continent--oceania {
  top: 51%;
  left: 77%;
  width: 11.95%;
}

/* África sem efeito de hover, conforme solicitado */
.world-continent--africa {
  pointer-events: none;
}

@media (max-width: 900px) {
  .section-world-inner {
    flex-direction: column;
  }

  .section-world-content,
  .section-world-map {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .section-world-map {
    order: -1;
  }

  .world-map-assembled {
    margin-inline: auto;
    max-width: 720px;
  }

  .hero {
    padding-top: 3rem;
  }

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

  .hero-orbit {
    order: -1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header .site-nav {
    display: block;
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(100% + 8px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(12, 17, 29, 0.1);
    border-radius: 0;
    padding: 12px;
    box-shadow: 0 22px 48px rgba(12, 17, 29, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
    z-index: 35;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-header .site-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-header .site-nav-list li {
    width: 100%;
  }

  .site-header .site-nav-list a {
    color: #0c111d !important;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    transition:
      background-color 180ms ease,
      color 180ms ease;
  }

  .site-header .site-nav-list a:hover {
    background: rgba(12, 17, 29, 0.06);
    color: #0c111d !important;
  }

  .site-header .site-nav-list li.current-menu-item > a,
  .site-header .site-nav-list li.current_page_item > a {
    background: rgba(12, 17, 29, 0.1);
    color: #0c111d !important;
  }

  .site-header .site-nav-list .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-header .site-nav-list .pll-parent-menu-item:not(.pll-lang-open) > .sub-menu {
    display: none !important;
  }

  .site-header .site-nav-list .pll-parent-menu-item.pll-lang-open > .sub-menu {
    display: block !important;
  }

  .site-header .site-nav-list .sub-menu a {
    color: #0c111d !important;
    padding: 0 12px;
    min-height: 36px;
    font-size: 13px;
    opacity: 0.85;
  }

  .site-header .site-nav-list .sub-menu a:hover {
    background: rgba(12, 17, 29, 0.06);
    color: #0c111d !important;
    opacity: 1;
  }

  .site-header .site-nav-list .pll-parent-menu-item > a {
    font-weight: 400;
  }

  .site-header .site-nav-list .pll-parent-menu-item .sub-menu li.current-lang > a {
    background: rgba(0, 71, 187, 0.12);
    color: #0047bb !important;
    font-weight: 600;
    opacity: 1;
  }

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

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

  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* Footer layout */

.footer-main {
  background: #000000;
  padding: 3rem 2rem 32px;
}

.footer-section {
  padding-block: 1.75rem;
}

.footer-section.footer-contact {
  padding-block-start: 0;
}

.footer-section-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fcfcfd;
  margin-bottom: 1.25rem;
}

.footer-contact {
  margin-bottom: 32px;
}

.footer-contact .footer-section-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.footer-contact-locations p {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.footer-contact-emails a {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.footer-contact-inner {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.footer-contact-inner > .footer-section-title {
  flex: 0 0 50%;
  max-width: 50%;
}

.footer-contact-right {
  display: flex;
  flex: 0 0 50%;
  max-width: 50%;
  font-size: 0.9rem;
}

.footer-contact-list {
  width: 100%;
  display: grid;
  gap: 10px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  align-items: baseline;
  border-radius: 8px;
  padding: 2px 6px;
  margin-inline: -6px;
}

.footer-contact-location {
  margin: 0;
  color: #fcfcfd;
  font-weight: 400;
  transition: color 220ms ease;
}

.footer-contact-email {
  text-align: right;
}

.footer-contact-email a,
.footer-contact-email span {
  display: inline;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.footer-contact-email a {
  color: #e5e7eb;
  text-decoration: underline;
}

.footer-contact-email a:hover {
  color: #fcfcfd;
}

.footer-contact-row:hover .footer-contact-location,
.footer-contact-row.is-active .footer-contact-location {
  color: #a0c010;
}

.footer-join {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.footer-join::before,
.footer-join::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: #323232;
}

.footer-join::before {
  top: 0;
}

.footer-join::after {
  bottom: 0;
}

.footer-join .footer-section-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fcfcfd;
  margin-bottom: 0;
}

.footer-join-text {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  color: #fcfcfd;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.footer-join-text p {
  margin: 0;
}

.footer-join-text p + p {
  margin-top: 0.75em;
}

.footer-join-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-join-text a:hover {
  opacity: 0.85;
}

.footer-menu {
  display: flex;
  justify-content: flex-end;
  gap: 72px;
  margin-bottom: 64px;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.footer-menu-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

.page-template-page-contact .footer-menu-nav,
.page-template-page-legal .footer-menu-nav {
  margin-top: 0;
}

.footer-menu-list {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0 72px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu-list li {
  margin-bottom: 16px;
}

.footer-menu-list li:nth-child(3),
.footer-menu-list li:nth-child(6) {
  margin-bottom: 0;
}

.footer-menu-list a {
  color: #959595;
  text-decoration: none;
}

.footer-menu-list a:hover {
  color: #fcfcfd;
}

.footer-wordmark {
  padding: 0;
}

.footer-wordmark-text {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fcfcfd;
}

.footer-wordmark-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 12px;
  color: #e5e7eb;
  margin-top: 0;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom a {
  display: block;
  color: #959595;
  text-decoration: none;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.footer-bottom-newsletter-toggle {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: #959595;
  text-decoration: none;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: inherit;
}

.footer-bottom a + a {
  margin-top: 0;
}

.footer-bottom a:hover {
  color: #fcfcfd;
}

.footer-bottom-newsletter-toggle:hover {
  color: #fcfcfd;
}

.footer-meta {
  margin-top: 2rem;
}

.footer-meta-inline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: #959595;
  font-weight: 400;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.footer-meta-logo {
  display: inline-block;
  width: 53.25px;
  height: 12px;
  background: transparent;
}

.footer-newsletter {
  background: #a0c010;
  color: #0c111d;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition:
    max-height 720ms ease,
    opacity 520ms ease,
    padding-top 720ms ease,
    padding-bottom 720ms ease;
}

.footer-newsletter.is-open {
  max-height: 320px;
  opacity: 1;
  padding: 32px 2rem;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-newsletter-label {
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-newsletter-form {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  max-width: 100%;
}

.footer-newsletter-spinner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(12, 17, 29, 0.25);
  border-top-color: #0c111d;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.footer-newsletter-button.is-loading .footer-newsletter-button-label {
  opacity: 0;
}

.footer-newsletter-button.is-loading .footer-newsletter-spinner {
  opacity: 1;
  animation: zoetrope-newsletter-spin 0.7s linear infinite;
}

@keyframes zoetrope-newsletter-spin {
  to {
    transform: rotate(360deg);
  }
}

.zoetrope-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10060;
  max-width: min(90vw, 420px);
  padding: 14px 20px;
  border-radius: 2px;
  background: #191919;
  color: #fcfcfd;
  font-family: "PP Object Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.zoetrope-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.zoetrope-toast.is-success {
  background: #191919;
  color: #d7e3aa;
}

.zoetrope-toast.is-error {
  background: #191919;
  color: #ffb4b4;
}

html.has-cookie-drawer .zoetrope-toast {
  bottom: 160px;
}

.footer-newsletter-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid #000000;
  padding: 0.2px 0.9rem 0.2px 0;
  font-size: 16px;
  background: transparent;
  color: #0c111d;
}

.footer-newsletter-input::placeholder {
  color: #0c111d80;
}

.footer-newsletter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  border: none;
  padding: 0 1.4rem;
  font-size: 24px;
  font-weight: 700;
  background: transparent;
  color: #0c111d;
  white-space: nowrap;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.footer-newsletter-button:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.footer-newsletter-input:focus {
  outline: none;
}

.footer-newsletter-button:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .footer-main {
    padding: 2.5rem 1.5rem 28px;
  }

  .footer-contact-inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer-contact-inner > .footer-section-title {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-contact-right {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    flex-direction: column;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }

  .footer-contact-email {
    text-align: left;
  }

  .footer-join {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-menu {
    justify-content: flex-start;
    margin-bottom: 40px;
  }

  .footer-menu-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
  }

  .footer-menu-list li,
  .footer-menu-list li:nth-child(3),
  .footer-menu-list li:nth-child(6) {
    margin-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom-left {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .footer-meta-inline {
    flex-wrap: wrap;
  }

  .footer-newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-newsletter-form {
    gap: 28px;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-inline: 1.25rem;
  }

  .hero-banner-inner {
    padding: 72px 1.25rem 56px;
  }

  .hero-banner-title {
    font-size: 56px;
  }

  .hero-banner-text {
    font-size: 16px;
  }

  .section-sponsors-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .footer-main {
    padding: 2rem 1.25rem 24px;
  }

  .footer-contact .footer-section-title,
  .footer-join .footer-section-title {
    font-size: 22px;
  }

  .footer-menu {
    margin-bottom: 32px;
  }

  .footer-menu-list {
    gap: 10px 24px;
  }

  .footer-wordmark-logo {
    margin-bottom: 16px;
  }

  .footer-newsletter {
    padding: 0 1.25rem;
  }

  .footer-newsletter.is-open {
    padding: 24px 1.25rem;
  }

  .footer-newsletter-form {
    gap: 16px;
  }

  .footer-newsletter-button {
    padding: 0;
    font-size: 20px;
  }
}

/* Single post (single.php) — projeto com blocos, About e Next Project */
.page-single-post {
  background: #ffffff;
  color: #0c111d;
  padding-bottom: 0;
}

.single-post-article {
  margin: 0;
}

.single-post-hero {
  padding: 56px 2rem 32px;
}

.theme-type-scale .single-post-hero {
  padding-top: var(--t-pad-top);
}

.single-post-hero .container,
.single-post-layout-container {
  max-width: 1300px;
}

.single-post-hero-inner {
  display: block;
}

.single-post-hero-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
}

.single-post-hero-meta-body {
  flex: 1 1 auto;
  min-width: 0;
}

.single-post-hero-title {
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  color: #0c111d;
  margin: 0 0 32px;
}

.theme-type-scale .single-post-hero-title {
  font-size: var(--t-display);
}

.single-post-hero-description {
  max-width: 52rem;
  margin: 0 0 16px;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: #0c111d;
}

.single-post-hero-description p {
  margin: 0 0 0.65em;
}

.single-post-hero-description p:last-child {
  margin-bottom: 0;
}

.theme-type-scale .single-post-hero-description {
  font-size: var(--t-body);
}

.single-post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.single-post-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  background: #f5f5f5;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #191919;
}

.single-post-about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 16px 24px;
  border: none;
  border-radius: 4px;
  background: #f5f5f5;
  color: #191919;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.single-post-about-toggle:hover {
  background: #ebebeb;
}

.single-post-about-icon-close {
  display: none;
}

.single-post-article.is-about-open .single-post-about-icon-plus {
  display: none;
}

.single-post-article.is-about-open .single-post-about-icon-close {
  display: inline;
}

.single-post-layout {
  padding: 0 2rem 56px;
}

.single-post-layout-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
}

.single-post-main {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  transition:
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-post-layout.is-about-open .single-post-layout-container {
  gap: clamp(24px, 3vw, 48px);
}

.single-post-layout.is-about-open .single-post-main {
  flex: 1 1 calc(50% - clamp(12px, 1.5vw, 24px));
  max-width: calc(50% - clamp(12px, 1.5vw, 24px));
}

.single-post-blocks {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
}

.project-block--full {
  width: 100%;
}

.project-block--full .project-block-media {
  aspect-ratio: 1216 / 684;
  width: 100%;
  overflow: hidden;
}

.project-block--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.project-block--pair .project-block-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.project-block-item {
  margin: 0;
}

.project-block-media {
  display: block;
}

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

.project-block-caption {
  margin: 32px 0 0;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  color: #0c111d;
}

.single-post-about-panel {
  flex: 0 0 0;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.55s;
}

.single-post-layout.is-about-open .single-post-about-panel {
  flex: 1 1 calc(50% - clamp(12px, 1.5vw, 24px));
  max-width: calc(50% - clamp(12px, 1.5vw, 24px));
  opacity: 1;
  overflow: visible;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease 0.08s,
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.single-post-about-panel-inner {
  padding-top: 8px;
  max-width: none;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.single-post-about-plain-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-post-about-plain-item {
  padding: 0;
  background: none;
  border-radius: 0;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #0c111d;
}

.single-post-about-description {
  margin-bottom: 32px;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

.single-post-about-description p {
  margin: 0 0 1em;
}

.single-post-about-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.single-post-about-meta-label {
  margin: 0 0 8px;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #64748b;
}

.single-post-about-meta-value {
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #0c111d;
}

.single-post-about-meta-value p {
  margin: 0;
}

.single-post-about-person,
.single-post-about-team-member {
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-post-about-person-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.single-post-about-team-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.single-post-about-team-member .single-post-about-person-photo {
  width: 40px;
  height: 40px;
}

.single-post-about-sector-list {
  margin: 0;
}

.single-post-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2e8f0;
}

.single-post-next-project {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(32px, 5vw, 56px) 2rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.single-post-next-project:hover {
  background: #f5f5f5;
}

.single-post-next-project-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.single-post-next-project-label {
  margin: 0 0 12px;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #64748b;
}

.single-post-next-project-title {
  margin: 0 0 8px;
  font-family:
    "PP Eiko",
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  color: #0c111d;
}

.single-post-next-project-subtitle {
  margin: 0 0 16px;
  max-width: 40rem;
  font-family:
    "PP Object Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.5;
  color: #475569;
}

.single-post-next-project .single-post-tags-list {
  margin-top: 0;
}

.single-post-next-project-media {
  margin-top: clamp(24px, 4vw, 40px);
  max-height: 220px;
  overflow: hidden;
}

.single-post-next-project-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}

@media (prefers-reduced-motion: reduce) {
  .single-post-main,
  .single-post-about-panel {
    transition: none;
    transform: none;
  }
}

@media (max-width: 900px) {
  .single-post-hero-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .single-post-about-toggle {
    align-self: flex-start;
  }

  .single-post-layout-container {
    flex-direction: column;
    gap: 0;
  }

  .single-post-main,
  .single-post-layout.is-about-open .single-post-main,
  .single-post-about-panel,
  .single-post-layout.is-about-open .single-post-about-panel {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
    transform: none;
  }

  .single-post-layout.is-about-open .single-post-about-panel {
    order: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .project-block--pair {
    grid-template-columns: 1fr;
  }

  .single-post-about-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .single-post-hero,
  .single-post-layout {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .single-post-next-project {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Cookie consent drawer (Figma 56140-5368) */
.cookie-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: #d7e3aa;
  color: #191919;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cookie-drawer.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-drawer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  padding: 24px clamp(1.25rem, 6vw, 112px);
  max-width: 100%;
}

.cookie-drawer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cookie-drawer-heading {
  font-family: "PP Object Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  color: #191919;
}

.cookie-drawer-text {
  font-family: "PP Object Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  color: #191919;
  max-width: 280px;
  word-break: break-word;
}

.cookie-drawer-link {
  color: #0047bb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-drawer-link:hover {
  color: #003399;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #191919;
  font: inherit;
}

.cookie-toggle-track {
  position: relative;
  display: block;
  width: 24px;
  height: 15px;
  flex-shrink: 0;
}

.cookie-toggle-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #191919;
  transform: translateY(-50%);
}

.cookie-toggle-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #191919;
  transform: translate(0, -50%);
  transition: left 0.2s ease;
}

.cookie-toggle.is-on .cookie-toggle-knob {
  left: calc(100% - 8px);
}

.cookie-toggle-label {
  font-family: "PP Eiko", Georgia, serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}

.cookie-toggle-label--on {
  display: none;
}

.cookie-toggle-label--off {
  display: inline;
}

.cookie-toggle.is-on .cookie-toggle-label--on {
  display: inline;
}

.cookie-toggle.is-on .cookie-toggle-label--off {
  display: none;
}

.cookie-drawer-close {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #191919;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-drawer-close:hover {
  opacity: 0.65;
}

.cookie-drawer-close:focus-visible {
  outline: 2px solid #0047bb;
  outline-offset: 2px;
}

html.has-cookie-drawer {
  scroll-padding-bottom: 140px;
}

@media (max-width: 1100px) {
  .cookie-drawer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }

  .cookie-drawer-close {
    position: absolute;
    top: 24px;
    right: clamp(1.25rem, 6vw, 112px);
  }

  .cookie-drawer-inner {
    position: relative;
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .cookie-drawer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 44px;
  }

  .cookie-drawer-text {
    max-width: none;
  }
}
