/*
Theme Name: Filmmaker Production Studio
Theme URI: https://blockwpthemes.com/product/filmmaker-production-studio/
Author: stacydolan
Author URI: https://blockwpthemes.com/
Description: Flimmaker Production Studio is a creative production company dedicated to bringing powerful ideas to life through film, video, and visual storytelling. Our studio combines creativity, technical expertise, and a passion for cinematic storytelling to deliver engaging content for brands, businesses, artists, and organizations. From concept development and scripting to filming, editing, motion graphics, and final production, we provide end-to-end solutions tailored to each project. Our goal is to create visually compelling stories that connect with audiences and communicate your message effectively. Whether you need a promotional video, corporate film, music video, social media content, documentary, or creative visual project, Flimmaker Production Studio is committed to delivering professional results with attention to detail. With a focus on originality, quality, and collaboration, we help turn creative concepts into memorable visual experiences that make an impact.
Version: 1.1
Requires at least: 6.5
Requires PHP: 7.4
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: filmmaker-production-studio
Tags: portfolio, blog, one-column, news, two-columns, custom-colors, custom-logo, sticky-post, threaded-comments, right-sidebar, left-sidebar, grid-layout, custom-background, rtl-language-support, featured-images, wide-blocks, editor-style, full-site-editing, block-patterns, block-styles, template-editing, translation-ready
*/

:root {
    --fps-noir: #0A0908;
    --fps-soot: #12100E;
    --fps-slate: #1B1815;
    --fps-slate-2: #221E1A;
    --fps-line: rgba(239, 233, 222, .12);
    --fps-line-soft: rgba(239, 233, 222, .07);
    --fps-bone: #EFE9DE;
    --fps-bone-dim: #C9C1B5;
    --fps-ash: #9C948A;
    --fps-ash-dim: #6E675F;
    --fps-tungsten: #D9A441;
    --fps-tungsten-deep: #A9762A;
    --fps-daylight: #6E93A6;

    --fps-sans: var(--wp--preset--font-family--archivo, Archivo, sans-serif);
    --fps-serif: var(--wp--preset--font-family--bodoni-moda, "Bodoni Moda", Georgia, serif);
    --fps-mono: var(--wp--preset--font-family--dm-mono, "DM Mono", monospace);

    --fps-r-lg: 26px;
    --fps-r-md: 18px;
    --fps-r-sm: 12px;
    --fps-r-pill: 999px;

    --fps-gutter: clamp(20px, 15.625vw, 300px);
    --fps-sect: clamp(72px, 7.6vw, 146px);
    --fps-ease: cubic-bezier(.22, .61, .36, 1);

    --fps-arrow-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
    --fps-arrow-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
    --fps-iris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M16.6 12 14.3 16 9.7 16 7.4 12 9.7 8 14.3 8Z'/%3E%3Cpath d='M16.6 12H21M14.3 16l2.2 3.8M9.7 16l-2.2 3.8M7.4 12H3M9.7 8 7.5 4.2M14.3 8l2.2-3.8'/%3E%3C/svg%3E");
}

/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-color: var(--fps-noir);
}

/* ambient gradient mesh */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(64vw 52vh at 12% -6%, rgba(217, 164, 65, .13), transparent 62%),
        radial-gradient(52vw 46vh at 96% 16%, rgba(110, 147, 166, .10), transparent 64%),
        radial-gradient(70vw 60vh at 50% 108%, rgba(169, 118, 42, .11), transparent 66%);
}

/* film grain */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: .055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wp-site-blocks {
    position: relative;
    z-index: 1;
}

/* 35mm sprocket rail — the theme signature, set into the left gutter */
.wp-site-blocks::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--fps-gutter);
    z-index: 60;
    pointer-events: none;
    display: none;
    background-image:
        linear-gradient(var(--fps-line), var(--fps-line)),
        linear-gradient(var(--fps-line), var(--fps-line)),
        repeating-linear-gradient(to bottom, rgba(239, 233, 222, .16) 0 13px, transparent 13px 34px);
    background-size: 1px 100%, 1px 100%, 26px 100%;
    background-position: calc(100% - 60px) top, calc(100% - 34px) top, calc(100% - 60px) top;
    background-repeat: no-repeat, no-repeat, repeat-y;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    opacity: .32;
}

@media (min-width: 1400px) {
    .wp-site-blocks::before {
        display: block;
    }
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: normal;
}

h1 em, h2 em, h3 em, h4 em,
.wp-block-post-title em,
.wp-block-query-title em {
    font-family: var(--fps-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.012em;
}

::selection {
    background: var(--fps-tungsten);
    color: var(--fps-noir);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--fps-tungsten);
    outline-offset: 3px;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   TYPE HELPERS
   ============================================================ */
.fps-marker {
    font-family: var(--fps-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--fps-tungsten);
    letter-spacing: .005em;
    line-height: 1.2;
}

.fps-marker-sub {
    color: var(--fps-ash-dim);
    font-style: normal;
    line-height: 1.2;
}

.fps-markerline {
    align-items: baseline;
    column-gap: 8px;
    row-gap: 2px;
}

.fps-lede {
    color: var(--fps-bone-dim);
    line-height: 1.72;
    max-width: 58ch;
}

.fps-body-sm {
    color: var(--fps-ash);
    line-height: 1.72;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition:
        background-color .4s var(--fps-ease),
        color .4s var(--fps-ease),
        border-color .4s var(--fps-ease);
}

.wp-block-button.is-style-fps-light > .wp-block-button__link::after,
.wp-block-button.is-style-fps-ghost > .wp-block-button__link::after,
.wp-block-button.is-style-fps-ember > .wp-block-button__link::after {
    content: "";
    width: 15px;
    height: 15px;
    flex: none;
    background-color: currentColor;
    -webkit-mask: var(--fps-arrow-ne) center / contain no-repeat;
    mask: var(--fps-arrow-ne) center / contain no-repeat;
    transition: transform .45s var(--fps-ease);
}

.wp-block-button.is-style-fps-light > .wp-block-button__link:hover::after,
.wp-block-button.is-style-fps-ghost > .wp-block-button__link:hover::after,
.wp-block-button.is-style-fps-ember > .wp-block-button__link:hover::after {
    transform: translate(3px, -3px);
}

.wp-block-button.is-style-fps-light > .wp-block-button__link {
    background-color: var(--fps-bone);
    color: var(--fps-noir);
    border-color: transparent;
}

.wp-block-button.is-style-fps-light > .wp-block-button__link:hover,
.wp-block-button.is-style-fps-light > .wp-block-button__link:focus {
    background-color: var(--fps-tungsten);
    color: #1A1207;
}

.wp-block-button.is-style-fps-ghost > .wp-block-button__link {
    background-color: rgba(239, 233, 222, .02);
    color: var(--fps-bone);
    border-color: var(--fps-line);
}

.wp-block-button.is-style-fps-ghost > .wp-block-button__link:hover,
.wp-block-button.is-style-fps-ghost > .wp-block-button__link:focus {
    background-color: rgba(217, 164, 65, .08);
    border-color: rgba(217, 164, 65, .55);
    color: var(--fps-bone);
}

.wp-block-button.is-style-fps-ember > .wp-block-button__link {
    background-color: var(--fps-tungsten);
    color: #1A1207;
    border-color: transparent;
}

.wp-block-button.is-style-fps-ember > .wp-block-button__link:hover,
.wp-block-button.is-style-fps-ember > .wp-block-button__link:focus {
    background-color: var(--fps-bone);
    color: var(--fps-noir);
}

.wp-block-button.is-style-fps-small > .wp-block-button__link {
    padding: 11px 20px;
    font-size: 13.5px;
}

/* underlined text link with a trailing arrow */
.fps-textlink a,
.wp-block-button.is-style-fps-textlink > .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--fps-bone);
    background: none;
    border: 0;
    border-bottom: 1px solid var(--fps-line);
    border-radius: 0;
    padding: 0 0 4px;
    transition: color .35s var(--fps-ease), border-color .35s var(--fps-ease);
}

.fps-textlink a::after,
.wp-block-button.is-style-fps-textlink > .wp-block-button__link::after {
    content: "";
    width: 13px;
    height: 13px;
    flex: none;
    background-color: currentColor;
    -webkit-mask: var(--fps-arrow-ne) center / contain no-repeat;
    mask: var(--fps-arrow-ne) center / contain no-repeat;
    transition: transform .4s var(--fps-ease);
}

.fps-textlink a:hover,
.wp-block-button.is-style-fps-textlink > .wp-block-button__link:hover {
    color: var(--fps-tungsten);
    border-bottom-color: rgba(217, 164, 65, .5);
    background: none;
}

.fps-textlink a:hover::after,
.wp-block-button.is-style-fps-textlink > .wp-block-button__link:hover::after {
    transform: translate(3px, -3px);
}

/* ============================================================
   HEADER
   ============================================================ */
.fps-header-wrap {
    position: sticky;
    top: 0;
    z-index: 500;
}

.fps-topbar {
    border-bottom: 1px solid var(--fps-line-soft);
    background-color: rgba(10, 9, 8, .55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.fps-topbar .fps-topbar-row {
    min-height: 40px;
}

.fps-topbar p {
    color: var(--fps-ash);
    line-height: 1.2;
    margin: 0;
}

.fps-topbar .fps-marker {
    color: var(--fps-tungsten);
}

.fps-topbar-item {
    align-items: center;
    column-gap: 7px;
}

.fps-topbar-item .wp-block-image,
.fps-topbar-item figure {
    margin: 0;
    line-height: 0;
}

.fps-topbar-item a:hover {
    color: var(--fps-tungsten);
}

.fps-navbar {
    background-color: rgba(10, 9, 8, .82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--fps-line-soft);
}

.fps-navbar .fps-navbar-row {
    min-height: 74px;
}

.fps-header-logo {
    flex: none;
}

.fps-header-logo figure {
    margin: 0;
    line-height: 0;
}

.fps-header-logo img {
    display: block;
}

/* primary navigation */
.fps-header-nav .wp-block-navigation-item__content {
    color: var(--fps-bone-dim);
    padding: 6px 0;
    position: relative;
    transition: color .3s var(--fps-ease);
}

.fps-header-nav .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background-color: var(--fps-tungsten);
    transition: right .4s var(--fps-ease);
}

.fps-header-nav .wp-block-navigation-item__content:hover {
    color: var(--fps-bone);
}

.fps-header-nav .wp-block-navigation-item__content:hover::after {
    right: 0;
}

.fps-header-nav .wp-block-navigation__responsive-container-open,
.fps-header-nav .wp-block-navigation__responsive-container-close {
    color: var(--fps-bone);
}

.fps-header-nav .wp-block-navigation__responsive-container-open {
    width: 44px;
    height: 44px;
    border: 1px solid var(--fps-line);
    border-radius: var(--fps-r-pill);
    align-items: center;
    justify-content: center;
}

/* `backdrop-filter` turns the navbar into a containing block for position:fixed,
   which would trap the navigation overlay inside the 74px bar. Drop it while open. */
.fps-navbar:has(.wp-block-navigation__responsive-container.is-menu-open),
.fps-topbar:has(.wp-block-navigation__responsive-container.is-menu-open) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--fps-noir);
    padding: 96px var(--fps-gutter) 48px;
    align-items: stretch;
}

/* Core aligns the overlay from the desktop layout's justification, which is right. */
.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: flex-start;
    width: 100%;
}

.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    align-items: flex-start;
    gap: 0;
}

.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block;
    font-family: var(--fps-serif);
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 400;
    text-transform: none;
    letter-spacing: -.01em;
    line-height: 1.55;
    color: var(--fps-bone);
    border-bottom: 1px solid var(--fps-line-soft);
    width: 100%;
    padding: 10px 0;
}

.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    display: none;
}

.fps-header-nav .wp-block-navigation__responsive-container-close {
    position: absolute;
    top: 26px;
    right: var(--fps-gutter);
    width: 44px;
    height: 44px;
    border: 1px solid var(--fps-line);
    border-radius: var(--fps-r-pill);
    display: grid;
    place-items: center;
    transition: border-color .35s var(--fps-ease), background-color .35s var(--fps-ease);
}

.fps-header-nav .wp-block-navigation__responsive-container-close:hover {
    border-color: var(--fps-tungsten);
    background-color: rgba(217, 164, 65, .12);
}

.fps-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    display: none;
}

.fps-header-actions {
    flex: none;
}

/* ============================================================
   HERO — the gate
   ============================================================ */
.fps-stage {
    position: relative;
}

.fps-stage-frame {
    position: relative;
    overflow: hidden;
    background-color: var(--fps-soot);
    border-top: 1px solid var(--fps-line);
    border-bottom: 1px solid var(--fps-line);
    min-height: 430px;
    align-items: stretch;
    justify-content: flex-start;
}

.fps-stage-frame.wp-block-cover {
    width: 100%;
    min-height: max(430px, min(41.85vw, 78vh));
}

.fps-stage-frame .wp-block-cover__image-background {
    object-position: center 42%;
}

.fps-stage-frame > .wp-block-cover__background {
    background:
        linear-gradient(to top, rgba(10, 9, 8, .9) 0%, rgba(10, 9, 8, .34) 34%, rgba(10, 9, 8, .04) 62%, rgba(10, 9, 8, .5) 100%),
        linear-gradient(to right, rgba(10, 9, 8, .66) 0%, rgba(10, 9, 8, .1) 44%, transparent 62%);
    opacity: 1;
}

.fps-stage-frame > .wp-block-cover__inner-container > * {
    width: 100%;
}

.fps-stage-frame > .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* The frame's height comes from min-height, so a percentage height would resolve
       to auto here; stretching along the cross axis is what fills the letterbox. */
    align-self: stretch;
    width: 100%;
    gap: 24px;
    padding-block: clamp(26px, 3vw, 54px);
}

/* gate marks — the four corners of the camera aperture */
.fps-stage-frame::before,
.fps-stage-frame::after,
.fps-stage-frame > .wp-block-cover__background::before,
.fps-stage-frame > .wp-block-cover__background::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(239, 233, 222, .28);
    z-index: 3;
    pointer-events: none;
}

.fps-stage-frame::before {
    top: 18px;
    left: calc(var(--fps-gutter) - 34px);
    border-right: 0;
    border-bottom: 0;
}

.fps-stage-frame::after {
    top: 18px;
    right: calc(var(--fps-gutter) - 34px);
    border-left: 0;
    border-bottom: 0;
}

.fps-stage-frame > .wp-block-cover__background::before {
    bottom: 18px;
    left: calc(var(--fps-gutter) - 34px);
    border-right: 0;
    border-top: 0;
}

.fps-stage-frame > .wp-block-cover__background::after {
    bottom: 18px;
    right: calc(var(--fps-gutter) - 34px);
    border-left: 0;
    border-top: 0;
}

.fps-stage-slate p {
    margin: 0;
}

.fps-stage-frames {
    font-family: var(--fps-mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--fps-ash);
    align-items: center;
    column-gap: 10px;
}

.fps-stage-frames strong {
    color: var(--fps-bone-dim);
    font-weight: 400;
    margin-left: 7px;
}

.fps-stage-copy h1 {
    margin: 0;
}

.fps-stage-lede {
    max-width: 44ch;
    color: var(--fps-bone-dim);
    font-size: clamp(15px, 1.05vw, 17.5px);
    line-height: 1.68;
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.fps-sec-head {
    align-items: flex-end;
    justify-content: space-between;
    column-gap: 36px;
    row-gap: 24px;
}

.fps-sec-head-l {
    flex: 1 1 560px;
    max-width: 900px;
}

.fps-sec-head h2 {
    max-width: 21ch;
}

/* ============================================================
   INSIDE THE STUDIO
   ============================================================ */
.fps-inside-shot {
    position: relative;
    border-radius: var(--fps-r-lg);
    overflow: hidden;
}

.fps-inside-shot .wp-block-image,
.fps-inside-shot figure {
    margin: 0;
}

.fps-inside-shot img {
    width: 100%;
    display: block;
}

.fps-inside-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(200deg, rgba(10, 9, 8, .34), transparent 46%);
}

.fps-inside-tag {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    max-width: 56%;
    border-radius: var(--fps-r-md);
    background-color: rgba(10, 9, 8, .72);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    border: 1px solid var(--fps-line);
}

.fps-inside-tag p {
    margin: 0;
    font-size: 12.5px;
    color: var(--fps-bone-dim);
    line-height: 1.5;
}

.fps-inside-tag .fps-inside-tag-label {
    font-family: var(--fps-mono);
    color: var(--fps-tungsten);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.fps-inside-copy h2 {
    max-width: 15ch;
}

.fps-notes {
    border-top: 1px solid var(--fps-line);
}

.fps-note-row {
    display: flex;
    column-gap: 18px;
    row-gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--fps-line);
    align-items: flex-start;
    flex-wrap: nowrap;
}

.fps-note-row p {
    margin: 0;
}

.fps-note-term {
    flex: none;
    width: 112px;
    font-family: var(--fps-mono);
    font-size: 12px;
    color: var(--fps-tungsten);
    letter-spacing: .05em;
    padding-top: 3px;
}

.fps-note-desc {
    font-size: 14.5px;
    color: var(--fps-bone-dim);
    line-height: 1.65;
}

.fps-sign {
    align-items: center;
    column-gap: 16px;
}

.fps-sign p {
    margin: 0;
    font-size: 13px;
    color: var(--fps-ash);
    line-height: 1.5;
}

.fps-sign .fps-sign-name {
    color: var(--fps-bone);
    font-weight: 600;
    font-size: 14px;
}

/* ============================================================
   FAQ
   ============================================================ */
.fps-faq h2 {
    max-width: 14ch;
}

.fps-faq-list {
    border-top: 1px solid var(--fps-line);
}

.fps-faq-list .wp-block-details {
    border-bottom: 1px solid var(--fps-line);
    padding: 0;
    background: none;
}

.fps-faq-list .wp-block-details summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 44px 24px 0;
    position: relative;
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 500;
    letter-spacing: -.012em;
    color: var(--fps-bone);
    transition: color .35s var(--fps-ease);
}

.fps-faq-list .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.fps-faq-list .wp-block-details summary::marker {
    content: "";
}

.fps-faq-list .wp-block-details summary:hover {
    color: var(--fps-tungsten);
}

.fps-faq-list .wp-block-details summary::before,
.fps-faq-list .wp-block-details summary::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translate(50%, -50%);
    background-color: var(--fps-tungsten);
    transition: transform .45s var(--fps-ease), opacity .45s var(--fps-ease);
}

.fps-faq-list .wp-block-details summary::before {
    width: 13px;
    height: 1.5px;
}

.fps-faq-list .wp-block-details summary::after {
    width: 1.5px;
    height: 13px;
}

.fps-faq-list .wp-block-details[open] summary::after {
    transform: translate(50%, -50%) rotate(90deg);
    opacity: 0;
}

.fps-faq-list .wp-block-details p {
    font-size: 14.5px;
    color: var(--fps-ash);
    line-height: 1.75;
    max-width: 62ch;
    margin: 0 0 26px;
}

/* ============================================================
   JOURNAL / POST CARDS
   ============================================================ */
.fps-posts .wp-block-post {
    display: flex;
    flex-direction: column;
}

.fps-post-thumb {
    overflow: hidden;
    border-radius: var(--fps-r-md);
    margin: 0;
}

.fps-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--fps-ease);
}

.wp-block-post:hover .fps-post-thumb img {
    transform: scale(1.055);
}

.fps-post-meta {
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    font-size: 12.5px;
    color: var(--fps-ash);
}

.fps-post-card .wp-block-post-title {
    transition: color .35s var(--fps-ease);
}

.wp-block-post:hover .fps-post-card .wp-block-post-title a {
    color: var(--fps-tungsten);
}

.fps-post-excerpt p {
    font-size: 14px;
    color: var(--fps-ash);
    line-height: 1.7;
}

.fps-post-excerpt .wp-block-post-excerpt__more-link {
    color: var(--fps-tungsten);
}

/* ============================================================
   INNER PAGE BANNER
   ============================================================ */
.fps-page-banner {
    position: relative;
    min-height: clamp(280px, 30vw, 420px);
}

.fps-page-banner .wp-block-cover__image-background {
    object-position: center 40%;
}

.fps-page-banner > .wp-block-cover__inner-container {
    width: 100%;
}

.fps-page-banner .wp-block-query-title,
.fps-page-banner .wp-block-post-title,
.fps-page-banner h1 {
    margin: 0;
    max-width: 20ch;
}

.fps-crumbs {
    font-family: var(--fps-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fps-ash);
    margin: 0;
}

.fps-crumbs a:hover {
    color: var(--fps-tungsten);
}

.fps-banner-meta {
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    font-family: var(--fps-mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    color: var(--fps-ash);
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.fps-article-hero img {
    width: 100%;
    object-fit: cover;
}

.fps-article .wp-block-post-content > * {
    margin-block: 26px;
}

.fps-article .wp-block-post-content h2,
.fps-article .wp-block-post-content h3,
.fps-article .wp-block-post-content h4 {
    margin-top: 48px;
}

.fps-article .wp-block-post-content p,
.fps-article .wp-block-post-content li {
    color: var(--fps-bone-dim);
    line-height: 1.78;
}

.fps-article .wp-block-post-content a {
    color: var(--fps-tungsten);
    border-bottom: 1px solid rgba(217, 164, 65, .4);
}

.fps-article .wp-block-post-content a:hover {
    border-bottom-color: var(--fps-tungsten);
}

.fps-article .wp-block-post-content img {
    border-radius: var(--fps-r-md);
}

.fps-post-nav a {
    font-size: 14.5px;
    color: var(--fps-bone-dim);
}

.fps-post-nav a:hover {
    color: var(--fps-tungsten);
}

/* ============================================================
   PAGINATION / SEARCH / COMMENTS
   ============================================================ */
.fps-pagination .wp-block-query-pagination-numbers .page-numbers,
.fps-pagination .wp-block-query-pagination-previous,
.fps-pagination .wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--fps-line);
    border-radius: var(--fps-r-pill);
    font-size: 13.5px;
    color: var(--fps-bone-dim);
    transition: border-color .35s var(--fps-ease), background-color .35s var(--fps-ease), color .35s var(--fps-ease);
}

.fps-pagination .wp-block-query-pagination-numbers .page-numbers:hover,
.fps-pagination .wp-block-query-pagination-previous:hover,
.fps-pagination .wp-block-query-pagination-next:hover {
    border-color: rgba(217, 164, 65, .55);
    background-color: rgba(217, 164, 65, .08);
    color: var(--fps-bone);
}

.fps-pagination .wp-block-query-pagination-numbers .page-numbers.current {
    background-color: var(--fps-bone);
    border-color: var(--fps-bone);
    color: var(--fps-noir);
    font-weight: 600;
}

.wp-block-search__input,
.fps-search-field input[type="search"] {
    background-color: rgba(10, 9, 8, .5);
    border: 1px solid var(--fps-line);
    border-radius: var(--fps-r-pill);
    padding: 13px 20px;
    color: var(--fps-bone);
    font-size: 15px;
    transition: border-color .35s var(--fps-ease), background-color .35s var(--fps-ease);
}

.wp-block-search__input::placeholder {
    color: var(--fps-ash-dim);
}

.wp-block-search__input:focus {
    border-color: rgba(217, 164, 65, .5);
    background-color: rgba(10, 9, 8, .72);
}

.wp-block-search__button {
    background-color: var(--fps-bone);
    color: var(--fps-noir);
    border: 0;
    border-radius: var(--fps-r-pill);
    padding: 13px 24px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
    transition: background-color .35s var(--fps-ease);
}

.wp-block-search__button:hover {
    background-color: var(--fps-tungsten);
    color: #1A1207;
}

.fps-comments {
    border-top: 1px solid var(--fps-line);
    padding-top: 48px;
}

.fps-comments .wp-block-comment-author-name,
.fps-comments .wp-block-comment-author-name a {
    color: var(--fps-bone);
}

.fps-comments .wp-block-comment-date a,
.fps-comments .wp-block-comment-edit-link a,
.fps-comments .wp-block-comment-reply-link a {
    color: var(--fps-ash);
}

.fps-comments .wp-block-comment-content p {
    color: var(--fps-bone-dim);
}

.fps-comments .comment-respond input:not([type="submit"]),
.fps-comments .comment-respond textarea {
    background-color: rgba(10, 9, 8, .5);
    border: 1px solid var(--fps-line);
    border-radius: var(--fps-r-sm);
    padding: 13px 16px;
    color: var(--fps-bone);
    width: 100%;
}

.fps-comments .comment-respond input:focus,
.fps-comments .comment-respond textarea:focus {
    border-color: rgba(217, 164, 65, .5);
}

.fps-comments .comment-respond label,
.fps-comments .comment-respond .comment-notes,
.fps-comments .comment-respond .comment-form-cookies-consent label {
    color: var(--fps-ash);
    font-size: 13px;
}

.fps-comments .comment-respond .submit {
    background-color: var(--fps-bone);
    color: var(--fps-noir);
    border: 0;
    border-radius: var(--fps-r-pill);
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .35s var(--fps-ease);
}

.fps-comments .comment-respond .submit:hover {
    background-color: var(--fps-tungsten);
    color: #1A1207;
}

/* ============================================================
   404
   ============================================================ */
.fps-err-code {
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
    color: var(--fps-bone);
    margin: 0;
}

.fps-err-code em {
    font-family: var(--fps-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--fps-tungsten);
}

/* ============================================================
   FOOTER
   ============================================================ */
.fps-footer {
    background-color: var(--fps-noir);
    border-top: 1px solid var(--fps-line-soft);
    position: relative;
    z-index: 1;
}

.fps-footer-logo figure {
    margin: 0;
    line-height: 0;
}

.fps-footer-brand p {
    font-size: 14px;
    color: var(--fps-ash);
    line-height: 1.7;
    max-width: 34ch;
}

.fps-footer h4 {
    font-size: 12.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fps-ash);
    font-weight: 500;
    font-family: var(--fps-sans);
}

.fps-footer-nav li,
.fps-footer-nav p {
    margin: 0;
}

.fps-footer-nav a,
.fps-footer-nav p {
    font-size: 14.5px;
    color: var(--fps-bone-dim);
    transition: color .3s var(--fps-ease);
}

.fps-footer-nav a:hover {
    color: var(--fps-tungsten);
}

.fps-footer-contact p {
    font-size: 14px;
    color: var(--fps-bone-dim);
    margin: 0;
    line-height: 1.5;
}

.fps-footer-contact-row {
    align-items: flex-start;
    column-gap: 12px;
}

.fps-footer-contact-row figure {
    margin: 0;
    line-height: 0;
    padding-top: 3px;
}

.fps-footer-bar {
    border-top: 1px solid var(--fps-line-soft);
    font-size: 13px;
    color: var(--fps-ash-dim);
}

.fps-footer-bar p {
    font-size: 13px;
    color: var(--fps-ash-dim);
    margin: 0;
}

.fps-footer-bar a:hover {
    color: var(--fps-tungsten);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {

    /* Move the navigation's overlay breakpoint from WordPress's 600px up to the
       point where the inline menu stops fitting, and let the burger take over. */
    .fps-header-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }

    .fps-header-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    /* The burger takes over from here, so the nav button would only crowd it. */
    .fps-header-actions .fps-header-btn {
        display: none;
    }

    /* Reference stacks these two-up sections here, well before the 782px at which
       core columns wrap on their own. */
    /* Core pins columns with `flex-wrap: nowrap !important` above 782px, so both
       halves of this rule have to carry !important to stack early. */
    .fps-inside .wp-block-columns,
    .fps-faq .wp-block-columns,
    .fps-footer-top {
        flex-wrap: wrap !important;
    }

    .fps-inside .wp-block-column,
    .fps-faq .wp-block-column {
        flex-basis: 100% !important;
    }

    .fps-footer-top > .wp-block-column {
        flex-basis: calc(50% - clamp(13px, 1.4vw, 25px)) !important;
    }

    .fps-inside-shot img {
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
}

@media (max-width: 820px) {

    /* Small screens give the content the full width, minus a flat 20px each side. */
    :root {
        --fps-gutter: 20px;
    }

    .fps-stage-frame.wp-block-cover {
        min-height: 0;
    }

    .fps-stage-frame > .wp-block-cover__inner-container {
        padding-top: clamp(84px, 26vw, 140px);
        gap: 34px;
    }

    .fps-stage-copy {
        max-width: 100%;
    }

    .fps-stage-frame::before,
    .fps-stage-frame::after,
    .fps-stage-frame > .wp-block-cover__background::before,
    .fps-stage-frame > .wp-block-cover__background::after {
        display: none;
    }

    .fps-stage-frames {
        display: none;
    }

    .fps-topbar .fps-topbar-left {
        display: none;
    }

    .fps-topbar-row > .fps-topbar-right {
        margin-left: auto;
    }

    .fps-note-row {
        flex-wrap: wrap;
    }

    .fps-note-term {
        width: 100%;
    }

    .fps-inside-shot > .fps-inside-tag {
        position: static;
        max-width: 100%;
        margin-top: 14px;
    }
}

@media (max-width: 600px) {
    .fps-topbar {
        display: none;
    }

    .fps-footer-top > .wp-block-column {
        flex-basis: 100% !important;
    }

    .fps-footer-bar {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
