/* 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, 4rem);
  --max: 72rem;
}

*, *::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; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(2.5rem, 7vh, 5rem) 1.5rem; }

h1 {
  margin: 0 0 0.3em;
  max-width: 11ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 1.9rem + 5vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.2rem + 0.8vw, 2rem);
  line-height: 1.3;
}

.spine { display: block; width: 100%; height: clamp(64px, 9vw, 120px); margin: clamp(1.25rem, 3vw, 2.25rem) 0; 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.5rem; font-family: var(--serif); font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem); }
.where { margin: 0 0 1.5rem; max-width: 34ch; color: var(--stone); }

.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end; }

/* Her teaching week, as on the Alex Temp home page (WeekStrip.astro). */
.week-label { margin: 0 0 0.6rem; font: 600 0.9rem/1.4 var(--sans); color: var(--stone); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.days li {
  position: relative; padding: 0.85rem 0.2rem 1.4rem; text-align: center;
  font-family: var(--serif); font-size: 1.1rem; color: var(--stone);
  border-top: 1px solid color-mix(in srgb, var(--spruce) 25%, transparent);
}
.days li.on { color: var(--spruce); border-top: 4px solid var(--spring); padding-top: calc(0.85rem - 3px); }
.days li.on::after {
  content: ''; position: absolute; left: 50%; bottom: 0.45rem; translate: -50% 0;
  width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--spruce);
}
.abbr { display: none; }
@media (max-width: 1100px) { .full { display: none; } .abbr { display: inline; } }
@media (max-width: 760px) {
  main { padding-top: clamp(2rem, 6vh, 3.5rem); }
  .spine { margin-block: 1rem 1.5rem; }
  .news { grid-template-columns: 1fr; }
  .news { gap: 2rem; }
  .days li { font-size: 1rem; }
}

.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;
}
.btn:hover { background: var(--spruce-2); border-color: var(--spruce-2); }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  font-size: 0.85rem;
  color: var(--stone);
}
footer p { margin: 0; }
footer a { color: var(--stone); }
footer a:hover { color: var(--spruce); }

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