:root {
  --red: #c41e3a;
  --red-dark: #8e1026;
  --ink: #1a1414;
  --paper: #f4ead8;
  --cream: #fff8ee;
  --yellow: #f0c94a;
  --muted: #5c5148;
  --line: 4px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 4px;
  --font-display: "Bangers", "Impact", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::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(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle, rgba(26, 20, 20, 0.09) 1.1px, transparent 1.2px);
  background-size: 7px 7px;
}

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

a {
  color: var(--red-dark);
  font-weight: 600;
}

a:hover {
  color: var(--red);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  z-index: 30;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--red);
  border-bottom: var(--line);
}

.site-header__bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.site-header__mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--cream);
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
}

.site-header__eyes {
  width: 2.1rem;
  height: 1.35rem;
  background:
    radial-gradient(ellipse 42% 70% at 28% 50%, var(--cream) 0 70%, transparent 71%),
    radial-gradient(ellipse 42% 70% at 72% 50%, var(--cream) 0 70%, transparent 71%),
    var(--ink);
  border-radius: 0.4rem;
  border: 2px solid var(--ink);
}

.site-header__toggle {
  margin-left: auto;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.site-header__nav {
  width: 100%;
}

.site-header__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.site-header__nav.is-open .site-header__list,
.site-header__list.is-open {
  display: flex;
}

.site-header__list a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  padding: 0.25rem 0;
}

.site-header__list a:hover {
  color: var(--yellow);
}

@media (min-width: 960px) {
  .site-header__toggle {
    display: none;
  }

  .site-header__nav {
    width: auto;
    margin-left: auto;
  }

  .site-header__list,
  .site-header__nav .site-header__list {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: 3rem;
  padding: 2.5rem 1.2rem 1.5rem;
  border-top: 8px solid var(--red);
}

.site-footer a {
  color: var(--yellow);
}

.site-footer__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

.site-footer__tag,
.site-footer__legal {
  color: #d7cbb8;
}

.site-footer__label {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.site-footer__address {
  font-style: normal;
  margin-bottom: 0.6rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
}

.site-footer__legal {
  max-width: 1120px;
  margin: 2rem auto 0;
  font-size: 0.9rem;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.2rem;
}

.panel {
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.hero {
  display: grid;
  gap: 0;
  border-bottom: var(--line);
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 32rem;
  }
}

.hero__copy {
  background: var(--red);
  color: var(--cream);
  padding: 2.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.hero h1 {
  color: var(--yellow);
}

.hero__copy p {
  font-size: 1.15rem;
  max-width: 36rem;
}

.hero__figure {
  margin: 0;
  border-left: var(--line);
  overflow: hidden;
  background: var(--ink);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
}

.hero__caption {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  border-top: var(--line);
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
}

.btn--solid {
  background: var(--yellow);
  color: var(--ink);
}

.btn--ghost {
  background: var(--cream);
  color: var(--ink);
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
}

.grid-cards {
  display: grid;
  gap: 1.2rem;
}

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

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

.card {
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-bottom: var(--line);
}

.card__body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body p:last-of-type {
  flex: 1;
}

.mast {
  padding: 2rem 1.2rem 0.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.mast p {
  max-width: 42rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 1.6rem;
}

.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.quote {
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  position: relative;
}

.quote::before {
  content: "!!";
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1.6rem;
}

.quote footer {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.people {
  display: grid;
  gap: 1rem;
}

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

.person img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-bottom: var(--line);
}

.table-wrap {
  overflow-x: auto;
  border: var(--line);
  box-shadow: var(--shadow);
  background: var(--cream);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 2px solid var(--ink);
  vertical-align: top;
}

th {
  background: var(--yellow);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 3px solid var(--ink);
  background: #fff;
}

.form textarea {
  min-height: 8rem;
}

.field-error {
  color: var(--red-dark);
  font-size: 0.92rem;
  margin: 0.25rem 0 0;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 700;
}

.form-status.is-ok {
  color: #1f6b3a;
}

.form-status.is-bad {
  color: var(--red-dark);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 40;
}

.cookie-banner__panel {
  max-width: 640px;
  margin-left: auto;
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cover-grid {
  display: grid;
  gap: 1rem;
}

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

.cover-tile {
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
}

.cover-tile img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-bottom: var(--line);
}

.cover-tile figcaption {
  padding: 0.8rem 0.9rem 1rem;
}

.steps {
  counter-reset: panel;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: panel;
  background: var(--cream);
  border: var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 1rem 3.2rem;
  margin-bottom: 0.9rem;
  position: relative;
}

.steps li::before {
  content: counter(panel);
  position: absolute;
  left: 0.6rem;
  top: 0.7rem;
  font-family: var(--font-display);
  background: var(--red);
  color: var(--yellow);
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
}

.banner-404 {
  text-align: center;
  padding: 4rem 1rem;
}

.banner-404 h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--red);
}
