/* ================================================================
   Sedmi odjel - AWS Premier Celebration
   Theme: sedmi-odjel.dev.evidente.hr
   ================================================================ */

:root {
  /* Palette - matches evidente.css tokens */
  --blue7o: #00AEEF;
  --blue7o-200: #008ABD;
  --blue7o-50: #D4F3FE;
  --blue600: #050D33;   /* dark navy - hero/header */
  --blue500: #2F3555;   /* body text */
  --blue400: #2D4C72;
  --blue300: #7C95B4;   /* muted text */
  --blue200: #9CBADE;
  --blue100: #CADCF1;
  --blue50:  #F1FBFF;   /* pale section bg */
  --white:   #FFFFFF;
  --green300:#11A851;
  --green200:#2DD676;
  --button-gradient: linear-gradient(98.33deg, #27B966 28%, #0990A9 100%);
  --button-hover: #2DD676;

  /* Semantic tokens (light default) */
  --bg: var(--white);
  --bg-alt: var(--blue50);
  --surface: var(--white);
  --text: var(--blue600);
  --text-body: var(--blue500);
  --text-dim: var(--blue300);
  --line: rgba(5, 13, 51, 0.08);
  --line-strong: rgba(5, 13, 51, 0.14);
  --accent: var(--blue7o);
  --radius: 4px;
  --radius-card: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1400px;
  --shadow-card: 0 2px 10px -2px rgba(5, 13, 51, 0.06), 0 1px 3px rgba(5, 13, 51, 0.04);
  --shadow-card-hover: 0 14px 34px -12px rgba(5, 13, 51, 0.18), 0 2px 6px rgba(5, 13, 51, 0.05);
  --shadow-modal: 0 40px 90px -20px rgba(5, 13, 51, 0.4);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --title-font: 'Space Grotesk', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
*::selection { background: rgba(0, 174, 239, 0.25); color: var(--blue600); }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (max-width: 700px) { html, body { font-size: 16px; } }

h1, h2, h3, h4 {
  font-family: var(--title-font);
  color: var(--blue600);
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-weight: 700;
}
.highlighted-blue { color: var(--blue7o); }
.highlighted-green { color: var(--green300); }

h1 { font-size: 100px; line-height: 1; color: var(--white); }
@media (max-width: 1100px) { h1 { font-size: 90px; } }
@media (max-width: 800px)  { h1 { font-size: 80px; } }
@media (max-width: 600px)  { h1 { font-size: 56px; } }

h2 { font-size: 48px; margin-bottom: 16px; }
h3 { font-size: 32px; margin-bottom: 8px; }
h4 { font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
@media (max-width: 700px) {
  h2 { font-size: 32px; }
  h3 { font-size: 28px; }
}

p { margin: 0; color: var(--text-body); }
a { color: var(--blue7o); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue7o-200); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
@media (max-width: 1100px) { .container { padding: 0 20px; } }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.3;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--button-gradient);
  color: var(--white);
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: var(--button-hover); color: var(--white); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 18px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--button-gradient); color: var(--white); }
.btn-primary:hover { background: var(--button-hover); }

.btn-ghost {
  background: transparent;
  color: var(--blue600);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--blue50); color: var(--blue600); border-color: var(--blue100); transform: translateY(-1px); }

/* Ghost on dark hero */
.hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: rgba(255, 255, 255, 0.5); }

/* ================= HEADER (evidente style) ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 490;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--blue600);
  opacity: var(--header-bg-opacity, 0);
  transition: opacity 0.2s ease;
  z-index: -1;
}
.header.scrolled { --header-bg-opacity: 1; border-bottom-color: rgba(255, 255, 255, 0.08); }
@media (max-width: 1100px) { .header { height: 60px; } }

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.header-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo img { height: 54px; width: auto; display: block; }
@media (max-width: 1100px) {
  .header-logo img { height: 36px; }
}

.main-menu { height: 100%; display: flex; align-items: center; margin: 0 auto; }
.main-menu-list {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.main-menu-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.main-menu-link:hover { color: var(--green200, #2DD676); }

.header-cta { flex-shrink: 0; }

@media (max-width: 1100px) {
  .main-menu { display: none; }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 80px;
  overflow: hidden;
  background-color: #050d36;
  color: var(--white);
  display: flex;
  align-items: center;
}
@media (max-width: 1100px) { .hero { min-height: auto; padding: 140px 0 80px; } }
@media (max-width: 700px)  { .hero { padding: 110px 0 70px; } }

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110.26deg, #050d36 55.58%, #04687f 95.29%);
  opacity: 0.9;
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.6; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: var(--blue7o); top: -140px; left: -140px; opacity: 0.28; }
.orb-2 { width: 440px; height: 440px; background: #04687f; bottom: -160px; right: -80px; animation-delay: -6s; opacity: 0.45; }
.orb-3 { width: 340px; height: 340px; background: #00d0ff; top: 40%; right: 18%; animation-delay: -12s; opacity: 0.18; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 30px) scale(1.05); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 20px; }
}
.hero-content { min-width: 0; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-badge-frame {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 10px;
  /* Pentagon clip matching the badge SVG shape (top-right + bottom-left cut corners) */
  clip-path: polygon(68% 0%, 0% 0%, 0% 68.33%, 31.67% 100%, 100% 100%, 100% 32%);
  -webkit-clip-path: polygon(68% 0%, 0% 0%, 0% 68.33%, 31.67% 100%, 100% 100%, 100% 32%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(190, 234, 251, 0.18) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  animation: gentleFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 174, 239, 0.3));
}
.hero-badge-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 46%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(0, 174, 239, 0.35) 52%,
    rgba(255, 255, 255, 0.08) 56%,
    transparent 65%
  );
  mix-blend-mode: screen;
  transform: translateX(-110%);
  animation: heroBadgeShine 7s cubic-bezier(0.4, 0.1, 0.2, 1) infinite;
  animation-delay: 2s;
}
@keyframes heroBadgeShine {
  0%   { transform: translateX(-110%); }
  22%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge-frame::after { animation: none; opacity: 0; }
}
.hero-badge {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}
.hero-badge-glow {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}
@media (max-width: 1100px) {
  .hero-visual { order: 0; }
  .hero-badge { max-width: 360px; }
}
@media (max-width: 700px) {
  .hero-badge { max-width: 280px; }
  .hero-badge-glow { inset: -30px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 174, 239, 0.12);
  border: 1px solid rgba(0, 174, 239, 0.35);
  color: var(--white);
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.pulse-dot { width: 8px; height: 8px; background: var(--blue7o); border-radius: 50%; position: relative; }
.pulse-dot::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--blue7o);
  opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title { color: var(--white); margin-bottom: 64px; font-size: 72px; }
.hero-title-second {
  display: block;
  margin-top: 14px;
}
@media (max-width: 700px) { .hero-title-second { margin-top: 18px; } }
@media (max-width: 1400px) { .hero-title { font-size: 64px; } }
@media (max-width: 1100px) { .hero-title { font-size: 60px; } }
@media (max-width: 800px)  { .hero-title { font-size: 48px; } }
@media (max-width: 600px)  { .hero-title { font-size: 40px; } }

.hero-details {
  margin: 0 0 44px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-detail-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 4px 0;
}
.hero-detail-icon {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.2) 0%, rgba(0, 174, 239, 0.08) 100%);
  border: 1px solid rgba(0, 174, 239, 0.35);
  color: var(--blue7o);
  box-shadow:
    0 10px 24px -10px rgba(0, 174, 239, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-detail-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.35) 0%, transparent 70%);
  opacity: 0.6;
  z-index: -1;
  filter: blur(12px);
}
.hero-detail-icon svg { width: 24px; height: 24px; }
.hero-detail-row:hover .hero-detail-icon {
  transform: translateY(-2px);
  box-shadow:
    0 16px 30px -10px rgba(0, 174, 239, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero-detail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero-details dt {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1;
}
.hero-details dd {
  margin: 0;
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}
@media (max-width: 700px) {
  .hero-details { gap: 14px; }
  .hero-details dd { font-size: 18px; }
  .hero-detail-icon { width: 48px; height: 48px; border-radius: 12px; }
  .hero-detail-icon svg { width: 22px; height: 22px; }
}
.gradient-text {
  background: linear-gradient(120deg, #00aeef 0%, #6edcff 50%, #00aeef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero-sub {
  font-size: 20px;
  max-width: 720px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 700px) { .hero-sub { font-size: 16px; } }

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

.hero-meta {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.meta-item { display: flex; flex-direction: column; }
.meta-item strong {
  font-family: var(--title-font);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.meta-item span {
  font-family: var(--title-font);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}
.meta-divider { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.2); }
@media (max-width: 520px) { .meta-divider { display: none; } }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
}
.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: var(--blue7o);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ================= SECTIONS ================= */
.section { padding: 120px 0; position: relative; }
@media (max-width: 1100px) { .section { padding: 80px 0; } }
@media (max-width: 700px) { .section { padding: 60px 0; } }

.section.about { background: var(--white); }
.section.timeline-section { background: var(--white); }
.section.event-section { background: var(--blue50); }
.section.program-section { background: var(--white); }

.section-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--blue7o);
  margin-bottom: 18px;
}
.section-title { margin-bottom: 18px; }
.section-lede { font-size: 18px; color: var(--blue500); }

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
.about-badge-wrap { position: relative; display: flex; justify-content: center; }
.about-badge {
  width: 100%;
  max-width: 360px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 174, 239, 0.25));
  animation: gentleFloat 6s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.25) 0%, transparent 65%);
  filter: blur(30px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

.about-copy p { margin: 18px 0 32px; font-size: 18px; color: var(--blue500); }

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stats li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-card);
}
.stats li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 239, 0.4);
  box-shadow: var(--shadow-card-hover);
}
.stat-num {
  font-family: var(--title-font);
  font-size: 44px;
  font-weight: 700;
  color: var(--blue7o);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-label { font-family: var(--title-font); color: var(--blue600); font-weight: 500; margin-bottom: 4px; font-size: 16px; }
.stat-sub { font-size: 14px; color: var(--blue300); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ================= TIMELINE ================= */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
  max-width: 920px;
}

/* Arrival card: the merged "you are here" payoff */
.journey-arrival {
  position: relative;
  margin: 60px 0 0;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 30px 50px -15px #cfecf8;
  overflow: hidden;
}
.journey-arrival::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(98.33deg, #27B966 28%, #0990A9 100%);
}
.journey-arrival::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -60px;
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, rgba(0, 174, 239, 0.45) 0%, rgba(0, 174, 239, 0) 100%);
  transform: translateX(-1px);
}
.journey-arrival-badge {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.journey-arrival-badge img {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter:
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 3px #ffffff)
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.18))
    drop-shadow(0 20px 40px rgba(0, 174, 239, 0.3));
  animation: gentleFloat 6s ease-in-out infinite;
}
.journey-arrival-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.journey-arrival-year {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue600);
  letter-spacing: -0.02em;
}
.journey-arrival-title {
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--blue600);
  margin: 0 0 14px;
}
.journey-arrival-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--blue500);
  margin: 0 0 28px;
}
.journey-arrival-stats {
  margin: 0;
}

@media (max-width: 860px) {
  .journey-arrival {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }
  .journey-arrival::after { display: none; }
  .journey-arrival-badge img { max-width: 220px; }
  .journey-arrival-title { font-size: 26px; }
}
.timeline::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 174, 239, 0.45) 8%, rgba(0, 174, 239, 0.45) 92%, transparent 100%);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 48px;
  align-items: start;
  margin-bottom: 20px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--bg, var(--white));
  border: 3px solid var(--blue7o);
  border-radius: 50%;
  z-index: 2;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.timeline-item:hover::before {
  transform: translateX(-50%) scale(1.25);
  box-shadow: 0 0 0 6px rgba(0, 174, 239, 0.18);
}
.timeline-year {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue600);
  letter-spacing: -0.02em;
  text-align: right;
  padding-top: 14px;
}
.timeline-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 28px 18px 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #27B966 0%, #0990A9 100%);
  transition: background 0.25s var(--ease);
}
.timeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 174, 239, 0.35);
  box-shadow: var(--shadow-card-hover);
}
.timeline-card:hover::before {
  background: linear-gradient(180deg, #0F759A 0%, #00AEEF 100%);
}
.timeline-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
  transition: color 0.25s var(--ease);
}
.timeline-card:hover h3 { color: var(--blue7o); }
.timeline-card p { font-size: 15px; color: var(--blue500); line-height: 1.5; }

.chip {
  display: inline-block;
  font-family: var(--title-font);
  background: rgba(0, 174, 239, 0.1);
  color: var(--blue7o);
  border: 1px solid rgba(0, 174, 239, 0.3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .timeline::before { left: 16px; }
  .timeline-item {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 44px;
    margin-bottom: 18px;
  }
  .timeline-item::before { left: 16px; top: 8px; }
  .timeline-year {
    text-align: left;
    font-size: 18px;
    padding-top: 0;
    margin-bottom: 4px;
  }
}

/* ================= EVENT (evidente services-card inspired) ================= */
.event-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 0;
}
.event-grid--primary {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 56px;
}
.event-grid--arriving {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .event-grid--arriving { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .event-grid--primary { grid-template-columns: 1fr; }
  .event-grid--arriving { grid-template-columns: 1fr; }
}

.event-arriving { margin-top: 24px; }
.event-arriving-title {
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--blue7o);
  margin: 0 0 20px;
}
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 36px 40px;
  background-color: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 30px 40px -10px #cfecf8;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s var(--ease);
}
.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(98.33deg, #27B966 28%, #0990A9 100%);
  transition: background 0.25s var(--ease);
}
.event-card:hover {
  box-shadow: 0 10px 20px -5px #cfecf8;
  color: inherit;
  text-decoration: none;
}
.event-card:hover::before {
  background: linear-gradient(90deg, #0F759A 0%, #00AEEF 100%);
}
.event-card--has-cta { padding-bottom: 110px; }
.event-card--has-cta:hover .event-title { color: var(--blue7o); }

/* Compact variant for the primary row - icon on the right, content on the left */
.event-card--compact.event-card--has-cta { padding-bottom: 40px; }
.event-card--compact .event-icon--plain {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue7o);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65) 0%, transparent 55%),
    linear-gradient(135deg, rgba(0, 174, 239, 0.18) 0%, rgba(0, 174, 239, 0.04) 100%);
  border: none;
  box-shadow:
    0 14px 30px -12px rgba(0, 174, 239, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  z-index: 1;
  margin: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.event-card--compact .event-icon--plain svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.event-card--compact:hover .event-icon--plain {
  transform: translateY(-50%) scale(1.05);
  box-shadow:
    0 18px 34px -12px rgba(0, 174, 239, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Keep content clear of the icon on smaller cards */
.event-card--compact .event-kicker,
.event-card--compact .event-title,
.event-card--compact .event-desc { padding-right: 96px; }

@media (max-width: 900px) {
  .event-card--compact .event-icon--plain {
    top: 28px;
    right: 28px;
    transform: none;
    width: 48px;
    height: 48px;
  }
  .event-card--compact .event-icon--plain svg {
    width: 22px;
    height: 22px;
  }
  .event-card--compact:hover .event-icon--plain {
    transform: scale(1.06);
  }
  .event-card--compact .event-kicker,
  .event-card--compact .event-title,
  .event-card--compact .event-desc { padding-right: 66px; }
}
@media (max-width: 500px) {
  .event-card--compact .event-icon--plain {
    width: 40px;
    height: 40px;
    top: 24px;
    right: 24px;
  }
  .event-card--compact .event-icon--plain svg {
    width: 18px;
    height: 18px;
  }
  .event-card--compact .event-kicker,
  .event-card--compact .event-title,
  .event-card--compact .event-desc { padding-right: 56px; }
}
.event-card--compact .event-kicker,
.event-card--compact .event-title,
.event-card--compact .event-desc { padding-right: 56px; }
.event-card--compact .event-card-action { padding-right: 16px; }

.event-card-action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: linear-gradient(98.33deg, #27B966 28%, #0990A9 100%);
  color: var(--white);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.event-card:hover .event-card-action {
  background: var(--button-hover);
}
.event-card-action svg { transition: transform 0.25s var(--ease); }
.event-card:hover .event-card-action svg { transform: translateX(2px); }

.event-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--blue7o);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.event-icon svg { width: 22px; height: 22px; }

.event-kicker {
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue7o);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.event-title {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--blue600);
  margin: 0 0 12px;
  transition: color 0.25s var(--ease);
  position: relative;
  z-index: 1;
}
.event-desc {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--blue400);
  margin: 0;
  position: relative;
  z-index: 1;
}
.event-desc strong { color: var(--blue600); font-weight: 700; }

.event-card-cta {
  position: absolute;
  left: 32px;
  bottom: 32px;
  width: 50px;
  height: 50px;
  border: 5px solid #E1FFEE;
  border-radius: 50%;
  background: linear-gradient(98.33deg, #27B966 28%, #0990A9 100%);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.event-card-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.event-card:hover .event-card-cta {
  background: var(--blue7o);
  border-color: #E2F7FF;
}

.tram-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tram-lines--grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-start;
}
.tram-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.45) 0%, transparent 55%),
    linear-gradient(135deg, #00AEEF 0%, #0077B6 100%);
  color: var(--white);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow:
    0 8px 16px -4px rgba(0, 119, 182, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 87, 133, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tram-line:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 20px -4px rgba(0, 119, 182, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 87, 133, 0.3);
}

.parking-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.parking-list li {
  padding: 8px 12px;
  background: var(--blue50);
  border-radius: 6px;
  font-size: 13px;
  color: var(--blue500);
  line-height: 1.35;
}
.parking-list strong {
  color: var(--blue600);
  font-size: 14px;
  font-family: var(--title-font);
  font-weight: 700;
  margin-right: 4px;
}

/* Arriving cards: align the badge icon with the card's header block
   (kicker + title). Sits in the right margin of the header row, so it
   never overlaps list content below. */
.event-grid--arriving .event-card--compact .event-icon--plain {
  top: 44px;
  right: 28px;
  transform: none;
  width: 48px;
  height: 48px;
}
.event-grid--arriving .event-card--compact .event-icon--plain svg {
  width: 22px;
  height: 22px;
}
.event-grid--arriving .event-card--compact:hover .event-icon--plain {
  transform: scale(1.06);
}
/* Only the header row reserves space for the icon; list rows span full width */
.event-grid--arriving .event-card--compact .event-kicker,
.event-grid--arriving .event-card--compact .event-title {
  padding-right: 70px;
}
.event-grid--arriving .event-card--compact .event-desc { padding-right: 0; }

/* Parking card: short chip links to Google Maps */
.parking-chips {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.parking-chips li { margin: 0; padding: 0; background: none; }
.parking-chips a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px 7px 12px;
  background: var(--blue50);
  color: var(--blue600);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0, 174, 239, 0.22);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.parking-chips a::after {
  content: "";
  width: 10px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M8 7h9v9'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M8 7h9v9'/></svg>") center/contain no-repeat;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.parking-chips a:hover {
  background: var(--blue7o);
  color: var(--white);
  border-color: var(--blue7o);
  transform: translateY(-1px);
}
.parking-chips a:hover::after { opacity: 1; transform: translate(1px, -1px); }

/* Bike card: row of station-number pills */
.bike-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bike-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  background: linear-gradient(135deg, #00AEEF 0%, #0077B6 100%);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow:
    0 4px 10px -2px rgba(0, 119, 182, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.bike-list li:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 14px -2px rgba(0, 119, 182, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.event-map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 40px -10px #cfecf8;
}
.event-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ================= VENUE GALLERY ================= */
.venue-gallery { margin-top: 72px; }
@media (max-width: 1100px) { .venue-gallery { margin-top: 56px; } }
@media (max-width: 700px)  { .venue-gallery { margin-top: 40px; } }

.venue-gallery-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}
.venue-gallery-eyebrow {
  display: inline-block;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue7o);
  margin-bottom: 10px;
}
.venue-gallery-title {
  font-size: 28px;
  color: var(--blue600);
  margin: 0;
  line-height: 1.15;
}
@media (max-width: 700px) { .venue-gallery-title { font-size: 24px; } }

.venue-gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 14px;
  border-radius: var(--radius-card);
}
@media (max-width: 1100px) {
  .venue-gallery-grid { grid-template-rows: 220px 220px; }
}
@media (max-width: 780px) {
  .venue-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .venue-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }
}

.venue-tile {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: var(--blue600);
  box-shadow: 0 20px 36px -16px rgba(5, 13, 51, 0.35), 0 2px 6px rgba(5, 13, 51, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  isolation: isolate;
  font: inherit;
  color: var(--white);
  text-align: left;
}
.venue-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.35s var(--ease);
  filter: saturate(1.05) brightness(0.95);
}
.venue-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 51, 0) 45%, rgba(5, 13, 51, 0.55) 100%);
  opacity: 0.7;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.venue-tile:hover,
.venue-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -18px rgba(5, 13, 51, 0.55), 0 4px 10px rgba(5, 13, 51, 0.1);
  outline: none;
}
.venue-tile:hover img,
.venue-tile:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.02);
}
.venue-tile:hover::after,
.venue-tile:focus-visible::after { opacity: 0.45; }
.venue-tile:focus-visible {
  box-shadow:
    0 0 0 3px rgba(0, 174, 239, 0.5),
    0 30px 50px -18px rgba(5, 13, 51, 0.55);
}

/* Grid positions */
.venue-tile--hero { grid-column: 1; grid-row: 1 / span 2; }
.venue-tile--wide { grid-column: 2 / span 2; grid-row: 2; }
@media (max-width: 780px) {
  .venue-tile--hero { grid-column: 1 / span 2; grid-row: 1; }
  .venue-tile--wide { grid-column: 1 / span 2; grid-row: 3; }
}
@media (max-width: 480px) {
  .venue-tile--hero,
  .venue-tile--wide { grid-column: 1; grid-row: auto; }
}

.venue-tile-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(5, 13, 51, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
}
.venue-tile-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px) scale(0.92);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.venue-tile:hover .venue-tile-zoom,
.venue-tile:focus-visible .venue-tile-zoom {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: rgba(0, 174, 239, 0.55);
}

/* ================= VENUE LIGHTBOX ================= */
.venue-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.venue-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.venue-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 51, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.venue-lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 160px), 1400px);
  max-height: calc(100vh - 120px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.venue-lightbox.open .venue-lightbox-stage { transform: scale(1); }
.venue-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.venue-lightbox.changing .venue-lightbox-img {
  opacity: 0;
  transform: scale(0.98);
}

.venue-lightbox-close,
.venue-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.venue-lightbox-close:hover,
.venue-lightbox-nav:hover {
  background: rgba(0, 174, 239, 0.45);
  border-color: rgba(255, 255, 255, 0.45);
}
.venue-lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.venue-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.venue-lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.venue-lightbox-nav:active { transform: translateY(-50%) scale(0.96); }
.venue-lightbox-prev { left: 28px; }
.venue-lightbox-next { right: 28px; }

.venue-lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(5, 13, 51, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  .venue-lightbox-stage { width: calc(100vw - 24px); max-height: calc(100vh - 140px); }
  .venue-lightbox-img { max-height: calc(100vh - 140px); }
  .venue-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .venue-lightbox-nav { width: 44px; height: 44px; }
  .venue-lightbox-prev { left: 10px; }
  .venue-lightbox-next { right: 10px; }
}

body.venue-lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .venue-tile,
  .venue-tile img,
  .venue-tile::after,
  .venue-tile-zoom,
  .venue-lightbox,
  .venue-lightbox-stage,
  .venue-lightbox-img,
  .venue-lightbox-nav,
  .venue-lightbox-close { transition: none; }
}

/* ================= PROGRAM (half-half, evidente "How We Work" style) ================= */
.half-half-block-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.half-half-block-wrapper .half-half-image-half {
  width: 100%;
  height: 525px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.half-half-block-wrapper .half-half-image-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  transition: transform 0.6s var(--ease);
}
.program-block:hover .half-half-image-half img { transform: scale(1.04); }
.half-half-block-wrapper .half-half-content-half {
  display: flex;
  justify-content: center;
}
.half-half-block-wrapper .half-half-content-inner {
  display: flow-root;
  width: 100%;
  max-width: 100%;
}
.half-half-block-wrapper .half-half-eyebrow {
  margin-bottom: 10px;
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue7o);
}
.half-half-block-wrapper .half-half-title {
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: var(--title-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--blue600);
}
.half-half-block-wrapper .half-half-body {
  margin-top: 20px;
  margin-bottom: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--blue500);
}
.half-half-block-wrapper .half-half-body p { margin: 0; }
.half-half-block-wrapper .half-half-cta { margin-top: 40px; }

.program-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--blue600);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.program-link:hover {
  background: var(--blue50);
  border-color: rgba(0, 174, 239, 0.35);
  color: var(--blue7o);
  transform: translateY(-1px);
  text-decoration: none;
}
.program-link svg { flex-shrink: 0; }

.half-half-block-wrapper.half-half-image-right .half-half-image-half  { order: 2; }
.half-half-block-wrapper.half-half-image-right .half-half-content-half { order: 1; }

.program-block + .program-block { margin-top: 80px; }
@media (max-width: 1100px) { .program-block + .program-block { margin-top: 60px; } }

/* ================= PROGRAM TEASER ("more info soon") ================= */
.program-teaser {
  position: relative;
  margin: 0 auto;
  max-width: 820px;
  padding: 80px 56px 72px;
  text-align: center;
  background: linear-gradient(135deg, #050D33 0%, #0a1845 60%, #04687f 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 40px 60px -24px rgba(5, 13, 51, 0.45),
    0 4px 12px rgba(5, 13, 51, 0.15);
}
@media (max-width: 800px) { .program-teaser { padding: 64px 28px 56px; } }
@media (max-width: 500px) { .program-teaser { padding: 52px 22px 48px; } }

.program-teaser-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 30% at 25% 20%, rgba(0, 174, 239, 0.45), transparent 70%),
    radial-gradient(40% 30% at 80% 90%, rgba(45, 214, 118, 0.35), transparent 70%);
  filter: blur(40px);
  opacity: 0.85;
  z-index: -1;
  animation: programTeaserDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes programTeaserDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3%, 4%) scale(1.06); }
}

/* Equalizer bars */
.program-teaser-eq {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 56px;
  margin-bottom: 28px;
}
.program-teaser-eq span {
  display: block;
  width: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #2DD676 0%, #00AEEF 100%);
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.55);
  transform-origin: bottom;
  animation: programTeaserEq 1.1s ease-in-out infinite;
}
.program-teaser-eq span:nth-child(1) { height: 38%; animation-delay: -0.10s; }
.program-teaser-eq span:nth-child(2) { height: 72%; animation-delay: -0.45s; }
.program-teaser-eq span:nth-child(3) { height: 50%; animation-delay: -0.85s; }
.program-teaser-eq span:nth-child(4) { height: 90%; animation-delay: -0.25s; }
.program-teaser-eq span:nth-child(5) { height: 60%; animation-delay: -0.65s; }
@keyframes programTeaserEq {
  0%, 100% { transform: scaleY(0.35); }
  50%      { transform: scaleY(1); }
}

.program-teaser-eyebrow {
  display: inline-block;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue7o);
  margin-bottom: 14px;
}

.program-teaser-title {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 18px;
}
@media (max-width: 800px) { .program-teaser-title { font-size: 34px; } }
@media (max-width: 500px) { .program-teaser-title { font-size: 28px; } }

.program-teaser-shimmer {
  background: linear-gradient(
    90deg,
    #2DD676 0%,
    #00AEEF 30%,
    #FFFFFF 50%,
    #00AEEF 70%,
    #2DD676 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: programTeaserShimmer 4s linear infinite;
}
@keyframes programTeaserShimmer {
  from { background-position: 220% 0; }
  to   { background-position: -20% 0; }
}

.program-teaser-body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(202, 220, 241, 0.92);
  margin: 0 auto 32px;
  max-width: 540px;
}

.program-teaser-actions {
  display: flex;
  justify-content: center;
}
.program-teaser-actions .btn { box-shadow: 0 16px 28px -12px rgba(0, 174, 239, 0.55); }

@media (prefers-reduced-motion: reduce) {
  .program-teaser-glow,
  .program-teaser-eq span,
  .program-teaser-shimmer {
    animation: none;
  }
  .program-teaser-shimmer {
    background: var(--blue7o);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@media (max-width: 800px) {
  .half-half-block-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .half-half-block-wrapper .half-half-image-half {
    height: auto;
    aspect-ratio: 3/2;
  }
  .half-half-block-wrapper.half-half-image-right .half-half-image-half { order: 1; }
  .half-half-block-wrapper.half-half-image-right .half-half-content-half { order: 2; }
}
@media (max-width: 500px) {
  .half-half-block-wrapper .half-half-eyebrow { margin-bottom: 5px; font-size: 16px; }
  .half-half-block-wrapper .half-half-title { font-size: 32px; margin-top: 5px; margin-bottom: 10px; }
  .half-half-block-wrapper .half-half-body { font-size: 16px; margin-top: 10px; }
  .half-half-block-wrapper .half-half-cta { margin-top: 20px; }
}

/* button-medium-chevron (evidente) */
.button-medium,
button.button-medium { font-size: 16px; padding: 10px 15px; }
.button-medium-chevron,
button.button-medium-chevron {
  position: relative;
  font-size: 16px;
  padding: 10px 39px 10px 15px;
}
.button-medium-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  height: 24px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>");
}

/* ================= CTA BLOCK (evidente-style) ================= */
.cta-section { padding: 80px 0 100px; background: var(--blue50); }
@media (max-width: 1100px) { .cta-section { padding: 60px 0 80px; } }
@media (max-width: 700px)  { .cta-section { padding: 40px 0 60px; } }

.cta-block-inner-wrapper-outside {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px;
}
.cta-block-inner-wrapper-outside.background-green {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(98.33deg, #27B966 28%, #0990A9 100%) border-box;
}
.cta-block-inner-wrapper {
  position: relative;
  overflow: hidden;
  padding: 30px 250px 30px 30px;
  border-radius: 2px;
}
.cta-block-inner-wrapper.background-green { background-color: #E8FFF2; }

.cta-block-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cta-block-title {
  margin: 0;
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--blue600);
}
.cta-block-title .highlighted-green { color: var(--green300); }
.cta-block-title .highlighted-blue  { color: var(--blue7o); }
.cta-block-text {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--blue600);
}
.cta-block-text p { margin: 0; }
.cta-block-inner-wrapper .cta-block-button {
  position: absolute;
  top: 50%;
  right: 30px;
  z-index: 2;
  transform: translateY(-50%);
}

@media (max-width: 700px) {
  .cta-block-inner-wrapper { padding: 24px; }
  .cta-block-title { font-size: 28px; }
  .cta-block-text { font-size: 16px; }
  .cta-block-inner-wrapper .cta-block-button {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 14px 20px;
  }
  .cta-block-inner-wrapper .cta-block-button::after {
    position: static;
    transform: none;
  }
}

/* ================= BUTTON (evidente-style) ================= */
.button,
button.button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--white);
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.2s var(--ease);
}
.button:hover,
button.button:hover { background: var(--button-hover); color: var(--white); text-decoration: none; }

.button-large,
.button-large-chevron {
  position: relative;
  font-size: 18px;
  padding: 18px 59px 18px 35px;
}
.button-large::after,
.button-large-chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  height: 24px;
  width: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>");
}
@media (max-width: 700px) {
  .button-large, .button-large-chevron { padding: 14px 44px 14px 20px; }
  .button-large::after, .button-large-chevron::after { right: 15px; }
}

/* ================= FOOTER (evidente-style) ================= */
.footer {
  background: var(--blue600);
  padding: 80px 0 40px;
  color: var(--white);
}
@media (max-width: 700px) { .footer { padding: 40px 0; } }

.footer-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  list-style: none;
  padding: 0 0 40px;
  border-bottom: 1px solid var(--blue500);
  margin: 0;
}
@media (max-width: 1400px) { .footer-menu { gap: 48px; } }
@media (max-width: 1200px) { .footer-menu { gap: 36px; } }
@media (max-width: 1000px) { .footer-menu { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 700px)  { .footer-menu { grid-template-columns: 1fr; padding-bottom: 30px; gap: 24px; } }

.footer-menu-title,
.footer-menu-item a.footer-menu-title,
.footer-menu-item span.footer-menu-title {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--green200);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}
.footer-menu-item span.footer-menu-title { cursor: default; }
.footer-menu-submenu { list-style: none; padding: 0; margin: 0; }
.footer-menu-link {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: var(--blue200);
  text-decoration: none;
  padding: 5px 0;
  display: block;
  cursor: pointer;
  background: none;
  border: none;
}
.footer-menu-link:hover { color: var(--white); text-decoration: none; }

.footer-contact-box {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-contact-box-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 auto;
}
.footer-contact-box-item:first-child {
  flex: 0 0 auto;
  margin-right: 20px;
  display: flex;
  align-items: flex-start;
}
.footer-contact-box-item:first-child img {
  width: 140px;
  height: auto;
  display: block;
}
.footer-contact-box-item:not(:first-child):not(:last-child) {
  padding-left: 28px;
  border-left: 1px solid var(--blue500);
}
.footer-contact-box-item:nth-child(2) {
  padding-left: 0;
  border-left: 0;
}
.footer-contact-box-item:last-child {
  padding: 15px 20px;
  background: var(--blue500);
  border-radius: 4px;
  margin-left: auto;
  margin-top: -15px;
  align-self: flex-start;
}
.footer-contact-box-item h6 {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--blue7o);
  margin: 0;
  padding: 0;
}
.footer-contact-box-item p {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
  padding: 0;
}
.footer-contact-box-item p a {
  color: var(--white);
  text-decoration: none;
}
.footer-contact-box-item p a:hover { text-decoration: underline; color: var(--white); }

/* Social/profile link icons */
.footer-contact-box-item a.aws-profile-link,
.footer-contact-box-item a.linkedin-link,
.footer-contact-box-item a.clutch-link {
  position: relative;
  display: inline-block;
  padding-left: 26px;
}
.footer-contact-box-item a.aws-profile-link::before,
.footer-contact-box-item a.linkedin-link::before,
.footer-contact-box-item a.clutch-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.footer-contact-box-item a.linkedin-link::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14zM8.34 18.34v-7.16H5.96v7.16h2.38zM7.15 10.2a1.38 1.38 0 1 0 0-2.76 1.38 1.38 0 0 0 0 2.76zm11.19 8.14v-3.92c0-2.07-.45-3.65-2.86-3.65-1.15 0-1.93.63-2.25 1.24h-.03v-1.05h-2.28v7.38h2.38v-3.65c0-.97.18-1.9 1.38-1.9 1.17 0 1.19 1.1 1.19 1.96v3.59h2.47z'/></svg>");
}
.footer-contact-box-item a.aws-profile-link::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16' fill='white'><path d='M6.76 7.96c0 .22.02.4.07.53.05.13.11.27.2.43.03.05.04.1.04.14 0 .06-.04.12-.11.18l-.38.25c-.05.04-.11.05-.16.05-.06 0-.12-.03-.18-.09-.09-.09-.16-.19-.22-.29l-.19-.38c-.42.5-.94.75-1.58.75-.45 0-.81-.13-1.07-.39-.26-.26-.39-.6-.39-1.03 0-.45.16-.82.48-1.09.32-.28.75-.42 1.29-.42.18 0 .37.02.56.05.2.03.4.07.62.13V6.3c0-.42-.09-.71-.25-.87-.17-.16-.47-.24-.9-.24-.2 0-.4.02-.61.07-.21.05-.41.11-.61.19-.09.04-.15.06-.19.07-.04.01-.07.02-.09.02-.08 0-.12-.06-.12-.18V5.1c0-.1.01-.17.04-.21.03-.04.09-.08.18-.12.2-.1.44-.19.72-.26.28-.07.58-.1.89-.1.68 0 1.19.15 1.51.46.32.31.48.78.48 1.42v1.67zm-2.19.82c.19 0 .39-.03.6-.1.21-.07.39-.2.55-.38.09-.11.16-.23.19-.37.03-.14.05-.31.05-.51v-.25c-.16-.04-.33-.07-.51-.1-.18-.02-.36-.04-.54-.04-.39 0-.67.08-.86.23-.19.15-.28.37-.28.65 0 .27.07.47.22.61.14.15.35.23.58.23zm4.34.58c-.11 0-.19-.02-.24-.06-.05-.04-.1-.13-.14-.25L7.27 4.62c-.04-.13-.06-.22-.06-.27 0-.11.06-.17.17-.17h.59c.12 0 .2.02.25.06.05.04.1.13.14.25l.88 3.47.82-3.47c.03-.13.08-.21.13-.25.05-.04.14-.06.26-.06h.48c.12 0 .21.02.26.06.05.04.1.13.13.25l.83 3.51.91-3.51c.04-.13.09-.21.14-.25.05-.04.13-.06.25-.06h.56c.11 0 .17.06.17.17 0 .03-.01.07-.02.11-.01.04-.03.09-.06.16l-1.27 4.43c-.04.13-.09.21-.14.25-.05.04-.13.06-.24.06h-.52c-.12 0-.21-.02-.26-.06-.05-.04-.1-.13-.13-.25l-.81-3.37-.8 3.37c-.03.13-.08.21-.13.25-.05.04-.14.06-.26.06h-.5zm6.93.15c-.3 0-.6-.04-.89-.11-.29-.07-.51-.15-.66-.23-.1-.05-.16-.11-.18-.16-.02-.05-.04-.11-.04-.17v-.37c0-.15.06-.22.17-.22.04 0 .09.01.13.02.05.02.11.04.19.07.26.12.55.21.85.27.31.06.62.09.94.09.5 0 .88-.09 1.15-.26.27-.17.41-.42.41-.74 0-.22-.07-.4-.21-.55-.14-.15-.41-.28-.79-.4l-1.14-.36c-.57-.18-.99-.45-1.25-.8-.26-.34-.39-.73-.39-1.14 0-.33.07-.62.21-.87.14-.25.33-.47.56-.64.23-.17.51-.31.82-.4.31-.1.64-.14.98-.14.16 0 .33.01.49.03.17.03.32.06.47.1.14.04.28.08.41.13.13.05.23.1.3.15.1.06.17.12.21.18.04.06.06.14.06.24v.34c0 .15-.06.23-.17.23-.06 0-.16-.03-.29-.09-.44-.2-.93-.3-1.48-.3-.45 0-.8.07-1.05.22-.25.15-.37.38-.37.7 0 .22.08.41.23.56.15.15.44.3.85.43l1.12.36c.56.18.97.43 1.21.75.24.32.36.7.36 1.12 0 .34-.07.65-.21.92-.14.27-.33.51-.58.7-.25.2-.55.35-.89.45-.36.11-.73.16-1.14.16z'/><path d='M20.5 13.5c-2.45 1.8-6 2.76-9.06 2.76-4.29 0-8.15-1.58-11.07-4.22-.23-.21-.03-.49.25-.33 3.16 1.83 7.06 2.94 11.1 2.94 2.71 0 5.7-.56 8.45-1.73.41-.17.76.27.33.58z'/><path d='M21.72 12.13c-.31-.4-2.06-.19-2.85-.1-.24.03-.27-.18-.06-.33 1.39-.98 3.67-.7 3.93-.37.27.34-.07 2.61-1.37 3.7-.2.17-.39.08-.31-.14.29-.73.93-2.37.66-2.76z'/></svg>");
}
.footer-contact-box-item a.clutch-link::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'><path d='M17 7.5a6 6 0 1 0 0 9'/><circle cx='14.5' cy='12' r='1.3' fill='white' stroke='none'/></svg>");
}

.footer-legal-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--blue500);
}
@media (max-width: 700px) {
  .footer-legal-info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
  }
}
.footer-legal-copyright {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: #4d5476;
  margin-left: auto;
  text-align: right;
}

.footer-legal-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-legal-menu li { margin: 0; padding: 0; }
.footer-legal-menu a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: var(--blue200);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-legal-menu a:hover { color: var(--white); }
@media (max-width: 700px) {
  .footer-legal-copyright { margin-left: 0; text-align: center; }
  .footer-legal-menu ul { justify-content: center; gap: 20px; }
}

@media (max-width: 1240px) {
  .footer-contact-box { gap: 20px; }
  .footer-contact-box-item:first-child { margin-right: 10px; }
  .footer-contact-box-item:not(:first-child):not(:last-child) { padding-left: 20px; }
}
@media (max-width: 940px) {
  .footer-contact-box { flex-direction: column; gap: 20px; }
  .footer-contact-box-item,
  .footer-contact-box-item:not(:first-child):not(:last-child) {
    padding: 0;
    border-left: 0;
    width: 100%;
  }
  .footer-contact-box-item:last-child {
    margin-left: 0;
    width: 100%;
    padding: 15px 20px;
  }
}

/* ================= COOKIE CONSENT ================= */
.cookie-bar-wrapper {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 40px, 800px);
  z-index: 99998;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0 2px 10px, rgba(0, 0, 0, 0.15) 0 2px 20px;
}
.cookie-bar-inside-wrapper {
  padding: 32px 40px;
  background-color: var(--white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-bar-left {
  color: var(--blue500);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
.cookie-bar-left .show-settings {
  color: var(--blue7o-200);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-bar-left .show-settings:hover { text-decoration: none; }
.cookie-bar-right {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cookie-bar-right button {
  outline: none;
  border: none;
  background-color: transparent;
  font-size: 15px;
  line-height: 1.2;
  color: var(--blue500);
  font-weight: 400;
  font-family: var(--title-font);
  cursor: pointer;
  padding: 10px 8px;
}
.cookie-bar-right .accept-necessary-cookies-button:hover { color: var(--blue600); }
.cookie-bar-right .accept-all-cookies-button {
  padding: 14px 22px;
  display: inline-block;
  background: var(--button-gradient);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  z-index: 2;
  transition: background 0.25s var(--ease);
}
.cookie-bar-right .accept-all-cookies-button:hover {
  background: var(--button-hover);
  color: var(--white);
}
@media (max-width: 600px) {
  .cookie-bar-wrapper { bottom: 16px; }
  .cookie-bar-inside-wrapper { padding: 20px; gap: 14px; }
  .cookie-bar-right { gap: 14px; }
}

#evidente-cookie-popup-container {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: block;
  position: fixed;
  inset: 0;
  background-color: rgba(5, 13, 51, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
#evidente-cookie-popup-container.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.cookie-popup-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100% - 40px, 600px);
  border-radius: 20px;
  background-color: var(--white);
  box-shadow: var(--shadow-modal);
}
.cookie-popup-inside-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 40px 32px;
  overflow: auto;
  max-height: 90svh;
}
.cookie-popup-header h4 {
  color: var(--blue600);
  font-family: var(--title-font);
  font-size: 20px;
  margin: 0;
}
.cookie-popup-header .close-cookie-popup-button {
  outline: none;
  border: none;
  background-color: transparent;
  position: absolute;
  top: 16px;
  right: 16px;
  height: 24px;
  width: 24px;
  cursor: pointer;
}
.cookie-popup-header .close-cookie-popup-button::before,
.cookie-popup-header .close-cookie-popup-button::after {
  content: "";
  position: absolute;
  height: 22px;
  width: 2.5px;
  border-radius: 4px;
  background-color: var(--blue500);
  top: 0;
  left: 10px;
  transform-origin: center;
}
.cookie-popup-header .close-cookie-popup-button::before { transform: rotate(45deg); }
.cookie-popup-header .close-cookie-popup-button::after  { transform: rotate(-45deg); }

.cookie-popup-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-popup-main-part {
  position: relative;
  color: var(--blue500);
  padding-right: 36px;
}
.cookie-popup-main-part h6 {
  padding-bottom: 6px;
  margin: 0;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue600);
}
.cookie-popup-main-part p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  font-family: var(--font);
  color: var(--text-body);
}
.cookie-popup-main-part input[type=checkbox] {
  position: absolute;
  top: 2px;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--blue200);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
  background-color: var(--white);
}
.cookie-popup-main-part input[type=checkbox]:focus-visible,
.cookie-popup-main-part input[type=checkbox]:focus,
.cookie-popup-main-part input[type=checkbox]:hover {
  border-color: var(--blue7o);
}
.cookie-popup-main-part input[type=checkbox]::before {
  position: absolute;
  content: "";
  display: block;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border-style: solid;
  border-color: var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.cookie-popup-main-part input[type=checkbox]:checked {
  border-color: var(--green300);
  background: var(--green300);
}
.cookie-popup-main-part input[type=checkbox]:checked::before { opacity: 1; }
.cookie-popup-main-part input[type=checkbox]:disabled:checked {
  background: rgba(120, 120, 120, 0.5);
  border-color: transparent;
  cursor: not-allowed;
}

.cookie-popup-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-popup-footer a,
.cookie-popup-footer button {
  outline: none;
  border: none;
  background-color: transparent;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  color: var(--blue7o-200);
  font-weight: 400;
  font-family: var(--title-font);
  cursor: pointer;
}
.cookie-popup-footer a:hover { text-decoration: underline; }
.cookie-popup-footer .cookie-popup-save-button {
  padding: 14px 22px;
  display: inline-block;
  background: var(--button-gradient);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 700;
  transition: background 0.25s var(--ease);
}
.cookie-popup-footer .cookie-popup-save-button:hover {
  background: var(--button-hover);
  color: var(--white);
}

/* ================= LEGAL PAGE (privacy / cookie) ================= */
.legal-body .header { background-color: var(--blue600); }
.legal-body .header::before { opacity: 1; }
.header--solid { background-color: var(--blue600) !important; }
.header--solid::before { opacity: 1 !important; }

.legal-page { padding-top: 120px; background: var(--white); }
@media (max-width: 1100px) { .legal-page { padding-top: 60px; } }

.legal-hero {
  background: linear-gradient(110.26deg, #050d36 55.58%, #04687f 95.29%);
  color: var(--white);
  padding: 80px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 700px) { .legal-hero { padding: 56px 0 40px; } }

.legal-hero-eyebrow {
  display: inline-block;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue7o);
  margin-bottom: 14px;
}
.legal-hero-title {
  font-size: 72px;
  line-height: 1.05;
  color: var(--white);
  margin: 0;
}
@media (max-width: 900px) { .legal-hero-title { font-size: 56px; } }
@media (max-width: 600px) { .legal-hero-title { font-size: 40px; } }

.legal-body-section { padding: 72px 0 96px; }
@media (max-width: 700px) { .legal-body-section { padding: 48px 0 64px; } }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-body);
}
.legal-content p {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 18px;
}
.legal-content h3 {
  font-family: var(--title-font);
  font-size: 26px;
  line-height: 1.25;
  color: var(--blue600);
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.legal-content ul li {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 10px;
}
.legal-content a { color: var(--blue7o); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--blue7o-200); }

.legal-table-wrap {
  margin: 16px 0 26px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-body);
  line-height: 1.5;
}
.legal-table th {
  background: var(--blue50);
  font-family: var(--title-font);
  font-weight: 700;
  color: var(--blue600);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td[colspan] {
  background: rgba(0, 174, 239, 0.06);
  color: var(--blue600);
  font-size: 12px;
  letter-spacing: 0.12em;
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 51, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  transform: scale(0.96);
  width: min(1000px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  background: transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.modal.open .modal-panel { transform: scale(1); opacity: 1; }
/* Single-column layout: the whole panel becomes ONE seamless scroll area and
   the form drops its own nested scroll, so there are no longer two independent
   scroll steps (aside, then form). This must match the single-column breakpoint. */
@media (max-width: 820px) {
  .modal-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
  /* Higher specificity than the base `.modal-main` rule (which sits later in the
     file) so the nested form scroll is actually removed in single-column mode. */
  .modal-panel .modal-main {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .modal { padding: 8px; }
  .modal-panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(5, 13, 51, 0.15);
  color: var(--blue600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(5, 13, 51, 0.25);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.3s var(--ease), box-shadow 0.2s var(--ease);
}
.modal-close svg { width: 20px; height: 20px; stroke-width: 2.5; }
.modal-close:hover {
  background: var(--blue600);
  color: #FFFFFF;
  border-color: var(--blue600);
  transform: rotate(90deg);
  box-shadow: 0 6px 18px rgba(5, 13, 51, 0.4);
}
@media (max-width: 720px) {
  .modal-close { width: 44px; height: 44px; top: 12px; right: 12px; }
  .modal-close svg { width: 22px; height: 22px; }
}

.modal-aside {
  position: relative;
  background: linear-gradient(160deg, #050d36 0%, #04687f 100%);
  padding: 40px 34px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modal-aside-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.4) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  filter: blur(30px);
}
.modal-mark { width: 56px; height: auto; position: relative; z-index: 1; }
.modal-aside-content { position: relative; z-index: 1; }
.modal-aside-content .eyebrow {
  display: inline-block;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue7o);
  margin-bottom: 14px;
}
.modal-aside-content h3 {
  font-family: var(--title-font);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 26px;
}
.modal-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.modal-facts li {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.modal-facts span {
  font-family: var(--title-font);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.modal-facts strong { font-size: 14px; font-weight: 500; }

.modal-main {
  padding: 48px 44px;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
  position: relative;
  background: var(--white);
}
@media (max-width: 560px) { .modal-main { padding: 32px 24px; } }
.modal-main h2 {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--blue600);
}
.modal-lede { color: var(--blue500); margin-bottom: 28px; font-size: 16px; }

.modal-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue600);
}
.field em { font-style: normal; color: var(--blue300); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--blue600);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}
.field input::placeholder { color: var(--blue300); }
.field input:focus, .field select:focus {
  border-color: var(--blue7o);
  background: #fafdff;
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.15);
}
.field input:invalid:not(:placeholder-shown) { border-color: rgba(255, 91, 107, 0.5); }

/* intl-tel-input phone widget: fill the field column; keep the input's look. */
.field .iti { display: block; width: 100%; }
.field .iti__tel-input { width: 100%; }
/* Match the dial-code prefix to the input text size/weight (it renders larger). */
.field .iti__selected-dial-code,
.field .iti__selected-country { font-size: 15px; font-weight: 400; }
/* The dial code's line-box sits ~1px above the input glyph baseline - nudge it. */
.field .iti__selected-dial-code { position: relative; top: 1px; }
.iti__dropdown-content { font-family: var(--font); font-size: 15px; }
.iti--inline-dropdown .iti__dropdown-content { z-index: 5; }

.field-group { border: none; padding: 0; margin: 4px 0; }
.field-group legend {
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue600);
  margin-bottom: 10px;
  padding: 0;
}
.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { cursor: pointer; display: block; position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card-body {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--white);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.radio-card-body strong {
  display: block;
  color: var(--blue600);
  font-size: 14px;
  margin-bottom: 2px;
  font-weight: 500;
  font-family: var(--title-font);
}
.radio-card-body em { font-style: normal; font-size: 12px; color: var(--blue300); }
.radio-card input:checked + .radio-card-body {
  border-color: var(--blue7o);
  background: rgba(0, 174, 239, 0.06);
  box-shadow: 0 0 0 1px var(--blue7o) inset;
}
.radio-card:hover .radio-card-body { border-color: var(--blue100); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--blue500);
  cursor: pointer;
  margin-top: 4px;
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--blue7o); margin-top: 1px; flex-shrink: 0; }

.form-error {
  background: rgba(255, 91, 107, 0.08);
  border: 1px solid rgba(255, 91, 107, 0.35);
  color: #c63345;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-top: 4px;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.btn.loading .btn-label { opacity: 0.6; }
.btn.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}
.modal-main.success .modal-form,
.modal-main.success > h2,
.modal-main.success > .modal-lede { display: none; }
.modal-main.success .modal-success { display: flex; }
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(17, 168, 81, 0.12);
  color: var(--green300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: popIn 0.4s var(--ease);
}
@keyframes popIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-success h3 { font-size: 28px; margin-bottom: 10px; color: var(--blue600); }
.modal-success p { margin-bottom: 24px; max-width: 360px; color: var(--blue500); }
.success-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) { .success-actions { flex-direction: column; width: 100%; } }

/* "Already registered" state - same shape as success, cyan accent so the user
   can tell at a glance that something different happened (we recognised them
   rather than re-registering). */
.modal-already {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}
.modal-main.already .modal-form,
.modal-main.already > h2,
.modal-main.already > .modal-lede { display: none; }
.modal-main.already .modal-already { display: flex; }
.modal-already h3 { font-size: 28px; margin-bottom: 10px; color: var(--blue600); }
.modal-already p { margin-bottom: 24px; max-width: 380px; color: var(--blue500); }
.already-icon {
  background: rgba(0, 174, 239, 0.12);
  color: var(--blue7o);
}
/* If the JS didn't have a name to inject, hide the comma so we don't render
   "You're already on the list, !" — :has() lets us check the empty span
   to the right of the comma (Safari 15.4+, Chrome 105+, Firefox 121+). */
.modal-already h3:has([data-already-name]:empty) .modal-already-comma { display: none; }

/* ---------- LinkedIn follow CTA (shown on the post-submit confirmation) ---------- */
.modal-follow {
  width: 100%;
  max-width: 340px;
  margin: 4px auto 18px;
  padding-top: 18px;
  border-top: 1px solid var(--blue100, rgba(5, 13, 51, 0.08));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.modal-follow-hint { margin: 0; font-size: 13px; color: var(--blue300); max-width: 320px; }
.btn-linkedin { background: #0A66C2; color: #FFFFFF; gap: 9px; }
.btn-linkedin:hover { background: #004182; color: #FFFFFF; }
.btn-linkedin svg { display: block; }

body.modal-open { overflow: hidden; }

/* ================= REVEAL ANIMATIONS ================= */
.reveal {
  --reveal-stagger: 80ms;
  --reveal-duration: 800ms;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(0);
  transition:
    opacity var(--reveal-duration) var(--ease),
    transform var(--reveal-duration) var(--ease),
    filter var(--reveal-duration) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--reveal-stagger));
  will-change: transform, opacity, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

.reveal-slide-left  { transform: translate3d(-40px, 12px, 0); }
.reveal-slide-right { transform: translate3d(40px, 12px, 0); }
.reveal-scale       { transform: scale(0.94) translateY(12px); filter: blur(6px); }
.reveal-blur        { transform: translateY(24px); filter: blur(10px); }
.reveal-pop         { transform: scale(0.88); filter: blur(4px); }

/* Card tilt - scoped to elements with .tilt.  Runs on top of reveal. */
.tilt {
  --tilt-mx: 0;
  --tilt-my: 0;
  --tilt-strength: 1;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.3s var(--ease);
}
.tilt.tilt-active {
  transform:
    perspective(900px)
    rotateX(calc(var(--tilt-my) * -4deg * var(--tilt-strength)))
    rotateY(calc(var(--tilt-mx) *  4deg * var(--tilt-strength)))
    translateZ(0);
}
.reveal.visible.tilt.tilt-active { transform:
    perspective(900px)
    rotateX(calc(var(--tilt-my) * -4deg * var(--tilt-strength)))
    rotateY(calc(var(--tilt-mx) *  4deg * var(--tilt-strength))); }

/* Timeline line - progressive draw */
.timeline { --timeline-progress: 0; }
.timeline::before {
  background:
    linear-gradient(180deg, rgba(0, 174, 239, 0.12) 0%, rgba(0, 174, 239, 0.12) 100%);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 110px;
  top: 10px;
  width: 2px;
  height: calc((100% - 20px) * var(--timeline-progress));
  background: linear-gradient(180deg, transparent 0%, rgba(0, 174, 239, 0.9) 14%, var(--blue7o) 80%, rgba(0, 174, 239, 0.2) 100%);
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.45);
  pointer-events: none;
  transition: height 0.12s linear;
}
@media (max-width: 700px) {
  .timeline::after { left: 16px; }
}

/* Timeline dot - fills in as progress passes its row (JS sets --filled) */
.timeline-item::before {
  background: var(--timeline-dot-bg, var(--white));
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.timeline-item.passed::before {
  --timeline-dot-bg: var(--blue7o);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-scale,
  .reveal-blur,
  .reveal-pop { opacity: 1; transform: none; filter: none; transition: none; }
  .tilt.tilt-active { transform: none !important; }
  .timeline::after { transition: none; }
}

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

/* ================= REGISTRATIONS CLOSED ================= */
/* Visual + interaction state when `body.registrations-closed` is set.
   Every register CTA is rewritten by script.js to:
     <svg class="closed-icon">…</svg><span class="closed-label">Registrations closed</span>
   These rules then style that as an intentional "closed" badge — muted slate
   gradient, lock icon, no hover lift. A polished white popover appears on
   hover/focus with the longer "get in touch with your contact…" message. */

body.registrations-closed [data-open-modal] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  background: linear-gradient(135deg, #1A2347 0%, #050D33 100%) !important;
  color: #CADCF1 !important;
  border: 1px solid rgba(0, 174, 239, 0.22) !important;
  box-shadow:
    0 4px 12px -4px rgba(5, 13, 51, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  cursor: not-allowed !important;
  filter: none !important;
  opacity: 1 !important;
  position: relative;
  transition: border-color 0.25s var(--ease) !important;
}
body.registrations-closed [data-open-modal]:hover,
body.registrations-closed [data-open-modal]:focus-visible {
  transform: none !important;
  border-color: rgba(0, 174, 239, 0.45) !important;
  background: linear-gradient(135deg, #1A2347 0%, #050D33 100%) !important;
  color: #CADCF1 !important;
  outline: none !important;
}
body.registrations-closed [data-open-modal] .closed-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--blue7o);
  opacity: 0.9;
}
body.registrations-closed [data-open-modal] .closed-label {
  font-family: var(--title-font);
  font-weight: 700;
  letter-spacing: 0.01em;
}
/* Neutralise any chevron pseudo on .button-large-chevron / .cta-block-button
   so we can put the tooltip arrow on ::after instead. */
body.registrations-closed [data-open-modal].button-large-chevron::after,
body.registrations-closed [data-open-modal].cta-block-button::after {
  background: none !important;
  width: auto;
  height: auto;
  right: auto;
}

/* CTA block: button is removed when registrations are closed (see script.js),
   so reclaim the wide right padding that used to make room for it and centre
   the copy. */
body.registrations-closed .cta-block-inner-wrapper {
  padding: 36px 32px !important;
}
@media (max-width: 700px) {
  body.registrations-closed .cta-block-inner-wrapper { padding: 24px !important; }
}
body.registrations-closed .cta-block-content--closed {
  text-align: center;
  align-items: center;
  gap: 12px;
}
body.registrations-closed .cta-block-content--closed .cta-block-text {
  max-width: 560px;
  margin: 0 auto;
}

/* Footer link variant: text-only treatment, no button background */
body.registrations-closed .footer-menu-link[data-open-modal] {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 5px 0 !important;
  color: var(--blue300) !important;
  gap: 6px !important;
}
body.registrations-closed .footer-menu-link[data-open-modal]:hover,
body.registrations-closed .footer-menu-link[data-open-modal]:focus-visible {
  background: none !important;
  border: none !important;
  color: var(--white) !important;
}
body.registrations-closed .footer-menu-link[data-open-modal] .closed-icon {
  width: 12px;
  height: 12px;
  opacity: 0.75;
}
body.registrations-closed .footer-menu-link[data-open-modal] .closed-label {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
}

/* Tooltip — white popover with drop shadow */
body.registrations-closed [data-open-modal][data-closed-tooltip]::before {
  content: attr(data-closed-tooltip);
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #FFFFFF;
  color: #050D33;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  padding: 14px 18px;
  border-radius: 10px;
  width: 300px;
  white-space: normal;
  box-shadow:
    0 24px 48px -16px rgba(5, 13, 51, 0.4),
    0 4px 12px rgba(5, 13, 51, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 1001;
}
body.registrations-closed [data-open-modal][data-closed-tooltip]::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: #FFFFFF;
  background: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 1001;
  right: auto;
}
body.registrations-closed [data-open-modal][data-closed-tooltip]:hover::before,
body.registrations-closed [data-open-modal][data-closed-tooltip]:focus-visible::before,
body.registrations-closed [data-open-modal][data-closed-tooltip]:hover::after,
body.registrations-closed [data-open-modal][data-closed-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Header CTA is at the top of the page — tooltip above would be clipped.
   Flip it to appear below the button. */
body.registrations-closed .header-cta[data-open-modal][data-closed-tooltip]::before {
  bottom: auto;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-6px);
}
body.registrations-closed .header-cta[data-open-modal][data-closed-tooltip]::after {
  bottom: auto;
  top: calc(100% + 8px);
  border-top-color: transparent;
  border-bottom-color: #FFFFFF;
  transform: translateX(-50%) translateY(-6px);
}
body.registrations-closed .header-cta[data-open-modal][data-closed-tooltip]:hover::before,
body.registrations-closed .header-cta[data-open-modal][data-closed-tooltip]:focus-visible::before,
body.registrations-closed .header-cta[data-open-modal][data-closed-tooltip]:hover::after,
body.registrations-closed .header-cta[data-open-modal][data-closed-tooltip]:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

/* ================================================================
   LEGO GIVEAWAY PAGE
   "Win a LEGO set each day" - prizes, how-it-works, hero prize.
   Reuses the base tokens, buttons, header, hero shell, modal and
   footer; everything below is specific to this campaign.
   ================================================================ */

/* ---- Hero title with inline LEGO mark ---- */
.lego-title {
  text-transform: uppercase;
  line-height: 1.08;
}
.lego-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d01012;
  border-radius: 0.2em;
  padding: 0.1em 0.22em;
  margin: 0 0.06em;
  vertical-align: -0.16em;
  box-shadow:
    inset 0 0.05em 0 rgba(255, 255, 255, 0.4),
    inset 0 -0.07em 0.09em rgba(0, 0, 0, 0.32),
    0 0.14em 0.4em -0.06em rgba(208, 16, 18, 0.7);
}
.lego-mark img {
  height: 0.78em;
  width: auto;
  display: block;
}

/* ---- Hero prize visual (Eiffel Tower) ---- */
.hero-prize {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
}
.hero-prize-media {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  animation: gentleFloat 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-prize-media { animation: none; } }
.hero-prize-glow {
  position: absolute;
  inset: -4% -8% 6%;
  background: radial-gradient(ellipse at center, rgba(0, 174, 239, 0.45) 0%, transparent 65%);
  filter: blur(46px);
  z-index: 0;
}
.hero-prize-img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  max-height: 48.6vh;
  object-fit: contain;
  filter: drop-shadow(0 40px 55px rgba(0, 0, 0, 0.55));
}

/* Combined headliner card (badge + title + pieces + date) */
.hero-prize-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  margin-top: 14px;
  padding: 18px 22px 20px;
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(245, 197, 24, 0.12) 0%, rgba(5, 13, 51, 0) 42%),
    linear-gradient(160deg, rgba(18, 28, 66, 0.92), rgba(6, 14, 40, 0.95));
  border: 1px solid rgba(245, 197, 24, 0.4);
  box-shadow:
    0 28px 60px -22px rgba(0, 0, 0, 0.75),
    0 0 50px -16px rgba(245, 197, 24, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: cardGlowPulse 4s ease-in-out infinite;
}
/* Sweeping light shine across the card (same effect as the Premier badge). */
.hero-prize-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 46%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(245, 197, 24, 0.4) 52%,
    rgba(255, 255, 255, 0.06) 56%,
    transparent 65%
  );
  mix-blend-mode: screen;
  transform: translateX(-110%);
  animation: heroBadgeShine 7s cubic-bezier(0.4, 0.1, 0.2, 1) infinite;
  animation-delay: 2s;
}
/* Breathing gold glow around the card. */
@keyframes cardGlowPulse {
  0%, 100% {
    box-shadow:
      0 28px 60px -22px rgba(0, 0, 0, 0.75),
      0 0 40px -16px rgba(245, 197, 24, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  50% {
    box-shadow:
      0 28px 60px -22px rgba(0, 0, 0, 0.75),
      0 0 74px -10px rgba(245, 197, 24, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-prize-card { animation: none; }
  .hero-prize-card::after { animation: none; opacity: 0; }
}
.hero-prize-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(98deg, #f5c518, #ff9d2e);
  color: #3a2a00;
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(245, 197, 24, 0.7);
}
.hero-prize-badge svg { width: 13px; height: 13px; }
.hero-prize-name {
  display: block;
  margin-top: 14px;
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
}
.hero-prize-theme {
  display: block;
  margin-top: 4px;
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.5);
}
.hero-prize-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-prize-stat { display: inline-flex; align-items: baseline; gap: 7px; }
.hero-prize-stat-num {
  font-family: var(--title-font);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(98deg, #f5c518 0%, #ffd75e 50%, #ff9d2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(245, 197, 24, 0.4));
}
.hero-prize-stat-label {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-prize-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffd75e;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.4);
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.hero-prize-date svg { width: 13px; height: 13px; }
@media (max-width: 1100px) {
  .hero-prize { max-width: 360px; }
  .hero-prize-img { max-height: 37.8vh; }
}
@media (max-width: 700px) {
  .hero-prize { max-width: 300px; }
  .hero-prize-img { max-height: 30.6vh; }
  .hero-prize-name { font-size: 22px; }
  .hero-prize-stat-num { font-size: 32px; }
}
/* Desktop: tower aligned right, headliner card floating top-left over the
   empty side of the image so it never covers the tower itself. */
@media (min-width: 1101px) {
  .hero-prize { display: block; max-width: 560px; }
  .hero-prize-media { justify-content: flex-end; }
  .hero-prize-card {
    position: absolute;
    top: 8%;
    left: 0;
    z-index: 3;
    width: 300px;
    max-width: 58%;
    margin: 0;
  }
}

/* ---- Prizes section ---- */
.section.prize-section { background: var(--white); }

.prize-layout {
  display: flex;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) { .prize-layout { flex-direction: column; } }

/* Single-prize variant: one centred, width-capped feature card. */
.prize-layout--single { justify-content: center; }
.prize-layout--single .prize-feature { flex: 0 1 620px; max-width: 620px; }

/* Featured prize (Eiffel Tower) */
.prize-feature {
  position: relative;
  flex: 1 1 44%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fffdf3 0%, var(--white) 26%);
  border: 1.5px solid rgba(245, 197, 24, 0.55);
  border-radius: var(--radius-card);
  box-shadow: 0 0 54px -22px rgba(245, 197, 24, 0.45), var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prize-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 64px -22px rgba(245, 197, 24, 0.55), var(--shadow-card-hover);
}
.prize-feature-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(98deg, #f5c518, #ff9d2e);
  color: #3a2a00;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(245, 197, 24, 0.85);
}
.prize-feature-media {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 8px;
  min-height: 280px;
}
.prize-feature-media img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(5, 13, 51, 0.18));
}
.prize-feature-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 30px 30px;
}
.prize-feature-note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--blue500);
  line-height: 1.5;
}

/* Stack of the three remaining days */
.prize-stack {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.prize-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prize-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 174, 239, 0.4);
  box-shadow: var(--shadow-card-hover);
}
.prize-card-media {
  flex: 0 0 140px;
  align-self: stretch;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--blue50), #fff);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.prize-card-media img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}
.prize-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
@media (max-width: 480px) {
  .prize-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .prize-card-media { flex-basis: auto; min-height: 150px; }
}

/* Shared prize text bits */
.prize-day {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue7o);
}
.prize-name {
  font-size: 22px;
  margin: 3px 0 0;
  letter-spacing: -0.03em;
}
.prize-feature .prize-name { font-size: 30px; }
.prize-theme {
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--blue300);
  margin-top: 3px;
}
.prize-pieces {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
}
.prize-pieces-num {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue600);
}
.prize-feature .prize-pieces-num { font-size: 42px; color: var(--blue7o); }
.prize-pieces-label {
  font-family: var(--title-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue300);
}

/* Totals strip */
.prize-stats {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prize-stats li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prize-stats li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 239, 0.4);
  box-shadow: var(--shadow-card-hover);
}
@media (max-width: 560px) { .prize-stats { grid-template-columns: 1fr; } }

/* ---- How it works ---- */
.section.how-section { background: var(--blue50); }
.how-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
.how-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 239, 0.4);
  box-shadow: var(--shadow-card-hover);
}
.how-num {
  position: absolute;
  top: 18px;
  right: 26px;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0, 174, 239, 0.13);
}
.how-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.18), rgba(0, 174, 239, 0.06));
  border: 1px solid rgba(0, 174, 239, 0.3);
  color: var(--blue7o);
  margin-bottom: 22px;
}
.how-icon svg { width: 26px; height: 26px; }
.how-title { font-size: 22px; margin-bottom: 8px; }
.how-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(98deg, #f5c518, #ff9d2e);
  color: #3a2a00;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 7px 15px;
  border-radius: 999px;
  margin: 22px 0 0;
  box-shadow: 0 10px 22px -10px rgba(245, 197, 24, 0.8);
}
.how-time svg { width: 14px; height: 14px; }
.how-text { font-size: 16px; color: var(--blue500); line-height: 1.55; }

/* ---- Country dropdown (registration form) ---- */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C95B4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
/* The base :focus rule sets `background` shorthand, which would wipe the
   chevron - re-apply it here (this rule comes later in the cascade). */
.field select:focus {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C95B4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
/* Muted look while the placeholder option is still selected. */
.field select:required:invalid { color: var(--blue300); }
