/*
Theme Name: Fireforce
Theme URI: https://www.fireforcesoftware.com
Description: Block theme for the Fireforce Software marketing site. Calm light layout (white and cool grey), wall-mounted TV hero, signal red used as the accent.
Version: 0.4.6
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: fireforce
*/

/* Layout details theme.json can't express. Color and type tokens live in theme.json. */
.ff-top { position: relative; border-bottom: 1px solid var(--wp--preset--color--line); }
.ff-top::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 3px; background: var(--wp--preset--color--red); }
.ff-top .wp-block-navigation { font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ff-eyebrow { font-family: var(--wp--preset--font-family--display); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 1rem; color: var(--wp--preset--color--red-dark); margin: 0; }
.ff-hero .wp-block-columns { align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.ff-facts { margin-top: 1.75rem !important; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; padding: 0; margin: 0; font-weight: 600; color: var(--wp--preset--color--muted); font-size: 1rem; }
.ff-facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--red); margin-right: .5rem; }
/* Hero: a wall-mounted TV on a station wall (dark wall, thin bezel, power LED, glow and baseboard). */
.ff-wall { position: relative; overflow: hidden; border-radius: 14px; padding: clamp(26px, 6%, 54px) clamp(20px, 5.5%, 50px) clamp(54px, 10%, 84px); background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 132px), radial-gradient(ellipse 70% 60% at 50% 42%, #3A4352, transparent 75%), linear-gradient(180deg, #2B313C, #1C2128); box-shadow: 0 30px 60px -30px rgba(14,17,22,.6); }
.ff-wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(22px, 5%, 36px); background: linear-gradient(#1B2027, #0E1116); border-top: 1px solid rgba(255,255,255,.1); }
.ff-tv { position: relative; z-index: 1; padding: 7px 7px 9px; border-radius: 5px; background: #040506; box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(255,255,255,.09), 0 26px 28px -12px rgba(0,0,0,.7), 0 0 120px -18px rgba(45,107,255,.35); }
.ff-tv::after { content: ""; position: absolute; right: 16px; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--wp--preset--color--red); box-shadow: 0 0 6px var(--wp--preset--color--red); }
.ff-tv > * { margin: 0 !important; }
.ff-tv figure { position: relative; margin: 0; }
.ff-tv figure::after { content: ""; position: absolute; inset: 0; border-radius: 2px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 36%); }
.ff-tv img { display: block; width: 100%; border-radius: 2px; }
.ff-sticky { position: sticky; top: 90px; }
@media (max-width: 781px) { .ff-sticky { position: static; } }
.ff-list > .wp-block-group { padding-block: 1.4rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.ff-list { border-top: 1px solid var(--wp--preset--color--line); }
.ff-tile { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: var(--wp--preset--color--slate); display: grid; place-items: center; margin: 0; }
.ff-tile img { width: 26px; height: 26px; }
.ff-list p, .ff-integration p { color: var(--wp--preset--color--muted); margin: 0; }
.ff-integrations { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 2.25rem; list-style: none; padding: 0; margin: 0; }
.ff-integrations > li, .ff-integrations > .ff-integration { margin: 0; }
.ff-integration { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1.1rem; border-bottom: 1px solid var(--wp--preset--color--line); }
/* Integration lists: every row is as tall as the tallest card (a title and up to three lines of text), so the separator lines stay level across columns. Small bottom padding keeps the line close to the text. */
.ff-integrations { grid-auto-rows: 1fr; }
.ff-integrations > li { display: flex; }
.ff-integrations > li > .ff-integration { flex: 1 1 auto; box-sizing: border-box; padding-bottom: 0.3rem; }
.ff-integration .wp-block-post-featured-image { flex: 0 0 44px; margin: 0; }
.ff-integration .wp-block-post-featured-image img { width: 44px; height: 44px; border-radius: 10px; background: var(--wp--preset--color--slate); padding: 9px; box-sizing: border-box; }
.ff-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--red-dark); border: 1px solid currentColor; border-radius: 99px; padding: 1px 8px; margin-left: .5rem; vertical-align: middle; }
.ff-request-box { background: var(--wp--preset--color--slate); color: #fff; border-radius: 14px; }
.ff-request-box .wp-block-columns { align-items: center; }
.ff-request-box p { color: #C9CFDA; }
.ff-request-box .wp-block-button__link { white-space: nowrap; }
.ff-secrow > .wp-block-group { padding-top: .9rem; border-top: 3px solid var(--wp--preset--color--red); }
.ff-secrow p { color: var(--wp--preset--color--muted); font-size: 1rem; }
.ff-shots figure { margin: 0; }
.ff-shots figcaption { font-weight: 600; color: var(--wp--preset--color--muted); font-size: .95rem; margin-top: .6rem; }
.ff-shots img { border-radius: 8px; box-shadow: 0 16px 36px -20px rgba(14,17,22,.5); }
.ff-tvs img { border: 5px solid #07090B; border-radius: 6px; background: #000; box-shadow: 0 18px 30px -18px rgba(14,17,22,.7), 0 0 0 1px rgba(0,0,0,.4); }
.ff-footer a { text-decoration: none; }
.ff-footer p a { color: var(--wp--preset--color--orange); }
.ff-footer p a:hover { text-decoration: underline; }
.wp-block-button__link { transition: background-color .15s, transform .15s; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--ink); }
:focus-visible { outline: 3px solid var(--wp--preset--color--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Header on small screens: smaller logo, demo link moves into the menu. */
.wp-block-navigation .ff-nav-demo { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .ff-nav-demo { display: block !important; }
@media (max-width: 781px) {
  .ff-top .wp-block-site-logo img { width: 160px; height: auto; }
  .ff-top .wp-block-buttons { display: none; }
}

/* Contact form */
.ff-form { max-width: 720px; display: grid; gap: .25rem; }
.ff-form p { margin: 0 0 1rem; }
.ff-form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.ff-form input[type=text], .ff-form input[type=email], .ff-form input[type=tel], .ff-form select, .ff-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: .7rem .85rem; border: 1px solid #b8bfcc; border-radius: 6px; background: #fff; color: var(--wp--preset--color--ink); }
.ff-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
.ff-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ff-form-note { max-width: 720px; padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.25rem; }
.ff-form-ok { background: #E8F5EC; border: 1px solid #1a7f4b; }
.ff-form-err { background: #FDECEA; border: 1px solid var(--wp--preset--color--red-dark); }

/* Gallery: same shape for every image, top-left anchored so UI crops cleanly. */
.ff-shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }

/* Pricing ([ff_pricing]) */
.ff-pricing { max-width: 1180px; }
.ff-toggles { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: .75rem; }
.ff-seg { display: inline-flex; border: 1px solid #b8bfcc; border-radius: 99px; padding: 3px; background: #fff; }
.ff-seg button { font: inherit; font-weight: 600; border: 0; background: transparent; color: var(--wp--preset--color--ink); padding: .45rem 1.1rem; border-radius: 99px; cursor: pointer; }
.ff-seg button[aria-pressed=true] { background: var(--wp--preset--color--slate); color: #fff; }
.ff-seg em { font-style: normal; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--wp--preset--color--orange); margin-left: .35rem; }
.ff-seg button[aria-pressed=false] em { color: var(--wp--preset--color--red-dark); }
.ff-vol-note, .ff-fine { color: var(--wp--preset--color--muted); font-size: 1rem; margin: 0 0 1.5rem; }
.ff-fine { margin-top: 1.75rem; }
.ff-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.ff-plan { background: #fff; border: 1px solid var(--wp--preset--color--line); border-top: 3px solid var(--wp--preset--color--red); border-radius: 10px; padding: 1.5rem; display: flex; flex-direction: column; }
.ff-plan h3 { margin: 0; font-size: 1.9rem; }
.ff-plan-sum { color: var(--wp--preset--color--muted); margin: .25rem 0 1rem; min-height: 3em; }
.ff-plan-price { margin-bottom: 1rem; }
.ff-plan-price .ff-amt { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 3rem; line-height: 1; }
.ff-per { color: var(--wp--preset--color--muted); font-size: 1rem; }
.ff-plan-feat { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.ff-plan-feat li { padding: .45rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.ff-sub { margin: 3rem 0 .5rem; font-size: 1.9rem; }
.ff-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--line); }
.ff-rows li { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.ff-row-text strong { display: block; font-size: 1.1rem; }
.ff-row-text span { color: var(--wp--preset--color--muted); }
.ff-row-price { text-align: right; white-space: nowrap; }
.ff-row-price .ff-amt { font-weight: 700; font-size: 1.25rem; }
@media (max-width: 600px) { .ff-rows li { flex-direction: column; align-items: flex-start; gap: .4rem; } .ff-row-price { text-align: left; } }
.ff-p { display: none; }
.ff-pricing[data-term=mo] .ff-p-mo,
.ff-pricing[data-term=yr] .ff-p-yr,
.ff-p-once { display: inline; }
.ff-note { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 1.25rem 1.5rem; }

/* Feature tour ("A Day at Pine Ridge", assets/shift.js) and screenshot lightbox. Without JavaScript the scenes stack as plain sections. */
.ff-shift .ff-scene { padding-block: 1.5rem; border-top: 1px solid var(--wp--preset--color--line); }
.ff-shift .ff-scene-n { font-family: var(--wp--preset--font-family--display); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 1rem; color: var(--wp--preset--color--red-dark); margin: 0; }
.ff-shift .ff-scene h3 { margin: .25rem 0 .5rem; }
.ff-shift .ff-scene figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.ff-shift.is-ready .ff-scenes { display: none; }
.ff-shift-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem; align-items: center; }
.ff-shift-n { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--red-dark); margin: 0; }
.ff-shift-t { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); margin: .4rem 0 .6rem; }
.ff-shift-d { color: var(--wp--preset--color--muted); font-size: 1.15rem; max-width: 42ch; min-height: 6em; margin: 0; }
.ff-shift-ctl, .ff-shift-shots { display: flex; gap: .4rem; align-items: center; }
.ff-shift-ctl { margin-top: 1.1rem; }
.ff-shift-ui button { font: inherit; color: inherit; cursor: pointer; }
.ff-sp, .ff-sn, .ff-pp, .ff-np { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--wp--preset--color--line); background: #fff; font-size: 1.4rem; line-height: 1; padding: 0 0 3px; }
.ff-sp:hover, .ff-sn:hover, .ff-pp:hover:not(:disabled), .ff-np:hover:not(:disabled) { background: var(--wp--preset--color--red); border-color: var(--wp--preset--color--red); color: #fff; }
.ff-pp:disabled, .ff-np:disabled { opacity: .35; cursor: default; }
.ff-play { border: 0; background: none; padding: 0 0 0 .75rem; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.ff-play:hover { color: var(--wp--preset--color--red-dark); }
.ff-wall { position: relative; overflow: hidden; border-radius: 14px; padding: clamp(18px, 4%, 34px) clamp(16px, 4%, 34px) clamp(40px, 8%, 60px); background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 132px), radial-gradient(ellipse 70% 60% at 50% 42%, #3A4352, transparent 75%), linear-gradient(180deg, #2B313C, #1C2128); box-shadow: 0 30px 60px -30px rgba(14,17,22,.6); }
.ff-wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(16px, 4%, 28px); background: linear-gradient(#1B2027, #0E1116); border-top: 1px solid rgba(255,255,255,.1); }
.ff-shift-ui .ff-tv { position: relative; z-index: 1; padding: 7px 7px 9px; border-radius: 6px; background: #040506; box-shadow: 0 0 0 1px #000, inset 0 0 0 1px rgba(255,255,255,.09), 0 30px 40px -18px rgba(0,0,0,.7), 0 0 120px -20px rgba(45,107,255,.35); }
.ff-shift-ui .ff-tv::after { content: ""; position: absolute; right: 16px; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--wp--preset--color--red); box-shadow: 0 0 6px var(--wp--preset--color--red); }
.ff-shift-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: #000; cursor: zoom-in; transition: opacity .25s; }
.ff-shift-cap { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .9rem; font-weight: 600; color: var(--wp--preset--color--muted); }
.ff-shift-bar { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; margin-top: 2rem; }
.ff-shift-bar button { all: unset; box-sizing: border-box; display: block; cursor: pointer; padding-top: 12px; border-top: 4px solid var(--wp--preset--color--line); position: relative; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.ff-shift-bar button span { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 600; font-size: .85rem; letter-spacing: 0; text-transform: none; opacity: .8; }
.ff-shift-bar button:focus-visible, .ff-shift-img:focus-visible { outline: 3px solid var(--wp--preset--color--blue); outline-offset: 2px; }
.ff-shift-bar button[aria-current="true"] { color: var(--wp--preset--color--ink); }
.ff-shift-bar button.ff-alertscene[aria-current="true"] { color: var(--wp--preset--color--red-dark); }
.ff-shift-bar button::before { content: ""; position: absolute; left: 0; top: -4px; height: 4px; width: 0; background: var(--wp--preset--color--red); }
.ff-shift-bar button[aria-current="true"]::before { width: 100%; transition: width var(--dur, 5s) linear; }
.ff-shift-bar button.done::before { width: 100%; transition: none; }
@media (max-width: 860px) { .ff-shift-top { grid-template-columns: 1fr; } .ff-shift-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ff-shift-d { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .ff-shift-bar button::before, .ff-shift-img { transition: none !important; } }
.ff-lb { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; background: rgba(8,10,14,.94); padding: 24px; }
.ff-lb.open { display: flex; }
.ff-lb img { max-width: min(96vw, 1700px); max-height: 86vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ff-lb-x, .ff-lb-nav { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; padding: 0 0 4px; cursor: pointer; }
.ff-lb-x:hover, .ff-lb-nav:hover { background: var(--wp--preset--color--red); }
.ff-lb-x { right: 18px; top: 14px; }
.ff-lb-nav { top: 50%; margin-top: -23px; }
.ff-lb-p { left: 16px; } .ff-lb-n { right: 16px; }
.ff-lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #CBD2DD; font-weight: 600; }
.ff-lb-lock { overflow: hidden; }
.ff-shots img { cursor: zoom-in; }

/* Pinned header: the template part wrapper is the sticky element so it stays in view for the whole page. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }

/* Who we serve (Home): agency cards with recommended module pills. */
.ff-agencies-band h2 { text-align: left; }
.ff-agencies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem auto 0 !important; width: 100%; }
.ff-agencies > * { margin: 0 !important; }
.ff-agency { --accent: var(--wp--preset--color--red); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem; background: #232A35; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: .9rem 1.15rem; transition: transform .2s, border-color .2s; }
.ff-agency::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ff-agency:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.ff-agency:hover::after { transform: scaleX(1); }
.ff-agency-law { --accent: #2D6BFF; }
.ff-agency > * { margin: 0 !important; }
.ff-agency-head { display: flex; align-items: center; gap: .75rem; }
.ff-agency .ff-tile { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.1); margin: 0; }
.ff-agency .ff-tile img { width: 26px; height: 26px; }
.ff-agency h3 { font-size: 2rem; margin: 0; }
.ff-agency p { color: #C9CFDA; font-size: 1rem; }
.ff-agency p.ff-rec { margin-top: auto !important; padding-top: .5rem; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--red); }
.ff-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ff-chips li { margin: 0; padding: 2px 10px; border-radius: 99px; background: rgba(255,255,255,.07); color: #E5E9F0; font-weight: 600; font-size: .82rem; }
@media (max-width: 760px) { .ff-agencies { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ff-agency, .ff-agency::after { transition: none; } }
