:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #67615d;
  --paper: #faf8f3;
  --line: #ded7ca;
  --plum: #6f4c7d;
  --teal: #357d83;
  --rose: #b85d68;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px;
}

.hero {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  gap: 58px;
  align-items: center;
}

.composition {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.05) 1px, transparent 1px),
    #f1ece3;
  background-size: 36px 36px;
}

.panel {
  position: absolute;
  border: 12px solid var(--paper);
  box-shadow: 0 24px 54px rgba(32, 33, 36, 0.16);
}

.panel-a {
  width: 48%;
  height: 44%;
  top: 14%;
  left: 12%;
  background: var(--plum);
}

.panel-b {
  width: 46%;
  height: 32%;
  right: 10%;
  top: 38%;
  background: var(--teal);
}

.panel-c {
  width: 36%;
  height: 28%;
  left: 22%;
  bottom: 10%;
  background: var(--rose);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 13vw, 9rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

p {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.58;
}

a {
  display: inline-block;
  margin-top: 34px;
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

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

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .composition {
    min-height: 320px;
  }
}
