/* ============================================================
   FEPMOT LIMITED — SHARED STYLESHEET
   One file, loaded by every page (public + dashboard).
   Convention: one CSS rule per line.
   Tokens flip between light (default) and dark (html.dark).
   ============================================================ */

/* ---------- design tokens · light (default) ---------- */
:root{ --white:#ffffff; --fog-050:#f5f9fc; --fog-100:#eaf1f6; --navy-950:#0a1b2b; --navy-800:#13314c; --navy-700:#1c4568; --steel-600:#48627a; --steel-400:#7d93a6; --steel-300:#a7bbca; --accent:#2a7cc9; --accent-600:#2168ab; --accent-700:#195386; --accent-050:rgba(42,124,201,0.07); --accent-100:rgba(42,124,201,0.13); --amber:#b9761f; --amber-050:rgba(185,118,31,0.08); --line:rgba(10,27,43,0.10); --line-strong:rgba(10,27,43,0.18); --solid:#0a1b2b; --solid-text:#ffffff; --solid-muted:#b7c8d6; --solid-accent:#7fb4e6; --glass:rgba(255,255,255,0.92); --glass-soft:rgba(255,255,255,0.85); --glass-weak:rgba(255,255,255,0.80); --header-bg:rgba(255,255,255,0.90); --font-display:'Space Grotesk','Arial Narrow',sans-serif; --font-body:'Inter',-apple-system,BlinkMacSystemFont,sans-serif; --font-mono:'IBM Plex Mono','SFMono-Regular',monospace; --container:1240px; --edge:clamp(20px,5vw,64px); --header-h:78px; --sidebar-w:236px; }

/* ---------- design tokens · dark mode ---------- */
html.dark{ --white:#0a1420; --fog-050:#0f1b2a; --fog-100:#16283c; --navy-950:#e6eef5; --navy-800:#d3e0ea; --navy-700:#b7cadb; --steel-600:#9db1c3; --steel-400:#7a90a4; --steel-300:#5b7184; --accent:#4a9ce0; --accent-600:#5fa4e0; --accent-700:#7fb4e6; --accent-050:rgba(84,158,228,0.14); --accent-100:rgba(84,158,228,0.22); --amber:#d6a24c; --amber-050:rgba(214,162,76,0.14); --line:rgba(230,238,245,0.10); --line-strong:rgba(230,238,245,0.18); --solid:#12283d; --solid-text:#e6eef5; --solid-muted:#b7c8d6; --solid-accent:#7fb4e6; --glass:rgba(13,24,38,0.92); --glass-soft:rgba(13,24,38,0.85); --glass-weak:rgba(13,24,38,0.80); --header-bg:rgba(10,20,32,0.88); }
html.dark header{ box-shadow:none; }
html.dark .mega{ box-shadow:0 24px 48px -12px rgba(0,0,0,0.5); }
html.dark .fleet-card:hover, html.dark .proj-row:hover{ box-shadow:0 18px 32px -14px rgba(0,0,0,0.5); }
html.dark .cta-band{ background:#0c1c2e; }
html.dark .cta-band::after{ border-color:rgba(127,180,230,0.18); }
html.dark .cta-band .btn-accent{ box-shadow:0 16px 36px -12px rgba(0,0,0,0.6); }

/* ---------- reset & base ---------- */
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{ background:var(--white); color:var(--navy-950); font-family:var(--font-body); line-height:1.5; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; background:none; border:0;}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}
::selection{ background:var(--accent); color:var(--solid-text); }
::-webkit-scrollbar{ width:3px; height:5px; }
::-webkit-scrollbar-thumb{ background:var(--steel-300); border-radius:5px; }
.wrap{ max-width:var(--container); margin:0 auto; padding-left:var(--edge); padding-right:var(--edge); }
.eyebrow{ font-family:var(--font-mono); font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent-600); display:flex; align-items:center; gap:10px; }
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--accent-600); display:inline-block; }
h1,h2,h3,h4{font-family:var(--font-display); font-weight:600; letter-spacing:-0.01em; color:var(--navy-950);}
b,strong{ color:var(--accent-700); }
.chart-grid{ position:absolute; inset:0; background-image:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size:56px 56px; -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 75%, transparent); mask-image:linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 75%, transparent); pointer-events:none; }

/* ---------- photo slot ---------- */
.photo-slot{ position:relative; overflow:hidden; background:linear-gradient(155deg, var(--fog-100), var(--fog-050)); border:1px solid var(--line); }
.photo-slot img{width:100%; height:100%; object-fit:cover; position:absolute; inset:0;}
.photo-slot .ph-tag{ position:absolute; left:14px; bottom:14px; z-index:2; font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--steel-600); background:var(--glass-soft); border:1px solid var(--line); padding:5px 9px; border-radius:2px; backdrop-filter:blur(4px); }

/* ---------- theme toggle ---------- */
.theme-toggle{ width:38px; height:38px; border:1px solid var(--line-strong); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--steel-600); background:var(--glass-weak); transition:color .2s ease, border-color .2s ease; flex-shrink:0; }
.theme-toggle:hover{ color:var(--accent); border-color:var(--accent); }
.theme-toggle svg{ width:16px; height:16px; }

/* ---------- header ---------- */
header{ position:fixed; top:0; left:0; right:0; z-index:200; background:var(--header-bg); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav{ max-width:var(--container); margin:0 auto; padding:0 var(--edge); height:var(--header-h); display:flex; align-items:center; justify-content:space-between; }
.logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:19px; color:var(--navy-950); }
.logo .mark{ width:34px; height:34px; border:1.5px solid var(--accent); border-radius:3px; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:11px; color:var(--accent-700); font-weight:600; position:relative; background:var(--accent-050); }
.logo small{ display:block; font-family:var(--font-mono); font-weight:500; font-size:7px; letter-spacing:0.1em; color:var(--steel-400); margin-top:-3px; }
.nav-links{ display:flex; align-items:center; gap:4px; height:100%; }
.nav-item{ position:relative; height:100%; display:flex; align-items:center; }
.nav-trigger{ display:flex; align-items:center; gap:6px; height:100%; font-size:14px; font-weight:500; color:var(--steel-600); padding:0 16px; border-bottom:2px solid transparent; transition:color 0.2s ease; }
.nav-trigger .caret{ width:8px; height:8px; border-right:1.4px solid currentColor; border-bottom:1.4px solid currentColor; transform:rotate(45deg); margin-top:-3px; transition:transform 0.2s ease; opacity:0.7; }
.nav-item:hover .nav-trigger, .nav-item.open .nav-trigger{ color:var(--navy-950); }
.nav-item.open .nav-trigger, .nav-item:hover .nav-trigger{ border-bottom-color:var(--accent); }
.nav-item.open .nav-trigger .caret, .nav-item:hover .nav-trigger .caret{ transform:rotate(225deg); margin-top:3px; }
.nav-plain{ font-size:14px; font-weight:500; color:var(--steel-600); padding:0 16px; height:100%; display:flex; align-items:center; border-bottom:2px solid transparent; transition:color 0.2s ease; }
.nav-plain:hover{ color:var(--navy-950); }
.nav-right{ display:flex; align-items:center; gap:16px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--font-mono); font-size:12.5px; font-weight:500; letter-spacing:0.05em; text-transform:uppercase; padding:12px 22px; border-radius:2px; border:1px solid transparent; transition:all 0.2s ease; white-space:nowrap; }
.btn-primary{ background:var(--solid); color:var(--solid-text); border-color:var(--solid); }
.btn-primary:hover{ background:var(--accent); border-color:var(--accent); transform:translateY(-1px); }
.btn-accent{ background:var(--accent); color:#fff; border-color:var(--accent); }
.btn-accent:hover{ background:var(--accent-600); border-color:var(--accent-600); }
.btn-ghost{ border-color:var(--line-strong); color:var(--navy-950); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent-700); }
.btn-small{ padding:9px 16px; font-size:11px; }

/* ---------- mega menu panels ---------- */
.mega{ display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); background:var(--white); border:1px solid var(--line); border-top:none; box-shadow:0 24px 48px -12px rgba(10,27,43,0.16); border-radius:0 0 8px 8px; padding:32px; z-index:150; animation:fadeIn .18s ease; }
.nav-item:hover .mega, .nav-item.open .mega{ display:grid; }
.mega-services{ width:min(760px,86vw); grid-template-columns:1.4fr 1fr; gap:36px; }
.mega-col-title{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--steel-400); margin-bottom:14px; }
.mega-svc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.mega-link{ display:flex; align-items:flex-start; gap:12px; padding:11px 10px; border-radius:6px; transition:background 0.15s ease; }
.mega-link:hover{ background:var(--fog-050); }
.mega-link .ic{ width:32px; height:32px; border-radius:6px; background:var(--accent-050); color:var(--accent-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:14px; }
.mega-link .ic svg{ width:16px; height:16px; }
.mega-link .tx b{ display:block; font-size:13.5px; font-weight:600; color:var(--navy-950); }
.mega-link .tx span{ display:block; font-size:12px; color:var(--steel-400); margin-top:2px; line-height:1.4; }
.mega-feature{ background:var(--solid); border-radius:8px; padding:26px; color:var(--solid-text); display:flex; flex-direction:column; height:100%; }
.mega-feature .eyebrow{ color:var(--solid-accent); }
.mega-feature .eyebrow::before{ background:var(--solid-accent); }
.mega-feature h5{ font-family:var(--font-display); font-size:19px; margin:14px 0 10px; line-height:1.25; color:var(--solid-text); }
.mega-feature p{ font-size:13px; color:var(--solid-muted); line-height:1.55; margin-bottom:18px; }
.mega-feature .btn{ margin-top:auto; align-self:flex-start; }
.mega-simple{ width:min(520px,86vw); grid-template-columns:1fr 1fr; gap:6px; }

/* ---------- mobile menu ---------- */
.mobile-menu{ display:none; position:fixed; inset:var(--header-h) 0 0 0; z-index:199; background:var(--white); overflow-y:auto; padding:12px var(--edge) 40px; }
.mobile-menu.open{ display:block; }
.m-group{ border-bottom:1px solid var(--line); }
.m-head{ width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 4px; font-size:16px; font-weight:600; color:var(--navy-950); }
.m-panel{ display:none; padding:0 4px 18px; }
.m-panel.open{ display:block; }
.m-panel a{ display:block; padding:10px 0; font-size:14.5px; color:var(--steel-600); }
.m-head .plus{ font-family:var(--font-mono); font-size:18px; color:var(--steel-400); }
.burger{ display:none; flex-direction:column; gap:5px; padding:6px; }
.burger span{ width:22px; height:2px; background:var(--navy-950); }

/* ---------- hero ---------- */
.hero{ position:relative; min-height:92vh; display:flex; align-items:center; padding-top:var(--header-h); overflow:hidden; background:var(--white); }
.hero::before{ content:''; position:absolute; inset:0; background:radial-gradient(ellipse 900px 520px at 86% 4%, var(--accent-100), transparent 62%), var(--white); }
.hero-inner{ position:relative; z-index:2; max-width:var(--container); margin:0 auto; padding:64px var(--edge); width:100%; display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center; }
.hero-coord{ font-family:var(--font-mono); font-size:12px; color:var(--steel-400); letter-spacing:0.06em; margin-bottom:26px; display:flex; gap:16px; flex-wrap:wrap; }
.hero-coord span{ color:var(--accent-700); font-weight:500; }
.hero h1{ font-size:clamp(36px,4.6vw,60px); line-height:1.05; margin-bottom:22px; animation:fadeUp .5s ease; }
.hero h1 em{ color:var(--accent); font-style:normal; }
.hero p.lede{ font-size:17px; color:var(--steel-600); max-width:46ch; margin-bottom:34px; line-height:1.65; animation:fadeUp .5s ease .08s both; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:52px; animation:fadeUp .5s ease .16s both; }
.hero-strip{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); padding-top:22px; animation:fadeUp .5s ease .24s both; }
.hero-strip div{ padding-right:16px; border-right:1px solid var(--line); }
.hero-strip div:last-child{ border-right:none; }
.hero-strip .num{ font-family:var(--font-mono); font-size:20px; color:var(--navy-950); font-weight:600; }
.hero-strip .lbl{ font-family:var(--font-mono); font-size:10.5px; color:var(--steel-400); letter-spacing:0.05em; margin-top:5px; text-transform:uppercase; }
.hero-visual{ position:relative; }
.hero-photo{ aspect-ratio:4/5; border-radius:10px; }
.hero-photo .chart-grid{ opacity:0.6; }
.hero-plate{ position:absolute; left:-28px; bottom:-28px; width:78%; background:var(--glass); border:1px solid var(--line); border-radius:8px; padding:18px 20px; box-shadow:0 20px 40px -14px rgba(10,27,43,0.18); }
.hero-plate .row{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:11.5px; color:var(--steel-600); padding:6px 0; border-bottom:1px solid var(--line); }
.hero-plate .row:last-child{ border-bottom:none; }
.hero-plate .row b{ color:var(--navy-950); font-weight:600; }

/* ---------- section shell ---------- */
section{ position:relative; padding:104px 0; }
section.alt{ background:var(--fog-050); }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-top:14px; line-height:1.1; }
.section-head p{ color:var(--steel-600); margin-top:16px; font-size:16px; max-width:56ch; line-height:1.65; }
.section-foot{ margin-top:48px; }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center; }
.about-panel{ aspect-ratio:4/5; position:relative; border-radius:8px; overflow:hidden; }
.about-panel .compass{ position:absolute; top:22px; right:22px; width:48px; height:48px; border:1px solid var(--line-strong); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--accent-700); background:var(--glass-weak); backdrop-filter:blur(4px); z-index:2; }
.about-panel .compass svg{ width:20px; height:20px; }
.about-panel .plate{ position:absolute; left:22px; right:22px; bottom:22px; background:var(--glass); border:1px solid var(--line-strong); border-radius:6px; padding:18px; backdrop-filter:blur(6px); z-index:2; }
.about-panel .plate .row{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:12px; color:var(--steel-600); padding:6px 0; border-bottom:1px solid var(--line); }
.about-panel .plate .row:last-child{ border-bottom:none; }
.about-panel .plate .row b{ color:var(--navy-950); font-weight:600; }
.about-copy h2{ font-size:clamp(26px,3.2vw,36px); margin:16px 0 20px; line-height:1.15; }
.about-copy p{ color:var(--steel-600); font-size:16px; line-height:1.7; margin-bottom:16px; max-width:52ch; }
.link-more{ display:inline-flex; align-items:center; gap:8px; margin-top:10px; font-family:var(--font-mono); font-size:13px; color:var(--accent-700); font-weight:500; }
.link-more::after{ content:'→'; transition:transform 0.2s ease; }
.link-more:hover::after{ transform:translateX(4px); }

/* ---------- services ---------- */
.svc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.svc-card{ background:var(--white); padding:30px 26px; min-height:210px; display:flex; flex-direction:column; gap:16px; transition:background 0.2s ease; }
.svc-card:hover{ background:var(--fog-050); }
.svc-num{ font-family:var(--font-mono); font-size:11px; color:var(--steel-400); letter-spacing:0.06em; }
.svc-icon{ width:38px; height:38px; border-radius:8px; background:var(--accent-050); display:flex; align-items:center; justify-content:center; color:var(--accent-700); }
.svc-icon svg{ width:18px; height:18px; }
.svc-card h4{ font-size:16.5px; margin-top:auto; line-height:1.3; }
.svc-card p{ font-size:13.5px; color:var(--steel-400); line-height:1.55; }

/* ---------- fleet ---------- */
.fleet-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.fleet-card{ border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--white); display:flex; flex-direction:column; transition:transform 0.22s ease, box-shadow 0.22s ease; }
.fleet-card:hover{ transform:translateY(-4px); box-shadow:0 18px 32px -14px rgba(10,27,43,0.18); }
.fleet-visual{ aspect-ratio:1/1; position:relative; display:flex; align-items:center; justify-content:center; }
.fleet-visual svg{ width:52%; height:52%; opacity:0.9; position:relative; z-index:2; }
.fleet-body{ padding:16px 18px 20px; }
.fleet-body .tag{ font-family:var(--font-mono); font-size:10px; color:var(--accent-700); letter-spacing:0.07em; text-transform:uppercase; }
.fleet-body h4{ font-size:15.5px; margin-top:7px; }
.fleet-body p{ font-size:12.5px; color:var(--steel-400); margin-top:6px; line-height:1.5; }

/* ---------- why ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.why-item{ background:var(--white); padding:34px 30px; }
.why-item .check{ width:30px; height:30px; border-radius:50%; background:var(--accent-050); color:var(--accent-700); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.why-item .check svg{ width:13px; height:13px; }
.why-item h4{ font-size:16px; color:var(--navy-950); margin-bottom:8px; }
.why-item p{ font-size:13.5px; color:var(--steel-600); line-height:1.55; }

/* ---------- projects ---------- */
.proj-list{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
.proj-row{ display:grid; grid-template-columns:56px 1.4fr 1fr 1fr 84px; gap:20px; align-items:center; padding:24px 8px; border-bottom:1px solid var(--line); border-radius:6px; transition:background 0.2s ease; }
.proj-row:hover{ background:var(--white); box-shadow:0 2px 16px rgba(10,27,43,0.06); }
.proj-row .yr{ font-family:var(--font-mono); font-size:13px; color:var(--steel-400); }
.proj-row h4{ font-size:16.5px; font-weight:500; }
.proj-row .meta{ font-family:var(--font-mono); font-size:11.5px; color:var(--steel-400); text-transform:uppercase; letter-spacing:0.04em; }
.proj-row .arrow{ justify-self:end; color:var(--accent-700); font-family:var(--font-mono); }

/* ---------- hse ---------- */
.hse .eyebrow{ color:var(--amber); }
.hse .eyebrow::before{ background:var(--amber); }
.hse-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.hse-list li{ display:flex; gap:18px; padding:20px 0; border-bottom:1px solid var(--line); }
.hse-list li .idx{ font-family:var(--font-mono); font-size:12px; color:var(--amber); min-width:26px; }
.hse-list li h4{ font-size:15.5px; margin-bottom:5px; }
.hse-list li p{ font-size:13.5px; color:var(--steel-600); line-height:1.55; }
.hse-panel{ border:1px solid var(--line); border-radius:10px; padding:34px; position:relative; overflow:hidden; background:var(--white); }
.hse-panel .ring{ width:112px; height:112px; border-radius:50%; border:1px dashed var(--line-strong); display:flex; align-items:center; justify-content:center; margin-bottom:26px; position:relative; z-index:2; }
.hse-panel .ring::before{ content:''; position:absolute; inset:13px; border-radius:50%; border:1px solid var(--amber); }
.hse-panel .ring span{ font-family:var(--font-mono); font-size:10.5px; color:var(--amber); text-align:center; letter-spacing:0.05em; }
.hse-panel p{ color:var(--steel-600); font-size:14.5px; line-height:1.6; position:relative; z-index:2; }

/* ---------- cta band ---------- */
.cta-band{ position:relative; padding:118px 0; text-align:center; overflow:hidden; background:var(--solid); }
.cta-band::before{ content:''; position:absolute; inset:0; background:radial-gradient(ellipse 820px 420px at 50% -10%, rgba(42,124,201,0.42), transparent 64%), radial-gradient(ellipse 560px 320px at 88% 110%, rgba(42,124,201,0.16), transparent 70%); }
.cta-band::after{ content:''; position:absolute; inset:18px; border:1px solid rgba(127,180,230,0.14); border-radius:14px; pointer-events:none; }
.cta-band .chart-grid{ opacity:0.4; }
.cta-ring{ position:absolute; border:1px dashed rgba(127,180,230,0.28); border-radius:50%; pointer-events:none; }
.cta-ring-a{ width:340px; height:340px; top:-170px; left:-120px; }
.cta-ring-b{ width:420px; height:420px; bottom:-260px; right:-140px; }
.cta-inner{ position:relative; z-index:2; max-width:680px; margin:0 auto; padding:0 var(--edge); }
.cta-band .eyebrow{ color:var(--solid-accent); justify-content:center; }
.cta-band .eyebrow::before{ background:var(--solid-accent); }
.cta-band h2{ color:var(--solid-text); font-size:clamp(28px,4vw,44px); margin:16px 0 18px; line-height:1.14; }
.cta-lede{ color:var(--solid-muted); font-size:16px; line-height:1.7; max-width:52ch; margin:0 auto 30px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta-band .btn-accent{ box-shadow:0 16px 36px -14px rgba(42,124,201,0.55); }
.cta-band .btn-ghost{ border-color:rgba(255,255,255,0.3); color:var(--solid-text); }
.cta-band .btn-ghost:hover{ border-color:var(--solid-accent); color:var(--solid-accent); }
.cta-meta{ display:flex; gap:10px 26px; justify-content:center; align-items:center; flex-wrap:wrap; margin-top:34px; padding-top:24px; border-top:1px solid rgba(183,200,214,0.16); }
.cta-meta a, .cta-meta span{ font-family:var(--font-mono); font-size:12px; letter-spacing:0.04em; color:var(--solid-muted); }
.cta-meta a{ display:inline-flex; align-items:center; gap:8px; transition:color 0.2s ease; }
.cta-meta a:hover{ color:var(--solid-accent); }
.cta-meta a::before{ content:''; width:5px; height:5px; border-radius:50%; background:var(--solid-accent); opacity:0.7; }

/* ---------- footer ---------- */
footer{ background:var(--white); border-top:1px solid var(--line); padding:64px 0 28px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid var(--line); }
.foot-brand p{ color:var(--steel-400); font-size:14px; margin-top:16px; line-height:1.6; max-width:32ch; }
.foot-col h5{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--steel-400); margin-bottom:16px; }
.foot-col a{ display:block; color:var(--steel-600); font-size:14px; padding:6px 0; transition:color 0.2s; }
.foot-col a:hover{ color:var(--accent-700); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; flex-wrap:wrap; gap:16px; }
.foot-bottom p{ font-family:var(--font-mono); font-size:12px; color:var(--steel-400); }
.foot-legal{ display:flex; gap:24px; }
.foot-socials{ display:flex; gap:16px; margin-top:16px; }
.foot-socials a{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--steel-400); }
.foot-socials a:hover{ color:var(--accent-700); }
.foot-legal a{ font-size:12px; color:var(--steel-400); }
.foot-legal a:hover{ color:var(--accent-700); }

/* ---------- dashboard shell ---------- */
.app{ display:flex; min-height:100vh; }
.sidebar{ position:fixed; inset:0 auto 0 0; width:var(--sidebar-w); background:var(--fog-050); color:var(--navy-950); border-right:1px solid var(--line); display:flex; flex-direction:column; z-index:80; }
.side-brand{ display:flex; align-items:center; gap:10px; padding:20px 18px; border-bottom:1px solid var(--line); font-family:var(--font-display); font-weight:700; font-size:15px; letter-spacing:1px; color:var(--navy-950); }
.side-brand .mark{ width:32px; height:32px; border:1.5px solid var(--accent); border-radius:3px; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:10px; color:var(--accent-700); font-weight:600; background:var(--accent-050); flex-shrink:0; }
.side-brand small{ display:block; font-family:var(--font-mono); font-weight:500; font-size:8px; letter-spacing:0.16em; color:var(--steel-400); margin-top:1px; }
.side-nav{ flex:1; overflow-y:auto; padding:14px 10px 20px; }
.side-label{ font-family:var(--font-mono); font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:var(--steel-400); padding:20px 12px 6px; }
.side-link{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:6px; font-size:13.5px; color:var(--steel-600); transition:background .15s ease, color .15s ease; }
.side-link:hover{ background:var(--accent-050); color:var(--accent-700); }
.side-link.active{ background:var(--accent); color:#fff; }
.side-link .ic{ width:16px; height:16px; flex-shrink:0; }
.side-badge{ margin-left:auto; font-family:var(--font-mono); font-size:10px; background:var(--accent); color:#fff; border-radius:10px; padding:1px 7px; }
.side-badge.gold{ background:var(--amber); }
.side-foot{ padding:14px; border-top:1px solid var(--line); display:flex; align-items:center; gap:10px; }
.side-avatar{ width:32px; height:32px; border-radius:50%; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:11px; flex-shrink:0; }
.side-foot .who{ font-size:13px; font-weight:600; color:var(--navy-950); }
.side-foot .role{ font-size:11px; color:var(--steel-400); }
.main{ flex:1; margin-left:var(--sidebar-w); min-width:0; }
.topbar{ position:sticky; top:0; z-index:40; height:60px; display:flex; align-items:center; gap:16px; padding:0 24px; background:var(--header-bg); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.hamburger-btn{ display:none; width:38px; height:38px; align-items:center; justify-content:center; border:1px solid var(--line-strong); border-radius:6px; color:var(--steel-600); background:none; cursor:pointer; }
.hamburger-btn svg{ width:16px; height:16px; }
.search{ flex:1; max-width:420px; display:flex; align-items:center; gap:8px; border:1px solid var(--line-strong); border-radius:6px; padding:8px 12px; color:var(--steel-400); background:var(--glass-weak); }
.search svg{ width:15px; height:15px; flex-shrink:0; }
.search input{ flex:1; border:none; outline:none; background:none; font-family:var(--font-body); font-size:13px; color:var(--navy-950); }
.top-actions{ margin-left:auto; display:flex; align-items:center; gap:12px; }
.icon-btn{ position:relative; width:38px; height:38px; border:1px solid var(--line-strong); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--steel-600); }
.icon-btn svg{ width:14px; height:14px; }
.icon-btn .dot{ position:absolute; top:7px; right:7px; width:7px; height:7px; border-radius:50%; background:var(--accent); }
.content{ padding:28px 24px 56px; }
.page-head{ margin-bottom:24px; }
.page-eyebrow{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent-600); }
.page-title{ font-size:clamp(22px,3vw,28px); margin:6px 0 4px; }
.page-sub{ font-size:14px; color:var(--steel-600); }
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px; }
.stat{ border:1px solid var(--line); border-radius:10px; background:var(--white); padding:18px 20px; }
.stat-label{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-400); }
.stat-value{ font-family:var(--font-display); font-size:27px; font-weight:600; color:var(--navy-950); margin:8px 0 4px; line-height:1.1; }
.stat-value small{ font-size:12px; font-family:var(--font-body); font-weight:500; color:var(--steel-400); }
.stat-trend{ font-size:12px; }
.stat-trend.up{ color:var(--good,#4f9e5f); }
.stat-trend.warn-t{ color:var(--amber); }
.stat-trend.flat{ color:var(--steel-400); }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.grid-2.even{ align-items:start; }
.grid-3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; margin-bottom:20px; }
.panel{ border:1px solid var(--line); border-radius:10px; background:var(--white); overflow:hidden; margin-top: 20px; }
.panel-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid var(--line); }
.panel-title{ font-family:var(--font-display); font-size:15px; font-weight:600; color:var(--navy-950); }
.panel-link{ font-family:var(--font-mono); font-size:11px; color:var(--accent-700); }
.panel-link:hover{ color:var(--accent); }
.panel table{ width:100%; border-collapse:collapse; }
.panel table th{ text-align:left; font-family:var(--font-mono); font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-400); font-weight:500; padding:10px 20px; border-bottom:1px solid var(--line); }
.panel table td{ padding:12px 20px; font-size:13.5px; color:var(--steel-600); border-bottom:1px solid var(--line); }
.panel table tr:last-child td{ border-bottom:none; }
.name-cell{ display:flex; align-items:center; gap:10px; font-weight:500; color:var(--navy-950); }
.mini-avatar{ width:28px; height:28px; border-radius:50%; color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:10px; flex-shrink:0; }
.status{ display:inline-flex; align-items:center; font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase; padding:3px 9px; border-radius:20px; }
.status-pending{ background:var(--amber-050); color:var(--amber); }
.status-review{ background:var(--accent-050); color:var(--accent-600); }
.status-approved{ background:rgba(79,158,95,0.12); color:#4f9e5f; }
.status-paid{ background:rgba(79,158,95,0.12); color:#4f9e5f; }
.status-rejected{ background:rgba(232,67,47,0.12); color:#e8432f; }
.lineup-item{ display:flex; align-items:center; gap:14px; padding:12px 20px; border-bottom:1px solid var(--line); }
.lineup-item:last-child{ border-bottom:none; }
.lineup-time{ font-family:var(--font-mono); font-size:12px; color:var(--steel-400); min-width:46px; }
.lineup-name{ font-size:14px; font-weight:500; color:var(--navy-950); }
.lineup-tag{ font-size:11.5px; color:var(--steel-400); margin-top:2px; }
.drag{ margin-left:auto; color:var(--steel-300); }
.activity-item{ display:flex; gap:12px; padding:12px 20px; border-bottom:1px solid var(--line); }
.activity-item:last-child{ border-bottom:none; }
.activity-dot{ width:8px; height:8px; border-radius:50%; margin-top:6px; flex-shrink:0; }
.activity-text{ font-size:13px; color:var(--steel-600); line-height:1.45; }
.activity-text b{ color:var(--navy-950); font-weight:600; }
.activity-time{ font-family:var(--font-mono); font-size:10.5px; color:var(--steel-400); margin-top:3px; }
.sidebar-backdrop{ display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:75; }

/* ---------- dashboard extras ---------- */
.status-inactive{ background:rgba(125,147,166,0.14); color:var(--steel-400); }
.arena-item{ display:flex; align-items:center; gap:12px; padding:11px 20px; border-bottom:1px solid var(--line); }
.arena-item:last-child{ border-bottom:none; }
.arena-rank{ font-family:var(--font-mono); font-size:12px; color:var(--steel-400); min-width:26px; }
.arena-name{ font-size:14px; font-weight:500; color:var(--navy-950); }
.arena-crown{ margin-left:auto; }
.arena-record{ font-family:var(--font-mono); font-size:12px; color:var(--accent-700); }
.challenge-item{ display:flex; align-items:center; gap:12px; padding:11px 20px; border-bottom:1px solid var(--line); }
.challenge-item:last-child{ border-bottom:none; }
.challenge-cat{ font-family:var(--font-mono); font-size:10px; letter-spacing:0.08em; text-transform:uppercase; color:var(--amber); background:var(--amber-050); padding:3px 8px; border-radius:4px; }
.challenge-name{ font-size:13.5px; font-weight:500; color:var(--navy-950); }
.challenge-votes{ margin-left:auto; font-family:var(--font-mono); font-size:12px; color:var(--steel-400); }
.actions-cell{ display:flex; gap:14px; }
.actions-cell a{ font-family:var(--font-mono); font-size:11px; color:var(--accent-700); }
.actions-cell a:hover{ color:var(--accent); }
.actions-cell a.danger{ color:var(--bad,#e8432f); }

/* ---------- filter chips / tabs ---------- */
.filter-chip{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11px; letter-spacing:0.04em; color:var(--steel-600); border:1px solid var(--line-strong); border-radius:20px; padding:6px 14px; background:var(--white); cursor:pointer; }
.filter-chip.active{ background:var(--accent); border-color:var(--accent); color:#fff; }
.tab-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; margin-top:15px; }
.tab-pill{ display:inline-flex; align-items:center; font-family:var(--font-mono); font-size:11px; letter-spacing:0.04em; color:var(--steel-600); border:1px solid var(--line-strong); border-radius:6px; padding:8px 16px; background:var(--white); cursor:pointer; }
.tab-pill.active{ background:var(--accent); border-color:var(--accent); color:#fff; }

/* ---------- form fields (admin modals) ---------- */
.field{ margin-bottom:14px; }
.field label{ display:block; font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-400); margin-bottom:6px; }
.field input, .field select, .field textarea{ width:100%; border:1px solid var(--line-strong); border-radius:6px; padding:10px 12px; font-family:var(--font-body); font-size:13.5px; color:var(--navy-950); background:var(--white); outline:none; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--accent); }
.field select{ appearance:none; }

/* ---------- toasts & modals ---------- */
.fh-toast{ background:var(--solid); color:var(--solid-text); border-radius:6px; padding:12px 18px; font-size:13px; box-shadow:0 10px 30px rgba(0,0,0,0.3); transition:opacity .25s ease; }
.fh-toast.err{ background:var(--bad,#e8432f); color:#fff; }
.fh-modal .modal-content{ background:var(--white); border:1px solid var(--line-strong); border-radius:10px; color:var(--navy-950); }
.fh-modal .modal-title{ color:var(--navy-950); font-family:var(--font-display); font-weight:600; }
.fh-modal .btn-close{ filter:invert(0); }

/* ---------- inline page editor (public site) ---------- */
.fh-inline-control{ position:fixed; right:20px; bottom:20px; z-index:1500; display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.fh-inline-control .fh-ie-toggle{ font-family:var(--font-mono); font-size:12px; letter-spacing:0.04em; padding:11px 16px; border-radius:24px; border:1px solid var(--line-strong); background:var(--glass); color:var(--navy-950); backdrop-filter:blur(8px); box-shadow:0 10px 24px rgba(10,27,43,0.18); }
.fh-inline-control .fh-ie-toggle:hover{ border-color:var(--accent); color:var(--accent-700); }
.fh-inline-control .fh-ie-toggle.fh-edit-on{ background:var(--accent); border-color:var(--accent); color:#fff; }
.fh-ie-badge{ display:none; font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--accent-700); background:var(--accent-050); border:1px solid var(--line); padding:6px 10px; border-radius:4px; }
body.fh-edit-on .fh-ie-badge{ display:block; }
.fh-edit-target{ outline:1.5px dashed var(--accent); outline-offset:2px; cursor:text; }
.fh-inline-editor{ position:absolute; z-index:1600; background:var(--white); border:1px solid var(--line-strong); border-radius:8px; box-shadow:0 18px 40px rgba(10,27,43,0.22); padding:10px; }
.fh-inline-editor textarea{ width:100%; border:1px solid var(--line); border-radius:6px; background:var(--fog-050); color:var(--navy-950); font-family:var(--font-body); font-size:13.5px; padding:8px 10px; resize:vertical; outline:none; }
.fh-inline-editor textarea:focus{ border-color:var(--accent); }
.fh-inline-editor-actions{ display:flex; gap:8px; margin-top:8px; }
.fh-inline-editor-actions button{ font-family:var(--font-mono); font-size:11px; padding:7px 14px; border-radius:4px; }
.fh-ie-save{ background:var(--accent); color:#fff; }
.fh-ie-cancel{ background:none; border:1px solid var(--line-strong); color:var(--steel-600); }
.fh-ie-hint{ font-family:var(--font-mono); font-size:9.5px; color:var(--steel-400); margin-top:6px; }

/* ---------- interior page hero ---------- */
.page-hero{ position:relative; padding-top:calc(var(--header-h) + 84px)!important; padding-bottom:84px; overflow:hidden; background:var(--white); }
.page-hero::before{ content:''; position:absolute; inset:0; background:radial-gradient(ellipse 820px 420px at 82% 0%, var(--accent-100), transparent 62%); }
.page-hero .chart-grid{ opacity:0.5; }
.page-hero-inner{ position:relative; z-index:2; max-width:var(--container); margin:0 auto; padding:0 var(--edge); }
.page-hero .crumbs{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-400); margin-bottom:24px; }
.page-hero .crumbs a{ color:var(--accent-700); }
.page-hero .crumbs a:hover{ color:var(--accent); }
.page-hero .crumbs b{ color:var(--navy-950); font-weight:500; }
.page-hero h1{ font-size:clamp(32px,4vw,52px); line-height:1.08; margin:18px 0 20px; max-width:26ch; }
.page-hero p.lede{ font-size:16.5px; color:var(--steel-600); max-width:54ch; line-height:1.65; }
.page-hero .page-stats{ display:flex; gap:40px; margin-top:44px; flex-wrap:wrap; }
.page-hero .page-stats .num{ font-family:var(--font-mono); font-size:24px; color:var(--navy-950); font-weight:600; }
.page-hero .page-stats .lbl{ font-family:var(--font-mono); font-size:10.5px; color:var(--steel-400); letter-spacing:0.05em; text-transform:uppercase; margin-top:5px; }

/* ---------- interior sections ---------- */
.intro-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center; }
.intro-copy h2{ font-size:clamp(24px,3vw,34px); margin:14px 0 20px; line-height:1.15; }
.intro-copy p{ color:var(--steel-600); font-size:16px; line-height:1.7; margin-bottom:16px; }
.reg-plate{ border:1px solid var(--line); border-radius:10px; background:var(--white); padding:28px; }
.reg-plate .row{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:12.5px; color:var(--steel-600); padding:10px 0; border-bottom:1px solid var(--line); }
.reg-plate .row:last-child{ border-bottom:none; }
.reg-plate .row b{ color:var(--navy-950); font-weight:600; }

/* ---------- team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.team-card{ border:1px solid var(--line); border-radius:10px; background:var(--white); padding:26px 22px; }
.team-avatar{ width:52px; height:52px; border-radius:50%; background:var(--accent-050); color:var(--accent-700); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:15px; font-weight:600; margin-bottom:14px; }
.team-card h4{ font-size:15.5px; line-height:1.3; }
.team-card .team-role{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--accent-600); margin-top:5px; }
.team-card .team-dept{ font-size:12.5px; color:var(--steel-400); margin-top:8px; }

/* ---------- jobs ---------- */
.jobs-list{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
.job-row{ display:flex; align-items:center; gap:20px; padding:22px 8px; border-bottom:1px solid var(--line); border-radius:6px; }
.job-row:hover{ background:var(--white); box-shadow:0 2px 16px rgba(10,27,43,0.06); }
.job-main{ flex:1; }
.job-row h4{ font-size:16.5px; font-weight:500; }
.job-meta{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.04em; text-transform:uppercase; color:var(--steel-400); margin-top:6px; display:flex; gap:18px; flex-wrap:wrap; }
.job-meta b{ color:var(--accent-700); font-weight:500; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:start; }
.form-card{ border:1px solid var(--line); border-radius:10px; background:var(--white); padding:30px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid .full{ grid-column:1/-1; }
.form-field label{ display:block; font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-400); margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea{ width:100%; border:1px solid var(--line-strong); border-radius:6px; padding:11px 13px; font-family:var(--font-body); font-size:14px; color:var(--navy-950); background:var(--white); outline:none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--accent); }
.form-note{ font-family:var(--font-mono); font-size:11px; color:var(--steel-400); margin-top:14px; }
.contact-details{ display:flex; flex-direction:column; gap:14px; }
.contact-item{ border:1px solid var(--line); border-radius:10px; background:var(--white); padding:20px 22px; }
.contact-item .ci-label{ font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-400); margin-bottom:8px; }
.contact-item p, .contact-item a{ font-size:14.5px; color:var(--navy-950); line-height:1.6; }
.contact-item a:hover{ color:var(--accent-700); }

/* ---------- nav active state ---------- */
.nav-item.active .nav-trigger{ color:var(--navy-950); border-bottom-color:var(--accent); }
.nav-plain.active{ color:var(--navy-950); border-bottom-color:var(--accent); }

/* ---------- select2 — clean theme (admin + public) ---------- */
.select2-container--default .select2-selection--single{ height:auto; border:1px solid var(--line-strong); border-radius:6px; padding:9px 12px; background:var(--white); }
.select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:1.5; font-family:var(--font-body); font-size:13.5px; color:var(--navy-950); padding:0 24px 0 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow{ top:50%; transform:translateY(-50%); right:10px; height:auto; }
.select2-container--default .select2-selection--single .select2-selection__arrow b{ border-color:var(--steel-400) transparent transparent; }
.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--single{ border-color:var(--accent); }
.select2-container--default .select2-dropdown{ border:1px solid var(--line-strong); border-radius:6px; box-shadow:0 6px 24px rgba(10,27,43,0.14); overflow:hidden; }
.select2-container--default .select2-results__option{ padding:9px 12px; font-family:var(--font-body); font-size:13.5px; color:var(--steel-600); }
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background:var(--accent-050); color:var(--accent-700); }
.select2-container--default .select2-results__option[aria-selected=true]{ background:var(--accent); color:#fff; }
html.dark .select2-container--default .select2-selection--single{ background:var(--navy-950); border-color:rgba(230,238,245,0.2); }
html.dark .select2-container--default .select2-selection--single .select2-selection__rendered{ color:var(--fog-050); }
html.dark .select2-container--default .select2-dropdown{ background:var(--fog-100); border-color:rgba(230,238,245,0.2); }
html.dark .select2-container--default .select2-results__option{ color:var(--fog-050); }
html.dark .select2-container--default .select2-results__option--highlighted[aria-selected]{ background:rgba(255,255,255,0.07); color:#fff; }
/* ============================================================
   FEPMOT LIMITED — RESPONSIVE
   All @media queries from styles.css. Load AFTER styles.css so
   overrides always win.
   ============================================================ */
@media (max-width:1180px){ .stats{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:1080px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:1080px){ .fleet-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:1080px){ .why-grid{ grid-template-columns:1fr; } }
@media (max-width:1080px){ .about-grid{ grid-template-columns:1fr; gap:40px; } }
@media (max-width:1080px){ .hse-grid{ grid-template-columns:1fr; gap:40px; } }
@media (max-width:1080px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:1080px){ .hero-inner{ grid-template-columns:1fr; gap:48px; } }
@media (max-width:1080px){ .hero-strip{ grid-template-columns:repeat(2,1fr); row-gap:18px; } }
@media (max-width:1080px){ .hero-visual{ max-width:420px; } }
@media (max-width:820px){ .nav-links{ display:none; } }
@media (max-width:820px){ .burger{ display:flex; } }
@media (max-width:760px){ .svc-grid{ grid-template-columns:1fr; } }
@media (max-width:760px){ .fleet-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:760px){ .proj-row{ grid-template-columns:40px 1fr; row-gap:6px; } }
@media (max-width:760px){ .proj-row .meta:nth-of-type(1){ grid-column:2; } }
@media (max-width:760px){ .proj-row .arrow{ display:none; } }
@media (max-width:760px){ .foot-grid{ grid-template-columns:1fr; } }
@media (max-width:760px){ section{ padding:68px 0; } }
@media (max-width:760px){ .hero-coord{ font-size:11px; } }
@media (prefers-reduced-motion: reduce){ *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; } }

/* ---------- dashboard responsive ---------- */
@media (max-width:960px){ .sidebar{ transform:translateX(-100%); transition:transform .25s ease; } }
@media (max-width:960px){ .sidebar.open{ transform:translateX(0); box-shadow:0 0 60px rgba(0,0,0,0.4); } }
@media (max-width:960px){ .main{ margin-left:0; } }
@media (max-width:960px){ .hamburger-btn{ display:flex; } }
@media (max-width:860px){ .stats{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .stats{ grid-template-columns:1fr; } }
@media (max-width:1000px){ .grid-2{ grid-template-columns:1fr; } }
@media (max-width:1180px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:860px){ .grid-3{ grid-template-columns:1fr; } }
@media (max-width:560px){ .topbar{ padding:0 14px; } }
@media (max-width:560px){ .content{ padding:20px 14px 40px; } }
@media (max-width:560px){ .search{ display:none; } }

/* ---------- interior pages responsive ---------- */
@media (max-width:1080px){ .intro-grid{ grid-template-columns:1fr; gap:40px; } }
@media (max-width:1080px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:1080px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } }
@media (max-width:760px){ .page-hero{ padding-top:calc(var(--header-h) + 56px); padding-bottom:56px; } }
@media (max-width:760px){ .page-hero h1{ font-size:clamp(28px,8vw,38px); } }
@media (max-width:760px){ .page-stats{ gap:24px; } }
@media (max-width:760px){ .team-grid{ grid-template-columns:1fr; } }
@media (max-width:760px){ .form-grid{ grid-template-columns:1fr; } }
@media (max-width:760px){ .job-row{ flex-direction:column; align-items:flex-start; gap:14px; } }
@media (max-width:760px){ .job-meta{ gap:10px; } }
/* ============================================================
   FEPMOT LIMITED — KEYFRAMES
   All @keyframes live here, referenced by name from styles.css.
   ============================================================ */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(16px);} to{ opacity:1; transform:translateY(0);} }
@keyframes fadeIn{ from{ opacity:0;} to{ opacity:1;} }
@keyframes pulse{ 0%,100%{ opacity:0.65; transform:scale(1);} 50%{ opacity:1; transform:scale(1.08);} }
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-8px);} }
@keyframes blink{ 0%,100%{ opacity:1;} 50%{ opacity:0.25;} }
@keyframes pop{ 0%{ transform:scale(0.97);} 60%{ transform:scale(1.03);} 100%{ transform:scale(1);} }
/* ============================================================
   FEPMOT SPA — app-level additions
   Sits on top of the brand styles (styles.css, responsive.css,
   keyframes.css) so the SPA reuses the exact site design tokens.
   ============================================================ */

/* ---- App shell / page mounting ---- */
.spa-root { min-height: 100vh; display: flex; flex-direction: column; }
.spa-root > main { flex: 1 0 auto; }
.spa-loading { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--paper, #fff); z-index: 900; transition: opacity .25s ease; }
html.dark .spa-loading { background: #0a1b2b; }
html.dark .spa-loading p { color: var(--steel-300, #a7bbca); }
.spa-loading.is-done { opacity: 0; pointer-events: none; }
.spa-loading-mark { width: 76px; height: 76px; display: grid; place-items: center; animation: spaMarkPulse 1.4s ease-in-out infinite; }
.spa-loading-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(42,124,201,.28)); }
.spa-loading p { color: var(--steel-400); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; animation: spaTextPulse 1.4s ease-in-out infinite; }

@keyframes spaMarkPulse {0%, 100% { transform: scale(1); opacity: .82; }50% { transform: scale(1.09); opacity: 1; }}
@keyframes spaTextPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes spaFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Generic page hero (sub-pages) ---- */
.page-hero { padding: 84px 0 40px; }
.page-hero .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; margin: 14px 0 12px; max-width: 22ch; }
.page-hero .lede { color: var(--steel-600); font-size: 17px; line-height: 1.7; max-width: 56ch; }

/* ---- Detail pages ---- */
.detail-wrap { max-width: 1100px; padding: 0 24px 0px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; color: var(--accent, #2a7cc9); font-size: 14px; font-weight: 600; margin: 34px 0 26px; text-decoration: none; }
.detail-back:hover { text-decoration: underline; }
.detail-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 34px; }
.detail-head h1 { font-size: clamp(28px, 3.8vw, 40px); line-height: 1.1; max-width: 20ch; }
.detail-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line, #e6ecf2); border: 1px solid var(--line, #e6ecf2); margin-bottom: 40px; }
.detail-kv .kv { background: var(--paper, #fff); padding: 18px 20px; }
.detail-kv .kv span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 6px; }
.detail-kv .kv b { font-size: 15px; font-weight: 600; color: var(--navy-950, #0a1b2b); }
.detail-body p { color: var(--steel-600); line-height: 1.75; font-size: 16px; max-width: 70ch; }
.detail-body h3 { margin: 30px 0 12px; font-size: 21px; }

/* ---- Forms (intake + login) ---- */
.fep-form { display: grid; gap: 0; }
.fep-form .field { display: grid; gap: 6px; }
.fep-form label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--navy-950, #0a1b2b); }
.fep-form label .req { color: var(--accent, #2a7cc9); }
.fep-form input, .fep-form select, .fep-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line, #dfe6ee);
  border-radius: 8px; background: var(--paper, #fff); color: var(--navy-950, #0a1b2b);
  font: inherit; font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.fep-form input:focus, .fep-form select:focus, .fep-form textarea:focus {
  outline: none; border-color: var(--accent, #2a7cc9); box-shadow: 0 0 0 3px rgba(42,124,201,.14);
}
.fep-form textarea { min-height: 120px; resize: vertical; }
.fep-form .field.is-invalid input, .fep-form .field.is-invalid textarea, .fep-form .field.is-invalid select { border-color: #d0453a; }
.fep-form .field-error { font-size: 12.5px; color: #d0453a; min-height: 14px; }
.fep-form .btn { justify-content: center; }
.fep-form .btn.is-busy { opacity: .7; pointer-events: none; }
.fep-form-note { font-size: 13px; color: var(--steel-400); }

.form-state { display: none; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 8px; font-size: 14.5px; line-height: 1.5; }
.form-state.is-show { display: flex; }
.form-state.is-ok { background: rgba(26,150,104,.10); color: #147a56; border: 1px solid rgba(26,150,104,.25); }
.form-state.is-err { background: rgba(208,69,58,.08); color: #b3372c; border: 1px solid rgba(208,69,58,.25); }
.form-state .fs-icon { flex: 0 0 auto; font-weight: 700; }

/* ---- Login shell ---- */
.login-page { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 60px 24px; }
.login-card { width: 100%; max-width: 420px; border-radius: 16px; padding: 34px 32px; background: var(--paper, #fff); box-shadow: 0 24px 60px rgba(10,27,43,.08); }
.login-card .logo { margin-bottom: 26px; }
.login-card h1 { font-size: 24px; margin: 0 0 6px; }
.login-card > p { color: var(--steel-600); font-size: 14.5px; margin: 0 0 10px; line-height: 1.6; }
.login-hint { margin-top: 22px; font-size: 12.5px; color: var(--steel-400); border-top: 1px dashed var(--line, #e6ecf2); padding-top: 16px; line-height: 1.7; }
.login-hint code { font-family: "IBM Plex Mono", monospace; background: rgba(10,27,43,.05); padding: 1px 5px; border-radius: 4px; }

.session-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, #e6ecf2); }
.session-strip .who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.session-strip .who b { display: block; font-size: 14px; }
.session-strip .who span { display: block; font-size: 12px; color: var(--steel-400); }

/* ---- 404 / notice ---- */
.notice-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notice-page h1 { font-size: clamp(34px, 6vw, 64px); margin: 0 0 8px; }
.notice-page .eyebrow { margin-bottom: 8px; }
.notice-page p { color: var(--steel-600); max-width: 46ch; margin: 0 auto 26px; line-height: 1.7; }
.error-diagnostics { max-width: 760px; margin: 24px auto 0; padding: 20px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--fog-050); }
.error-diagnostics h3 { margin-bottom: 12px; font-size: 17px; }
.error-diagnostics p { max-width: none; margin: 7px 0; font-family: var(--font-mono); font-size: 12px; overflow-wrap: anywhere; }

/* ---- Shared list grids on sub-pages reuse the home grids ---- */
.spa-list .section-head { margin-bottom: 30px; }

/* dark tweaks for form controls */
.dark .fep-form input, .dark .fep-form select, .dark .fep-form textarea { background: rgba(255,255,255,.04); color: #e8eef5; }
.dark .fep-form label { color: #e8eef5; }
.dark .detail-kv .kv b { color: #e8eef5; }
.dark .login-card { background: var(--navy-950, #0a1b2b); }
.dark .spa-loading { background: var(--navy-950, #0a1b2b); }
html.dark .login-page { background: #0a1420; }
html.dark .login-card { background: #10263c; border: 1px solid rgba(127,180,230,.22); color: #e8eef5; box-shadow: 0 24px 60px rgba(0,0,0,.42); }
html.dark .login-card h1 { color: #fff; }
html.dark .login-card > p, html.dark .login-hint, html.dark .login-forgot { color: #b7c8d6; }
html.dark .login-hint { border-top-color: rgba(183,200,214,.22); }
html.dark .login-hint code { background: rgba(255,255,255,.08); }
/* ============================================================
   FEPMOT admin dashboard (Phase 5)
   Built on the existing dashboard design system in styles.css
   (.sidebar, .topbar, .panel, .stats, .status-*, .icon-btn …).
   ============================================================ */

/* ---- Admin mode hides the public chrome ---- */
body.is-admin header, body.is-admin footer { display: none; }

/* App-style layout: the page itself never scrolls. The content column
   scrolls on its own, the fixed sidebar scrolls independently (its
   .side-nav already carries overflow-y:auto in styles.css). */
body.is-admin { overflow: hidden; height: 100vh; }
body.is-admin #view { height: 100vh; overflow: hidden; }
body.is-admin #view > .page-enter { height: 100%; }

.dash-shell { height: 100%; }
.dash-shell .main { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.dash-shell .topbar { position: relative; top: auto; flex-shrink: 0; }
.dash-shell .side-group { margin-bottom: 4px; }
.dash-shell .content { flex: 1; min-height: 0; overflow-y: auto; padding-top: 20px; }


/* ---- Notification + user dropdowns ---- */
.admin-dd { position: relative; }
.admin-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 300px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 44px rgba(10,27,43,.2); z-index: 120; overflow: hidden; }
.admin-panel[hidden] { display: none; }
.admin-panel-head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.admin-panel-head .who { font-weight: 600; font-size: 13.5px; color: var(--navy-950); }
.admin-panel-head .role { font-size: 11.5px; color: var(--steel-400); font-family: var(--font-mono); }
.admin-panel-body { padding: 16px; }
.admin-menu-link { display: block; padding: 11px 16px; font-size: 13px; color: var(--steel-600); text-decoration: none; border-bottom: 1px solid var(--line); }
.admin-menu-link:hover { background: var(--accent-050); color: var(--accent-700); }
.admin-menu-link.danger { color: var(--bad, #e8432f); }
.user-panel { width: 240px; }

/* ---- Notification feed ---- */
.notif-panel { width: 340px; }
.notif-panel .admin-panel-head { display: flex; align-items: center; justify-content: space-between; }
.notif-panel .admin-panel-head b { font-size: 13.5px; color: var(--navy-950); }
.panel-link { background: none; border: 0; padding: 0; font-size: 12px; color: var(--accent-700); cursor: pointer; font-family: inherit; }
.panel-link:hover { text-decoration: underline; }
#notifDot[hidden] { display: none; }
.notif-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; cursor: pointer; font-family: inherit; }
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--accent-050); }
.notif-item.unread .notif-subject { font-weight: 600; }
.notif-item.unread::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; }
.notif-subject { display: block; font-size: 13px; color: var(--navy-950); }
.notif-body { display: block; font-size: 12px; color: var(--steel-600); margin-top: 3px; }
.notif-time { display: block; font-size: 11px; color: var(--steel-400); font-family: var(--font-mono); margin-top: 5px; }

/* ---- Admin modal / confirm / toast ---- */
.admin-modal { position: fixed; inset: 0; background: rgba(10,27,43,.5); z-index: 400; display: grid; place-items: center; padding: 24px; backdrop-filter: blur(2px); }
.admin-modal .modal-card { width: min(560px, 100%); max-height: 88vh; overflow-y: auto; background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 24px 60px rgba(10,27,43,.3); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 16px; color: var(--navy-950); }
.modal-body { padding: 22px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.confirm-msg { color: var(--steel-600); font-size: 14px; }

.admin-toast { position: fixed; right: 20px; bottom: 20px; z-index: 500; background: var(--solid); color: var(--solid-text); border-radius: 8px; padding: 13px 18px; font-size: 13px; box-shadow: 0 12px 34px rgba(10,27,43,.35); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.admin-toast.is-show { opacity: 1; transform: none; }
.admin-toast.err { background: var(--bad, #e8432f); }

/* ---- Module layout helpers ---- */
.panel-body { padding: 20px 22px; }
.admin-empty { padding: 34px 20px; text-align: center; color: var(--steel-400); }
.admin-empty p { font-size: 14px; color: var(--steel-600); margin-bottom: 6px; }
.admin-empty span { font-size: 12.5px; }
.admin-empty.err p { color: var(--bad, #e8432f); }

.kv-detail { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv-detail:last-child { border-bottom: none; }
.kv-detail > span { color: var(--steel-400); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; flex-shrink: 0; }
.kv-detail > b { color: var(--navy-950); font-weight: 600; text-align: right; word-break: break-word; }
.kv-detail .kv-body { color: var(--steel-600); text-align: right; white-space: pre-wrap; font-size: 13px; }

.detail-back { display: inline-block; font-family: var(--font-mono); font-size: 11px; color: var(--accent-700); margin-bottom: 10px; }
.detail-back:hover { color: var(--accent); }
.detail-danger { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.btn.danger, .btn-ghost.danger { color: var(--bad, #e8432f); border-color: rgba(232,67,47,.35); }
.btn.danger:hover { background: rgba(232,67,47,.08); }

.notice-banner { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: 13px; color: var(--steel-600); background: var(--fog-050); margin-bottom: 18px; }
.notice-banner.ok { border-color: rgba(79,158,95,.4); background: rgba(79,158,95,.08); color: #2f6b3d; }
.settings-publish { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: -4px 0 18px; }
.settings-publish span { color: var(--steel-400); font-size: 12.5px; }

/* ---- Page-text rows ---- */
.pt-row { display: grid; grid-template-columns: minmax(120px, 30%) 1fr auto; gap: 12px; align-items: start; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pt-row:last-child { border-bottom: none; }
.pt-key { font-family: var(--font-mono); font-size: 11px; color: var(--accent-700); padding-top: 8px; word-break: break-word; }
.pt-row textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; padding: 8px 10px; font-family: var(--font-body); font-size: 13px; color: var(--navy-950); background: var(--white); resize: vertical; outline: none; }
.pt-row textarea:focus { border-color: var(--accent); }
.pt-value { color: var(--steel-600); font-size: 13px; white-space: pre-wrap; }

/* ---- Profile / login helpers ---- */
.profile-hero { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.profile-hero h3 { font-size: 17px; color: var(--navy-950); }
.profile-hero p { font-size: 13px; color: var(--steel-400); margin-top: 2px; }
.role-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.login-actions { display: flex; gap: 10px; margin-top: 6px; }
.admin-auth-required { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.admin-auth-required .login-card { width: min(420px, 100%); }
.herostat-row { margin-bottom: 10px; }

.lineup-meta { font-size: 12px; color: var(--steel-400); margin-left: auto; }
.dash-cols { align-items: start; }
.dash-cols .panel { margin-bottom: 18px; }

/* ---- Mobile admin ---- */
@media (max-width: 900px) {
  .dash-shell .sidebar { transform: translateX(-100%); transition: transform .25s ease; }
  .dash-shell.is-open .sidebar { transform: none; }
  .dash-shell.is-open .sidebar-backdrop { display: block; }
  .dash-shell .hamburger-btn { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pt-row { grid-template-columns: 1fr; }
  .pt-key { padding-top: 0; }
  .lineup-meta { margin-left: 0; }
}

/* ---- Content imagery (admin-managed photos) ---- */
.photo-slot img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.team-avatar.team-photo { overflow: hidden; }
.media-picker { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.media-picker select { width: 100%; }
.media-picker-upload { display: flex; align-items: center; gap: 6px; }
.media-picker-upload input[type="file"] { max-width: 150px; font-size: 11px; }
.media-preview { grid-column: 1 / -1; width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--steel-050, #f4f6f8); }

/* ---- Login / recovery pages ---- */
.login-forgot { margin: 14px 0 0; font-size: 13px; }
.login-forgot a { color: var(--accent-700); text-decoration: none; }
.login-forgot a:hover { text-decoration: underline; }

/* ---- Dashboard quick-search ---- */
.search { position: relative; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 14px 34px rgba(10,27,43,.16); z-index: 60; overflow: hidden; padding: 4px; }
.search-results[hidden] { display: none; }
.search-results a { display: block; padding: 9px 12px; font-size: 13px; color: var(--steel-600); text-decoration: none; border-radius: 6px; }
.search-results a:hover { background: var(--accent-050); color: var(--accent-700); }
.search-none { display: block; padding: 9px 12px; font-size: 12.5px; color: var(--steel-400); }

/* ---- Inline page-text editor ---- */
#ptBar { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; box-shadow: 0 16px 40px rgba(10,27,43,.22); }
.pt-btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); background: var(--accent-050); color: var(--accent-700); border-radius: 7px; padding: 8px 13px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.pt-btn:hover { background: var(--accent-100); }
.pt-hint { font-size: 11.5px; color: var(--steel-400); }
.fh-edit-target:hover { outline-color: var(--amber, #b9761f); }
.fh-edit-target:focus { outline: 2px solid var(--accent); cursor: text; }
.pt-saved { outline-color: #4f9e5f !important; }
.pt-error { outline-color: #d0453a !important; }

/* ---- Brand mark (real logo) ---- */
.mark-img { width: 100%; height: 100%; object-fit: contain; background: none !important; border: none !important; padding: 0 !important; }

/* ---- Footer legal chip ---- */
.foot-legal .foot-chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
body.dark .foot-legal .foot-chip { color: var(--steel-300, #a7bbca); border-color: rgba(167,187,202,.22); }

/* Mega link subtitles clamp to one line regardless of blurb length */
.mega-link .tx span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Top page-loading bar (FEPMOT blue, light + dark) ---- */
.top-loader { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; pointer-events: none; opacity: 0; overflow: hidden; background: rgba(10,27,43,.08); transition: opacity .25s ease; }
.top-loader span { display: block; height: 100%; width: 38%; background: linear-gradient(90deg, #0f3a5f 0%, #195386 30%, #2168ab 60%, #2a7cc9 100%); border-radius: 0 3px 3px 0; box-shadow: 0 0 8px rgba(25,83,134,.55); }
.top-loader.is-active { opacity: 1; }
.top-loader.is-active span { animation: topLoaderSweep 1.05s cubic-bezier(.45,.05,.55,.95) infinite; }
.top-loader.is-done { opacity: 0; transition: opacity .3s ease; }
.top-loader.is-done span { width: 100%; transition: width .3s ease; }
html.dark .top-loader { background: rgba(255,255,255,.10); }
@keyframes topLoaderSweep { 0% { transform: translateX(-110%); } 100% { transform: translateX(290%); } }

/* ---- Premium hero stats strip ---- */
.hero-strip { margin-top: 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass-weak, rgba(255,255,255,.8)); backdrop-filter: blur(8px); padding: 4px; box-shadow: 0 18px 44px -22px rgba(10,27,43,.25); }
.hero-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { position: relative; padding: 16px 18px 14px; }
.hero-stat + .hero-stat { border-left: 1px solid var(--line); }
.hero-stat::before { content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: .5; }
.hero-stat .num { font-family: var(--font-display); font-size: 24px; font-weight: 700; background: linear-gradient(120deg, var(--navy-950), var(--accent-700)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400); margin-top: 4px; }
html.dark .hero-strip { background: rgba(16,38,60,.55); border-color: rgba(255,255,255,.12); }
html.dark .hero-stat .num { background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 760px) { .hero-strip-inner { grid-template-columns: repeat(2, 1fr); } .hero-stat:nth-child(3) { border-left: none; } .hero-stat { border-top: 1px solid var(--line); } .hero-stat:nth-child(-n+2) { border-top: none; } }

/* ---- Why FEPMOT (split section) ---- */
.why-fepmot { padding: 96px 0; background: var(--white); }
.why-grid2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why-photo { aspect-ratio: 4/5; border-radius: 12px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.why-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 0; line-height: 1.12; }
.why-lede { color: var(--steel-600); margin: 18px 0 0; line-height: 1.7; font-size: 16px; max-width: 56ch; }
.why-points { list-style: none; margin: 26px 0 0; padding: 0; }
.why-points li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.why-points li:last-child { border-bottom: none; }
.why-points .idx { font-family: var(--font-mono); font-size: 11px; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 6px; padding: 3px 8px; flex-shrink: 0; }
.why-points p { margin: 0; color: var(--steel-600); font-size: 15px; line-height: 1.6; }
.why-copy .link-more { display: inline-block; margin-top: 22px; }
@media (max-width: 900px) { .why-grid2 { grid-template-columns: 1fr; gap: 36px; } .why-photo { aspect-ratio: 16/10; } }

/* About panel photo */
.about-panel img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.about-panel .plate { position: relative; z-index: 2; }

/* ---- Contact: unified premium form ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-panel { position: sticky; top: 24px; background: #fff; color: #0a1b2b; border: 1px solid var(--line); border-radius: 14px; padding: 34px 32px; box-shadow: 0 24px 60px -34px rgba(10,27,43,.28); }
.contact-panel .eyebrow { color: var(--accent-600); }
.contact-panel .eyebrow::before { background: var(--accent-600); }
.contact-panel h2 { color: #0a1b2b; font-size: 24px; margin: 10px 0 8px; }
.c-addr { color: #48627a; font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.c-rows { display: grid; gap: 4px; }
.c-row { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 9px; text-decoration: none; color: inherit; transition: background .15s ease; }
.c-row:hover { background: rgba(42,124,201,.07); }
.c-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; background: rgba(42,124,201,.10); display: grid; place-items: center; color: var(--accent-700); }
.c-ic svg { width: 17px; height: 17px; }
.c-tx { display: flex; flex-direction: column; min-width: 0; }
.c-tx span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #7d93a6; font-family: var(--font-mono); }
.c-tx b { font-size: 14px; color: #0a1b2b; overflow-wrap: anywhere; }
.c-note { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 12.5px; color: #7d93a6; line-height: 1.65; }

/* Contact panel — white in light mode (above), dark surface in dark mode */
html.dark .contact-panel { background: #0f2236; color: #e8eef4; border-color: rgba(230,238,245,.12); box-shadow: 0 24px 60px -34px rgba(0,0,0,.6); }
html.dark .contact-panel .eyebrow { color: var(--solid-accent, #7fb4e6); }
html.dark .contact-panel .eyebrow::before { background: var(--solid-accent, #7fb4e6); }
html.dark .contact-panel h2 { color: #fff; }
html.dark .c-addr, html.dark .c-tx span, html.dark .c-note { color: var(--solid-muted, #b7c8d6); }
html.dark .c-tx b { color: #fff; }
html.dark .c-row:hover { background: rgba(255,255,255,.06); }
html.dark .c-ic { background: rgba(127,180,230,.12); color: var(--solid-accent, #7fb4e6); }
html.dark .c-note { border-top-color: rgba(183,200,214,.25); }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 34px 34px 28px; box-shadow: 0 24px 60px -30px rgba(10,27,43,.3); }
.intent-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--fog-100, #eaf1f6); border-radius: 10px; padding: 5px; margin-bottom: 24px; }
.intent-btn { border: none; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--steel-600); padding: 11px 10px; border-radius: 8px; cursor: pointer; transition: all .18s ease; }
.intent-btn.active { background: var(--white); color: var(--accent-700); box-shadow: 0 3px 12px rgba(10,27,43,.12); }
html.dark .intent-btn.active { background: var(--navy-800, #13314c); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } .contact-panel { position: static; } .contact-card { padding: 24px 20px; } }
.c-privacy { margin: 14px 0 0; font-size: 12px; color: var(--steel-400); text-align: center; }

/* Home hero ghost CTA needs a light border against the dark background in dark mode. */
html.dark .hero .btn-ghost { border-color: rgba(255,255,255,.72); color: #fff; }
html.dark .hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
html.dark .ap-ctas .btn-ghost { border-color: rgba(255,255,255,.72); color: #fff; }
html.dark .ap-ctas .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* Home hero ghost CTA needs a light border against the dark photo in dark mode. */
html.dark .hero .btn-ghost { border-color: rgba(255,255,255,.72); color: #fff; }
html.dark .hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---- Inline editor toolbar (save states) ---- */
.pt-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--steel-400); padding: 0 4px; }
.pt-save { background: var(--accent); color: #fff; border-color: var(--accent-600); }
.pt-save:disabled { opacity: .45; cursor: default; }
.pt-save.has-changes:not(:disabled) { box-shadow: 0 4px 16px rgba(42,124,201,.4); }
.pt-save.is-saving { opacity: .8; pointer-events: none; }
.pt-spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: ptSpin .7s linear infinite; }
@keyframes ptSpin { to { transform: rotate(360deg); } }
.pt-ghost { background: none; border: 1px dashed var(--line-strong); color: var(--steel-600); }
.pt-ghost:hover { color: var(--bad, #d0453a); border-color: var(--bad, #d0453a); }
.fh-edit-target.pt-dirty { outline: 2px dashed var(--amber, #b9761f); }

/* ---- Dark mode: public components ---- */
html.dark .detail-kv { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.12); }
html.dark .detail-kv .kv { background: #13314c; }
html.dark .detail-kv .kv span { color: var(--steel-300, #a7bbca); }
html.dark .detail-kv .kv b { color: #fff; }
html.dark .contact-panel { background: #0e2337; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 24px 60px -30px rgba(0,0,0,.6); }
html.dark .c-ic { background: rgba(127,180,230,.16); }
html.dark .contact-card { background: #10263c; border-color: rgba(255,255,255,.12); }
html.dark .contact-card .fep-form label { color: #e8eef4; }
html.dark .contact-card .fep-form input, html.dark .contact-card .fep-form select, html.dark .contact-card .fep-form textarea { background: #0a1b2b; border-color: rgba(255,255,255,.14); color: #e8eef4; }
html.dark .intent-btn.active { background: #0a1b2b; color: var(--solid-accent, #7fb4e6); }
html.dark .c-privacy { color: var(--steel-300, #a7bbca); }
html.dark .plate, html.dark .hero-plate { background: rgba(16,38,60,.94); border-color: rgba(255,255,255,.14); }
html.dark .plate .row span, html.dark .hero-plate .row span { color: var(--steel-300, #a7bbca); }
html.dark .plate .row b, html.dark .hero-plate .row b { color: #fff; }
html.dark .photo-slot { background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-color: rgba(255,255,255,.12); }

/* ---- About FEPMOT — premium dark feature section ---- */
.about-dark { position: relative; background: linear-gradient(160deg, #0a1b2b 0%, #13314c 100%); padding: 110px 0; overflow: hidden; }
.about-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 800px 500px at 12% 0%, rgba(42,124,201,.18), transparent 60%); pointer-events: none; }
.ap-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }
.ap-visual { position: relative; }
.ap-img { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.ap-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-badge { position: absolute; top: -22px; right: -18px; z-index: 3; background: linear-gradient(135deg, var(--accent), var(--accent-700)); color: #fff; border-radius: 12px; padding: 16px 20px; box-shadow: 0 20px 44px -14px rgba(42,124,201,.6); }
.ap-badge b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1;color: #fff; }
.ap-badge span { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 5px; }
.ap-visual .plate { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; background: rgba(10,27,43,.82); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 16px 18px; }
.ap-visual .plate .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: 13px; }
.ap-visual .plate .row:last-child { border-bottom: none; }
.ap-visual .plate .row span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-300, #a7bbca); }
.ap-visual .plate .row b { color: #fff; font-weight: 600; text-align: right; }
.ap-copy .eyebrow { color: var(--solid-accent, #7fb4e6); }
.ap-copy h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; margin: 14px 0 0; }
.ap-p { color: var(--solid-muted, #b7c8d6); font-size: 16px; line-height: 1.75; margin: 20px 0 0; max-width: 58ch; }
.ap-ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ap-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #dbe6ef; line-height: 1.5; }
.ap-ticks .tick { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: rgba(42,124,201,.22); border: 1px solid rgba(127,180,230,.4); color: var(--solid-accent, #7fb4e6); display: grid; place-items: center; margin-top: 1px; }
.ap-ticks .tick svg { width: 11px; height: 11px; }
.ap-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
@media (max-width: 960px) { .ap-grid { grid-template-columns: 1fr; gap: 48px; } .ap-visual { max-width: 480px; } .ap-ticks { grid-template-columns: 1fr; } }

/* ---- Projects ("Experience") — premium cards ---- */
.proj-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; border-top: none !important; }
.proj-list .proj-row { display: flex; flex-direction: column; align-items: stretch; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.proj-list .proj-row::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 70%); opacity: 0; transition: opacity .22s ease; }
.proj-list .proj-row:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(10,27,43,.25); border-color: var(--accent-100); }
.proj-list .proj-row:hover::before { opacity: 1; }
.proj-list .proj-row .yr { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 999px; padding: 4px 12px; width: fit-content; }
.proj-list .proj-row h4 { font-size: 19px; margin: 2px 0 0; }
.proj-list .proj-row .meta { display: inline-flex; align-items: center; gap: 7px; color: var(--steel-600); font-size: 13.5px; }
.proj-list .proj-row .meta::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .6; }
.proj-list .proj-row .arrow { position: absolute; right: 22px; top: 24px; color: var(--steel-400); transition: transform .22s ease, color .22s ease; }
.proj-list .proj-row:hover .arrow { transform: translateX(5px); color: var(--accent-700); }
html.dark .proj-list .proj-row { background: #10263c; border-color: rgba(255,255,255,.1); }
html.dark .proj-list .proj-row .yr { background: rgba(42,124,201,.16); color: var(--solid-accent, #7fb4e6); border-color: rgba(127,180,230,.3); }
html.dark .proj-list .proj-row .meta { color: var(--steel-300, #a7bbca); }
@media (max-width: 640px) { .proj-list { grid-template-columns: 1fr; } }

/* ---- Fleet cards — premium polish ---- */
.fleet-card { position: relative; }
.fleet-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 80%); opacity: 0; transition: opacity .22s ease; z-index: 2; }
.fleet-card:hover::before { opacity: 1; }
.fleet-card .fleet-visual img { transition: transform .5s ease; }
.fleet-card:hover .fleet-visual img { transform: scale(1.05); }
.fleet-card .fleet-body .tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 999px; padding: 3px 10px; }
html.dark .fleet-card { background: #10263c; border-color: rgba(255,255,255,.1); }
html.dark .fleet-card .fleet-body .tag { background: rgba(42,124,201,.16); color: var(--solid-accent, #7fb4e6); border-color: rgba(127,180,230,.3); }
html.dark .fleet-card h4 { color: #fff; }
html.dark .fleet-card p { color: var(--steel-300, #a7bbca); }

/* ---- Jobs — premium role cards ---- */
.job-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.job-row { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; text-decoration: none; position: relative; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.job-row:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(10,27,43,.25); border-color: var(--accent-100); }
.job-row::after { content: '→'; position: absolute; right: 24px; top: 24px; color: var(--steel-400); transition: transform .22s ease, color .22s ease; }
.job-row:hover::after { transform: translateX(5px); color: var(--accent-700); }
.job-row .job-main h4 { font-size: 18px; margin: 0 0 12px; padding-right: 30px; }
.job-row .job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-row .job-meta span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-600); background: var(--fog-100, #eaf1f6); border-radius: 999px; padding: 5px 11px; }
.job-row .job-meta b { color: var(--navy-950); font-weight: 600; }
.job-row .btn { align-self: flex-start; }
html.dark .job-row { background: #10263c; border-color: rgba(255,255,255,.1); }
html.dark .job-row .job-meta span { background: rgba(255,255,255,.07); color: var(--steel-300, #a7bbca); }
html.dark .job-row .job-meta b { color: #fff; }
html.dark .job-row h4 { color: #fff; }
@media (max-width: 640px) { .job-list { grid-template-columns: 1fr; } }

/* ---- Services grid — premium polish ---- */
.svc-card { position: relative; background: var(--white); transition: transform .22s ease, box-shadow .22s ease; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 80%); opacity: 0; transition: opacity .22s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(10,27,43,.22); }
.svc-card:hover::before { opacity: 1; }
.svc-card .svc-icon svg { transition: transform .25s ease; }
.svc-card:hover .svc-icon svg { transform: translateY(-3px) scale(1.06); color: var(--accent-700); }
html.dark .svc-card { background: #10263c; }
html.dark .svc-card h4 { color: #fff; }
html.dark .svc-card p { color: var(--steel-300, #a7bbca); }
html.dark .svc-card .svc-num { color: var(--steel-400); }

/* ---- Section heads + CTA band ---- */
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.section-head .eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.cta-band { background: linear-gradient(150deg, var(--navy-950, #0a1b2b), var(--navy-800, #13314c)); }
.cta-band::after { opacity: .5; }

/* ---- Dark mode: redesigned sections ---- */
html.dark .why-fepmot { background: #0a1420; }
html.dark .why-copy h2 { color: #fff; }
html.dark .why-lede { color: #a7bbca; }
html.dark .why-points li { border-color: rgba(255,255,255,.09); }
html.dark .why-points p { color: #a7bbca; }
html.dark .why-points .idx { background: rgba(84,158,228,.14); border-color: rgba(84,158,228,.3); color: #7fb4e6; }
html.dark .section-head h2 { color: #fff; }
html.dark .section-head p { color: #a7bbca; }
html.dark .hero-stat .num { background: linear-gradient(120deg, #fff, #7fb4e6); -webkit-background-clip: text; background-clip: text; }
html.dark .ap-copy .ap-p { color: #b7c8d6; }
html.dark .ap-ticks li { color: #dbe6ef; }
html.dark .link-more { color: #7fb4e6; }

/* ---- Core Services — premium cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; background: none !important; border: none !important; overflow: visible !important; }
.svc-card { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px 22px; overflow: hidden; }
.svc-ghost { position: absolute; top: 10px; right: 16px; font-family: var(--font-mono); font-size: 44px; font-weight: 700; color: var(--navy-950); opacity: .05; line-height: 1; pointer-events: none; transition: opacity .22s ease, color .22s ease; }
.svc-card:hover .svc-ghost { opacity: .12; color: var(--accent-700); }
.svc-tile { width: 48px; height: 48px; border-radius: 11px; background: var(--accent-050); border: 1px solid var(--accent-100); color: var(--accent-700); display: grid; place-items: center; }
.svc-tile svg { width: 24px; height: 24px; }
.svc-card h4 { margin: 2px 0 0; font-size: 17px; }
.svc-card p { margin: 0; color: var(--steel-600); font-size: 13.5px; line-height: 1.6; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); opacity: 0; transform: translateX(-6px); transition: opacity .22s ease, transform .22s ease; }
.svc-more svg { width: 13px; height: 13px; }
.svc-card:hover .svc-more { opacity: 1; transform: none; }
html.dark .svc-tile { background: rgba(84,158,228,.14); border-color: rgba(84,158,228,.3); color: #7fb4e6; }
html.dark .svc-ghost { color: #fff; }
html.dark .svc-card p { color: #a7bbca; }
html.dark .svc-more { color: #7fb4e6; }
.muted-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-400); background: var(--fog-100, #eaf1f6); border-radius: 999px; padding: 3px 9px; }

/* ---- Fleet grid — 3-up premium cards ---- */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.fleet-card { border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.fleet-card .fleet-visual { aspect-ratio: 16/10; position: relative; }
.fleet-card .fleet-status { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; backdrop-filter: blur(6px); }
.fleet-card .fleet-status.ok { background: rgba(20,122,86,.85); color: #fff; }
.fleet-card .fleet-status.warn { background: rgba(185,118,31,.9); color: #fff; }
.fleet-card .fleet-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fleet-card .fleet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fleet-card .fleet-avail { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }
.fleet-card h4 { margin: 0; font-size: 20px; }
.fleet-card p { margin: 0; color: var(--steel-600); font-size: 13.5px; line-height: 1.6; flex: 1; }
.fleet-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); opacity: 0; transform: translateX(-6px); transition: opacity .22s ease, transform .22s ease; }
.fleet-link svg { width: 13px; height: 13px; }
.fleet-card:hover .fleet-link { opacity: 1; transform: none; }

.media-picker { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.media-url { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12px; color: var(--steel-600); }

/* ============================================================
   FEPMOT SPA — Careers redesign (premium)
   Hub (/careers) + job detail (/careers/:id). Sits on the brand
   tokens in styles.css so light/dark flip automatically; only
   shadows/glows need explicit html.dark tweaks.
   ============================================================ */

/* ---- anchors clear the fixed header ---- */
#open-roles, #apply, #service-grid, #project-list { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---- shared scene/photo slots ---- */
.car-slot { color: var(--steel-600); border-radius: inherit; }
.car-slot svg { width: 100%; height: 100%; display: block; }
.car-slot .ph-tag { z-index: 3; }

/* ============================================================
   /careers hub
   ============================================================ */

/* ---- split hero ---- */
.car-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 76px) 0 84px; background: var(--white); }
.car-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 900px 520px at 85% 0%, var(--accent-100), transparent 60%), var(--white); pointer-events: none; }
.car-hero-grid { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.car-hero .crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.car-hero .crumbs a { color: var(--accent-700); }
.car-hero .crumbs a:hover { color: var(--accent); }
.car-hero .eyebrow { margin-bottom: 16px; }
.car-hero h1 { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -0.01em; max-width: 18ch; animation: fadeUp .5s ease; }
.car-hero p.lede { font-size: 17px; line-height: 1.7; color: var(--steel-600); max-width: 54ch; margin-top: 20px; animation: fadeUp .5s ease .08s both; }

/* ---- hero visual ---- */
.car-hero-visual { position: relative; animation: fadeUp .5s ease .12s both; }
.car-hero-visual .car-slot { aspect-ratio: 4 / 4.6; border-radius: 14px; box-shadow: 0 32px 70px -34px rgba(10,27,43,0.45); }
.car-hero-visual .ph-tag { left: auto; right: 14px; bottom: auto; top: 14px; }
.hero-plate { position: absolute; left: -26px; bottom: -24px; width: min(78%, 320px); background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); border-radius: 10px; padding: 16px 18px; box-shadow: 0 22px 44px -18px rgba(10,27,43,0.28); z-index: 3; }
.hero-plate .row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-600); padding: 7px 0; border-bottom: 1px solid var(--line); }
.hero-plate .row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-plate .row b { color: var(--navy-950); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---- hero CTAs + stats ---- */
.car-hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 0; animation: fadeUp .5s ease .16s both; }
.car-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass-weak); backdrop-filter: blur(8px); padding: 4px; animation: fadeUp .5s ease .22s both; }
.car-stat { position: relative; padding: 15px 16px 13px; }
.car-stat + .car-stat { border-left: 1px solid var(--line); }
.car-stat::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.55; }
.car-stat .num { font-family: var(--font-display); font-size: 23px; font-weight: 700; background: linear-gradient(120deg, var(--navy-950), var(--accent-700)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.car-stat .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--steel-400); margin-top: 4px; }

/* ---- benefits band ---- */
.car-perks { background: var(--fog-050); }
.perk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px 28px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; overflow: hidden; }
.perk-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 70%); opacity: 0; transition: opacity 0.22s ease; }
.perk-card:hover { transform: translateY(-4px); border-color: rgba(42,124,201,0.35); box-shadow: 0 22px 40px -22px rgba(10,27,43,0.35); }
.perk-card:hover::before { opacity: 1; }
.perk-ic { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-050); border: 1px solid var(--accent-100); color: var(--accent-700); display: grid; place-items: center; margin-bottom: 18px; }
.perk-ic svg { width: 21px; height: 21px; }
.perk-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.perk-card p { font-size: 13.5px; line-height: 1.6; color: var(--steel-600); }

/* ---- jobs board ---- */
.jobs-board { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 22px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; overflow: hidden; }
.job-card:hover { transform: translateY(-4px); border-color: rgba(42,124,201,0.35); box-shadow: 0 26px 48px -24px rgba(10,27,43,0.35); }
.jc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jc-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 6px; padding: 4px 9px; }
.jc-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #2f8659; background: rgba(79,158,95,0.12); border-radius: 20px; padding: 4px 11px; }
.jc-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3fa06c; box-shadow: 0 0 0 3px rgba(79,158,95,0.18); }
.job-card h4 { font-size: 19px; line-height: 1.25; }
.jc-blurb { font-size: 13.5px; line-height: 1.6; color: var(--steel-600); margin-top: 8px; }
.jc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.jc-meta span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--steel-600); }
.jc-meta svg { width: 13px; height: 13px; color: var(--accent-700); flex-shrink: 0; }
.jc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-700); }
.jc-arrow { font-style: normal; font-family: var(--font-mono); color: var(--accent-700); transition: transform 0.2s ease; }
.job-card:hover .jc-arrow, .oo-row:hover .jc-arrow { transform: translateX(5px); }
.jobs-empty { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 48px 24px; text-align: center; color: var(--steel-400); font-family: var(--font-mono); font-size: 13px; }

/* ---- gallery mosaic ---- */
.gal-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-areas: 'a b c' 'a d e'; grid-auto-rows: 235px; gap: 14px; }
.gal-tile { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
.gal-1 { grid-area: a; } .gal-2 { grid-area: b; } .gal-3 { grid-area: c; } .gal-4 { grid-area: d; } .gal-5 { grid-area: e; }
.gal-tile .car-slot { position: absolute; inset: 0; height: 100%; }
.gal-tile .photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.gal-tile .ph-tag { left: 14px; right: auto; bottom: auto; top: 14px; }
.gal-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 16px 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--solid-text); background: linear-gradient(to top, rgba(10,27,43,0.72), transparent); pointer-events: none; }
.gal-tile:hover .car-slot svg, .gal-tile:hover .car-slot img { transform: scale(1.04); }
.gal-tile .car-slot svg, .gal-tile .car-slot img { transition: transform 0.5s ease; }

/* ---- hiring process ---- */
.hire-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.hire-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; }
.hire-step::after { content: '→'; position: absolute; top: 26px; right: -17px; z-index: 2; font-family: var(--font-mono); color: var(--steel-300); font-size: 13px; }
.hire-step:last-child::after { content: none; }
.hs-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 6px; display: inline-block; padding: 4px 9px; margin-bottom: 16px; }
.hire-step h4 { font-size: 16px; margin-bottom: 7px; }
.hire-step p { font-size: 13px; line-height: 1.6; color: var(--steel-600); }

/* ============================================================
   Job detail (/careers/:id)
   ============================================================ */

/* ---- header band ---- */
.job-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 64px; background: var(--white); }
.job-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 900px 480px at 12% 0%, var(--accent-100), transparent 60%), var(--white); pointer-events: none; }
.job-hero .wrap { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.job-hero .crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 26px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.job-hero .crumbs a { color: var(--accent-700); }
.job-hero .crumbs a:hover { color: var(--accent); }
.jh-tags { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.job-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; max-width: 20ch; }
.jh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jh-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px; font-size: 13.5px; color: var(--navy-950); box-shadow: 0 6px 18px -12px rgba(10,27,43,0.25); }
.jh-chip svg { width: 16px; height: 16px; color: var(--accent-700); flex-shrink: 0; }
.jh-chip b { font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--steel-400); }
.jh-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- context image banner ---- */
.job-banner .wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.job-banner .car-slot { aspect-ratio: 21 / 7.2; border-radius: 16px; box-shadow: 0 30px 60px -34px rgba(10,27,43,0.4); }

/* ---- body layout ---- */
.job-body .wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; padding-top: 64px; }
.job-block { margin-bottom: 44px; }
.job-block h3 { font-size: 21px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.job-block h3::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 44px; height: 2px; background: var(--accent); }
.job-block > p { font-size: 15.5px; line-height: 1.75; color: var(--steel-600); margin-bottom: 14px; max-width: 68ch; }

/* responsibilities */
.resp-list { list-style: none; counter-reset: resp; }
.resp-list li { counter-increment: resp; display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.resp-list li:last-child { border-bottom: none; }
.resp-list .idx { flex-shrink: 0; font-family: var(--font-mono); font-size: 11px; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 6px; padding: 3px 8px; height: fit-content; }
.resp-list .idx::before { content: counter(resp, decimal-leading-zero); }
.resp-list p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--steel-600); }

/* requirements checklist */
.req-list { list-style: none; display: grid; gap: 10px; }
.req-list li { display: flex; gap: 13px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-size: 14px; line-height: 1.6; color: var(--steel-600); }
.req-list svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent-700); margin-top: 2px; }

/* package & benefits reuse .perk-grid at 2-up inside the role body */
.job-block .perk-grid { grid-template-columns: repeat(2, 1fr); }

/* ---- application card ---- */
.apply-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 34px 34px 30px; box-shadow: 0 30px 70px -38px rgba(10,27,43,0.45); overflow: hidden; }
.apply-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-600) 40%, transparent 90%); }
.apply-card h3 { font-size: 24px; margin: 12px 0 8px; border-bottom: none; padding-bottom: 0; }
.apply-card h3::after { content: none; }
.ac-lede { font-size: 14px; line-height: 1.65; color: var(--steel-600); margin: 0 0 24px; }
.apply-card .fep-form { gap: 0; }
.apply-card .fep-form-note { margin-top: 14px; }

/* ---- sticky sidebar ---- */
.job-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.side-card h5 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-400); font-weight: 500; }
.sc-summary { padding: 22px; }
.sc-summary h5 { margin-bottom: 8px; }
.sc-summary .row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--steel-600); padding: 10px 0; border-bottom: 1px solid var(--line); }
.sc-summary .row:last-child { border-bottom: none; padding-bottom: 0; }
.sc-summary .row b { color: var(--navy-950); font-weight: 600; text-align: right; }
.sc-photo .car-slot { aspect-ratio: 16 / 10; }
.sc-photo .car-slot { border: none; border-radius: 0; }
.sc-contact { padding: 22px; }
.sc-contact h5 { margin-bottom: 10px; }
.sc-contact p { font-size: 13.5px; line-height: 1.6; color: var(--steel-600); margin-bottom: 12px; }
.sc-contact a { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--accent-700); padding: 4px 0; overflow-wrap: anywhere; }
.sc-contact a:hover { color: var(--accent); }

/* ---- other openings ---- */
.other-roles .wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); }
.oo-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.oo-row { display: flex; align-items: center; gap: 22px; padding: 22px 10px; border-bottom: 1px solid var(--line); border-radius: 8px; transition: background 0.2s ease, box-shadow 0.2s ease; }
.oo-row:hover { background: var(--white); box-shadow: 0 10px 26px -18px rgba(10,27,43,0.4); }
.oo-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 6px; padding: 5px 10px; flex-shrink: 0; min-width: 120px; text-align: center; }
.oo-main { flex: 1; min-width: 0; }
.oo-main h4 { font-size: 16.5px; }
.oo-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--steel-400); margin-top: 5px; }
.oo-row .jc-arrow { justify-self: end; margin-left: auto; }

/* ============================================================
   Dark mode refinements
   ============================================================ */
html.dark .car-hero, html.dark .job-hero { background: var(--white); }
html.dark .car-hero::before, html.dark .job-hero::before { background: radial-gradient(ellipse 900px 520px at 85% 0%, var(--accent-100), transparent 60%), var(--white); }
html.dark .car-hero-visual .car-slot { box-shadow: 0 32px 70px -30px rgba(0,0,0,0.65); }
html.dark .hero-plate { background: rgba(13,24,38,0.9); box-shadow: 0 22px 44px -18px rgba(0,0,0,0.55); }
html.dark .car-stat .num { background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; }
html.dark .perk-card, html.dark .job-card, html.dark .hire-step { background: var(--fog-050); }
html.dark .perk-card:hover, html.dark .job-card:hover { box-shadow: 0 26px 48px -24px rgba(0,0,0,0.6); }
html.dark .jh-chip { background: var(--fog-050); box-shadow: none; }
html.dark .req-list li { background: var(--fog-050); }
html.dark .apply-card { background: var(--fog-050); box-shadow: 0 30px 70px -34px rgba(0,0,0,0.6); }
html.dark .side-card { background: var(--fog-050); }
html.dark .oo-row:hover { box-shadow: 0 10px 26px -16px rgba(0,0,0,0.55); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .car-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .car-hero-visual { max-width: 460px; }
  .job-layout { grid-template-columns: 1fr; gap: 44px; }
  .job-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 900px) {
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .hire-steps { grid-template-columns: repeat(2, 1fr); }
  .hire-step::after { content: none; }
  .gal-mosaic { grid-template-columns: 1fr 1fr; grid-template-areas: 'a b' 'a c' 'd e'; }
}
@media (max-width: 640px) {
  .car-hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .car-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .car-stat:nth-child(3) { border-left: none; }
  .car-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .jobs-board { grid-template-columns: 1fr; }
  .perk-grid { grid-template-columns: 1fr; }
  .hire-steps { grid-template-columns: 1fr; }
  .gal-mosaic { grid-template-columns: 1fr; grid-template-areas: 'a' 'b' 'c' 'd' 'e'; grid-auto-rows: 210px; }
  .job-banner .car-slot { aspect-ratio: 16 / 9; }
  .job-hero { padding: calc(var(--header-h) + 44px) 0 48px; }
  .apply-card { padding: 26px 20px; }
  .oo-row { flex-wrap: wrap; gap: 12px; }
  .oo-tag { min-width: 0; }
  .hero-plate { left: 14px; bottom: 14px; width: calc(100% - 28px); }
}

/* ============================================================
   FEPMOT SPA — Corporate pages redesign (/about, /hse)
   Shares the premium visual language of careers.css (same
   .car-hero, .car-stat, .perk-*, .gal-* components). This file
   only adds the page-specific sections. Light/dark flip via the
   brand tokens; html.dark rules cover shadows/surfaces only.
   ============================================================ */

#standards { scroll-margin-top: calc(var(--header-h) + 24px); }
#health-safety-policy, #business-risk-assessment, #business-risk-management, #quality-objectives { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ============================================================
   /about — story split
   ============================================================ */
.about-story { background: var(--white); }
.as-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: start; }
.as-photo-col { position: sticky; top: calc(var(--header-h) + 24px); }
.as-photo-col .car-slot { aspect-ratio: 4 / 3.4; border-radius: 14px; box-shadow: 0 32px 70px -34px rgba(10,27,43,0.4); }
.as-plate { margin-top: 16px; border-radius: 12px; }
.as-copy .eyebrow { margin-bottom: 14px; }
.as-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 18px; line-height: 1.14; }
.as-lede { font-size: 16.5px; line-height: 1.75; color: var(--steel-600); margin-bottom: 14px; max-width: 60ch; }
.as-body { font-size: 15px; line-height: 1.75; color: var(--steel-600); max-width: 60ch; }
.as-body + .as-body { margin-top: 12px; }

.about-strategy { background: var(--fog-050); }
.strategy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.strategy-grid .section-head { margin-bottom: 0; }
.strategy-copy { display: grid; gap: 16px; }
.strategy-copy p { color: var(--steel-600); font-size: 15.5px; line-height: 1.8; max-width: 68ch; }

.about-purpose { background: var(--white); }
.about-values .perk-grid { grid-template-columns: repeat(3, 1fr); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.purpose-grid article { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--fog-050); overflow: hidden; }
.purpose-grid article::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 75%); }
.purpose-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--accent-100); border-radius: 11px; background: var(--accent-050); color: var(--accent-700); }
.purpose-icon svg { width: 21px; height: 21px; }
.purpose-grid h3 { margin: 12px 0 9px; font-size: 21px; }
.purpose-grid p { color: var(--steel-600); font-size: 15px; line-height: 1.75; }

.purpose-preview { background: var(--white); }
.purpose-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.purpose-preview-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--fog-050); }
.purpose-preview-grid article > span { display: inline-block; margin-bottom: 18px; padding: 4px 8px; border: 1px solid var(--accent-100); border-radius: 6px; color: var(--accent-700); background: var(--accent-050); font: 10.5px var(--font-mono); }
.purpose-preview-grid h3 { font-size: 18px; margin-bottom: 8px; }
.purpose-preview-grid p { color: var(--steel-600); font-size: 13.5px; line-height: 1.65; }
.purpose-preview .link-more { margin-top: 25px; }

.tl-list { list-style: none; margin: 30px 0 0; }
.tl-list li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.tl-list li:last-child { border-bottom: none; }
.tl-yr { flex-shrink: 0; font-family: var(--font-mono); font-size: 11px; color: var(--accent-700); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: 6px; padding: 4px 9px; height: fit-content; min-width: 52px; text-align: center; }
.tl-list h4 { font-size: 15.5px; margin-bottom: 4px; }
.tl-list p { font-size: 13.5px; line-height: 1.6; color: var(--steel-600); margin: 0; }

/* leadership */
.about-leadership { background: var(--fog-050); padding-bottom: 0; }
.about-leadership .section-head { margin-bottom: 0; }
.leadership-body { background: var(--fog-050); padding-top: 44px; }
.leadership-body .team-card { background: var(--white); }

/* ============================================================
   /hse — amber-accented theme
   ============================================================ */
.hse-theme .eyebrow, .hse-standards .eyebrow, .hse-why .eyebrow { color: var(--amber); }
.hse-theme .eyebrow::before, .hse-standards .eyebrow::before, .hse-why .eyebrow::before { background: var(--amber); }
.hse-theme .car-stat::before { background: linear-gradient(90deg, var(--amber), transparent); }
.hse-theme .car-stat .num { background: linear-gradient(120deg, var(--navy-950), var(--amber)); -webkit-background-clip: text; background-clip: text; }
.hse-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.hse-standards { background: var(--fog-050); }
.hse-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hse-card { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: 12px; padding: 24px 24px 26px; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.hse-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(10,27,43,0.35); }
.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-ic { background: var(--amber-050); border-color: rgba(185,118,31,0.2); color: var(--amber); margin-bottom: 0; }
.hse-card .hs-num { font-family: var(--font-mono); font-size: 12px; color: var(--amber); }
.hse-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.hse-card p { font-size: 13.5px; line-height: 1.65; color: var(--steel-600); }

.hse-why { background: var(--white); }

/* Detailed HSE, risk and quality policy cards */
.hse-policies { background: var(--white); }
.policy-stack { display: grid; gap: 18px; }
.policy-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 24px; padding: 30px; background: var(--fog-050); border: 1px solid var(--line); border-radius: 14px; }
.policy-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(185,118,31,.25); border-radius: 11px; background: var(--amber-050); color: var(--amber); }
.policy-mark svg { width: 21px; height: 21px; }
.policy-copy .eyebrow { color: var(--amber); font-size: 10px; }
.policy-copy .eyebrow::before { background: var(--amber); }
.policy-copy h3 { margin: 9px 0 12px; font-size: 22px; }
.policy-copy p { max-width: 78ch; margin-bottom: 13px; color: var(--steel-600); font-size: 15px; line-height: 1.75; }
.policy-copy p.policy-intro { font-size: 16px; color: var(--navy-950); }
.policy-copy ul { display: grid; gap: 9px; margin-top: 18px; }
.policy-copy li { display: flex; gap: 10px; align-items: flex-start; color: var(--steel-600); font-size: 14px; line-height: 1.6; }
.policy-copy li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--amber); }
html.dark .hse-policies { background: var(--white); }
html.dark .policy-card { background: var(--fog-050); }
html.dark .policy-copy p.policy-intro { color: var(--navy-950); }

/* ============================================================
   Dark mode refinements
   ============================================================ */
html.dark .as-photo-col .car-slot { box-shadow: 0 32px 70px -30px rgba(0,0,0,0.65); }
html.dark .hse-theme .car-stat .num { background: linear-gradient(120deg, #fff, var(--amber)); -webkit-background-clip: text; background-clip: text; }
html.dark .hse-card { background: var(--fog-050); }
html.dark .hse-card:hover { box-shadow: 0 22px 40px -22px rgba(0,0,0,0.6); }
html.dark .leadership-body .team-card { background: var(--fog-050); }
html.dark .about-story { background: var(--white); }
html.dark .purpose-grid article, html.dark .purpose-preview-grid article { background: var(--fog-050); }

/* ============================================================
   Premium record details (services, projects and fleet)
   ============================================================ */
.record-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 72px; background: var(--white); }
.record-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 880px 500px at 82% 0%, var(--accent-100), transparent 62%), var(--white); pointer-events: none; }
.record-hero-grid { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.record-hero-copy .crumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 24px; }
.record-hero-copy .crumbs a { color: var(--accent-700); }
.record-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-700); }
.record-status { color: #2f8659; background: rgba(79,158,95,.12); border-radius: 20px; padding: 4px 10px; }
.record-status::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #3fa06c; }
.record-hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; max-width: 18ch; }
.record-lede { margin: 20px 0 28px; color: var(--steel-600); font-size: 16px; line-height: 1.7; max-width: 56ch; }
.record-hero-visual .car-slot { aspect-ratio: 4 / 3; border-radius: 16px; box-shadow: 0 30px 64px -34px rgba(10,27,43,.42); }
.record-body { background: var(--fog-050); padding: 72px 0 96px; }
.record-layout { max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.record-main { min-width: 0; }
.record-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 48px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.record-fact { min-width: 0; background: var(--white); padding: 18px 16px; }
.record-fact span { display: block; margin-bottom: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }
.record-fact b { display: block; color: var(--navy-950); font-size: 14px; overflow-wrap: anywhere; }
.record-content { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 24px 56px -38px rgba(10,27,43,.32); }
.record-content h2 { margin-bottom: 14px; font-size: 25px; }
.record-content h3 { margin: 30px 0 12px; font-size: 18px; }
.record-content p { max-width: 68ch; color: var(--steel-600); font-size: 15.5px; line-height: 1.75; }
.record-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.record-side-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.record-side-card h3 { margin: 12px 0 10px; font-size: 21px; }
.record-side-card p { color: var(--steel-600); font-size: 14px; line-height: 1.65; }
.record-side-card .link-more { margin-top: 18px; }
.record-contact { display: grid; gap: 8px; }
.record-contact > span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }
.record-contact > b { color: var(--accent-700); font-size: 14px; overflow-wrap: anywhere; }
.record-contact .btn { margin-top: 8px; justify-self: start; }
html.dark .record-hero { background: var(--white); }
html.dark .record-hero::before { background: radial-gradient(ellipse 880px 500px at 82% 0%, var(--accent-100), transparent 62%), var(--white); }
html.dark .record-hero-visual .car-slot { box-shadow: 0 30px 64px -30px rgba(0,0,0,.68); }
html.dark .record-fact, html.dark .record-content, html.dark .record-side-card { background: var(--fog-050); }
html.dark .record-content { box-shadow: 0 24px 56px -34px rgba(0,0,0,.6); }

@media (max-width: 1080px) {
  .record-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .record-hero-visual { max-width: 560px; }
  .record-layout { grid-template-columns: 1fr; gap: 40px; }
  .record-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .record-hero { padding: calc(var(--header-h) + 44px) 0 56px; }
  .record-facts { grid-template-columns: repeat(2, 1fr); }
  .record-content { padding: 24px 20px; }
  .record-hero-visual .car-slot { aspect-ratio: 16 / 11; }
}

/* ============================================================
   /teams — executive leadership page
   ============================================================ */
.teams-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 86px; background: var(--white); }
.teams-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 900px 520px at 86% 0%, var(--accent-100), transparent 62%), var(--white); pointer-events: none; }
.teams-hero-grid { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 var(--edge); display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.teams-hero .crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 24px; }
.teams-hero .crumbs a { color: var(--accent-700); }
.teams-hero h1 { max-width: 15ch; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; }
.teams-hero .lede { max-width: 52ch; margin-top: 20px; color: var(--steel-600); font-size: 17px; line-height: 1.7; }
.teams-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.teams-hero-visual .car-slot { aspect-ratio: 4 / 4.5; border-radius: 16px; box-shadow: 0 32px 70px -34px rgba(10,27,43,.42); }
.teams-hero-facts { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.teams-hero-facts span { display: grid; gap: 3px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-400); }
.teams-hero-facts b { color: var(--navy-950); font-size: 18px; }
.teams-intro { padding: 70px 0; background: var(--fog-050); }
.teams-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.teams-intro .section-head { margin-bottom: 0; }
.teams-intro > .wrap > p { max-width: 54ch; color: var(--steel-600); font-size: 16px; line-height: 1.75; }
.team-profiles { background: var(--white); padding: 96px 0; }
.team-profile { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; padding: 0 0 78px; margin-bottom: 78px; border-bottom: 1px solid var(--line); }
.team-profile:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.team-profile-visual { position: relative; }
.team-profile-visual .car-slot { aspect-ratio: 4 / 3.2; border-radius: 14px; box-shadow: 0 26px 58px -34px rgba(10,27,43,.35); }
.team-avatar-large { width: 100%; aspect-ratio: 4 / 3.2; border-radius: 14px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: clamp(52px, 7vw, 92px); font-weight: 600; letter-spacing: .04em; box-shadow: 0 26px 58px -34px rgba(10,27,43,.35); }
.team-index { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--glass-soft); color: var(--accent-700); font: 11px var(--font-mono); }
.team-profile-content .eyebrow { margin-bottom: 12px; }
.team-profile-content h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.1; }
.team-profile-short { margin-top: 14px; color: var(--steel-600); font-size: 16px; line-height: 1.7; max-width: 54ch; }
.team-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.team-highlights span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--accent-100); border-radius: 7px; background: var(--accent-050); color: var(--accent-700); font: 10.5px var(--font-mono); }
.team-highlights svg { width: 14px; height: 14px; }
.team-bio { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.team-bio p { margin-bottom: 15px; color: var(--steel-600); font-size: 15px; line-height: 1.8; max-width: 68ch; }
html.dark .teams-hero { background: var(--white); }
html.dark .teams-hero::before { background: radial-gradient(ellipse 900px 520px at 86% 0%, var(--accent-100), transparent 62%), var(--white); }
html.dark .teams-hero-visual .car-slot, html.dark .team-profile-visual .car-slot { box-shadow: 0 30px 64px -30px rgba(0,0,0,.65); }
html.dark .team-avatar-large { box-shadow: 0 30px 64px -30px rgba(0,0,0,.65); }
html.dark .teams-hero-facts b { color: #fff; }
html.dark .team-profiles { background: var(--white); }
@media (max-width: 900px) {
  .teams-hero-grid, .teams-intro-grid, .team-profile { grid-template-columns: 1fr; gap: 40px; }
  .teams-hero-visual, .team-profile-visual { max-width: 560px; }
  .about-values .perk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .teams-hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .team-profiles { padding: 68px 0; }
  .team-profile { padding-bottom: 52px; margin-bottom: 52px; }
  .about-values .perk-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .as-grid { grid-template-columns: 1fr; gap: 44px; }
  .as-photo-col { position: static; max-width: 520px; }
  .hse-card-grid { grid-template-columns: repeat(2, 1fr); }
  .strategy-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .hse-card-grid { grid-template-columns: 1fr; }
  .as-photo-col .car-slot { aspect-ratio: 16 / 11; }
  .policy-card { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .purpose-grid, .purpose-preview-grid { grid-template-columns: 1fr; }
}
