:root {
  --paper: #f6f1e9;
  --ink: #161512;
  --muted: #5f5a52;
  --blue: #164e7a;
  --rule: #cfc5b6;
  --rule-dark: #9a907f;
  --panel: rgba(255, 252, 245, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18px 22px, rgba(22, 21, 18, 0.045) 0 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

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

.page {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 24px 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--rule-dark);
}

.logo {
  width: clamp(180px, 21vw, 280px);
  mix-blend-mode: multiply;
}

.language-switch {
  display: flex;
  gap: 18px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  font-weight: 700;
}

.language-switch a {
  padding: 8px 0;
  color: var(--blue);
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero,
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--rule);
}

.examples {
  padding: clamp(30px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--rule);
}

.examples-intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

h1,
h2 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  max-width: 720px;
  color: var(--blue);
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -0.025em;
}

.lead,
.copy,
.contact-copy {
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  line-height: 1.62;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.lead + .lead {
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.button:hover {
  background: #103c60;
}

.art,
.example-card {
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.art {
  overflow: hidden;
}

.art img {
  mix-blend-mode: multiply;
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 28px;
  padding: 0 12px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.copy {
  margin: 22px 0 0;
  font-size: 0.96rem;
}

.example-card {
  overflow: hidden;
}

.example-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--rule);
  background: rgba(22, 78, 122, 0.06);
  color: var(--blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.example-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.example-body {
  padding: clamp(22px, 2.5vw, 30px);
}

.example-card h3,
.example-invitation h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.3rem;
}

.example-card .copy {
  margin-top: 12px;
}

.example-invitation {
  margin-top: 24px;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: var(--panel);
}

.example-invitation .copy {
  margin-top: 12px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px) 0 16px;
}

.contact-copy {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 0.96rem;
}

.contact .button {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(100%, 620px);
  }

  .examples-grid {
    grid-template-columns: 1fr;
  }

  .contact .button {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 16px 16px 24px;
  }

  .hero,
  .section-grid {
    padding: 36px 0;
  }

  .button,
  .contact .button {
    width: 100%;
    text-align: center;
  }
}
