:root {
  --ink: #151512;
  --paper: #ead3b3;
  --paper-soft: #f4e1c2;
  --green: #0d543b;
  --green-2: #223a2c;
  --sage: #7e8b72;
  --window: #53616a;
  --cream: #fff3dc;
  --line: rgba(21, 21, 18, 0.18);
  --shadow: rgba(26, 18, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 21, 18, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 21, 18, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #d4b892 0%, #f1d8b4 44%, #617068 100%);
  background-size: 48px 48px, 48px 48px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page {
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 2px solid rgba(21, 21, 18, 0.32);
  border-radius: 8px;
  background: rgba(244, 225, 194, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 950;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--cream);
  background: var(--green);
  font-size: 0.78rem;
  box-shadow: inset 0 -9px 0 rgba(0, 0, 0, 0.12);
}

.nav,
footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
footer a {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid rgba(21, 21, 18, 0.24);
  border-radius: 8px;
  background: rgba(255, 243, 220, 0.72);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.desk {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(330px, 1.04fr);
  gap: 18px;
  min-height: 600px;
  margin-top: 22px;
}

.desk-copy,
.poster-card,
.notebook article {
  border: 2px solid rgba(21, 21, 18, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--shadow);
}

.desk-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 6vw, 68px);
  background:
    linear-gradient(135deg, rgba(13, 84, 59, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(255, 243, 220, 0.8), rgba(234, 211, 179, 0.92));
}

.desk-copy::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(21, 21, 18, 0.2);
  border-radius: 8px;
  pointer-events: none;
}

.label {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(13, 84, 59, 0.34);
  border-radius: 8px;
  color: var(--cream);
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
}

h1 {
  position: relative;
  max-width: 8.4ch;
  margin: 0;
  font-size: clamp(3.7rem, 8.6vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.description {
  position: relative;
  max-width: 650px;
  margin: 24px 0 0;
  color: #3d3d36;
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  line-height: 1.58;
}

.actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.actions a,
.actions button {
  min-height: 50px;
  border-radius: 8px;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 950;
}

.primary {
  border: 1px solid #062d20;
  color: var(--cream);
  background: var(--green);
  box-shadow: 0 18px 34px rgba(13, 84, 59, 0.22);
}

.actions button {
  border: 1px solid rgba(21, 21, 18, 0.25);
  color: var(--ink);
  background: rgba(255, 243, 220, 0.78);
}

.poster-card {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(83, 97, 106, 0.14) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(83, 97, 106, 0.12) 0 1px, transparent 1px),
    linear-gradient(160deg, #efe0c5 0%, #c9a67a 46%, #40564c 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.poster-card::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 2px solid rgba(255, 243, 220, 0.34);
  border-radius: 8px;
  transform: rotate(2deg);
}

.poster-card img {
  position: relative;
  z-index: 1;
  width: min(88%, 560px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 36px 30px rgba(26, 18, 12, 0.26));
}

.sticky-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  min-width: 170px;
  gap: 4px;
  padding: 14px;
  border: 2px solid rgba(21, 21, 18, 0.22);
  border-radius: 8px;
  background: rgba(255, 243, 220, 0.86);
  transform: rotate(-1deg);
}

.sticky-note span {
  color: #6b665d;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sticky-note strong {
  color: var(--green);
  font-size: 1.16rem;
}

.banner-panel {
  margin-top: 18px;
  overflow: hidden;
  border: 2px solid rgba(21, 21, 18, 0.28);
  border-radius: 8px;
  background: var(--green-2);
  box-shadow: 0 28px 70px var(--shadow);
}

.banner-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.notebook {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.notebook article {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 243, 220, 0.8);
}

.notebook span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
}

.notebook h2 {
  margin: 12px 0 10px;
  font-size: 1.18rem;
}

.notebook p {
  margin: 0;
  color: #474740;
  font-size: 1rem;
  line-height: 1.55;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
  color: #203326;
  font-weight: 900;
}

@media (max-width: 940px) {
  .page {
    width: min(100% - 20px, 720px);
  }

  .topbar,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nav,
  footer div {
    justify-content: stretch;
  }

  .nav a,
  footer a {
    flex: 1;
    text-align: center;
  }

  .desk,
  .notebook {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .poster-card {
    min-height: 430px;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .desk-copy {
    padding: 26px;
  }

  .desk-copy::before {
    inset: 12px;
  }

  h1 {
    font-size: 3.1rem;
  }

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

  .poster-card {
    min-height: 350px;
  }

  .sticky-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .banner-panel img {
    aspect-ratio: 2.1 / 1;
  }
}
