/* PlainSight Ortho — landing page (plainsightortho.com front door).
   Register: devastatingly restrained (BRAND-V2, LANDING-PAGE-PLAN §1–§6).
   Hand-authored CSS, no framework. One viewport: wordmark + tagline + one
   CTA + footer. Generous whitespace — the page should feel almost empty.
   (Demo deprecated 2026-07-09; principles & manifesto cut earlier.)

   Motion law (BRAND-V2 §Motion): transform/opacity only, curve
   cubic-bezier(0.16,1,0.3,1), no parallax, no auto-playing video hero. */

:root {
  --ink: #1A535C;          /* deep teal — brand mark color */
  --accent: #0D7377;       /* interactive accent */
  --paper: #F4F6F7;        /* cool paper background */
  --text: #172023;
  --muted: rgba(23, 32, 35, 0.55);
  --faint: rgba(23, 32, 35, 0.34);
  --rule: rgba(26, 83, 92, 0.16);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --wordmark-font: 'Geist', var(--sans);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  /* Match frame-03: soft top-lit cool paper. The radial glow lives on the
     hero's first screen and settles to flat paper below. No
     background-attachment: fixed — iOS Safari ignores/janks it. */
  background-color: #eef0f1;
  background-image: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, var(--paper) 50%, #eef0f1 100%);
  background-repeat: no-repeat;
  background-size: 100% 150svh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Content stage width (footer). */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------ *
 * 1. HERO — wordmark-forward, near-empty. Wordmark → tagline → CTA.  *
 *    No glyph, no eyebrow, no credit. One-viewport page: main is a   *
 *    full-height column, hero centers in the leftover space, footer  *
 *    sits at the bottom edge. Nothing below the fold.                *
 * ------------------------------------------------------------------ */
main {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 24px;
}
.hero-inner { position: relative; }

.bigmark {
  font-family: var(--wordmark-font);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: 0.98;
}
.bigmark .ortho {
  display: block;
  margin-top: 0.9rem;
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(26, 83, 92, 0.52);
}
/* per-letter spans injected by landing.mjs for the staggered entrance
   (BRAND-V2 §Logo motion: marketing wordmark may animate in on first load,
   total ≤720ms, skipped under prefers-reduced-motion) */
.bigmark .ch { display: inline-block; }
@keyframes lift {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.tagline {
  margin: 2.25rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.enter {
  margin-top: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.enter .arw { transition: transform 0.35s var(--ease-soft); }
.enter:hover .arw { transform: translateX(4px); }

/* ------------------------------------------------------------------ *
 * Section reveals (BRAND-V2): opacity 0→1, translateY 12px→0, once.  *
 * ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.48s var(--ease-soft), transform 0.48s var(--ease-soft);
}

/* (§2 demo CSS removed — demo deprecated 2026-07-09, see index.html.) */

/* ------------------------------------------------------------------ *
 * 3. FOOTER — contact, url, copyright. Nothing else.                 *
 *    (Manifesto cut 2026-07-08; demo cut 2026-07-09 — see index.html.) *
 * ------------------------------------------------------------------ */
.site-footer {
  /* Sit ON the viewport floor: generous air above the divider, a tight,
     fixed seat below the (c) line (svh here floated the footer on tall
     monitors — "hangs up too high"). */
  padding: 5svh 0 28px;
  border-top: 1px solid var(--rule);
}
.footer-wordmark {
  font-family: var(--wordmark-font);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.footer-wordmark .ortho {
  font-weight: 400;
  font-size: 0.72em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 83, 92, 0.55);
  margin-left: 0.4em;
}
.footer-meta {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2;
}
.footer-meta a { color: var(--accent); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer-meta .sep { color: var(--faint); margin: 0 0.5rem; }

/* ------------------------------------------------------------------ *
 * Reduced motion: no wordmark intro, no reveal shift.  *
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bigmark .ch { animation: none !important; opacity: 1 !important; transform: none !important; }
  .enter .arw { transition: none; }
}
