﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   Princess Valerie LLC — design tokens
   ============================================================ */
:root {
    --burgundy: #6d1b2c;
    --burgundy-deep: #4a1220;
    --burgundy-soft: #8f3247;
    --cream: #f7f3ee;
    --cream-2: #efe8e0;
    --ink: #1c1614;
    --ink-soft: #5b524d;
    --gold: #b8893b;
    --gold-deep: #96681f;
    --beige: #ece3d6;
    --beige-deep: #ded1bf;
    --line: #ded4c9;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; display: block; }
h1:focus { outline: none; }

.eyebrow {
    text-transform: uppercase;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    color: var(--burgundy);
    margin: 0 0 1rem;
}

.text-link {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}
.text-link:hover { color: var(--burgundy-deep); border-bottom-color: var(--burgundy); }

a { color: var(--burgundy); }

.btn { text-decoration: none; border-radius: 0; font-family: var(--sans); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; padding: .85rem 1.9rem; }
.btn-primary { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--burgundy-deep); }
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-outline-cream { background: transparent; border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-cream:hover { background: #fff; color: var(--burgundy-deep); }
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 .12rem #fff, 0 0 0 .28rem var(--burgundy-soft);
}

label { font-weight: 600; margin-bottom: .35rem; font-size: .85rem; }
.form-control { border-radius: 0; border-color: var(--line); padding: .8rem 1rem; }

/* ============================================================
   Shell
   ============================================================ */
.content { min-height: 70vh; }
.content > :not(.cover):not(.signup-band):not(.contact-band):not(.pull-band) {
    max-width: var(--shell);
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Vogue-style cover (home)
   ============================================================ */
.cover {
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, #fbf7f1 0%, var(--beige) 45%, var(--beige-deep) 100%);
    color: var(--ink);
    padding: 2.2rem clamp(1rem, 4vw, 3rem) 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(28,22,20,.16);
    pointer-events: none;
    z-index: 6;
}

.cover-topline {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: .68rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(28,22,20,.6);
    padding: 0 1.6rem;
    border-bottom: 1px solid rgba(28,22,20,.18);
    padding-bottom: .9rem;
}

.cover-stage {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(0, 1.55fr) minmax(190px, 1fr);
    gap: clamp(1rem, 2vw, 2.5rem);
    align-items: end;
    padding: 0 1.6rem;
}

/* masthead sits BEHIND the portrait */
.masthead {
    position: absolute;
    top: clamp(.5rem, 2vw, 2rem);
    left: 0;
    right: 0;
    z-index: 1;
    text-align: center;
    pointer-events: none;
}

.masthead .mast-main {
    display: block;
    font-family: var(--serif);
    font-weight: 900;
    font-size: clamp(5rem, 20vw, 17rem);
    line-height: .82;
    letter-spacing: -.02em;
    color: var(--burgundy);
    text-shadow: 0 6px 40px rgba(109,27,44,.12);
}

.masthead .mast-sub {
    display: block;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(.8rem, 1.6vw, 1.35rem);
    line-height: 1.1;
    letter-spacing: .42em;
    text-indent: .42em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: .55rem;
}

/* portrait sits IN FRONT of the masthead */
.cover-portrait {
    grid-column: 2;
    position: relative;
    z-index: 3;
    justify-self: center;
    width: 100%;
    max-width: 620px;
    margin-top: clamp(3rem, 11vw, 9rem);
    filter: drop-shadow(0 30px 60px rgba(74,18,32,.22));
}

.cover-lines {
    position: relative;
    z-index: 4;
    padding-bottom: clamp(2rem, 6vw, 5rem);
    display: grid;
    gap: 2.2rem;
    align-content: end;
}
.cover-lines.left { grid-column: 1; text-align: left; }
.cover-lines.right { grid-column: 3; text-align: right; }

.cover-line { color: var(--ink); text-decoration: none; display: block; }
.cover-line .kicker {
    display: block;
    font-size: .64rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: .35rem;
    font-weight: 700;
}
.cover-line .headline {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.7vw, 1.6rem);
    line-height: 1.15;
    margin-bottom: .3rem;
}
.cover-line .dek {
    display: block;
    font-size: .82rem;
    line-height: 1.5;
    color: rgba(28,22,20,.68);
}
.cover-line:hover .headline { color: var(--burgundy); }
.cover-line:hover .dek { color: rgba(28,22,20,.9); }

.cover-barcode {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.6rem 1.6rem;
    font-size: .66rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(28,22,20,.6);
    border-top: 1px solid rgba(28,22,20,.18);
}

@media (max-width: 900px) {
    .cover { min-height: auto; padding-bottom: 1rem; }
    .cover-stage { grid-template-columns: 1fr; }
    /* single column: masthead, then portrait tucked under it, then the story lines */
    .masthead { position: relative; top: 0; order: 1; margin-bottom: -14vw; }
    .cover-portrait { grid-column: 1; order: 2; margin-top: 0; max-width: 440px; }
    .cover-lines.left { order: 3; }
    .cover-lines.right { order: 4; }
    .cover-lines.left, .cover-lines.right { grid-column: 1; text-align: left; padding-bottom: 1rem; }
    .cover-topline .hide-sm, .cover-barcode .hide-sm { display: none; }
}

@media (max-width: 600px) {
    /* no room to overlap on phones — let the masthead own its own space */
    .masthead { margin-bottom: .75rem; }
    .masthead .mast-main { font-size: clamp(3.6rem, 17vw, 6rem); }
    .cover-stage { gap: 1.25rem; }
}

/* ============================================================
   Home sections
   ============================================================ */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(2rem, 6vw, 6rem);
    padding: clamp(4rem, 9vw, 8rem) 2rem;
    align-items: start;
}
.intro-grid h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; }
.intro-grid p { font-size: 1.1rem; line-height: 1.85; color: var(--ink-soft); }

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin: 0 2rem clamp(4rem, 8vw, 7rem);
}
.stat-row div { background: var(--cream); padding: 2.2rem 1.5rem; }
.stat-row strong { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--burgundy); line-height: 1; }
.stat-row span { display: block; margin-top: .6rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

.feature-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(4rem, 8vw, 7rem);
}
.feature-links a { color: var(--ink); text-decoration: none; padding: 2.6rem 2rem; display: grid; gap: .55rem; border-right: 1px solid var(--line); transition: background .2s ease; }
.feature-links a:last-child { border-right: 0; }
.feature-links a:hover { background: var(--cream-2); }
.feature-links span { font-size: .72rem; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.feature-links strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.feature-links small { color: var(--ink-soft); font-size: .9rem; }

.pull-band {
    background: var(--burgundy-deep);
    color: var(--cream);
    padding: clamp(4rem, 9vw, 7rem) 2rem;
    text-align: center;
}
.pull-band blockquote { max-width: 900px; margin: 0 auto; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.35; }
.pull-band cite { display: block; margin-top: 1.6rem; font-family: var(--sans); font-style: normal; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   Page intro / generic pages
   ============================================================ */
.page-intro { padding: clamp(3.5rem, 8vw, 6.5rem) 2rem clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); margin-bottom: 3.5rem; }
.page-intro h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; }
.page-intro p:not(.eyebrow) { max-width: 680px; font-size: 1.1rem; line-height: 1.8; color: var(--ink-soft); margin-top: 1.4rem; }

/* Contact */
.contact-page {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
    padding: 0 2rem clamp(4rem, 8vw, 7rem);
}
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; margin-bottom: 1rem; }
.contact-copy p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.8; }
.contact-form { display: grid; gap: 1.25rem; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--line); background: #fff; }
.contact-field { display: grid; }
.contact-field textarea { min-height: 9rem; resize: vertical; }
.contact-error { margin: 0; padding: .8rem 1rem; border-left: 3px solid #a51225; background: #fae9e9; color: #73101d; }
.contact-form .btn { justify-self: start; min-height: 44px; }
.contact-form .btn:disabled { cursor: wait; opacity: .7; }

.contact-dialog-backdrop {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(28, 22, 20, .72);
}
.contact-dialog {
    width: min(100%, 520px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: clamp(1.5rem, 5vw, 2.8rem);
    border: 1px solid var(--gold);
    background: var(--cream);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .35);
}
.contact-dialog h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 1rem; }
.contact-dialog p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.7; overflow-wrap: anywhere; }

/* Bio */
.portrait-story { padding: 0 2rem clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(260px, .85fr) 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait-story figure { margin: 0; }
.portrait-story img { width: 100%; object-fit: cover; border: 1px solid var(--line); }
.portrait-story figcaption { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-top: .8rem; }
.portrait-story h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1.2rem; }
.portrait-story p { line-height: 1.85; color: var(--ink-soft); font-size: 1.05rem; }

.fact-list { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.fact-list li { display: grid; grid-template-columns: 190px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.fact-list strong { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); align-self: center; }

/* Services */
.service-list { padding: 0 2rem clamp(4rem, 8vw, 7rem); }
.service-list article { display: grid; grid-template-columns: 90px 1fr; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list span { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.service-list h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .6rem; }
.service-list p { color: var(--ink-soft); line-height: 1.8; margin: 0; }

/* ============================================================
   Résumé
   ============================================================ */
.resume { padding: 0 2rem clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.resume-aside { position: sticky; top: 2rem; border: 1px solid var(--line); background: #fff; padding: 1.8rem; }
.resume-aside h2 { font-size: 1.2rem; letter-spacing: .04em; margin-bottom: 1rem; }
.resume-aside ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.resume-aside li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.resume-aside li:last-child { border-bottom: 0; }
.resume-contact { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); }

.timeline { position: relative; }
.timeline article { position: relative; padding: 0 0 2.8rem 2.2rem; border-left: 2px solid var(--line); }
.timeline article:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline article::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; background: var(--burgundy); border-radius: 50%; }
.timeline .role-date { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; display: block; margin-bottom: .4rem; }
.timeline h2 { font-size: 1.5rem; line-height: 1.25; }
.timeline .role-title { display: block; font-family: var(--sans); font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin: .35rem 0 .9rem; }
.timeline ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.timeline li { margin-bottom: .45rem; line-height: 1.65; font-size: .96rem; }
.resume-note { text-align: center; padding: 2.5rem 0 0; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

/* ============================================================
   Journal
   ============================================================ */
.journal-list { padding: 0 2rem clamp(4rem, 8vw, 7rem); display: grid; gap: 0; }
.journal-list a { color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 170px 1fr; gap: 2rem; border-top: 1px solid var(--line); padding: 2.4rem 0; transition: background .2s ease; }
.journal-list a:last-child { border-bottom: 1px solid var(--line); }
.journal-list a:hover { background: var(--cream-2); }
.journal-list time { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-top: .5rem; }
.journal-list h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0 0 .6rem; }
.journal-list p { color: var(--ink-soft); line-height: 1.75; max-width: 62ch; }
.journal-list .more { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); font-weight: 700; }

/* ============================================================
   Valerie's Weddings column archive
   ============================================================ */
.column-archive { padding: 0 2rem; max-width: 820px !important; }
.column-issue { border-top: 1px solid var(--line); padding: 3rem 0 1rem; }
.column-issue:first-child { border-top: 0; padding-top: 0; }
.column-issue > header { margin-bottom: 2.2rem; }
.column-issue .issue-no { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: .6rem; }
.column-issue > header h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; }

.qa { margin-bottom: 2.4rem; padding-left: 1.6rem; border-left: 2px solid var(--cream-2); }
.qa p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; color: #2a2320; }
.qa p.q { font-style: italic; color: var(--burgundy); font-weight: 500; margin-bottom: 1rem; }
.qa p:last-child { margin-bottom: 0; }

.column-footnote { padding: 2.5rem 2rem 5rem; max-width: 820px !important; border-top: 1px solid var(--line); margin-top: 3rem; }
.column-footnote p { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 700px) {
    .qa { padding-left: 1rem; }
}

/* ============================================================
   Blog post
   ============================================================ */
.blog-post { max-width: 760px !important; padding: clamp(3rem, 7vw, 5.5rem) 2rem clamp(4rem, 8vw, 7rem); }
.blog-post header { border-bottom: 1px solid var(--line); padding-bottom: 2rem; margin-bottom: 2.8rem; }
.blog-post header h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.03; margin: 1.4rem 0 1rem; }
.blog-post header .byline { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }

.prose { font-family: var(--serif); font-size: 1.2rem; line-height: 1.75; color: #2a2320; }
.prose p:first-of-type::first-letter { float: left; font-size: 4.2rem; line-height: .8; padding: .12em .1em 0 0; color: var(--burgundy); font-weight: 700; }
.prose h2 { font-size: 1.9rem; margin: 2.6rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 2.2rem 0; padding: .4rem 0 .4rem 1.8rem; font-style: italic; font-size: 1.45rem; color: var(--burgundy-deep); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .6rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.comments { margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.comments-notice { font-size: .9rem; color: var(--ink-soft); }
.comments-status { font-size: .9rem; color: var(--ink-soft); margin: 1.5rem 0 0; }
.comments-status a { color: var(--burgundy); }
#disqus-host { min-height: 3rem; }

.privacy-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
}

.privacy-choices {
    position: fixed;
    z-index: 1100;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 920px;
    margin: auto;
    padding: 1.25rem;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(30, 20, 18, .22);
}
.privacy-choices h2 { font-size: 1.4rem; }
.privacy-choices label { display: block; margin-top: .65rem; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }

/* ============================================================
   Bands
   ============================================================ */
.signup-band, .contact-band {
    padding: clamp(3.5rem, 8vw, 6rem) max(2rem, calc((100vw - var(--shell)) / 2));
    background: var(--burgundy);
    color: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}
.signup-band .eyebrow, .contact-band .eyebrow { color: var(--gold); }
.signup-band h2, .contact-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; }
.signup-band p:not(.eyebrow) { color: rgba(247,243,238,.82); margin-top: 1rem; }
.signup-form { display: flex; gap: 1rem; align-items: end; }
.signup-form > div:first-child { flex: 1; }
.signup-form label { color: rgba(247,243,238,.9); }
.honeypot { position: absolute; left: -10000px; }
.form-result { font-size: 1.1rem; }

/* ============================================================
   Admin (retained)
   ============================================================ */
.status-page { padding: 10rem 2rem; text-align: center; }
.newsletter-browser { padding: 5rem 2rem; max-width: 760px !important; }
.admin-heading { padding: 3rem 2rem 1rem; display: flex; justify-content: space-between; align-items: end; }
.admin-heading h1 { font-size: 2.8rem; }
.admin-grid { padding: 1rem 2rem 4rem; display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; }
.admin-panel { background: #fff; border: 1px solid var(--line); padding: 1.5rem; margin: 1rem 2rem 3rem; }
.admin-grid .admin-panel { margin: 0; }
.admin-panel h2 { font-size: 1.5rem; }
.record-row { border: 0; border-top: 1px solid var(--line); background: none; width: 100%; padding: 1rem 0; text-align: left; display: flex; flex-direction: column; }
.code-editor { min-height: 300px; font-family: monospace; }
.button-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.newsletter-preview { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.campaign-create form { display: grid; grid-template-columns: 2fr 2fr 1fr auto; gap: 1rem; align-items: end; }
.table td small { display: block; }
.status-pill { display: inline-block; border: 1px solid var(--line); padding: .2rem .5rem; font-size: .75rem; }

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.admin-filters label {
    display: grid;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 600;
}

.admin-filters input,
.admin-filters select {
    min-height: 2.4rem;
    min-width: 12rem;
    padding: .45rem .6rem;
    border: 1px solid #c9beb5;
    background: #fff;
}

.admin-pager,
.delivery-totals,
.admin-detail-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.delivery-totals {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.admin-detail dl {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) 1fr;
    gap: .65rem 1rem;
}

.admin-detail dt {
    font-weight: 700;
}

.admin-detail dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .intro-grid, .portrait-story, .signup-band, .contact-band, .contact-page, .resume { grid-template-columns: 1fr; }
    .resume-aside { position: static; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .feature-links { grid-template-columns: 1fr; }
    .feature-links a { border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-links a:last-child { border-bottom: 0; }
    .journal-list a { grid-template-columns: 1fr; gap: .6rem; }
    .fact-list li { grid-template-columns: 1fr; gap: .2rem; }
    .admin-grid { grid-template-columns: 1fr; }
    .campaign-create form { grid-template-columns: 1fr; }
    .signup-form { flex-direction: column; align-items: stretch; }
    .privacy-choices { flex-direction: column; gap: 1rem; }
}

/* ============================================================
   Blazor validation / error UI
   ============================================================ */
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; font-size: .85rem; }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}
.blazor-error-boundary::after { content: "An error has occurred."; }

.darker-border-checkbox.form-check-input { border-color: #929292; }
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder { color: var(--bs-secondary-color); text-align: end; }
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder { text-align: start; }

/* ============================================================
   Newsletter page
   ============================================================ */
.newsletter-what {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 6vw, 5rem);
    padding: 0 2rem clamp(3rem, 7vw, 5rem);
    align-items: start;
}
.newsletter-what h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.newsletter-what p { color: var(--ink-soft); line-height: 1.85; margin-top: 1rem; }

.newsletter-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.newsletter-points li { background: var(--cream); padding: 1.5rem 1.6rem; display: grid; gap: .4rem; }
.newsletter-points strong {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 700;
}
.newsletter-points span { color: var(--ink-soft); line-height: 1.7; font-size: .95rem; }

.newsletter-faq { padding: clamp(3.5rem, 8vw, 6rem) 2rem; max-width: 760px; }
.newsletter-faq h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 2rem; }
.newsletter-faq h3 { font-size: 1.15rem; margin-top: 2.2rem; }
.newsletter-faq p { color: var(--ink-soft); line-height: 1.85; margin-top: .5rem; }

@media (max-width: 820px) {
    .newsletter-what { grid-template-columns: 1fr; }
}

/* ---- Journal entry: associated YouTube video ---- */
.post-video {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
    padding: 1rem 1.2rem;
    background: var(--beige);
    border: 1px solid var(--line);
    border-left: 3px solid var(--burgundy);
    text-decoration: none;
    color: var(--ink);
    transition: background .2s ease, border-color .2s ease;
}

.post-video:hover {
    background: var(--beige-deep);
    border-left-color: var(--gold-deep);
}

.post-video-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--burgundy);
    color: #fff;
}

.post-video:hover .post-video-icon { background: var(--burgundy-deep); }

.post-video-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }

.post-video-label {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--burgundy);
}

.post-video-desc {
    font-family: var(--sans);
    font-size: .92rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.post-video-cta { margin-left: auto; color: var(--burgundy); font-size: 1.2rem; }

@media (max-width: 560px) {
    .post-video { gap: .8rem; padding: .9rem 1rem; }
    .post-video-cta { display: none; }
}

/* ---------------- Social links ---------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.social-links {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s ease, transform .2s ease;
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: var(--gold);
    transform: translateY(-2px);
}

/* Footer variant — sits on the dark footer */
.social-links-heading {
    margin: 0 0 .9rem;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #85786f;
    text-align: right;
}

.social-links-footer a {
    color: #cfc5bd;
}

/* Intro variant — sits on the light page background */
.social-links-intro {
    margin-top: 1.8rem;
    gap: 1.25rem;
}

.social-links-intro a {
    color: var(--ink-soft);
}

.social-links-intro svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 900px) {
    .social-links-heading {
        text-align: left;
    }
}

.prose .post-figure { margin: 2.6rem 0; }
.prose .post-figure img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 14px rgba(0,0,0,.14); }
.prose .post-figure figcaption { margin-top: .7rem; font-family: var(--sans, inherit); font-size: .92rem; font-style: italic; color: #6b5f57; text-align: center; }
.prose .post-figure-narrow { max-width: 420px; margin-left: auto; margin-right: auto; }
