:root {
  --ink: #1c1914;
  --paper: #f4efe6;
  --paper-deep: #e8dfd0;
  --clay: #c45c26;
  --clay-dark: #9a4318;
  --olive: #3d4a32;
  --olive-deep: #2a3323;
  --brass: #b08d4a;
  --fog: #d9cfc0;
  --rule: #cfc3b0;
  --white: #fffaf3;
  --error: #8b2e1f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --space: 1.25rem;
  --max: 72rem;
  --radius: 0.35rem;
  --shadow: 0 12px 40px rgba(28, 25, 20, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a {
  color: var(--olive);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay-dark);
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--olive);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 1000;
}

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

.header {
  background: var(--olive-deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.header__mark {
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.header__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.header__ticket {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.header__toggle {
  margin-left: auto;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--brass);
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav {
  width: 100%;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav__link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
}

.nav__link:hover {
  color: var(--brass);
}

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

  .nav[hidden] {
    display: block !important;
    width: auto;
    margin-left: auto;
  }

  .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.1rem;
    padding: 0;
  }
}

.main {
  min-height: 60vh;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.masthead {
  display: grid;
  gap: 0;
  background: var(--olive-deep);
  color: var(--paper);
}

.masthead__sheet {
  padding: 2.5rem 1.25rem 2.25rem;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
}

.masthead__stamp {
  display: inline-block;
  border: 2px solid var(--clay);
  color: var(--clay);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  margin-bottom: 1rem;
}

.masthead__lanes {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--white);
}

.masthead__log {
  margin: 0;
  color: var(--paper-deep);
  max-width: 34rem;
}

.masthead__action {
  margin-top: 1.5rem;
}

.masthead__photo {
  min-height: 16rem;
  background: #2a241c center/cover no-repeat;
}

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

  .masthead__sheet {
    margin: 0;
    max-width: none;
    padding: 4.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .masthead__photo {
    min-height: 100%;
  }
}

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.15rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.btn--primary:hover {
  background: var(--clay-dark);
  color: var(--white);
  border-color: var(--clay-dark);
}

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

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

.btn--veve {
  background: var(--brass);
  color: var(--olive-deep);
  border-color: var(--brass);
}

.btn--veve:hover {
  background: #c9a45c;
  color: var(--olive-deep);
}

.section {
  padding: 2.75rem 0;
}

.section--fog {
  background: var(--paper-deep);
}

.section__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin: 0 0 0.4rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lede {
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

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

@media (min-width: 720px) {
  .board--two {
    grid-template-columns: 1fr 1fr;
  }

  .board--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ticket {
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  position: relative;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--olive) 0 10px,
    transparent 10px 14px
  );
}

.ticket h3 {
  font-family: var(--font-display);
  margin: 0.6rem 0 0.4rem;
  font-size: 1.35rem;
}

.ticket__meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

.media {
  margin: 0 0 0.85rem;
  overflow: hidden;
  border-radius: 2px;
}

.media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.quote {
  background: var(--white);
  border-left: 4px solid var(--clay);
  padding: 1.1rem 1.2rem;
  margin: 0 0 1rem;
}

.quote p {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--olive);
}

.prose h1,
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.prose h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 0 0 0.8rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 1.8rem 0 0.6rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--rule);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--paper-deep);
}

.list-plain {
  padding-left: 1.1rem;
}

.hero-page {
  margin: 0 0 1.5rem;
}

.hero-page img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}

.rate-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--rule);
}

.rate-row strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer {
  background: var(--olive-deep);
  color: var(--paper-deep);
  padding: 2.5rem 1.25rem 3rem;
}

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

.footer a:hover {
  color: var(--white);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer__inner {
    grid-template-columns: 1fr 0.6fr;
  }

  .footer__legal {
    grid-column: 1 / -1;
  }
}

.footer__name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.footer__tag,
.footer__addr,
.footer__phone,
.footer__mail {
  margin: 0 0 0.35rem;
}

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

.footer__legal {
  font-size: 0.82rem;
  line-height: 1.55;
  border-top: 1px solid rgba(176, 141, 74, 0.35);
  padding-top: 1.25rem;
}

.footer__legal p {
  margin: 0 0 0.85rem;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 4px solid var(--clay);
  box-shadow: 0 -8px 30px rgba(28, 25, 20, 0.16);
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.2rem;
}

.cookie-banner__title {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
}

.cookie-banner__text {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

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

.js-error {
  background: var(--error);
  color: #fff;
  padding: 0.7rem 1.25rem;
  text-align: center;
}

.page-404 {
  text-align: center;
  padding: 4rem 1.25rem;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.contact-block {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.4rem;
  max-width: 36rem;
}

.contact-block p {
  margin: 0.35rem 0;
}

.story {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

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

.desk-steps li {
  counter-increment: step;
  position: relative;
  padding: 0.9rem 0 0.9rem 3.2rem;
  border-bottom: 1px dashed var(--rule);
}

.desk-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}
