:root {
  --color-bg: #f8faf9;
  --color-surface: #ffffff;
  --color-surface-subtle: #f0f4f2;
  --color-text: #1a2a24;
  --color-text-muted: #4e6359;
  --color-border: #d4e0d9;
  --color-border-subtle: #e6ede8;
  --color-brand: #204d3d;
  --color-brand-hover: #16362b;
  --color-accent: #d8813f;
  --color-tag-bg: #eaf1ed;
  --color-tag-text: #204d3d;
  --color-success: #1f7a4d;
  --color-success-bg: #eaf6ef;
  --color-error: #b3261e;
  --color-error-bg: #fdf2f2;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", "Times New Roman", Times, serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-3d-sm: 0 4px 12px -2px rgba(18, 42, 33, 0.08), 0 1px 3px rgba(18, 42, 33, 0.05);
  --shadow-3d-card: 0 14px 34px -8px rgba(18, 42, 33, 0.16), 0 4px 10px rgba(18, 42, 33, 0.06);
  --shadow-3d-hover: 0 24px 48px -10px rgba(18, 42, 33, 0.24), 0 8px 18px rgba(18, 42, 33, 0.1);
  --shadow-3d-hero: 0 28px 60px -14px rgba(18, 42, 33, 0.28), 0 10px 24px rgba(18, 42, 33, 0.08);
  --max-width: 1200px;
}

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

html {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-brand);
  color: #fff;
  padding: 0.6rem 1.2rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 249, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 900;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem clamp(1rem, 2.2vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-brand);
  flex: 0 0 auto;
  white-space: nowrap;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  color: var(--color-brand);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.15vw, 1rem);
  min-width: 0;
}

.site-nav a {
  position: relative;
  flex: 0 0 auto;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
  padding: 0.55rem 0.15rem;
}

.site-nav a:hover {
  color: var(--color-brand);
}

.site-nav a[aria-current="page"] {
  color: var(--color-brand);
  font-weight: 700;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: 0.2rem;
  height: 2px;
  background-color: var(--color-brand);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 44px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 910;
}

.menu-toggle:hover {
  background-color: var(--color-surface-subtle);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-brand);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.button-primary {
  background-color: var(--color-brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(32, 77, 61, 0.25);
}

.button-primary:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 77, 61, 0.35);
}

.button-outline {
  background-color: transparent;
  color: var(--color-brand);
  border-color: var(--color-border);
}

.button-outline:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-brand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-brand);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  gap: 0.65rem;
  color: var(--color-brand-hover);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-copy {
  max-width: 520px;
}

.hero-intro {
  font-size: 1.2rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  color: var(--color-text-muted);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d-hero);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #10211a;
}

.hero-visual img,
.lead-figure img,
.editorial-image img,
.atlas-card img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.stadium-hero-image {
  aspect-ratio: 16 / 10;
  filter: contrast(1.04) brightness(1.02);
}

.hero-visual:hover .stadium-hero-image {
  transform: scale(1.03);
}

figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 0.65rem 0.9rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--color-border-subtle);
}

.intro-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 4rem;
  box-shadow: var(--shadow-3d-sm);
}

.intro-lead {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-brand);
  margin-bottom: 0;
  white-space: nowrap;
}

.intro-strip p:nth-child(2) {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.intro-index {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.section {
  padding-bottom: 5rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 380px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.atlas-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.atlas-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.atlas-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(32, 77, 61, 0.35);
}

.atlas-card img {
  aspect-ratio: 16 / 10;
  background-color: #172c23;
}

.atlas-card:hover img {
  transform: scale(1.04);
}

.atlas-card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.card-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.atlas-card-content h3 {
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.atlas-card-content p {
  font-size: 0.92rem;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag-row span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
}

.feature-band {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
  box-shadow: var(--shadow-3d-card);
}

.feature-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-3d-sm);
  background: #172c23;
}

.feature-image img {
  aspect-ratio: 16 / 10;
}

.feature-image:hover img {
  transform: scale(1.03);
}

.page-hero {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--color-brand);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.page-heading p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--color-text);
}

.lead-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d-hero);
  border: 1px solid var(--color-border);
  background: #122820;
}

.lead-figure img {
  aspect-ratio: 21 / 10;
  max-height: 520px;
}

.lead-figure:hover img {
  transform: scale(1.02);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.article-body {
  max-width: 740px;
}

.article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
  scroll-margin-top: 5rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #273830;
  margin-bottom: 1.3rem;
}

.article-body ul {
  margin: 1rem 0 1.5rem 1.4rem;
  color: #273830;
}

.article-body li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.editorial-image {
  margin: 2.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-3d-card);
  border: 1px solid var(--color-border);
  background: #122820;
}

.editorial-image img {
  aspect-ratio: 16 / 9;
}

.editorial-image:hover img {
  transform: scale(1.02);
}

.article-aside {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-3d-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-aside h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--color-brand);
}

.article-aside a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.article-aside a:hover {
  background-color: var(--color-tag-bg);
  color: var(--color-brand);
}

.aside-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.related-section {
  background: linear-gradient(135deg, #1b3d31 0%, #295c4a 100%);
  color: #fff;
  padding: 3.5rem 0;
  margin-top: 2rem;
}

.related-section .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.related-section h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.related-section p {
  color: #d1e2da;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.related-section .button-primary {
  background-color: #fff;
  color: var(--color-brand);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.related-section .button-primary:hover {
  background-color: #f0f7f3;
  transform: translateY(-2px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-3d-card);
}

.contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--color-error);
  background-color: #fffbfb;
}

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

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(32, 77, 61, 0.15);
}

.field-error {
  color: var(--color-error);
  font-size: 0.8rem;
  font-weight: 600;
  min-height: 1.1rem;
}

.form-status {
  margin-top: 1.2rem;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  padding: 0.85rem 1rem;
  background-color: var(--color-success-bg);
  border: 1px solid #bce1ce;
  color: var(--color-success);
}

.form-status.is-error {
  padding: 0.85rem 1rem;
  background-color: var(--color-error-bg);
  border: 1px solid #f6c8c8;
  color: var(--color-error);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-3d-sm);
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--color-brand);
}

.contact-email {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

address {
  font-style: normal;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.office-card {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.office-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-brand);
}

.office-card p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.legal-copy {
  max-width: 820px;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.legal-copy h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.legal-copy p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.policy-table-wrap {
  overflow-x: auto;
  margin: 1.8rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d-sm);
}

.policy-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--color-surface);
  font-size: 0.92rem;
}

.policy-table th,
.policy-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: top;
}

.policy-table thead th {
  background-color: var(--color-surface-subtle);
  color: var(--color-brand);
  font-weight: 700;
}

.legal-actions {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.site-footer {
  background-color: #152922;
  color: #e2ede7;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid #234338;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #284c40;
}

.footer-logo {
  color: #ffffff !important;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: #a4beaf;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.footer-links h2,
.footer-company h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a,
.footer-links button {
  color: #b7cebf;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #ffffff;
}

.footer-company p {
  color: #b7cebf;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.footer-company a {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #8fa799;
}

.cookie-popup[hidden] {
  display: none !important;
}

.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.cookie-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 18, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: auto;
  opacity: 0;
  animation: cookieFadeIn 0.3s ease forwards;
}

.cookie-popup-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-3d-hover), 0 20px 40px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  z-index: 1;
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-popup-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.cookie-popup-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-tag-bg);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-popup-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.cookie-popup-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.cookie-popup-body p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.cookie-popup-body a {
  color: var(--color-brand);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-preferences-drawer {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cookie-preferences-drawer[hidden] {
  display: none !important;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.cookie-pref-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-pref-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cookie-pref-info strong {
  font-size: 0.88rem;
  color: var(--color-text);
}

.cookie-pref-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch-slider {
  position: absolute;
  inset: 0;
  background-color: #cbd5d0;
  border-radius: 24px;
  transition: 0.25s ease;
}

.cookie-switch-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-switch-slider {
  background-color: var(--color-brand);
}

.cookie-switch input:checked + .cookie-switch-slider::before {
  transform: translateX(20px);
}

.cookie-popup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.cookie-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.cookie-btn[hidden] {
  display: none !important;
}

.cookie-btn-accept {
  background: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
}

.cookie-btn-accept:hover {
  background: var(--color-brand-hover);
}

.cookie-btn-reject {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.cookie-btn-reject:hover {
  background: var(--color-surface-subtle);
  border-color: #b5c7bd;
}

.cookie-btn-prefs {
  background: transparent;
  color: var(--color-brand);
  border-color: transparent;
  text-decoration: underline;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.cookie-btn-prefs:hover {
  color: var(--color-brand-hover);
}

.cookie-btn-save {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.cookie-btn-save:hover {
  filter: brightness(0.92);
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 2rem;
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .article-aside {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Unified responsive header and navigation */
@media (max-width: 900px) {
  .header-inner {
    min-height: 64px;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 905;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.65rem clamp(1rem, 4vw, 1.5rem) 1rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-3d-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-text);
    font-size: 1rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .intro-strip {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    text-align: left;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .atlas-list {
    grid-template-columns: 1fr;
  }

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

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

  .related-section .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-popup {
    padding: 0.75rem;
  }

  .cookie-popup-card {
    padding: 1.25rem;
  }

  .cookie-popup-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn {
    text-align: center;
    justify-content: center;
  }
}

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

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