:root {
  --fig: #5e4656;
  --fig-deep: #342832;
  --brass: #c28e4b;
  --ivory: #f5f0e9;
  --stone: #e8dfd6;
  --ink: #231e1b;
  --muted: #6f625a;
  --line: #d8cbbf;
  --white: #fffaf5;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgb(245 240 233 / 0.92);
  border-bottom: 1px solid rgb(216 203 191 / 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--fig);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.2rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--fig);
}

.language-select {
  min-width: 5.2rem;
  padding: 0.45rem 1.9rem 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.hero {
  min-height: min(760px, calc(100vh - 4.2rem));
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgb(35 30 27 / 0.72), rgb(35 30 27 / 0.34) 44%, rgb(35 30 27 / 0.08)),
    image-set(url("/assets/hero-city.webp") type("image/webp"), url("/assets/hero-city.png") type("image/png"));
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.8rem, 12vh, 9rem) 0 clamp(2rem, 6vh, 4rem);
}

.eyebrow {
  color: var(--brass);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 16ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 6.2vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 42rem;
  margin-top: 1.2rem;
  color: rgb(255 250 245 / 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.desktop-break {
  display: block;
  white-space: nowrap;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fig);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--ghost {
  border-color: rgb(255 250 245 / 0.45);
  background: rgb(255 250 245 / 0.08);
}

.button--light {
  border-color: var(--line);
  background: var(--white);
  color: var(--fig);
}

.store-button {
  min-width: 11rem;
  background: var(--fig-deep);
}

.store-button[aria-pressed="true"]::after {
  content: " Soon";
  color: var(--brass);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.section--stone {
  background: var(--stone);
}

.section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section__head > *,
.preview > *,
.grid > * {
  min-width: 0;
}

.section__head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.category-list li {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--fig);
  font-weight: 800;
}

.preview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.preview img {
  border-radius: 8px;
  box-shadow: 0 24px 54px rgb(35 30 27 / 0.14);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature {
  padding-left: 1rem;
  border-left: 3px solid var(--brass);
}

.page-hero {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
  background: var(--fig);
  color: var(--white);
}

.page-hero--image {
  min-height: min(680px, calc(100vh - 4.2rem));
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
}

.page-hero--venues {
  background:
    linear-gradient(90deg, rgb(35 30 27 / 0.78), rgb(94 70 86 / 0.62) 46%, rgb(94 70 86 / 0.22)),
    image-set(url("/assets/hero-venues.webp") type("image/webp"), url("/assets/hero-venues.png") type("image/png"));
}

.page-hero--support {
  background:
    linear-gradient(90deg, rgb(35 30 27 / 0.78), rgb(94 70 86 / 0.6) 46%, rgb(94 70 86 / 0.2)),
    image-set(url("/assets/hero-support.webp") type("image/webp"), url("/assets/hero-support.png") type("image/png"));
}

.page-hero__inner,
.legal {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lead {
  color: rgb(255 250 245 / 0.86);
}

.legal {
  display: grid;
  gap: 1.5rem;
}

.legal section {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.legal ul,
.legal ol {
  padding-left: 1.3rem;
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: rgb(255 250 245 / 0.78);
}

.footer__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .section__head,
  .preview,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid--two {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
    background-position: 58% center;
  }

  .page-hero--image {
    min-height: 620px;
    background-position: 58% center;
  }
}

@media (max-width: 640px) {
  .desktop-break {
    display: inline;
    white-space: normal;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .store-button {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .actions > * {
    min-width: 0;
    width: 100%;
  }

  .actions .button--ghost {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
