/* ==========================================================================
   A Bright Way — Shared design system
   Ported 1:1 from the original Tailwind theme tokens. No build step required.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour palette */
  --primary: #000000;
  --on-primary: #ffffff;
  --accent: #fed65b;
  --accent-soft: #ffe088;
  --accent-strong: #e9c349;

  --surface: #f9f9f9;
  --white: #ffffff;
  --surface-low: #f3f3f3;
  --surface-container: #eeeeee;

  --text: #1a1c1c;
  --text-muted: #444748;
  --text-faint: #686c6c;

  --border: #c4c7c7;
  --border-soft: #e2e2e2;

  --footer-bg: #1c1b1b;
  --footer-text: #ffffff;
  --footer-muted: #a8a6a5;

  --error: #ba1a1a;
  --error-bg: #ffdad6;

  /* Layout */
  --container-max: 1280px;
  --pad-mobile: clamp(14px, 4.5vw, 24px);
  --pad-desktop: clamp(32px, 5vw, 80px);
  --header-h: 73px;

  /* Radii */
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.14);

  /* Type scale (fluid) */
  --fs-headline-xl: clamp(1.85rem, 1.2rem + 3.2vw, 4rem);
  --fs-headline-lg: clamp(1.5rem, 1.1rem + 2vw, 3rem);
  --fs-headline-md: clamp(1.25rem, 1.05rem + 1vw, 2rem);
  --fs-headline-sm: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem);
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body-md: 1rem;
  --fs-label: 0.875rem;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

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

a[href^="mailto:"],
a[href^="tel:"] {
  overflow-wrap: break-word;
  word-break: break-all;
}

ul {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

h3,
h4 {
  font-weight: 700;
}

::selection {
  background: var(--accent);
  color: var(--text);
}

/* Visible focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
}

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}

.section {
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-container);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: var(--fs-body-lg);
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

h2.section-title {
  font-size: var(--fs-headline-lg);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--pad-desktop);
  }
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
    border-color 0.15s var(--ease), transform 0.1s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--surface-container);
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

/* On dark backgrounds (footer / CTA band) */
.btn-on-dark {
  background: var(--on-primary);
  color: var(--primary);
  border-color: var(--on-primary);
}
.btn-on-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark {
  background: transparent;
  color: var(--on-primary);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-dark:hover {
  border-color: var(--on-primary);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0.02em;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: gap 0.15s var(--ease);
}
.link-arrow:hover {
  gap: 0.6rem;
}
.link-arrow .material-symbols-outlined {
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover {
  opacity: 0.85;
}
.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius);
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.brand__text {
  display: inline-block;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 2rem);
}

.nav-link {
  position: relative;
  font-size: var(--fs-body-md);
  color: var(--text-muted);
  padding-bottom: 4px;
  transition: color 0.15s var(--ease);
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link.is-active {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: var(--fs-body-md);
  color: var(--text-muted);
  padding-bottom: 4px;
  transition: color 0.15s var(--ease);
}
.dropdown-toggle:hover,
.dropdown.is-open .dropdown-toggle {
  color: var(--primary);
}
.dropdown-toggle.is-active {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}
.dropdown-toggle .material-symbols-outlined {
  font-size: 1.2rem;
  transition: transform 0.2s var(--ease);
}
.dropdown.is-open .dropdown-toggle .material-symbols-outlined {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s var(--ease);
}
/* Open on hover (desktop) and when toggled via JS */
.dropdown:hover .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  font-size: var(--fs-body-md);
  color: var(--text-muted);
  transition: background 0.12s var(--ease), color 0.12s var(--ease);
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--surface-low);
  color: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--text-muted);
  transition: color 0.15s var(--ease);
}
.icon-link:hover {
  color: var(--primary);
}

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem;
  color: var(--primary);
}
.menu-toggle .material-symbols-outlined {
  font-size: 1.8rem;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .header-actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

@media (min-width: 900px) and (max-width: 1080px) {
  .header-inner {
    gap: 0.5rem;
  }
  .nav {
    gap: clamp(0.5rem, 1.2vw, 1.25rem);
  }
  .nav-link,
  .dropdown-toggle {
    font-size: 0.875rem;
    padding: 0.4rem 0.25rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .header-actions .btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   6. Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88%, 360px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--pad-mobile) 2rem;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mobile-menu__head .brand__logo {
  width: 40px;
  height: 40px;
  mix-blend-mode: normal;
}
.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.mobile-menu__close .material-symbols-outlined {
  font-size: 1.8rem;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav a.is-active {
  color: var(--primary);
  font-weight: 700;
}
.mobile-nav__group-label {
  display: block;
  padding: 0.85rem 0 0.35rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mobile-nav__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.mobile-menu__cta {
  margin-top: 1.5rem;
}

@media (max-width: 380px) {
  .mobile-menu__panel {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Hero (slider)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--white);
  overflow: visible;
}
.hero-viewport {
  position: relative;
  display: grid;
  grid-template-areas: "slide";
  min-height: auto;
}
@media (min-width: 768px) {
  .hero-viewport {
    min-height: clamp(640px, 80vh, 780px);
  }
}

.hero-slide {
  grid-area: slide;
  display: grid;
  grid-template-columns: 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-slide {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-low);
  padding: 2rem var(--pad-mobile) 4.25rem;
  order: 2;
  min-width: 0;
  overflow: visible;
}
.hero-text__inner {
  width: 100%;
  max-width: 45rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.4;
  gap: 0.35rem;
}
.hero-eyebrow .material-symbols-outlined {
  font-size: 1.15rem;
  color: var(--accent-strong);
}
.hero-title {
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-block: 0.75rem 1.25rem;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero-title__brand {
  display: block;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.hero-title__tagline {
  display: block;
  font-size: clamp(1.15rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.hero-copy {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.hero-media {
  order: 1;
  height: clamp(180px, 32vw, 220px);
  min-height: 180px;
  background: var(--surface-container);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero-text {
    order: 1;
    padding: 3.5rem clamp(2rem, 4vw, 4.5rem) 5.5rem;
  }
  .hero-title {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.15;
    max-width: 24ch;
  }
  .hero-media {
    order: 2;
    height: auto;
    min-height: 100%;
  }
}
@media (min-width: 1200px) {
  .hero-title {
    font-size: clamp(2.6rem, 4.2vw, 4.2rem);
    max-width: 26ch;
  }
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: var(--pad-mobile);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  pointer-events: auto;
}
@media (min-width: 768px) {
  .hero-dots {
    bottom: 2rem;
    left: var(--pad-desktop);
  }
}
.hero-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm, 4px);
}
.hero-dot::before {
  content: "";
  display: block;
  width: 12px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border);
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.hero-dot:hover::before {
  background: var(--text-faint);
}
.hero-dot.is-active::before {
  width: 40px;
  background: var(--primary);
}

/* --------------------------------------------------------------------------
   8. Generic page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--surface-low);
  border-bottom: 1px solid var(--border-soft);
  padding-block: clamp(3rem, 2rem + 5vw, 5rem);
}
.page-hero__title {
  font-size: clamp(2rem, 5.5vw, var(--fs-headline-xl));
  max-width: 32ch;
  overflow-wrap: break-word;
}
@media (max-width: 767px) {
  .page-hero__title {
    max-width: 100%;
  }
}
.page-hero .lead {
  max-width: 60ch;
  margin-top: 1.25rem;
}
.page-hero__actions {
  margin-top: 2rem;
}
.page-hero--events,
.page-hero--advertising,
.page-hero--content,
.page-hero--pr,
.page-hero--contact {
  color: var(--white);
  background-position: center;
  background-size: cover;
  border-bottom: 0;
}
.page-hero--events {
  background-image: linear-gradient(180deg, rgba(28, 27, 27, 0.82) 0%, rgba(28, 27, 27, 0.64) 55%, rgba(28, 27, 27, 0.84) 100%), url("../assets/images/events/events-abrights-way.jpg");
}
.page-hero--advertising {
  background-image: linear-gradient(180deg, rgba(28, 27, 27, 0.82) 0%, rgba(28, 27, 27, 0.64) 55%, rgba(28, 27, 27, 0.84) 100%), url("../assets/images/advertising/advertising-hero.jpg");
}
.page-hero--content {
  background-image: linear-gradient(180deg, rgba(28, 27, 27, 0.82) 0%, rgba(28, 27, 27, 0.64) 55%, rgba(28, 27, 27, 0.84) 100%), url("../assets/images/content/content-creation-hero.jpg");
}
.page-hero--pr {
  background-image: linear-gradient(180deg, rgba(28, 27, 27, 0.82) 0%, rgba(28, 27, 27, 0.64) 55%, rgba(28, 27, 27, 0.84) 100%), url("../assets/images/pr/public-relations-hero.jpg");
}
.page-hero--contact {
  background-color: #1c1b1b;
  background-image:
    linear-gradient(180deg, rgba(28, 27, 27, 0.90) 0%, rgba(28, 27, 27, 0.80) 55%, rgba(28, 27, 27, 0.92) 100%),
    url("../assets/a-bright-way-logo.jpeg");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center center;
  background-size: 100% 100%, clamp(140px, 45vw, 190px);
}
@media (max-width: 767px) {
  .page-hero--events,
  .page-hero--advertising,
  .page-hero--content,
  .page-hero--pr,
  .page-hero--contact {
    padding-block: clamp(2.5rem, 6vw, 3.5rem);
  }
  .page-hero--events {
    background-position: center 45%;
  }
  .page-hero--advertising {
    background-position: center center;
  }
  .page-hero--content {
    background-position: 72% center;
  }
  .page-hero--pr {
    background-position: 60% 25%;
  }
  .page-hero--contact {
    background-position: center center;
  }
}
@media (min-width: 768px) {
  .page-hero--events {
    background-image: linear-gradient(90deg, rgba(28, 27, 27, 0.86), rgba(28, 27, 27, 0.48)), url("../assets/images/events/events-abrights-way.jpg");
  }
  .page-hero--advertising {
    background-image: linear-gradient(90deg, rgba(28, 27, 27, 0.86), rgba(28, 27, 27, 0.48)), url("../assets/images/advertising/advertising-hero.jpg");
  }
  .page-hero--content {
    background-image: linear-gradient(90deg, rgba(28, 27, 27, 0.86), rgba(28, 27, 27, 0.48)), url("../assets/images/content/content-creation-hero.jpg");
  }
  .page-hero--pr {
    background-image: linear-gradient(90deg, rgba(28, 27, 27, 0.86), rgba(28, 27, 27, 0.48)), url("../assets/images/pr/public-relations-hero.jpg");
  }
  .page-hero--contact {
    background-image:
      linear-gradient(90deg, rgba(28, 27, 27, 0.94) 0%, rgba(28, 27, 27, 0.82) 50%, rgba(28, 27, 27, 0.60) 100%),
      url("../assets/a-bright-way-logo.jpeg");
    background-repeat: no-repeat, no-repeat;
    background-position: center center, calc(50% + min(420px, 32vw)) center;
    background-size: 100% 100%, clamp(180px, 20vw, 240px);
  }
}
.page-hero--events .eyebrow,
.page-hero--advertising .eyebrow,
.page-hero--content .eyebrow,
.page-hero--pr .eyebrow,
.page-hero--contact .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}
.page-hero--events .lead,
.page-hero--advertising .lead,
.page-hero--content .lead,
.page-hero--pr .lead,
.page-hero--contact .lead {
  color: rgba(255, 255, 255, 0.88);
}

/* --------------------------------------------------------------------------
   9. Proof / stats
   -------------------------------------------------------------------------- */
.proof {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}
.proof__label {
  text-align: center;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: center;
}
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  height: auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.logo-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.logo-box img {
  display: block;
  max-width: 85%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}
/* Partner logo slideshow (continuous marquee, pausable) */
.logo-marquee {
  position: relative;
  margin-block: 1.5rem 2rem;
}
.logo-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 28s linear infinite;
}
.logo-marquee__set {
  display: flex;
  flex: none;
  gap: 1.25rem;
  padding-right: 1.25rem;
}
.logo-marquee .logo-box {
  flex: none;
  width: 210px;
  min-height: 88px;
}
.logo-marquee .logo-box img {
  max-width: 85%;
  max-height: 64px;
}
.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track {
  animation-play-state: paused;
}
@keyframes logo-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo-marquee__set {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
  .logo-marquee__set[aria-hidden="true"] {
    display: none;
  }
  .logo-marquee__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  margin-top: 3.5rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: var(--fs-headline-lg);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: var(--fs-label);
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .logo-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
  .logo-box {
    min-height: 80px;
    padding: 0.85rem 1.25rem;
  }
  .logo-box img {
    max-height: 52px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   10. Cards (services / generic)
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease),
    border-color 0.2s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
a.card:hover,
.card--hover:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--border);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--text);
  margin-bottom: 1.25rem;
}
.card__title {
  font-size: var(--fs-headline-sm);
  margin-bottom: 0.6rem;
}
.card__text {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   11. Split feature (about preview / service explanation)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .split--reverse .split__media {
    order: -1;
  }
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-container);
}
.split__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Decorative placeholder block (honest, no fake content) */
.media-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: linear-gradient(135deg, var(--surface-low), var(--surface-container));
  color: var(--text-faint);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.media-placeholder .material-symbols-outlined {
  font-size: 3rem;
  opacity: 0.5;
}
.media-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Process steps
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 640px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}
.process-step {
  padding-top: 1.5rem;
  border-top: 3px solid var(--accent);
}
.process-step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.process-step__title {
  font-size: var(--fs-headline-sm);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   13. Work / portfolio cards
   -------------------------------------------------------------------------- */
.work-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.work-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.work-card__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Ensure placeholder media slots strictly match image media slots */
.work-card__media.media-placeholder,
.work-card .media-placeholder {
  min-height: 0;
  height: 100%;
  border-radius: 0;
}
.work-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}
.work-card__cat {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.work-card__title {
  font-size: var(--fs-headline-sm);
}
.work-meta {
  font-size: 0.95rem;
}
.work-meta dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
}
.work-meta dd {
  color: var(--text-muted);
  margin: 0;
}

/* Filter buttons */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s var(--ease);
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.is-active {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
}
.cta-band .eyebrow {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-band h2 {
  color: var(--on-primary);
  font-size: var(--fs-headline-lg);
  max-width: 22ch;
  margin-inline: auto;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-body-lg);
  max-width: 56ch;
  margin: 1.25rem auto 2rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
  max-width: 800px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}
.faq-q .material-symbols-outlined {
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.faq-q[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s var(--ease);
}
.faq-a__inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
}
.team-layout {
  align-items: start;
}
.team-layout > .card {
  align-self: start;
  height: auto;
}
.team-profiles {
  max-width: none;
  width: 100%;
}
.team-profile {
  display: flow-root;
}
.team-profile__photo {
  margin: 0 0 1.25rem;
  width: min(100%, 240px);
}
.team-profile__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
}
@media (min-width: 640px) {
  .team-profile__photo {
    float: left;
    width: 200px;
    margin: 0.25rem 1.5rem 1rem 0;
  }
}
.team-profile h4 {
  color: var(--text);
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.team-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.team-list li + li {
  margin-top: 0.35rem;
}
.team-profile blockquote {
  border-left: 3px solid var(--accent);
  color: var(--text);
  margin-top: 0.75rem;
  padding-left: 1rem;
}

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text);
}
.field .req {
  color: var(--error);
}
.input,
.select,
.textarea {
  width: 100%;
  font-size: 1rem; /* 16px baseline prevents automatic viewport zooming in iOS Safari */
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.textarea {
  resize: vertical;
  min-height: 140px;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(254, 214, 91, 0.4);
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--error);
}
.field-error {
  font-size: 0.85rem;
  color: var(--error);
  min-height: 1.1em;
  display: none;
}
.field.has-error .field-error,
.field.has-error + .field-error,
.field.has-error ~ .field-error {
  display: block;
}
.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
}
.field-checkbox input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.field-checkbox label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.95rem;
}
/* Honeypot: hidden from humans, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  font-size: 0.95rem;
}
.form-status[data-state="error"] {
  color: var(--error);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   17. Contact layout
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 48px;
  }
}
.contact-section {
  padding-bottom: 80px;
}
.contact-grid > * {
  min-width: 0;
}
.contact-grid aside {
  position: relative;
  z-index: 1;
}
.contact-placeholder-btn {
  cursor: default;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-detail .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.35rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.contact-detail h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.contact-detail a,
.contact-detail p {
  color: var(--text-muted);
}
.contact-detail a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   18. Article / legal pages
   -------------------------------------------------------------------------- */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: var(--fs-headline-md);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose p,
.prose ul {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   19. Centered message pages (thank-you / 404)
   -------------------------------------------------------------------------- */
.message-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-block: 4rem;
}
.message-page__inner {
  max-width: 600px;
}
.message-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--accent);
  margin-bottom: 1.75rem;
}
.message-page__icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--text);
}
.message-page h1 {
  font-size: var(--fs-headline-lg);
  margin-bottom: 1rem;
}
.message-page .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  clear: both;
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 2rem + 4vw, 4rem);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr) 1.15fr;
  }
}
.footer-brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--footer-text);
  margin-bottom: 0;
}
.footer-brand p {
  color: var(--footer-muted);
  margin-bottom: 1.25rem;
  max-width: 36ch;
  line-height: 1.6;
}
.footer-brand__location {
  color: var(--footer-text) !important;
  font-size: 0.95rem;
  margin-bottom: 0.75rem !important;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--footer-muted);
  text-decoration: none;
  transition:
    color 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    transform 0.15s var(--ease);
}
.footer-socials a:hover {
  color: var(--accent);
  background: rgba(254, 214, 91, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-socials a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(254, 214, 91, 0.12);
}
.footer-socials a:active {
  transform: translateY(0);
}
.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
  pointer-events: none;
}
.footer-col h4,
.footer-col .footer-heading {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-text);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a,
.footer-col p {
  color: var(--footer-muted);
  transition: color 0.15s var(--ease);
}
.footer-col a {
  display: inline-block;
  padding-block: 0.25rem;
}
.footer-col a:hover {
  color: var(--footer-text);
}
.footer-col a.accent {
  color: var(--accent);
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  color: var(--footer-muted);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   21. Scroll reveal (subtle) & motion preferences
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. Ultra-wide & 4K Smart TVs (2200px+)
   -------------------------------------------------------------------------- */
@media (min-width: 2200px) {
  :root {
    --container-max: 1720px;
    --pad-desktop: 120px;
    --fs-headline-xl: clamp(3.8rem, 2.5rem + 2.5vw, 5.5rem);
    --fs-headline-lg: clamp(2.8rem, 2rem + 1.8vw, 4.25rem);
    --fs-headline-md: clamp(2.2rem, 1.5rem + 1.2vw, 3rem);
    --fs-headline-sm: 1.75rem;
    --fs-body-lg: 1.35rem;
    --fs-body-md: 1.15rem;
    --fs-label: 1rem;
  }
  .hero-slide {
    min-height: clamp(650px, 60vh, 920px);
  }
}

@media (min-width: 3000px) {
  :root {
    --container-max: 2100px;
    --pad-desktop: 150px;
    --fs-body-md: 1.3rem; /* 10-foot Smart TV viewing comfort */
    --fs-body-lg: 1.55rem;
  }
}

/* --------------------------------------------------------------------------
   23. Cookie consent banner, modal & settings triggers
   -------------------------------------------------------------------------- */
[hidden] {
  display: none !important;
}

body.cookie-modal-open {
  overflow: hidden;
}

.footer-link-btn {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--footer-muted);
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 400;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s var(--ease);
}

.footer-link-btn:hover {
  color: var(--footer-text);
}

.footer-link-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  color: var(--footer-text);
}

.prose .link-btn {
  display: inline;
  padding: 0;
  color: var(--primary);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.prose .link-btn:hover {
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 160;
  max-width: 460px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.15rem 1.1rem;
  text-align: center;
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.cookie-banner__text a,
.cookie-banner__links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent-strong);
  text-underline-offset: 3px;
}

.cookie-banner__links {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-banner__btn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .cookie-banner {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: 460px;
  }
}


/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 28, 28, 0.62);
}

.cookie-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: min(90vh, 680px);
  overflow-y: auto;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .cookie-modal__panel {
    padding: 2rem;
  }
}

.cookie-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  border-radius: var(--radius);
  background: var(--surface-low);
}

.cookie-modal__close:hover {
  background: var(--surface-container);
  color: var(--primary);
}

.cookie-modal__title {
  font-size: var(--fs-headline-sm);
  color: var(--primary);
  padding-right: 2.5rem;
  margin-bottom: 0.5rem;
}

.cookie-modal__text {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cookie-cat {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
}

.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.cookie-cat__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.cookie-cat__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--text);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.cookie-cat__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Accessible toggle switch */
.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

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

.cookie-switch__input {
  position: absolute;
  opacity: 0;
  width: 48px;
  height: 26px;
  margin: 0;
  cursor: pointer;
}

.cookie-switch__track {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: background-color 0.2s var(--ease);
}

.cookie-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}

.cookie-switch__input:checked + .cookie-switch__track {
  background: var(--primary);
}

.cookie-switch__input:checked + .cookie-switch__track::after {
  transform: translateX(22px);
  background: var(--accent);
}

.cookie-switch__input:focus-visible + .cookie-switch__track {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

.cookie-modal .cookie-banner__links {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-modal__actions .btn {
  width: 100%;
}

@media (min-width: 520px) {
  .cookie-modal__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cookie-modal__actions .btn {
    width: auto;
  }
}
