:root {
  color-scheme: light;
  --ink: #162019;
  --muted: #5e6b61;
  --paper: #f7f1e7;
  --warm: #d78645;
  --leaf: #315941;
  --line: rgba(22, 32, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(215, 134, 69, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(49, 89, 65, 0.18), transparent 38%),
    var(--paper);
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0;
}

.portrait {
  position: relative;
  min-height: 0;
}

.portrait::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  content: "";
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.portrait img {
  position: relative;
  display: block;
  width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(22, 32, 25, 0.12);
  box-shadow: 0 28px 80px rgba(22, 32, 25, 0.22);
}

.message {
  max-width: 520px;
  padding: clamp(22px, 4vw, 44px) 0;
}

.place {
  margin: 0 0 18px;
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  line-height: 1.72;
}

p + p {
  margin-top: 20px;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.18rem, 2.05vw, 1.44rem);
  line-height: 1.58;
}

@media (max-width: 760px) {
  .page {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .portrait::before {
    display: none;
  }

  .portrait img {
    width: 100%;
    max-height: none;
    border: 0;
    box-shadow: none;
  }

  .message {
    max-width: none;
    padding: 30px 22px 42px;
  }
}
