:root {
  --color-bg: #ffffff;
  --color-text: #231f20;
  --color-text-muted: rgba(35, 31, 32, 0.65);
  --color-primary: #a41b1a;
  --color-primary-hover: #841615;

  --font-base: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span {
  background: var(--color-text);
}

.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);
}

.gallery {
  padding: clamp(40px, 5vw, 80px) 0;
  overflow: hidden;
}

.gallery__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 28px);
}

.gallery__row {
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: clamp(16px, 1.8vw, 28px);
  width: max-content;
  will-change: transform;
}

.gallery__tile {
  flex: 0 0 auto;
  width: clamp(220px, 18vw, 320px);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
