/*
Theme Name: Flightrac
Theme URI: https://www.flightrac.com
Author: Flightrac
Description: Block theme for the Flightrac website. Instant Capture. Data Insights.
Version: 3.6.9
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flightrac
*/

/* ---------- Tokens ---------- */
:root {
  --ft-night: #172A36;
  --ft-deep: #22394A;
  --ft-paper: #F3F5F6;
  --ft-amber: #F2A93B;
  --ft-amber-ink: #9A6212;
  --ft-rule-dark: #2B4757;
  --ft-rule-light: #C9D3D8;
  --ft-quiet: #8FA6B2;
  --ft-bleed: max(var(--wp--style--root--padding-right, 32px), calc((100vw - 1240px) / 2));
}

/* ---------- Page rhythm ---------- */
html { scroll-padding-top: 72px; }
.wp-site-blocks > * { margin-block-start: 0; }
.ft-front > .alignfull { margin-block-start: 0; }
.ft-front { overflow-x: clip; }

/* ---------- Surfaces ---------- */
.ft-dark { background: var(--wp--preset--color--slate); color: var(--wp--preset--color--white); }
.ft-night { background: var(--ft-night); color: var(--wp--preset--color--white); }
.ft-deep { background: var(--ft-deep); color: var(--wp--preset--color--white); }
.ft-paper { background: var(--ft-paper); }
.ft-white { background: var(--wp--preset--color--white); }
:is(.ft-dark, .ft-night, .ft-deep) :is(h1, h2, h3) { color: var(--wp--preset--color--white); }
:where(.ft-dark, .ft-night, .ft-deep) a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--blue-light); }
.ft-amber { color: var(--ft-amber); }

/* ---------- Sections ---------- */
.ft-section { padding-block: clamp(52px, 6.5vw, 84px); }
.ft-section > * + * { margin-block-start: 36px; }
.ft-s { padding-block: clamp(72px, 9vw, 128px); }
.ft-s--tall { padding-block: clamp(88px, 11vw, 160px); }
.ft-s > * + * { margin-block-start: clamp(40px, 4.5vw, 56px); }

/* ---------- Type ---------- */
:where(h1, h2, h3) strong { font-weight: 600; }
.ft-h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; font-weight: 400; letter-spacing: -0.025em; margin: 0; }
.ft-h1__sub { display: block; margin-top: 0.4em; font-size: 0.48em; line-height: 1.15; font-weight: 300; letter-spacing: -0.01em; color: var(--wp--preset--color--teal-light); text-wrap: balance; }
.ft-h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.08; font-weight: 400; letter-spacing: -0.02em; margin: 0; color: var(--ft-night); }
.ft-h2--sm { font-size: clamp(30px, 3.2vw, 46px); }
.ft-h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; margin: 0; color: var(--ft-night); }
:where(.ft-night, .ft-deep, .ft-dark) :is(.ft-h2, .ft-h3) { color: var(--wp--preset--color--white); }
.ft-lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--wp--preset--color--mist); max-width: 34ch; margin: 0; }
.ft-body { font-size: 18px; line-height: 1.6; color: var(--wp--preset--color--muted); max-width: 52ch; margin: 0; }
:where(.ft-night, .ft-deep, .ft-dark) .ft-body { color: var(--wp--preset--color--mist); font-size: 17px; }
.ft-statement { font-family: var(--wp--preset--font-family--heading); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.2; font-weight: 300; letter-spacing: -0.015em; color: var(--ft-night); margin: 0; }
/* Generic page styles (other templates) */
.ft-lead { font-size: 17px; line-height: 1.6; color: var(--wp--preset--color--muted); max-width: 620px; }
.ft-dark .ft-lead { color: var(--wp--preset--color--mist); }
.ft-intro > * + * { margin-block-start: 12px; }

/* ---------- Layout helpers ---------- */
.ft-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ft-split > * { margin: 0 !important; }
.ft-split--end { align-items: end; gap: 48px; }
.ft-split--media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.ft-split--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.ft-stack { display: flex; flex-direction: column; gap: 24px; }
.ft-stack > * { margin: 0 !important; }
.ft-stack--intro { gap: 16px; }
.ft-stack--intro > * { max-width: 760px; }

/* Rule lists: a hairline over each item */
.ft-rulelist { display: flex; flex-direction: column; border-top: 1px solid var(--ft-rule-light); }
.ft-rulelist > * { margin: 0 !important; }
.ft-rule > * { margin: 0 !important; }
.ft-rule h3 { font-family: var(--wp--preset--font-family--heading); font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ft-night); }
.ft-rule p { margin-top: 4px !important; font-size: 16px; line-height: 1.55; color: var(--wp--preset--color--muted); }
.ft-rulelist .ft-rule { padding-block: 20px; border-bottom: 1px solid var(--ft-rule-light); }
.ft-rulelist--tight .ft-rule { padding-block: 14px; }
.ft-rulelist--tight .ft-rule h3 { font-size: 17px; }
.ft-rulelist--tight .ft-rule p { font-size: 15.5px; }
:where(.ft-night, .ft-deep) .ft-rule h3 { color: var(--wp--preset--color--white); }
:where(.ft-night, .ft-deep) .ft-rule p { color: var(--wp--preset--color--mist); }
.ft-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.ft-grid2 > * { margin: 0 !important; }
.ft-grid2 .ft-rule, .ft-cols3 .ft-rule { border-top: 1px solid var(--ft-rule-light); padding-top: 16px; }
:where(.ft-night, .ft-deep) :is(.ft-grid2, .ft-cols3) .ft-rule { border-color: var(--ft-rule-dark); }
.ft-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-cols3 > * { margin: 0 !important; }
.ft-cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ft-cols2 > * { margin: 0 !important; }
.ft-cols2 p { font-size: 16px; line-height: 1.65; color: var(--wp--preset--color--muted); }
#mission .ft-cols2 p { color: var(--ft-night); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.ft-header {
  padding-block: 10px;
  background: rgba(23, 42, 54, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ft-logo { display: inline-flex; align-items: center; min-height: 44px; }
.ft-logo img { display: block; height: 24px; width: auto; }
.ft-header .wp-block-navigation { font-size: 15px; }
.ft-header .wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--mist); }
.ft-header .wp-block-navigation a:hover { color: var(--wp--preset--color--white); }
.ft-header .wp-block-navigation .ft-nav-highlight a { color: var(--ft-night); background: var(--wp--preset--color--blue); font-weight: 600; padding: 9px 16px; border-radius: 3px; }
.ft-header .wp-block-navigation .ft-nav-highlight a:hover { color: var(--ft-night); background: var(--wp--preset--color--blue-light); }
.ft-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--ft-night); color: var(--wp--preset--color--white); }
.ft-header .wp-block-navigation__responsive-container.is-menu-open .ft-nav-highlight a { padding: 9px 16px; }

/* ---------- Buttons ---------- */
.wp-element-button { transition: background-color .15s ease, border-color .15s ease; }
.ft-front .wp-element-button { height: auto; border-radius: 3px; font-size: 16px; padding: 14px 24px; min-height: 48px; display: inline-flex; align-items: center; }
.ft-front .wp-block-button:not(.is-style-outline) .wp-element-button { color: var(--ft-night); }
.ft-front .wp-block-button:not(.is-style-outline) .wp-element-button:hover { background: var(--wp--preset--color--blue-light); }
.ft-front .is-style-outline .wp-element-button { background: transparent; color: var(--wp--preset--color--white); border: 1px solid #3D5B68; font-weight: 500; }
.ft-front .is-style-outline .wp-element-button:hover { border-color: var(--wp--preset--color--mist); background: transparent; color: var(--wp--preset--color--white); }

/* ---------- Hero ---------- */
.ft-hero { padding-block: clamp(56px, 7vw, 104px) 0; overflow-x: clip; }
.ft-split--hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.ft-stack--hero { gap: 28px; padding-bottom: 32px; }
.ft-hero .ft-buttons { gap: 14px; }
.ft-hero-art { margin: 0 calc(-1 * min(var(--ft-bleed), 120px)) 0 0 !important; }
.ft-hero-art img { display: block; width: 100%; height: auto; }
.ft-flagnote { margin: 4px 0 0 4%; max-width: 340px; font-size: 14px; line-height: 1.45; color: var(--wp--preset--color--mist); border-left: 2px solid var(--ft-amber); padding-left: 12px; }
.ft-flagnote__title { display: block; color: var(--ft-amber); font-weight: 600; }
.ft-proofline { display: flex; flex-wrap: wrap; gap: 12px 56px; border-top: 1px solid var(--ft-rule-dark); padding: 24px 0 32px; margin-block-start: 0 !important; font-size: 15px; color: var(--wp--preset--color--mist); }
.ft-proofline p { margin: 0; }
.ft-proofline strong { color: var(--wp--preset--color--white); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Two sessions ---------- */
.ft-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: end; }
.ft-pair figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ft-pair picture { display: block; }
.ft-pair img { display: block; width: 100%; height: auto; }
.ft-pair figcaption { font-size: 15px; color: var(--wp--preset--color--mist); border-top: 1px solid var(--ft-rule-dark); padding-top: 12px; }
.ft-pair figcaption strong { color: var(--wp--preset--color--white); font-weight: 600; }
.ft-pair figcaption strong.ft-amber { color: var(--ft-amber); }

/* ---------- One session, read properly ---------- */
.ft-chart { margin-inline: 0; margin-block-end: 0; display: flex; flex-direction: column; gap: 14px; }
.ft-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 14px; color: var(--wp--preset--color--mist); }
.ft-legend__title { color: var(--wp--preset--color--white); font-weight: 600; }
.ft-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.ft-chart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ft-chart__scroll svg { display: block; width: 100%; min-width: 720px; height: auto; overflow: visible; }
.ft-legend svg { display: block; flex: none; }
.ft-chart text { fill: var(--ft-quiet); font-size: 14px; font-family: var(--wp--preset--font-family--body); }
.ft-chart text.ft-chart__mark { fill: var(--wp--preset--color--white); font-weight: 600; font-size: 13px; }
.ft-landing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: start; border-top: 1px solid #3D5B68; padding-top: 40px; }
.ft-landing__media { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ft-landing__media img { display: block; width: 100%; height: auto; border-radius: 6px; }
.ft-landing__media figcaption { font-size: 15px; color: var(--wp--preset--color--mist); }
.ft-landing__record { display: flex; flex-direction: column; gap: 20px; }
.ft-landing__record h3 { margin: 0; font-size: 22px; font-weight: 500; }
.ft-record { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; font-variant-numeric: tabular-nums; }
.ft-record dt { font-size: 14px; color: var(--ft-quiet); }
.ft-record dd { margin: 2px 0 0; font-size: 20px; color: var(--wp--preset--color--white); }
.ft-record dd.ft-amber { color: var(--ft-amber); font-weight: 600; }
.ft-record__wide { grid-column: 1 / -1; }
.ft-flag { border-left: 2px solid var(--ft-amber); padding-left: 14px; display: flex; flex-direction: column; gap: 6px; }
.ft-flag p { margin: 0; font-size: 16px; color: var(--wp--preset--color--mist); }
.ft-flag .ft-flag__title { color: var(--ft-amber); font-weight: 600; }
/* Aircraft section: engine and airframe */
.ft-aircraft { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.ft-aircraft__half { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ft-aircraft__half h3 { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 500; color: var(--ft-night); }
.ft-aircraft__lede { margin: 0; font-size: 16px; line-height: 1.55; color: var(--wp--preset--color--muted); max-width: 46ch; }
.ft-screen { margin: 0; background: #15191E; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(23,42,54,.08), 0 12px 32px -12px rgba(23,42,54,.35); }
.ft-screen img { display: block; width: 100%; height: auto; }
.ft-screen--tiles { padding: 22px 22px 24px; }
.ft-screen__title { margin: 0 0 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--wp--preset--font-family--heading); font-size: 17px; font-weight: 500; color: #E8EDF0; }
.ft-screen__title span { font-family: var(--wp--preset--font-family--mono); font-size: 13px; font-weight: 400; color: var(--ft-quiet); }
.ft-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ft-tiles li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 16px 8px 14px; border: 1px solid #2A313A; border-radius: 10px; background: #1A1F25; }
.ft-tiles b { font-family: var(--wp--preset--font-family--mono); font-size: 30px; line-height: 1.1; font-weight: 600; color: #E8EDF0; font-variant-numeric: tabular-nums; }
.ft-tiles .is-flag b { color: var(--ft-amber); }
.ft-tiles span { font-size: 14px; line-height: 1.3; color: #C9D3D9; }
.ft-tiles small { font-family: var(--wp--preset--font-family--mono); font-size: 12px; color: var(--ft-quiet); }
.ft-white .ft-aircraft .ft-flag p { color: var(--wp--preset--color--muted); }
.ft-white .ft-aircraft .ft-flag .ft-flag__title { color: #9A5A00; }
.ft-white .ft-aircraft .ft-flag { border-left-color: var(--ft-amber); }
.ft-screen--chart { padding: 6px 4px 2px; }
.ft-cht { display: block; width: 100%; height: auto; font-family: var(--wp--preset--font-family--body); }
.ft-cht__title { fill: #E8EDF0; font-family: var(--wp--preset--font-family--heading); font-size: 17px; font-weight: 500; }
.ft-cht__sub, .ft-cht__tick { fill: #8FA6B2; font-size: 13px; }
.ft-cht__sub { font-family: var(--wp--preset--font-family--mono); }
.ft-cht__grid { stroke: #252C34; stroke-width: 1; }
.ft-cht__limit { stroke: #8FA6B2; stroke-width: 1.25; stroke-dasharray: 5 5; }
.ft-cht__limlab { fill: #8FA6B2; font-size: 12px; font-family: var(--wp--preset--font-family--mono); }
.ft-cht__ctx { fill: none; stroke: #7D93A0; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ft-cht__hot { fill: none; stroke: var(--ft-amber); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ft-cht__dot { fill: var(--ft-amber); stroke: #15191E; stroke-width: 2; }
.ft-cht__end { fill: #C9D3D9; font-size: 13px; }
.ft-cht__end--hot { fill: var(--ft-amber); font-weight: 600; }
.ft-cht__hit { fill: transparent; }
.ft-cht__hit:hover { fill: rgba(255,255,255,.05); }
.ft-tour__credit { margin: 8px 2px 0; font-size: 12px; text-align: right; color: var(--ft-quiet); }
.ft-aircraft__note { margin: 40px 0 0; font-size: 14px; color: var(--wp--preset--color--muted); }

/* ---------- How it works ---------- */
.ft-steps { list-style: none; margin-inline: 0; margin-block-end: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft-steps li { border-top: 3px solid var(--wp--preset--color--blue); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.ft-steps .ft-steps__last { border-top-color: var(--ft-amber); }
.ft-steps__where { font-family: var(--wp--preset--font-family--heading); font-size: 15px; font-weight: 500; color: var(--wp--preset--color--blue-dark); }
.ft-steps__last .ft-steps__where { color: var(--ft-amber-ink); }
.ft-steps h3 { margin: 0; font-size: 22px; font-weight: 500; color: var(--ft-night); }
.ft-steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--wp--preset--color--muted); }

/* ---------- Platform ---------- */
/* Platform section: a faint cockpit view (Dynon panel) in the white space beside the heading */
#platform { position: relative; isolation: isolate; }
#platform::before {
  content: ""; position: absolute; top: 0; right: 0; width: 64%; height: clamp(300px, 30vw, 420px); z-index: -1; pointer-events: none;
  background: url(/wp-content/uploads/2026/10/ft-cockpit-1200.webp) 50% 82% / cover no-repeat;
  opacity: var(--ft-platform-photo, 0.30);
  filter: grayscale(1);
  -webkit-mask-image: radial-gradient(closest-side at 55% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side at 55% 50%, #000 55%, transparent 100%);
}
/* Guided tour: pick a feature, the screenshot shows where it lives */
.ft-tour { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; background: var(--ft-night); border-radius: 8px; padding: clamp(20px, 3.5vw, 48px); margin-inline: 0; }
.ft-tour__stage { position: sticky; top: 96px; }
.ft-tour__shot { margin: 0; }
.ft-tour__shot[hidden] { display: none; }
.ft-tour__frame { border-radius: 6px; overflow: hidden; background: #E9EEF1; border: 1px solid #3D5B68; }
.ft-tour__pic { position: relative; }
.ft-tour__frame img { display: block; width: 100%; height: auto; }
.ft-tour__spot { position: absolute; border: 2px solid var(--wp--preset--color--blue); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(23, 42, 54, 0.55); pointer-events: none; transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
.ft-tour__spot[hidden] { display: none; }
.ft-tour__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ft-tour__item { position: relative; padding: 14px 0 14px 18px; border-left: 2px solid var(--ft-rule-dark); }
.ft-tour__item h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.ft-tour__btn { all: unset; cursor: pointer; font-family: var(--wp--preset--font-family--heading); font-weight: 500; color: var(--wp--preset--color--mist); }
.ft-tour__btn::after { content: ""; position: absolute; inset: 0; }
.ft-tour__btn:focus-visible { outline: 2px solid var(--ft-amber); outline-offset: 4px; border-radius: 2px; }
.ft-tour__item p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ft-quiet); }
.ft-tour__item:hover .ft-tour__btn { color: var(--wp--preset--color--white); }
.ft-tour__item:has(.ft-tour__btn[aria-pressed="true"]) { border-left-color: var(--wp--preset--color--blue); }
.ft-tour__item:has(.ft-tour__btn[aria-pressed="true"]) .ft-tour__btn { color: var(--wp--preset--color--white); }
.ft-tour__item:has(.ft-tour__btn[aria-pressed="true"]) p { color: var(--wp--preset--color--mist); }
@media (prefers-reduced-motion: reduce) { .ft-tour__spot { transition: none; } }
.ft-audiences { display: flex; flex-direction: column; gap: 28px; padding-top: clamp(48px, 6vw, 80px); }
.ft-audiences > * { margin: 0 !important; }

/* ---------- Proven in the field ---------- */
.ft-field { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 16px; margin-top: 56px !important; }
.ft-field figure { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--ft-night); }
.ft-field img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ft-field__map { aspect-ratio: 700 / 559; }
.ft-field__units img { object-position: 50% 40%; }
.ft-field figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.ft-field__tag { font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ft-night); background: var(--ft-amber); border-radius: 4px; padding: 3px 8px; text-shadow: none; white-space: nowrap; flex: none; }
.ft-field__units::after, .ft-field__map::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(23,42,54,.75), transparent); pointer-events: none; }
.ft-field figcaption { z-index: 1; }
.ft-core { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); margin-top: 72px !important; padding-top: 48px; border-top: 1px solid #3D5B68; align-items: start; }
.ft-core__intro h3 { margin: 0 0 14px; font-family: var(--wp--preset--font-family--heading); font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.25; color: #fff; }
.ft-core__intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--wp--preset--color--mist); }
.ft-core__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ft-core__card { display: flex; flex-direction: column; border: 1px solid #3D5B68; border-radius: 12px; overflow: hidden; background: rgba(23,42,54,.45); }
.ft-core__card--installed { border-color: rgba(242,169,59,.55); background: rgba(23,42,54,.8); }
.ft-core__pic, .ft-core__panel { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ft-core__panel { background: var(--ft-night); }
.ft-core__panel svg { display: block; width: 100%; height: 100%; }
.ft-core__panel .p-bezel { fill: #1B2F3C; stroke: #3D5B68; stroke-width: 1.5; }
.ft-core__panel .p-screen { fill: #0F1E28; stroke: #2C4656; }
.ft-core__panel .p-trace { fill: none; stroke: #40C1BA; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ft-core__panel .p-bars { stroke: #8FA6B2; stroke-width: 5; stroke-linecap: round; opacity: .7; }
.ft-core__panel .p-box { fill: #22394A; stroke: var(--ft-amber); stroke-width: 1.5; }
.ft-core__panel .p-led { fill: var(--ft-amber); }
.ft-core__panel .p-wire { stroke: var(--ft-amber); stroke-width: 1.5; stroke-dasharray: 3 3; }
.ft-core__kind { margin: 20px 22px 0; font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ft-quiet); }
.ft-core__kind--installed { color: var(--ft-amber); }
.ft-core__card h4 { margin: 6px 22px 0; font-family: var(--wp--preset--font-family--heading); font-size: 20px; font-weight: 500; color: #fff; }
.ft-core__what { margin: 8px 22px 0; font-size: 15px; line-height: 1.55; color: var(--wp--preset--color--mist); }
.ft-core__list { list-style: none; margin: 16px 22px 24px; padding: 14px 0 0; border-top: 1px solid rgba(143,166,178,.25); display: flex; flex-direction: column; gap: 8px; }
.ft-core__list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: #E8EDF0; }
.ft-core__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid #40C1BA; border-bottom: 2px solid #40C1BA; transform: rotate(-45deg); }
.ft-core__card--installed .ft-core__list li::before { border-color: var(--ft-amber); }

/* ---------- Mission ---------- */
/* A faint coastline from the air behind the mission statement */
#mission { position: relative; isolation: isolate; }
#mission::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/wp-content/uploads/2026/10/ft-coast-1200.webp) 50% 70% / cover no-repeat;
  opacity: var(--ft-mission-photo, 0.20);
  filter: grayscale(1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.ft-s--tall > .ft-h3 { color: var(--wp--preset--color--blue-dark); font-size: 20px; font-weight: 500; }
.ft-s--tall > .ft-statement { margin-block-start: 20px; }
.ft-prose p { font-size: 16.5px; line-height: 1.65; color: var(--wp--preset--color--ink); }

/* ---------- Investors ---------- */
.ft-split--inv { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.ft-inv-copy { gap: 28px; }
.ft-enquiry-panel {
  background:
    linear-gradient(rgba(23, 42, 54, 0.86), rgba(23, 42, 54, 0.86)),
    var(--ft-night) url(/wp-content/uploads/2026/10/ft-circuits-800.webp) 30% 60% / 170% auto no-repeat;
  border-top: 3px solid var(--wp--preset--color--blue); border-radius: 4px;
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 96px;
}
/* Flight plan: milestones as a route */
.ft-route { margin-top: 12px !important; }
/* Pilot photo, faint, full height of the section behind the copy column */
.ft-investors { position: relative; isolation: isolate; }
.ft-investors::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 62%; z-index: -1; pointer-events: none;
  background: url(/wp-content/uploads/2026/10/ft-investors-1440.webp) 72% 30% / cover no-repeat;
  opacity: var(--ft-route-photo, 0.05);
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
  mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}
.ft-route__title { margin: 0 0 22px; font-family: var(--wp--preset--font-family--body); font-size: 15px; font-weight: 500; color: var(--wp--preset--color--mist) !important; }
.ft-route__list { list-style: none; margin: 0; padding: 0; }
.ft-route__wp { position: relative; padding: 0 0 26px 40px; display: flex; flex-direction: column; gap: 2px; }
.ft-route__wp::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--wp--preset--color--teal); }
.ft-route__wp:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 21px; bottom: 0; width: 2px; background: var(--wp--preset--color--teal); opacity: .5; }
.ft-route__wp:nth-last-child(2)::after { opacity: 1; background: repeating-linear-gradient(to bottom, var(--ft-amber) 0 6px, transparent 6px 12px); }
.ft-route__wp--next { padding-bottom: 0; }
.ft-route__wp--next::before { left: 2px; top: 3px; width: 16px; height: 16px; box-sizing: border-box; background: var(--ft-deep); border: 2px solid var(--ft-amber); }
.ft-route__when { font-family: var(--wp--preset--font-family--heading); font-size: 14px; color: var(--wp--preset--color--teal-light); }
.ft-route__wp--next .ft-route__when { color: var(--ft-amber); }
.ft-route__what { font-family: var(--wp--preset--font-family--heading); font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--wp--preset--color--white); }
.ft-route__note { font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--mist); }
.ft-enquiry-panel > * { margin: 0; }
.ft-enquiry-panel h3 { font-size: 22px; font-weight: 500; color: var(--wp--preset--color--white); }
.ft-enquiry-panel__intro { font-size: 16px; color: var(--wp--preset--color--mist); margin-top: -10px !important; }
.ft-enquiry { display: flex; flex-direction: column; gap: 16px; }
.ft-enquiry__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ft-enquiry__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ft-enquiry label { font-size: 14px; color: var(--wp--preset--color--mist); }
.ft-enquiry input, .ft-enquiry textarea { font: inherit; font-size: 16px; color: var(--wp--preset--color--white); background: var(--ft-deep); border: 1px solid #4E6B78; border-radius: 3px; padding: 0 14px; min-height: 48px; box-sizing: border-box; width: 100%; }
.ft-enquiry textarea { padding: 12px 14px; resize: vertical; }
.ft-enquiry input:focus-visible, .ft-enquiry textarea:focus-visible { outline: 2px solid var(--wp--preset--color--blue); outline-offset: 1px; border-color: var(--wp--preset--color--blue); }
.ft-enquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ft-enquiry__actions p { margin: 0; font-size: 15px; color: var(--wp--preset--color--mist); }
.ft-enquiry button { height: auto; font-size: 16px; padding: 14px 28px; min-height: 48px; border: 0; border-radius: 3px; color: var(--ft-night); cursor: pointer; }
.ft-enquiry button:hover { background: var(--wp--preset--color--blue-light); }
.ft-enquiry__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ft-form-status { margin: 0; font-size: 15px; font-weight: 500; }
.ft-form-status.is-ok { color: var(--wp--preset--color--blue-light); }
.ft-form-status.is-error { color: #F6B2A6; }
.ft-enquiry-panel__note { font-size: 13px; line-height: 1.55; color: var(--ft-quiet); border-top: 1px solid var(--ft-rule-dark); padding-top: 14px; }

/* ---------- Brand stripes (footer) ---------- */
.ft-stripes { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 5vw, 72px); max-width: none !important; margin: 0 !important; z-index: 1; pointer-events: none; }
.ft-stripes svg { display: block; width: 100%; height: 100%; }
.ft-stripes--top {
  position: relative; bottom: auto; height: clamp(12px, 2vw, 24px);
  margin-top: -40px !important; margin-bottom: 28px !important;
  margin-left: calc(-1 * var(--wp--style--root--padding-left, 32px)) !important;
  margin-right: calc(-1 * var(--wp--style--root--padding-right, 32px)) !important;
}

/* ---------- Footer ---------- */
.ft-footer { padding-block: 40px; font-size: 14px; line-height: 1.6; background: var(--ft-night); }
.ft-footer p { color: var(--wp--preset--color--mist); margin: 0; }
.ft-footer .ft-logo { margin-bottom: 14px; }
.ft-footer .ft-logo img { height: 22px; }

/* ---------- Analytics consent ---------- */
.ft-analytics-link { display: none; }
.ft-has-analytics .ft-analytics-link { display: block; }
.ft-consent { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 420px; box-sizing: border-box; background: var(--wp--preset--color--deep); color: var(--wp--preset--color--white); border: 1px solid rgba(255, 255, 255, 0.16); border-top: 2px solid var(--wp--preset--color--blue); border-radius: 6px; padding: 18px 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); font-size: 14.5px; line-height: 1.55; }
.ft-consent[hidden] { display: none; }
.ft-consent p { margin: 0 0 14px; color: var(--wp--preset--color--mist); }
.ft-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-consent__btn { font: inherit; font-weight: 600; font-size: 14px; min-height: 40px; padding: 8px 16px; border-radius: 4px; cursor: pointer; background: transparent; color: var(--wp--preset--color--white); border: 1px solid rgba(255, 255, 255, 0.4); }
.ft-consent__btn--yes { background: var(--wp--preset--color--blue); color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--blue); }
@media (max-width: 599px) { .ft-consent { left: 12px; right: 12px; max-width: none; } }

/* ---------- Quality floor ---------- */
:where(a, button, input, select, textarea, .wp-element-button):focus-visible { outline: 3px solid var(--wp--preset--color--blue); outline-offset: 3px; }
:where(.ft-night, .ft-deep) :where(a, .wp-element-button):focus-visible { outline-color: var(--ft-amber); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1000px) {
  .ft-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-landing { grid-template-columns: minmax(0, 1fr); }
  .ft-aircraft { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .ft-tiles b { font-size: 26px; }
  .ft-core { grid-template-columns: minmax(0, 1fr); }
  .ft-core__intro { max-width: 60ch; }
}
@media (max-width: 781px) {
  .ft-split, .ft-split--hero, .ft-split--media, .ft-split--wide, .ft-split--inv, .ft-pair, .ft-grid2, .ft-cols3, .ft-cols2 { grid-template-columns: minmax(0, 1fr); }
  .ft-split--end { gap: 20px; }
  .ft-enquiry-panel { position: static; }
  .ft-tour { grid-template-columns: minmax(0, 1fr); }
  #platform::before { display: none; }
  .ft-tour__stage { top: 64px; z-index: 2; background: var(--ft-night); padding-bottom: 12px; }
  .ft-tour__frame { aspect-ratio: 1400 / 1157; display: flex; align-items: center; background: var(--ft-night); }
  .ft-tour__pic { width: 100%; }
  .ft-investors::before { width: 100%; }
  .ft-hero-art { margin: 0 calc(-1 * var(--wp--style--root--padding-right, 20px)) !important; }
  .ft-stack--hero { padding-bottom: 0; }
  .ft-flagnote { margin-left: var(--wp--style--root--padding-left, 20px); }
  .ft-proofline { gap: 10px; padding-top: 20px; }
  .ft-field, .ft-core__cards { grid-template-columns: minmax(0, 1fr); }
  .ft-field__units { aspect-ratio: 4 / 3; }
  .ft-core { margin-top: 56px !important; padding-top: 36px; }
}
@media (max-width: 520px) {
  .ft-steps { grid-template-columns: minmax(0, 1fr); }
  .ft-record { gap: 14px 16px; }
  .ft-record dd { font-size: 18px; }
}
