﻿:root {
  --bg: #08080a;
  --bg-soft: #111118;
  --ink: #f3f2f5;
  --muted: #b8b4c2;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #a43cff;
  --accent-soft: #d0a3ff;
  --card: rgba(18, 18, 25, 0.88);
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 85% 18%, rgba(164, 60, 255, 0.2), transparent 44%), #070709;
}

body.modal-open {
  overflow: hidden;
}

body.cookie-open {
  overflow: hidden;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 3px 3px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background: linear-gradient(180deg, rgba(10, 10, 14, 0.38), rgba(10, 10, 14, 0.06));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); */
}

.brand-logo {
  width: 178px;
  height: auto;
}

.brand-mobile {
  display: none;
}

.brand-logo--mobile {
  width: 132px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  backdrop-filter: blur(10px);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.social-link:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.header-cta {
  padding: 11px 17px;
  border: 1px solid rgba(180, 83, 255, 0.45);
  border-radius: 999px;
  background: rgba(164, 60, 255, 0.14);
  color: #fff;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(164, 60, 255, 0.22);
}

.header-cta:hover {
  border-color: rgba(214, 166, 255, 0.7);
  background: rgba(164, 60, 255, 0.18);
  box-shadow: 0 14px 30px rgba(164, 60, 255, 0.34);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px 0 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.lang-flag {
  width: 36px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.lang-flag:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.lang-flag.is-active {
  border-color: rgba(180, 83, 255, 0.55);
  box-shadow: 0 10px 22px rgba(164, 60, 255, 0.18);
}

.flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66% 100%);
}

/* Simplified UK-style cross (discreet, avoids complex diagonals). */
.flag-en {
  background-color: #012169;
  /* Union Jack (UK) as inline SVG so it reads correctly at small sizes. */
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2060%2030%27%3E%3Cpath%20d%3D%27M0%200h60v30H0z%27%20fill%3D%27%23012169%27/%3E%3Cpath%20d%3D%27M0%200l60%2030M60%200L0%2030%27%20stroke%3D%27%23fff%27%20stroke-width%3D%276%27/%3E%3Cpath%20d%3D%27M0%200l60%2030M60%200L0%2030%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%274%27/%3E%3Cpath%20d%3D%27M30%200v30M0%2015h60%27%20stroke%3D%27%23fff%27%20stroke-width%3D%2710%27/%3E%3Cpath%20d%3D%27M30%200v30M0%2015h60%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%276%27/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transform: scale(1.02);
  animation: slowZoom 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(98deg, rgba(8, 8, 10, 0.74) 8%, rgba(8, 8, 10, 0.4) 52%, rgba(8, 8, 10, 0.14) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 148px 20px 88px;
  max-width: var(--max);
  animation: heroFadeIn 900ms ease-out both;
}

.hero-kicker,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.thanks-wrap h1 {
  margin: 20px 0 0;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.05rem);
  
  line-height: 0.98;
}

.hero h2 {
  margin: 22px 0 0;
  font-size: clamp(1.12rem, 2.2vw, 2.05rem);
  line-height: 1.2;
  font-weight: 300;
  max-width: 600px;
  color: #b48dd8;
}

.hero-micro {
  margin: 12px 0 0;
  max-width: 700px;
  color: #d7d2e4;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

.hero-text {
  margin: 26px 0 0;
  max-width: 600px;
  color: #e5e1ef;
  line-height: 1.75;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
}

.hero-rarity {
  margin: 12px 0 0;
  max-width: 720px;
  color: #f7de8d;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.84rem;
  opacity: 0.92;
}

.hero-countdown {
  margin-top: 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  max-width: 520px;
}

.hero-countdown-sub {
  color: rgba(243, 242, 245, 0.85);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-countdown-timer {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.01em;
}

.hero-countdown-timer .t-part {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.hero-countdown-timer strong {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}

.hero-countdown-timer em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(243, 242, 245, 0.74);
}

.hero-countdown-timer .t-sep {
  color: rgba(243, 242, 245, 0.35);
}

.hero .btn {
  margin-top: 24px;
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.04rem;
}

.section {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 68px 20px;
}

.section-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  max-width: 820px;
}

.value-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(6px);
}

.card.card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  opacity: 0.55;
  filter: saturate(1.06) contrast(1.06);
}

.card.card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(180, 83, 255, 0.24), transparent 58%),
    linear-gradient(180deg, rgba(10, 10, 14, 0.25), rgba(10, 10, 14, 0.88));
}

.card.card-bg > * {
  position: relative;
  z-index: 1;
}

.card h4 {
  margin: 0 0 10px;
  font-size: 1.07rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.95rem;
}

.section-audience {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.section-audience .section-head {
  text-align: center;
}

.section-audience .section-head h3 {
  margin-left: auto;
  margin-right: auto;
}

.section.section-audience {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 68px 20px;
}

.pill-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  overflow: visible;
}

.pill-list li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  background: transparent;
  color: #ece9f4;
}

.pill-list li.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pill-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  filter: none;
  transform: none;
  z-index: -2;
}

.pill-list li.pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.72) 100%);
  z-index: -1;
}

.pill-list li.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  backdrop-filter: none;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  width: clamp(148px, 18vw, 200px);
  height: clamp(148px, 18vw, 200px);
  padding: 14px 12px 16px;
  line-height: 1.2;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.pill-list li.pill {
  padding-left: 16px;
  padding-right: 16px;
}

.pill-list li.pill {
  font-weight: 600;
}

.pill-list li.pill {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.pill-list li.pill {
  border-color: rgba(255, 255, 255, 0.16);
}

.pill-list li.pill {
  color: rgba(243, 242, 245, 0.94);
}

.pill-list li.pill {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

.pill-list li.pill {
  isolation: isolate;
}

.pill-list li.pill {
  white-space: nowrap;
}

.pill-list li.pill {
  cursor: default;
}

.pill-list li.pill {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pill-list li.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 166, 255, 0.34);
}

.pill-list li.pill > * {
  position: relative;
  z-index: 1;
}

.pill-list::-webkit-scrollbar {
  height: 8px;
}

.pill-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.pill-list::-webkit-scrollbar-track {
  background: transparent;
}

@media (max-width: 980px) {
  .pill-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
}

.section-rarity {
  text-align: center;
  padding-top: 54px;
  padding-bottom: 22px;
}

.section-rarity p {
  margin: 0 auto;
  max-width: 840px;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.5;
}

.section-form {
  padding-top: 24px;
  text-align: center;
}

.section-form .section-head h3 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.form-alert {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
}

.form-alert-error {
  background: rgba(150, 34, 52, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.38);
}

.application-form {
  margin-top: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
}

.field select option,
.field select optgroup {
  background: #ffffff;
  color: #111111;
}

.field textarea {
  resize: vertical;
  min-height: 114px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(164, 60, 255, 0.8);
  outline: none;
  box-shadow: 0 0 0 4px rgba(164, 60, 255, 0.17);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: rgba(248, 113, 113, 0.7);
}

.field-error {
  min-height: 1em;
  font-size: 0.79rem;
  color: #ffb7b7;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, #7b22cb 0%, #b453ff 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(164, 60, 255, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(180, 83, 255, 0.52), 0 0 34px rgba(164, 60, 255, 0.4);
}

.btn-submit {
  margin-top: 16px;
  width: 100%;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 46px 20px 64px;
  border-top: 1px solid var(--line);
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  padding: 0 12px;
  white-space: nowrap;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 50;
  display: none;
  padding: 0 16px;
}

.cookie-banner.is-open {
  display: block;
}

.cookie-card {
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 12, 16, 0.78);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.cookie-text h3 {
  margin: 0 0 6px;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: 1.02rem;
}

.cookie-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.cookie-text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions-bottom {
  margin-top: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.cookie-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-primary {
  border-color: rgba(180, 83, 255, 0.45);
  background: rgba(164, 60, 255, 0.14);
  box-shadow: 0 10px 24px rgba(164, 60, 255, 0.22);
}

.cookie-btn-primary:hover {
  border-color: rgba(214, 166, 255, 0.7);
  background: rgba(164, 60, 255, 0.18);
  box-shadow: 0 14px 30px rgba(164, 60, 255, 0.34);
}

.cookie-panel {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-option-text strong {
  display: block;
  font-size: 0.95rem;
}

.cookie-option-text span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
  margin-top: 4px;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cookie-switch span {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  display: inline-block;
}

.cookie-switch span::after {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cookie-switch input:checked + span {
  border-color: rgba(180, 83, 255, 0.55);
  background: rgba(164, 60, 255, 0.22);
}

.cookie-switch input:checked + span::after {
  transform: translateX(18px);
  background: #fff;
}

@media (max-width: 520px) {
  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

.footer-logo {
  width: 112px;
  margin: 0;
}

.social-link-footer {
  border-color: var(--line);
  padding: 7px 12px;
}

.social-link-footer span:not(.social-icon) {
  display: none;
}

.thanks-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thanks-wrap {
  width: min(720px, calc(100% - 40px));
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(21, 21, 31, 0.94), rgba(10, 10, 14, 0.97));
}

.thanks-wrap p {
  color: var(--muted);
  line-height: 1.6;
}

.thanks-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-body {
  min-height: 100vh;
}

.legal-wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 120px 20px 64px;
}

.legal-wrap h1 {
  margin: 0 0 20px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-wrap h2 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-wrap ul {
  margin: 0;
  padding-left: 20px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 6, 0.72);
  backdrop-filter: blur(7px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100% - 28px));
  max-height: min(90vh, 880px);
  margin: 4.5vh auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(18, 18, 27, 0.98), rgba(10, 10, 14, 0.98));
}

.modal-dialog-sm {
  width: min(560px, calc(100% - 28px));
}

.modal-head {
  margin-bottom: 8px;
}

.lang-sub {
  margin: 8px 0 0;
  color: rgba(243, 242, 245, 0.75);
  line-height: 1.5;
}

.lang-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn-flag {
  gap: 10px;
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

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

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.075);
  }
}

@media (max-width: 980px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-nav .social-link span:not(.social-icon) {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 14px;
  }

  .brand-logo {
    width: 130px;
  }

  .header-nav {
    gap: 8px;
    font-size: 0.82rem;
  }

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

  .lang-switch {
    padding-left: 8px;
  }

  .lang-flag {
    width: 34px;
    height: 26px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-bg {
    /* Move focal point down so face stays visible on mobile */
    object-position: center 16%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.58) 0%, rgba(8, 8, 10, 0.4) 48%, rgba(8, 8, 10, 0.2) 100%);
  }

  .hero-content {
    padding: 92px 18px 58px;
  }

  .hero h2 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }

  .footer-copy {
    white-space: normal;
    padding: 0;
  }

  .modal-dialog {
    width: calc(100% - 14px);
    margin: 2vh auto;
    max-height: 95vh;
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 14px 0;
  }

  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "ig logo lang"
      "cta cta cta";
    align-items: center;
    border-radius: 18px;
    padding: 8px 10px;
  }

  .site-header > .brand {
    display: none;
  }

  .brand-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-area: logo;
    padding: 2px 6px;
  }

  .header-nav > .social-link {
    grid-area: ig;
    justify-self: start;
  }

  .lang-switch {
    grid-area: lang;
    justify-self: end;
    margin-left: 0;
    border-left: 0;
    padding: 0;
  }

  .header-cta {
    grid-area: cta;
    flex: 1 1 100%;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: 118px;
  }

  .brand-logo--mobile {
    width: 120px;
  }

  .header-nav {
    gap: 6px;
    font-size: 0.78rem;
  }

  .lang-flag {
    width: 30px;
    height: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-content {
    animation: none;
  }
}
