/* willowpath — coming soon page
   Design tokens, typography, and motion per CLAUDE.md. */

:root {
  --bg-cream:     #EFE7DA;
  --bg-cream-lt:  #F7F1E6;
  --bg-paper:     #FFFFFF;
  --ink:          #3A2A22;
  --ink-soft:     #6B5A50;
  --clay:         #9C8479;
  --willow:       #1F3B2D;
  --willow-deep:  #162A20;
  --accent-line:  #1E6BA8;
  --border-soft:  #C9BFB2;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;

  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);

  background:
    linear-gradient(
      115deg,
      var(--bg-cream) 0%,
      var(--bg-cream) 55%,
      var(--bg-cream-lt) 55.1%,
      var(--bg-cream-lt) 100%
    );
  background-attachment: fixed;

  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);

  position: relative;
  overflow-x: hidden;
  text-align: left;
}

/* Faint paper-grain overlay. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.03;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Logo */
.logo-link {
  display: inline-block;
  align-self: flex-start;
  line-height: 0;
  border-radius: 4px;
}

.logo-link:focus-visible {
  outline: 2px solid var(--willow);
  outline-offset: 4px;
}

.logo {
  display: block;
  width: 88px;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Content column */
.content {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(2rem, 5vh, 4rem);

  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Headline */
.headline {
  margin: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--ink);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  letter-spacing: -0.01em;
}

.headline-underline {
  display: inline;
  background-image: linear-gradient(var(--accent-line), var(--accent-line));
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 88%;
  padding-bottom: 0.15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Subhead */
.subhead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}

/* Footer */
.footer {
  margin-top: clamp(1.5rem, 4vh, 3rem);
  padding-top: 1rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}

.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.footer a:hover {
  border-bottom-color: var(--ink-soft);
}

.footer a:focus-visible {
  outline: 2px solid var(--willow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* On-load reveal */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: riseIn 600ms ease-out forwards;
}

.reveal-1 { animation-delay: 0ms; }
.reveal-2 { animation-delay: 120ms; }
.reveal-3 { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .footer a {
    transition: none;
  }
}

/* Mobile */
@media (max-width: 540px) {
  .logo {
    width: 64px;
  }

  .headline {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .subhead {
    font-size: 1.0625rem;
  }
}
