@font-face {
  font-family: "AUTHENTICSans Condensed";
  src: url("/assets/fonts/AUTHENTICSans-Condensed-130.woff") format("woff"),
       url("/assets/fonts/AUTHENTICSans-Condensed-130.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #471b19;
  --ink: #f8ead0;
  --accent: #e2e100;
  --link-hover: #ffffff;
  --max-content: 72rem;
  --gap: clamp(1rem, 2vw, 2rem);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: "AUTHENTICSans Condensed", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: clamp(18px, 1.1vw + 14px, 22px);
  line-height: 1.35;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }

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

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #000; padding: .5rem 1rem; z-index: 99;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  padding: clamp(1rem, 2.5vw, 2rem) var(--gap) 0;
  max-width: var(--max-content);
  margin: 0 auto;
}

.site-nav__tiles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
}

.site-nav__tile { display: flex; }
.site-nav__tile a {
  display: block;
  line-height: 0;
  transition: transform .15s ease;
}
.site-nav__tile a:hover,
.site-nav__tile a:focus { transform: scale(1.08); }
.site-nav__tile.is-current a { filter: drop-shadow(0 0 .25rem var(--accent)); }
.site-nav__tile img {
  width: auto;
  height: clamp(2.25rem, 4.5vw, 3.25rem);
  max-width: 100%;
}

.site-main {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gap);
  text-align: center;
}

.page-mark {
  display: block;
  margin: 0 auto .75rem;
  max-width: min(45%, 160px);
  transition: transform .15s ease;
}
a.page-mark:hover,
a.page-mark:focus { transform: scale(1.06); }
.page-mark img { width: 100%; }

.page-title {
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  max-width: min(80%, 420px);
}
.page-title img { width: 100%; }

.hero { margin: 0 auto clamp(1rem, 3vw, 2rem); }
.hero img { margin: 0 auto; max-width: min(92%, 720px); }

.art-card {
  background: var(--ink);
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  margin: 0 auto clamp(1rem, 3vw, 2rem);
  max-width: min(92%, 640px);
}
.art-card img { margin: 0 auto; width: 100%; }

.photo {
  margin: clamp(1.5rem, 4vw, 2.5rem) auto;
  max-width: min(92%, 720px);
  border-radius: .5rem;
  overflow: hidden;
}
.photo img { width: 100%; display: block; }

.cta {
  display: inline-block;
  margin: clamp(1rem, 2vw, 1.5rem) auto;
  max-width: min(86%, 560px);
  transition: transform .15s ease;
}
.cta:hover, .cta:focus { transform: scale(1.04); }
.cta img { width: 100%; }

.prose {
  text-align: left;
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}
.prose p { margin: 0 0 1.2em; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose ul li { margin-bottom: .4em; }

.button-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.button-list li { display: flex; justify-content: center; }
.button-list a { display: block; width: 100%; max-width: 320px; transition: transform .15s ease; }
.button-list a:hover, .button-list a:focus { transform: scale(1.04); }
.button-list img { width: 100%; }

.embed { margin: 1.5rem auto; max-width: 720px; }
.embed iframe { width: 100%; border: 0; display: block; }
.embed-youtube { aspect-ratio: 16 / 9; }
.embed-youtube iframe { height: 100%; }
.embed-caption {
  font-size: .85rem;
  color: var(--ink);
  margin: .5rem 0 0;
  text-align: center;
  opacity: .7;
}
.embed-caption a { color: inherit; }

.sound-year { margin: 2.5rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
