:root {
  --paper: #fbf4e7;
  --ink: #15213d;
  --quiet: #42516a;
  --rule: #b8c4e2;
  --signal: #c33d2e;
  --cobalt: #b8c5f2;
  --wordmark: #2948d8;
  --plum: #542567;
  --sun: #f6c945;
  --reading-ink: #fff4e4;
  --reading-muted: #efd8ec;
  --control-ink: #15213d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); transition: background-color 560ms cubic-bezier(.22, 1, .36, 1), color 420ms ease; }
body.dimmed { --paper: #18213c; --ink: #fff4e4; --quiet: #c8d2ec; --rule: #56678e; --signal: #f6c945; --cobalt: #c6cff2; --wordmark: #c6cff2; --plum: #2b1437; --sun: #f6c945; --reading-ink: #fff4e4; --reading-muted: #e7cfe5; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .7rem; z-index: 4; }
.skip-link:focus { top: 1rem; }
.site-shell { max-width: 1440px; margin: auto; padding: 0 4.5vw; }
.masthead { min-height: 6.4rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.wordmark { color: var(--wordmark); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; text-decoration: none; letter-spacing: -.035em; }
nav { display: flex; gap: 1.4rem; font-size: .79rem; text-transform: uppercase; letter-spacing: .08em; }
nav a { text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; padding: .45rem 0; }
.hero { min-height: min(72vh, 52rem); padding: clamp(6rem, 14vw, 13rem) 0 7rem; max-width: 1010px; }
.eyebrow, .issue-label { font-size: .71rem; text-transform: uppercase; letter-spacing: .13em; color: var(--quiet); }
.hero h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero h1 { max-width: 900px; margin: .9rem 0 2rem; font-size: clamp(3.3rem, 8.3vw, 8.6rem); line-height: .91; }
.hero-copy { max-width: 35rem; font-size: 1rem; line-height: 1.65; color: var(--quiet); }
.text-link { position: relative; display: inline-block; margin-top: 1.3rem; color: var(--signal); font-size: .87rem; font-weight: 650; text-decoration: none; }
.text-link::after { position: absolute; left: 0; right: 0; bottom: -.18rem; height: 2px; content: ""; background: currentColor; transform: scaleX(.2); transform-origin: left; opacity: .58; transition: transform 360ms cubic-bezier(.22, 1, .36, 1), opacity 240ms ease; }
.text-link span { display: inline-block; transition: transform 360ms cubic-bezier(.22, 1, .36, 1); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); opacity: 1; }
.text-link:hover span, .text-link:focus-visible span { transform: translate(.24rem, .14rem); }
.writing-section { margin: 0 calc(50% - 50vw); padding: 1.4rem max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw)) 7rem; background: var(--cobalt); color: #18213c; }
.writing-section .eyebrow, .writing-section .issue-label, .writing-section .deck, .writing-section .article-footer { color: #425174; }
.writing-section .section-heading, .writing-section .featured-essay { border-color: rgba(24, 33, 60, .28); }
.writing-section .text-link { color: #93261f; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.featured-essay { margin-top: 4rem; padding: 2.5rem 0 0; border-top: 1px solid var(--rule); transition: transform 420ms cubic-bezier(.22, 1, .36, 1); }
.featured-essay h3 { max-width: 960px; margin: .65rem 0 1.1rem; font-size: clamp(2.8rem, 6vw, 6.8rem); line-height: .92; }
.deck { max-width: 41rem; color: var(--quiet); line-height: 1.6; }
.article-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 4rem; font-size: .8rem; color: var(--quiet); }
.article-footer .text-link { margin: 0; }
.archive-test { margin-top: 6rem; border-top: 1px solid rgba(24, 33, 60, .28); }
.archive-note { margin: 1rem 0 2.5rem; color: #425174; font-size: .69rem; text-transform: uppercase; letter-spacing: .13em; }
.archive-row { position: relative; display: grid; grid-template-columns: minmax(12rem, .42fr) minmax(18rem, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid rgba(24, 33, 60, .2); transition: transform 360ms cubic-bezier(.22, 1, .36, 1); }
.archive-row h3 { margin: 0; font-size: clamp(1.65rem, 3.4vw, 3.4rem); line-height: 1; }
.archive-row h3 a { color: inherit; text-decoration: none; }
.archive-arrow { color: #93261f; font-size: 1.2rem; transition: transform 360ms cubic-bezier(.22, 1, .36, 1); }
.reading-proof { margin: 0 calc(50% - 50vw); padding: 7rem max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw)); background: var(--plum); color: var(--reading-ink); transition: background-color 620ms cubic-bezier(.22, 1, .36, 1), color 420ms ease; }
.reading-proof .eyebrow, .reading-proof .issue-label, .reading-proof .standfirst { color: var(--reading-muted); }
.reading-meta { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
.reading-mode { position: relative; overflow: hidden; isolation: isolate; background: transparent; border: 1px solid rgba(255, 244, 228, .65); border-radius: 99px; padding: .55rem .8rem; cursor: pointer; font-size: .78rem; transition: border-color 260ms ease, color 260ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1); }
.reading-mode::before { position: absolute; inset: 0; z-index: -1; content: ""; background: var(--sun); transform: translateY(105%); transition: transform 420ms cubic-bezier(.22, 1, .36, 1); }
.reading-mode:hover, .reading-mode:focus-visible { border-color: var(--sun); color: var(--control-ink); transform: translateY(-1px); }
.reading-mode[aria-pressed="true"] { border-color: var(--sun); color: var(--control-ink); }
.reading-mode:hover::before, .reading-mode:focus-visible::before, .reading-mode[aria-pressed="true"]::before { transform: translateY(0); }
.reading-column { width: min(100%, 43rem); margin: 7rem auto 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.56rem); line-height: 1.56; }
.reading-column h2 { margin: .8rem 0 2.2rem; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .92; }
.reading-column h1 { margin: .8rem 0 2.2rem; font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 400; letter-spacing: -.045em; line-height: .92; }
.standfirst { font-size: 1.1em; color: var(--quiet); }
.article-template { min-height: calc(100vh - 6.4rem); }
.article-placeholder { margin-top: 3rem; padding: 1.5rem; border: 1px solid rgba(255, 244, 228, .42); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
.published-article .article-heading { margin-top: 6rem; }
.published-article .article-body { margin-top: 4rem; }
.article-body > p, .afterword > p { margin: 0 0 1.6em; }
.article-body > p + p, .afterword > p + p { margin-top: .15em; }
.article-body .emphasis-line { margin: 2.7em 0; padding-left: 1.2rem; border-left: 3px solid var(--sun); color: #ffe7a0; font-size: 1.08em; font-style: italic; line-height: 1.48; }
.article-body .emphasis-fragment { display: block; margin: .6em 0 2.5em; padding-left: 1.2rem; border-left: 3px solid var(--sun); color: #ffe7a0; font-size: 1.08em; font-style: italic; line-height: 1.48; }
.historical-note { margin: 2rem 0 1rem; padding: 1.15rem 1.25rem; border: 1px solid rgba(255, 244, 228, .45); font-family: var(--sans); font-size: .9rem; line-height: 1.6; }
.original-source { color: var(--sun); font-family: var(--sans); font-size: .78rem; font-weight: 700; text-underline-offset: .22em; }
.historical-article .bullet-line { margin: -.7em 0 1.05em 1.2rem; font-family: var(--sans); font-size: .88em; }
.historical-article .closing-line { margin-bottom: .35em; color: #ffe7a0; font-weight: 700; }
.afterword { margin-top: 7rem; padding-top: 3rem; border-top: 1px solid rgba(255, 244, 228, .42); }
.afterword h2 { margin: 0 0 2.5rem; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .95; }
.page-hero { padding: clamp(6rem, 13vw, 11rem) 0 5rem; }
.page-hero h1 { margin: .6rem 0 1.5rem; font-family: var(--serif); font-size: clamp(4rem, 10vw, 9rem); font-weight: 400; letter-spacing: -.055em; line-height: .88; }
.page-hero > p:last-child { max-width: 38rem; color: var(--quiet); line-height: 1.65; }
.essay-index { margin: 0 calc(50% - 50vw); padding: 1rem max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw)) 7rem; background: var(--cobalt); color: var(--control-ink); }
.essay-entry { padding: 3rem 0 4rem; border-top: 1px solid rgba(24, 33, 60, .28); }
.essay-entry h2 { max-width: 960px; margin: .7rem 0 1.2rem; font-size: clamp(2.8rem, 6vw, 6.8rem); line-height: .92; }
.essay-entry > p:not(.issue-label) { max-width: 42rem; color: #425174; line-height: 1.65; }
.pending-entry { opacity: .78; }
.end-mark { color: var(--sun); text-align: center; margin-top: 4rem; }
.about-section { padding: 8rem 0; max-width: 51rem; }
.about-section h2 { max-width: 34rem; margin: .8rem 0 1.5rem; font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: .94; }
.about-section p:last-child { line-height: 1.7; color: var(--quiet); }
.about-hero { max-width: 67rem; padding-bottom: clamp(6rem, 12vw, 11rem); }
.about-hero h1 { max-width: 64rem; font-size: clamp(3.25rem, 7.5vw, 7rem); line-height: .9; }
.about-story { margin: 0 calc(50% - 50vw); padding: 1.4rem max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw)) 7rem; background: var(--plum); color: var(--reading-ink); transition: background-color 620ms cubic-bezier(.22, 1, .36, 1), color 420ms ease; }
.about-story .reading-meta { border-color: rgba(255, 244, 228, .42); }
.about-column { width: min(100%, 43rem); margin: 7rem auto 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.56rem); line-height: 1.56; }
.about-column p { margin: 0 0 1.6em; }
.about-column p + p { margin-top: .15em; }
.about-waypoint { margin: 4.2em 0 1.7em !important; padding-top: 1.15em; border-top: 1px solid rgba(255, 244, 228, .28); color: var(--reading-muted); font-family: var(--sans); font-size: .62em; font-weight: 700; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }
.about-waypoint:first-child { margin-top: 0 !important; }
.contact-panel { margin-top: 6rem; padding-top: 3rem; border-top: 1px solid rgba(255, 244, 228, .42); font-family: var(--sans); }
.contact-panel .eyebrow { color: var(--reading-muted); }
.contact-panel h2 { margin: .7rem 0 1rem; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.contact-linkedin { display: inline-block; line-height: 0; }
.linkedin-logo { display: block; width: 2.9rem; height: 2.9rem; object-fit: cover; object-position: left top; }
.contact-linkedin:focus-visible, .contact-dock-linkedin:focus-visible { outline: 3px solid var(--sun); outline-offset: .24rem; }
.contact-message-button { display: inline-flex; width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--sun); border-radius: 50%; background: var(--sun); box-shadow: 0 .32rem 0 rgba(0, 0, 0, .2); color: var(--control-ink); cursor: pointer; transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1); }
.contact-message-button svg { width: 1.08rem; height: 1.08rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.contact-message-button:hover, .contact-message-button:focus-visible { border-color: var(--reading-ink); background: var(--reading-ink); box-shadow: 0 .12rem 0 rgba(0, 0, 0, .18); color: var(--control-ink); transform: translateY(-.2rem); }
.contact-dock { position: fixed; z-index: 3; right: max(1.5rem, env(safe-area-inset-right)); bottom: max(1.5rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: .8rem; transition: opacity 220ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1); }
.contact-dock.is-suppressed { opacity: 0; pointer-events: none; transform: translateY(.7rem); }
.contact-dock-linkedin { display: block; line-height: 0; }
.contact-dock .linkedin-logo { width: 2.65rem; height: 2.65rem; }
.contact-dock-message { display: inline-flex; width: 2.65rem; height: 2.65rem; align-items: center; justify-content: center; padding: 0; border: 1px solid #f6c945; border-radius: 50%; background: #f6c945; color: #15213d; cursor: pointer; transition: background-color 240ms ease, color 240ms ease, transform 240ms cubic-bezier(.22, 1, .36, 1); }
.contact-dock-message svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.contact-dock-message:hover, .contact-dock-message:focus-visible { background: #15213d; color: #fbf4e7; transform: translateY(-2px); }
.contact-drawer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #15213d; overflow: hidden; }
.contact-drawer::backdrop { background: rgba(21, 33, 61, .58); opacity: 0; transition: opacity 280ms ease; }
.contact-drawer[open] { display: grid; justify-items: end; }
.contact-drawer[open]::backdrop, .contact-drawer.is-open::backdrop { opacity: 1; }
.contact-drawer-panel { width: min(100%, 33rem); min-height: 100dvh; padding: clamp(1.5rem, 4vw, 3rem); background: #fbf4e7; box-shadow: -1.2rem 0 3.5rem rgba(9, 13, 29, .24); transform: translateX(105%); transition: transform 460ms cubic-bezier(.22, 1, .36, 1); overflow-y: auto; }
.contact-drawer.is-open .contact-drawer-panel { transform: translateX(0); }
.contact-drawer.is-closing .contact-drawer-panel { transform: translateX(105%); }
.contact-drawer-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 1px solid #b8c4e2; }
.contact-drawer-topline .eyebrow { margin: 0; color: #42516a; }
.contact-drawer-close { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; padding: 0; border: 1px solid #b8c4e2; border-radius: 50%; background: transparent; color: #15213d; cursor: pointer; font-size: 1.75rem; line-height: 1; transition: background-color 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1); }
.contact-drawer-close:hover, .contact-drawer-close:focus-visible { border-color: #f6c945; background: #f6c945; transform: rotate(8deg); }
.contact-drawer h3 { margin: clamp(3rem, 8vw, 5rem) 0 .8rem; font-size: clamp(3.1rem, 9vw, 5.6rem); line-height: .9; }
.contact-drawer-intro { max-width: 26rem; margin: 0; color: #42516a; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.contact-field { display: grid; gap: .45rem; }
.contact-field-message { grid-column: 1 / -1; }
.contact-field label { color: #42516a; font-size: .69em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-field input, .contact-field textarea { width: 100%; box-sizing: border-box; border: 1px solid #b8c4e2; border-radius: .3rem; background: #fffdf8; color: #15213d; font: inherit; font-size: .8em; line-height: 1.4; outline: none; transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease; }
.contact-field input { min-height: 3rem; padding: .6rem .75rem; }
.contact-field textarea { min-height: 9rem; padding: .75rem; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { border-color: #2948d8; background: #fff; box-shadow: 0 0 0 3px rgba(41, 72, 216, .18); }
.contact-submit { justify-self: start; display: inline-flex; align-items: center; gap: .7rem; min-height: 2.9rem; padding: .68rem .9rem .68rem 1rem; border: 1px solid #f6c945; border-radius: 99px; background: #f6c945; color: #15213d; cursor: pointer; font: inherit; font-size: .77em; font-weight: 700; letter-spacing: .02em; transition: background-color 300ms cubic-bezier(.22, 1, .36, 1), border-color 260ms ease, color 260ms ease, transform 260ms cubic-bezier(.22, 1, .36, 1); }
.contact-submit span:last-child { font-size: 1.1em; transition: transform 300ms cubic-bezier(.22, 1, .36, 1); }
.contact-submit:hover, .contact-submit:focus-visible { border-color: #15213d; background: #15213d; color: #fbf4e7; transform: translateY(-2px); }
.contact-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.contact-submit:hover span:last-child, .contact-submit:focus-visible span:last-child { transform: translate(.16rem, -.13rem); }
.contact-privacy { grid-column: 1 / -1; margin: .1rem 0 0 !important; color: #42516a; font-size: .75em; line-height: 1.55; }
.contact-status { grid-column: 1 / -1; min-height: 1.55em; margin: 0 !important; color: #42516a; font-size: .72em; line-height: 1.55; }
.contact-status.is-error { color: #93261f; }
.contact-status.is-success { color: #275f45; }
footer { display: flex; justify-content: space-between; gap: 1rem; margin: 0 calc(50% - 50vw); padding: 1.5rem max(4.5vw, calc((100vw - 1440px) / 2 + 4.5vw)) 2.5rem; background: var(--sun); color: var(--control-ink); font-size: .72rem; }

@media (hover: hover) {
  .featured-essay:hover { transform: translateY(-.3rem); }
  .archive-row:hover { transform: translateY(-.2rem); }
  .archive-row:hover .archive-arrow { transform: translate(.22rem, .16rem); }
}

@media (max-width: 640px) {
  .site-shell { padding: 0 1.25rem; }
  .masthead { min-height: 5rem; position: relative; }
  .menu-toggle { display: flex; gap: .5rem; background: none; border: 0; cursor: pointer; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
  nav { display: none; position: absolute; z-index: 10; top: 5rem; left: -1.25rem; right: -1.25rem; background: var(--paper); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--rule); }
  nav.open { display: flex; flex-direction: column; }
  .hero { min-height: auto; padding: 6rem 0; }
  .article-footer, footer { align-items: flex-start; flex-direction: column; }
  .archive-row { grid-template-columns: 1fr auto; gap: .8rem; }
  .archive-row .issue-label { grid-column: 1 / -1; }
  .writing-section, .reading-proof, .essay-index, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .reading-proof { padding-top: 4rem; padding-bottom: 4rem; }
  .reading-column { margin-top: 4rem; }
  .about-section { padding: 5rem 0; }
  .about-story { padding-top: 1rem; padding-bottom: 4rem; }
  .about-column { margin-top: 4rem; }
  .contact-panel { margin-top: 4.5rem; }
  .contact-form { grid-template-columns: 1fr; gap: .9rem; margin-top: 2rem; }
  .contact-field-message { grid-column: auto; }
  .contact-drawer[open] { align-items: end; justify-items: stretch; }
  .contact-drawer-panel { width: 100%; min-height: min(84dvh, 48rem); padding: 1.5rem 1.25rem 2rem; border-radius: 1rem 1rem 0 0; transform: translateY(105%); }
  .contact-drawer.is-open .contact-drawer-panel { transform: translateY(0); }
  .contact-drawer.is-closing .contact-drawer-panel { transform: translateY(105%); }
  .contact-drawer h3 { margin-top: 3.3rem; }
  .contact-dock { right: max(.85rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
