/* unflinching.us */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0c0e11; --fg: #e8e6e0; --ice: #7eafc2;
  --dim: rgba(232,230,224,0.4); --rule: rgba(126,175,194,0.18); --frost: rgba(126,175,194,0.08);
}
[data-theme="light"] {
  --bg: #e8e6e0; --fg: #0c0e11; --ice: #4a7a90;
  --dim: rgba(12,14,17,0.4); --rule: rgba(74,122,144,0.18); --frost: rgba(74,122,144,0.08);
}
html { font-size: 16px; }
body {
  background-color: var(--bg); background-image: url('parchment-speckle-dark.jpg');
  background-repeat: repeat; background-size: 512px 512px;
  color: var(--fg); font-family: 'Libre Baskerville', Georgia, serif;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
[data-theme="light"] body { background-image: url('parchment-speckle-light.jpg'); }

/* HEADER */
header { padding: 2rem 2.5rem; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; }
.header-inner { display: flex; align-items: baseline; gap: 0.9rem; }
.wordmark { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; font-weight: 400; letter-spacing: 0.14em; color: var(--fg); opacity: 0.8; }
.header-sep { color: var(--ice); opacity: 0.4; font-family: 'Libre Baskerville', serif; }
.sub-mark { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; font-style: italic; color: var(--dim); letter-spacing: 0.06em; }
.toggle-btn { background: none; border: 1px solid var(--rule); color: var(--ice); font-family: 'Libre Baskerville', serif; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.7rem; cursor: pointer; opacity: 0.55; }
.toggle-btn:hover { opacity: 1; border-color: var(--ice); }

/* HERO */
.hero { padding: 7rem 2.5rem 5rem; border-bottom: 1px solid var(--rule); }
.hero-inner { max-width: 660px; }
.pre-heading { font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; font-weight: 300; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ice); opacity: 0.7; margin-bottom: 1.6rem; }
h1 { font-family: 'Fraunces', serif; font-optical-sizing: auto; font-weight: 300; font-size: clamp(3rem, 7.5vw, 5.8rem); line-height: 1.02; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 2.2rem; }
h1 em { font-style: italic; color: var(--fg); opacity: 0.4; }
.hero-sub { font-size: 1.1rem; line-height: 1.9; color: var(--dim); font-style: italic; }

/* BODY COPY */
.body-copy { padding: 5rem 2.5rem 6rem; flex: 1; }
.content-col { max-width: 620px; }
.drop-cap { font-size: 2.3rem; line-height: 1.75; color: var(--fg); opacity: 0.82; margin-bottom: 1.8rem; }
.body-copy p { font-size: 2.1rem; line-height: 1.95; color: var(--fg); opacity: 0.55; margin-bottom: 1.6rem; }
.body-copy p em { font-style: italic; opacity: 1; color: var(--fg); }
blockquote { margin: 3rem 0; padding: 1.8rem 2rem; background: var(--frost); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: 'Fraunces', serif; font-optical-sizing: auto; font-size: 1.25rem; font-style: italic; font-weight: 300; line-height: 1.7; color: var(--fg); opacity: 0.7; letter-spacing: -0.01em; }
.divider { display: flex; align-items: center; gap: 0.7rem; margin: 3rem 0 2.5rem; }
.rule-line { height: 1px; width: 1.5rem; background: var(--rule); }
.rule-line.long { width: 4rem; }
.glyph { font-family: 'Libre Baskerville', serif; font-size: 0.8rem; color: var(--ice); opacity: 0.35; }
.status-note { font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; font-weight: 300; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg); opacity: 0.18; margin-bottom: 0 !important; }

/* FOOTER */
footer { padding: 1.8rem 2.5rem; border-top: 1px solid var(--rule); }
.copy { font-size: 0.62rem; letter-spacing: 0.1em; opacity: 0.18; font-family: 'IBM Plex Mono', monospace; }

/* ANIMATION */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.content-col { animation: fadeUp 0.85s 0.1s ease both; }
