:root {
    --ink: #0a0a09;
    --ink-soft: #131310;
    --charcoal: #1b1b18;
    --paper: #f2eee7;
    --paper-dim: #bbb5ab;
    --line: rgba(241, 237, 229, .17);
    --warm: #c44725;
    --warm-bright: #df5e32;
    --admin-bg: #f1f0eb;
    --admin-surface: #fbfaf7;
    --admin-line: #dcdbd4;
    --admin-text: #1c1b18;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.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; }

/* Public site */
.public-body { background: var(--ink); color: var(--paper); }
.section-shell { padding-left: clamp(24px, 5vw, 84px); padding-right: clamp(24px, 5vw, 84px); }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid rgba(255,255,255,.13); }
.site-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.6), transparent); z-index: -1; }
.wordmark { font: 29px/1 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: 100%; }
.site-nav a { position: relative; font-size: 10px; text-transform: uppercase; letter-spacing: .23em; color: #d8d4ce; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -13px; height: 1px; background: var(--paper); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.header-motto { justify-self: end; margin: 0; display: flex; align-items: center; gap: 14px; font-size: 8px; text-transform: uppercase; letter-spacing: .28em; color: #d5d0c7; }
.header-motto span { width: 34px; height: 1px; background: currentColor; }
.menu-button { display: none; }

.hero { --hero-image: url('/images/demo/hero-silhouette.png'); position: relative; min-height: min(760px, 78vh); display: flex; align-items: center; background-image: var(--hero-image); background-position: center 42%; background-size: cover; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, rgba(0,0,0,.28)); pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,5,.92) 0%, rgba(8,7,5,.64) 28%, rgba(8,7,5,.08) 58%, rgba(8,7,5,.08) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 570px; margin: 85px 0 0 clamp(24px, 5vw, 76px); }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .38em; font-size: 10px; font-weight: 500; color: #d4cfc5; }
.hero h1 { max-width: 560px; margin: 0 0 11px; font: 400 clamp(62px, 6.4vw, 108px)/.82 var(--serif); letter-spacing: -.05em; text-wrap: balance; }
.hero-tags { margin: 25px 0 17px; color: #ece7df; text-transform: uppercase; letter-spacing: .35em; font-size: clamp(9px, .8vw, 12px); }
.hero-intro { max-width: 420px; margin: 0 0 22px; font: italic clamp(16px, 1.25vw, 20px)/1.38 var(--serif); color: #d9d2c8; white-space: pre-line; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; min-height: 50px; padding: 0 23px; border: 1px solid rgba(255,255,255,.7); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .33em; transition: background .25s, color .25s; }
.outline-button:hover { background: var(--paper); color: var(--ink); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 17px; width: 24px; height: 38px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.55); border-radius: 20px; opacity: .8; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; background: white; border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, 13px); opacity: 0; } }

.stories-section { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 3fr); gap: clamp(26px, 3vw, 52px); padding-top: 28px; padding-bottom: 28px; background: radial-gradient(circle at 15% 45%, #161713 0, #0a0b0a 45%); border-bottom: 1px solid var(--line); }
.stories-intro { padding: 10px 0; align-self: center; }
.line-label { display: flex; align-items: center; gap: 14px; }
.line-label::after { content: ''; width: 65px; height: 1px; background: #918c83; }
.stories-intro h2 { margin: 16px 0 20px; font: 400 clamp(36px, 3.3vw, 57px)/.98 var(--serif); letter-spacing: -.025em; }
.stories-intro > p:not(.eyebrow) { color: var(--paper-dim); font: 15px/1.52 var(--serif); }
.text-link { display: inline-flex; align-items: center; gap: 26px; margin-top: 15px; padding-bottom: 8px; border-bottom: 1px solid #7f7b74; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; }
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.story-grid { height: 390px; display: grid; grid-template-columns: 1.1fr 1.35fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.story-card { position: relative; overflow: hidden; min-height: 185px; background: #171715; isolation: isolate; }
.story-card--1 { grid-row: 1 / 3; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.story-card--2 img { object-position: center 12%; }
.story-card:hover img { transform: scale(1.035); }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(0,0,0,.78) 100%); z-index: 1; }
.story-copy { position: absolute; z-index: 2; left: 22px; right: 50px; bottom: 18px; }
.story-number { margin: 0 0 4px; font: 13px var(--serif); display: flex; align-items: center; gap: 10px; }
.story-number span { width: 35px; height: 1px; background: #c2bdb5; }
.story-copy h3 { margin: 0 0 6px; font: 400 clamp(28px, 2.5vw, 41px)/1 var(--serif); }
.story-copy > p:last-child { margin: 0; color: #d2cec7; text-transform: uppercase; letter-spacing: .32em; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-copy b { padding: 0 5px; }
.story-arrow { position: absolute; right: 22px; bottom: 20px; z-index: 2; font: 30px var(--serif); }

.about-section { min-height: 230px; display: grid; grid-template-columns: 165px minmax(300px, 1fr) minmax(360px, 1.25fr); gap: clamp(25px, 4vw, 68px); align-items: center; padding-top: 28px; padding-bottom: 28px; background: linear-gradient(105deg, #10110f, #0b0b0a); }
.about-portrait { height: 180px; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about-copy h2 { margin: 0 0 7px; font: 400 clamp(28px, 2.4vw, 40px) var(--serif); }
.about-copy > p:not(.eyebrow) { max-width: 600px; margin: 0; color: #c8c2b9; font: 15px/1.45 var(--serif); white-space: pre-line; }
.about-copy .text-link { margin-top: 9px; }
.quote { margin: 0; padding: 20px 15px 20px clamp(38px, 6vw, 90px); border-left: 1px solid #565550; text-align: center; }
.quote p { margin: 0 0 20px; font: italic clamp(24px, 2.4vw, 38px)/1.15 var(--serif); color: #e5dfd6; }
.quote cite { font-style: normal; font-size: 8px; text-transform: uppercase; letter-spacing: .34em; }
.site-footer { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font-size: 9px; color: #a8a39b; }
.site-footer p { margin: 0; }
.social-links { display: flex; gap: 20px; align-items: center; text-transform: uppercase; letter-spacing: .15em; }
.social-links a:hover { color: white; }
.admin-link { opacity: .45; }
.reveal { opacity: 0; transform: translateY(15px); transition: opacity .8s ease var(--delay, 0ms), transform .8s ease var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.featured-story { min-height: 430px; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(35px, 6vw, 95px); align-items: center; padding-top: 55px; padding-bottom: 55px; border-bottom: 1px solid var(--line); background: #11110f; }
.featured-story > img { width: 100%; height: 330px; object-fit: cover; }
.featured-story h2 { margin: 0 0 18px; font: 400 clamp(42px, 4vw, 68px)/1 var(--serif); }
.featured-story > div > p:not(.eyebrow) { max-width: 500px; color: var(--paper-dim); font: 18px/1.55 var(--serif); }
.featured-story .outline-button { margin-top: 12px; }
.site-header--solid { position: fixed; background: rgba(10,10,9,.91); backdrop-filter: blur(13px); }
.site-header--solid::before { display: none; }
.detail-page { padding-top: 74px; min-height: 100vh; }
.preview-banner { position: fixed; z-index: 30; top: 74px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); padding: 9px 16px; background: var(--warm); color: white; font-size: 10px; letter-spacing: .08em; }
.detail-kicker { display: flex; justify-content: space-between; color: #a9a49b; font-size: 9px; text-transform: uppercase; letter-spacing: .3em; }
.gallery-hero { padding-top: clamp(75px, 9vw, 130px); padding-bottom: clamp(40px, 6vw, 80px); }
.gallery-hero h1 { max-width: 980px; margin: 35px 0 15px; font: 400 clamp(64px, 9vw, 142px)/.86 var(--serif); letter-spacing: -.055em; }
.gallery-hero > p { max-width: 660px; color: #c9c3ba; font: 20px/1.5 var(--serif); }
.gallery-hero > small { color: #827d75; text-transform: uppercase; letter-spacing: .2em; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px); padding-bottom: 85px; }
.gallery-photo { grid-column: span 6; position: relative; overflow: hidden; background: #151513; }
.gallery-photo:nth-child(3n) { grid-column: span 12; }
.gallery-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s ease; }
.gallery-photo:nth-child(3n) img { aspect-ratio: 2 / 1; }
.gallery-photo:hover img { transform: scale(1.015); }
.gallery-photo > span { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; padding: 40px 20px 17px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.gallery-photo b { font: 23px var(--serif); }
.gallery-photo small { color: #d1ccc4; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.public-empty { grid-column: 1 / -1; padding: 80px 0; color: #99948b; font: 24px var(--serif); text-align: center; }
.detail-back { display: inline-block; color: #aaa59d; font-size: 9px; text-transform: uppercase; letter-spacing: .28em; }
.photo-detail { padding-top: 118px; padding-bottom: 80px; }
.photo-stage { display: grid; place-items: center; min-height: 68vh; margin: 30px 0 0; background: #060605; }
.photo-stage img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.photo-caption { display: grid; grid-template-columns: 1.5fr .7fr auto; gap: 40px; align-items: end; padding: 30px 0 0; }
.photo-caption h1 { margin: 0 0 10px; font: 400 clamp(38px, 4vw, 66px)/1 var(--serif); }
.photo-caption > div:first-child > p:last-child { max-width: 650px; color: #bcb7ae; font: 17px/1.55 var(--serif); }
.photo-facts { display: flex; flex-direction: column; gap: 8px; color: #9c978f; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; }
.reaction-button { min-width: 145px; min-height: 52px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 9px; padding: 0 16px; border: 1px solid #4d4a45; background: transparent; color: #d6d1c9; cursor: pointer; }
.reaction-button span { color: #77716b; font-size: 20px; }
.reaction-button b { font: 18px var(--serif); }
.reaction-button em { font-size: 9px; font-style: normal; text-transform: uppercase; letter-spacing: .13em; }
.reaction-button.is-active { border-color: #b85339; color: white; }
.reaction-button.is-active span { color: #dc6243; }
.story-hero { max-width: 1040px; padding-top: 110px; padding-bottom: 60px; text-align: center; }
.story-hero .detail-back { display: block; margin-bottom: 60px; text-align: left; }
.story-hero h1 { margin: 15px 0 25px; font: 400 clamp(62px, 9vw, 130px)/.9 var(--serif); letter-spacing: -.05em; }
.story-hero > p:last-child { max-width: 700px; margin: 0 auto; color: #bbb5ac; font: italic 22px/1.5 var(--serif); }
.story-cover { width: min(1320px, calc(100% - 48px)); height: min(72vh, 760px); margin: 0 auto; overflow: hidden; }
.story-cover img { width: 100%; height: 100%; object-fit: cover; }
.story-body { width: min(790px, 100%); padding-top: 80px; padding-bottom: 90px; color: #d6d0c7; font: 20px/1.9 var(--serif); }
.related-gallery { padding-top: 55px; padding-bottom: 75px; border-top: 1px solid var(--line); }
.related-gallery h2 { margin: 0 0 24px; font: 45px var(--serif); }
.related-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 25px; }
.related-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.legal-page { width: min(850px, 100%); padding-top: 145px; padding-bottom: 100px; }
.legal-page h1 { margin: 25px 0 45px; font: 62px var(--serif); }
.legal-page h2 { margin: 40px 0 10px; font: 30px var(--serif); }
.legal-page > p:not(.eyebrow) { color: #c4beb5; font: 18px/1.7 var(--serif); }

/* Login */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 50px 24px; background: #0a0a09; }
.login-back { position: fixed; left: 28px; top: 24px; z-index: 3; color: #c7c2ba; font-size: 11px; text-transform: uppercase; letter-spacing: .25em; }
.login-card { width: min(920px, 100%); min-height: 570px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); background: #11110f; box-shadow: 0 35px 100px rgba(0,0,0,.5); }
.login-art { background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.35)), url('/images/demo/hero-silhouette.png') center/cover; }
.login-form-wrap { padding: clamp(45px, 6vw, 80px); align-self: center; }
.login-form-wrap h1 { margin: 0 0 13px; font: 400 52px/1 var(--serif); }
.login-form-wrap > p:not(.eyebrow) { color: #aaa59d; font: 16px/1.55 var(--serif); }

/* Forms */
.stack-form { display: flex; flex-direction: column; gap: 20px; }
.stack-form label, .field-grid label { display: flex; flex-direction: column; gap: 8px; }
.stack-form label > span:first-child, .field-grid label > span:first-child { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid #cccac2; border-radius: 2px; background: white; color: #1b1a17; padding: 10px 13px; outline: none; transition: border .2s, box-shadow .2s; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--warm); box-shadow: 0 0 0 3px rgba(196,71,37,.12); }
.login-form-wrap input { border-color: #383834; background: #181816; color: white; }
.login-form-wrap label > span { color: #d7d2cb; }
.check-row { flex-direction: row !important; align-items: center; gap: 10px !important; }
.check-row input { width: 17px; min-height: 17px; accent-color: var(--warm); }
.check-row span { font-size: 12px !important; letter-spacing: normal !important; text-transform: none !important; }
.field-error { color: #ee8067; }
.primary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 2px; padding: 0 22px; cursor: pointer; background: var(--warm); color: white; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; box-shadow: 0 8px 25px rgba(140,48,24,.2); transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--warm-bright); transform: translateY(-1px); }

/* Admin */
.admin-body { min-height: 100vh; background: var(--admin-bg); color: var(--admin-text); }
.admin-sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 238px; display: flex; flex-direction: column; padding: 26px 18px; background: #10100e; color: #e9e5dd; }
.admin-brand { padding: 0 12px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2c2c28; }
.admin-brand a, .mobile-brand { margin: 0; font: 26px var(--serif); }
.admin-brand a span, .mobile-brand span { display: block; color: #8d8880; font: 8px var(--sans); text-transform: uppercase; letter-spacing: .38em; }
.sidebar-close { display: none; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; padding-top: 23px; }
.admin-nav a { display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 0 12px; border-radius: 3px; color: #a8a49d; font-size: 12px; font-weight: 550; }
.admin-nav a span { width: 20px; color: #78756f; text-align: center; font-size: 18px; }
.admin-nav a:hover, .admin-nav a.is-active { background: #24231f; color: white; }
.admin-nav a.is-active { box-shadow: inset 2px 0 var(--warm); }
.admin-nav a.is-active span { color: #e06b43; }
.visit-site { margin-top: auto; padding: 18px 12px 2px; border-top: 1px solid #2c2c28; display: flex; justify-content: space-between; color: #9a968f; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.admin-shell { min-height: 100vh; margin-left: 238px; }
.admin-topbar { height: 70px; display: flex; align-items: center; justify-content: flex-end; padding: 0 clamp(22px, 4vw, 54px); border-bottom: 1px solid var(--admin-line); background: rgba(251,250,247,.86); backdrop-filter: blur(12px); }
.admin-account { display: flex; align-items: center; gap: 14px; }
.admin-account form { margin: 0; }
.admin-account select { width: 62px; min-height: 34px; padding: 4px 8px; border-color: var(--admin-line); background: transparent; font-size: 11px; }
.account-name { font-size: 12px; color: #65625c; }
.quiet-button { border: 0; background: transparent; color: #77736b; cursor: pointer; font-size: 11px; }
.sidebar-open, .mobile-brand { display: none; }
.admin-main { width: min(1180px, 100%); margin: 0 auto; padding: clamp(30px, 4vw, 58px) clamp(20px, 4vw, 56px) 80px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 36px; }
.page-heading.compact { margin-bottom: 25px; }
.admin-eyebrow { margin: 0 0 10px !important; color: var(--warm) !important; font-size: 9px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .3em; }
.page-heading h1 { margin: 0; font: 400 clamp(38px, 4vw, 56px)/1 var(--serif); letter-spacing: -.03em; }
.page-heading p { margin: 12px 0 0; color: #77736c; font: 16px var(--serif); }
.back-link { display: inline-block; margin-bottom: 13px; color: #716d66; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.quick-actions { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; margin-bottom: 42px; }
.quick-action { min-height: 108px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--admin-line); background: var(--admin-surface); box-shadow: 0 7px 20px rgba(20,20,18,.035); transition: transform .2s, box-shadow .2s; }
.quick-action:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(20,20,18,.07); }
.quick-action--accent { background: #1a1916; border-color: #1a1916; color: white; }
.quick-icon { width: 48px; height: 48px; display: grid; place-items: center; background: #ece9e2; color: #3b3934; font: 26px var(--serif); }
.quick-action--accent .quick-icon { background: var(--warm); color: white; }
.quick-action > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 7px; }
.quick-action strong { font: 19px var(--serif); }
.quick-action small { color: #8b877f; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.quick-action b { color: #8d8982; font: 23px var(--serif); }
.admin-section { margin: 0 0 32px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.section-heading-row h2, .form-card h2 { margin: 0; font: 400 27px var(--serif); }
.section-heading-row a { color: var(--warm); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.recent-card { min-width: 0; background: var(--admin-surface); border: 1px solid var(--admin-line); }
.recent-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recent-card div { display: flex; flex-direction: column; gap: 5px; padding: 12px; }
.recent-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 16px var(--serif); }
.recent-card small { color: #87837c; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--admin-line); background: var(--admin-surface); }
.stats-row div { padding: 18px 22px; display: flex; align-items: baseline; gap: 10px; border-right: 1px solid var(--admin-line); }
.stats-row div:last-child { border: 0; }
.stats-row strong { font: 31px var(--serif); }
.stats-row span { color: #88847c; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.status-banner, .error-banner { margin-bottom: 22px; padding: 13px 16px; border-left: 3px solid #5f7b54; background: #e8eee4; font-size: 13px; }
.error-banner { border-color: #b94a34; background: #f4e7e4; }
.error-banner ul { margin: 6px 0 0; padding-left: 18px; }
.empty-state { min-height: 110px; display: grid; place-items: center; padding: 30px; border: 1px dashed #c7c4bb; color: #817d75; background: rgba(255,255,255,.3); text-align: center; }
.empty-state.tall { min-height: 300px; align-content: center; gap: 16px; }
.editorial-empty span { font: 54px var(--serif); color: #aaa69e; }
.form-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--admin-line); background: var(--admin-surface); box-shadow: 0 8px 30px rgba(35,32,25,.035); }
.editor-form { display: grid; gap: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-grid .span-2 { grid-column: 1 / -1; }
.field-grid label > span small { color: #969189; font-weight: 400; text-transform: none; letter-spacing: normal; }
.field-grid label > small { color: #97938c; }
.upload-card { padding: 12px; }
.upload-drop { position: relative; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; overflow: hidden; border: 1px dashed #aca89f; background: #f4f2ed; cursor: pointer; text-align: center; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 3; }
.upload-symbol { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 5px; border-radius: 50%; background: #e4e0d7; color: var(--warm); font: 30px var(--serif); }
.upload-drop strong { font: 21px var(--serif); }
.upload-drop small { color: #858179; }
.upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; background: #151513; transition: opacity .2s; }
.upload-drop.has-preview .upload-preview { opacity: 1; }
.toggle-row { position: relative; flex-direction: row !important; align-items: center; gap: 10px !important; }
.toggle-row input { position: absolute; opacity: 0; width: 1px; }
.toggle { width: 42px; height: 24px; padding: 3px; border-radius: 20px; background: #c5c2ba; transition: background .2s; }
.toggle::after { content: ''; display: block; width: 18px; height: 18px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .2s; }
.toggle-row input:checked + .toggle { background: var(--warm); }
.toggle-row input:checked + .toggle::after { transform: translateX(18px); }
.toggle-row strong { font-size: 12px; }
.sticky-actions { position: sticky; bottom: 18px; display: flex; justify-content: flex-end; pointer-events: none; }
.sticky-actions > * { pointer-events: auto; }
.photo-library { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photo-tile { min-width: 0; border: 1px solid var(--admin-line); background: var(--admin-surface); }
.photo-frame { aspect-ratio: 1 / 1; overflow: hidden; background: #d8d6d0; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-tile:hover img { transform: scale(1.025); }
.photo-meta { position: relative; padding: 13px 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.photo-meta strong { padding-right: 55px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 16px var(--serif); }
.photo-meta > span { color: #8a867f; font-size: 10px; }
.content-status { display: inline-flex; align-items: center; width: max-content; padding: 4px 7px; border-radius: 20px; background: #e4e1db; color: #736f68; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.photo-meta .content-status { position: absolute; top: 12px; right: 10px; }
.content-status.is-live { background: #e5ede1; color: #55704a; }
.pagination-wrap { margin-top: 28px; }
.pagination-wrap nav > div:first-child { display: none; }
.pagination-wrap nav > div:last-child { display: flex; justify-content: space-between; align-items: center; }
.pagination-wrap svg { width: 18px; }
.split-admin-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: 22px; align-items: start; }
.gallery-admin-list { display: flex; flex-direction: column; border: 1px solid var(--admin-line); background: var(--admin-surface); }
.gallery-admin-list article { min-height: 83px; display: flex; align-items: center; gap: 15px; padding: 10px 14px; border-bottom: 1px solid var(--admin-line); }
.gallery-admin-list article:last-child { border-bottom: 0; }
.gallery-thumb { width: 82px; height: 61px; display: grid; place-items: center; flex: 0 0 auto; background: #e6e3dc; color: #8c8880; font-size: 24px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-admin-list article > div:nth-child(2), .gallery-admin-list article > div:first-child:not(.gallery-thumb) { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.gallery-admin-list strong { font: 18px var(--serif); }
.gallery-admin-list small { color: #8d8981; }
.category-list { padding: 0; }
.category-list article { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--admin-line); }
.category-list article:last-child { border: 0; }
.category-list article > div { display: flex; flex-direction: column; gap: 5px; }
.category-list strong { font: 19px var(--serif); }
.category-list small { color: #8b877f; }
.danger-link { border: 0; background: transparent; color: #a74734; cursor: pointer; font-size: 10px; }
.inline-create { display: flex; gap: 10px; margin-bottom: 18px; }
.inline-create label { flex: 1; }
.outline-dark-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid #77736c; color: #383631; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.backup-card { position: sticky; top: 95px; text-align: center; }
.backup-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #ece8df; color: var(--warm); font: 28px var(--serif); }
.backup-card p { color: #7f7b73; font: 15px/1.5 var(--serif); }
.mobile-admin-nav, .sidebar-scrim { display: none; }

.library-filters { display: grid; grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(135px, .55fr)) auto; gap: 10px; margin-bottom: 18px; }
.library-filters.compact-filters { grid-template-columns: minmax(180px, 1fr) 200px auto; }
.bulk-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 12px; border: 1px solid var(--admin-line); background: var(--admin-surface); }
.bulk-bar select { width: auto; min-width: 160px; min-height: 40px; }
.bulk-bar .outline-dark-button { margin-left: auto; background: transparent; }
.select-all { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 11px; }
.select-all input { width: 17px; min-height: 17px; accent-color: var(--warm); }
.photo-tile { position: relative; }
.photo-tile > a { display: block; }
.tile-select { position: absolute; z-index: 3; top: 10px; left: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,10,9,.75); }
.tile-select input { width: 16px; min-height: 16px; accent-color: var(--warm); }
.tile-actions, .row-actions { display: flex; gap: 12px; align-items: center; padding: 0 12px 13px; }
.row-actions { padding: 0; }
.text-button { border: 0; background: transparent; color: var(--warm); cursor: pointer; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.danger-button { min-height: 42px; padding: 0 17px; border: 1px solid #ae4b38; background: transparent; color: #9b3c2c; cursor: pointer; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.form-note { margin: 0; color: #8b877f; font: 14px/1.5 var(--serif); }
.upload-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 8px; margin-top: 10px; }
.upload-preview-grid figure { min-width: 0; margin: 0; background: #1c1c19; color: white; }
.upload-preview-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.upload-preview-grid figcaption { overflow: hidden; padding: 8px; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.upload-drop.has-files { min-height: 150px; }
.upload-progress { position: relative; height: 28px; margin-top: 10px; overflow: hidden; background: #e4e1da; }
.upload-progress > span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--warm); transition: width .15s; }
.upload-progress strong { position: relative; z-index: 1; display: grid; height: 100%; place-items: center; color: white; font-size: 10px; }
.edit-media-layout { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(400px, 1.15fr); gap: 20px; align-items: start; }
.photo-editor-preview { position: sticky; top: 90px; }
.photo-editor-preview img { width: 100%; height: min(62vh, 620px); object-fit: cover; background: #151513; }
.photo-editor-preview p { margin: 12px 0 0; color: #8d8982; font-size: 10px; }
.checkbox-field { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 0; padding: 17px; border: 1px solid var(--admin-line); }
.checkbox-field legend { padding: 0 7px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
.focal-controls { display: grid; gap: 8px; padding: 18px; background: #f0ede6; }
.focal-controls > small { color: #7f7b74; }
.focal-controls label { display: grid; grid-template-columns: 18px 1fr 42px; align-items: center; gap: 10px; }
.focal-controls input { min-height: 28px; padding: 0; accent-color: var(--warm); }
.focal-controls output { font-size: 11px; }
.form-actions { display: flex; justify-content: flex-end; }
.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 28px; padding: 22px; border: 1px solid #d7bdb7; background: #f5ece9; }
.danger-zone strong { font: 20px var(--serif); }
.danger-zone p { margin: 5px 0 0; color: #786a66; font-size: 12px; }
.photo-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.picker-tile { position: relative; overflow: hidden; border: 2px solid transparent; background: #ece9e2; cursor: grab; }
.picker-tile.is-selected { border-color: var(--warm); }
.picker-tile.is-dragging { opacity: .4; }
.picker-tile input { position: absolute; z-index: 2; top: 8px; left: 8px; width: 18px; min-height: 18px; accent-color: var(--warm); }
.picker-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.picker-tile span { display: flex; gap: 8px; align-items: center; padding: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.picker-tile span b { color: #8a867e; }
.story-textarea { min-height: 360px; font-family: var(--serif); font-size: 17px; }
.subnav { display: flex; gap: 20px; margin: -12px 0 18px; border-bottom: 1px solid var(--admin-line); }
.subnav a { padding: 10px 0; color: #77736c; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.subnav a.is-active { color: var(--warm); border-bottom: 2px solid var(--warm); }
.category-rename { flex: 1; display: grid; grid-template-columns: minmax(140px, 1fr) auto auto; align-items: center; gap: 12px; }
.category-rename input { min-height: 39px; }
.analytics-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.analytics-cards article { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 1px solid var(--admin-line); background: var(--admin-surface); }
.analytics-cards strong { font: 42px var(--serif); }
.analytics-cards span { color: #7d7972; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.analytics-panel { margin-bottom: 20px; }
.analytics-chart { height: 210px; display: flex; align-items: end; gap: 4px; border-bottom: 1px solid var(--admin-line); }
.analytics-chart > span { flex: 1; height: 100%; display: flex; align-items: end; }
.analytics-chart i { width: 100%; height: var(--bar); min-height: 2px; background: var(--warm); opacity: .78; }
.chart-axis { display: flex; justify-content: space-between; padding-top: 8px; color: #8d8982; font-size: 9px; }
.analytics-columns { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.metric-row { min-height: 64px; display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--admin-line); }
.metric-row img { width: 60px; height: 46px; object-fit: cover; }
.metric-row span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.metric-row strong { font: 16px var(--serif); }
.metric-row small { color: #8b877f; }
.metric-row > b { color: var(--warm); font-weight: 400; }
.metric-row.text-only { padding: 0 5px; }
.narrow-form { width: min(580px, 100%); }

@media (max-width: 1100px) {
    .header-motto { display: none; }
    .site-header { grid-template-columns: 1fr auto; }
    .story-grid { grid-template-columns: 1fr 1fr; }
    .about-section { grid-template-columns: 140px 1fr; }
    .quote { grid-column: 1 / -1; }
    .photo-library { grid-template-columns: repeat(3, 1fr); }
    .photo-picker { grid-template-columns: repeat(4, 1fr); }
    .quick-actions { grid-template-columns: 1fr 1fr; }
    .quick-action--accent { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .site-header { position: fixed; height: 62px; padding: 0 20px; background: rgba(10,10,9,.88); backdrop-filter: blur(13px); }
    .wordmark { font-size: 22px; }
    .menu-button { display: flex; width: 42px; height: 42px; border: 0; background: none; flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
    .menu-button span:not(.sr-only) { width: 24px; height: 1px; background: white; }
    .menu-button span:nth-child(2) { width: 17px; }
    .site-nav { position: fixed; inset: 62px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 12px 22px 24px; background: rgba(10,10,9,.97); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s; }
    .site-nav.is-open { transform: none; }
    .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font: 24px var(--serif); text-transform: none; letter-spacing: 0; }
    .site-nav a::after { display: none; }
    .hero { min-height: 760px; align-items: flex-end; background-position: 62% center; }
    .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.03) 25%, rgba(7,7,6,.92) 77%, #080807 100%); }
    .hero-content { margin: 0 24px 68px; }
    .hero h1 { font-size: clamp(54px, 17vw, 76px); }
    .hero-tags { line-height: 1.8; letter-spacing: .25em; }
    .hero-intro { max-width: 330px; font-size: 17px; }
    .scroll-cue { display: none; }
    .stories-section { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 26px; }
    .stories-intro { padding: 0 0 10px; }
    .stories-intro h2 { font-size: 44px; }
    .story-grid { display: flex; flex-direction: column; height: auto; min-height: 0; }
    .story-card { min-height: 255px; }
    .story-card--1 { min-height: 390px; }
    .story-copy h3 { font-size: 35px; }
    .about-section { grid-template-columns: 100px 1fr; gap: 20px; padding-top: 40px; }
    .about-portrait { height: 135px; }
    .about-copy h2 { font-size: 30px; }
    .quote { padding: 35px 8px; border-left: 0; border-top: 1px solid var(--line); }
    .site-footer { padding-top: 22px; padding-bottom: 22px; flex-direction: column; align-items: flex-start; }
    .featured-story { grid-template-columns: 1fr; padding-top: 35px; padding-bottom: 45px; }
    .featured-story > img { height: 260px; }
    .site-header--solid { height: 62px; }
    .detail-page { padding-top: 62px; }
    .preview-banner { top: 62px; font-size: 8px; }
    .gallery-hero { padding-top: 72px; }
    .gallery-hero h1 { margin-top: 25px; font-size: 62px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-photo, .gallery-photo:nth-child(3n) { grid-column: auto; }
    .gallery-photo img, .gallery-photo:nth-child(3n) img { aspect-ratio: 4 / 3; }
    .gallery-photo > span { align-items: flex-start; flex-direction: column; gap: 4px; }
    .photo-detail { padding-top: 95px; }
    .photo-stage { min-height: 45vh; margin-top: 22px; }
    .photo-caption { grid-template-columns: 1fr; gap: 20px; }
    .reaction-button { width: 100%; }
    .story-hero { padding-top: 80px; }
    .story-hero .detail-back { margin-bottom: 45px; }
    .story-hero h1 { font-size: 62px; }
    .story-cover { width: calc(100% - 36px); height: 55vh; }
    .story-body { padding-top: 50px; padding-bottom: 60px; font-size: 18px; }
    .related-strip { grid-template-columns: 1fr 1fr; }
    .legal-page { padding-top: 110px; }
    .legal-page h1 { font-size: 48px; }
    .social-links { flex-wrap: wrap; }
    .login-card { grid-template-columns: 1fr; min-height: 0; }
    .login-art { min-height: 220px; }
    .login-form-wrap { padding: 34px 25px 40px; }
    .login-form-wrap h1 { font-size: 43px; }

    .admin-sidebar { width: min(310px, 85vw); transform: translateX(-105%); transition: transform .25s ease; }
    .admin-sidebar.is-open { transform: none; }
    .sidebar-close { display: block; border: 0; background: none; color: #aaa69f; font-size: 28px; }
    .sidebar-scrim { position: fixed; z-index: 25; inset: 0; background: rgba(0,0,0,.45); }
    .sidebar-scrim.is-visible { display: block; }
    .admin-shell { margin-left: 0; }
    .admin-topbar { height: 62px; justify-content: space-between; padding: 0 18px; }
    .sidebar-open { width: 38px; height: 38px; display: flex; border: 0; background: none; flex-direction: column; justify-content: center; gap: 6px; }
    .sidebar-open span { width: 22px; height: 1px; background: #282722; }
    .mobile-brand { display: block; font-size: 19px; }
    .account-name, .quiet-button { display: none; }
    .admin-main { padding: 31px 18px 105px; }
    .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 27px; }
    .page-heading h1 { font-size: 42px; }
    .page-heading .primary-button { width: 100%; }
    .quick-actions { grid-template-columns: 1fr; gap: 10px; }
    .quick-action--accent { grid-column: auto; }
    .recent-grid { grid-template-columns: 1fr 1fr; }
    .stats-row div { padding: 13px 10px; flex-direction: column; gap: 3px; }
    .stats-row strong { font-size: 26px; }
    .stats-row span { font-size: 8px; }
    .photo-library { grid-template-columns: 1fr 1fr; gap: 9px; }
    .photo-meta strong { padding-right: 0; }
    .photo-meta .content-status { position: static; margin-top: 3px; }
    .field-grid { grid-template-columns: 1fr; }
    .field-grid .span-2 { grid-column: auto; }
    .upload-drop { min-height: 290px; }
    .sticky-actions { bottom: 82px; }
    .sticky-actions .primary-button { width: 100%; }
    .split-admin-layout { grid-template-columns: 1fr; }
    .library-filters, .library-filters.compact-filters { grid-template-columns: 1fr; }
    .bulk-bar { align-items: stretch; flex-direction: column; }
    .bulk-bar select { width: 100%; }
    .bulk-bar .outline-dark-button { margin-left: 0; }
    .edit-media-layout { grid-template-columns: 1fr; }
    .photo-editor-preview { position: static; }
    .photo-editor-preview img { height: 390px; }
    .danger-zone { align-items: stretch; flex-direction: column; }
    .danger-zone .danger-button { width: 100%; }
    .photo-picker { grid-template-columns: repeat(2, 1fr); }
    .gallery-admin-list article { flex-wrap: wrap; }
    .row-actions { width: 100%; justify-content: flex-end; }
    .category-list article { align-items: stretch; flex-direction: column; }
    .category-rename { grid-template-columns: 1fr auto; }
    .category-rename small { grid-column: 1 / -1; grid-row: 2; }
    .analytics-cards { grid-template-columns: 1fr 1fr; }
    .analytics-columns { grid-template-columns: 1fr; }
    .backup-card { position: static; }
    .inline-create { flex-direction: column; }
    .gallery-admin-list article { align-items: flex-start; }
    .mobile-admin-nav { position: fixed; z-index: 20; inset: auto 0 0; min-height: 68px; padding: 7px 8px max(7px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-top: 1px solid #d8d5ce; background: rgba(251,250,247,.95); backdrop-filter: blur(12px); }
    .mobile-admin-nav a:not(.mobile-add) { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #79756e; font-size: 8px; }
    .mobile-admin-nav a span { font-size: 19px; }
    .mobile-admin-nav a.is-active { color: var(--warm); }
    .mobile-admin-nav .mobile-add { width: 48px; height: 48px; display: grid; place-items: center; justify-self: center; margin-top: -22px; border: 4px solid var(--admin-bg); border-radius: 50%; background: var(--warm); color: white; box-shadow: 0 5px 14px rgba(110,42,24,.3); font: 30px var(--serif); }
}

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