:root {
  --bg: #f4f1ea;
  --text: #161412;
  --muted: #5c564e;
  --faint: #8a8378;
  --accent: #0f5c4c;
  --line: rgba(22, 20, 18, 0.1);
  --paper: #fffcf7;
  --ink: #161412;
  --ink-muted: #5c564e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  color-scheme: light;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.coming {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.topbar,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.topbar {
  justify-content: flex-start;
}

.brand {
  font-weight: 500;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.5rem 3rem;
}

.kicker {
  margin: 0 0 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.portrait {
  width: 96px;
  height: 120px;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 2px;
  border: 5px solid #fff;
  box-shadow: 0 10px 24px rgba(22, 20, 18, 0.12);
  transform: rotate(2deg);
  margin-bottom: 1.5rem;
}

.coming h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.role {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.until {
  margin: 1.8rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.until a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 92, 76, 0.35);
  padding-bottom: 2px;
}

.foot a {
  text-decoration: none;
  color: var(--muted);
}

.foot span {
  padding: 0 0.55rem;
}

.legal-body {
  background: var(--paper);
  color: var(--ink);
}

.legal-top {
  background: var(--ink);
  color: #f4f1ea;
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-top a {
  text-decoration: none;
  color: #cfc8bc;
}

.legal-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 5rem;
}

.legal-wrap h1 {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 2rem;
  margin: 0 0 0.35rem;
}

.legal-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin: 0 0 1.6rem;
}

.legal-wrap h2 {
  font-size: 1.02rem;
  margin: 2rem 0 0.55rem;
}

.legal-wrap p,
.legal-wrap li {
  line-height: 1.7;
  color: #3b3833;
}

.legal-wrap a,
.back-link {
  color: var(--accent);
}

.back-link {
  display: inline-block;
  margin-top: 2.4rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.coming main > * {
  animation: rise 0.7s ease both;
}

.coming .kicker { animation-delay: 0.04s; }
.coming .portrait { animation-delay: 0.12s; }
.coming h1 { animation-delay: 0.2s; }
.coming .role { animation-delay: 0.28s; }
.coming .lead { animation-delay: 0.36s; }
.coming .until { animation-delay: 0.44s; }

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

@media (max-width: 640px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .topbar,
  .foot {
    padding: 1.05rem max(1.15rem, env(safe-area-inset-right)) 1.05rem max(1.15rem, env(safe-area-inset-left));
  }

  .topbar {
    padding-top: max(1.05rem, env(safe-area-inset-top));
  }

  .foot {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
  }

  main {
    padding: 1rem 1.2rem 2.4rem;
  }

  .coming h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .portrait {
    width: 88px;
    height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming main > * {
    animation: none;
  }
}
