:root {
  color-scheme: light;
  --ink: #1d2230;
  --muted: #66697a;
  --paper: #fffaf4;
  --coral: #ff785a;
  --peach: #ffd0bd;
  --sun: #ffd86f;
  --line: rgba(29, 34, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f7eee6;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 216, 111, 0.48), transparent 31rem),
    radial-gradient(circle at 88% 30%, rgba(255, 120, 90, 0.22), transparent 35rem),
    var(--paper);
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nav,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #46c37b;
  box-shadow: 0 0 0 5px rgba(70, 195, 123, 0.14);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding: clamp(58px, 8vw, 112px) 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #b6432c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

h1 em {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.intro {
  max-width: 680px;
  margin: 30px 0 0;
  color: #404351;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.7;
}

.note {
  max-width: 650px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 120, 90, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.note strong {
  display: block;
  margin-bottom: 4px;
}

.portrait {
  margin: 0;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 42% 58% 48% 52% / 48% 44% 56% 52%;
  background: var(--peach);
  box-shadow: 0 28px 80px rgba(107, 54, 39, 0.18);
  transform: rotate(1.5deg);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 8% -8% -12% 8%;
  z-index: -1;
  border-radius: inherit;
  background: var(--sun);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  max-width: 420px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

footer {
  min-height: 86px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

footer a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 28px, 620px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .portrait {
    width: min(100%, 500px);
    margin: 0 auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .portrait-frame {
    animation: arrive 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .copy > * {
    animation: rise 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .copy > :nth-child(2) { animation-delay: 80ms; }
  .copy > :nth-child(3) { animation-delay: 150ms; }
  .copy > :nth-child(4) { animation-delay: 220ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes arrive {
  from { opacity: 0; transform: rotate(4deg) scale(0.96); }
  to { opacity: 1; transform: rotate(1.5deg) scale(1); }
}
