/*
Theme Name: TrueWay Trucking Solutions LLC 3D
Theme URI: https://truewaytruckingsolutionsllc.com/
Author: TrueWayTruckingSolutionsLLC
Author URI: https://truewaytruckingsolutionsllc.com/
Description: A cinematic, real-time 3D world (golden hour into night, bloom lighting, headlights and stars) for TrueWay Trucking Solutions LLC. Every page is a place beside the same interstate (equipment yard, dispatch HQ, rate check, process road, lower-48 map, question gantries, video screen, intake dock) rendered with three.js, with accessible HTML content, navigation, media controls, and forms layered into the scene.
Version: 5.3.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freightflow
*/

:root {
  --navy: #0a2f73;
  --deep: #071a36;
  --night: #040d1d;
  --ink: #0b2942;
  --cyan: #13b4d6;
  --cyan-soft: #9fd8e6;
  --amber: #ffa21a;
  --amber-light: #ffc76b;
  --text: #eef3f9;
  --text-dim: #b9c7d8;
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(6, 18, 40, .76);
  --glass-strong: rgba(5, 15, 34, .9);
  --radius: 22px;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --panel-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 2px 0 rgba(255, 255, 255, .04) inset;
}

* { box-sizing: border-box; min-width: 0; }
html { width: 100%; max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--night); }
body { margin: 0; width: 100%; max-width: 100%; overflow-x: clip; position: relative; background: var(--night); color: var(--text); font-family: var(--body); line-height: 1.55; }
body, button, input, select, textarea { font-family: var(--body); }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
img, svg, video, canvas { max-width: 100%; height: auto; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber-light); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ff-skip-link { position: fixed; z-index: 1000000; top: 12px; left: 12px; transform: translateY(-160%); border-radius: 10px; background: var(--amber); padding: 10px 14px; color: var(--ink); font-weight: 700; transition: transform .18s ease; }
.ff-skip-link:focus { transform: translateY(0); }
.ff-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* ------------------------------------------------------------------ */
/* The world layer                                                     */
/* ------------------------------------------------------------------ */
.tw-world { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--night); }
.tw-canvas { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; opacity: 0; transition: opacity 1.1s ease; }
html.tw-ready .tw-canvas { opacity: 1; }
.tw-world-fallback { position: absolute; inset: 0; background-color: #1a2440; background-image: url("assets/video-poster.webp"); background-position: 60% center; background-size: cover; filter: saturate(1.05); }
.tw-world-fallback::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 13, 29, .35), rgba(4, 13, 29, .75)); }
html.tw-ready .tw-world-fallback { opacity: 0; transition: opacity 1.4s ease 0.4s; }
.tw-veil { position: absolute; inset: 0; pointer-events: none; transition: background .8s ease; background: linear-gradient(90deg, rgba(3, 10, 24, .52) 0%, rgba(3, 10, 24, .16) 42%, rgba(3, 10, 24, 0) 62%), linear-gradient(180deg, rgba(3, 10, 24, .28) 0%, rgba(3, 10, 24, 0) 22%); }
html[data-tw-side="right"] .tw-veil { background: linear-gradient(270deg, rgba(3, 10, 24, .52) 0%, rgba(3, 10, 24, .16) 42%, rgba(3, 10, 24, 0) 62%), linear-gradient(180deg, rgba(3, 10, 24, .28) 0%, rgba(3, 10, 24, 0) 22%); }
html[data-tw-side="none"] .tw-veil { background: linear-gradient(180deg, rgba(3, 10, 24, .3) 0%, rgba(3, 10, 24, 0) 25%, rgba(3, 10, 24, .45) 100%); }
.tw-loading { position: absolute; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; z-index: 3; }
.tw-loading i { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: tw-load 1.1s ease-in-out infinite; }
html.tw-ready .tw-loading, html.tw-no-webgl .tw-loading, html:not(.ff-js) .tw-loading { display: none; }
@keyframes tw-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
html.tw-no-webgl .tw-canvas { display: none; }

.ff-shell { position: relative; z-index: 2; min-height: 100vh; }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.ff-topbar { position: relative; z-index: 3; display: flex; justify-content: center; gap: 10px; padding: 8px 16px; background: rgba(4, 13, 29, .82); color: var(--text-dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.ff-topbar strong { color: var(--amber); }
.ff-nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 15, 34, .62); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); transition: background .25s ease; }
.ff-nav.is-scrolled { background: rgba(5, 15, 34, .86); }
.admin-bar .ff-nav { top: 32px; }
.ff-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 74px; }
.ff-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ff-brand-logo { display: block; width: auto; height: 54px; border-radius: 10px; background: #fff; padding: 3px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.ff-nav-links { display: flex; align-items: center; gap: 4px; }
.ff-nav-link { position: relative; padding: 10px 14px; border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.ff-nav-link:hover { background: rgba(255, 255, 255, .08); }
.ff-nav-link[aria-current="page"] { color: var(--amber-light); }
.ff-nav-link[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: var(--amber); }
.ff-nav-actions { display: flex; align-items: center; gap: 14px; }
.ff-phone-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 14px; white-space: nowrap; }
.ff-mobile-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .06); color: var(--text); }
.ff-mobile-panel { display: none; }

/* ------------------------------------------------------------------ */
/* Buttons + type                                                      */
/* ------------------------------------------------------------------ */
.ff-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.ff-button:hover { transform: translateY(-1px); }
.ff-button-primary { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%); color: #1a1205; box-shadow: 0 10px 30px rgba(255, 162, 26, .32); }
.ff-button-primary:hover { box-shadow: 0 14px 34px rgba(255, 162, 26, .45); }
.ff-button-dark { background: var(--amber); color: #1a1205; }
.ff-button-quiet, .tw-ghost { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); color: var(--text); }
.ff-button-quiet:hover, .tw-ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .12); }
.ff-button[disabled] { opacity: .7; cursor: progress; transform: none; }
.ff-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ff-eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.ff-section-title, .tw-title { margin: 0 0 16px; color: #fff; font: 700 clamp(30px, 3.4vw, 46px)/1.06 var(--display); letter-spacing: -.02em; }
.ff-section-title span, .tw-title span { background: linear-gradient(100deg, var(--cyan-soft) 0%, var(--amber-light) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tw-title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; }
.ff-lead { margin: 0 0 22px; color: var(--text-dim); font-size: 17px; line-height: 1.65; }
.tw-mini-title { margin: 0 0 12px; color: #fff; font: 700 20px/1.3 var(--display); }
.tw-mini-title a:hover { color: var(--amber-light); }
.ff-quote { margin: 0 0 14px; color: #fff; font: 700 clamp(28px, 3vw, 40px)/1.15 var(--display); }
.tw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tw-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--amber-light); font-weight: 700; }
.tw-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tw-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--text-dim); font-size: 13px; line-height: 1.55; }
.tw-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--amber); }
.tw-place-hint { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; padding: 12px 14px; border: 1px dashed rgba(19, 180, 214, .45); border-radius: 14px; background: rgba(19, 180, 214, .08); color: var(--cyan-soft); font-size: 13px; line-height: 1.5; }
.tw-place-hint svg { flex: 0 0 auto; margin-top: 1px; }
.tw-admin-note { padding: 12px 14px; border-radius: 12px; background: rgba(255, 162, 26, .12); color: var(--amber-light); font-size: 13px; }
.tw-admin-note a { text-decoration: underline; }
.tw-more-links { margin: 18px 0 0; color: var(--text-dim); }
.tw-more-links a, .ff-seo-content a { color: var(--amber-light); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* Scenes + panels                                                     */
/* ------------------------------------------------------------------ */
.tw-main { position: relative; z-index: 2; display: block; outline: none; pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.tw-main a, .tw-main button, .tw-main input, .tw-main select, .tw-main textarea, .tw-panel { pointer-events: auto; }
.tw-scene { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 110px 0 90px; }
.tw-scene-inner { display: flex; }
.tw-scene--right .tw-scene-inner { justify-content: flex-end; }
.tw-scene--center .tw-scene-inner { justify-content: center; }
.tw-panel { position: relative; width: min(540px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); color: var(--text); box-shadow: var(--panel-shadow); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
.tw-panel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255, 162, 26, .55), rgba(19, 180, 214, .1) 40%, rgba(255, 255, 255, 0) 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tw-panel--hero { width: min(600px, 100%); }
.tw-panel--slim { width: min(470px, 100%); }
.tw-panel--wide { width: min(800px, 100%); }
.tw-panel--article { width: min(740px, 100%); }
.tw-panel--faq { width: min(620px, 100%); }
.tw-hero { padding-top: 60px; }
.tw-scroll-cue { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--text-dim); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tw-scroll-cue span { position: relative; width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 12px; }
.tw-scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: tw-cue 1.6s ease-in-out infinite; }
@keyframes tw-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Stacked cards: each card is its own camera stop */
.tw-stack { display: block; padding: 0; }
.tw-stack-list { display: flex; flex-direction: column; gap: 46vh; margin: 0; padding: 30vh 0 36vh; list-style: none; }
.tw-card { width: min(470px, 100%); outline: none; }
.tw-card h2 { margin: 6px 0 10px; color: #fff; font: 700 26px/1.2 var(--display); }
.tw-card p { margin: 0; color: var(--text-dim); line-height: 1.65; }
.tw-card-index { position: absolute; top: 24px; right: 26px; color: var(--cyan); font: 700 13px/1 var(--display); letter-spacing: .14em; }
.ff-icon-box { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 14px; background: rgba(255, 162, 26, .14); color: var(--amber-light); }
.ff-included { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--cyan-soft); font-size: 13px; font-weight: 700; }
.ff-included i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 162, 26, .18); }
.ff-step-number { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(135deg, var(--amber), var(--amber-light)); color: #1a1205; font: 700 18px/1 var(--display); }
.tw-steps { counter-reset: none; }
.tw-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--text); font-size: 14px; }
.tw-legend li { display: flex; align-items: center; gap: 10px; }
.tw-legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
/* legend colours as classes: the strict CSP allows no style="" attributes */
.tw-legend .tw-c1 { --c: #ffa21a; } .tw-legend .tw-c2 { --c: #13b4d6; } .tw-legend .tw-c3 { --c: #2c64c8; }
.tw-legend .tw-c4 { --c: #e9edf1; } .tw-legend .tw-c5 { --c: #7f8a9c; } .tw-legend .tw-c6 { --c: #3ddc84; }
.tw-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 4px; }
.tw-plan { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.tw-plan h3 { margin: 0 0 6px; color: #fff; font: 700 20px/1.25 var(--display); }
.tw-plan strong { display: block; margin-bottom: 8px; color: var(--amber-light); font-size: 14px; }
.tw-plan p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* Human cards */
.ff-human-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.ff-human-card { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.ff-human-card svg { color: var(--amber-light); }
.ff-human-card h3 { margin: 10px 0 6px; color: #fff; font: 700 16px/1.3 var(--display); }
.ff-human-card p { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }

/* Tabs / chips (toggle buttons) */
.tw-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tw-tab { min-height: 40px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--text); font-weight: 700; font-size: 13.5px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.tw-tab:hover { border-color: rgba(255, 255, 255, .5); }
.tw-tab[aria-pressed="true"] { border-color: var(--amber); background: rgba(255, 162, 26, .18); color: var(--amber-light); }
.tw-spec { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .18); }
.tw-spec-name { margin: 0 0 6px; color: #fff; font: 700 21px/1.25 var(--display); }
.tw-spec-desc { margin: 0 0 12px; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.tw-spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.tw-spec-list div { padding-top: 10px; border-top: 1px solid var(--line); }
.tw-spec-list dt { color: var(--text-dim); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tw-spec-list dd { margin: 2px 0 0; color: #fff; font-weight: 700; font-size: 14.5px; }

/* Coverage */
.tw-lanes { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .18); }
.tw-lane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tw-lane-head .tw-mini-title { margin: 0; font-size: 16px; }
.ff-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 162, 26, .16); color: var(--amber-light); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ff-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.tw-lane-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tw-lane { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--text); text-align: left; transition: border-color .2s ease, background .2s ease; }
.tw-lane strong { font-size: 14.5px; }
.tw-lane span { color: var(--cyan-soft); font-size: 12.5px; font-weight: 700; }
.tw-lane b { color: #fff; font: 700 16px/1 var(--display); }
.tw-lane small { color: var(--text-dim); font-weight: 600; }
.tw-lane:hover, .tw-lane[aria-pressed="true"] { border-color: var(--amber); background: rgba(255, 162, 26, .12); }
.tw-hubs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tw-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--text); font-size: 13px; font-weight: 600; }
.tw-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.tw-chip.is-hq i { background: var(--amber); }
.tw-chip[aria-pressed="true"] { border-color: var(--cyan); background: rgba(19, 180, 214, .16); }
.ff-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ff-tag { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--text); font-size: 13px; font-weight: 600; }

/* FAQ */
.ff-faq-list { display: grid; gap: 10px; }
.ff-faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .04); transition: border-color .2s ease, background .2s ease; }
.ff-faq-item.is-open { border-color: rgba(255, 162, 26, .5); background: rgba(255, 162, 26, .07); }
.ff-faq-heading { margin: 0; font-size: inherit; }
.ff-faq-question { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border: 0; background: transparent; color: #fff; font: 700 16px/1.4 var(--display); text-align: left; }
.ff-faq-question svg { flex: 0 0 auto; margin-left: auto; transition: transform .25s ease; }
.ff-faq-item.is-open .ff-faq-question svg { transform: rotate(180deg); }
.tw-q-num { flex: 0 0 auto; display: inline-flex; min-width: 34px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; background: #0a6a3d; color: #ffd28a; font-size: 12px; }
.ff-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.ff-faq-answer > div { overflow: hidden; }
.ff-faq-answer p { margin: 0; padding: 0 18px 18px 64px; color: var(--text-dim); line-height: 1.65; }
.ff-faq-item.is-open .ff-faq-answer { grid-template-rows: 1fr; }
html:not(.ff-js) .ff-faq-answer { grid-template-rows: 1fr; }
.ff-page-cta { margin-top: 22px; }

/* Media player */
.tw-player { margin: 0; }
.tw-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.tw-video-controls { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.tw-ctrl { display: inline-flex; flex: 0 0 auto; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--text); }
.tw-ctrl[aria-pressed="true"] { border-color: var(--amber); color: var(--amber-light); }
.tw-ico-pause, .tw-ico-mute { display: none; }
.tw-player.is-playing .tw-ico-play { display: none; }
.tw-player.is-playing .tw-ico-pause { display: inline-flex; }
.tw-player.is-muted .tw-ico-vol { display: none; }
.tw-player.is-muted .tw-ico-mute { display: inline-flex; }
.tw-seek { flex: 1 1 auto; accent-color: var(--amber); }
.tw-time { flex: 0 0 auto; min-width: 82px; color: var(--text-dim); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: right; }
.tw-caption-line { min-height: 1.6em; margin-top: 8px; color: #fff; font-size: 14px; }

/* Contact */
.tw-contact-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 28px; width: min(900px, 100%); }
.ff-contact-details { display: grid; gap: 10px; }
.ff-contact-detail { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.ff-contact-detail address { font-style: normal; line-height: 1.5; }
.ff-detail-icon { display: inline-flex; flex: 0 0 auto; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(19, 180, 214, .16); color: var(--cyan-soft); }
.ff-detail-icon-amber { background: rgba(255, 162, 26, .16); color: var(--amber-light); }
.ff-contact-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0, 0, 0, .2); }
.ff-contact-card-head h3 { margin: 0 0 12px; color: #fff; font: 700 24px/1.2 var(--display); }
.ff-intake-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ff-intake-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-dim); font-size: 12px; font-weight: 600; }
.ff-contact-form { display: grid; gap: 12px; }
.ff-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ff-field { display: grid; gap: 6px; color: var(--text); font-size: 13px; font-weight: 700; }
.ff-field-optional { color: var(--text-dim); font-weight: 500; }
.ff-field input, .ff-field select, .ff-field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 15px; font-weight: 500; }
.ff-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.ff-field select option { background: #0b1d3a; color: #fff; }
.ff-field textarea { min-height: 96px; resize: vertical; }
.ff-field input::placeholder, .ff-field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.ff-field input:focus, .ff-field select:focus, .ff-field textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(255, 162, 26, .25); }
.ff-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ff-next-step { display: flex; gap: 10px; margin: 2px 0; color: var(--text-dim); font-size: 13px; line-height: 1.5; }
.ff-next-step svg { flex: 0 0 auto; color: var(--amber); }
.ff-form-note { margin: 0; color: var(--text-dim); font-size: 12.5px; }
.ff-form-note a { text-decoration: underline; }
.ff-form-live-status { color: var(--amber-light); font-size: 13px; font-weight: 700; }
.ff-alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.ff-alert-success { background: rgba(61, 220, 132, .16); color: #9cf0c2; }
.ff-alert-error { background: rgba(255, 90, 90, .16); color: #ffb3b3; }

/* Equipment link grid (service discovery) */
.ff-equipment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ff-equipment-link { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .04); transition: border-color .2s ease, background .2s ease; }
.ff-equipment-link strong { display: block; color: #fff; font: 700 17px/1.3 var(--display); }
.ff-equipment-link span { display: block; margin-top: 6px; color: var(--text-dim); font-size: 13px; line-height: 1.55; }
.ff-equipment-link:hover, .ff-equipment-link:focus-visible { border-color: var(--amber); background: rgba(255, 162, 26, .08); }

/* Long-form content */
.ff-seo-content { color: var(--text-dim); font-size: 16px; line-height: 1.8; }
.ff-seo-content h2 { margin: 34px 0 10px; color: #fff; font: 700 clamp(22px, 2.4vw, 28px)/1.25 var(--display); }
.ff-seo-content h2:first-child { margin-top: 0; }
.ff-seo-content h3 { margin: 20px 0 6px; color: #fff; font: 700 18px/1.4 var(--display); }
.ff-seo-content li { margin: 6px 0; }
.ff-seo-content img { border-radius: 12px; }
.tw-entry + .tw-entry { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.ff-breadcrumbs { margin-bottom: 18px; color: var(--text-dim); font-size: 13px; }
.ff-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ff-breadcrumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.ff-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.tw-footer { position: relative; z-index: 2; margin-top: 10vh; border-top: 1px solid var(--line); background: rgba(4, 12, 27, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ff-footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 36px 0 24px; }
.ff-brand-logo-footer { height: 64px; }
.ff-footer-copy { max-width: 320px; margin: 14px 0 0; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.ff-footer-right { display: grid; justify-items: end; gap: 6px; color: var(--text-dim); font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.ff-footer-right a { color: var(--amber-light); font-weight: 700; }
.ff-footer-services { padding: 18px 0 96px; border-top: 1px solid var(--line); }
.ff-footer-service-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--text-dim); }
.ff-footer-service-links a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/* HUD, tooltip, transitions                                           */
/* ------------------------------------------------------------------ */
.tw-hud { position: fixed; z-index: 60; left: 18px; bottom: 18px; left: max(18px, env(safe-area-inset-left, 18px)); bottom: max(18px, env(safe-area-inset-bottom, 18px)); display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(4, 12, 27, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.tw-hud-place { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px 0 8px; color: var(--text); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tw-hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 162, 26, .6); animation: tw-ping 2.4s infinite; }
@keyframes tw-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 162, 26, .55); } 70% { box-shadow: 0 0 0 8px rgba(255, 162, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 162, 26, 0); } }
.tw-hud-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid transparent; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--text); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tw-hud-btn:hover { background: rgba(255, 255, 255, .14); }
.tw-hud-btn[aria-pressed="true"] { border-color: var(--amber); color: var(--amber-light); }
html.tw-no-webgl .tw-hud, html:not(.ff-js) .tw-hud { display: none; }
.tw-tip { position: fixed; z-index: 70; top: 0; left: 0; max-width: 280px; padding: 7px 12px; border: 1px solid rgba(255, 162, 26, .5); border-radius: 10px; background: rgba(4, 12, 27, .92); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; }
html.tw-leaving .tw-main { opacity: 0; transform: translateY(14px); }
html.tw-arriving .tw-main { animation: tw-arrive .8s ease both; }
@keyframes tw-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* No WebGL: the HTML stands on its own over the photo backdrop */
html.tw-no-webgl .tw-scene { min-height: 0; padding: 70px 0; }
html.tw-no-webgl .tw-stack-list { gap: 20px; padding: 40px 0; }
html.tw-no-webgl .tw-hero { min-height: 80vh; }

/* ------------------------------------------------------------------ */
/* Contact dock (unchanged behaviour from the previous theme)          */
/* ------------------------------------------------------------------ */
.ff-contact-dock { position: fixed !important; z-index: 999999 !important; right: max(22px, env(safe-area-inset-right, 22px)) !important; bottom: max(28px, env(safe-area-inset-bottom, 28px)) !important; pointer-events: auto !important; }
.ff-dock-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(4, 12, 27, .86); box-shadow: 0 16px 38px rgba(0, 0, 0, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ff-dock-btn { position: relative; display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; color: #fff !important; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, background-color .2s ease; }
.ff-dock-btn:hover { transform: scale(1.1); }
.ff-dock-icon { display: flex; align-items: center; justify-content: center; line-height: 0; }
.ff-dock-call { border: 1px solid rgba(255, 255, 255, .16); background: #123d5d; }
.ff-dock-wa { border: 1px solid rgba(255, 255, 255, .28); background: #25d366; animation: ff-dock-pulse 3.2s infinite; }
.ff-dock-req { border: 1px solid rgba(255, 255, 255, .35); background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%); color: #1a1205 !important; }
.ff-dock-label { position: absolute; right: calc(100% + 12px); top: 50%; z-index: 10; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: #0b1d3a; color: #fff !important; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(6px); transition: opacity .18s ease, transform .18s ease; }
.ff-dock-btn:hover .ff-dock-label, .ff-dock-btn:focus-visible .ff-dock-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes ff-dock-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .ff-nav-links { display: none; }
  .ff-phone-link { display: none; }
  .ff-mobile-toggle { display: inline-flex; }
  .ff-mobile-panel { display: block; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .ff-mobile-panel.is-open { max-height: 80vh; overflow-y: auto; border-top: 1px solid var(--line); }
  .ff-mobile-links { display: grid; gap: 4px; padding: 14px 0 20px; }
  .ff-mobile-links a { padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 700; }
  .ff-mobile-links a[aria-current="page"] { color: var(--amber-light); }
  .ff-mobile-links .ff-button { margin-top: 10px; border-bottom: 0; color: #1a1205; }
  .ff-mobile-whatsapp { display: flex; align-items: center; gap: 8px; }
  .tw-contact-panel { grid-template-columns: 1fr; width: min(620px, 100%); }
}

@media (max-width: 820px), (orientation: portrait) and (max-width: 1024px) {
  .ff-container { width: calc(100% - 32px); }
  .ff-topbar { font-size: 10px; letter-spacing: .08em; }
  .ff-topbar span, .ff-topbar strong + span + * { display: none; }
  .ff-brand-logo { height: 44px; }
  .ff-nav-actions .ff-button { display: none; }
  .tw-scene { align-items: flex-end; min-height: 100svh; padding: 48svh 0 7svh; }
  .tw-scene--right .tw-scene-inner { justify-content: flex-start; }
  .tw-hero { padding-top: 46svh; }
  .tw-panel { width: 100%; padding: 22px; border-radius: 20px; background: rgba(5, 15, 34, .84); }
  .tw-stack-list { gap: 55svh; padding: 52svh 0 20svh; }
  .tw-card { width: 100%; }
  .ff-human-grid, .ff-equipment-grid, .tw-plan-grid, .ff-form-grid { grid-template-columns: 1fr; }
  .tw-veil, html[data-tw-side="right"] .tw-veil, html[data-tw-side="none"] .tw-veil { background: linear-gradient(180deg, rgba(3, 10, 24, .3) 0%, rgba(3, 10, 24, 0) 18%, rgba(3, 10, 24, 0) 40%, rgba(3, 10, 24, .55) 100%); }
  .tw-hud { left: 10px; bottom: 12px; padding: 4px; }
  .tw-hud-place { display: none; }
  .tw-hud-btn { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .tw-hud-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .ff-contact-dock { right: max(10px, env(safe-area-inset-right, 10px)) !important; bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important; }
  .ff-dock-inner { gap: 6px; padding: 5px; }
  .ff-dock-btn { width: 42px; height: 42px; }
  .ff-dock-btn:hover { transform: none; }
  .ff-dock-label { display: none !important; }
  .ff-footer-inner { flex-direction: column; }
  .ff-footer-right { justify-items: start; text-align: left; }
  .ff-faq-answer p { padding-left: 18px; }
  .tw-lane { grid-template-columns: 1fr auto; }
  .tw-lane b { grid-column: 1 / -1; }
  .ff-button { white-space: normal; text-align: center; }
  .tw-title { font-size: clamp(32px, 9vw, 44px); }
}
@media (max-width: 782px) { .admin-bar .ff-nav { top: 0; } }
@media (max-height: 520px) and (orientation: landscape) {
  .tw-scene { min-height: 0; padding: 40px 0; align-items: center; }
  .tw-stack-list { gap: 40vh; padding: 30vh 0; }
}

/* OPPO/ColorOS: avoid transformed, animated fixed layers that some versions drop */
@media (max-width: 1100px), (max-height: 520px) {
  html.ff-oppo-device .ff-contact-dock { position: fixed !important; right: 14px !important; bottom: 18px !important; display: flex !important; visibility: visible !important; opacity: 1 !important; z-index: 999999 !important; animation: none !important; transform: none !important; }
  html.ff-oppo-device .ff-dock-wa { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
html.tw-still .tw-scroll-cue span::after, html.tw-still .tw-hud-dot, html.tw-still .ff-dock-wa { animation: none; }
html.tw-still { scroll-behavior: auto; }

/* ================================================================== */
/* v5: cinematic 3D layer                                              */
/* ================================================================== */

/* Intro: a synthwave interstate that runs while the WebGL world loads */
.tw-intro { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; perspective: 340px; perspective-origin: 62% 46%; transition: opacity 1.2s ease .2s, visibility 0s linear 1.4s; }
html:not(.ff-js) .tw-intro, html.tw-no-webgl .tw-intro { display: none; }
html.tw-ready .tw-intro { opacity: 0; visibility: hidden; }
.tw-intro-sky { position: absolute; inset: 0; background: radial-gradient(120% 70% at 62% 46%, #ffb067 0%, #c9637a 22%, #3a2f6b 48%, #0b1a33 75%); }
.tw-intro-sun { position: absolute; left: 62%; top: 46%; width: 180px; height: 180px; margin: -150px 0 0 -90px; border-radius: 50%; background: radial-gradient(circle, #fff1c8 0%, #ffb35c 45%, rgba(255, 140, 70, 0) 70%); filter: blur(2px); animation: tw-sun 4s ease-in-out infinite alternate; }
.tw-intro-road { position: absolute; left: -60%; right: -60%; top: 46%; height: 140%; transform: rotateX(78deg); transform-origin: 50% 0; background: linear-gradient(90deg, transparent 0 34%, rgba(19, 180, 214, .7) 34.2% 34.6%, #11131a 34.8% 65.2%, rgba(19, 180, 214, .7) 65.4% 65.8%, transparent 66%), repeating-linear-gradient(90deg, rgba(255, 162, 26, .35) 0 2px, transparent 2px 80px), repeating-linear-gradient(0deg, rgba(255, 162, 26, .35) 0 2px, transparent 2px 80px), #0b1226; background-size: 100% 100%, 100% 100%, 100% 160px; animation: tw-grid 1.1s linear infinite; }
.tw-intro-road i { position: absolute; left: 49.6%; top: 0; bottom: 0; width: .8%; background: repeating-linear-gradient(0deg, #ffd27a 0 70px, transparent 70px 160px); animation: tw-dash 1.1s linear infinite; }
@keyframes tw-grid { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 0 160px; } }
@keyframes tw-dash { from { background-position: 0 0; } to { background-position: 0 160px; } }
@keyframes tw-sun { from { transform: translateY(0) scale(1); } to { transform: translateY(10px) scale(1.04); } }

/* Soft light that follows the cursor across the world */
.tw-cursor-light { position: absolute; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 120, .10) 0%, rgba(19, 180, 214, .05) 35%, transparent 65%); mix-blend-mode: screen; opacity: 0; pointer-events: none; transition: opacity .6s ease; will-change: transform; }
.tw-cursor-light.is-on { opacity: 1; }
html.tw-still .tw-cursor-light { display: none; }

/* Route progress: a little truck drives along the top edge as you scroll */
.tw-progress { position: fixed; z-index: 55; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.tw-progress-road { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--tw-progress, 0)); background: linear-gradient(90deg, var(--cyan), var(--amber)); box-shadow: 0 0 12px rgba(255, 162, 26, .6); }
.tw-progress-road::after { content: ''; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #fff6dc; box-shadow: 0 0 10px 3px rgba(255, 200, 120, .9), 0 0 24px 6px rgba(255, 162, 26, .45); transform: scaleX(calc(1 / max(var(--tw-progress, 0), .001))); transform-origin: 100% 50%; }
.admin-bar .tw-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .tw-progress { top: 46px; } }
html:not(.ff-js) .tw-progress { display: none; }

/* Glass panels live in 3D space: they tilt toward the cursor and catch a specular glint */
html.tw-ui3d .tw-panel { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .9s ease, box-shadow .4s ease; }
html.tw-ui3d .tw-panel.is-tilting { transition: transform .12s linear, opacity .9s ease, box-shadow .4s ease; box-shadow: 0 40px 90px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 162, 26, .12), 0 2px 0 rgba(255, 255, 255, .05) inset; }
.tw-panel::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .08), transparent 42%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.tw-panel.is-tilting::after { opacity: 1; }
/* ...and rise out of the scene as they scroll into view */
html.tw-ui3d .tw-panel.tw-reveal:not(.is-in) { opacity: 0; transform: perspective(1400px) translate3d(0, 70px, -140px) rotateX(12deg); }

/* Cards: lifted tiles with depth */
.ff-human-card, .ff-equipment-link, .tw-plan, .tw-spec { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, background .2s ease, box-shadow .3s ease; }
.ff-human-card.is-tilting, .ff-equipment-link.is-tilting, .tw-plan.is-tilting, .tw-spec.is-tilting { transition: transform .1s linear, border-color .2s ease, background .2s ease, box-shadow .3s ease; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border-color: rgba(255, 162, 26, .45); }
.ff-human-card svg { transition: transform .3s ease, filter .3s ease; }
.ff-human-card:hover svg { transform: scale(1.18) translateY(-2px); filter: drop-shadow(0 6px 10px rgba(255, 162, 26, .45)); }

/* Buttons: keycaps with a real edge */
.ff-button-primary { box-shadow: 0 4px 0 #b86a00, 0 10px 30px rgba(255, 162, 26, .32); }
.ff-button-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #b86a00, 0 16px 36px rgba(255, 162, 26, .45); }
.ff-button-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 #b86a00, 0 6px 16px rgba(255, 162, 26, .3); }
.tw-ghost:active, .ff-button-quiet:active { transform: translateY(2px); }

/* Headline depth */
.tw-title, .tw-panel > .ff-section-title { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)) drop-shadow(0 12px 26px rgba(0, 0, 0, .35)); }

/* HUD: time-of-day control */
.tw-hud-btn[data-tw-daynight][data-mode="night"] { border-color: var(--cyan); color: var(--cyan-soft); }
.tw-hud-btn[data-tw-daynight][data-mode="day"] { border-color: var(--amber); color: var(--amber-light); }

/* Social profile links */
.ff-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.ff-social-link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--text) !important; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, border-color .2s ease, color .2s ease; }
.ff-social-link:hover, .ff-social-link:focus-visible { transform: translateY(-3px) rotateX(12deg); border-color: var(--amber); background: rgba(255, 162, 26, .16); color: var(--amber-light) !important; }
.ff-social--footer { justify-content: flex-end; }
.ff-social-title { margin: 18px 0 6px; color: var(--text-dim); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 820px), (orientation: portrait) and (max-width: 1024px) {
  .ff-social--footer { justify-content: flex-start; }
  html.tw-ui3d .tw-panel.tw-reveal:not(.is-in) { transform: translate3d(0, 40px, 0); }
}

/* Calm settings: no tilt, no reveal motion, no intro animation */
html.tw-still .tw-panel, html.tw-still .tw-panel.tw-reveal:not(.is-in), html.tw-still .ff-human-card, html.tw-still .ff-equipment-link, html.tw-still .tw-plan, html.tw-still .tw-spec { transform: none !important; opacity: 1 !important; }
html.tw-still .tw-intro-road, html.tw-still .tw-intro-road i, html.tw-still .tw-intro-sun { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html.tw-ui3d .tw-panel.tw-reveal:not(.is-in) { opacity: 1; transform: none; }
  .tw-intro-road, .tw-intro-road i, .tw-intro-sun { animation: none; }
}
@media print {
  html.tw-ui3d .tw-panel, html.tw-ui3d .tw-panel.tw-reveal { opacity: 1 !important; transform: none !important; }
  .tw-world, .tw-hud, .tw-progress, .ff-contact-dock { display: none !important; }
}
