/* For the Win Game Store — warm, photo-forward layout */

:root {
  --bg: #f6f3ee;
  --bg-white: #ffffff;
  --bg-warm: #efe8dc;
  --text: #1f2933;
  --text-muted: #5c6b7a;
  --brand: #b91c1c;
  --brand-dark: #7f1d1d;
  --brand-soft: rgba(185, 28, 28, 0.1);
  --accent: #c2410c;
  --border: rgba(31, 41, 51, 0.12);
  --shadow: 0 8px 32px rgba(31, 41, 51, 0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --font-display: "Roboto Slab", Georgia, serif;
  --font-body: "Libre Franklin", system-ui, sans-serif;
  --header-h: 76px;
  --container: min(1080px, 100% - 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 3px solid var(--brand);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 2px solid var(--bg-white);
}

.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-dark);
}

.logo-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

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

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

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

.nav-social {
  margin-left: 0.25rem;
}

.nav-social-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.nav-social-link:hover {
  color: var(--brand);
  background: rgba(185, 28, 28, 0.08);
}

.nav-social-link svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-admin {
  margin-left: 0.15rem;
}

.admin-auth-btn,
.admin-bar-logout {
  font: inherit;
  cursor: pointer;
}

.admin-auth-btn {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.admin-auth-btn:hover {
  color: var(--brand);
  border-color: rgba(185, 28, 28, 0.35);
  background: var(--brand-soft);
}

body.is-admin .admin-auth-btn {
  color: var(--brand-dark);
  border-color: rgba(185, 28, 28, 0.45);
  background: var(--brand-soft);
}

[data-admin-only] {
  display: none;
}

body.is-admin [data-admin-only] {
  display: block;
}

.btn-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

.admin-inline-actions {
  margin-top: 0.75rem;
}

#games-add-card-btn {
  background: var(--brand);
  color: #fff;
  border-color: rgba(127, 29, 29, 0.65);
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.18);
}

#games-add-card-btn:hover {
  background: var(--brand-dark);
}

.game-card-actions {
  display: none;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

body.is-admin .game-card-actions {
  display: flex;
}

.game-card-action {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.game-card-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.game-card-action--danger {
  border-color: rgba(153, 27, 27, 0.7);
  background: rgba(153, 27, 27, 0.12);
  color: #991b1b;
}

.game-card-action--danger:hover {
  background: rgba(153, 27, 27, 0.2);
}

.admin-bar {
  background: #422006;
  color: #fef3c7;
  border-bottom: 1px solid rgba(254, 243, 199, 0.15);
}

.admin-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding-block: 0.45rem;
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-bar-action {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(254, 243, 199, 0.35);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
}

.admin-bar-action:hover {
  background: rgba(254, 243, 199, 0.12);
}

.admin-bar-message {
  margin: 0;
  font-size: 0.875rem;
}

.admin-bar-note {
  color: rgba(254, 243, 199, 0.78);
}

.admin-bar-logout {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(254, 243, 199, 0.35);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
}

.admin-bar-logout:hover {
  background: rgba(254, 243, 199, 0.12);
}

.admin-login-dialog {
  width: min(100% - 2rem, 24rem);
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.admin-login-dialog::backdrop {
  background: rgba(31, 41, 51, 0.55);
}

.admin-login-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.admin-login-header h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.admin-login-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.admin-login-field {
  display: grid;
  gap: 0.35rem;
}

.admin-login-field span {
  font-size: 0.875rem;
  font-weight: 600;
}

.admin-login-field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
}


.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.password-toggle-icon--hide {
  display: none;
}

.password-toggle.is-visible .password-toggle-icon--show {
  display: none;
}

.password-toggle.is-visible .password-toggle-icon--hide {
  display: block;
}

.admin-login-field input:focus {
  outline: 2px solid rgba(185, 28, 28, 0.35);
  outline-offset: 1px;
  border-color: rgba(185, 28, 28, 0.45);
}

.admin-login-error {
  min-height: 1.25rem;
  margin: 0;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 600;
}

.admin-login-success {
  min-height: 1.25rem;
  margin: 0;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 600;
}

.admin-login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(127, 29, 29, 0.88) 0%,
    rgba(31, 41, 51, 0.75) 45%,
    rgba(31, 41, 51, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 14vw, 8rem) 0 clamp(3rem, 8vw, 4rem);
  color: #fff;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.hero-logo {
  width: clamp(10.5rem, 28vw, 11.5rem);
  height: clamp(10.5rem, 28vw, 11.5rem);
  margin: 0 auto 1.5rem;
  border-radius: 22px;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.4);
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

.hero-lead strong {
  color: #fde68a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.2s;
}

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

.btn-primary {
  background: #fff;
  color: var(--brand-dark);
}

.btn-primary:hover {
  background: #fde68a;
  color: var(--brand-dark);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 0;
  padding: 1.75rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
}

.section-header {
  margin-bottom: 2rem;
  max-width: 36ch;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
  max-width: 40ch;
}

.section-header h2,
.about-copy h2,
.events-copy h2,
.shop-banner h2,
.visit-info h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--brand-dark);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* About */


.about-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}


.about {
  position: relative;
  padding: clamp(4rem, 12vw, 6rem) 0;
  overflow: hidden;
}

.about-cover {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/about-backdrop.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.about-copy {
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--brand);
}

.about-copy h2 {
  color: var(--brand-dark);
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-copy p:last-of-type {
  margin-bottom: 0;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}


/* Gallery */
.gallery {
  background: var(--bg-warm);
}





.gallery-status {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem !important;
}

.carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto 1rem;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--bg-white);
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 520px);
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

.carousel-loading,
.carousel-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.15s;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn--prev {
  left: 0.75rem;
}

.carousel-btn--next {
  right: 0.75rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot.is-active {
  background: var(--brand);
  transform: scale(1.25);
}

.gallery-more {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

.gallery-more a {
  text-decoration: none;
}

@media (max-width: 640px) {
  .carousel-btn {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
  }

  .carousel-btn--prev {
    left: 0.35rem;
  }

  .carousel-btn--next {
    right: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}


/* Games */
.game-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow);
}

.game-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brand-dark);
}

.game-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Events */
/* Events list (from data/events.json) */
.events-layout {
  max-width: 56rem;
  margin-inline: auto;
}

.events-weekly-schedule {
  margin: 0 0 2rem;
}

.events-weekly-schedule img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.events-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.events-header h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--brand-dark);
}

.events-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.events-status {
  margin-top: 0.75rem !important;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.events-list {
  min-height: 4rem;
}

.events-loading,
.events-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1rem;
}

.events-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-card {
  padding: 1.15rem 1.35rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow);
}

.event-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.event-title:hover {
  color: var(--brand);
}

.event-when {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.event-location {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.event-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}


.events {
  background: var(--bg-white);
}

.events-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .events-panel {
    grid-template-columns: 1fr 1fr;
  }
}

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

.events-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* Shop */
.shop-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid var(--brand-soft);
}

.shop-logo {
  border-radius: 10px;
  flex-shrink: 0;
}

.shop-banner p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  flex: 1;
  min-width: 12rem;
}

/* Visit */
.visit-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .visit-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.visit-info h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.visit-address,
.visit-contact {
  color: var(--text-muted);
}

.visit-contact a {
  font-weight: 600;
  text-decoration: none;
}

.hours-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hours-table {
  width: 100%;
  max-width: 20rem;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.45rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours-table th {
  font-weight: 600;
  color: var(--text-muted);
  width: 42%;
}

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.social-links a {
  font-weight: 700;
  text-decoration: none;
}

.visit-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .visit-map iframe {
    min-height: 360px;
    height: 100%;
  }
}

.map-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo {
  border-radius: 10px;
  flex-shrink: 0;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-note {
  opacity: 0.75;
  margin-top: 0.25rem !important;
}

.site-footer a {
  color: #fde68a;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.6rem 0;
  }

  .nav-social {
    margin-left: 0;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .nav-social-list {
    justify-content: center;
    gap: 1rem;
  }

  .nav-social-link {
    width: 2.75rem;
    height: 2.75rem;
  }

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

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

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

  .photo-grid li:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

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

  .btn:hover,
  .photo-grid li:hover img {
    transform: none;
  }
}
