/* Arizona Unsolved — site styles */

/* Fonts are declared here directly so they always load,
   whatever has been saved in the Site Editor. */
@font-face { font-family: "Telegraphem"; src: url(../fonts/Telegraphem-2.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url(../fonts/BebasNeue-Regular.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	--au-ink: #0C0C0C;
	--au-char: #161616;
	--au-paper: #ECE6DA;
	--au-paper-light: #FBF8F2;
	--au-red: #D0140F;
	--au-red-bright: #F2201B;
	--au-red-dark: #B5070F;
	--au-muted: #9A948A;
	--au-line-dark: #2A2A2A;
	--au-line-paper: #C9C1B3;
	--au-display: "Bebas Neue", Impact, sans-serif;
	--au-type: Telegraphem, "American Typewriter", "Courier New", monospace;
	--au-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

body { margin: 0; background: var(--au-ink); color: var(--au-paper); font-family: var(--au-body); }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--au-red-bright); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Type helpers */
.au-tw { font-family: var(--au-type); letter-spacing: .08em; }
.au-display { font-family: var(--au-display); font-weight: 400; line-height: .92; letter-spacing: .01em; }
.au-muted { color: var(--au-muted); }
.au-small { font-size: 13px; line-height: 1.6; }
.au-kicker { font-family: var(--au-type); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 8px; }
.au-meta { font-size: 13px; line-height: 1.6; color: #5B554C; margin: 6px 0 0; }
.au-section--dark .au-meta, .au-section--char .au-meta { color: var(--au-muted); }

/* Layout */
.au-wrap { max-width: 1320px; margin-inline: auto; padding-inline: 28px; box-sizing: border-box; }
.au-section { padding-block: 96px; margin: 0 !important; }
.au-section--dark { background: var(--au-ink); color: var(--au-paper); }
.au-section--char { background: var(--au-char); color: var(--au-paper); border-block: 1px solid #262626; padding-block: 72px; }
.au-section--paper { background: var(--au-paper); color: var(--au-char); }
.au-section--paper a:not(.au-btn) { color: var(--au-red-dark); }
.au-section--red { background: var(--au-red); color: #fff; padding-block: 56px; }
.au-section--red a:not(.au-btn) { color: #fff; }
.au-split { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.au-split > * { flex: 1 1 420px; min-width: 0; margin: 0; }
.au-split > .au-narrow { flex: 0 1 340px; }
.au-split--center { align-items: center; }

/* Section label: short red bar + typewriter label */
.au-slate { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid currentColor; margin: 0 0 40px !important; font-family: var(--au-type); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.au-slate::before { content: ""; width: 32px; height: 5px; background: var(--au-red); flex: none; }

/* Headings */
h1, h2, h3, .wp-block-heading { font-family: var(--au-display); font-weight: 400; line-height: .92; margin: 0; }
.au-h1 { font-size: clamp(56px, 8vw, 120px); color: #fff; }
.au-h2 { font-size: clamp(48px, 6vw, 92px); }
.au-section--dark .au-h2, .au-section--char .au-h2 { color: #fff; }
.au-red-text { color: var(--au-red-bright); }
.au-section--paper .au-red-text { color: var(--au-red-dark); }
.au-lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; max-width: 680px; }

/* Buttons */
.au-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.au-btn, .au-actions a { display: inline-flex; align-items: center; min-height: 52px; padding: 2px 26px 0; font-family: var(--au-display); font-size: 22px; letter-spacing: .06em; text-decoration: none; box-sizing: border-box; border: 2px solid transparent; cursor: pointer; }
.au-btn--red, .au-actions a:first-child { background: var(--au-red); color: #fff; }
.au-btn--outline-light, .au-section--dark .au-actions a + a, .au-hero .au-actions a + a, .au-tips .au-actions a + a { border-color: #fff; color: #fff; background: transparent; }
.au-btn--dark { background: var(--au-char); color: #fff; }
.au-btn--outline-dark, .au-section--paper .au-actions a + a { border-color: var(--au-char); color: var(--au-char); background: transparent; }
.au-btn--small { min-height: 44px; font-size: 18px; padding: 2px 16px 0; }
.au-btn:hover, .au-actions a:hover { filter: brightness(1.12); }

/* Live alert bar */
.au-live[hidden] { display: none; }
.au-live { background: var(--au-red); }
.au-live__link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; min-height: 48px; padding: 8px 20px; color: #fff !important; text-decoration: none; font-family: var(--au-type); font-size: 14px; letter-spacing: .12em; }
.au-live__label { display: inline-flex; align-items: center; gap: 8px; }
.au-live__dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.au-live__title { letter-spacing: .04em; }
.au-live__cta { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.au-header { position: sticky; top: 0; z-index: 50; background: var(--au-ink); border-bottom: 1px solid #262626; }
.admin-bar .au-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .au-header { top: 0; position: relative; } }
.au-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 10px; }
.au-logo { margin: 0 !important; }
.au-logo img { height: 46px; width: auto; display: block; }
.au-nav { font-family: var(--au-type); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.au-nav a { color: #E6E0D5 !important; text-decoration: none; padding: 12px 2px; }
.au-nav a:hover { color: var(--au-red-bright) !important; }
.au-nav .au-nav-tip a { color: #fff !important; border-bottom: 3px solid var(--au-red-bright); padding-bottom: 8px; }
.au-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--au-ink) !important; color: #fff; }

/* Hero */
.au-hero { position: relative; min-height: 760px; display: flex; align-items: flex-end; background: #0C0C0C url(../img/four-peaks.jpg) 40% 35% / cover no-repeat; }
.au-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,.12) 0%, rgba(12,12,12,.35) 45%, rgba(12,12,12,.94) 100%); }
.au-hero > .au-wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 64px; }
.au-hero__eyebrow { margin: 0; font-family: var(--au-type); font-size: 15px; letter-spacing: .22em; }
.au-hero__eyebrow span, .au-hero__eyebrow mark { background: var(--au-red) !important; color: #fff; padding: 6px 10px; }
.au-hero__logo { margin: 28px 0 0 !important; }
.au-hero__logo img { width: min(640px, 100%); height: auto; }
.au-hero__lede { margin: 28px 0 0; max-width: 620px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--au-paper); }
.au-hero__tip { margin: 22px 0 0; font-family: var(--au-type); font-size: 15px; color: #CFC8BC; }
.au-hero__caption { margin: 28px 0 0 auto; width: max-content; max-width: 100%; border-left: 4px solid var(--au-red-bright); background: rgba(12,12,12,.7); padding: 10px 16px; font-family: var(--au-type); font-size: 13px; letter-spacing: .14em; color: #fff; }

/* Case list (ledger) */
.au-ledger { border-top: 2px solid var(--au-paper); margin-top: 40px; }
.au-ledger__head, .au-ledger__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; border-bottom: 1px solid #333; }
.au-ledger__head { padding: 12px 0; font-size: 12px; letter-spacing: .16em; color: var(--au-muted); text-transform: uppercase; }
.au-ledger__row { padding: 22px 0; color: var(--au-paper) !important; text-decoration: none; }
.au-ledger__row:hover .au-ledger__title { color: var(--au-red-bright); }
.au-ledger .c-name { flex: 1 1 320px; display: flex; align-items: center; gap: 18px; min-width: 0; }
.au-ledger .c-place { flex: 0 1 200px; font-size: 13px; line-height: 1.6; text-transform: uppercase; }
.au-ledger .c-year { flex: 0 0 60px; font-size: 13px; }
.au-ledger .c-eps { flex: 0 1 240px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; text-transform: uppercase; }
.au-ledger__thumb { width: 64px; height: 64px; object-fit: cover; object-position: 50% 25%; flex: none; }
.au-ledger__title { font-family: var(--au-display); font-size: 36px; line-height: .95; color: #fff; }
@media (max-width: 700px) { .au-ledger__head { display: none; } .au-ledger .c-year { flex: 0 0 auto; } }
.au-badge { display: inline-block; background: var(--au-red); color: #fff; padding: 5px 8px; font-family: var(--au-type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.au-chip { display: inline-block; border: 1px solid #3A3A3A; color: var(--au-muted); padding: 4px 8px; font-family: var(--au-type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.au-section--paper .au-chip { border-color: var(--au-line-paper); color: #5B554C; }
.au-empty { border: 1px dashed currentColor; padding: 36px; text-align: center; font-family: var(--au-type); font-size: 14px; }
.au-empty .au-display { font-size: 30px; margin: 0 0 14px; }

/* In Focus */
.au-focus { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.au-print { flex: 0 1 340px; margin: 0; background: #fff; padding: 14px 14px 0; box-shadow: 0 1px 0 var(--au-line-paper); }
.au-print img { display: block; width: 100%; height: auto; }
.au-print figcaption { padding: 14px 0 16px; font-size: 14px; letter-spacing: .14em; color: var(--au-char); text-transform: uppercase; }
.au-focus__body { flex: 1 1 480px; min-width: 0; }
.au-focus__title { font-family: var(--au-display); font-size: clamp(52px, 6vw, 88px); line-height: .9; margin-top: 36px; }
.au-focus__text { font-size: 19px; line-height: 1.65; margin-top: 20px; }
.au-facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid currentColor; }
.au-facts dt { padding: 10px 24px 10px 0; border-bottom: 1px solid var(--au-line-paper); color: #5B554C; }
.au-facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--au-line-paper); }
.au-section--dark .au-facts dt { color: var(--au-muted); border-color: #333; }
.au-section--dark .au-facts dd { border-color: #333; }

/* Contact law enforcement first (case pages) */
.au-contact-first { margin-top: 32px; border: 1px solid currentColor; border-left: 6px solid var(--au-red); padding: 24px; font-size: 17px; line-height: 1.6; background: var(--au-paper-light); color: var(--au-char); }
.au-contact-first p { margin: 0 0 10px; }
.au-contact-first .au-btn { margin: 8px 0 12px; }

/* Episodes and videos */
.au-episodes, .au-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; margin: 24px 0; }
.au-episode, .au-video { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit !important; }
.au-episode__img, .au-video__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1C1C1C; }
.au-episode__img img, .au-video__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.au-episode__title, .au-video__title { font-family: var(--au-display); font-size: 24px; line-height: 1.05; }
.au-episode .au-badge { align-self: flex-start; }
.au-video .au-tw { font-size: 12px; }
.au-podcast-player { display: block; margin-top: 18px; }
.au-podcast-art img { width: 180px; height: 180px; }

/* Watch & Listen panels */
.au-panels { display: flex; flex-wrap: wrap; gap: 2px; background: var(--au-line-dark); margin-top: 48px !important; }
.au-panels > * { flex: 1 1 420px; min-width: 0; background: #141414; padding: 36px; margin: 0 !important; box-sizing: border-box; }
.au-panels > .au-panel--wide { flex: 3 1 520px; }

/* About */
.au-portrait { margin: 0 !important; }
.au-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; display: block; }
.au-nameplate { border-left: 4px solid var(--au-red); background: var(--au-char); padding: 10px 14px; margin-top: 16px !important; }
.au-nameplate p { margin: 0; color: #CFC8BC; font-family: var(--au-type); font-size: 12px; letter-spacing: .14em; }
.au-nameplate p.au-display { color: #fff; font-family: var(--au-display); font-size: 34px; letter-spacing: .01em; }
.au-quote { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; font-style: italic; margin: 0; }
.au-principles { padding: 16px 0; border-block: 1px solid currentColor; font-family: var(--au-type); font-size: 13px; letter-spacing: .14em; line-height: 1.9; }

/* Tips */
.au-tips { position: relative; background: #0C0C0C url(../img/saguaro-dusk.jpg) center / cover no-repeat; }
.au-tips::before { content: ""; position: absolute; inset: 0; background: rgba(12,12,12,.82); }
.au-tips > .au-wrap { position: relative; }
.au-tips__email a { font-family: var(--au-display); font-size: clamp(36px, 4.5vw, 60px); line-height: 1; color: var(--au-red-bright) !important; text-decoration: none; }
.au-aside { border: 1px solid var(--au-paper); background: rgba(12,12,12,.6); padding: 26px; font-family: var(--au-type); font-size: 14px; line-height: 1.8; align-self: flex-end; }
.au-aside p { margin: 0 0 12px; }
.au-aside .au-kicker { color: var(--au-red-bright); }

/* Records library */
.au-filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-top: 8px; }
.au-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; min-width: 0; font-family: var(--au-type); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.au-field--wide { flex: 3 1 320px; }
.au-field input, .au-field select { min-height: 46px; border: 1px solid var(--au-char); border-radius: 0; background: var(--au-paper-light); padding: 0 12px; font: 16px var(--au-body); color: var(--au-char); text-transform: none; letter-spacing: 0; }
.au-filters__buttons { display: flex; gap: 8px; }
.au-filters__buttons .au-btn { min-height: 46px; font-size: 20px; }
.au-library { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 32px; align-items: flex-start; }
.au-casenav { flex: 1 1 260px; min-width: 0; border-top: 3px solid var(--au-char); display: flex; flex-direction: column; }
.au-casenav .au-kicker { padding: 12px 0 0; color: #5B554C; }
.au-casenav__item { display: block; min-height: 44px; padding: 12px 14px; border-bottom: 1px solid var(--au-line-paper); color: var(--au-char) !important; text-decoration: none; }
.au-casenav__item .au-tw { display: block; margin-top: 4px; font-size: 12px; text-transform: uppercase; opacity: .8; }
.au-casenav__name { display: block; font-family: var(--au-display); font-size: 26px; line-height: 1; }
.au-casenav__item.is-current { background: var(--au-char); color: #fff !important; box-shadow: inset 5px 0 0 var(--au-red); }
.au-library__main { flex: 999 1 600px; min-width: 0; }
.au-rcase { border-top: 3px solid var(--au-char); margin-bottom: 40px; }
.au-rcase__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 16px 0 6px; }
.au-rcase__head h2 { font-size: 46px; }
.au-rcase__head h2 a { color: var(--au-char) !important; text-decoration: none; }
.au-rcase__head p { margin: 0; font-size: 12px; text-transform: uppercase; }
.au-rgroup { margin-top: 18px; }
.au-rgroup__head { display: flex; justify-content: space-between; margin: 0; padding: 8px 0; border-bottom: 1px solid currentColor; font-family: var(--au-type); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--au-red-dark); }
.au-rgroup__head span + span { color: #5B554C; }
.au-section--dark .au-rgroup__head { color: var(--au-red-bright); }
.au-rrow { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: flex-start; padding: 18px 12px; border-bottom: 1px solid var(--au-line-paper); }
.au-rrow__main { flex: 1 1 340px; min-width: 0; }
.au-rrow__title { margin: 0; font-family: var(--au-display); font-weight: 400; font-size: 26px; line-height: 1.05; }
.au-rrow__title a { color: inherit !important; text-decoration: none; }
.au-rrow__desc { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.au-disclaimer { margin-top: 40px; border-top: 2px solid currentColor; padding-top: 24px; max-width: 860px; font-size: 14px; line-height: 1.8; }

/* Record page */
.au-warning { border-left: 4px solid var(--au-red); padding: 10px 14px; background: var(--au-paper-light); color: var(--au-char); font-size: 13px; }
.au-viewer { margin-top: 24px; background: #1C1C1C; border-top: 4px solid var(--au-red); }
.au-viewer object { display: block; width: 100%; height: min(900px, 80vh); }
.au-viewer__fallback { padding: 24px; color: var(--au-paper); font-family: var(--au-type); }
.au-audio { width: 100%; margin-top: 24px; }
.au-video-file { width: 100%; margin-top: 24px; background: #000; }
.au-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 24px; }
.au-photos figure { margin: 0; }
.au-photos figcaption { font-size: 12px; margin-top: 6px; }
.au-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 24px; }
.au-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Case page */
.au-case-hero { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.au-case-hero > .wp-block-post-featured-image { flex: 0 1 380px; margin: 0; background: #fff; padding: 14px; }
.au-case-hero > .au-case-hero__body { flex: 1 1 480px; min-width: 0; }
.au-case-title { font-size: clamp(52px, 6vw, 96px) !important; margin-bottom: 28px !important; }
.au-prose { max-width: 760px; font-size: 19px; line-height: 1.7; }
.au-prose h2 { font-size: 44px; margin: 40px 0 12px; }

/* Footer */
.au-footer { background: var(--au-ink); border-top: 4px solid var(--au-red); padding-block: 72px 36px; }
.au-footer__logo img { width: 260px; height: auto; }
.au-footer__nav a, .au-footer__social a { color: #E6E0D5 !important; text-decoration: none; }
.au-footer__nav a:hover, .au-footer__social a:hover { color: var(--au-red-bright) !important; }
.au-footer__nav, .au-footer__social { font-family: var(--au-type); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; line-height: 2.6; }
.au-footer__social { border-top: 1px solid #262626; margin-top: 40px !important; padding-top: 12px; }
.au-footer__legal { margin-top: 18px !important; padding-top: 18px; border-top: 1px solid #262626; font-family: var(--au-type); font-size: 12px; letter-spacing: .08em; color: var(--au-muted); text-transform: uppercase; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.au-footer__legal p { margin: 0; }
.au-section--red .au-actions a:first-child { background: var(--au-ink); color: #fff; }
.au-section--red .au-h2 { color: #fff; font-size: clamp(52px, 6vw, 88px); }
.au-section--red p { margin: 14px 0 0; }

/* 1.0.2: Watch & Listen panel sizing */
.au-panels h3, .au-panels .has-x-large-font-size { font-size: clamp(34px, 3.2vw, 48px) !important; margin-bottom: 8px; }
.au-panels .au-videos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.au-panels .au-video__title { font-size: 20px; }

/* 1.0.3: breathing room before a section label that follows other content */
.au-wrap > .au-slate:not(:first-child) { margin-top: 72px !important; }

/* 1.0.4: tighter typewriter labels. The font is monospaced, so a space is as
   wide as a letter; with extra letter-spacing the gaps between words looked too big. */
.au-hero__eyebrow { letter-spacing: .12em; word-spacing: -.35em; line-height: 1.9; }
.au-hero__eyebrow mark { display: inline-block; padding: 7px 12px 5px; }
.au-tw, .au-kicker, .au-slate, .au-hero__caption, .au-hero__tip, .au-nav, .au-facts,
.au-footer__nav, .au-footer__social, .au-footer__legal, .au-principles, .au-live__link,
.au-ledger__head, .au-badge, .au-chip, .au-field { word-spacing: -.2em; }

/* Hero label: one plain line */
.au-hero__eyebrow { word-spacing: 0; letter-spacing: .18em; line-height: 1; }
.au-hero__eyebrow mark { display: inline-block; padding: 9px 12px 7px 14px; }

/* 1.0.8: contrast and spacing fixes */
.au-section--paper .au-muted, .au-rcase__head p { color: #5B554C; }
.au-case-hero__body .wp-block-post-excerpt { margin-bottom: 28px; }

/* 1.0.9: transcript heading on record pages */
.au-transcript-head { margin: 40px 0 0 !important; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-family: var(--au-type); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--au-red-dark); }
