/* ==========================================================================
   Beyond the Joystick — custom stylesheet
   Sections: 1 Tokens · 2 Global · 3 Typography · 4 Header · 5 Hero · 6 Buttons
   7 Article grid · 8 Article cards · 9 Labs · 10 About · 11 Support
   12 Footer · 13 Responsive · 14 Accessibility & reduced motion
   ========================================================================== */

/* 1. DESIGN TOKENS */
:root {
  --color-bg: #0B1220;
  --color-surface: #141F32;
  --color-alt: #101A2B;
  --color-text: #F1F0E8;
  --color-muted: #B8C2D1;
  --color-accent: #F0B44D;
  --color-border: #2B3A50;
  --color-on-accent: #0B1220;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 220ms ease;
  --container: 1160px;
  --shadow-hover: 0 14px 32px rgb(0 0 0 / 0.45);
}

/* 2. GLOBAL */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--color-accent); text-underline-offset: 0.2em; transition: color var(--transition); }
a:hover { color: var(--color-text); }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--color-alt); border-block: 1px solid var(--color-border); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 0.75rem 1rem; background: var(--color-accent); color: var(--color-on-accent); font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* 3. TYPOGRAPHY */
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
.section__title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.section__intro { max-width: 62ch; margin: 0 0 2.5rem; color: var(--color-muted); font-size: 1.125rem; }
.section__more { margin: 2.5rem 0 0; }
p { margin: 0 0 1em; max-width: 70ch; }

/* 4. HEADER AND NAVIGATION */
.site-header { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; flex-wrap: wrap; }
.brand { color: var(--color-text); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none; }
.brand:hover { color: var(--color-accent); }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav li a { color: var(--color-muted); text-decoration: none; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--color-text); border-bottom-color: var(--color-accent); }
.menu-toggle { display: none; background: transparent; color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.55rem 1rem; font: inherit; font-weight: 600; cursor: pointer; transition: border-color var(--transition); }
.menu-toggle:hover { border-color: var(--color-accent); }

/* 5. HERO */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(480px, 68vh, 600px); overflow: hidden; background: var(--color-alt); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-bg) 94%, transparent) 0%, color-mix(in srgb, var(--color-bg) 78%, transparent) 55%, color-mix(in srgb, var(--color-bg) 35%, transparent) 100%); }
.hero__content { position: relative; z-index: 2; padding-block: 3.5rem; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); letter-spacing: -0.03em; margin-bottom: 0.3em; }
.hero__subtitle { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; max-width: 30ch; }
.hero__text { max-width: 58ch; color: var(--color-text); font-size: 1.125rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* 6. BUTTONS */
.btn { display: inline-block; padding: 0.8rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius-sm); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color var(--transition), border-color var(--transition), color var(--transition); }
.btn--small { padding: 0.5rem 1rem; }
.btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn--primary:hover { background: var(--color-text); color: var(--color-on-accent); }
.btn--secondary { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* 7. ARTICLE GRID */
.article-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; margin-bottom: 1.75rem; }

/* 8. ARTICLE CARDS */
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-bottom: 0.6rem; font-size: 0.9rem; color: var(--color-muted); }
.card__category { color: var(--color-accent); font-weight: 600; }
.card__title { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: 0.6rem; }
.card__title a { color: var(--color-text); text-decoration: none; transition: color var(--transition); }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card is one link */
.card__summary { flex: 1; color: var(--color-muted); font-size: 0.975rem; line-height: 1.6; }
.card__cta { color: var(--color-accent); font-weight: 600; font-size: 0.95rem; }
.card__cta::after { content: ""; display: block; height: 2px; width: 0; margin-top: 2px; background: currentColor; transition: width var(--transition); }
@media (hover: hover) {
  .card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); border-color: var(--color-accent); z-index: 1; }
  .card:hover .card__media img { transform: scale(1.04); }
  .card:hover .card__title a { color: var(--color-accent); }
  .card:hover .card__cta::after { width: 100%; }
}

/* 9. LABS AND PROJECTS */
.lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.lab-card { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.75rem; background: var(--color-bg); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); transition: border-color var(--transition); }
.lab-card:hover { border-color: var(--color-accent); }
.lab-card__type { margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--color-accent); }
.lab-card__title { font-size: 1.3rem; }
.lab-card__title a { color: var(--color-text); text-decoration: none; }
.lab-card__title a::after { content: ""; position: absolute; inset: 0; }
.lab-card__summary { margin: 0; color: var(--color-muted); font-size: 0.975rem; }
.empty-state { max-width: 60ch; padding: 1.5rem; border: 1px dashed var(--color-border); border-radius: var(--radius-sm); }
.empty-state p { color: var(--color-muted); }

/* 10. ABOUT */
.about { max-width: 52rem; }
.about p { color: var(--color-muted); font-size: 1.125rem; }

/* 11. SUPPORT */
.support { max-width: 52rem; }
.support p { color: var(--color-muted); font-size: 1.125rem; }

/* 12. FOOTER */
.site-footer { padding-block: 3rem 2rem; background: var(--color-bg); border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: 0.95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer__brand { margin-bottom: 0.4rem; color: var(--color-text); font-weight: 700; font-size: 1.1rem; }
.footer__about { max-width: 38ch; }
.site-footer nav ul { display: grid; gap: 0.5rem; }
.site-footer a { color: var(--color-muted); }
.site-footer a:hover { color: var(--color-accent); }
.footer__legal { margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: 0.875rem; max-width: none; }

/* 13. RESPONSIVE LAYOUTS */
@media (max-width: 899px) {
  .menu-toggle { display: inline-block; }
  .menu-toggle[hidden] { display: none; }
  .site-nav { width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; }
  .site-nav ul { flex-direction: column; gap: 0.25rem; width: 100%; }
  .site-nav li a { display: block; padding: 0.7rem 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}
@media (max-width: 719px) {
  .article-group { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero::before { background: color-mix(in srgb, var(--color-bg) 84%, transparent); }
  .hero__content { padding-block: 3rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* 14. ACCESSIBILITY AND REDUCED MOTION */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.card__title a:focus-visible, .lab-card__title a:focus-visible { outline: none; }
.card__title a:focus-visible::after, .lab-card__title a:focus-visible::after { outline: 3px solid var(--color-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* =========================================
   HOMEPAGE REFINEMENTS
   ========================================= */

:root {
    --content-width: 1160px;
}

.container {
    width: min(100% - 3rem, var(--content-width));
    margin-inline: auto;
}

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.section__header {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section__eyebrow,
.hero__eyebrow {
    margin-bottom: 0.85rem;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.section__title {
    max-width: 22ch;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section__intro {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.75;
}

.section__more {
    margin-top: 2.5rem;
}

.hero {
    isolation: isolate;
    min-height: clamp(480px, 68vh, 640px);
    background: var(--color-alt);
}

.hero__img {
    z-index: -2;
    object-position: center 45%;
}

.hero::before {
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgb(11 18 32 / 96%) 0%,
        rgb(11 18 32 / 88%) 42%,
        rgb(11 18 32 / 48%) 100%
    );
}

.hero__content {
    width: min(100% - 3rem, var(--content-width));
    padding-block: clamp(4rem, 9vw, 7rem);
}

.hero h1 {
    max-width: 12ch;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero__subtitle {
    max-width: 35ch;
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    line-height: 1.35;
}

.hero__text {
    max-width: 58ch;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.8;
}

.hero__actions {
    gap: 0.85rem;
}

/* =========================================
   ARTICLE SLIDER
   ========================================= */

.articles-slider {
    --slider-gap: 1.5rem;
    position: relative;
    min-width: 0;
}

.articles-slider__viewport {
    width: 100%;
    overflow: hidden;
}

.articles-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--slider-gap);
    position: relative;
    transition: transform 450ms ease;
}

.articles-slider__slide {
    display: flex;
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
}

.articles-slider__slide .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: auto;
}

.articles-slider__slide .card__media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.articles-slider__slide .card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-slider__slide .card__body {
    flex: 1;
    min-width: 0;
}

.articles-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.articles-slider__arrow {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    font-size: 1.25rem;
    cursor: pointer;
}

.articles-slider__arrow:hover:not(:disabled) {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-bg);
}

.articles-slider__arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.articles-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.articles-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
}

.articles-slider__dot[aria-current="true"] {
    background: var(--color-accent);
    transform: scale(1.25);
}

.articles-slider__pause {
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: transparent;
    color: var(--color-muted);
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.articles-slider__pause:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.articles-slider__arrow:focus-visible,
.articles-slider__pause:focus-visible,
.articles-slider__dot:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* =========================================
   OTHER HOMEPAGE ELEMENTS
   ========================================= */

.about,
.support {
    max-width: 760px;
}

.about > p:not(.section__eyebrow),
.support > p:not(.section__eyebrow) {
    color: var(--color-muted);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.85;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-underline-offset: 0.3em;
}

.section--support {
    background: var(--color-alt);
    border-block: 1px solid var(--color-border);
}

.empty-state {
    max-width: 760px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.empty-state p {
    color: var(--color-muted);
}

.lab-card {
    min-width: 0;
}

.lab-card__title {
    overflow-wrap: anywhere;
}

/* RESPONSIVE */

@media (min-width: 1400px) {
    .articles-slider__slide {
        flex-basis: calc((100% - 3rem) / 3);
    }
}

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

    .articles-slider__slide {
        flex-basis: calc((100% - var(--slider-gap)) / 2);
    }
}

@media (max-width: 719px) {
    .container,
    .hero__content {
        width: min(100% - 2rem, var(--content-width));
    }

    .hero {
        min-height: 0;
    }

    .hero__img {
        object-position: 58% center;
    }

    .hero::before {
        background: rgb(11 18 32 / 82%);
    }

    .hero__content {
        padding-block: 4.5rem;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .articles-slider {
        --slider-gap: 1rem;
    }

    .articles-slider__slide {
        flex-basis: 100%;
    }

    .articles-slider__controls {
        gap: 0.65rem;
    }

    .articles-slider__pause {
        margin-left: 0.1rem;
    }

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

    .section__header {
        margin-bottom: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .articles-slider__track,
    .articles-slider__arrow,
    .articles-slider__dot {
        transition: none !important;
    }
}

```css
/* =========================================
   BEYOND THE JOYSTICK — HEADER
   ========================================= */

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(12, 24, 43, 0.97);
  color: #f7f5ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.12);
}

.header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo and site name */

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: #f7f5ef;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__name {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.brand__tagline {
  color: #c2cbd7;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Navigation */

.site-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-header .site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .site-nav li {
  margin: 0;
  padding: 0;
}

.site-header .site-nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: #e0e5ec;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.site-header .site-nav li a:hover,
.site-header .site-nav li a[aria-current="page"] {
  color: #ffc66d;
  background: rgba(255, 255, 255, 0.07);
}

.site-header .site-nav .btn {
  white-space: nowrap;
  text-decoration: none;
}

.site-header .site-nav .btn--primary {
  background: #f4b34f;
  color: #172338;
  border: 1px solid #f4b34f;
  border-radius: 7px;
  font-weight: 750;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.site-header .site-nav .btn--primary:hover {
  background: #ffd083;
  border-color: #ffd083;
  transform: translateY(-1px);
}

/* Keyboard accessibility */

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid #ffc66d;
  outline-offset: 4px;
}

/* Mobile menu button */

.site-header .menu-toggle {
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  color: #f7f5ef;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.site-header .menu-toggle[hidden] {
  display: none;
}

.menu-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-toggle__icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* Tablet and mobile */

@media (max-width: 900px) {
  .header__inner {
    min-height: 78px;
    gap: 16px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 1.02rem;
  }

  .brand__tagline {
    font-size: 0.61rem;
  }

  .site-header .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-header .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px max(20px, calc((100% - 1120px) / 2));
    background: #0c182b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  }

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

  .site-header .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-header .site-nav li a {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
  }

  .site-header .site-nav .btn {
    align-self: flex-start;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
  }
}

@media (max-width: 420px) {
  .header__inner {
    gap: 10px;
  }

  .site-header .brand {
    gap: 9px;
  }

  .brand__logo {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 0.91rem;
  }

  .brand__tagline {
    max-width: 180px;
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }

  .site-header .menu-toggle {
    gap: 7px;
    padding: 0 9px;
  }
}

/* Full-width site header */

.site-header {
  width: 100%;
  background: #0b1220;
  border-bottom: 1px solid #2b3a50;
}

.header__inner {
  width: 100%;
  max-width: none;
  min-height: 88px;
  padding: 16px clamp(20px, 4vw, 64px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
}

/* Title followed by logo */

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  color: #f1f0e8;
  text-decoration: none;
}

.site-header .brand__name {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.site-header .brand__logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Navigation */

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

.site-header .site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .site-nav a {
  color: #dce3ed;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header .site-nav a:hover {
  color: #f0b44d;
}

.site-header .menu-toggle {
  color: #f1f0e8;
  background: transparent;
  border: 1px solid #526078;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.site-header .menu-toggle[hidden] {
  display: none;
}

/* Responsive navigation */

@media (max-width: 800px) {
  .header__inner {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .brand__name {
    font-size: 1.05rem;
  }

  .site-header .brand__logo {
    width: 40px;
    height: 40px;
  }

  .site-header .menu-toggle {
    display: inline-block;
  }

  .site-header .site-nav {
    display: none;
    width: 100%;
    padding: 8px 0 12px;
  }

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

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

  .site-header .site-nav a {
    display: block;
    padding: 5px 0;
  }
}

/* Brand title hover effect */

.site-header .brand__name {
  color: #f1f0e8;
  transition: color 200ms ease;
}

.site-header .brand:hover .brand__name {
  color: #f4b34f;
}

.site-header .brand:focus-visible .brand__name {
  color: #f4b34f;
}

