:root {
    --wisp-ink: #070707;
    --wisp-panel: #0b0a0a;
    --wisp-bone: #f1eee9;
    --wisp-muted: #9b9690;
    --wisp-red: #c81e3a;
    --wisp-line: rgba(241, 238, 233, .13);
    --wisp-shell: min(1360px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { background: var(--wisp-ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--wisp-ink); color: var(--wisp-bone); font: 400 16px/1.6 Manrope, Arial, sans-serif; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
::selection { background: var(--wisp-red); color: #fff; }

.wisp-grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.wisp-shell { width: var(--wisp-shell); margin-inline: auto; }
.wisp-kicker { margin: 0; color: var(--wisp-muted); font: 700 10px/1.2 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.wisp-kicker::before { display: inline-block; width: 28px; height: 1px; margin: 0 10px 3px 0; background: var(--wisp-red); content: ''; }
.wisp-kicker--light { color: rgba(255,255,255,.7); }
.wisp-kicker--light::before { background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wisp-header { position: fixed; inset: 0 0 auto; z-index: 30; border-bottom: 1px solid transparent; transition: background .5s, border-color .5s; }
.wisp-header.is-scrolled { background: rgba(7,7,7,.92); border-color: var(--wisp-line); backdrop-filter: blur(14px); }
.wisp-main { padding-top: 82px; }
.wisp-header__inner { width: 100%; max-width: 1360px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 80px; gap: 20px; padding: 12px 48px; }
.wisp-brand { display: inline-flex; align-items: center; min-height: 48px; gap: 0; }
.wisp-brand img { width: auto; max-width: 46px; max-height: 44px; object-fit: contain; object-position: left center; }
.wisp-brand__word { font-size: 27px; font-weight: 700; letter-spacing: -.08em; }
.wisp-nav { justify-self: center; }
.wisp-nav__list { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; line-height: 1.5; }
.wisp-nav__list a { color: #a8a29e; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.wisp-nav__list a:hover { color: var(--wisp-bone); }
.wisp-apply { padding: 12px 16px; border: 1px solid var(--wisp-red); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.wisp-apply:hover { background: var(--wisp-red); color: #fff; }
.wisp-menu-toggle { display: none; border: 0; background: transparent; color: var(--wisp-bone); }

.wisp-hero { position: relative; min-height: min(720px, calc(100vh - 82px)); overflow: hidden; padding: clamp(92px, 12vw, 165px) 0 70px; }
.wisp-hero::after { position: absolute; inset: auto 0 0; height: 52%; background: linear-gradient(180deg, transparent, rgba(200,30,58,.06)); content: ''; }
.wisp-hero__glow { position: absolute; top: 15%; right: -10%; width: min(70vw, 880px); aspect-ratio: 1; background: radial-gradient(circle at 48% 42%, rgba(200,30,58,.35), transparent 21%), radial-gradient(ellipse at 57% 52%, rgba(200,30,58,.15), transparent 45%); filter: blur(15px); transform: rotate(-18deg); }
.wisp-hero__inner { position: relative; z-index: 1; }
.wisp-hero h1, .wisp-section-heading h2, .wisp-footer h2, .wisp-article h1, .wisp-archive-head h1, .wisp-empty h2, .wisp-error h1 { margin: 20px 0 0; font: 400 clamp(3.6rem, 8vw, 8rem)/.88 "DM Serif Display", Georgia, serif; letter-spacing: -.035em; }
.wisp-hero h1 em, .wisp-section-heading h2 em, .wisp-footer h2 em, .wisp-empty h2 em { color: var(--wisp-red); font-style: normal; }
.wisp-hero__summary { display: flex; max-width: 760px; gap: 34px; justify-content: space-between; margin-top: clamp(42px, 7vw, 90px); padding-top: 22px; border-top: 1px solid var(--wisp-line); }
.wisp-hero__summary p { max-width: 510px; margin: 0; color: #c3bfba; font-size: 15px; line-height: 1.8; }
.wisp-hero__summary a, .wisp-text-link { flex: none; color: var(--wisp-red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wisp-hero__summary a:hover, .wisp-text-link:hover { color: var(--wisp-bone); }

.wisp-feed { padding: clamp(78px, 11vw, 150px) 0; border-top: 1px solid var(--wisp-line); }
.wisp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 65px; }
.wisp-section-heading h2 { font-size: clamp(3.2rem, 6vw, 6.6rem); }
.wisp-section-heading > p { max-width: 270px; margin: 0; color: var(--wisp-muted); font-size: 14px; line-height: 1.7; }
.wisp-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--wisp-line); }
.wisp-post-card { position: relative; min-width: 0; padding: 28px; border-bottom: 1px solid var(--wisp-line); border-left: 1px solid var(--wisp-line); }
.wisp-post-card:first-child { border-left: 0; }
.wisp-post-card__image { display: block; overflow: hidden; aspect-ratio: 1.32; margin: -28px -28px 30px; background: #14090c; }
.wisp-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.wisp-post-card:hover .wisp-post-card__image img { transform: scale(1.04); }
.wisp-post-card__placeholder { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(circle at 75% 30%, rgba(200,30,58,.38), transparent 12%), linear-gradient(140deg,#13080b,#070707 58%,#3b0a16); }
.wisp-post-card__placeholder i { position: absolute; width: 120%; height: 18%; border: 1px solid rgba(255,164,179,.38); border-radius: 50%; transform: rotate(-28deg); }
.wisp-post-card__placeholder i:nth-child(1) { top: 23%; left: -20%; }
.wisp-post-card__placeholder i:nth-child(2) { top: 41%; left: 10%; opacity: .7; }
.wisp-post-card__placeholder i:nth-child(3) { top: 60%; left: -36%; opacity: .35; }
.wisp-post-card__meta, .wisp-article__eyebrow { display: flex; flex-wrap: wrap; gap: 10px; color: var(--wisp-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wisp-post-card__meta a { color: var(--wisp-red); }
.wisp-post-card__meta span + span::before, .wisp-article__eyebrow span + span::before { margin-right: 10px; color: #5b5753; content: '/'; }
.wisp-post-card h2 { margin: 16px 0 0; font: 400 clamp(1.8rem, 2.6vw, 2.5rem)/1 "DM Serif Display", Georgia, serif; letter-spacing: -.025em; }
.wisp-post-card h2 a:hover { color: var(--wisp-red); }
.wisp-post-card p { min-height: 4.8em; margin: 16px 0 22px; color: var(--wisp-muted); font-size: 13px; line-height: 1.7; }
.wisp-pagination { display: flex; align-items: center; justify-content: center; gap: 30px; padding-top: 55px; color: var(--wisp-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wisp-pagination a { color: var(--wisp-bone); }
.wisp-pagination a:hover { color: var(--wisp-red); }
.wisp-empty { grid-column: 1 / -1; padding: 60px 0; }

.wisp-footer { border-top: 1px solid var(--wisp-line); }
.wisp-footer__top { display: flex; align-items: end; justify-content: space-between; gap: 45px; padding: clamp(70px, 10vw, 130px) 0; }
.wisp-footer h2 { font-size: clamp(3rem, 6vw, 6.4rem); }
.wisp-button { display: inline-block; padding: 15px 20px; background: var(--wisp-red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: background .2s, color .2s; }
.wisp-button:hover { background: var(--wisp-bone); color: var(--wisp-ink); }
.wisp-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 28px 0; border-top: 1px solid var(--wisp-line); color: var(--wisp-muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wisp-brand--footer { min-height: auto; color: var(--wisp-bone); font-size: 22px; text-transform: none; }
.wisp-brand--footer img { max-height: 30px; }
.wisp-footer__bottom p { margin: 0; }
.wisp-footer__links { display: flex; gap: 22px; }
.wisp-footer__links a:hover { color: var(--wisp-bone); }

.wisp-article__header { padding-top: clamp(72px, 10vw, 135px); }
.wisp-article__eyebrow { color: var(--wisp-muted); }
.wisp-article__eyebrow a { color: var(--wisp-red); }
.wisp-article h1 { max-width: 1080px; font-size: clamp(3.4rem, 7.3vw, 7.6rem); }
.wisp-article__excerpt { max-width: 680px; margin: 34px 0 0; color: #beb9b4; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; }
.wisp-article__image { margin: clamp(45px, 7vw, 90px) 0 0; }
.wisp-article__image img { width: 100%; max-height: 760px; object-fit: cover; }
.wisp-article__image figcaption { padding-top: 10px; color: var(--wisp-muted); font-size: 12px; }
.wisp-article__content { max-width: min(790px, calc(100vw - 40px)); padding-top: clamp(55px, 7vw, 90px); padding-bottom: clamp(55px, 7vw, 90px); color: #d2cec9; font-size: 18px; line-height: 1.85; }
.wisp-article__content > * { margin: 0 0 1.45em; }
.wisp-article__content h2, .wisp-article__content h3, .wisp-article__content h4 { margin-top: 1.8em; color: var(--wisp-bone); font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.wisp-article__content h2 { font-size: 2.25em; }
.wisp-article__content h3 { font-size: 1.65em; }
.wisp-article__content a { color: var(--wisp-red); text-decoration: underline; text-underline-offset: .14em; }
.wisp-article__content blockquote { margin-left: 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--wisp-red); color: var(--wisp-bone); font: 400 1.55em/1.25 "DM Serif Display", Georgia, serif; }
.wisp-article__content hr { border: 0; border-top: 1px solid var(--wisp-line); }
.wisp-article__content pre { overflow: auto; padding: 22px; background: var(--wisp-panel); border: 1px solid var(--wisp-line); font-size: .8em; }
.wisp-article__content img { margin-inline: auto; }
.wisp-article__content .kg-width-wide { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wisp-article__content .kg-width-full { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wisp-article__content .kg-gallery-container { display: flex; flex-direction: column; gap: 12px; margin-inline: auto; }
.wisp-article__content .kg-gallery-row { display: flex; flex: 1 1 auto; gap: 12px; justify-content: center; }
.wisp-article__content .kg-gallery-image { min-width: 0; }
.wisp-article__content .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.wisp-article__content .kg-bookmark-card { margin: 2em 0; border: 1px solid var(--wisp-line); background: var(--wisp-panel); }
.wisp-article__content .kg-bookmark-container { display: flex; min-height: 150px; color: var(--wisp-bone); text-decoration: none; }
.wisp-article__content .kg-bookmark-content { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 24px; }
.wisp-article__content .kg-bookmark-title { color: var(--wisp-bone); font-weight: 700; line-height: 1.35; }
.wisp-article__content .kg-bookmark-description { display: -webkit-box; margin-top: 10px; overflow: hidden; color: var(--wisp-muted); font-size: .78em; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wisp-article__content .kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: var(--wisp-muted); font-size: .68em; }
.wisp-article__content .kg-bookmark-icon { width: 18px; height: 18px; }
.wisp-article__content .kg-bookmark-author, .wisp-article__content .kg-bookmark-publisher { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wisp-article__content .kg-bookmark-publisher::before { margin-right: 8px; content: '•'; }
.wisp-article__content .kg-bookmark-thumbnail { flex: 0 1 34%; overflow: hidden; }
.wisp-article__content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.wisp-article__footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 35px; padding-bottom: clamp(75px, 11vw, 150px); border-top: 1px solid var(--wisp-line); }
.wisp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wisp-tags a { padding: 7px 10px; border: 1px solid var(--wisp-line); color: var(--wisp-muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wisp-tags a:hover { color: var(--wisp-red); border-color: var(--wisp-red); }

.wisp-archive-head { padding: clamp(85px, 11vw, 150px) 0 65px; border-bottom: 1px solid var(--wisp-line); }
.wisp-archive-head h1 { font-size: clamp(3.8rem, 8vw, 8rem); }
.wisp-archive-head p:not(.wisp-kicker) { max-width: 580px; margin: 25px 0 0; color: var(--wisp-muted); }
.wisp-feed--archive { border-top: 0; }
.wisp-author-head { display: flex; align-items: center; gap: 30px; }
.wisp-author-head > img { width: 92px; height: 92px; object-fit: cover; border-radius: 50%; }
.wisp-error { min-height: 62vh; padding-top: 17vh; padding-bottom: 12vh; }
.wisp-error h1 { max-width: 900px; }
.wisp-error > p:not(.wisp-kicker) { margin: 24px 0 36px; color: var(--wisp-muted); }

@media (max-width: 900px) {
    .wisp-main { padding-top: 70px; }
    .wisp-header__inner { min-height: 70px; padding: 7px 36px; }
    .wisp-menu-toggle { display: grid; justify-self: center; gap: 6px; width: 38px; padding: 12px 6px; cursor: pointer; }
    .wisp-menu-toggle span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s; }
    .wisp-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .wisp-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .wisp-nav { position: fixed; inset: 70px 0 0; display: none; padding: 40px 20px; background: var(--wisp-ink); }
    .wisp-nav.is-open { display: block; }
    .wisp-nav__list { flex-direction: column; align-items: flex-start; gap: 25px; width: min(1360px, calc(100vw - 40px)); margin: auto; }
    .wisp-nav__list a { font-size: 17px; }
    .wisp-apply span { display: none; }
    .wisp-post-grid { grid-template-columns: repeat(2, 1fr); }
    .wisp-post-card:nth-child(3n + 1) { border-left: 1px solid var(--wisp-line); }
    .wisp-post-card:nth-child(2n + 1) { border-left: 0; }
}

@media (max-width: 640px) {
    :root { --wisp-shell: min(100% - 40px, 1360px); }
    .wisp-header__inner { grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 12px 20px; }
    .wisp-apply { justify-self: end; padding: 9px 10px; font-size: 9px; }
    .wisp-hero { min-height: 630px; padding-top: 100px; }
    .wisp-hero h1, .wisp-section-heading h2, .wisp-footer h2, .wisp-article h1, .wisp-archive-head h1, .wisp-empty h2, .wisp-error h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
    .wisp-hero__summary, .wisp-section-heading, .wisp-footer__top { display: block; }
    .wisp-hero__summary a { display: inline-block; margin-top: 25px; }
    .wisp-section-heading { margin-bottom: 40px; }
    .wisp-section-heading > p { margin-top: 24px; }
    .wisp-post-grid { grid-template-columns: 1fr; }
    .wisp-post-card, .wisp-post-card:nth-child(3n + 1) { border-left: 0; }
    .wisp-post-card__image { aspect-ratio: 1.5; }
    .wisp-footer__top { padding-bottom: 70px; }
    .wisp-footer__top .wisp-button { margin-top: 35px; }
    .wisp-footer__bottom { align-items: flex-start; flex-direction: column; }
    .wisp-article__content { font-size: 16px; }
    .wisp-article__footer { align-items: flex-start; flex-direction: column; }
    .wisp-author-head { align-items: flex-start; flex-direction: column; }
    .wisp-article__content .kg-bookmark-container { flex-direction: column; }
    .wisp-article__content .kg-bookmark-thumbnail { flex-basis: auto; order: -1; max-height: 190px; }
}
