/* =====================================================================
   Peony & Lace — Phase-0 placeholder stylesheet.
   Atelier register. Soft cream, dusty rose accent, generous serif body.
   Full multi-page stylesheet preserved in ~/peony-and-lace-site-dev/.
   ===================================================================== */

:root {
  --ivory:         #F5F0E6;
  --ivory-deep:    #EFE7D6;
  --ivory-soft:    #FBF7EE;
  --blush:         #F4C2C2;
  --blush-deep:    #C98C92;
  --champagne:     #E8D5A0;
  --champagne-deep:#C9A85C;
  --mauve:         #7C5A66;
  --charcoal:      #2D2D2D;
  --charcoal-soft: #4A4A4A;
  --muted:         #8a8074;
  --hair:          #d8cdb9;

  --serif:  'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(244, 194, 194, 0.18), transparent 55%),
    radial-gradient(ellipse at 50% 110%, rgba(232, 213, 160, 0.14), transparent 55%),
    var(--ivory);
  color: var(--charcoal-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--blush); color: var(--charcoal); }

a { color: var(--mauve); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(124, 90, 102, 0.4); }
a:hover { color: var(--blush-deep); text-decoration-color: var(--blush-deep); }

:focus-visible {
  outline: 2px solid var(--blush-deep);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- Phase-0 banner ---------- */
.status-banner {
  background: var(--mauve);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--champagne-deep);
}
.status-banner strong {
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-right: 10px;
}

/* ---------- Layout ---------- */
.stub-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.stub-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 72px 24px 88px;
}
.stub-card {
  width: min(680px, 100%);
  text-align: center;
  position: relative;
  padding: 32px 24px 12px;
}

/* Corner ornaments — thin champagne hairline brackets */
.stub-card::before,
.stub-card::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--champagne-deep);
  border-style: solid;
  opacity: 0.7;
}
.stub-card::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.stub-card::after  { top: 0; right: 0; border-width: 1px 1px 0 0; }
.stub-card .corners {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 22px;
  pointer-events: none;
}
.stub-card .corners::before,
.stub-card .corners::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--champagne-deep);
  border-style: solid;
  opacity: 0.7;
}
.stub-card .corners::before { bottom: 0; left: 0;  border-width: 0 0 1px 1px; }
.stub-card .corners::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* ---------- Stamp ---------- */
.stub-stamp {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 36px;
  padding-left: 0.16em;
}

/* ---------- Wordmark ---------- */
.stub-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.8rem, 6.2vw, 4.4rem);
  color: var(--mauve);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.22em;
}
.stub-wordmark .word { display: inline-block; }
.stub-wordmark .amp {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: var(--blush-deep);
  font-size: 1.15em;
  line-height: 0.6;
  transform: translateY(0.08em);
}

/* ---------- Filigree rule ---------- */
.stub-rule {
  width: 96px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--champagne-deep) 20%,
    var(--champagne-deep) 80%,
    transparent 100%
  );
  margin: 24px auto 30px;
  position: relative;
}
.stub-rule .pip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 5px;
  background: var(--blush-deep);
  border-radius: 50%;
}

/* ---------- Lede + body ---------- */
.stub-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--mauve);
  line-height: 1.4;
  max-width: 28ch;
  margin: 0 auto 28px;
}
.stub-body {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  max-width: 48ch;
  margin: 0 auto 40px;
}

/* ---------- Notify button ---------- */
.stub-notify {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--mauve);
  padding: 14px 30px;
  color: var(--mauve);
  background: transparent;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.stub-notify:hover {
  background: var(--mauve);
  color: var(--ivory);
  border-color: var(--mauve);
  text-decoration: none;
}

/* ---------- Footer ---------- */
.stub-foot {
  text-align: center;
  padding: 36px 24px 32px;
  border-top: 1px solid var(--hair);
}
.stub-foot .dba {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.stub-foot .note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -10000px;
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .stub-main { padding: 56px 20px 64px; }
  .stub-wordmark { gap: 0.14em; }
  .stub-stamp { letter-spacing: 0.24em; font-size: 0.7rem; }
}

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

/* ---------- Legal pages (phase-0 register) ---------- */
.legal-main {
  flex: 1;
  padding: 56px 24px 72px;
}
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.legal-eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  text-align: center;
}
.legal-display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  color: var(--mauve);
  line-height: 1.05;
  margin: 0 0 22px;
  text-align: center;
  letter-spacing: 0.005em;
}
.legal-display em { font-style: italic; color: var(--blush-deep); }
.legal-rule {
  width: 96px;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--champagne-deep) 20%, var(--champagne-deep) 80%, transparent 100%);
  margin: 24px auto 32px;
  position: relative;
}
.legal-rule::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 5px;
  background: var(--blush-deep);
  border-radius: 50%;
}
.legal-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--mauve);
  line-height: 1.55;
  margin: 0 auto 28px;
  max-width: 56ch;
  text-align: center;
}
.legal-banner {
  background: rgba(244, 194, 194, 0.18);
  border: 1px solid var(--blush);
  border-radius: 2px;
  padding: 18px 22px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.legal-banner strong {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blush-deep);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.legal-toc {
  background: var(--ivory-soft);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 18px 22px;
  margin: 32px 0;
}
.legal-toc h3 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--charcoal-soft);
}
.legal-toc li { margin-bottom: 4px; font-size: 0.98rem; }
.legal-prose h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--charcoal);
  margin: 44px 0 14px;
}
.legal-prose h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin: 28px 0 10px;
}
.legal-prose p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal-soft);
  margin: 0 0 14px;
}
.legal-prose em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--charcoal);
}
.legal-prose ul, .legal-prose ol {
  margin: 0 0 18px;
  padding-left: 1.4rem;
}
.legal-prose li {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
  margin-bottom: 8px;
}
.legal-prose li strong { color: var(--charcoal); }
.legal-prose a { color: var(--mauve); }
.legal-prose a:hover { color: var(--blush-deep); }
.legal-dba {
  background: rgba(244, 194, 194, 0.18);
  border: 1px solid var(--blush);
  border-radius: 2px;
  padding: 22px 24px;
  margin: 36px 0;
}
.legal-dba h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--charcoal);
  margin: 0 0 12px;
  font-weight: 500;
}
.legal-dba p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 6px 0;
}
.legal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 640px) {
  .legal-cards { grid-template-columns: 1fr; }
}
.legal-card {
  display: block;
  padding: 22px 22px 18px;
  background: var(--ivory-soft);
  border: 1px solid var(--hair);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, transform 200ms ease;
}
.legal-card:hover {
  border-color: var(--blush-deep);
  transform: translateY(-2px);
  text-decoration: none;
}
.legal-card__eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.legal-card__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin: 0 0 8px;
}
.legal-card__lede {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
  margin: 0 0 10px;
}
.legal-card__arrow {
  font-family: var(--serif);
  font-style: italic;
  color: var(--mauve);
  font-size: 0.96rem;
  margin: 0;
}
.legal-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}
.legal-meta p { margin: 4px 0; }

@media print {
  body { background: #fff; color: #000; }
  .status-banner, .stub-notify { display: none; }
  .legal-banner, .legal-dba { background: #fff; border-color: #ccc; }
}
