:root {
  color-scheme: light;
  --paper: #f3f0eb;
  --ink: #252725;
  --muted: #7e807c;
  --line: #d9d6d0;
  --accent: #858e91;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(100% - 112px, 1320px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topline,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topline {
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.4px;
  text-decoration: none;
}

.wordmark span,
.title-period {
  color: var(--accent);
}

.topline-note,
.footer {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.portrait-section {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
  align-items: center;
  gap: clamp(56px, 9vw, 140px);
  padding: 64px 0 80px;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 0.91;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(255, 255, 255, 0.78), transparent 58%),
    linear-gradient(145deg, #e5e2dc, #d5d6d2 53%, #c7cbca);
}

.portrait-frame::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.portrait-frame::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.portrait-image {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}

.photo-caption {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 32px;
  color: #656c6b;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.intro {
  padding: 20px 0;
}

.eyebrow,
.mood-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 10vw, 138px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.description {
  margin: 27px 0 50px;
  color: #626560;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.mood {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px 18px;
  max-width: 360px;
}

.mood-label {
  color: var(--muted);
}

.mood-value {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.mood-line {
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 4px;
  background: var(--line);
}

.footer {
  min-height: 72px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.footer-right span {
  margin-left: 5px;
  color: var(--ink);
}

@media (min-width: 1500px) {
  .portrait-frame {
    max-height: 720px;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 40px, 560px);
  }

  .topline {
    min-height: 72px;
  }

  .portrait-section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 34px 0 56px;
  }

  .portrait-frame {
    aspect-ratio: 1 / 1.03;
  }

  .intro {
    padding: 0 2px;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(76px, 20vw, 112px);
  }

  .description {
    margin: 18px 0 34px;
  }
}

@media (max-width: 420px) {
  .page {
    width: calc(100% - 32px);
  }

  .topline-note {
    font-size: 9px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}
