:root {
  --paper: #f3ead7;
  --paper-edge: #deceb0;
  --ink: #2d2b28;
  --accent: #6e5f4a;
  --line: #b9a584;
  --shadow: 0 24px 52px rgba(54, 44, 29, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 248, 229, 0.75) 0, rgba(255, 248, 229, 0) 36%),
    radial-gradient(circle at 87% 78%, rgba(218, 197, 163, 0.65) 0, rgba(218, 197, 163, 0) 34%),
    linear-gradient(145deg, #cab89c 0%, #b8a489 46%, #a08a6f 100%);
  padding: 36px 16px 80px;
}

.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(112, 88, 53, 0.04) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(112, 88, 53, 0.03) 0 2px, transparent 2px 11px);
  mix-blend-mode: multiply;
}

.hero {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 1020px;
}

.kicker {
  font-size: 1.1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #41372a;
  margin: 0;
}

h1,
h2,
.line,
.subtitle,
.site-footer p {
  font-family: "Marck Script", "Brush Script MT", cursive;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin: 8px 0 4px;
}

.subtitle {
  font-size: clamp(1.25rem, 2.7vw, 1.6rem);
  margin: 0;
}

.page {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.paper {
  background: linear-gradient(150deg, #f8f0df 0%, #f0e2c9 100%);
  border: 1px solid var(--paper-edge);
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(125, 98, 62, 0.12), transparent 40%),
    repeating-linear-gradient(to bottom, transparent 0 27px, rgba(121, 99, 66, 0.15) 27px 28px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.paper h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

#about p {
  font-size: 1.15rem;
}

.author-text {
  font-size: 1.45rem !important;
}

.phone-number {
  font-size: 1.3rem;
  text-align: center;
  margin-top: 1.5rem;
  color: #6e5f4a;
}

.line {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  margin: 0.15em 0;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.frame-block {
  display: grid;
  gap: 10px;
}

.frame-title {
  font-family: "Marck Script", "Brush Script MT", cursive;
  font-size: 1.5rem;
  text-align: center;
}

.painting-frame {
  border: 2px solid #66553e;
  min-height: 480px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(170deg, #c8b294 0%, #af9572 55%, #9f8766 100%);
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
}

.painting-frame span {
  display: inline-block;
  border: 1px dashed #574832;
  padding: 10px 12px;
  border-radius: 5px;
  font-family: "Marck Script", "Brush Script MT", cursive;
  font-size: 1.25rem;
}

.note-text p {
  margin: 0.7rem 0;
  font-size: clamp(1.28rem, 2.2vw, 1.66rem);
  line-height: 1.18;
}

.date {
  font-weight: 600;
  color: #3f2f1d;
}

.site-footer {
  max-width: 1020px;
  margin: 20px auto 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) rotate(-0.3deg);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

@media (max-width: 860px) {
  body {
    padding: 18px 10px 44px;
  }

  .paper {
    padding: 16px;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .painting-frame {
    min-height: 260px;
  }

  .note-text p {
    line-height: 1.24;
  }
}
