@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --ink: #171513;
  --ink-soft: #403b36;
  --paper: #f4f0e8;
  --paper-deep: #e7dfd2;
  --white: #fffdf8;
  --red: #a52a2d;
  --red-dark: #761e22;
  --line: rgba(23, 21, 19, 0.15);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shadow: 0 24px 70px rgba(23, 21, 19, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.site-shell { min-height: 100vh; overflow: hidden; }
.site-header { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 24px 40px; position: relative; z-index: 5; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; letter-spacing: -0.02em; }
.wordmark-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--red); color: var(--red); font: 700 0.78rem var(--sans); letter-spacing: 0.08em; transform: rotate(-6deg); }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { font: 600 1.28rem var(--serif); }
.wordmark small { color: var(--ink-soft); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.main-nav { display: flex; gap: 26px; align-items: center; font-size: 0.84rem; font-weight: 600; }
.main-nav a { border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--red); border-color: var(--red); }
.main-nav .nav-contact { padding: 9px 15px; border: 1px solid var(--ink); }
.main-nav .nav-contact:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; border: 1px solid var(--ink); padding: 8px 11px; background: transparent; }

main { min-height: 65vh; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 0.72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.9rem, 6.3vw, 6.6rem); max-width: 800px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: 1.45rem; }
.lede { max-width: 580px; color: var(--ink-soft); font-size: 1.08rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--ink); font-size: .82rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--red); border-color: var(--red); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--paper-deep); }
.link-arrow { color: var(--red); font-size: .83rem; font-weight: 700; }

.hero { position: relative; padding: 90px 0 100px; }
.profile-hero { background: var(--white); }
.profile-cover { height: min(48vw, 560px); min-height: 310px; position: relative; overflow: hidden; }
.profile-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.profile-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,21,19,.03), rgba(23,21,19,.24)); }
.profile-content { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 38px; align-items: end; padding-top: 0; padding-bottom: 54px; }
.profile-avatar { width: 190px; height: 190px; margin-top: -95px; border: 7px solid var(--white); border-radius: 50%; overflow: hidden; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(23,21,19,.2); }
.profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-copy { padding-top: 25px; }
.profile-copy h1 { margin: 12px 0 0; font-size: clamp(3.1rem, 7vw, 6.8rem); }
.profile-subtitle { margin: -4px 0 12px; color: var(--ink-soft); font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.profile-description { max-width: 640px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.08rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero::after { content: '✦'; position: absolute; right: 12%; top: 80px; color: var(--red); opacity: .8; font-size: 2.4rem; transform: rotate(15deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: end; }
.hero h1 { margin: 20px 0 25px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-aside { border-top: 1px solid var(--ink); padding-top: 17px; }
.hero-aside .aside-number { color: var(--red); font: 600 4.6rem/.9 var(--serif); }
.hero-aside p { margin: 18px 0 0; color: var(--ink-soft); font-size: .93rem; }
.paper-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.paper-strip-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.paper-strip p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.15rem; }

.section { padding: 100px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lede, .section-dark .muted { color: #cfc6b9; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; max-width: 600px; }
.section-heading .lede { max-width: 380px; margin-bottom: 4px; }
.category-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.category-card { padding: 25px 22px 20px 0; border-right: 1px solid var(--line); margin-right: 22px; min-height: 205px; display: flex; flex-direction: column; justify-content: space-between; }
.category-card:last-child { border-right: 0; margin-right: 0; }
.category-index { color: var(--red); font-size: .75rem; font-weight: 700; }
.category-card h3 { margin: 24px 0 10px; font-size: 1.25rem; }
.category-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.section-dark .category-card p { color: #b5ada3; }
.featured { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.featured-visual { min-height: 410px; background: var(--red); color: var(--paper); padding: 28px; position: relative; display: flex; align-items: end; overflow: hidden; }
.featured-visual::before { content: ''; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(244,240,232,.5); border-radius: 50%; top: 48px; left: 50%; transform: translateX(-50%); }
.featured-visual::after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(244,240,232,.5); border-radius: 50%; top: 98px; left: 50%; transform: translateX(-50%); }
.visual-mark { position: absolute; top: 115px; left: 50%; transform: translateX(-50%); font: 600 6rem var(--serif); opacity: .9; }
.featured-visual p { position: relative; z-index: 1; max-width: 215px; margin: 0; font: 1.18rem/1.35 var(--serif); }
.featured-copy .eyebrow { margin-bottom: 19px; }
.featured-copy h2 { margin-bottom: 21px; }
.featured-copy .excerpt { color: var(--ink-soft); font-size: 1.02rem; }
.meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.featured-copy .meta { margin-bottom: 20px; }

.page-intro { padding: 74px 0 58px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: 18px 0; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.page-intro .lede { max-width: 640px; }
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.about-aside { border-top: 1px solid var(--ink); padding-top: 20px; }
.brand-emblem { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.82) contrast(.98); }
.image-caption { margin: 12px 0 0; color: var(--ink-soft); font-size: .77rem; }
.about-aside .portrait { width: 100%; aspect-ratio: 1/1.12; background: var(--red); color: var(--paper); display: flex; align-items: end; padding: 24px; position: relative; }
.about-aside .portrait::before { content: ''; position: absolute; inset: 22px; border: 1px solid rgba(244,240,232,.55); }
.portrait span { position: relative; font: 1.6rem var(--serif); }
.about-copy h2 { margin-bottom: 25px; }
.about-copy p { color: var(--ink-soft); max-width: 650px; }
.quote { margin: 38px 0; padding: 26px 28px; border-left: 3px solid var(--red); background: var(--white); font: 1.42rem/1.4 var(--serif); }
.timeline { margin-top: 75px; border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--red); font: 600 1.35rem var(--serif); }
.timeline-row p { margin: 0; color: var(--ink-soft); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 40px; }
.filter-btn { border: 1px solid var(--line); background: transparent; color: var(--ink-soft); padding: 9px 13px; font-size: .77rem; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.article-index { border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 120px 1fr 180px; gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-row .meta { padding-top: 4px; }
.article-row h3 { margin: 0 0 9px; font-size: 1.65rem; }
.article-row p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.article-row .link-arrow { text-align: right; padding-top: 6px; }

.article-page { padding: 70px 0 100px; }
.article-header { max-width: 850px; margin-bottom: 72px; }
.article-header h1 { margin: 17px 0 22px; font-size: clamp(2.7rem, 6vw, 5.8rem); }
.article-header .lede { font-size: 1.2rem; }
.article-cover { display: block; width: min(100%, 760px); max-height: 520px; object-fit: cover; margin-top: 28px; }
.article-layout { display: grid; grid-template-columns: 170px minmax(0, 700px); gap: 70px; align-items: start; justify-content: center; }
.article-share { position: sticky; top: 25px; border-top: 1px solid var(--ink); padding-top: 14px; font-size: .77rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .1em; }
.article-body { font: 1.12rem/1.9 var(--serif); }
.article-body h2 { margin: 55px 0 18px; font-size: 2.1rem; }
.article-body p { margin-bottom: 22px; white-space: pre-line; }
.article-body .dropcap:first-letter { float: left; font: 600 5rem/.75 var(--serif); color: var(--red); padding: 10px 10px 0 0; }
.article-closing { margin-top: 50px; padding: 24px 28px; background: var(--ink); color: var(--paper); font-size: 1.25rem; line-height: 1.55; }
.article-footer { max-width: 870px; margin: 78px auto 0; border-top: 1px solid var(--line); padding-top: 25px; display: flex; justify-content: space-between; gap: 20px; }

.signup-panel { max-width: 770px; padding: 44px; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.signup-panel::after { content: 'LB'; position: absolute; right: -15px; bottom: -52px; color: rgba(244,240,232,.08); font: 600 13rem var(--serif); }
.signup-panel > * { position: relative; z-index: 1; }
.signup-panel h2 { max-width: 600px; margin-bottom: 16px; }
.signup-panel p { color: #cfc6b9; max-width: 580px; }
.signup-form { display: flex; gap: 9px; margin-top: 28px; }
.signup-form input, .contact-form input, .contact-form textarea { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 13px 14px; width: 100%; outline: none; }
.signup-form input:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.signup-form .btn { flex: 0 0 auto; border-color: var(--paper); }
.form-note { min-height: 26px; margin: 12px 0 0; color: #f4d5d4 !important; font-size: .84rem !important; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.contact-details { border-top: 1px solid var(--ink); padding-top: 18px; }
.contact-details p { color: var(--ink-soft); }
.contact-label { color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-form { display: grid; gap: 13px; }
.contact-form label { font-size: .8rem; font-weight: 700; }
.contact-form textarea { min-height: 145px; resize: vertical; }

.author-loading, .author-login { max-width: 720px; padding: 42px; background: var(--white); border: 1px solid var(--line); }
.author-login h2 { margin: 15px 0; }
.author-login p { color: var(--ink-soft); max-width: 560px; }
.author-dashboard { border-top: 1px solid var(--ink); padding-top: 24px; }
.dashboard-top { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 40px; }
.dashboard-top h2 { margin: 14px 0 4px; }
.dashboard-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: start; }
.editor-panel, .manage-panel { background: var(--white); border: 1px solid var(--line); padding: 26px; }
.editor-heading, .manage-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 25px; }
.editor-heading h3, .manage-heading h3 { margin: 0; }
.author-editor { display: grid; gap: 15px; }
.author-editor label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.author-editor input, .author-editor textarea, .author-editor select { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 12px; outline: none; }
.author-editor textarea { resize: vertical; line-height: 1.55; }
.author-editor input:focus, .author-editor textarea:focus, .author-editor select:focus { border-color: var(--red); }
.upload-row { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; }
.upload-label { flex: 1; }
.upload-label input { padding: 8px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 7px; }
.schedule-wrap[hidden] { display: none; }
.manage-panel { display: grid; gap: 33px; }
.manage-section + .manage-section { border-top: 1px solid var(--line); padding-top: 24px; }
.count-badge { min-width: 28px; height: 28px; padding: 4px 8px; display: grid; place-items: center; background: var(--red); color: var(--paper); border-radius: 50%; font-size: .73rem; font-weight: 700; }
.author-article-list, .subscriber-list { display: grid; gap: 8px; }
.author-article-item { text-align: left; border: 1px solid var(--line); background: transparent; padding: 12px; color: var(--ink); }
.author-article-item:hover { border-color: var(--red); }
.author-article-item strong, .author-article-item span { display: block; }
.author-article-item strong { font-family: var(--serif); font-size: 1rem; }
.author-article-item span, .subscriber-list span { color: var(--ink-soft); font-size: .74rem; margin-top: 3px; }

.site-footer { max-width: 1240px; margin: 0 auto; padding: 52px 40px 35px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; }
.site-footer p { margin-bottom: 7px; }
.footer-title { color: var(--ink); font: 600 1.4rem var(--serif); }
.footer-note { display: flex; flex-direction: column; text-align: right; gap: 4px; }

@media (max-width: 800px) {
  .site-header, .container, .site-footer { padding-left: 22px; padding-right: 22px; }
  .site-header { padding-top: 18px; padding-bottom: 18px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 22px; right: 22px; padding: 15px; background: var(--paper); border: 1px solid var(--ink); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 5px; }
  .main-nav .nav-contact { text-align: center; margin-top: 6px; }
  .hero { padding: 64px 0 72px; }
  .profile-cover { height: 55vw; min-height: 260px; }
  .profile-content { grid-template-columns: 1fr; gap: 0; padding-bottom: 42px; }
  .profile-avatar { width: 142px; height: 142px; margin-top: -71px; border-width: 5px; }
  .profile-copy { padding-top: 17px; }
  .profile-copy h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .profile-description { font-size: 1rem; }
  .hero-grid, .featured, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .hero-aside { max-width: 360px; }
  .paper-strip-inner, .section-heading { align-items: start; flex-direction: column; }
  .section { padding: 70px 0; }
  .category-list { grid-template-columns: 1fr 1fr; }
  .category-card:nth-child(2) { border-right: 0; margin-right: 0; }
  .category-card:nth-child(3) { border-top: 1px solid var(--line); }
  .category-card:nth-child(4) { border-top: 1px solid var(--line); }
  .featured-visual { min-height: 330px; }
  .page-intro { padding: 50px 0 40px; }
  .about-aside { max-width: 300px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-top { flex-direction: column; }
  .article-row { grid-template-columns: 1fr; gap: 10px; }
  .article-row .link-arrow { text-align: left; }
  .article-layout { grid-template-columns: 1fr; gap: 25px; }
  .article-share { position: static; }
  .article-body { font-size: 1.04rem; }
  .signup-panel { padding: 28px 22px; }
  .signup-form { flex-direction: column; }
  .site-footer { flex-direction: column; }
  .footer-note { text-align: left; }
}
