/* ─────────────────────────────────────────────
   Only Up · onlyup.me
   Shared stylesheet · v1.0 · MMXXVI
   ───────────────────────────────────────────── */

:root {
    --paper: #f5f0e6;
    --paper-2: #ede5d3;
    --paper-3: #e3d8bf;
    --cream: #faf6ec;
    --ink: #1a1410;
    --ink-2: #3d342a;
    --ink-3: #6b5a47;
    --ink-deep: #0d0906;
    --gold: #a87a2e;
    --gold-deep: #7a5420;
    --gold-light: #d9b877;
    --wine: #6b2e2e;
    --sage: #556b47;
    --line: rgba(26,20,16,0.15);
    --line-soft: rgba(26,20,16,0.08);
    --line-gold: rgba(168,122,46,0.3);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-hebrew: 'Frank Ruhl Libre', serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ───────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(245, 240, 230, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 18px 60px;
}
.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--ink);
}
.nav-logo svg { display: block; }
.nav-logo-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex; gap: 0; align-items: center;
    list-style: none;
}
.nav .nav-links a {
    font-size: 11px; color: var(--ink-2);
    text-decoration: none; letter-spacing: 0.16em;
    text-transform: uppercase; font-weight: 500;
    padding: 6px 0; transition: color 0.2s;
    border-bottom: 1px solid transparent;
}
.nav .nav-links a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.nav .nav-links a.current {
    color: var(--ink);
    border-bottom-color: var(--gold);
}
.nav-cta {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 12px;
    background: var(--ink);
    color: var(--cream);
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-deep); }
.nav-cta .short { display: none; }

/* ── HERO (DARK) ───────────────────────────────────── */
.hero {
    background: var(--ink-deep);
    color: var(--cream);
    padding: 140px 60px 160px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.hero-watermark {
    position: absolute; right: -50px; bottom: -90px;
    font-family: var(--font-hebrew);
    font-size: 460px; line-height: 0.8;
    color: var(--gold); opacity: 0.05;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}
.hero-inner {
    position: relative; z-index: 2;
    max-width: 920px;
    margin: 0 auto;
}
.hero-eyebrow {
    font-size: 12px; color: var(--gold);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 28px;
}
.hero h1 {
    font-family: var(--font-serif);
    font-size: 88px; font-weight: 400; font-style: italic;
    letter-spacing: -0.02em; line-height: 0.98;
    color: var(--cream); margin-bottom: 32px;
}
.hero h1 em {
    color: var(--gold-light);
    font-style: italic;
    font-weight: 400;
}
.hero-lede {
    font-size: 18px;
    color: rgba(250,246,236,0.78);
    max-width: 640px;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 44px;
}
.hero-cta-row {
    display: flex; align-items: center; gap: 24px;
    flex-wrap: wrap;
}

/* ── HERO LIGHT (ABOUT PAGE) ───────────────────────────────────── */
.hero-light {
    background: var(--paper);
    color: var(--ink);
    padding: 120px 60px 90px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.hero-light-inner {
    max-width: 920px; margin: 0 auto;
}
.hero-light .hero-eyebrow {
    color: var(--gold-deep);
}
.hero-light h1 {
    font-family: var(--font-serif);
    font-size: 76px; font-weight: 400; font-style: italic;
    letter-spacing: -0.02em; line-height: 1;
    color: var(--ink); margin-bottom: 28px;
    max-width: 880px;
}
.hero-light h1 em { color: var(--gold); font-style: italic; }
.hero-light-lede {
    font-size: 18px;
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.6;
    font-weight: 300;
}

/* ── BUTTONS ───────────────────────────────────── */
.btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 16px 28px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-family: var(--font-body);
    cursor: pointer;
}
.btn-gold {
    background: var(--gold);
    color: var(--ink-deep);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--cream); }
.btn-ghost-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250,246,236,0.3);
}
.btn-ghost-light:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

/* ── SECTION ───────────────────────────────────── */
section {
    padding: 120px 60px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
section.paper-2 { background: var(--paper-2); }
.section-inner {
    max-width: 780px;
    margin: 0 auto;
}
.section-mark {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}
.section-mark::after {
    content: '';
    display: inline-block;
    width: 60px; height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-left: 16px;
    vertical-align: middle;
}
section h2 {
    font-family: var(--font-serif);
    font-size: 54px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.018em;
    margin-bottom: 36px;
    color: var(--ink);
}
section h2 em {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

/* ── PROSE ───────────────────────────────────── */
.prose {
    max-width: 640px;
    margin: 0 auto;
}
.prose p {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
}
.prose p.lede {
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 32px;
}
.prose em {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.08em;
    color: var(--ink);
}
.prose .crown-line {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--ink);
    text-align: center;
    margin: 48px 0 0;
    line-height: 1.5;
}
.prose .crown-line em { color: var(--gold); }

/* ── ORNAMENT ───────────────────────────────────── */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 64px auto;
    max-width: 320px;
}
.ornament::before,
.ornament::after {
    content: '';
    flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-diamond {
    color: var(--gold);
    font-size: 10px;
}

/* ── CHAPTER (ABOUT PAGE) ───────────────────────────────────── */
.chapter {
    max-width: 640px;
    margin: 0 auto 80px;
}
.chapter:last-child { margin-bottom: 0; }
.chapter-mark {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.chapter-mark::after {
    content: '';
    flex: 0 0 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.chapter h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 28px;
    color: var(--ink);
}
.chapter h3 em { color: var(--gold); font-style: italic; }
.chapter p {
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 22px;
}
.chapter p em {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.06em;
    color: var(--ink);
}

/* ── CLOSER (FINAL HERO) ───────────────────────────────────── */
.closer {
    background: var(--ink-deep);
    color: var(--cream);
    padding: 160px 60px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.closer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.closer-watermark {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-hebrew);
    font-size: 520px; line-height: 0.8;
    color: var(--gold); opacity: 0.04;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}
.closer-inner {
    position: relative; z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}
.closer-eyebrow {
    font-size: 12px; color: var(--gold);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 36px;
}
.closer h2 {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 56px;
}
.closer h2 em { color: var(--gold-light); }
.closer-cta { margin-bottom: 80px; }
.closer-signoff {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--gold-light);
    margin-top: 32px;
}

/* ── FOOTER ───────────────────────────────────── */
.footer {
    background: var(--ink-deep);
    color: rgba(250,246,236,0.5);
    padding: 36px 60px;
    border-top: 1px solid rgba(168,122,46,0.2);
}
.footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copy {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.footer-links {
    display: flex; gap: 24px;
    list-style: none;
}
.footer-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(250,246,236,0.5);
    text-decoration: none;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 860px) {
    .nav { padding: 14px 20px; }
    .nav-inner { gap: 14px; }
    .nav-logo-text { font-size: 14px; }
    .nav-cta .long { display: none; }
    .nav-cta .short { display: inline; }
    .nav-links { gap: 0; }
    .nav .nav-links a { font-size: 11px; letter-spacing: 0.16em; padding: 6px 0; }
    .nav-cta { font-size: 10px; letter-spacing: 0.14em; padding: 8px 12px; }
    .hero { padding: 100px 28px 110px; }
    .hero h1 { font-size: 52px; }
    .hero-lede { font-size: 17px; }
    .hero-watermark { font-size: 280px; right: -30px; bottom: -50px; }
    .hero-light { padding: 80px 28px 60px; }
    .hero-light h1 { font-size: 44px; }
    section { padding: 80px 28px; }
    section h2 { font-size: 38px; }
    .chapter h3 { font-size: 28px; }
    .closer { padding: 100px 28px 80px; }
    .closer h2 { font-size: 40px; }
    .closer-watermark { font-size: 320px; }
    .footer { padding: 28px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
