/* Coming-soon page for alexhaslippilates.com, in the Alex Temp (v1) look:
   palette and type from src/styles/global.css, spine line from SpineLine.astro. */
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/newsreader-latin-wght-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Hanken Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/hanken-grotesk-latin-wght-normal.woff2) format('woff2-variations');
}

:root {
  --chalk: #f2f3ef;
  --mist: #dde4df;
  --spruce: #1e3a34;
  --spruce-2: #2c5048;
  --stone: #56615b;
  --spring: #d9b44a;
  --serif: 'Newsreader Variable', Georgia, serif;
  --sans: 'Hanken Grotesk Variable', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--chalk);
  color: var(--spruce);
  font-family: var(--sans);
  font-size: clamp(1.06rem, 1rem + 0.2vw, 1.13rem);
  line-height: 1.6;
  font-optical-sizing: auto;
}
a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 2px; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 8vh, 5rem) var(--gutter) 1.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
h1 {
  margin: 0 0 0.35em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.9rem + 3.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.tagline {
  margin: 0 auto 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
  line-height: 1.35;
}

.spine { display: block; width: 100%; height: clamp(48px, 9vw, 84px); margin: 1rem 0 1.25rem; color: var(--spring); overflow: visible; }
.spine path { stroke-dasharray: 1600; stroke-dashoffset: 0; animation: roll 2.4s cubic-bezier(.6, 0, .2, 1) 0.2s both; }
@keyframes roll { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }

.soon {
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.where { margin: 0 auto 1.75rem; max-width: 30rem; color: var(--stone); }
.where a { color: var(--spruce); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.6rem;
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; border-radius: 999px; border: 1.5px solid var(--spruce);
  background: var(--spruce); color: var(--chalk);
  transition: background-color 0.15s;
  align-self: center;
}
.btn:hover { background: var(--spruce-2); border-color: var(--spruce-2); }

footer {
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.88rem;
  color: var(--stone);
}
footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
