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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  margin: 0;
  font-family: Assistant, "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1c1916;
  background: #f7f2ea;
}

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

a {
  color: #6d3829;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8f4a38;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  background: #1c1916;
  color: #fff;
  padding: 0.6rem 1rem;
  transform: translateY(-200%);
  z-index: 20;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  background: rgba(247, 242, 234, 0.96);
  border-block-end: 1px solid #e4d9cc;
}

.header-inner {
  max-width: 52rem;
  margin-inline: auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  flex: 1 1 12rem;
}

.nav a {
  text-decoration: none;
  color: #3d3833;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.25rem;
  background: #8f4a38;
  color: #fffdf8;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background: #743c2e;
}

.btn-ghost {
  background: transparent;
  color: #6d3829;
  box-shadow: inset 0 0 0 2px #8f4a38;
}

.btn-ghost:hover {
  background: #efe6db;
}

.btn-header {
  margin-inline-start: auto;
}

@media (max-width: 640px) {
  .btn-header {
    width: 100%;
    margin-inline-start: 0;
  }
}

main,
.site-footer {
  max-width: 46rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section {
  padding-block: 2.5rem;
  border-block-end: 1px solid #e4d9cc;
  scroll-margin-top: 7.5rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  margin: 0.2rem 0 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

p {
  max-width: 65ch;
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: none;
  color: #5d6b5a;
  font-weight: 600;
  margin-bottom: 0;
}

.lede {
  font-size: 1.25rem;
}

.meta {
  color: #5c534c;
}

.hero {
  padding-block-start: 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block: 1.25rem 2rem;
}

.hero-art img {
  width: 100%;
  border-radius: 4px;
}

.note {
  background: #efe6db;
  padding: 1rem 1.15rem;
  border-inline-start: 4px solid #8f4a38;
}

.plain-list {
  padding-inline-start: 1.2rem;
  margin: 0 0 1.25rem;
}

.plain-list li {
  margin-block-end: 0.65rem;
  max-width: 65ch;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1c1916;
  border-radius: 4px;
  overflow: hidden;
}

.video-wrap iframe,
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-poster {
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #1c1916;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.play-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #8f4a38;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.gallery {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.gallery figure:nth-child(5) img {
  aspect-ratio: 3 / 4;
}

@media (min-width: 640px) {
  .gallery figure:nth-child(5) {
    grid-row: span 2;
  }

  .gallery figure:nth-child(5) img {
    height: 100%;
  }
}

.creators {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .creators {
    grid-template-columns: 1fr 1fr;
  }
}

form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label,
legend {
  font-weight: 600;
}

.req {
  color: #8f4a38;
}

.hint {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #5c534c;
}

.field-error {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #8a2b1e;
}

form.tried input:invalid,
form.tried textarea:invalid {
  border-color: #8a2b1e;
}

::placeholder {
  color: #8a8178;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  border: 1px solid #c9bdb0;
  border-radius: 4px;
  background: #fffdf8;
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  min-height: 44px;
}

.choice input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin-block-start: 0.3rem;
  flex-shrink: 0;
}

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

.form-status {
  margin: 0;
  font-weight: 600;
}

.form-status.is-ok {
  color: #3d5a40;
}

.form-status.is-err {
  color: #8a2b1e;
}

.site-footer {
  padding-block: 2rem 3rem;
  color: #5c534c;
  font-size: 1rem;
}

.privacy {
  font-size: 0.95rem;
}

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