:root {
  --ink: #1c1c1c;
  --paper: #f4f1ea;
  --brick: #c23b2e;
  --muted: #5e5852;
  --line: #ddd4c8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

a { color: var(--brick); }

.mast {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 4vw;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 4;
}

.logo {
  text-decoration: none;
  color: var(--brick);
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-right: auto;
}

.logo small {
  display: block;
  margin-top: 3px;
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.mast nav { display: flex; gap: 18px; }

.mast nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.mast nav a[aria-current="page"] { color: var(--brick); }

.nav-btn {
  display: none;
  flex-shrink: 0;
  background: var(--brick);
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.file {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 28px;
  padding: 52px 4vw;
  border-bottom: 1px solid var(--line);
}

.mark {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  color: var(--brick);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.file h1,
.file h2 {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 14px;
}

.file h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 16ch; }
.file h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 18ch; }

.file p { max-width: 64ch; margin: 0 0 12px; }
.file p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
  max-width: 860px;
}

.split p { margin: 0; }

.shot { margin: 0; border-bottom: 1px solid var(--line); }

.shot img {
  display: block;
  width: 100%;
  height: min(62vh, 520px);
  object-fit: cover;
}

.shot figcaption {
  margin: 0;
  padding: 12px 4vw 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot {
  padding: 28px 4vw 22px;
}

.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--brick); }
.copy { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }

.form { display: grid; gap: 8px; max-width: 460px; }

.form input,
.form textarea {
  font: inherit;
  padding: 11px 12px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
}

.form button {
  justify-self: start;
  margin-top: 6px;
  background: var(--brick);
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.62);
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal__card {
  background: var(--paper);
  width: min(420px, 100%);
  padding: 26px 22px;
  border-top: 8px solid var(--brick);
}

.modal__card h2 {
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 2rem;
}

.modal__card button {
  margin-top: 12px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-btn { display: inline-block; }

  .mast nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    padding: 8px 4vw 14px;
    gap: 0;
  }

  .mast nav.is-open { display: flex; }
  .mast nav a { padding: 9px 0; }

  .file { grid-template-columns: 1fr; padding: 36px 5vw; }
  .split { grid-template-columns: 1fr; }
  .shot img { height: 46vh; }
}
