:root {
  --navy: #0F1F3D;
  --navy-mid: #162D56;
  --gold: #C9A96E;
  --gold-light: #D4B98A;
  --cream: #F5F0E8;
  --text-dark: #0D0D0D;
  --text-mid: #2C3A52;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Josefin Sans', system-ui, sans-serif; font-weight: 300; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 3px; }

/* Holding page */
body.holding { background: radial-gradient(ellipse at top, var(--navy-mid) 0%, var(--navy) 65%); color: var(--cream); }
.hold { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem 2rem; }
.hold-logo { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; margin-bottom: 1.5rem; }
.wordmark { font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-size: clamp(1.4rem, 4vw, 2rem); text-decoration: none; }
.wordmark.small { font-size: 1.1rem; }
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 1.5rem auto; opacity: 0.7; }
.hold h1 { font-family: 'Cinzel', serif; font-weight: 500; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.2; text-wrap: balance; }
.lede { max-width: 34rem; margin-top: 1.25rem; font-size: 1.125rem; color: rgba(245, 240, 232, 0.85); text-wrap: pretty; }
.status { margin-top: 2rem; color: var(--gold-light); letter-spacing: 0.06em; }
.contact { margin-top: 0.5rem; font-size: 0.95rem; color: rgba(245, 240, 232, 0.75); }
.contact a { color: var(--cream); }

/* Document pages */
body.doc { background: var(--cream); color: var(--text-dark); }
.doc-head { background: var(--navy); padding: 1.25rem 1.5rem; text-align: center; }
.doc-body { flex: 1; width: 100%; max-width: 44rem; margin: 0 auto; padding: 3rem 1.5rem 2rem; }
.doc-body h1 { font-family: 'Cinzel', serif; font-weight: 600; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc-body .meta { color: var(--text-mid); font-size: 0.9rem; margin-top: 0.25rem; }
.doc-body h2 { font-family: 'Cinzel', serif; font-weight: 500; color: var(--navy); font-size: 1.2rem; margin-top: 2.25rem; padding-top: 1rem; border-top: 1px solid rgba(201, 169, 110, 0.35); }
.doc-body p, .doc-body li { margin-top: 0.75rem; color: var(--text-mid); font-weight: 400; }
.doc-body ul { padding-left: 1.25rem; }
.doc-body a { color: var(--navy); }

/* Footer */
.foot { padding: 1.5rem; text-align: center; font-size: 0.85rem; line-height: 1.8; }
body.holding .foot { color: rgba(245, 240, 232, 0.6); }
body.doc .foot { background: var(--navy); color: rgba(245, 240, 232, 0.7); }
.foot a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .hold > * { animation: rise 600ms ease both; }
  .hold > *:nth-child(2) { animation-delay: 60ms; }
  .hold > *:nth-child(4) { animation-delay: 120ms; }
  .hold > *:nth-child(5) { animation-delay: 180ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
