/* =============================================================
   In Vinculis — Website Styles
   Volume I, Edition One
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Cinzel:wght@400;500;600&family=IM+Fell+English:ital@0;1&family=Montserrat:wght@200;300;400;500&display=swap');

/* ---------- Palette ---------- */
:root {
    --ink-black:     #0C0709;
    --paper-dark:    #15101A;
    --paper-deeper:  #0A0610;
    --oxblood:       #6B1818;
    --oxblood-soft:  #7A2222;
    --deep-red:      #8A1F1F;
    --gold:          #C9A961;
    --gold-dim:      #A88A47;
    --brass:         #8B6F3F;
    --brass-soft:    #6E5832;
    --ivory:         #F5EDE0;
    --ivory-soft:    #EFE5D4;
    --warm-white:    #E8DFD1;
    --warm-mute:     #B8AE9E;
    --warm-faint:    #7A7264;

    --serif:    'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
    --display:  'Cinzel', 'Trajan Pro', serif;
    --fell:     'IM Fell English', 'Cormorant Garamond', serif;
    --sans:     'Montserrat', -apple-system, sans-serif;

    --measure:  640px;
    --wide:     1100px;

    --tx-fast:   180ms ease;
    --tx-slow:   600ms cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink-black);
    color: var(--warm-white);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.7;
    font-feature-settings: 'liga' 1, 'kern' 1, 'onum' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color var(--tx-fast); }
a:hover { color: var(--deep-red); }
p { margin: 0 0 1.2em; }

::selection { background: var(--oxblood); color: var(--ivory); }

/* ---------- Page frame: corner brackets ---------- */
.page-frame {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.page-frame .corner {
    position: absolute;
    width: 38px;
    height: 38px;
    border-color: var(--gold-dim);
    opacity: 0.55;
}
.page-frame .corner.tl { top: 28px;    left: 28px;    border-top: 1px solid;    border-left: 1px solid; }
.page-frame .corner.tr { top: 28px;    right: 28px;   border-top: 1px solid;    border-right: 1px solid; }
.page-frame .corner.bl { bottom: 28px; left: 28px;    border-bottom: 1px solid; border-left: 1px solid; }
.page-frame .corner.br { bottom: 28px; right: 28px;   border-bottom: 1px solid; border-right: 1px solid; }

@media (max-width: 720px) {
    .page-frame .corner { width: 22px; height: 22px; }
    .page-frame .corner.tl, .page-frame .corner.tr { top: 14px; }
    .page-frame .corner.bl, .page-frame .corner.br { bottom: 14px; }
    .page-frame .corner.tl, .page-frame .corner.bl { left: 14px; }
    .page-frame .corner.tr, .page-frame .corner.br { right: 14px; }
}

/* ---------- Top running header ---------- */
.running-head {
    position: relative;
    z-index: 1;
    padding: 30px 70px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--brass);
    text-transform: uppercase;
}
.running-head a { color: var(--brass); }
.running-head a:hover { color: var(--gold); }
.running-head .rh-rule {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: -10px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brass-soft) 12%, var(--brass-soft) 88%, transparent);
    opacity: 0.55;
}
@media (max-width: 720px) {
    .running-head { padding: 20px 40px 0; font-size: 9px; }
    .running-head .rh-rule { left: 40px; right: 40px; }
}

/* ---------- Navigation ---------- */
.nav {
    position: relative;
    z-index: 1;
    padding: 28px 70px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.nav-mark {
    font-family: var(--fell);
    font-style: italic;
    font-size: 26px;
    color: var(--ivory);
    letter-spacing: 0.01em;
}
.nav-mark a { color: inherit; }
.nav-mark a:hover { color: var(--gold); }
.nav-mark .nav-mark-sub {
    display: block;
    font-family: var(--display);
    font-style: normal;
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--brass);
    margin-top: 4px;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    gap: 38px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
.nav-links a {
    color: var(--warm-mute);
    position: relative;
    padding-bottom: 4px;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 920px) {
    .nav { padding: 22px 40px; flex-direction: column; gap: 18px; }
    .nav-links { gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 10px; }
}

/* ---------- Diamond ornament ---------- */
.diamond-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 28px auto;
    max-width: 560px;
}
.diamond-rule .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim) 50%, transparent);
    opacity: 0.7;
}
.diamond-rule .diamond {
    width: 9px;
    height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.35);
}
.diamond-rule.small { max-width: 340px; margin: 18px auto; }
.diamond-rule.small .diamond { width: 7px; height: 7px; }

/* ---------- Chapter / Roman marker ---------- */
.chapter-marker {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 auto 48px;
    max-width: var(--wide);
    padding: 0 70px;
}
.chapter-marker .roman {
    font-family: var(--fell);
    font-style: italic;
    font-size: 64px;
    color: var(--gold);
    line-height: 1;
    letter-spacing: 0.02em;
}
.chapter-marker .roman .dot { color: var(--brass); }
.chapter-marker .divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, var(--brass-soft), transparent);
    opacity: 0.8;
}
.chapter-marker .label {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.32em;
    color: var(--warm-mute);
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .chapter-marker { padding: 0 40px; gap: 16px; margin-bottom: 32px; }
    .chapter-marker .roman { font-size: 44px; }
    .chapter-marker .label { font-size: 10px; }
}

/* ---------- Hero (homepage masthead) ---------- */
.masthead {
    position: relative;
    text-align: center;
    padding: 90px 70px 70px;
    overflow: hidden;
}
.masthead::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 50% 30%, rgba(107, 24, 24, 0.10), transparent 60%),
      radial-gradient(ellipse at 50% 80%, rgba(201, 169, 97, 0.04), transparent 70%);
    pointer-events: none;
}
.masthead-presents {
    position: relative;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.42em;
    color: var(--brass);
    margin-bottom: 36px;
    text-transform: uppercase;
}
.masthead-title {
    position: relative;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(72px, 13vw, 168px);
    line-height: 0.92;
    margin: 0 0 22px;
    color: var(--ivory);
    letter-spacing: -0.005em;
}
.masthead-sub {
    position: relative;
    font-family: var(--fell);
    font-style: italic;
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--warm-mute);
    max-width: 560px;
    margin: 0 auto 14px;
}
.masthead-meta {
    position: relative;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.42em;
    color: var(--brass);
    margin-top: 36px;
    text-transform: uppercase;
}
.masthead-meta span { margin: 0 14px; }

/* ---------- Container ---------- */
.container {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 70px;
}
.container.narrow { max-width: var(--measure); }
@media (max-width: 720px) { .container { padding: 0 30px; } }

/* ---------- Headings ---------- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--ivory);
    font-weight: 600;
    letter-spacing: -0.005em;
    margin: 0 0 0.4em;
}
.h-display {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    color: var(--oxblood-soft);
    margin: 0 0 12px;
}
.h-page {
    font-family: var(--serif);
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 600;
    color: var(--oxblood-soft);
    margin: 0 0 16px;
    line-height: 1.05;
}
.h-subtitle {
    font-family: var(--fell);
    font-style: italic;
    font-size: 19px;
    color: var(--warm-mute);
    margin-bottom: 12px;
    font-weight: 400;
}
.eyebrow {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: inline-block;
}
.section-sign {
    color: var(--gold);
    font-style: normal;
    margin-right: 8px;
}

/* ---------- Featured post (hero card) ---------- */
.featured {
    padding: 64px 70px 90px;
    background: linear-gradient(180deg, var(--paper-deeper), transparent);
    position: relative;
}
.featured-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.featured-eyebrow {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.36em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 22px;
}
.featured-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    color: var(--ivory);
    margin: 0 0 22px;
}
.featured-title em { font-style: italic; color: var(--ivory); }
.featured-lede {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.55;
    color: var(--warm-mute);
    max-width: 600px;
    margin: 0 auto 32px;
}
.featured-cta {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--oxblood-soft);
    text-transform: uppercase;
    border-bottom: 1px solid var(--oxblood);
    padding-bottom: 4px;
    transition: all var(--tx-fast);
}
.featured-cta:hover { color: var(--deep-red); border-color: var(--deep-red); letter-spacing: 0.36em; }
.featured-meta {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--brass);
    margin-top: 18px;
    text-transform: uppercase;
}

/* ---------- Three section cards ---------- */
.sections-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    margin: 0 0 80px;
}
.section-card {
    padding: 56px 44px;
    border-right: 1px solid var(--brass-soft);
    text-align: center;
    position: relative;
    transition: background var(--tx-slow);
    color: inherit;
}
.section-card:last-child { border-right: none; }
.section-card:hover {
    background: linear-gradient(180deg, rgba(107, 24, 24, 0.06), transparent);
}
.section-card:hover .section-card-title { color: var(--deep-red); }
.section-card .sign {
    font-family: var(--display);
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 18px;
}
.section-card-eyebrow {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.36em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-card-title {
    font-family: var(--serif);
    font-size: 36px;
    font-style: italic;
    font-weight: 500;
    color: var(--oxblood-soft);
    margin: 0 0 14px;
    transition: color var(--tx-fast);
}
.section-card-line {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--warm-mute);
    max-width: 280px;
    margin: 0 auto 22px;
    line-height: 1.5;
}
.section-card-cad {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.4em;
    color: var(--brass);
    text-transform: uppercase;
}
@media (max-width: 860px) {
    .sections-row { grid-template-columns: 1fr; }
    .section-card { border-right: none; border-bottom: 1px solid var(--brass-soft); padding: 44px 30px; }
    .section-card:last-child { border-bottom: none; }
}

/* ---------- Recent posts list ---------- */
.recent {
    padding: 0 70px 100px;
    max-width: 900px;
    margin: 0 auto;
}
.recent h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 36px;
    color: var(--ivory);
    margin: 0 0 8px;
    text-align: center;
}
.recent .h-subtitle { text-align: center; }
.recent-list { list-style: none; padding: 0; margin: 50px 0 0; }
.recent-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(139, 111, 63, 0.25);
    align-items: baseline;
}
.recent-item:last-child { border-bottom: none; }
.recent-date {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--brass);
    text-transform: uppercase;
    padding-top: 3px;
}
.recent-body { color: var(--warm-white); }
.recent-section-tag {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.recent-title {
    display: block;
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ivory);
    line-height: 1.25;
    font-weight: 500;
    transition: color var(--tx-fast);
    margin-bottom: 6px;
}
.recent-item:hover .recent-title { color: var(--deep-red); }
.recent-excerpt {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--warm-mute);
    margin: 0;
}
.recent-read {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--brass);
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 720px) {
    .recent { padding: 0 30px 60px; }
    .recent-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
    .recent-read { display: none; }
}

/* ---------- Subscribe block ---------- */
.subscribe-band {
    padding: 80px 70px 100px;
    background: var(--paper-dark);
    text-align: center;
    border-top: 1px solid var(--brass-soft);
    position: relative;
}
.subscribe-band::before, .subscribe-band::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 40%;
    max-width: 360px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brass-soft), transparent);
    transform: translateX(-50%);
}
.subscribe-band::before { top: 0; }
.subscribe-band::after { bottom: 0; }
.sb-eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.sb-title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(34px, 4.5vw, 48px); color: var(--ivory); margin: 0 0 14px; line-height: 1.1; }
.sb-sub { font-family: var(--fell); font-style: italic; font-size: 18px; color: var(--warm-mute); max-width: 480px; margin: 0 auto 40px; }
.sb-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    border: 1px solid var(--brass-soft);
    background: rgba(0,0,0,0.3);
}
.sb-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--ivory);
    font-family: var(--serif);
    font-size: 16px;
    padding: 14px 18px;
    outline: none;
    font-style: italic;
}
.sb-form input::placeholder { color: var(--warm-faint); font-style: italic; }
.sb-form button {
    background: var(--oxblood);
    color: var(--ivory);
    border: none;
    padding: 0 26px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--tx-fast);
}
.sb-form button:hover { background: var(--deep-red); }
.sb-fineprint {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--warm-faint);
    margin-top: 22px;
}

/* ---------- Footer ---------- */
.foot {
    padding: 60px 70px 50px;
    border-top: 1px solid var(--brass-soft);
    color: var(--warm-mute);
    background: var(--paper-deeper);
}
.foot-grid {
    max-width: var(--wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}
.foot-mark {
    font-family: var(--fell);
    font-style: italic;
    font-size: 28px;
    color: var(--ivory);
    margin-bottom: 8px;
}
.foot-tag {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
}
.foot-blurb {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--warm-mute);
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.6;
}
.foot h4 {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
    margin: 4px 0 16px;
    font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 9px; font-size: 15px; }
.foot a { color: var(--warm-mute); }
.foot a:hover { color: var(--gold); }
.foot-bottom {
    max-width: var(--wide);
    margin: 60px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(139, 111, 63, 0.3);
    display: flex;
    justify-content: space-between;
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
}
@media (max-width: 860px) {
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .foot { padding: 40px 30px; }
    .foot-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---------- About / Manifesto ---------- */
.about-page {
    padding: 60px 70px 100px;
    max-width: 760px;
    margin: 0 auto;
}
.about-page .h-page { color: var(--oxblood-soft); }
.about-page .pull {
    font-family: var(--fell);
    font-style: italic;
    font-size: 24px;
    color: var(--gold);
    line-height: 1.5;
    text-align: center;
    margin: 60px 0;
    padding: 36px 30px;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    position: relative;
}
.about-page .pull .attribution {
    display: block;
    margin-top: 18px;
    font-family: var(--display);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
}
.about-page p {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.75;
    color: var(--warm-white);
    margin-bottom: 1.3em;
}
.about-page p em { color: var(--ivory); }
.about-page p:first-of-type::first-letter {
    font-family: var(--serif);
    font-style: italic;
    font-size: 88px;
    float: left;
    line-height: 0.85;
    padding: 8px 14px 0 0;
    color: var(--oxblood-soft);
    font-weight: 600;
}
.about-page .bold-block {
    color: var(--ivory);
}
.about-page .bold-block strong {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    margin-right: 10px;
}
.about-page .fin {
    text-align: center;
    margin-top: 70px;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.4em;
    color: var(--brass);
    text-transform: uppercase;
}

/* ---------- Section landing ---------- */
.section-landing {
    padding: 50px 70px 90px;
    max-width: 880px;
    margin: 0 auto;
}
.section-landing .sl-head { text-align: center; margin-bottom: 18px; }
.section-landing .sl-head .eyebrow { color: var(--gold); }
.section-landing .sl-intro {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    line-height: 1.7;
    color: var(--warm-mute);
    text-align: center;
    max-width: 580px;
    margin: 0 auto 60px;
}
.section-landing .archive-list { list-style: none; padding: 0; margin: 0; }
.section-landing .archive-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 36px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(139, 111, 63, 0.25);
    align-items: baseline;
}
.section-landing .archive-item:last-child { border-bottom: none; }
.section-landing .archive-date {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--brass);
    text-transform: uppercase;
}
.section-landing .archive-num {
    display: block;
    margin-top: 6px;
    font-family: var(--fell);
    font-style: italic;
    font-size: 14px;
    color: var(--brass-soft);
    letter-spacing: 0;
}
.section-landing .archive-title {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--ivory);
    line-height: 1.2;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    transition: color var(--tx-fast);
}
.section-landing .archive-item:hover .archive-title { color: var(--deep-red); }
.section-landing .archive-excerpt {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--warm-mute);
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 720px) {
    .section-landing { padding: 40px 30px 60px; }
    .section-landing .archive-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Post ---------- */
.post {
    padding: 40px 70px 100px;
    max-width: 760px;
    margin: 0 auto;
}
.post-head {
    text-align: center;
    margin-bottom: 50px;
}
.post-eyebrow {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.36em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 22px;
}
.post-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(38px, 5.5vw, 60px);
    color: var(--oxblood-soft);
    line-height: 1.05;
    margin: 0 0 18px;
}
.post-title em { font-style: italic; }
.post-subtitle {
    font-family: var(--fell);
    font-style: italic;
    font-size: 22px;
    color: var(--warm-mute);
    margin: 0 0 26px;
}
.post-meta {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
}
.post-meta .dot { color: var(--gold); margin: 0 12px; }
.post-body {
    max-width: var(--measure);
    margin: 0 auto;
}
.post-body p {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.78;
    margin: 0 0 1.2em;
    color: var(--warm-white);
}
.post-body p em { color: var(--ivory); }
.post-body p:first-of-type::first-letter {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 78px;
    float: left;
    line-height: 0.85;
    padding: 6px 12px 0 0;
    color: var(--oxblood-soft);
}
.post-body blockquote {
    margin: 50px -20px;
    padding: 0 20px;
    text-align: center;
    position: relative;
}
.post-body blockquote::before,
.post-body blockquote::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold-dim);
    margin: 0 auto 20px;
}
.post-body blockquote::after {
    margin: 20px auto 0;
}
.post-body blockquote p {
    font-family: var(--fell);
    font-style: italic;
    font-size: 24px;
    line-height: 1.55;
    color: var(--gold);
    margin: 0;
}
.post-body h2 {
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.36em;
    color: var(--gold);
    text-transform: uppercase;
    margin: 56px 0 22px;
    text-align: center;
    font-weight: 500;
}
.post-end {
    text-align: center;
    margin: 60px 0 30px;
    color: var(--gold);
    font-size: 14px;
}
.post-end .diamond {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}
.post-foot {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--brass-soft);
    display: flex;
    justify-content: space-between;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--brass);
    text-transform: uppercase;
}
.post-foot a { color: var(--brass); }
.post-foot a:hover { color: var(--gold); }

/* ---------- Subscribe / tiers page ---------- */
.tiers {
    padding: 40px 70px 100px;
    max-width: var(--wide);
    margin: 0 auto;
}
.tiers-head { text-align: center; margin-bottom: 60px; }
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--brass-soft);
}
.tier {
    padding: 50px 38px;
    border-right: 1px solid var(--brass-soft);
    text-align: center;
    background: rgba(255,255,255,0.005);
    position: relative;
    transition: background var(--tx-slow);
}
.tier:last-child { border-right: none; }
.tier.is-featured {
    background: linear-gradient(180deg, rgba(107, 24, 24, 0.10), transparent);
}
.tier.is-featured::before {
    content: 'Recommended';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--ink-black);
    padding: 0 14px;
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--gold);
    text-transform: uppercase;
}
.tier-name {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.36em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tier-flag {
    font-family: var(--serif);
    font-style: italic;
    font-size: 34px;
    color: var(--ivory);
    font-weight: 500;
    margin: 0 0 18px;
}
.tier-price {
    font-family: var(--serif);
    font-size: 30px;
    color: var(--oxblood-soft);
    margin: 0 0 6px;
    font-weight: 500;
}
.tier-price small { font-size: 14px; color: var(--brass); }
.tier-or {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 26px;
}
.tier-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}
.tier-list li {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--warm-white);
    padding: 9px 0 9px 22px;
    position: relative;
    line-height: 1.5;
    border-bottom: 1px solid rgba(139, 111, 63, 0.15);
}
.tier-list li:last-child { border-bottom: none; }
.tier-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 16px;
    width: 6px; height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}
.tier-list li em { color: var(--ivory); }
.tier-cta {
    display: inline-block;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    padding: 14px 26px;
    border: 1px solid var(--gold);
    color: var(--gold);
    transition: all var(--tx-fast);
}
.tier-cta:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--ivory); }
.tier.is-featured .tier-cta { background: var(--oxblood); border-color: var(--oxblood); color: var(--ivory); }
.tier.is-featured .tier-cta:hover { background: var(--deep-red); border-color: var(--deep-red); }
@media (max-width: 860px) {
    .tiers { padding: 30px 30px 60px; }
    .tiers-grid { grid-template-columns: 1fr; }
    .tier { border-right: none; border-bottom: 1px solid var(--brass-soft); }
    .tier:last-child { border-bottom: none; }
}

/* ---------- Archive (full) ---------- */
.archive-page { padding: 40px 70px 100px; max-width: var(--wide); margin: 0 auto; }
.archive-filters {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 30px 0 50px;
    flex-wrap: wrap;
}
.archive-filters a {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--brass);
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid transparent;
    transition: all var(--tx-fast);
}
.archive-filters a.is-on,
.archive-filters a:hover {
    color: var(--gold);
    border-color: var(--gold-dim);
}
.archive-page .archive-item {
    display: grid;
    grid-template-columns: 100px 100px 1fr auto;
    gap: 28px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(139, 111, 63, 0.18);
    align-items: baseline;
}
.archive-page .archive-item:hover .archive-title { color: var(--deep-red); }
.archive-page .archive-date {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--brass);
    text-transform: uppercase;
}
.archive-page .archive-tag {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.28em;
    color: var(--gold);
    text-transform: uppercase;
}
.archive-page .archive-title {
    font-family: var(--serif);
    font-size: 21px;
    color: var(--ivory);
    line-height: 1.3;
    font-weight: 500;
    transition: color var(--tx-fast);
}
.archive-page .archive-read {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--brass);
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .archive-page { padding: 30px 30px 60px; }
    .archive-page .archive-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .archive-page .archive-read { display: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.italic { font-style: italic; }
.divider-rule {
    display: block;
    width: 90px;
    height: 1px;
    background: var(--gold-dim);
    margin: 30px auto;
}
.lat { font-family: var(--fell); font-style: italic; color: var(--gold); }

/* ---------- Selection / focus ---------- */
:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 4px;
}

/* ---------- Print ---------- */
@media print {
    body { background: white; color: black; }
    .page-frame, .nav, .running-head, .foot, .subscribe-band { display: none; }
}

/* =============================================================
   MOTION LAYER  ·  high-end editorial interactivity
   ============================================================= */

/* Body states */
body.iv-loading { overflow: hidden; }
body.iv-ready   { cursor: auto; }
body.iv-entering { opacity: 0; }
body { transition: opacity 500ms cubic-bezier(.2, .8, .2, 1); }

/* Film grain — adds richness to dark surfaces */
body::after {
    content: '';
    position: fixed;
    inset: -50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
    animation: ivGrain 1.8s steps(3) infinite;
}
@keyframes ivGrain {
    0%   { transform: translate(0, 0); }
    33%  { transform: translate(-2%, 1%); }
    66%  { transform: translate(1%, -1%); }
    100% { transform: translate(0, 0); }
}

/* ---------- Opening curtain ---------- */
.iv-curtain {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
.iv-curtain-panel {
    position: absolute;
    left: 0; right: 0;
    background: var(--ink-black);
    transition: transform 900ms cubic-bezier(.77, 0, .175, 1);
}
.iv-curtain-top {
    top: 0;
    height: 50%;
    transform: translateY(0);
}
.iv-curtain-bot {
    bottom: 0;
    height: 50%;
    transform: translateY(0);
}
.iv-curtain.is-open .iv-curtain-top { transform: translateY(-100%); }
.iv-curtain.is-open .iv-curtain-bot { transform: translateY(100%); }
.iv-curtain.is-gone { opacity: 0; transition: opacity 500ms ease; }
.iv-curtain-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--ivory);
    opacity: 0;
    transition: opacity 600ms ease;
    z-index: 1;
}
.iv-curtain.is-show .iv-curtain-inner { opacity: 1; }
.iv-curtain.is-open .iv-curtain-inner { opacity: 0; transition-duration: 300ms; }
.iv-curtain-mark {
    font-family: var(--fell);
    font-style: italic;
    font-size: clamp(40px, 6vw, 72px);
    color: var(--ivory);
    letter-spacing: 0.01em;
    transform: translateY(20px);
    animation: ivCurtainIn 900ms 100ms cubic-bezier(.2, .8, .2, 1) forwards;
}
.iv-curtain-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg) scale(0);
    animation: ivCurtainDot 600ms 700ms cubic-bezier(.2, .8, .2, 1) forwards;
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.6);
}
@keyframes ivCurtainIn  { to { transform: translateY(0); } }
@keyframes ivCurtainDot { to { transform: rotate(45deg) scale(1); } }

/* ---------- Custom cursor ---------- */
.iv-cursor-dot, .iv-cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 999;
    will-change: transform;
    mix-blend-mode: difference;
}
.iv-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transition: width 200ms ease, height 200ms ease, background 200ms ease;
}
.iv-cursor-dot.is-on {
    width: 4px;
    height: 4px;
    background: var(--ivory);
}
.iv-cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transition: width 250ms ease, height 250ms ease, border-color 200ms ease, background 200ms ease, opacity 200ms ease;
    opacity: 0.7;
}
.iv-cursor-ring.is-on {
    width: 56px;
    height: 56px;
    border-color: var(--ivory);
    background: rgba(201, 169, 97, 0.06);
    opacity: 1;
}
.iv-cursor-ring.is-press {
    width: 22px;
    height: 22px;
}
@media (pointer: coarse) {
    .iv-cursor-dot, .iv-cursor-ring { display: none; }
    body.iv-ready { cursor: auto; }
}

/* Keep clickable elements responsive even when cursor is gold */
body.iv-ready a,
body.iv-ready button,
body.iv-ready input,
body.iv-ready textarea { cursor: text; }
body.iv-ready a,
body.iv-ready button,
body.iv-ready .section-card,
body.iv-ready .recent-item,
body.iv-ready .tier,
body.iv-ready .archive-item { cursor: pointer; }

/* ---------- Scroll progress bar ---------- */
.iv-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--oxblood), var(--gold), var(--oxblood));
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 100;
    transition: transform 80ms linear;
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.4);
}

/* ---------- Nav condense on scroll ---------- */
.nav {
    transition: padding 500ms cubic-bezier(.2, .8, .2, 1), background 400ms ease, backdrop-filter 400ms ease;
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav.is-condensed {
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(12, 7, 9, 0.78);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid rgba(139, 111, 63, 0.25);
}
.nav.is-condensed .nav-mark { font-size: 22px; }
.nav.is-condensed .nav-mark-sub { opacity: 0; transform: translateY(-4px); transition: all 300ms ease; }
.nav-mark, .nav-mark-sub { transition: all 400ms cubic-bezier(.2, .8, .2, 1); }

/* ---------- Reveal classes ---------- */
.reveal-auto {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(2px);
    transition:
        opacity 900ms cubic-bezier(.2, .8, .2, 1),
        transform 900ms cubic-bezier(.2, .8, .2, 1),
        filter 900ms cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform, filter;
}
.reveal-auto.is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal-auto { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Masthead letter cascade (fast) ---------- */
.masthead-title.iv-letters-on { display: inline-block; }
.iv-letter {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: ivLetter 700ms cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: calc(200ms + var(--i) * 30ms);
    will-change: transform, opacity;
}
@keyframes ivLetter {
    to { transform: translateY(0) rotate(0); opacity: 1; }
}

/* ---------- Featured title word reveal ---------- */
.iv-words-on .iv-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.04em;
}
.iv-words-on .iv-word-i {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1000ms cubic-bezier(.2, .8, .2, 1);
}
.featured-title.is-revealed .iv-word-i,
.iv-words-on.is-revealed .iv-word-i {
    transform: translateY(0);
}
.featured-title.iv-words-on .iv-word:nth-child(n) .iv-word-i {
    transition-delay: calc(60ms * var(--w, 0));
}

/* Even simpler — stagger by index via :nth-child wave */
.iv-words-on.is-revealed .iv-word:nth-child(1)  .iv-word-i { transition-delay: 40ms; }
.iv-words-on.is-revealed .iv-word:nth-child(2)  .iv-word-i { transition-delay: 100ms; }
.iv-words-on.is-revealed .iv-word:nth-child(3)  .iv-word-i { transition-delay: 160ms; }
.iv-words-on.is-revealed .iv-word:nth-child(4)  .iv-word-i { transition-delay: 220ms; }
.iv-words-on.is-revealed .iv-word:nth-child(5)  .iv-word-i { transition-delay: 280ms; }
.iv-words-on.is-revealed .iv-word:nth-child(6)  .iv-word-i { transition-delay: 340ms; }
.iv-words-on.is-revealed .iv-word:nth-child(7)  .iv-word-i { transition-delay: 400ms; }
.iv-words-on.is-revealed .iv-word:nth-child(8)  .iv-word-i { transition-delay: 460ms; }
.iv-words-on.is-revealed .iv-word:nth-child(9)  .iv-word-i { transition-delay: 520ms; }
.iv-words-on.is-revealed .iv-word:nth-child(10) .iv-word-i { transition-delay: 580ms; }

/* ---------- Masthead refinements ---------- */
.masthead {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.masthead-title {
    will-change: transform;
    overflow: hidden;
    padding: 0.05em 0;
}
.masthead-sub, .masthead-presents, .masthead-meta {
    will-change: transform;
}
.masthead::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(107, 24, 24, 0.08), transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.04), transparent 50%);
    pointer-events: none;
    opacity: calc(1 - var(--scrub, 0));
    transition: opacity 200ms ease;
}
.iv-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    opacity: 0.5;
}
.masthead-presents, .masthead-title, .masthead-sub, .masthead-meta, .diamond-rule {
    position: relative;
    z-index: 1;
}

/* ---------- Section cards (no mouse-move tilt) ---------- */
.section-card {
    transition: background 600ms ease;
}
.section-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(201, 169, 97, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}
.section-card:hover::before { opacity: 1; }
.section-card .section-card-title {
    background: linear-gradient(120deg, var(--oxblood-soft) 0%, var(--oxblood-soft) 50%, var(--deep-red) 50%, var(--deep-red) 100%);
    background-size: 220% 100%;
    background-position: 0% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 700ms cubic-bezier(.2, .8, .2, 1);
}
.section-card:hover .section-card-title {
    background-position: -100% 0;
}
.section-card .section-card-cad {
    position: relative;
    display: inline-block;
}
.section-card .section-card-cad::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 600ms cubic-bezier(.2, .8, .2, 1), left 600ms cubic-bezier(.2, .8, .2, 1);
}
.section-card:hover .section-card-cad::after { width: 30px; left: calc(50% - 15px); }

/* ---------- Tier cards (no mouse-move tilt) ---------- */
.tier {
    transition: background 600ms ease;
}

/* ---------- Featured CTA: marquee underline ---------- */
.featured-cta, .tier-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.featured-cta::before {
    content: '';
    position: absolute;
    inset: 0 100% 0 0;
    background: var(--deep-red);
    transition: inset 500ms cubic-bezier(.7, 0, .3, 1);
    z-index: -1;
}
.featured-cta:hover::before { inset: 0; }
.featured-cta:hover { color: var(--ivory); border-color: var(--deep-red); letter-spacing: 0.34em; }

.tier-cta::before {
    content: '';
    position: absolute;
    inset: 100% 0 0 0;
    background: var(--oxblood);
    transition: inset 500ms cubic-bezier(.7, 0, .3, 1);
    z-index: -1;
}
.tier-cta:hover::before { inset: 0; }
.tier-cta:hover { color: var(--ivory); border-color: var(--oxblood); }

/* ---------- Section card link underline animations ---------- */
.nav-links a {
    position: relative;
    overflow: visible;
}
.nav-links a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 4px;
    height: 4px;
    background: var(--gold);
    transform: translateX(-50%) rotate(45deg) scale(0);
    transition: transform 400ms cubic-bezier(.2, .8, .2, 1);
    opacity: 0.9;
}
.nav-links a:hover::before { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav-links a.is-active::after { display: none; }

/* ---------- Diamond rule pulse ---------- */
.diamond-rule .diamond {
    animation: ivDiamondPulse 4.5s ease-in-out infinite;
}
@keyframes ivDiamondPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(201, 169, 97, 0.35); }
    50%      { box-shadow: 0 0 26px rgba(201, 169, 97, 0.7); }
}

/* ---------- Marquee ribbon ---------- */
.iv-marquee {
    position: relative;
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    background: var(--paper-deeper);
    margin: 60px 0 0;
}
.iv-marquee-track {
    display: flex;
    gap: 70px;
    white-space: nowrap;
    animation: ivMarquee 38s linear infinite;
    width: max-content;
    will-change: transform;
}
.iv-marquee:hover .iv-marquee-track { animation-play-state: paused; }
.iv-marquee-item {
    font-family: var(--fell);
    font-style: italic;
    font-size: clamp(28px, 4.5vw, 56px);
    color: var(--gold);
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 50px;
}
.iv-marquee-item::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
    opacity: 0.7;
}
@keyframes ivMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Recent items: hover slide ---------- */
.recent-item {
    transition: padding 400ms cubic-bezier(.2, .8, .2, 1);
    cursor: pointer;
    position: relative;
}
.recent-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 400ms ease, width 400ms cubic-bezier(.2, .8, .2, 1);
}
.recent-item:hover {
    padding-left: 16px;
}
.recent-item:hover::before {
    opacity: 1;
    width: 24px;
    left: -32px;
}

/* ---------- Archive items: similar ---------- */
.archive-page .archive-item,
.section-landing .archive-item {
    transition: background 400ms ease, padding 400ms cubic-bezier(.2, .8, .2, 1);
    cursor: pointer;
}
.archive-page .archive-item:hover {
    background: linear-gradient(to right, rgba(107, 24, 24, 0.06), transparent 60%);
    padding-left: 14px;
}

/* ---------- Buttons / forms ---------- */
.sb-form {
    transition: border-color 400ms ease, box-shadow 400ms ease;
}
.sb-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(201, 169, 97, 0.15);
}
.sb-form button {
    position: relative;
    overflow: hidden;
}
.sb-form button::before {
    content: '';
    position: absolute;
    inset: 0 0 0 -100%;
    background: var(--deep-red);
    transition: left 400ms cubic-bezier(.7, 0, .3, 1);
}
.sb-form button:hover::before { left: 0; }
.sb-form button span { position: relative; z-index: 1; }

/* ---------- About / post pulls glow ---------- */
.about-page .pull {
    position: relative;
    overflow: hidden;
}
.about-page .pull::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 30px;
    font-family: var(--fell);
    font-style: italic;
    font-size: 180px;
    color: var(--oxblood);
    opacity: 0.18;
    line-height: 1;
}

/* ---------- Hide native cursor where ours takes over ---------- */
body.iv-ready *, body.iv-ready *::before, body.iv-ready *::after { cursor: inherit; }

/* ---------- Performance / accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .iv-cursor-dot, .iv-cursor-ring { display: none; }
    body.iv-ready { cursor: auto; }
    body::after { display: none; }
}

/* ---------- Slightly more dramatic running head on scroll ---------- */
.running-head { transition: opacity 400ms ease; }
.nav.is-condensed ~ .running-head,
body:has(.nav.is-condensed) .running-head { opacity: 0; pointer-events: none; }

/* =============================================================
   FUNCTIONAL LAYER — UI
   ============================================================= */

/* ---------- Toast ---------- */
.iv-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 30px);
    background: var(--paper-dark);
    color: var(--ivory);
    border: 1px solid var(--brass-soft);
    border-left: 3px solid var(--gold);
    padding: 14px 22px;
    font-family: var(--body);
    font-size: 14px;
    letter-spacing: 0.01em;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 300;
    transition: opacity 400ms ease, transform 400ms cubic-bezier(.2, .8, .2, 1);
    max-width: 86vw;
}
.iv-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.iv-toast--err  { border-left-color: var(--oxblood); }
.iv-toast--ok   { border-left-color: var(--gold); }
.iv-toast--info { border-left-color: var(--brass); }

/* ---------- Subscribe form: states ---------- */
.sb-form.is-error input { animation: ivShake 480ms cubic-bezier(.36, .07, .19, .97); border-color: var(--oxblood) !important; }
@keyframes ivShake {
    10%, 90%   { transform: translateX(-2px); }
    20%, 80%   { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-8px); }
    40%, 60%   { transform: translateX(8px); }
}
.sb-form.is-subscribed { opacity: 0.85; }
.sb-form.is-subscribed input { color: var(--gold); }
.sb-success-note {
    max-width: 560px;
    margin: 24px auto 0;
    text-align: center;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ivory);
    padding: 26px 30px;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    background: rgba(201, 169, 97, 0.04);
    line-height: 1.7;
    animation: ivFadeIn 700ms cubic-bezier(.2, .8, .2, 1);
}
.sb-success-note em { color: var(--gold); font-style: italic; font-family: var(--fell); }
.iv-tick {
    color: var(--gold);
    margin-right: 8px;
    display: inline-block;
    animation: ivTickPulse 1.4s ease-in-out infinite;
}
@keyframes ivTickPulse {
    0%, 100% { transform: rotate(0); opacity: 1; }
    50%      { transform: rotate(0); opacity: 0.4; }
}
@keyframes ivFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Modal ---------- */
.iv-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 400ms ease;
}
.iv-modal.is-open { opacity: 1; pointer-events: auto; }
.iv-modal-back {
    position: absolute;
    inset: 0;
    background: rgba(12, 7, 9, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.iv-modal-card {
    position: relative;
    max-width: 520px;
    width: calc(100% - 40px);
    background: var(--paper-dark);
    border: 1px solid var(--brass-soft);
    padding: 50px 48px 40px;
    color: var(--ivory);
    text-align: center;
    transform: translateY(20px) scale(0.98);
    transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 169, 97, 0.06);
}
.iv-modal.is-open .iv-modal-card { transform: translateY(0) scale(1); }
.iv-modal-card::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201, 169, 97, 0.18);
    pointer-events: none;
}
.iv-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    color: var(--brass);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 200ms ease, transform 200ms ease;
}
.iv-modal-close:hover { color: var(--gold); transform: rotate(90deg); }
.iv-modal-eyebrow {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.36em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.iv-modal-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 36px;
    color: var(--oxblood-soft);
    margin: 0 0 14px;
    line-height: 1.15;
}
.iv-modal-title em { font-family: var(--fell); font-style: italic; color: var(--gold); font-weight: 400; }
.iv-modal-sub {
    font-family: var(--body);
    font-size: 15px;
    color: var(--warm-mute);
    margin: 0 0 22px;
    line-height: 1.6;
}
.iv-modal-price {
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    color: var(--gold);
    margin: 0 0 26px;
}
.iv-modal-price small {
    font-size: 12px;
    font-family: var(--display);
    font-style: normal;
    letter-spacing: 0.28em;
    color: var(--brass);
    text-transform: uppercase;
}
.iv-modal-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--brass-soft);
    transition: border-color 300ms ease, box-shadow 300ms ease;
}
.iv-modal-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 0 30px rgba(201, 169, 97, 0.12);
}
.iv-modal-form input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 16px 18px;
    color: var(--ivory);
    font-family: var(--body);
    font-size: 15px;
    outline: 0;
}
.iv-modal-form input::placeholder { color: var(--warm-faint); font-style: italic; }
.iv-modal-form button {
    background: var(--oxblood);
    border: 0;
    color: var(--ivory);
    padding: 0 26px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 400ms ease, letter-spacing 400ms ease;
}
.iv-modal-form button:hover { background: var(--deep-red); letter-spacing: 0.32em; }
.iv-modal-form button span { position: relative; z-index: 1; }
.iv-modal-fine {
    font-family: var(--body);
    font-size: 12px;
    font-style: italic;
    color: var(--warm-faint);
    margin: 22px 0 0;
}
body.iv-modal-on { overflow: hidden; }

/* ---------- Archive: search + filter state ---------- */
.archive-search {
    display: block;
    margin: 12px auto 30px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--brass-soft);
    padding: 12px 4px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--ivory);
    text-align: center;
    width: min(440px, 86vw);
    outline: 0;
    transition: border-color 300ms ease;
}
.archive-search::placeholder { color: var(--warm-faint); }
.archive-search:focus { border-color: var(--gold); }
.archive-page .archive-item {
    transition: opacity 400ms ease, transform 400ms cubic-bezier(.2, .8, .2, 1), padding 400ms ease, max-height 500ms ease, margin 400ms ease;
    max-height: 200px;
    overflow: hidden;
}
.archive-page .archive-item.is-hidden {
    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}
.archive-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--warm-mute);
    font-family: var(--serif);
}
.archive-empty em {
    color: var(--gold);
    font-family: var(--fell);
    font-size: 22px;
}
.archive-empty span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--warm-faint);
    font-style: italic;
}
.archive-filters a.is-on {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 169, 97, 0.05);
}

/* ---------- Hamburger + mobile menu ---------- */
.iv-burger {
    display: none;
    position: absolute;
    right: 24px;
    top: 24px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}
.iv-burger span {
    display: block;
    height: 1px;
    background: var(--gold);
    margin: 6px auto;
    width: 24px;
    transition: transform 350ms cubic-bezier(.2, .8, .2, 1), opacity 250ms ease;
    transform-origin: center;
}
.nav.is-menu-open .iv-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-menu-open .iv-burger span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .iv-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
    .iv-burger { display: block; }
    .nav { flex-direction: row; justify-content: space-between; align-items: center; padding: 20px 24px; }
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--ink-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        font-size: 16px;
        letter-spacing: 0.32em;
        opacity: 0;
        pointer-events: none;
        transform: scale(1.02);
        transition: opacity 400ms ease, transform 500ms cubic-bezier(.2, .8, .2, 1);
        z-index: 55;
    }
    .nav.is-menu-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }
    .nav-links a {
        font-family: var(--display);
        color: var(--ivory);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 500ms ease, transform 500ms cubic-bezier(.2, .8, .2, 1);
    }
    .nav.is-menu-open .nav-links a {
        opacity: 1;
        transform: translateY(0);
    }
    .nav.is-menu-open .nav-links a:nth-child(1) { transition-delay: 100ms; }
    .nav.is-menu-open .nav-links a:nth-child(2) { transition-delay: 160ms; }
    .nav.is-menu-open .nav-links a:nth-child(3) { transition-delay: 220ms; }
    .nav.is-menu-open .nav-links a:nth-child(4) { transition-delay: 280ms; }
    .nav.is-menu-open .nav-links a:nth-child(5) { transition-delay: 340ms; }
    .nav.is-menu-open .nav-links a:nth-child(6) { transition-delay: 400ms; }
    body.iv-menu-on { overflow: hidden; }
}

/* ---------- Post: separate reading progress (article) ---------- */
.iv-post-progress {
    position: fixed;
    top: 2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 99;
    opacity: 0.6;
    transition: transform 60ms linear;
}

/* ---------- Post actions ---------- */
.iv-post-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 22px;
    flex-wrap: wrap;
}
.iv-act {
    background: transparent;
    border: 1px solid var(--brass-soft);
    color: var(--warm-mute);
    padding: 8px 14px;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 350ms cubic-bezier(.2, .8, .2, 1);
}
.iv-act:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 169, 97, 0.04);
    letter-spacing: 0.32em;
}

/* ---------- Post: prev / next nav ---------- */
.iv-pn {
    flex: 1;
    max-width: 360px;
    padding: 24px 28px;
    border: 1px solid var(--brass-soft);
    transition: border-color 400ms ease, background 400ms ease;
    min-height: 110px;
    display: flex;
    align-items: center;
}
.iv-pn:hover { border-color: var(--gold); background: rgba(201, 169, 97, 0.03); }
.iv-pn a { display: block; color: inherit; width: 100%; }
.iv-pn-prev { text-align: left; }
.iv-pn-next { text-align: right; margin-left: auto; }
.iv-pn-dir {
    display: block;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.iv-pn-lab {
    display: block;
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.28em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.iv-pn-title {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--oxblood-soft);
    line-height: 1.3;
}
.iv-pn-empty {
    font-family: var(--fell);
    font-style: italic;
    font-size: 16px;
    color: var(--warm-faint);
    width: 100%;
}
.post-foot {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
@media (max-width: 640px) {
    .post-foot { flex-direction: column; }
    .iv-pn-next { text-align: left; margin-left: 0; }
}

/* ---------- Back to top ---------- */
.iv-totop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--paper-dark);
    border: 1px solid var(--brass-soft);
    color: var(--warm-mute);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 400ms ease, transform 400ms cubic-bezier(.2, .8, .2, 1), border-color 300ms ease, color 300ms ease;
    z-index: 90;
    font-family: var(--display);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.iv-totop.is-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.iv-totop:hover { border-color: var(--gold); color: var(--gold); }
.iv-totop-arrow { font-size: 18px; color: var(--gold); line-height: 1; }
.iv-totop-lab {
    font-size: 8px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

/* ---------- Page transition fade-out (very subtle) ---------- */
body.iv-leaving { opacity: 0.4; transition: opacity 160ms ease; }

/* ---------- Hover: keep cursor visible on the search input ---------- */
body.iv-ready input, body.iv-ready textarea { cursor: text; }

/* ---------- Focus rings (keyboard-only) ---------- */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 1px;
    transition: outline-offset 150ms ease;
}
button:focus-visible,
.featured-cta:focus-visible,
.tier-cta:focus-visible,
.iv-act:focus-visible,
.iv-totop:focus-visible {
    outline-offset: 6px;
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.18);
}
input:focus-visible,
textarea:focus-visible,
.sb-form:focus-within input,
.iv-modal-form:focus-within input,
.archive-search:focus-visible {
    outline: none;
}
a:focus-visible { outline-offset: 3px; }
/* Skip link */
.iv-skip {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 400;
    background: var(--ink-black);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 20px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    transition: top 200ms ease;
}
.iv-skip:focus-visible { top: 12px; outline: none; }

/* ---------- Table of contents (post pages) ---------- */
.iv-toc {
    position: fixed;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    z-index: 40;
    max-width: 220px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms ease;
}
.iv-toc.is-show { opacity: 1; pointer-events: auto; }
.iv-toc-head {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.36em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--brass-soft);
}
.iv-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}
.iv-toc li {
    counter-increment: toc;
    margin: 0 0 10px;
    line-height: 1.4;
    position: relative;
    padding-left: 22px;
}
.iv-toc li::before {
    content: counter(toc, upper-roman);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--fell);
    font-style: italic;
    font-size: 11px;
    color: var(--brass);
    opacity: 0.7;
}
.iv-toc a {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--warm-mute);
    transition: color 250ms ease, padding 250ms ease;
    display: block;
}
.iv-toc a:hover { color: var(--gold); }
.iv-toc a.is-current {
    color: var(--gold);
    padding-left: 6px;
}
.iv-toc a.is-current::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    width: 8px;
    height: 1px;
    background: var(--gold);
    transform: translateY(-50%);
}
@media (max-width: 1280px) {
    .iv-toc { display: none; }
}

/* =============================================================
   FREQUENCY READER  ·  discreet, opt-in
   ============================================================= */

.iv-fr-host {
    margin: 24px 0 0;
    font-family: var(--body);
}
.iv-fr-host--before {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--brass-soft);
}
.iv-fr-host--after {
    margin: 80px auto 50px;
    max-width: 640px;
}

/* Discreet trigger */
.iv-fr-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    color: var(--brass);
    font-family: var(--fell);
    font-style: italic;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 300ms ease, gap 300ms ease;
}
.iv-fr-trigger:hover { color: var(--gold); gap: 14px; }
.iv-fr-trigger-mark {
    color: var(--gold);
    font-size: 9px;
    opacity: 0.6;
    transition: opacity 300ms ease;
}
.iv-fr-trigger:hover .iv-fr-trigger-mark { opacity: 1; }
.iv-fr-host--after .iv-fr-trigger {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 16px 0;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
    font-size: 17px;
}

/* Inline form (expanded) */
.iv-fr-form {
    margin-top: 18px;
    padding: 22px 26px;
    background: rgba(21, 16, 26, 0.45);
    border: 1px solid var(--brass-soft);
    animation: ivFrExpand 380ms cubic-bezier(.2, .8, .2, 1);
}
@keyframes ivFrExpand {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.iv-fr-form-prompt {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--warm-mute);
    margin: 0 0 18px;
    line-height: 1.5;
}
.iv-fr-form-prompt em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-mute);
}

.iv-fr-dial {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}
.iv-fr-dial-min, .iv-fr-dial-max {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--brass);
}
.iv-fr-dial-val {
    font-family: var(--fell);
    font-style: italic;
    font-size: 24px;
    color: var(--gold);
    width: 40px;
    text-align: center;
    line-height: 1;
}
.iv-fr-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) calc(var(--p, 0.5) * 100%), var(--brass-soft) calc(var(--p, 0.5) * 100%), var(--brass-soft) 100%);
    border: 0;
    outline: 0;
    cursor: pointer;
}
.iv-fr-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--ink-black);
    cursor: grab;
    box-shadow: 0 0 8px rgba(201, 169, 97, 0.4);
}
.iv-fr-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--ink-black);
    cursor: grab;
}

.iv-fr-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.iv-fr-chip {
    background: transparent;
    border: 1px solid var(--brass-soft);
    color: var(--warm-mute);
    padding: 6px 12px;
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    cursor: pointer;
    transition: all 250ms cubic-bezier(.2, .8, .2, 1);
}
.iv-fr-chip:hover { color: var(--gold); border-color: var(--gold-dim); }
.iv-fr-chip.is-on {
    color: var(--ink-black);
    background: var(--gold);
    border-color: var(--gold);
    font-style: normal;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.iv-fr-reflect {
    width: 100%;
    background: var(--ink-black);
    border: 1px solid var(--brass-soft);
    color: var(--ivory);
    padding: 10px 12px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
    outline: 0;
    margin-bottom: 18px;
    transition: border-color 300ms ease;
    cursor: text;
    min-height: 60px;
}
.iv-fr-reflect:focus { border-color: var(--gold); }
.iv-fr-reflect::placeholder { color: var(--warm-faint); font-style: italic; }

.iv-fr-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.iv-fr-submit {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 9px 18px;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 350ms ease;
}
.iv-fr-submit:hover { background: var(--gold); color: var(--ink-black); }
.iv-fr-cancel {
    background: transparent;
    border: 0;
    color: var(--warm-faint);
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 4px;
    transition: color 250ms ease;
}
.iv-fr-cancel:hover { color: var(--brass); }

/* Noted state — compact one-liner */
.iv-fr-noted {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    font-family: var(--body);
}
.iv-fr-noted-lab {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
}
.iv-fr-noted-val {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--ivory);
}
.iv-fr-noted-val em {
    font-family: var(--fell);
    color: var(--gold);
    font-size: 20px;
    margin-right: 4px;
}
.iv-fr-edit {
    background: transparent;
    border: 0;
    color: var(--warm-faint);
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 2px 6px;
    transition: color 250ms ease;
}
.iv-fr-edit:hover { color: var(--gold); }

/* Result block — quiet end-of-essay */
.iv-fr-result {
    padding: 28px 30px;
    background: rgba(21, 16, 26, 0.4);
    border: 1px solid var(--brass-soft);
    animation: ivFrExpand 500ms cubic-bezier(.2, .8, .2, 1);
}
.iv-fr-result-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brass-soft);
}
.iv-fr-result-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.iv-fr-result-lab {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
    width: 80px;
    flex-shrink: 0;
}
.iv-fr-result-val {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--ivory);
}
.iv-fr-result-val em {
    font-family: var(--fell);
    color: var(--gold);
    font-size: 22px;
    margin-right: 4px;
}
.iv-fr-reflection {
    margin: 0 0 16px;
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--oxblood);
    font-family: var(--fell);
    font-style: italic;
    font-size: 16px;
    color: var(--warm-mute);
    line-height: 1.5;
}
.iv-fr-result-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.iv-fr-link {
    color: var(--gold);
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    transition: letter-spacing 300ms ease;
}
.iv-fr-link:hover { letter-spacing: 0.34em; }
.iv-fr-clear {
    background: transparent;
    border: 0;
    color: var(--warm-faint);
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 250ms ease;
}
.iv-fr-clear:hover { color: var(--brass); }

@media (max-width: 640px) {
    .iv-fr-form { padding: 18px 20px; }
    .iv-fr-actions { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
    .iv-fr-submit { padding: 12px; }
    .iv-fr-result { padding: 22px 20px; }
    .iv-fr-result-row { flex-direction: column; gap: 4px; }
    .iv-fr-result-lab { width: auto; }
    .iv-fr-noted { flex-wrap: wrap; }
}

/* Hide the OLD heavy classes (now unused but defensively cleared) */
.iv-fr, .iv-fr-eyebrow, .iv-fr-q, .iv-fr-hint,
.iv-fr-summary, .iv-fr-redo, .iv-fr-skip,
.iv-fr-result-mark, .iv-fr-result-aphor, .iv-fr-result-delta,
.iv-fr-result-grid, .iv-fr-result-line { display: none; }

/* === Legacy Frequency Reader CSS removed (replaced by restrained version above) === */

/* =============================================================
   PWA install banner
   ============================================================= */
.iv-pwa-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 460px;
    margin: 0 auto;
    z-index: 95;
    background: var(--paper-dark);
    border: 1px solid var(--brass-soft);
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 500ms cubic-bezier(.2, .8, .2, 1), opacity 400ms ease;
}
.iv-pwa-banner.is-show { transform: translateY(0); opacity: 1; }
.iv-pwa-text strong {
    display: block;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 15px;
    color: var(--ivory);
    margin-bottom: 2px;
}
.iv-pwa-text strong em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}
.iv-pwa-text span {
    font-family: var(--body);
    font-size: 12px;
    color: var(--warm-faint);
    font-style: italic;
}
.iv-pwa-acts { display: flex; gap: 8px; align-items: center; }
.iv-pwa-install {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 18px;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 300ms ease;
}
.iv-pwa-install:hover { background: var(--gold); color: var(--ink-black); }
.iv-pwa-close {
    background: transparent;
    border: 0;
    color: var(--brass);
    font-size: 22px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    line-height: 1;
    transition: color 200ms ease;
}
.iv-pwa-close:hover { color: var(--gold); }

/* =============================================================
   LETTERS PAGE  ·  correspondence
   ============================================================= */
.letters-page {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 40px 80px;
}
.letter-form-wrap {
    max-width: 720px;
    margin: 60px auto 80px;
    padding: 50px 50px 44px;
    background: var(--paper-dark);
    border: 1px solid var(--brass-soft);
    position: relative;
}
.letter-form-wrap::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 169, 97, 0.08);
    pointer-events: none;
}
.letter-form-head { margin-bottom: 36px; }
.letter-form-eyebrow {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.36em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.letter-form-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 38px;
    color: var(--oxblood-soft);
    margin: 0 0 14px;
    line-height: 1.1;
}
.letter-form-intro {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--warm-mute);
    line-height: 1.7;
    margin: 0;
}
.letter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lf-row { display: block; }
.lf-row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.lf-lab {
    display: block;
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.36em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.lf-lab em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-faint);
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    margin-left: 6px;
}
.letter-form input[type="text"],
.letter-form input[type="email"],
.letter-form textarea {
    width: 100%;
    background: var(--ink-black);
    border: 0;
    border-bottom: 1px solid var(--brass-soft);
    color: var(--ivory);
    padding: 12px 4px;
    font-family: var(--serif);
    font-size: 16px;
    outline: 0;
    transition: border-color 300ms ease;
}
.letter-form textarea {
    border: 1px solid var(--brass-soft);
    padding: 16px 18px;
    line-height: 1.7;
    font-style: italic;
    resize: vertical;
    cursor: text;
    min-height: 200px;
}
.letter-form input::placeholder,
.letter-form textarea::placeholder {
    color: var(--warm-faint);
    font-style: italic;
}
.letter-form input:focus,
.letter-form textarea:focus { border-color: var(--gold); }

.lf-permission {
    padding: 16px 18px;
    background: rgba(12, 7, 9, 0.5);
    border: 1px solid var(--brass-soft);
}
.lf-permission label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--warm-mute);
}
.lf-permission input[type="checkbox"] {
    accent-color: var(--gold);
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.lf-permission em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-mute);
}

.lf-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.lf-submit {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 32px;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 400ms ease, letter-spacing 400ms ease;
}
.lf-submit::before {
    content: '';
    position: absolute;
    inset: 0 100% 0 0;
    background: var(--gold);
    transition: inset 500ms cubic-bezier(.7, 0, .3, 1);
    z-index: -1;
}
.lf-submit:hover::before { inset: 0; }
.lf-submit:hover { color: var(--ink-black); letter-spacing: 0.36em; }
.lf-fineprint {
    font-family: var(--serif);
    font-size: 12px;
    color: var(--warm-faint);
}
.lf-fineprint em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--brass);
}

/* Success state */
.lf-success {
    padding: 36px 20px 20px;
    text-align: center;
    animation: ivFadeIn 600ms cubic-bezier(.2, .8, .2, 1);
}
.lf-success-mark {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 18px;
    animation: ivDiamondPulse 4.5s ease-in-out infinite;
}
.lf-success-title {
    font-family: var(--fell);
    font-style: italic;
    font-size: 30px;
    color: var(--gold);
    margin: 0 0 18px;
}
.lf-success-text {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--warm-mute);
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.lf-success-text a {
    color: var(--gold);
}
.lf-success-copy {
    background: var(--ink-black);
    border: 1px solid var(--brass-soft);
    padding: 18px 22px;
    margin: 0 0 22px;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--ivory);
    line-height: 1.6;
    white-space: pre-wrap;
    text-align: left;
    max-height: 240px;
    overflow-y: auto;
    cursor: text;
}
.lf-success-foot {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.lf-copy-btn, .lf-reset-btn {
    background: transparent;
    border: 1px solid var(--brass-soft);
    color: var(--warm-mute);
    padding: 10px 22px;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 300ms ease;
}
.lf-copy-btn:hover, .lf-reset-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Divider */
.letters-divider {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 80px auto 60px;
    max-width: 680px;
}
.letters-divider .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brass-soft), transparent);
}
.letters-divider-mark {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.42em;
    color: var(--gold);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Letter cards */
.letters-stream {
    max-width: 720px;
    margin: 0 auto;
}
.letter {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--brass-soft);
}
.letter:last-of-type {
    border-bottom: 0;
}
.letter-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(139, 111, 63, 0.3);
}
.letter-meta span {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--brass);
    text-transform: uppercase;
}
.letter-meta-from em, .letter-meta-re em {
    font-family: var(--fell);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    color: var(--gold);
    font-size: 15px;
}
.letter-meta-re {
    color: var(--warm-mute) !important;
}
.letter-body {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.85;
    color: var(--warm-white);
}
.letter-body p {
    margin: 0 0 18px;
}
.letter-body p:last-child {
    margin-bottom: 0;
}
.letter-foot {
    margin-top: 22px;
    text-align: right;
    font-family: var(--fell);
    font-style: italic;
    font-size: 15px;
    color: var(--brass);
}

.letters-empty-note {
    margin-top: 80px;
    padding: 36px 30px;
    text-align: center;
    background: rgba(21, 16, 26, 0.4);
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
}
.letters-empty-note p {
    margin: 0;
    font-family: var(--serif);
    font-size: 15px;
    color: var(--warm-mute);
    line-height: 1.7;
}
.letters-empty-note em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-mute);
}

@media (max-width: 720px) {
    .letters-page { padding: 0 20px 60px; }
    .letter-form-wrap { padding: 32px 24px 28px; }
    .letter-form-title { font-size: 28px; }
    .lf-row--two { grid-template-columns: 1fr; }
    .lf-actions { flex-direction: column; align-items: stretch; }
    .lf-submit { padding: 14px; }
    .lf-fineprint { text-align: center; }
    .letter-body { font-size: 16px; }
}

/* =============================================================
   READINGS PAGE
   ============================================================= */
.iv-readings-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 36px 30px;
    border-top: 1px solid var(--brass-soft);
    border-bottom: 1px solid var(--brass-soft);
}
.iv-readings-stat { text-align: center; }
.iv-readings-stat-lab {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.36em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.iv-readings-stat-num {
    font-family: var(--fell);
    font-style: italic;
    font-size: 48px;
    color: var(--gold);
    line-height: 1;
}
.iv-readings-stat-sub {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--warm-mute);
    margin-top: 10px;
}
.iv-readings-stat-sub em {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-mute);
}
.iv-readings-list {
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 30px;
}
.iv-reading {
    display: grid;
    grid-template-columns: 110px 1fr 120px;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--brass-soft);
    align-items: start;
}
.iv-reading-date {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
    padding-top: 6px;
}
.iv-reading-tag {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.iv-reading-title {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--oxblood-soft);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 300ms ease;
}
.iv-reading-title em { font-family: var(--fell); font-style: italic; }
.iv-reading-title:hover { color: var(--deep-red); }
.iv-reading-dials {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--body);
}
.iv-reading-dial {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.iv-reading-dial .lab {
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.28em;
    color: var(--brass);
    text-transform: uppercase;
}
.iv-reading-dial .num {
    font-family: var(--fell);
    font-style: italic;
    font-size: 24px;
    color: var(--gold);
}
.iv-reading-dial .words {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--warm-mute);
}
.iv-reading-dial.is-empty {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-faint);
    font-size: 14px;
}
.iv-reading-arrow {
    color: var(--brass);
    font-family: var(--fell);
    font-style: italic;
    font-size: 20px;
}
.iv-reading-reflection {
    margin: 16px 0 0;
    padding: 12px 18px;
    border-left: 2px solid var(--oxblood);
    font-family: var(--fell);
    font-style: italic;
    font-size: 16px;
    color: var(--warm-mute);
}
.iv-reading-delta {
    text-align: center;
    padding: 10px;
    border-left: 1px solid var(--brass-soft);
}
.iv-reading-delta .num {
    display: block;
    font-family: var(--fell);
    font-style: italic;
    font-size: 38px;
    color: var(--gold);
    line-height: 1;
}
.iv-reading-delta .lab {
    display: block;
    font-family: var(--display);
    font-size: 9px;
    letter-spacing: 0.28em;
    color: var(--brass);
    text-transform: uppercase;
    margin-top: 6px;
}
.iv-reading-delta.pos .num { color: #C9A961; }
.iv-reading-delta.neg .num { color: #8A1F1F; }
.iv-reading-delta .incomplete {
    font-family: var(--fell);
    font-style: italic;
    color: var(--warm-faint);
    font-size: 13px;
}
.iv-readings-empty {
    text-align: center;
    padding: 80px 20px 60px;
    max-width: 600px;
    margin: 0 auto;
}
.iv-readings-empty p {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--warm-mute);
    line-height: 1.7;
    margin-bottom: 8px;
}
.iv-readings-empty em { color: var(--gold); font-family: var(--fell); }

@media (max-width: 768px) {
    .iv-readings-stats { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
    .iv-reading { grid-template-columns: 1fr; gap: 12px; }
    .iv-reading-delta { border-left: 0; border-top: 1px solid var(--brass-soft); padding-top: 16px; }
}

