/*
Theme Name: Foul Is Fair
Description: Custom theme for Foul Is Fair Productions.
Version: 1.9.5
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: foulisfair
*/

@font-face { font-family: Montserrat; font-weight: 500; font-display: swap; src: url(assets/fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(assets/fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url(assets/fonts/montserrat-latin-800-normal.woff2) format("woff2"); }

:root {
	/* Brand. Red matches the logo artwork. */
	--black: #000;
	--red: #ed1e24;
	--red-hot: #ff4a4f;   /* Hover, and small red text on black */
	--red-deep: #7a0d11;  /* Borders and quiet accents */

	/* Neutrals, warmed slightly toward the red */
	--surface: #120c0d;
	--line: #33262a;
	--text: #f5f0ef;
	--muted: #bcb0ae;

	--font: Montserrat, "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(16px, 4vw, 48px);
	--max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--text); font: 500 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-hot); text-underline-offset: .18em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--black); font-weight: 800; }
.skip-link:focus { top: 12px; }

.eyebrow { margin: 0 0 .75rem; color: var(--red-hot); font-size: 1.125rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }

.button { display: inline-block; padding: .95em 1.8em; border: 2px solid var(--red); background: var(--black); color: var(--text); font-size: 1.0625rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: background .15s, border-color .15s, color .15s; }
.button:hover, .button:active { border-color: var(--black); background: var(--red); color: var(--text); }

/* Header: logo centered on top, full-width menu bar below. Only the menu stays on screen when scrolling. */
.site-header { display: flex; justify-content: center; padding: 20px var(--gutter) 16px; background: var(--black); }
.site-logo img { width: auto; height: 240px; }

.nav-bar { position: sticky; top: 0; z-index: 50; background: var(--black); border-block: 1px solid var(--line); }
.admin-bar .nav-bar { top: 32px; }
.site-nav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.site-nav__list li { flex: 1; }
.site-nav a { display: block; padding: 18px 8px; color: var(--text); font-size: .9375rem; font-weight: 800; letter-spacing: .16em; text-align: center; text-decoration: none; text-transform: uppercase; transition: color .15s; }
.site-nav a:hover { color: var(--red-hot); }
.site-nav .current-menu-item > a { color: var(--red-hot); text-decoration: underline 2px; text-underline-offset: 5px; }

.nav-toggle { display: none; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 0; border: 0; background: none; color: var(--text); font: 800 .9375rem var(--font); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 3px; background: var(--text); content: ""; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }

/* Hero */
.home .nav-bar { border-bottom: 0; }
.hero { position: relative; overflow: hidden; border-top: 5px solid var(--red); background: var(--surface); }
.hero__track { position: relative; height: clamp(420px, 62vh, 680px); }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; visibility: hidden; opacity: 0; transition: opacity .7s, visibility 0s .7s; }
.hero__slide.is-active { visibility: visible; opacity: 1; transition: opacity .7s; }
.hero__image, .hero__image-link { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; }
.hero__slide:not(.hero__slide--art)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 80%), linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0) 65%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max)); margin-inline: auto; padding: 0 var(--gutter) clamp(72px, 10vh, 104px); }
.hero__title { max-width: 1000px; margin-bottom: .3em; font-size: clamp(2.25rem, 6.2vw, 5rem); line-height: 1.02; overflow-wrap: break-word; }
/* Starting sizes for longer titles; site.js then fine-tunes so titles fit in two lines where possible. */
.hero__title--long { font-size: clamp(2rem, 4.6vw, 3.75rem); }
.hero__title--xlong { font-size: clamp(1.75rem, 3.6vw, 3rem); }
.hero__tagline { max-width: 46ch; margin: 0 0 1.5rem; font-size: clamp(1rem, 1.5vw, 1.1875rem); font-weight: 600; }

.hero__controls { position: absolute; right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.hero__btn { width: 44px; height: 44px; border: 0; background: rgba(0,0,0,.6); color: var(--text); font: 800 1rem var(--font); cursor: pointer; }
.hero__btn:hover, .hero__btn:active { background: var(--red); color: var(--text); }
.hero__dots { display: flex; padding-inline: 4px; }
.hero__dot { position: relative; width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot::before { content: ""; position: absolute; left: 3px; right: 3px; top: 20px; height: 4px; background: rgba(245,240,239,.5); }
.hero__dot:hover::before { background: var(--text); }
.hero__dot[aria-current]::before { background: var(--red); }

.hero-edge { position: relative; z-index: 4; height: 120px; margin-bottom: -56px; background: url(assets/img/edge-desktop.png) repeat-x center top / 1440px 120px; pointer-events: none; }

/* Whatever section comes right after the drip (the blog post, or social/About when there are no posts yet) needs room for the drips and no divider line. */
.hero-edge + section { border-top: 0; padding-top: clamp(72px, 10vw, 120px); }

/* Latest post */
.latest { padding-block: clamp(72px, 10vw, 120px) clamp(40px, 5vw, 64px); }
.latest .eyebrow { margin-bottom: 1.25rem; }
.latest__post { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.latest__post--text { grid-template-columns: minmax(0, 760px); }
.latest__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.latest__date { color: var(--muted); font-size: .875rem; font-weight: 600; }
.latest__title { margin-top: .35em; font-size: clamp(1.625rem, 3vw, 2.5rem); }
.latest__title a { color: var(--text); text-decoration: none; }
.latest__title a:hover { color: var(--red-hot); }
.latest__body p { margin: 0 0 1.5rem; color: var(--muted); }

/* Social links */
.social { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); text-align: center; }
.social h2 { margin-bottom: 1.75rem; font-size: clamp(1.625rem, 3vw, 2.5rem); }
.social__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 16px; margin: 0; padding: 0; list-style: none; }
.social__list li { width: 160px; }
.social__link { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text); font-size: .9375rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.social__icon { display: grid; place-items: center; width: 84px; height: 84px; border: 2px solid var(--red); background: var(--black); color: var(--text); transition: background .15s, border-color .15s; }
.social__link:hover { color: var(--text); }
.social__link:hover .social__icon, .social__link:active .social__icon { border-color: var(--black); background: var(--red); }

/* About blurb */
.about-blurb { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.about-blurb__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.about-blurb h2 { margin: 0; font-size: clamp(1.625rem, 3vw, 2.5rem); }
.about-blurb p { margin: 0 0 1.75rem; font-size: 1.125rem; }

/* Films page */
.films { padding-block: clamp(48px, 7vw, 88px); }
.films .page-title { margin-bottom: 0; }
.films__section { padding-top: clamp(40px, 5vw, 64px); }
.films__heading { margin-bottom: 1.5rem; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); font-size: clamp(1.375rem, 2.6vw, 2.125rem); }
.films__section:first-of-type .films__heading { padding-top: 0; border-top: 0; }
.films__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; margin: 0; padding: 0; list-style: none; }
.film-card { display: block; color: var(--text); text-decoration: none; }
.film-card__thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--line); background: var(--surface); transition: border-color .15s; }
.film-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.film-card__thumb .film-card__placeholder { width: 34%; height: auto; opacity: .35; }
.film-card__title { display: block; margin-top: 12px; font-size: 1rem; font-weight: 800; letter-spacing: .06em; line-height: 1.3; text-transform: uppercase; transition: color .15s; }
.film-card:hover .film-card__thumb { border-color: var(--red); }
.film-card:hover .film-card__thumb img:not(.film-card__placeholder) { transform: scale(1.04); }
.film-card:hover .film-card__title { color: var(--red-hot); }

/* Single film page */
.film__stage { background: var(--black); padding-top: clamp(24px, 4vw, 48px); }
.film__stage--link { display: grid; place-items: center; padding-block: 48px; }
.film__player { position: relative; aspect-ratio: 16 / 9; background: var(--surface); border: 2px solid var(--line); }
.film__player iframe, .film__player img, .film__player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.film__body { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.film__title { margin-bottom: clamp(24px, 4vw, 40px); font-size: clamp(2rem, 5vw, 3.5rem); }
.film__series { margin-bottom: .6rem; }
.film__year { color: var(--muted); font-size: .7em; font-weight: 600; white-space: nowrap; }
.film__intro--poster { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.film__poster { margin: 0; }
.film__poster img { width: 100%; border: 2px solid var(--line); }
.film__synopsis { max-width: 68ch; font-size: 1.0625rem; }
.film__synopsis > :first-child { margin-top: 0; }
.film__section { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.film__heading { margin-bottom: 1.5rem; font-size: clamp(1.375rem, 2.6vw, 2.125rem); }

.credits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px clamp(24px, 5vw, 72px); }
.credits__label { margin-bottom: 1rem; color: var(--red-hot); font-size: 1.125rem; letter-spacing: .2em; }
.credits__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.credits__name { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.credits__role { display: block; color: var(--muted); font-size: .9375rem; }

.laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; align-items: center; margin: 0; padding: 0; list-style: none; }
.laurels img { width: auto; max-width: 240px; max-height: 140px; }

.bts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bts a { display: block; border: 2px solid var(--line); transition: border-color .15s; }
.bts a:hover { border-color: var(--red); }
.bts img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.film__back { margin: clamp(40px, 5vw, 64px) 0 0; }

.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 56px 16px; border: 0; background: transparent; color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__image { max-width: min(1400px, 100%); max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: fixed; top: 12px; right: 12px; font-size: 1.5rem; }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

/* Blog list */
.post-list { display: grid; gap: clamp(32px, 4vw, 48px); }
.post-item { display: grid; grid-template-columns: minmax(0, 540px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.post-item--text { grid-template-columns: minmax(0, 760px); }
.post-item__image { display: block; border: 2px solid var(--line); transition: border-color .15s; }
.post-item__image:hover { border-color: var(--red); }
.post-item__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-item__date { color: var(--muted); font-size: .875rem; font-weight: 600; }
.post-item__title { margin: .35em 0 .5em; font-size: clamp(1.375rem, 2.4vw, 2rem); }
.post-item__title a { color: var(--text); text-decoration: none; }
.post-item__title a:hover { color: var(--red-hot); }
.post-item__excerpt { margin: 0; color: var(--muted); }
.post-item__more { margin-left: .35em; color: var(--red-hot); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .875rem; white-space: nowrap; }
.post-item__more:hover { color: var(--text); }

.pagination { margin-top: clamp(32px, 4vw, 48px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-block; min-width: 44px; padding: .6em .9em; border: 2px solid var(--red); color: var(--text); font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-decoration: none; text-transform: uppercase; }
.pagination a.page-numbers:hover { border-color: var(--black); background: var(--red); }
.pagination .page-numbers.current { background: var(--red); }
.pagination .page-numbers.dots { border-color: transparent; }

/* Review crowns */
.crowns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 1rem; --cw: 40px; }
.crowns--lg { gap: 10px; margin: -.75rem 0 clamp(28px, 4vw, 40px); --cw: 64px; }
.crown { position: relative; display: block; width: var(--cw); }
.crown img { display: block; width: var(--cw); max-width: none; height: auto; }
.crown__fill { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; }
.crowns__label { margin-left: 8px; color: var(--muted); font-size: .9375rem; font-weight: 600; }

/* Single blog post */
.post { max-width: 1000px; padding-block: clamp(48px, 7vw, 88px); }
.post__title { margin-bottom: .4em; font-size: clamp(2rem, 5vw, 3.25rem); }
.post__meta { margin: 0 0 clamp(28px, 4vw, 44px); color: var(--muted); font-weight: 600; }
.post .post__content { max-width: none; font-size: 1.125rem; }
.post__content::after { content: ""; display: block; clear: both; }
.post__content .post__image { float: none; width: 100%; margin: 0 0 clamp(24px, 3vw, 36px); }
.post__image img { width: 100%; border: 2px solid var(--line); }
.post__back { margin: clamp(40px, 5vw, 64px) 0 0; }

/* Text written in the WordPress editor */
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
.prose h3 { margin: 1.5em 0 .5em; font-size: 1.25rem; }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 4px solid var(--red); font-size: 1.125rem; font-weight: 600; }
.prose figure { margin: 1.5em 0; }
.prose figcaption, .post__image figcaption { margin-top: .5em; color: var(--muted); font-size: .875rem; }
.prose img { height: auto; }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.post__content > figure:not(.post__image), .post__content > .wp-block-image, .post__content > .wp-block-embed,
.post__content > .wp-block-gallery, .post__content > .wp-block-video, .post__content > .wp-block-table { clear: both; }

/* Sub-menu (About and Films pages): sticks under the main menu; the part on screen is underlined. */
.subnav { position: sticky; top: var(--subnav-top, 0px); z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav__list { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 0; color: var(--muted); font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.subnav a:hover { color: var(--text); }
.subnav a[aria-current="true"] { color: var(--red-hot); text-decoration: underline 2px; text-underline-offset: 5px; }
.about__story, .member, .fiends, .films__section { scroll-margin-top: var(--subnav-offset, 140px); }

/* About page */
.about { padding-block: clamp(48px, 7vw, 88px); }
.about__team-photo { margin: 0 0 clamp(28px, 4vw, 44px); }
.about__team-photo img { width: 100%; border: 2px solid var(--line); }
.about__team-photo figcaption { margin-top: .5em; color: var(--muted); font-size: .875rem; }
.about .about__bio { max-width: none; font-size: 1.125rem; }

/* Desktop: photo on the left spanning both rows; name, then everything else, on the right. */
.member { display: grid; grid-template-columns: minmax(0, 320px) 1fr; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.member__name { grid-column: 2; grid-row: 1; }
.member__photo { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.member__body { grid-column: 2; grid-row: 2; }
.member--no-photo { grid-template-columns: 1fr; }
.member--no-photo .member__name, .member--no-photo .member__body { grid-column: 1; }
.member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--line); }
.member__name { margin-bottom: .6em; font-size: clamp(1.625rem, 3vw, 2.5rem); }
.member__bio { max-width: 68ch; }
.member__label { margin: 1.75rem 0 1rem; color: var(--red-hot); font-size: 1.125rem; letter-spacing: .2em; }
.top5 { display: grid; grid-template-columns: repeat(5, minmax(0, 140px)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.top5 img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--line); }
.member__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.member__link { display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.2em; border: 2px solid var(--red); background: var(--black); color: var(--text); font-size: .9375rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: background .15s, border-color .15s; }
.member__link:hover, .member__link:active { border-color: var(--black); background: var(--red); color: var(--text); }

.fiends { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.fiends__heading { margin-bottom: 1.75rem; font-size: clamp(1.625rem, 3vw, 2.5rem); }
.fiends .fiends__intro { max-width: none; margin: -.5rem 0 2rem; font-size: 1.0625rem; }
.fiends__intro > :last-child { margin-bottom: 0; }
.fiends__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); min-width: 0; gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.fiend { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--text); text-align: center; text-decoration: none; }
.fiend__photo { display: grid; place-items: center; width: 100%; max-width: 160px; aspect-ratio: 1; overflow: hidden; border: 3px solid var(--red); border-radius: 50%; background: var(--surface); transition: border-color .15s; }
.fiend__photo img { width: 100%; height: 100%; object-fit: cover; }
.fiend__photo .fiend__placeholder { width: 58%; height: auto; margin-top: -4%; object-fit: contain; }
.fiend__name { font-size: .9375rem; font-weight: 800; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
a.fiend:hover .fiend__photo { border-color: var(--text); }
a.fiend:hover .fiend__name { color: var(--red-hot); }

/* Contact page */
.contact { padding-block: clamp(48px, 7vw, 88px); }
.contact .contact__intro { max-width: none; font-size: 1.125rem; }
.contact__form-wrap { max-width: none; margin-top: clamp(28px, 4vw, 44px); scroll-margin-top: 80px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.contact-form .field--wide, .contact-form .button { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.field__optional { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: none; }
.field input, .field textarea { display: block; width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 0; background: var(--surface); color: var(--text); font: 500 1rem/1.5 var(--font); transition: border-color .15s; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.field--error input, .field--error textarea { border-color: var(--red-hot); }
.field__error { margin: 8px 0 0; color: var(--red-hot); font-size: .9375rem; font-weight: 600; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { justify-self: start; cursor: pointer; font-family: var(--font); }
.notice { margin-bottom: 24px; padding: 16px 20px; border: 2px solid var(--red); background: var(--surface); }
.notice p { margin: 0; }
.notice--ok { border-color: var(--text); }

/* Simple pages, until each gets its own design */
.page-body { padding-block: clamp(48px, 7vw, 88px); min-height: 50vh; }
.page-title { font-size: clamp(2rem, 5vw, 3.5rem); }
.prose { max-width: 70ch; }
.list-item { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.list-item h2 { font-size: 1.5rem; }
.list-item h2 a { color: var(--text); text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; max-width: var(--max); margin-inline: auto; padding: 40px var(--gutter); }
.site-footer__logo img { width: auto; height: 96px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--text); font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.footer-nav a:hover { color: var(--red-hot); }
.site-footer__legal { margin: 0; color: var(--muted); font-size: .875rem; }

@media (max-width: 782px) {
	.admin-bar .nav-bar { top: 46px; }
	.site-header { padding: 14px var(--gutter) 10px; }
	.site-logo img { height: 130px; }
	.nav-toggle { display: flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 2px solid var(--red); }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; padding: 4px var(--gutter) 12px; }
	.site-nav a { padding: 14px 0; }
	.hero { border-top-width: 4px; }
	.hero__track { height: 62vh; min-height: 440px; }
	.hero__content { padding-bottom: 80px; }
	.hero__controls { left: var(--gutter); right: auto; }
	.latest__post, .about-blurb__inner { grid-template-columns: 1fr; }
	.films__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
	/* Phones: name on top, then the photo on the left with the bio wrapping around and below it. */
	.member { display: block; }
	.member::after { content: ""; display: block; clear: both; }
	.member__name { margin-bottom: 16px; font-size: 1.5rem; }
	.member__photo { float: left; width: 160px; margin: 4px 18px 10px 0; }
	.member__body { display: block; }
	.member__label, .top5, .member__links { clear: both; }
	.top5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
	.subnav__list { justify-content: flex-start; }
	.fiends__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
	.fiend__name { font-size: .75rem; letter-spacing: .04em; overflow-wrap: anywhere; }
	.post-item { grid-template-columns: 1fr; gap: 16px; }
	.crowns--lg { --cw: 52px; gap: 8px; }
	.crowns__label { flex-basis: 100%; margin: 4px 0 0; }
	.post__content .post__image { margin: 0 0 1.5em; }
	.post .post__content { font-size: 1.0625rem; }
	.film__stage { padding: 0; }
	.contact-form { grid-template-columns: 1fr; }
	.film__player { border-inline: 0; }
	.film__intro--poster, .credits { grid-template-columns: 1fr; }
	.film__poster { max-width: 320px; width: 100%; justify-self: center; }
	.bts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.laurels img { max-width: 150px; max-height: 100px; }
	.film-card__title { margin-top: 8px; font-size: .875rem; }
	.social h2 { text-align: left; }
	.social__list { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 480px; }
	.social__list li { width: auto; }
	.social__link { flex-direction: row; gap: 16px; padding: 12px 18px; border: 2px solid var(--red); background: var(--black); font-size: 1.0625rem; transition: background .15s, border-color .15s; }
	.social__icon, .social__link:hover .social__icon, .social__link:active .social__icon { width: auto; height: auto; border: 0; background: none; color: inherit; }
	.social__icon svg { width: 28px; height: 28px; }
	.social__link:hover, .social__link:active { border-color: var(--black); background: var(--red); color: var(--text); }
	.hero-edge { height: 90px; margin-bottom: -40px; background-image: url(assets/img/edge-mobile.png); background-size: 780px 90px; }
	.site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.film-card__thumb img { transition: none; }
	.film-card:hover .film-card__thumb img:not(.film-card__placeholder) { transform: none; }
	.hero__slide, .hero__slide.is-active, .button { transition: none; }
}
