:root {
    color-scheme: dark;
    --ink: #10100f;
    --ink-soft: #171615;
    --paper: #eee8dc;
    --muted: #8e8880;
    --line: #37332f;
    --red: #ed1b3b;
    --red-soft: #7d1025;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
    --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: white; }
.page-wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.site-header { height: 92px; padding: 0 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(238,232,220,.11); position: relative; z-index: 3; }
.wordmark { display: inline-flex; width: fit-content; align-items: center; gap: 12px; font: 600 15px var(--sans); letter-spacing: 0; }
.wordmark-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--red); color: var(--red); font: 500 10px var(--mono); }
.wordmark small { display: block; margin-top: 3px; color: var(--muted); font: 9px var(--mono); letter-spacing: 0; }
.main-nav { display: flex; gap: 39px; align-items: center; height: 100%; }
.main-nav a { display: grid; align-items: center; height: 100%; position: relative; color: #aaa49c; font-size: 13px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.is-current { color: var(--paper); }
.main-nav a.is-current::after { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--red); content: ''; }
.header-contact { justify-self: end; display: inline-flex; align-items: center; gap: 12px; color: var(--paper); font-size: 12px; }
.arrow-mark { color: var(--red); font-size: 18px; transition: transform .2s ease; }
a:hover .arrow-mark, a:hover .text-link span { transform: translate(2px, -2px); }
.home-intro { position: relative; min-height: 385px; padding-top: 66px; animation: rise-in .8s both; }
.eyebrow { margin: 0; color: var(--muted); font: 10px var(--mono); letter-spacing: 0; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(237,27,59,.75); }
.home-intro h1, .page-heading h1, .about-hero h1 { margin: 27px 0 0; font: 500 clamp(55px, 7vw, 96px)/.99 var(--serif); letter-spacing: 0; }
.home-intro h1 em, .page-heading h1 em, .about-hero h1 em, .contact-inner h2 em, .admin-panel h1 em { color: var(--red); font-weight: 500; }
.intro-note { position: absolute; right: 5%; bottom: 63px; margin: 0; color: #aca69d; font: 14px/1.7 var(--serif); font-style: italic; }
.feature-showcase { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 540px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); animation: rise-in .9s .12s both; }
.feature-image-wrap { position: relative; min-height: 540px; overflow: hidden; background: #221d1b; }
.feature-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .9s ease, visibility .9s ease; }
.feature-slide.is-active { visibility: visible; opacity: 1; }
.feature-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.06) brightness(.73); transform: scale(1.06); transition: transform 7s ease; }
.feature-slide.is-active img { transform: scale(1); }
.feature-slide::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(16,16,15,.08), transparent 52%, rgba(16,16,15,.25)), linear-gradient(0deg, rgba(16,16,15,.42), transparent 30%); pointer-events: none; }
.image-grain { position: absolute; inset: 0; z-index: 1; opacity: .1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E"); }
.feature-image-label { position: absolute; z-index: 2; left: 35px; right: 35px; bottom: 32px; display: flex; justify-content: space-between; color: rgba(238,232,220,.8); font: 9px var(--mono); letter-spacing: 0; }
.feature-count { position: absolute; z-index: 2; top: 30px; left: 34px; display: flex; align-items: center; gap: 11px; color: white; font: 10px var(--mono); }
.feature-count > span:last-child { color: rgba(255,255,255,.55); }
.count-rule { width: 35px; height: 1px; background: var(--red); }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px clamp(38px, 7vw, 105px); position: relative; background: radial-gradient(ellipse at 95% 15%, rgba(125,16,37,.2), transparent 44%), #141312; }
.red-eyebrow { color: var(--red); }
.eyebrow-line { display: inline-block; width: 41px; height: 1px; margin: 0 0 3px 11px; background: currentColor; opacity: .65; }
.slide-copy { position: absolute; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease, visibility .35s ease; }
.slide-copy.is-active { position: relative; visibility: visible; opacity: 1; transform: translateY(0); }
.work-date { margin: 35px 0 17px; color: var(--muted); font: 10px var(--mono); }
.work-date span { color: var(--red); padding: 0 4px; }
.slide-copy h2 { max-width: 480px; margin: 0; font: 500 clamp(35px, 4vw, 57px)/1.1 var(--serif); }
.work-description { max-width: 310px; margin: 19px 0 34px; color: #aaa49c; font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 15px; width: fit-content; padding-bottom: 7px; border-bottom: 1px solid #514b45; color: var(--paper); font-size: 12px; transition: border-color .2s ease; }
.text-link:hover { border-color: var(--red); }
.text-link span { color: var(--red); font-size: 17px; transition: transform .2s ease; }
.slide-controls { display: flex; align-items: center; gap: 19px; margin-top: 44px; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #49433d; background: transparent; cursor: pointer; font-size: 17px; transition: border-color .2s ease, background .2s ease; }
.icon-button:hover { border-color: var(--red); background: rgba(237,27,59,.12); }
.slide-dots { display: flex; gap: 7px; }
.slide-dots button { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: #5c5650; cursor: pointer; }
.slide-dots button[aria-pressed="true"] { background: var(--red); box-shadow: 0 0 9px rgba(237,27,59,.55); }
.latest-strip { padding: 62px 0 68px; }
.latest-row { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.latest-row p, .latest-category { margin: 0; color: var(--muted); font: 11px var(--mono); }
.latest-category { justify-self: end; }
.latest-title { display: flex; justify-content: space-between; align-items: center; font: 500 21px var(--serif); }
.latest-title span { color: var(--red); font: 17px var(--sans); }
.artist-note { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: #e8dfd1; color: #171513; }
.artist-note-inner { min-height: 440px; padding-top: 65px; padding-bottom: 72px; position: relative; }
.note-index { color: #7e7167; font: 9px var(--mono); }
.artist-note h2 { position: relative; z-index: 1; max-width: 800px; margin: 50px 0 38px; font: 500 clamp(44px, 6.3vw, 79px)/1.06 var(--serif); }
.note-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.note-bottom p { max-width: 470px; margin: 0; color: #615950; font-size: 14px; line-height: 1.9; }
.artist-note .text-link { color: #171513; border-color: #b2a89b; }
.artist-note .text-link:hover { border-color: var(--red); }
.note-watermark { position: absolute; right: 4%; top: 4px; color: rgba(125,16,37,.09); font: italic 340px/.9 var(--serif); pointer-events: none; }
.site-footer { min-height: 110px; padding: 24px 56px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.site-footer > p, .footer-admin { margin: 0; color: var(--muted); font: 10px var(--mono); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font: 10px var(--mono); }
.legal-nav a:hover { color: var(--paper); }
.footer-admin span { margin-left: 8px; color: var(--red); }
.page-heading { padding-top: 70px; padding-bottom: 55px; animation: rise-in .75s both; }
.heading-row { display: flex; justify-content: space-between; align-items: end; }
.page-heading h1 { margin-top: 25px; }
.heading-row > p { margin: 0 4% 10px 0; color: var(--muted); font: 12px/1.9 var(--mono); }
.legal-heading { padding-top: 70px; padding-bottom: 36px; animation: rise-in .75s both; }
.legal-heading h1 { margin: 26px 0 0; font: 500 clamp(47px, 6vw, 74px)/1.05 var(--serif); }
.legal-updated { margin: 15px 0 0; color: var(--muted); font: 10px var(--mono); }
.legal-content { max-width: 920px; padding-bottom: 100px; }
.legal-section { max-width: 790px; padding: 27px 0 30px; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 15px; font: 500 22px/1.3 var(--serif); }
.legal-section p, .legal-section address { margin: 0 0 13px; color: #c1b9ae; font-size: 13px; font-style: normal; line-height: 1.85; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-action-needed { color: #f19cab !important; }
.gallery-section { padding-bottom: 115px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 25px; }
.filter-button { padding: 4px 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 11px; }
.filter-button:hover, .filter-button.is-active { color: var(--paper); }
.filter-button.is-active::before { content: '— '; color: var(--red); }
.filter-button span { margin-left: 4px; color: var(--red); font: 9px var(--mono); }
.sort-control { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--muted); font: 10px var(--mono); }
.sort-control select { padding: 6px 22px 6px 2px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; font: 11px var(--sans); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 51px 24px; padding-top: 32px; }
.art-card { min-width: 0; animation: rise-in .5s both; }
.art-card[hidden] { display: none; }
.art-image { position: relative; aspect-ratio: 4 / 4.5; overflow: hidden; background: var(--ink-soft); }
.art-image::after { position: absolute; inset: 0; border: 1px solid rgba(238,232,220,.09); content: ''; pointer-events: none; }
.art-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) brightness(.8); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.art-card:hover .art-image img { transform: scale(1.035); filter: saturate(.85) brightness(.95); }
.art-image-index { position: absolute; z-index: 1; left: 14px; bottom: 13px; color: rgba(255,255,255,.72); font: 9px var(--mono); }
.art-card-copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 15px; }
.art-card-copy p { margin: 0 0 7px; color: var(--muted); font: 9px var(--mono); }
.art-card-copy p span { color: var(--red); }
.art-card-copy h2 { margin: 0; font: 500 22px var(--serif); }
.card-arrow { color: var(--red); font-size: 18px; }
.art-description { margin: 9px 0 0; color: #aaa49c; font-size: 12px; line-height: 1.6; }
.gallery-empty { padding: 50px 0; color: var(--muted); font: 13px var(--mono); }
.stories-heading { padding-top: 70px; padding-bottom: 44px; animation: rise-in .75s both; }
.stories-heading h1 { margin: 25px 0 0; font: 500 clamp(55px, 7vw, 92px)/1 var(--serif); }
.stories-heading h1 em { color: var(--red); font-weight: 500; }
.stories-heading .heading-row > p { max-width: 200px; }
.stories-section { padding-bottom: 110px; }
.story-tabs { display: flex; flex-wrap: wrap; gap: 28px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-tab { color: var(--muted); font-size: 11px; }
.story-tab:hover, .story-tab.is-active { color: var(--paper); }
.story-tab.is-active::before { content: '— '; color: var(--red); }
.story-list { border-bottom: 1px solid var(--line); }
.story-card { display: grid; grid-template-columns: 105px minmax(0, 1fr) 90px; align-items: start; gap: 26px; padding: 28px 0 31px; border-top: 1px solid var(--line); animation: rise-in .5s both; }
.story-number { padding-top: 4px; color: var(--red); font: 10px var(--mono); }
.story-card-body { max-width: 780px; }
.story-meta { margin: 0 0 11px; color: var(--muted); font: 9px var(--mono); }
.story-meta span { color: var(--red); }
.story-card h2 { margin: 0; font: 500 clamp(25px, 3vw, 37px)/1.15 var(--serif); }
.story-excerpt { max-width: 630px; margin: 12px 0 17px; color: #aaa49c; font-size: 12px; line-height: 1.8; }
.story-read-link { justify-self: end; padding-top: 4px; color: var(--paper); font-size: 11px; }
.story-read-link span { margin-left: 7px; color: var(--red); font-size: 16px; }
.stories-empty { padding: 55px 0; color: var(--muted); font: 12px/1.8 var(--mono); }
.story-reading { width: min(790px, calc(100% - 48px)); margin-inline: auto; padding-top: 72px; padding-bottom: 120px; animation: rise-in .7s both; }
.story-back { display: inline-flex; gap: 9px; margin-bottom: 57px; color: var(--muted); font: 10px var(--mono); }
.story-back span { color: var(--red); }
.story-reading h1 { margin: 22px 0 18px; font: 500 clamp(43px, 7vw, 76px)/1.04 var(--serif); }
.story-reading .story-deck { max-width: 620px; margin: 0 0 38px; color: #aaa49c; font: italic 18px/1.65 var(--serif); }
.story-rule { width: 100%; height: 1px; margin-bottom: 36px; background: var(--line); }
.story-content { color: #d1c9be; font: 16px/2 var(--serif); white-space: normal; overflow-wrap: anywhere; }
.story-content p { margin: 0 0 1.5em; }
.adult-tag { display: inline-block; padding: 2px 6px; border: 1px solid var(--red); color: var(--red); font: 9px var(--mono); vertical-align: 1px; }
.age-gate { min-height: 65vh; }
.age-gate h1 em { color: var(--red); font-weight: 500; }
.age-gate-copy { max-width: 500px; margin: 0 0 27px; color: #aaa49c; font-size: 13px; line-height: 1.8; }
.age-gate-form { display: grid; gap: 10px; max-width: 430px; }
.age-gate-form label { color: #c1b9ae; font: 10px var(--mono); }
.age-gate-form input[type="date"] { min-height: 45px; padding: 10px 12px; border: 1px solid #45403a; border-radius: 0; background: #100f0e; color: var(--paper); color-scheme: dark; }
.age-gate-form input[type="date"]:focus { border-color: var(--red); outline: 0; }
.age-gate-form .admin-submit { margin-top: 7px; }
.age-gate-privacy { margin-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.story-chapter { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.story-chapter h2 { margin: 17px 0 27px; font: 500 clamp(32px, 5vw, 47px)/1.15 var(--serif); }
.story-missing { min-height: 50vh; display: grid; align-content: center; }
.story-missing h1 { font-size: 49px; }
.about-hero { min-height: 380px; padding-top: 68px; position: relative; animation: rise-in .75s both; }
.about-hero h1 { margin-top: 36px; }
.about-hero-bottom { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; color: var(--muted); font: 9px var(--mono); }
.about-body { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 9vw, 135px); align-items: center; padding-top: 60px; padding-bottom: 115px; }
.about-image { height: 530px; position: relative; overflow: hidden; background: #24201e; }
.about-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.52) brightness(.78); }
.about-image::after { position: absolute; inset: 0; border: 1px solid rgba(238,232,220,.12); content: ''; pointer-events: none; }
.about-image span { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: rgba(255,255,255,.76); font: 9px var(--mono); }
.about-copy { max-width: 530px; }
.about-copy h2 { margin: 27px 0 23px; font: 500 clamp(37px, 4vw, 55px)/1.1 var(--serif); }
.about-prose { margin: 0 0 18px; color: #aaa49c; font-size: 13px; line-height: 1.9; }
.about-copy .text-link { margin-top: 15px; }
.contact-band { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 83% 50%, rgba(125,16,37,.2), transparent 44%), #171514; }
.contact-inner { padding-top: 67px; padding-bottom: 80px; }
.contact-inner h2 { margin: 28px 0; font: 500 clamp(44px, 6vw, 77px)/1.04 var(--serif); }
.contact-inner > p:last-child { color: var(--muted); font-size: 12px; }
.admin-body { min-height: 100vh; background: radial-gradient(ellipse at 85% 25%, rgba(125,16,37,.2), transparent 42%), var(--ink); }
.admin-shell { width: min(510px, calc(100% - 44px)); margin: 0 auto; padding: 42px 0 30px; }
.admin-shell > .wordmark { margin-bottom: 65px; }
.admin-panel { padding: clamp(30px, 7vw, 54px); border: 1px solid var(--line); background: rgba(20,19,18,.82); }
.admin-panel h1 { margin: 25px 0 36px; font: 500 clamp(43px, 9vw, 61px)/1.03 var(--serif); }
.admin-panel form, .profile-form { display: grid; gap: 20px; }
.admin-panel label, .profile-form label, .upload-fields > label { display: grid; gap: 8px; color: #c1b9ae; font: 10px var(--mono); }
.admin-panel input, .profile-form input, .profile-form textarea, .upload-fields input:not([type=checkbox]), .upload-fields textarea { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #45403a; border-radius: 0; outline: 0; background: #100f0e; color: var(--paper); font: 13px var(--sans); }
.admin-panel input:focus, .profile-form input:focus, .profile-form textarea:focus, .upload-fields input:focus, .upload-fields textarea:focus { border-color: var(--red); }
.admin-panel label small { color: var(--muted); font: 10px var(--sans); }
.admin-submit { min-height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--red); background: var(--red); color: white; cursor: pointer; font: 11px var(--mono); transition: background .2s ease, color .2s ease; }
.admin-submit:hover { background: transparent; color: var(--paper); }
.admin-submit span { font: 17px var(--sans); }
.form-error, .form-success { margin: 0 0 19px; padding: 12px; border-left: 2px solid var(--red); background: rgba(237,27,59,.09); color: #e0b4ad; font-size: 12px; line-height: 1.6; }
.form-success { border-color: #83976b; background: rgba(131,151,107,.1); color: #c3d2ad; }
.admin-back { display: block; margin-top: 28px; color: var(--muted); font-size: 11px; }
.setup-hint, .setup-link { display: block; margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.setup-hint code { color: var(--paper); font-family: var(--mono); font-size: 10px; }
.setup-link span { color: var(--red); }
.form-note { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.admin-dashboard { background: #121110; }
.admin-topbar { height: 78px; padding: 0 5.5vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.admin-view-link, .quiet-button { color: var(--muted); font: 10px var(--mono); }
.quiet-button { padding: 9px 0; border: 0; background: transparent; cursor: pointer; }
.maintenance-control { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 10px; padding: 20px 22px; border: 1px solid var(--line); background: #171615; }
.maintenance-copy h2 { margin: 8px 0 5px; font: 500 20px var(--serif); }
.maintenance-copy > p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.maintenance-form { display: flex; align-items: center; gap: 19px; }
.maintenance-switch { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); cursor: pointer; font: 10px var(--mono); white-space: nowrap; }
.maintenance-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.maintenance-switch-track { width: 40px; height: 23px; padding: 3px; border: 1px solid #635c55; border-radius: 13px; background: #292623; transition: background .2s ease, border-color .2s ease; }
.maintenance-switch-track::after { display: block; width: 15px; height: 15px; border-radius: 50%; background: #c2b9af; content: ''; transition: transform .2s ease, background .2s ease; }
.maintenance-switch input:checked + .maintenance-switch-track { border-color: var(--red); background: var(--red-soft); }
.maintenance-switch input:checked + .maintenance-switch-track::after { transform: translateX(17px); background: white; }
.maintenance-switch input:focus-visible + .maintenance-switch-track { outline: 2px solid var(--paper); outline-offset: 3px; }
.maintenance-form .quiet-button { border-bottom: 1px solid var(--line); }
.maintenance-form .quiet-button:hover { color: var(--paper); border-color: var(--red); }
.maintenance-page { min-height: 100vh; background: radial-gradient(ellipse at 50% 50%, rgba(125,16,37,.17), transparent 49%), var(--ink); }
.maintenance-wrap { width: min(1320px, calc(100% - 112px)); min-height: 100vh; margin-inline: auto; display: grid; grid-template-rows: auto 1fr auto; padding: 35px 0; }
.maintenance-message { align-self: center; padding: 60px 0; }
.maintenance-message h1 { margin: 30px 0 21px; font: 500 clamp(48px, 7vw, 86px)/1.04 var(--serif); }
.maintenance-message h1 em { color: var(--red); font-weight: 500; }
.maintenance-message > p:last-child { color: var(--muted); font: italic 16px var(--serif); }
.maintenance-foot { color: var(--muted); font: 9px var(--mono); }
.dashboard-wrap { width: min(1050px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 110px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 45px; }
.dashboard-heading h1 { margin: 13px 0 0; font: 500 58px var(--serif); }
.dashboard-section { padding: 30px 0 37px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 25px; }
.section-heading h2 { margin: 10px 0 0; font: 500 26px var(--serif); }
.section-heading > span { color: var(--muted); font: 8px var(--mono); }
.upload-form { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; }
.upload-drop { min-height: 270px; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; position: relative; border: 1px dashed #5b514b; background: rgba(255,255,255,.015); color: var(--paper); cursor: pointer; text-align: center; transition: border-color .2s ease, background .2s ease; }
.upload-drop:hover, .upload-drop.is-dragging { border-color: var(--red); background: rgba(237,27,59,.06); }
.upload-drop > span:nth-of-type(2) { font: 12px var(--mono); }
.upload-drop small { display: block; margin-top: 5px; color: var(--muted); font: 10px var(--sans); }
.upload-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-plus { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid #5b514b; color: var(--red); font: 23px var(--sans); }
.file-name { max-width: 100%; overflow: hidden; color: var(--muted); font: 9px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.upload-fields, .profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-content: start; }
.upload-fields textarea, .profile-form textarea { resize: vertical; }
.wide-field { grid-column: 1 / -1; }
.check-field { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 9px !important; color: var(--muted) !important; font-family: var(--sans) !important; font-size: 11px !important; }
.check-field input { accent-color: var(--red); }
.upload-fields .admin-submit, .profile-form .admin-submit { grid-column: 1 / -1; justify-self: start; width: min(260px, 100%); }
.profile-form { max-width: 760px; }
.admin-art-list { border-top: 1px solid var(--line); }
.admin-art-row { min-height: 78px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.admin-art-row > img { width: 58px; height: 53px; object-fit: cover; filter: saturate(.65); }
.admin-art-row h3 { margin: 0 0 6px; font: 500 16px var(--serif); }
.admin-art-row p { margin: 0; color: var(--muted); font: 9px var(--mono); }
.delete-button { padding: 8px 0 8px 12px; border: 0; background: transparent; color: #b87c74; cursor: pointer; font: 10px var(--mono); }
.delete-button:hover { color: var(--red); }
.work-total { color: var(--red); font: 11px var(--mono); }
.empty-admin { padding: 25px 0; color: var(--muted); font-size: 12px; }
.dashboard-notice { margin-bottom: 22px; }
.story-admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 850px; }
.story-admin-form label { display: grid; gap: 8px; color: #c1b9ae; font: 10px var(--mono); }
.story-admin-form input, .story-admin-form textarea, .story-admin-form select { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #45403a; border-radius: 0; outline: 0; background: #100f0e; color: var(--paper); font: 13px var(--sans); }
.story-admin-form textarea { resize: vertical; }
.story-admin-form input:focus, .story-admin-form textarea:focus, .story-admin-form select:focus { border-color: var(--red); }
.story-admin-form .wide-field { grid-column: 1 / -1; }
.story-admin-form .admin-submit { grid-column: 1 / -1; justify-self: start; width: min(260px, 100%); }
.story-admin-list { margin-top: 30px; border-top: 1px solid var(--line); }
.story-admin-row { min-height: 76px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.story-admin-row h3 { margin: 0 0 6px; font: 500 16px var(--serif); }
.story-admin-row p { margin: 0; color: var(--muted); font: 9px var(--mono); }
.story-edit-link, .story-delete-button { padding: 8px 0 8px 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 10px var(--mono); }
.story-edit-link:hover { color: var(--paper); }
.story-delete-button { color: #b87c74; }
.story-delete-button:hover { color: var(--red); }
.adult-story-flag { grid-column: 1 / -1; }
.adult-story-flag input { width: 15px; min-height: 15px; accent-color: var(--red); }
.chapter-editor { max-width: 850px; margin: 36px 0 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.chapter-editor .section-heading { margin-bottom: 20px; }
.chapter-editor .section-heading h3 { margin: 10px 0 0; font: 500 23px var(--serif); }
.chapter-form { display: grid; gap: 14px; }
.chapter-form label { display: grid; gap: 8px; color: #c1b9ae; font: 10px var(--mono); }
.chapter-form input, .chapter-form textarea { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #45403a; border-radius: 0; outline: 0; background: #100f0e; color: var(--paper); font: 13px var(--sans); }
.chapter-form textarea { resize: vertical; }
.chapter-form input:focus, .chapter-form textarea:focus { border-color: var(--red); }
.chapter-form .admin-submit { justify-self: start; width: min(260px, 100%); }
.chapter-admin-list { margin-top: 23px; border-top: 1px solid var(--line); }
.chapter-admin-row { min-height: 60px; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.chapter-admin-row > span { color: var(--red); font: 9px var(--mono); }
.chapter-admin-row h4 { margin: 0; font: 500 15px var(--serif); }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 820px) {
    .page-wrap { width: min(100% - 48px, 650px); }
    .site-header { min-height: 102px; height: auto; padding: 11px 24px 0; grid-template-columns: 1fr auto; grid-template-rows: 43px auto; align-content: center; }
    .main-nav { grid-column: 1 / -1; grid-row: 2; display: flex; height: auto; flex-wrap: wrap; align-content: center; justify-content: flex-start; gap: 4px 20px; }
    .main-nav a { height: 25px; font-size: 11px; }
    .header-contact { font-size: 11px; }
    .home-intro { min-height: 370px; padding-top: 55px; }
    .home-intro h1, .page-heading h1, .about-hero h1 { font-size: clamp(54px, 11vw, 78px); }
    .intro-note { right: 0; bottom: 28px; font-size: 12px; }
    .feature-showcase { grid-template-columns: 1fr; }
    .feature-image-wrap { min-height: 0; height: min(75vw, 520px); }
    .feature-copy { min-height: 370px; padding: 42px 34px; }
    .feature-copy .work-date { margin-top: 25px; }
    .slide-controls { margin-top: 28px; }
    .latest-row { grid-template-columns: 1fr auto; row-gap: 12px; }
    .latest-title { grid-column: 1 / -1; grid-row: 2; }
    .latest-category { grid-column: 2; grid-row: 1; }
    .artist-note-inner { min-height: 400px; padding-top: 50px; padding-bottom: 54px; }
    .artist-note h2 { margin: 47px 0 28px; }
    .note-bottom { align-items: start; flex-direction: column; }
    .note-watermark { right: -5%; top: 18px; font-size: 240px; }
    .site-footer { padding-inline: 24px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
    .gallery-toolbar { align-items: start; flex-direction: column; }
    .about-hero { min-height: 345px; }
    .about-body { grid-template-columns: 1fr 1fr; gap: 35px; padding-top: 30px; padding-bottom: 80px; }
    .about-image { height: 440px; }
    .upload-form { grid-template-columns: 1fr; }
    .upload-drop { min-height: 190px; }
}

@media (max-width: 520px) {
    .page-wrap { width: calc(100% - 40px); }
    .site-header { min-height: 94px; padding: 8px 20px 0; grid-template-rows: 39px auto; }
    .main-nav { gap: 2px 15px; }
    .wordmark { gap: 9px; font-size: 13px; }
    .wordmark-mark { width: 33px; height: 33px; }
    .header-contact span:first-child { display: none; }
    .header-contact .arrow-mark { font-size: 20px; }
    .home-intro { min-height: 320px; padding-top: 45px; }
    .home-intro > .eyebrow { max-width: 270px; line-height: 1.8; font-size: 8px; }
    .home-intro h1, .page-heading h1, .about-hero h1 { margin-top: 26px; font-size: clamp(49px, 12.4vw, 66px); }
    .intro-note { bottom: 23px; font-size: 11px; }
    .feature-image-wrap { height: 92vw; max-height: 440px; }
    .feature-image-label { left: 19px; right: 19px; bottom: 19px; font-size: 8px; }
    .feature-count { top: 20px; left: 20px; }
    .feature-copy { min-height: 355px; padding: 38px 24px; }
    .slide-copy h2 { font-size: 41px; }
    .work-description { margin-bottom: 25px; }
    .latest-strip { padding: 43px 0 48px; }
    .latest-title { font-size: 18px; }
    .artist-note-inner { min-height: 420px; }
    .artist-note h2 { font-size: 48px; }
    .note-bottom p { font-size: 12px; }
    .note-watermark { top: 56px; right: -10%; font-size: 190px; }
    .site-footer { min-height: 100px; padding: 18px 20px; }
    .site-footer > p { display: none; }
    .footer-admin { font-size: 9px; }
    .site-footer { flex-wrap: wrap; gap: 14px 18px; }
    .legal-nav { order: 3; width: 100%; gap: 16px; font-size: 9px; }
    .legal-heading { padding-top: 47px; padding-bottom: 30px; }
    .legal-heading h1 { font-size: clamp(42px, 10vw, 56px); }
    .legal-content { padding-bottom: 70px; }
    .legal-section { padding: 22px 0 24px; }
    .legal-section h2 { font-size: 20px; }
    .legal-section p, .legal-section address { font-size: 12px; }
    .page-heading { padding-top: 47px; padding-bottom: 37px; }
    .heading-row > p { margin-right: 0; font-size: 9px; }
    .gallery-toolbar { gap: 17px; }
    .filter-list { gap: 8px 18px; }
    .filter-button { font-size: 10px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 23px; }
    .art-image { aspect-ratio: 4 / 4.2; }
    .art-card-copy h2 { font-size: 21px; }
    .gallery-section { padding-bottom: 75px; }
    .about-hero { min-height: 320px; padding-top: 48px; }
    .about-hero-bottom { bottom: 22px; font-size: 8px; }
    .about-body { grid-template-columns: 1fr; gap: 37px; padding-top: 20px; padding-bottom: 65px; }
    .about-image { height: 105vw; max-height: 440px; }
    .about-copy h2 { font-size: 43px; }
    .contact-inner { padding-top: 48px; padding-bottom: 55px; }
    .contact-inner h2 { font-size: 55px; }
    .admin-shell { width: calc(100% - 36px); padding-top: 28px; }
    .admin-shell > .wordmark { margin-bottom: 43px; }
    .admin-panel { padding: 28px 22px; }
    .admin-topbar { height: 68px; padding: 0 18px; }
    .dashboard-wrap { width: calc(100% - 36px); padding-top: 40px; }
    .dashboard-heading h1 { font-size: 47px; }
    .section-heading { align-items: start; flex-direction: column; }
    .section-heading > span { font-size: 7px; }
    .upload-fields, .profile-form { grid-template-columns: 1fr; }
    .wide-field, .upload-fields .admin-submit, .profile-form .admin-submit { grid-column: 1; }
    .upload-drop { min-height: 165px; }
    .admin-art-row { grid-template-columns: 49px 1fr auto; gap: 10px; }
    .admin-art-row > img { width: 49px; height: 48px; }
    .admin-art-row h3 { font-size: 14px; }
}

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

@media (max-width: 820px) {
    .stories-heading { padding-top: 50px; padding-bottom: 36px; }
    .story-card { grid-template-columns: 68px minmax(0, 1fr) 70px; gap: 16px; }
    .story-reading { padding-top: 54px; }
}

@media (max-width: 520px) {
    .stories-heading { padding-top: 47px; padding-bottom: 35px; }
    .stories-heading h1 { font-size: clamp(51px, 12vw, 66px); }
    .story-tabs { gap: 18px; }
    .story-card { grid-template-columns: 37px minmax(0, 1fr); gap: 12px; padding: 23px 0; }
    .story-number { font-size: 9px; }
    .story-card h2 { font-size: 26px; }
    .story-read-link { grid-column: 2; justify-self: start; padding-top: 0; }
    .story-reading { width: calc(100% - 40px); padding-top: 45px; padding-bottom: 75px; }
    .story-back { margin-bottom: 42px; }
    .story-reading h1 { font-size: clamp(42px, 11vw, 58px); }
    .story-reading .story-deck { font-size: 16px; }
    .story-content { font-size: 15px; }
    .story-admin-form { grid-template-columns: 1fr; }
    .story-admin-form .wide-field, .story-admin-form .admin-submit { grid-column: 1; }
    .story-admin-row { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 11px 0; }
    .story-admin-row > div:first-child { grid-column: 1 / -1; }
    .story-edit-link { justify-self: start; }
    .story-delete-button { justify-self: end; }
    .adult-story-flag { grid-column: 1; }
    .chapter-admin-row { grid-template-columns: 1fr auto auto; gap: 8px; padding: 9px 0; }
    .chapter-admin-row > span { grid-column: 1 / -1; }
    .chapter-admin-row h4 { grid-column: 1 / -1; }
    .maintenance-control { align-items: flex-start; flex-direction: column; padding: 17px; }
    .maintenance-form { width: 100%; justify-content: space-between; }
    .maintenance-wrap { width: calc(100% - 40px); }
    .maintenance-message h1 { font-size: 49px; }
}