@font-face {
  font-family: "DM Sans";
  src: url("/personal/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/personal/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #191d20;
  --bg-2: #22272b;
  --text: #f5f2ec;
  --muted: #a8a9a6;
  --gold: #d8b77a;
  --gold-warm: #e6b56e;
  --line: #34393d;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 30%, #282d30 0%, #191d20 65%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.reminder {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.5rem, 6vh, 4.5rem) 1.25rem;
  max-width: 100%;
}

.portrait {
  margin: 0;
  width: clamp(176px, 26vh, 244px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(216, 183, 122, 0.55);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(34, 39, 43, 0.6);
  background: var(--bg-2);
  flex-shrink: 0;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.headline {
  margin: clamp(1.4rem, 3.6vh, 2.25rem) 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.enough { color: var(--gold); font-weight: 600; }

.quote {
  margin: clamp(1.25rem, 3.4vh, 2.1rem) auto 0;
  max-width: 680px;
  padding: 0;
}
.quote p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw + 0.4rem, 1.6rem);
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}
.fries { color: var(--gold); font-style: italic; }

.closing {
  margin-top: clamp(1.25rem, 3.4vh, 2.1rem);
  max-width: 520px;
}
.life {
  margin: 0 auto;
  padding-top: clamp(1rem, 2.6vh, 1.6rem);
  border-top: 1px solid var(--line);
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.signature {
  margin: clamp(0.8rem, 2vh, 1.2rem) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1vw + 1rem, 1.4rem);
  color: var(--gold);
  letter-spacing: 0.01em;
}
.heart { display: inline-block; font-style: normal; transition: color 600ms var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .signature:hover .heart { color: var(--gold-warm); }
}

@media (max-width: 480px) {
  .portrait { width: clamp(170px, 50vw, 196px); }
  .headline { font-size: clamp(2.625rem, 12vw, 3.25rem); }
  .quote p { font-size: 1.25rem; }
}

@media (min-width: 900px) and (max-height: 800px) {
  .portrait { width: 220px; }
  .headline { font-size: 4rem; }
  .quote p { font-size: 1.45rem; }
}

/* Entrances */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.portrait  { animation: fade-in 700ms var(--ease) 200ms both; }
.headline  { animation: rise 650ms var(--ease) 500ms both; }
.quote     { animation: fade-in 700ms var(--ease) 800ms both; }
.closing   { animation: fade-in 650ms var(--ease) 1100ms both; }

@media (prefers-reduced-motion: reduce) {
  .portrait, .headline, .quote, .closing { animation: none; }
  .heart { transition: none; }
}
