/* =========================================================
   FUTURE GROUP OF COMPANIES — design system
   Corporate blue + sky accent + orange call-to-action.
   Edit the tokens below to restyle the entire site.
   ========================================================= */
:root{
  --blue:        #0170B9;
  --blue-dark:   #015A94;
  --blue-deep:   #0B2545;
  --blue-deeper: #050F1C;
  --sky:         #6EC1E4;
  --sky-pale:    #EDF6FC;
  --orange:      #F15A24;
  --orange-dark: #D0430F;

  --white:  #FFFFFF;
  --ink:    #101A24;
  --ink-2:  #5A6B7B;
  --line:   #E6ECF2;
  --grey-bg:#F4F8FB;

  /* Gradients do most of the visual work */
  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--sky) 100%);
  --grad-warm:  linear-gradient(120deg, var(--orange) 0%, #F9A03F 100%);
  --grad-deep:  linear-gradient(150deg, var(--blue-deeper) 0%, var(--blue-deep) 100%);

  --font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  --wrap: 1240px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --radius: var(--r-md);

  --shadow-sm: 0 1px 2px rgba(11,37,69,.04), 0 4px 14px rgba(11,37,69,.05);
  --shadow-md: 0 2px 6px rgba(11,37,69,.05), 0 14px 38px rgba(11,37,69,.09);
  --shadow-lg: 0 4px 10px rgba(11,37,69,.05), 0 30px 70px rgba(11,37,69,.16);
  --shadow-glow: 0 18px 46px rgba(1,112,185,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:clip; }
/* tilted 3D panels must never make the page scroll sideways */
body{ overflow-x:clip; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.7;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family:var(--font-display); margin:0; color:var(--blue-deep);
  font-weight:700; line-height:1.1; letter-spacing:-.025em;
}
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
::selection{ background:var(--blue); color:#fff; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0; transform:translateY(32px);
  transition:opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.09s } .reveal.d2{ transition-delay:.18s }
.reveal.d3{ transition-delay:.27s } .reveal.d4{ transition-delay:.36s }

/* ---------- Welcome screen (home page) ----------
   Hidden unless the inline script has added .splash-on to <html>,
   so a visitor without JavaScript is never stuck behind it. */
.splash{ display:none; }
.splash-on .splash{
  display:flex; align-items:center; justify-content:center;
  position:fixed; top:0; right:0; bottom:0; left:0; z-index:9999; padding:28px;
  background:
    radial-gradient(760px 480px at 50% 34%, rgba(1,112,185,.5) 0%, transparent 64%),
    linear-gradient(150deg, var(--blue-deeper) 0%, var(--blue-deep) 72%, #0d3a66 100%);
  /* Backstop: fades out on its own even if the script never runs */
  animation:splashOut .7s var(--ease) 2.15s forwards;
}
.splash-on body{ overflow:hidden; }
.splash::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0);
  background-size:30px 30px; opacity:.45;
}
.splash.is-gone{ opacity:0; visibility:hidden; pointer-events:none; }
@keyframes splashOut{ to{ opacity:0; visibility:hidden; pointer-events:none; } }
.splash{ transition:opacity .7s var(--ease), visibility 0s linear .7s; }

.splash-inner{ position:relative; z-index:2; text-align:center; max-width:640px; }
.splash-plate{
  display:flex; align-items:center; justify-content:center;
  width:min(320px,78vw); min-height:112px; margin:0 auto 34px; padding:20px 26px;
  background:#fff; border-radius:var(--r-lg); box-shadow:0 26px 60px rgba(0,0,0,.4);
  opacity:0; transform:translateY(20px) scale(.94);
  animation:splashIn .85s var(--ease-out) .1s forwards;
}
.splash-plate img{ max-width:100%; height:auto; }
.splash-welcome{
  font-family:var(--font-body); font-size:13px; font-weight:600;
  letter-spacing:.3em; text-transform:uppercase; color:var(--sky); margin-bottom:12px;
  opacity:0; transform:translateY(16px);
  animation:splashIn .8s var(--ease-out) .42s forwards;
}
.splash-name{
  font-family:var(--font-display); font-weight:700; color:#fff;
  font-size:clamp(1.5rem,4.4vw,2.6rem); letter-spacing:-.035em; line-height:1.15;
  opacity:0; transform:translateY(18px);
  animation:splashIn .85s var(--ease-out) .58s forwards;
}
.splash-bar{
  display:block; width:190px; height:3px; margin:34px auto 0; border-radius:3px;
  background:rgba(255,255,255,.16); overflow:hidden;
  opacity:0; animation:splashIn .5s var(--ease-out) .8s forwards;
}
.splash-bar i{
  display:block; height:100%; border-radius:3px; background:var(--grad-warm);
  transform:scaleX(0); transform-origin:left;
  animation:splashBar 1.45s var(--ease) .78s forwards;
}
@keyframes splashIn{ to{ opacity:1; transform:none } }
@keyframes splashBar{ to{ transform:scaleX(1) } }

@media (prefers-reduced-motion: reduce){
  /* No animation to sit through — clear it almost immediately */
  .splash-on .splash{ animation:splashOut .001ms linear .3s forwards; }
  .splash-plate, .splash-welcome, .splash-name, .splash-bar{ opacity:1; transform:none; animation:none; }
  .splash-bar i{ transform:scaleX(1); animation:none; }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:100%; z-index:200;
  background:var(--grad-warm); transform:scaleX(0); transform-origin:left;
  transition:transform .1s linear; pointer-events:none;
}

/* ---------- Buttons ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 32px; border-radius:100px; font-family:var(--font-body);
  font-weight:600; font-size:15px; letter-spacing:-.01em;
  border:1.5px solid transparent; cursor:pointer; overflow:hidden;
  transition:transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
             background .3s, color .3s, border-color .3s;
}
.btn svg{ transition:transform .35s var(--ease-out); }
.btn:hover svg{ transform:translateX(4px); }
.btn-primary{ background:var(--grad-warm); color:#fff; box-shadow:0 10px 26px rgba(241,90,36,.34); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(241,90,36,.46); }
.btn-blue{ background:var(--grad-brand); color:#fff; box-shadow:var(--shadow-glow); }
.btn-blue:hover{ transform:translateY(-3px); box-shadow:0 24px 52px rgba(1,112,185,.38); }
.btn-outline{ border-color:rgba(255,255,255,.35); color:#fff; backdrop-filter:blur(6px); background:rgba(255,255,255,.06); }
.btn-outline:hover{ background:#fff; color:var(--blue-deep); border-color:#fff; transform:translateY(-3px); }
.btn-outline-dark{ border-color:var(--line); color:var(--blue-deep); background:#fff; }
.btn-outline-dark:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-3px); box-shadow:var(--shadow-md); }

/* ---------- Top bar ---------- */
.topbar{ background:var(--blue-deeper); color:#9FB6C9; font-size:13px; letter-spacing:-.01em; }
.topbar-inner{ display:flex; justify-content:space-between; align-items:center; gap:18px; min-height:44px; flex-wrap:wrap; }
.topbar a{ color:#9FB6C9; transition:color .25s; }
.topbar a:hover{ color:var(--sky); }
.topbar-contact{ display:flex; gap:26px; flex-wrap:wrap; }
.topbar-contact span{ display:inline-flex; align-items:center; gap:8px; }
.topbar-social{ display:flex; gap:8px; }
.topbar-social a{
  width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.07); transition:background .3s, color .3s, transform .3s var(--ease-out);
}
.topbar-social a:hover{ background:var(--orange); color:#fff; transform:translateY(-2px); }
@media (max-width:760px){ .topbar-social{ display:none; } }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(18px); -webkit-backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid transparent;
  transition:box-shadow .4s var(--ease), border-color .4s, background .4s;
}
.site-header.stuck{
  box-shadow:0 1px 0 rgba(11,37,69,.06), 0 12px 34px rgba(11,37,69,.08);
  border-bottom-color:var(--line); background:rgba(255,255,255,.94);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:84px; transition:min-height .4s var(--ease); }
.site-header.stuck .header-inner{ min-height:72px; }
.logo-img{ height:50px; width:auto; transition:height .4s var(--ease); }
.site-header.stuck .logo-img{ height:44px; }

.main-nav{ display:flex; align-items:center; gap:2px; padding:5px; border-radius:100px; background:var(--grey-bg); }
.main-nav a{
  position:relative; padding:10px 17px; font-size:14px; font-weight:500; letter-spacing:-.01em;
  color:var(--ink-2); border-radius:100px; transition:color .3s var(--ease), background .3s var(--ease);
}
.main-nav a:hover{ color:var(--blue-deep); background:rgba(255,255,255,.9); }
.main-nav a.active{ color:#fff; background:var(--blue-deep); box-shadow:0 4px 14px rgba(11,37,69,.22); }
.header-cta{ display:inline-flex; }
.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:48px; height:44px;
  align-items:center; justify-content:center; background:var(--blue-deep); border:0;
  border-radius:14px; cursor:pointer;
}
.nav-toggle span{ width:20px; height:2px; background:#fff; border-radius:2px; transition:transform .35s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* keep the menu on one line on smaller laptops */
.main-nav a, .btn{ white-space:nowrap; }
@media (max-width:1320px) and (min-width:1181px){
  .main-nav a{ padding:10px 12px; font-size:13.5px; }
  .header-inner{ gap:16px; }
  .header-cta{ padding:13px 22px; }
}
@media (max-width:1180px){
  .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .header-inner{ position:relative; }
  .main-nav{
    position:absolute; top:calc(100% + 10px); left:0; right:0; flex-direction:column; gap:0;
    background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:8px;
    box-shadow:var(--shadow-lg); max-height:0; overflow:hidden; opacity:0;
    transition:max-height .45s var(--ease), opacity .3s, padding .3s;
  }
  .main-nav.open{ max-height:78vh; overflow-y:auto; opacity:1; }
  .main-nav a{ width:100%; padding:14px 20px; border-radius:12px; }
}

/* ---------- Hero ---------- */
.hero{
  /* 128px is the top bar + header above it, so the hero ends
     exactly at the fold and the stat bar stays in view. */
  position:relative; min-height:calc(100vh - 128px); display:flex; align-items:center;
  background-size:cover; background-position:center; color:#fff; overflow:hidden;
  padding-bottom:126px;
}
.hero-overlay{
  position:absolute; top:0; right:0; bottom:0; left:0;
  background:
    radial-gradient(1000px 620px at 78% 18%, rgba(1,112,185,.42) 0%, transparent 62%),
    linear-gradient(104deg, rgba(5,15,28,.95) 0%, rgba(11,37,69,.84) 46%, rgba(11,37,69,.52) 100%);
}
/* soft floating light */
.hero::before{
  content:""; position:absolute; z-index:1; width:620px; height:620px; right:-160px; top:-180px;
  border-radius:50%; background:radial-gradient(circle, rgba(110,193,228,.26) 0%, transparent 68%);
  animation:float 15s ease-in-out infinite;
}
.hero::after{
  content:""; position:absolute; z-index:1; width:440px; height:440px; left:-140px; bottom:40px;
  border-radius:50%; background:radial-gradient(circle, rgba(241,90,36,.18) 0%, transparent 68%);
  animation:float 19s ease-in-out infinite reverse;
}
@keyframes float{
  0%,100%{ transform:translate(0,0) scale(1) }
  50%{ transform:translate(-34px,34px) scale(1.09) }
}
/* ---------- Hero slideshow ---------- */
.hero-slider{ background-image:none; }
.hero-slide{
  position:absolute; top:0; right:0; bottom:0; left:0; display:flex; align-items:center;
  background-size:cover; background-position:center;
  opacity:0; visibility:hidden; z-index:1;
  transition:opacity 1.1s var(--ease), visibility 0s linear 1.1s;
}
.hero-slide.is-active{
  opacity:1; visibility:visible; z-index:2;
  transition:opacity 1.1s var(--ease), visibility 0s;
}
/* slow drift on whichever slide is showing */
.hero-slide.is-active{ animation:kenburns 11s ease-out forwards; }
@keyframes kenburns{ from{ background-size:106% } to{ background-size:114% } }

/* Slides are absolutely positioned, so they ignore the hero's
   padding-bottom — the reserve for the stat bar has to live on
   the inner block instead, or the buttons sit under the bar. */
.hero-slide .hero-inner{ padding-bottom:172px; }

/* the text re-runs its entrance each time a slide becomes active */
.hero-slide .hero-inner > *{ opacity:0; transform:translateY(30px); animation:none; }
.hero-slide.is-active .hero-inner > *{ animation:heroIn .95s var(--ease-out) forwards; }

/* arrows */
.hero-arrow{
  position:absolute; top:50%; z-index:6; transform:translateY(-50%);
  width:52px; height:52px; border-radius:50%; cursor:pointer;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(10px); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:background .3s, border-color .3s, transform .35s var(--ease-out);
}
.hero-arrow:hover{ background:rgba(255,255,255,.96); color:var(--blue-deep); border-color:transparent; }
.hero-prev{ left:28px; }
.hero-next{ right:28px; }
.hero-prev:hover{ transform:translateY(-50%) translateX(-4px); }
.hero-next:hover{ transform:translateY(-50%) translateX(4px); }
.hero-arrow:focus-visible{ outline:3px solid var(--sky); outline-offset:3px; }

/* dots */
/* Bottom-right keeps the dots clear of the left-aligned
   headline, buttons and the floating stat bar. */
.hero-dots{
  position:absolute; right:38px; bottom:162px;
  z-index:6; display:flex; gap:11px;
}
.hero-dots button{
  width:34px; height:5px; padding:0; border:0; cursor:pointer; border-radius:4px;
  background:rgba(255,255,255,.3); overflow:hidden; position:relative;
  transition:background .3s, width .4s var(--ease-out);
}
.hero-dots button:hover{ background:rgba(255,255,255,.55); }
.hero-dots button.is-active{ width:56px; background:rgba(255,255,255,.34); }
.hero-dots button i{
  position:absolute; top:0; right:0; bottom:0; left:0; display:block; border-radius:4px;
  background:var(--grad-warm); transform:scaleX(0); transform-origin:left;
}
/* the active dot fills as the slide plays out */
.hero-dots button.is-active i{ animation:dotFill 6s linear forwards; }
.hero-slider.is-paused .hero-dots button.is-active i{ animation-play-state:paused; }
@keyframes dotFill{ from{ transform:scaleX(0) } to{ transform:scaleX(1) } }
.hero-dots button:focus-visible{ outline:3px solid var(--sky); outline-offset:4px; }

@media (max-width:860px){
  .hero-arrow{ display:none; }
  .hero-dots{ position:static; transform:none; justify-content:center; padding:0 0 26px; }
  .hero-slide{ position:relative; inset:auto; display:none; }
  .hero-slide.is-active{ display:flex; animation:none; }
  .hero-slide .hero-inner{ padding-bottom:52px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide.is-active{ animation:none; }
  .hero-dots button.is-active i{ animation:none; transform:scaleX(1); }
}

.hero-inner{ position:relative; z-index:3; padding:84px 28px 28px; max-width:960px; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:11px; padding:9px 20px 9px 14px; margin-bottom:28px;
  border:1px solid rgba(110,193,228,.34); border-radius:100px; background:rgba(110,193,228,.1);
  backdrop-filter:blur(10px);
  font-family:var(--font-body); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--sky); font-weight:600;
}
.hero-eyebrow::before{
  content:""; width:7px; height:7px; border-radius:50%; background:var(--orange);
  box-shadow:0 0 0 0 rgba(241,90,36,.7); animation:pulse 2.4s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(241,90,36,.65) }
  70%{ box-shadow:0 0 0 11px rgba(241,90,36,0) }
  100%{ box-shadow:0 0 0 0 rgba(241,90,36,0) }
}
.hero h1{
  color:#fff; font-size:clamp(2.6rem, 6.4vw, 5.1rem); font-weight:700;
  letter-spacing:-.04em; line-height:1.02; margin-bottom:24px;
}
.hero h1 .accent{
  background:linear-gradient(105deg, var(--sky) 0%, #B6E2F5 55%, var(--sky) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{
  font-size:clamp(1.05rem,1.9vw,1.4rem); color:#C9DCEA; font-weight:300;
  letter-spacing:.01em; margin-bottom:18px;
}
.hero-text{ font-size:1.06rem; color:#A8C0D4; max-width:620px; margin-bottom:38px; line-height:1.75; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* staggered entrance */
.hero-inner > *{ opacity:0; transform:translateY(30px); animation:heroIn .95s var(--ease-out) forwards; }
.hero-inner > *:nth-child(1){ animation-delay:.12s }
.hero-inner > *:nth-child(2){ animation-delay:.24s }
.hero-inner > *:nth-child(3){ animation-delay:.34s }
.hero-inner > *:nth-child(4){ animation-delay:.44s }
.hero-inner > *:nth-child(5){ animation-delay:.54s }
@keyframes heroIn{ to{ opacity:1; transform:none } }

/* floating stat bar tucked into the base of the hero */
.hero-bar{
  position:absolute; z-index:4; left:50%; bottom:-1px; transform:translateX(-50%);
  width:min(var(--wrap), calc(100% - 56px));
  display:grid; grid-template-columns:repeat(4,1fr);
  background:rgba(255,255,255,.96); backdrop-filter:blur(18px);
  border-radius:var(--r-lg) var(--r-lg) 0 0; box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.hero-bar-item{ padding:26px 24px; text-align:center; border-right:1px solid var(--line); }
.hero-bar-item:last-child{ border-right:0; }
.hero-bar-item strong{
  display:block; font-family:var(--font-display); font-size:clamp(1.4rem,2.4vw,2rem);
  font-weight:700; letter-spacing:-.03em;
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-bar-item span{
  display:block; margin-top:4px; font-size:11.5px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--ink-2); font-weight:500;
}
@media (max-width:860px){
  /* The hero is a flex row on desktop; switching to block keeps the
     stat bar stacked below the copy instead of beside it. */
  .hero{ display:block; min-height:0; padding-bottom:0; }
  .hero-inner{ padding:92px 28px 52px; max-width:none; }
  .hero-bar{
    position:static; transform:none; width:auto;
    grid-template-columns:1fr 1fr; border-radius:0;
    background:#fff; backdrop-filter:none; box-shadow:none;
  }
  .hero-eyebrow{ letter-spacing:.1em; font-size:11.5px; padding:8px 16px 8px 12px; }
  .hero h1{ font-size:clamp(2.2rem,8.6vw,3.2rem); }
}
@media (max-width:460px){ .hero-bar{ grid-template-columns:1fr; } .hero-bar-item{ border-right:0; border-bottom:1px solid var(--line); } }

.scroll-cue{
  position:absolute; left:50%; bottom:146px; transform:translateX(-50%); z-index:3;
  width:26px; height:44px; border:1.5px solid rgba(255,255,255,.34); border-radius:14px;
}
.scroll-cue::after{
  content:""; position:absolute; left:50%; top:8px; width:4px; height:9px; border-radius:2px;
  background:var(--sky); transform:translateX(-50%); animation:cue 1.9s infinite;
}
@keyframes cue{ 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,17px)} }
@media (max-width:860px){ .scroll-cue{ display:none; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner{
  position:relative; padding:118px 0 104px; color:#fff; text-align:center;
  background:
    radial-gradient(760px 420px at 74% 12%, rgba(1,112,185,.5) 0%, transparent 64%),
    linear-gradient(140deg, var(--blue-deeper) 0%, var(--blue-deep) 68%, #0d3a66 100%);
  overflow:hidden;
}
.page-banner::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.13) 1px, transparent 0);
  background-size:28px 28px; opacity:.5;
}
.page-banner::after{
  content:""; position:absolute; width:480px; height:480px; right:-150px; top:-200px; border-radius:50%;
  background:radial-gradient(circle, rgba(110,193,228,.2) 0%, transparent 68%);
}
.page-banner .wrap{ position:relative; z-index:2; }
.page-banner h1{ color:#fff; font-size:clamp(2.1rem,4.6vw,3.5rem); margin-bottom:14px; letter-spacing:-.035em; }
.breadcrumb{ font-size:14px; color:#9FB6C9; }
.breadcrumb a{ transition:color .25s; }
.breadcrumb a:hover{ color:var(--sky); }
.breadcrumb span{ color:var(--sky); }

/* ---------- Section shell ---------- */
.section{ padding:110px 0; }
.section-alt{ background:var(--grey-bg); }
.section-head{ max-width:780px; margin-bottom:62px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:9px; margin-bottom:18px;
  font-family:var(--font-body); font-size:12px; font-weight:700; letter-spacing:.17em;
  text-transform:uppercase; color:var(--orange);
}
.eyebrow::before{ content:""; width:22px; height:2px; border-radius:2px; background:var(--grad-warm); }
.section-head.center .eyebrow::after{ content:""; width:22px; height:2px; border-radius:2px; background:var(--grad-warm); }
.section-head h2{ font-size:clamp(1.9rem,3.8vw,3rem); margin-bottom:18px; letter-spacing:-.035em; }
.section-head p{ color:var(--ink-2); font-size:1.06rem; line-height:1.75; }
.rule{ width:72px; height:4px; border-radius:4px; background:var(--grad-warm); margin:0 0 24px; }
.section-head.center .rule{ margin-left:auto; margin-right:auto; }

/* ---------- Areas of operation grid ---------- */
.areas-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.area-card{
  position:relative; display:block; border-radius:var(--r-lg); overflow:hidden;
  aspect-ratio:3/4; background:var(--blue-deep); box-shadow:var(--shadow-sm);
  transition:transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.area-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-lg); }
.area-media{ position:absolute; top:0; right:0; bottom:0; left:0; }
.area-media img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease-out); }
.area-card:hover .area-media img{ transform:scale(1.1); }
.area-media::after{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background:linear-gradient(to top, rgba(5,15,28,.95) 0%, rgba(5,15,28,.58) 38%, rgba(5,15,28,.06) 76%);
  transition:opacity .5s var(--ease);
}
.area-body{
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding:26px 24px 28px; color:#fff;
}
.area-num{
  display:block; font-family:var(--font-display); font-size:12px; font-weight:600;
  letter-spacing:.16em; color:var(--sky); margin-bottom:10px;
}
.area-body h3{ color:#fff; font-size:1.12rem; margin-bottom:0; letter-spacing:-.02em; }
.area-body p{
  font-size:13.5px; color:#B6CCDD; line-height:1.6; margin-top:10px;
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .55s var(--ease-out), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.area-card:hover .area-body p{ max-height:120px; opacity:1; }
.area-more{
  display:inline-flex; align-items:center; gap:8px; margin-top:16px;
  font-size:13px; font-weight:600; color:var(--sky);
  opacity:0; transform:translateY(8px);
  transition:opacity .45s var(--ease) .06s, transform .45s var(--ease-out) .06s, gap .25s;
}
.area-card:hover .area-more{ opacity:1; transform:none; }
.area-card:hover .area-more:hover{ gap:13px; }
/* accent bar that draws in on hover */
.area-card::after{
  content:""; position:absolute; left:24px; bottom:0; height:4px; width:56px; z-index:3;
  background:var(--grad-warm); border-radius:4px 4px 0 0;
  transform:scaleX(0); transform-origin:left; transition:transform .5s var(--ease-out);
}
.area-card:hover::after{ transform:scaleX(1); }

@media (max-width:1100px){ .areas-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:840px){ .areas-grid{ grid-template-columns:repeat(2,1fr); gap:18px; } }
@media (max-width:520px){ .areas-grid{ grid-template-columns:1fr; } .area-card{ aspect-ratio:4/3; } }
/* touch devices can't hover — show the detail */
@media (hover:none){
  .area-body p{ max-height:120px; opacity:1; }
  .area-more{ opacity:1; transform:none; }
}

/* ---------- Group companies ---------- */
.group-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:26px; }
.group-card{
  display:flex; flex-direction:column; color:inherit;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:34px 26px; text-align:center; position:relative; overflow:hidden;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.group-card::before{
  content:""; position:absolute; left:0; right:0; top:0; height:4px;
  background:var(--grad-brand); transform:scaleX(0);
  transform-origin:left; transition:transform .55s var(--ease-out);
}
.group-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-lg); border-color:transparent; }
.group-card:hover::before{ transform:scaleX(1); }
.group-logo{
  width:100%; max-width:240px; height:104px; margin:0 auto 24px;
  border-radius:var(--r-md); overflow:hidden; padding:14px 18px;
  display:flex; align-items:center; justify-content:center;
  background:var(--sky-pale); border:1px solid var(--line);
}
.group-logo img{
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain;
  transition:transform .5s var(--ease-out);
}
.group-card:hover .group-logo img{ transform:scale(1.07); }
.group-card h3{ font-size:1.16rem; margin-bottom:12px; }
.group-card p{ color:var(--ink-2); font-size:14.5px; flex:1; line-height:1.7; }
.group-tags{ display:flex; flex-wrap:wrap; gap:7px; justify-content:center; margin-top:18px; }
.group-tags span{
  font-size:11.5px; padding:5px 12px; border-radius:100px;
  background:var(--sky-pale); color:var(--blue); font-weight:600; letter-spacing:.01em;
}
.group-more{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  margin-top:22px; font-size:13.5px; font-weight:600; color:var(--blue);
  transition:gap .3s var(--ease-out), color .3s;
}
.group-card:hover .group-more{ color:var(--orange); gap:14px; }
@media (max-width:900px){ .group-grid{ grid-template-columns:1fr; } }

/* ---------- Company detail pages ---------- */
.company-crest{
  width:100%; max-width:280px; height:120px; margin:0 auto 26px; border-radius:var(--r-lg);
  background:#fff; padding:18px 24px; box-shadow:0 20px 50px rgba(0,0,0,.28);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.company-crest img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.prose-list{ display:grid; gap:13px; margin-top:6px; }
.prose-list li{ position:relative; padding-left:34px; color:var(--ink-2); font-size:1.01rem; line-height:1.7; }
.prose-list li::before{
  content:"\2713"; position:absolute; left:0; top:4px; width:22px; height:22px;
  border-radius:50%; background:var(--grad-brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700;
}
.sector-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.sector-chips span{
  padding:11px 22px; border-radius:100px; background:#fff; border:1px solid var(--line);
  font-size:14px; font-weight:500; color:var(--blue-deep);
  transition:border-color .3s, color .3s, transform .35s var(--ease-out), box-shadow .3s;
}
.sector-chips span:hover{ border-color:var(--sky); color:var(--blue); transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.sibling-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.sibling{
  display:flex; align-items:center; gap:16px; padding:18px 22px; background:#fff;
  border:1px solid var(--line); border-radius:var(--r-md); color:var(--blue-deep);
  font-weight:500; font-size:14.5px;
  transition:transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.sibling:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--sky); }
.sibling img{ flex:0 0 74px; width:74px; height:48px; object-fit:contain; border-radius:10px; background:var(--sky-pale); padding:6px 8px; }
@media (max-width:820px){ .sibling-row{ grid-template-columns:1fr; } }

/* ---------- About split ---------- */
.about-grid{ display:grid; grid-template-columns:1.02fr .98fr; gap:72px; align-items:center; }
.about-copy p + p{ margin-top:20px; }
.about-copy p{ color:var(--ink-2); font-size:1.04rem; line-height:1.78; }
.about-points{ display:grid; gap:18px; margin-top:34px; }
.about-point{ display:flex; gap:15px; align-items:flex-start; }
.about-point .tick{
  flex:0 0 28px; width:28px; height:28px; border-radius:50%; background:var(--grad-brand);
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
}
.about-point strong{ display:block; color:var(--blue-deep); font-size:15px; font-family:var(--font-display); letter-spacing:-.015em; }
.about-point span.txt{ font-size:14.5px; color:var(--ink-2); }
.about-visual{ position:relative; }
.about-visual img{ border-radius:var(--r-xl); box-shadow:var(--shadow-lg); width:100%; }
.about-visual::before{
  content:""; position:absolute; top:-18px; right:-18px; bottom:24px; left:24px; border-radius:var(--r-xl);
  background:var(--grad-brand); opacity:.09; z-index:-1;
}
.about-badge{
  position:absolute; right:-18px; bottom:-18px; background:var(--grad-warm); color:#fff;
  padding:22px 30px; border-radius:var(--r-lg); box-shadow:0 20px 44px rgba(241,90,36,.36); text-align:center;
}
.about-badge strong{ display:block; font-size:2.1rem; line-height:1; font-family:var(--font-display); letter-spacing:-.04em; }
.about-badge span{ font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:600; }
@media (max-width:920px){ .about-grid{ grid-template-columns:1fr; gap:54px; } .about-badge{ right:12px; } }

/* ---------- Mission / vision ---------- */
.mv-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.mv-card{
  padding:46px 38px; border-radius:var(--r-lg); color:#fff; position:relative; overflow:hidden;
  transition:transform .5s var(--ease-out);
}
.mv-card:hover{ transform:translateY(-8px); }
.mv-card::after{
  content:""; position:absolute; width:320px; height:320px; right:-110px; bottom:-140px;
  border-radius:50%; background:rgba(255,255,255,.07);
}
.mv-card.mission{ background:linear-gradient(140deg,var(--blue) 0%,var(--blue-dark) 100%); }
.mv-card.vision{ background:linear-gradient(140deg,var(--blue-deep) 0%,var(--blue-deeper) 100%); }
.mv-card h3{ color:#fff; font-size:1.4rem; margin-bottom:14px; position:relative; z-index:2; }
.mv-card p{ color:rgba(255,255,255,.88); font-size:1.04rem; position:relative; z-index:2; line-height:1.75; }
.mv-icon{
  width:58px; height:58px; border-radius:var(--r-md); background:rgba(255,255,255,.14);
  display:flex; align-items:center; justify-content:center; margin-bottom:24px;
  position:relative; z-index:2; backdrop-filter:blur(6px);
}
@media (max-width:820px){ .mv-grid{ grid-template-columns:1fr; } }

/* ---------- Brochure band ---------- */
.brochure{
  padding:78px 0; color:#fff; position:relative; overflow:hidden;
  background:
    radial-gradient(700px 400px at 84% 20%, rgba(110,193,228,.26) 0%, transparent 62%),
    linear-gradient(130deg,var(--blue-deep) 0%,var(--blue) 92%);
}
.brochure::after{
  content:""; position:absolute; right:-90px; top:-110px; width:380px; height:380px;
  border-radius:50%; background:rgba(255,255,255,.06);
}
.brochure-inner{ position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap; }
.brochure h2{ color:#fff; font-size:clamp(1.6rem,3.2vw,2.4rem); margin-bottom:10px; }
.brochure p{ color:#C9DCEA; }
.brochure-links{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Stats ---------- */
.stats{
  padding:92px 0; position:relative; overflow:hidden;
  background:
    radial-gradient(760px 420px at 20% 10%, rgba(1,112,185,.34) 0%, transparent 60%),
    radial-gradient(640px 380px at 86% 88%, rgba(241,90,36,.16) 0%, transparent 62%),
    var(--blue-deeper);
}
.stats::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0);
  background-size:32px 32px;
}
.stats .wrap{ position:relative; z-index:2; }
.stats-head{ text-align:center; margin-bottom:54px; }
.stats-head h2{ color:#fff; font-size:clamp(1.7rem,3.4vw,2.6rem); }
.stats-head .rule{ margin:18px auto 0; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.stat{
  text-align:center; padding:38px 20px; border-radius:var(--r-lg);
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(12px);
  transition:transform .5s var(--ease-out), background .4s, border-color .4s;
}
.stat:hover{ transform:translateY(-8px); background:rgba(255,255,255,.09); border-color:rgba(110,193,228,.4); }
.stat-num{
  display:block; font-family:var(--font-display); font-size:clamp(2.3rem,4.6vw,3.4rem);
  font-weight:700; line-height:1; letter-spacing:-.045em;
  background:linear-gradient(140deg,#fff 0%, var(--sky) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-num::after{
  content:"+"; -webkit-text-fill-color:var(--orange); color:var(--orange);
}
.stat-label{ display:block; margin-top:14px; font-size:11.5px; letter-spacing:.15em; text-transform:uppercase; color:#9FB6C9; font-weight:500; }
@media (max-width:840px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Updates ---------- */
.updates-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.update-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.update-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-lg); border-color:transparent; }
.update-thumb{ aspect-ratio:16/10; overflow:hidden; }
.update-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease-out); }
.update-card:hover .update-thumb img{ transform:scale(1.09); }
.update-body{ padding:26px 28px 30px; display:flex; flex-direction:column; flex:1; }
.update-date{
  display:inline-flex; align-items:center; gap:8px; font-size:11.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--orange); margin-bottom:13px;
}
.update-body h3{ font-size:1.12rem; margin-bottom:10px; }
.update-body p{ font-size:14.5px; color:var(--ink-2); flex:1; line-height:1.7; }
.card-link{
  display:inline-flex; align-items:center; gap:8px; margin-top:20px;
  font-size:14px; font-weight:600; color:var(--blue); transition:gap .3s var(--ease-out), color .3s;
}
.card-link:hover{ gap:14px; color:var(--orange); }
@media (max-width:920px){ .updates-grid{ grid-template-columns:1fr; } }

/* ---------- Partners marquee ---------- */
.partners{ padding:92px 0; background:var(--grey-bg); overflow:hidden; }
.partners-head{ text-align:center; margin-bottom:46px; }
.partners-head h2{ font-size:clamp(1.6rem,3.2vw,2.4rem); margin-bottom:12px; }
.partners-head p{ color:var(--ink-2); max-width:690px; margin:0 auto; }
.marquee{
  position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.marquee-track{ display:flex; gap:22px; width:max-content; animation:marquee 38s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0) } to{ transform:translateX(calc(-50% - 11px)) } }
.partner-logo{
  flex:0 0 auto; width:290px; height:190px; display:flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:32px 36px;
  box-shadow:var(--shadow-sm);
  transition:border-color .35s, transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.partner-logo img{
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain;
  transition:transform .5s var(--ease-out);
}
.partner-logo:hover{ border-color:var(--sky); transform:translateY(-10px); box-shadow:var(--shadow-lg); }
.partner-logo:hover img{ transform:scale(1.08); }
@media (max-width:600px){ .partner-logo{ width:220px; height:150px; padding:22px 24px; } }

/* ---------- CTA band ---------- */
.cta-band{
  padding:96px 0; color:#fff; text-align:center; position:relative; overflow:hidden;
  background:
    radial-gradient(620px 360px at 22% 20%, rgba(255,255,255,.18) 0%, transparent 62%),
    linear-gradient(130deg,var(--orange) 0%,#F9A03F 100%);
}
.cta-band::after{
  content:""; position:absolute; left:-120px; bottom:-170px; width:420px; height:420px;
  border-radius:50%; background:rgba(255,255,255,.09);
}
.cta-band .wrap{ position:relative; z-index:2; }
.cta-band h2{ color:#fff; font-size:clamp(1.8rem,3.6vw,2.8rem); margin-bottom:14px; }
.cta-band p{ color:rgba(255,255,255,.94); max-width:640px; margin:0 auto 32px; font-size:1.05rem; }
.cta-band .btn-outline{ border-color:rgba(255,255,255,.8); background:rgba(255,255,255,.12); }
.cta-band .btn-outline:hover{ color:var(--orange); background:#fff; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.06fr; gap:60px; align-items:start; }
.info-list{ display:grid; gap:22px; margin-top:32px; }
.info-item{ display:flex; gap:17px; align-items:flex-start; }
.info-ic{
  flex:0 0 50px; width:50px; height:50px; border-radius:var(--r-md); background:var(--grad-brand);
  display:flex; align-items:center; justify-content:center; color:#fff;
  box-shadow:0 10px 24px rgba(1,112,185,.24);
}
.info-item strong{ display:block; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); font-weight:600; }
.info-item a, .info-item span.val{ font-size:1.02rem; color:var(--blue-deep); font-weight:500; }
.info-item a{ transition:color .25s; }
.info-item a:hover{ color:var(--orange); }
.contact-form{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-xl);
  padding:40px; box-shadow:var(--shadow-md);
}
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:12.5px; font-weight:600; color:var(--blue-deep); margin-bottom:8px; letter-spacing:-.005em; }
.field input, .field textarea{
  width:100%; padding:14px 18px; border:1.5px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:15px; color:var(--ink); background:var(--grey-bg);
  transition:border-color .25s, background .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder{ color:#9AA9B8; }
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--blue); background:#fff; box-shadow:0 0 0 4px rgba(1,112,185,.11);
}
.field textarea{ min-height:140px; resize:vertical; }
.form-note{ font-size:13px; color:var(--ink-2); margin-top:16px; }
.map-embed{ border-radius:var(--r-xl); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.map-embed iframe{ display:block; width:100%; height:420px; border:0; }
@media (max-width:920px){ .contact-grid{ grid-template-columns:1fr; gap:44px; } }

/* ---------- Downloads / scope cards ---------- */
.dl-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.dl-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:34px 30px;
  display:flex; flex-direction:column; position:relative; overflow:hidden;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.dl-card::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--grad-brand); transform:scaleY(0); transform-origin:top;
  transition:transform .5s var(--ease-out);
}
.dl-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.dl-card:hover::before{ transform:scaleY(1); }
.dl-ic{
  width:54px; height:54px; border-radius:var(--r-md); background:var(--sky-pale); color:var(--blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
  font-family:var(--font-display); font-weight:700; font-size:14px; letter-spacing:-.02em;
  transition:background .4s, color .4s;
}
.dl-card:hover .dl-ic{ background:var(--grad-brand); color:#fff; }
.dl-card h3{ font-size:1.1rem; margin-bottom:10px; }
.dl-card p{ font-size:14.5px; color:var(--ink-2); flex:1; margin-bottom:22px; line-height:1.7; }
@media (max-width:920px){ .dl-grid{ grid-template-columns:1fr; } }

/* ---------- Projects ---------- */
.proj-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.proj-card{
  position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.proj-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.proj-card img{ width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .9s var(--ease-out); }
.proj-card:hover img{ transform:scale(1.09); }
.proj-overlay{
  position:absolute; top:0; right:0; bottom:0; left:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding:28px; color:#fff;
  background:linear-gradient(to top, rgba(5,15,28,.94) 0%, rgba(5,15,28,.34) 52%, transparent 88%);
}
.proj-overlay span{ font-size:11.5px; letter-spacing:.15em; text-transform:uppercase; color:var(--sky); margin-bottom:8px; font-weight:600; }
.proj-overlay h3{ color:#fff; font-size:1.1rem; }
@media (max-width:920px){ .proj-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .proj-grid{ grid-template-columns:1fr; } }

/* ---------- Area of operation hero ---------- */
.area-hero{
  position:relative; min-height:68vh; display:flex; align-items:flex-end;
  background-size:cover; background-position:center; color:#fff; overflow:hidden;
}
.area-hero-overlay{
  position:absolute; top:0; right:0; bottom:0; left:0;
  background:
    radial-gradient(760px 420px at 76% 16%, rgba(1,112,185,.34) 0%, transparent 62%),
    linear-gradient(to top, rgba(5,15,28,.96) 0%, rgba(11,37,69,.78) 46%, rgba(1,112,185,.3) 100%);
}
.area-hero-inner{ position:relative; z-index:2; padding:110px 28px 62px; max-width:900px; }
.area-hero h1{ color:#fff; font-size:clamp(2.1rem,4.8vw,3.6rem); margin-bottom:16px; letter-spacing:-.04em; }
.area-hero-lead{ font-size:clamp(1.02rem,1.9vw,1.32rem); color:#C9DCEA; font-weight:300; margin-bottom:20px; }

/* ---------- Quick links between areas ---------- */
.mini-links{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.mini-link{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px 24px; background:#fff; border:1px solid var(--line); border-radius:var(--r-md);
  font-size:14.5px; font-weight:500; color:var(--blue-deep);
  transition:transform .35s var(--ease-out), border-color .3s, color .3s, box-shadow .35s;
}
.mini-link svg{ color:var(--ink-2); transition:transform .3s var(--ease-out), color .3s; }
.mini-link:hover{ transform:translateY(-4px); border-color:var(--sky); color:var(--blue); box-shadow:var(--shadow-md); }
.mini-link:hover svg{ transform:translateX(4px); color:var(--orange); }
@media (max-width:920px){ .mini-links{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .mini-links{ grid-template-columns:1fr; } }

/* ---------- Named project feature cards ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.feature-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); overflow:hidden;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.feature-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-lg); border-color:transparent; }
.feature-media{ aspect-ratio:16/9; overflow:hidden; }
.feature-media img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease-out); }
.feature-card:hover .feature-media img{ transform:scale(1.08); }
.feature-body{ padding:32px 34px 36px; }
.feature-tag{
  display:inline-block; margin-bottom:14px; padding:6px 15px; border-radius:100px;
  background:var(--sky-pale); color:var(--blue); font-size:11.5px; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase;
}
.feature-body h3{ font-size:1.4rem; margin-bottom:12px; }
.feature-body p{ color:var(--ink-2); font-size:15px; line-height:1.7; }
@media (max-width:820px){ .feature-grid{ grid-template-columns:1fr; } }

/* ---------- Our Work gallery ---------- */
.gallery-section{ background:var(--grey-bg); }
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:16px; }
.shot{
  position:relative; overflow:hidden; border-radius:var(--r-lg); display:block;
  box-shadow:var(--shadow-sm); transition:box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.shot img{ width:100%; height:100%; object-fit:cover; transition:transform .95s var(--ease-out); }
.shot::after{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background:linear-gradient(to top, rgba(5,15,28,.92) 0%, rgba(5,15,28,.22) 56%, transparent 100%);
  opacity:.8; transition:opacity .45s var(--ease);
}
.shot:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.shot:hover img{ transform:scale(1.1); }
.shot:hover::after{ opacity:.95; }
.shot-tall{ grid-row:span 2; }
.shot-wide{ grid-column:span 2; }
.shot-cap{
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding:22px 24px;
  color:#B6CCDD; font-size:13px;
  transform:translateY(7px); transition:transform .45s var(--ease-out);
}
.shot:hover .shot-cap{ transform:none; }
.shot-cap strong{
  display:block; font-family:var(--font-display); font-size:1.06rem; font-weight:700;
  color:#fff; margin-bottom:4px; letter-spacing:-.02em;
}
@media (max-width:920px){ .gallery{ grid-template-columns:repeat(2,1fr); grid-auto-rows:180px; } }
@media (max-width:540px){
  .gallery{ grid-template-columns:1fr; grid-auto-rows:210px; }
  .shot-tall, .shot-wide{ grid-row:span 1; grid-column:span 1; }
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--blue-deeper); color:#8FA8BD; padding-top:88px; font-size:14.5px;
  position:relative; overflow:hidden;
}
.site-footer::before{
  content:""; position:absolute; top:-180px; left:50%; transform:translateX(-50%);
  width:900px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(1,112,185,.2) 0%, transparent 68%);
}
.site-footer .wrap{ position:relative; z-index:2; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1.6fr 1.2fr; gap:52px; padding-bottom:58px; }
.footer-col h4{
  color:#fff; font-family:var(--font-display); font-size:14px; letter-spacing:.13em;
  text-transform:uppercase; margin-bottom:24px;
}
.logo-img-footer{ height:56px; background:#fff; padding:7px 10px; border-radius:12px; margin-bottom:22px; }
.footer-about p{ margin-bottom:22px; line-height:1.75; }
.footer-areas-cols{ display:grid; grid-template-columns:1fr 1fr; gap:4px 26px; }
.footer-areas-cols a{ display:block; padding:6px 0; transition:color .25s, padding-left .3s var(--ease-out); }
.footer-areas-cols a:hover{ color:var(--sky); padding-left:7px; }
.footer-contact{ display:flex; gap:13px; margin-bottom:17px; align-items:flex-start; }
.footer-contact .ic{ color:var(--orange); flex:0 0 18px; margin-top:4px; }
.footer-contact a{ transition:color .25s; }
.footer-contact a:hover{ color:var(--sky); }
.social-row{ display:flex; gap:10px; margin-top:26px; }
.social-row a{
  width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  color:#C9DCEA; transition:background .35s, transform .35s var(--ease-out), color .35s, border-color .35s;
}
.social-row a:hover{ background:var(--grad-warm); color:#fff; transform:translateY(-5px); border-color:transparent; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08); padding:26px 28px; display:flex;
  justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13.5px;
}
.footer-bottom a{ transition:color .25s; }
.footer-bottom a:hover{ color:var(--sky); }
@media (max-width:1000px){ .footer-grid{ grid-template-columns:1fr; gap:40px; } }

/* ---------- Back to top ---------- */
.to-top{
  position:fixed; right:24px; bottom:24px; z-index:120; width:50px; height:50px; border-radius:50%;
  background:var(--grad-warm); color:#fff; border:0; cursor:pointer;
  box-shadow:0 12px 30px rgba(241,90,36,.4);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(14px) scale(.9);
  transition:all .4s var(--ease-out);
}
.to-top.show{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(241,90,36,.5); }

/* ---------- Prose ---------- */
.prose p + p{ margin-top:20px; }
.prose p{ color:var(--ink-2); font-size:1.04rem; line-height:1.78; }
.prose h3{ margin:38px 0 14px; font-size:1.28rem; }
.prose ul{ display:grid; gap:11px; margin-top:18px; }
.prose ul li{ position:relative; padding-left:28px; color:var(--ink-2); line-height:1.7; }
.prose ul li::before{ content:"\25B8"; position:absolute; left:0; color:var(--orange); font-weight:700; }

/* =========================================================
   FALLBACKS
   If the visitor's browser is too old for CSS Grid or
   aspect-ratio, these keep the layout sane instead of letting
   every card stack full-width.
   ========================================================= */
@supports not (display: grid){
  .areas-grid, .group-grid, .updates-grid, .dl-grid, .proj-grid,
  .feature-grid, .mv-grid, .sibling-row, .mini-links, .stats-grid,
  .gallery, .footer-grid, .about-grid, .contact-grid, .hero-bar,
  .footer-areas-cols, .about-points, .info-list, .prose-list{
    display:block;
  }
  .areas-grid > *, .group-grid > *, .updates-grid > *, .dl-grid > *,
  .proj-grid > *, .feature-grid > *, .mv-grid > *, .sibling-row > *,
  .mini-links > *, .stats-grid > *, .gallery > *, .hero-bar > *{
    display:inline-block; vertical-align:top; width:100%; margin-bottom:22px;
  }
  .wrap{ max-width:1000px; }
}

@supports not (aspect-ratio: 3 / 4){
  .area-card{ height:380px; }
  .update-thumb{ height:210px; }
  .feature-media{ height:260px; }
  .proj-card img{ height:280px; }
}

/* =========================================================
   3D LAYER — canvases driven by js/depth.js, card tilt,
   and 3D scroll reveals
   ========================================================= */

/* ---------- 3D scroll reveal: panels swing up into place ---------- */
.reveal{
  transform:perspective(1200px) translateY(40px) rotateX(14deg);
  transform-origin:50% 100%;
}
.reveal.in{ transform:none; }

/* ---------- 3D canvases ---------- */
.scene-3d{
  position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%;
  pointer-events:none; opacity:0; transition:opacity 1.6s var(--ease);
}
.scene-3d.is-live{ opacity:1; }
.hero .scene-3d{ z-index:3; mix-blend-mode:screen; }
.hero-slide .hero-inner{ z-index:4; }
.hero-arrow, .hero-dots, .hero-bar{ z-index:5; }
.page-banner .scene-3d{ z-index:1; }
.page-banner .scene-3d.is-live{ opacity:.9; }
.stats .scene-3d{ z-index:1; }
.area-hero .scene-3d{ z-index:1; }
.area-hero .scene-3d.is-live{ opacity:.75; }
.stats .scene-3d.is-live{ opacity:.55; }

/* the hero text floats a little in front of the globe */
.hero-slide.is-active h1{ text-shadow:0 18px 40px rgba(5,15,28,.55); }

/* ---------- 3D card tilt ---------- */
.area-card, .group-card, .dl-card, .stat, .mv-card, .update-card,
.proj-card, .feature-card, .sibling, .tax-card, .tax-step{
  will-change:transform; backface-visibility:hidden;
}
.sibling, .stat{ position:relative; }
.is-tilting{
  transition:transform .14s linear, box-shadow .5s var(--ease-out), border-color .4s, background .4s !important;
  box-shadow:0 30px 60px rgba(11,37,69,.22), 0 8px 18px rgba(11,37,69,.08);
  z-index:5;
}
.tilt-glare{
  position:absolute; top:0; right:0; bottom:0; left:0; border-radius:inherit; pointer-events:none; z-index:6;
  background:radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 58%);
  opacity:0; transition:opacity .4s var(--ease); mix-blend-mode:soft-light;
}
.is-tilting > .tilt-glare{ opacity:1; }


@media (prefers-reduced-motion: reduce){
  .scene-3d{ transition:none; }
  .reveal{ transform:none !important; }
}

/* =========================================================
   TAX PRACTICE — Future Law Associates
   ========================================================= */
.tax-hero{
  position:relative; overflow:hidden; color:#fff; padding:110px 0;
  background:
    radial-gradient(700px 420px at 80% 30%, rgba(241,90,36,.18) 0%, transparent 62%),
    radial-gradient(760px 460px at 10% 10%, rgba(1,112,185,.38) 0%, transparent 62%),
    var(--blue-deeper);
}
.tax-hero::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size:30px 30px;
}
.tax-hero .wrap{ position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:60px; align-items:center; }
.tax-hero h2{ color:#fff; font-size:clamp(1.9rem,3.8vw,3rem); margin-bottom:18px; letter-spacing:-.035em; }
.tax-hero h2 .accent{ background:var(--grad-warm); -webkit-background-clip:text; background-clip:text; color:transparent; }
.tax-hero p{ color:#B6CCDD; font-size:1.04rem; line-height:1.8; margin-bottom:16px; }
.tax-hero p strong{ color:#fff; font-weight:600; }
.tax-visual{ position:relative; aspect-ratio:1/1; max-width:460px; width:100%; justify-self:center; }
.tax-visual-label{
  position:absolute; left:50%; bottom:2%; transform:translateX(-50%); white-space:nowrap;
  font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--sky); font-weight:600;
}
.tax-laws{ display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.tax-laws span{
  font-size:12px; padding:7px 13px; border-radius:100px; color:#DCEEFA;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
}
@media (max-width:920px){
  .tax-hero{ padding:80px 0; }
  .tax-hero .wrap{ grid-template-columns:1fr; gap:24px; }
  .tax-visual{ max-width:300px; order:-1; }
}

.tax-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.tax-card{
  position:relative; overflow:hidden; background:#fff; border:1px solid var(--line);
  border-radius:var(--r-lg); padding:34px 30px 30px;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.tax-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.tax-card-ic{
  width:56px; height:56px; border-radius:var(--r-md); margin-bottom:22px;
  display:flex; align-items:center; justify-content:center; color:#fff;
  background:var(--grad-brand); box-shadow:var(--shadow-glow);
  transform:perspective(300px) rotateX(12deg) rotateY(-14deg);
}
.tax-card:nth-child(even) .tax-card-ic{ background:var(--grad-warm); box-shadow:0 14px 30px rgba(241,90,36,.3); }
.tax-card h3{ font-size:1.12rem; margin-bottom:10px; }
.tax-card p{ font-size:14.5px; color:var(--ink-2); line-height:1.7; }
.tax-card ul{ margin-top:14px; display:grid; gap:7px; }
.tax-card li{ position:relative; padding-left:18px; font-size:13.5px; color:var(--ink); line-height:1.55; }
.tax-card li::before{ content:""; position:absolute; left:0; top:.55em; width:7px; height:7px; border-radius:2px; background:var(--sky); transform:rotate(45deg); }
@media (max-width:1020px){ .tax-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .tax-grid{ grid-template-columns:1fr; } }

.tax-steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step; }
.tax-step{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:30px 26px; transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.tax-step::before{
  counter-increment:step; content:"0" counter(step);
  display:block; font-family:var(--font-display); font-weight:700; font-size:2.6rem; line-height:1;
  margin-bottom:14px; background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.tax-step h3{ font-size:1.05rem; margin-bottom:8px; }
.tax-step p{ font-size:14px; color:var(--ink-2); line-height:1.65; }
@media (max-width:1020px){ .tax-steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .tax-steps{ grid-template-columns:1fr; } }

.tax-faq{ max-width:860px; margin:0 auto; display:grid; gap:14px; }
.tax-faq details{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-md);
  transition:box-shadow .4s, border-color .4s;
}
.tax-faq details[open]{ box-shadow:var(--shadow-md); border-color:transparent; }
.tax-faq summary{
  cursor:pointer; list-style:none; padding:22px 58px 22px 26px; position:relative;
  font-family:var(--font-display); font-weight:600; color:var(--blue-deep); font-size:1.02rem; line-height:1.45;
}
.tax-faq summary::-webkit-details-marker{ display:none; }
.tax-faq summary::after{
  content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:50%; background:var(--sky-pale); color:var(--blue);
  display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:600;
  transition:transform .35s var(--ease-out), background .3s, color .3s;
}
.tax-faq details[open] summary::after{ transform:translateY(-50%) rotate(45deg); background:var(--grad-warm); color:#fff; }
.tax-faq summary:focus-visible{ outline:3px solid var(--sky); outline-offset:2px; border-radius:var(--r-md); }
.tax-faq .faq-body{ padding:0 26px 24px; color:var(--ink-2); font-size:15px; line-height:1.75; }
.tax-note{
  max-width:860px; margin:34px auto 0; font-size:13px; color:var(--ink-2); text-align:center; line-height:1.7;
}

/* =========================================================
   3D LAYER — part 2: solid 3D models, section floaters,
   hero logo cards, parallax, 3D buttons and headings
   ========================================================= */

/* ---------- 3D models in banners ---------- */
.page-banner .scene-object.is-live,
.area-hero .scene-object.is-live{ opacity:1; }
.page-banner .scene-object{ z-index:1; }
.area-hero .scene-object{ z-index:1; }
@media (max-width:1100px){
  .page-banner .scene-object.is-live{ opacity:.55; }
}
@media (max-width:900px){
  .obj-left{ display:none; }
  .page-banner .scene-object.is-live,
  .area-hero .scene-object.is-live{ opacity:.35; }
}

/* ---------- floating shapes behind sections ---------- */
.section{ position:relative; }
.section > .wrap{ position:relative; z-index:1; }
.scene-floaters{ z-index:0; }
.scene-floaters.is-live{ opacity:.85; }

/* ---------- group cards: dark 3D stage + floating logo plate ---------- */
.group-card{ padding-top:0; }
.group-stage{
  position:relative; height:190px; margin:0 -26px; overflow:hidden;
  background:
    radial-gradient(260px 150px at 50% 85%, rgba(110,193,228,.28) 0%, transparent 70%),
    radial-gradient(200px 140px at 85% 10%, rgba(241,90,36,.2) 0%, transparent 70%),
    linear-gradient(160deg, var(--blue-deeper) 0%, var(--blue-deep) 100%);
}
.group-stage::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1px, transparent 0);
  background-size:18px 18px;
}
.group-stage .scene-3d{ z-index:1; }
.group-card .group-logo{
  position:relative; z-index:2; margin-top:-38px; background:#fff; border-color:transparent;
  box-shadow:0 14px 32px rgba(11,37,69,.16), 0 2px 6px rgba(11,37,69,.08);
  transform:perspective(600px) rotateX(8deg); transform-origin:50% 100%;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.group-card:hover .group-logo{ transform:perspective(600px) rotateX(0deg) translateY(-4px); }
.group-logo--tall{ height:170px; max-width:230px; padding:12px 16px; }

/* ---------- bigger crest + sibling for square logos (Future Law) ---------- */
.company-crest{ position:relative; transform:perspective(800px) rotateX(6deg); }
.company-crest--tall{ max-width:330px; height:270px; padding:18px 22px; }
.sibling--tall img{ height:66px; flex-basis:82px; width:82px; padding:3px 4px; background:#fff; border:1px solid var(--line); }

/* ---------- home hero: floating 3D logo cards ---------- */
.hero-logo-wrap{
  position:absolute; right:7%; top:50%; z-index:4; perspective:1100px;
  transform:translate3d(calc(var(--px,0) * 34px), calc(-58% + var(--py,0) * 24px), 0);
  transition:transform .6s var(--ease-out);
}
.hero-logo-card{
  width:360px; height:180px; padding:26px 32px; border-radius:30px; background:#fff;
  display:flex; align-items:center; justify-content:center; position:relative;
  box-shadow:
    0 2px 0 rgba(255,255,255,.9) inset,
    0 40px 80px rgba(0,0,0,.45),
    0 0 0 10px rgba(255,255,255,.08),
    0 0 90px rgba(110,193,228,.35);
  transform:rotateY(-18deg) rotateX(7deg);
  opacity:0;
}
.hero-logo-card::after{
  content:""; position:absolute; left:8%; right:8%; bottom:-46px; height:26px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter:blur(4px);
}
.hero-logo-card img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.hero-logo-card--tall{ width:380px; height:320px; padding:24px 28px; }
.hero-slide.is-active .hero-logo-card{
  animation:logoIn 1.1s var(--ease-out) .35s forwards, logoFloat 7s ease-in-out 1.45s infinite;
}
@keyframes logoIn{
  from{ opacity:0; transform:rotateY(-60deg) rotateX(14deg) translateZ(-160px); }
  to{ opacity:1; transform:rotateY(-18deg) rotateX(7deg); }
}
@keyframes logoFloat{
  0%,100%{ opacity:1; transform:rotateY(-18deg) rotateX(7deg) translateY(0); }
  50%{ opacity:1; transform:rotateY(-10deg) rotateX(3deg) translateY(-16px); }
}
/* the globe steps back while a company logo is showing */
.hero-slider:not([data-slide="0"]) .scene-3d.is-live{ opacity:.3; }
@media (max-width:1180px){
  .hero-logo-card{ width:280px; height:140px; }
  .hero-logo-card--tall{ width:280px; height:230px; }
}
/* company slides: keep the text clear of the logo card */
@media (min-width:981px){
  .hero-slide .hero-inner{ width:100%; }
  .hero-slide:not(:first-of-type) .hero-inner > *{ max-width:min(600px, 46vw); }
  .hero-slide:not(:first-of-type) h1{ font-size:clamp(2.6rem, 5vw, 4.4rem); }
}
@media (max-width:980px){ .hero-logo-wrap{ display:none; } }

/* ---------- hero parallax depth ---------- */
.hero-slide .hero-inner{
  transform:translate3d(calc(var(--px,0) * -16px), calc(var(--py,0) * -10px), 0);
  transition:transform .6s var(--ease-out);
}
.hero .scene-3d{
  transform:translate3d(calc(var(--px,0) * 28px), calc(var(--py,0) * 18px), 0);
  transition:opacity 1.2s var(--ease), transform .6s var(--ease-out);
}

/* ---------- raised 3D headings ---------- */
.hero h1, .page-banner h1, .area-hero h1, .tax-hero h2, .stats-head h2, .cta-band h2{
  text-shadow:
    0 1px 0 rgba(4,40,80,.9), 0 2px 0 rgba(4,36,72,.85), 0 3px 0 rgba(4,32,64,.8),
    0 4px 0 rgba(4,28,56,.75), 0 14px 26px rgba(0,0,0,.45);
}
.cta-band h2{
  text-shadow:0 1px 0 #c9471a, 0 2px 0 #bd4115, 0 3px 0 #b03b12, 0 12px 24px rgba(120,30,0,.35);
}
.hero h1 .accent, .tax-hero h2 .accent{
  text-shadow:none;
  filter:drop-shadow(0 3px 0 rgba(4,32,64,.85)) drop-shadow(0 12px 18px rgba(0,0,0,.35));
}
.section-head h2{ text-shadow:0 2px 0 rgba(1,112,185,.08), 0 10px 24px rgba(11,37,69,.08); }

/* ---------- 3D push buttons ---------- */
.btn-primary{ box-shadow:0 5px 0 #b83d11, 0 14px 28px rgba(241,90,36,.34); }
.btn-primary:hover{ box-shadow:0 8px 0 #b83d11, 0 22px 40px rgba(241,90,36,.44); }
.btn-blue{ box-shadow:0 5px 0 #014f82, 0 14px 30px rgba(1,112,185,.3); }
.btn-blue:hover{ box-shadow:0 8px 0 #014f82, 0 24px 46px rgba(1,112,185,.36); }
.btn-outline{ box-shadow:0 4px 0 rgba(255,255,255,.16); }
.btn-outline-dark{ box-shadow:0 4px 0 var(--line); }
.btn:active, .btn-primary:active, .btn-blue:active{ transform:translateY(4px); transition-duration:.08s; }
.btn-primary:active{ box-shadow:0 1px 0 #b83d11, 0 6px 14px rgba(241,90,36,.3); }
.btn-blue:active{ box-shadow:0 1px 0 #014f82, 0 6px 14px rgba(1,112,185,.28); }

/* ---------- 3D stat tiles and area cards ---------- */
.stat{ box-shadow:0 1px 0 rgba(255,255,255,.12) inset, 0 20px 40px rgba(0,0,0,.25); }
.area-card{ box-shadow:0 2px 0 rgba(255,255,255,.1) inset, var(--shadow-md); }

@media (prefers-reduced-motion: reduce){
  .hero-slide.is-active .hero-logo-card{ animation:none; opacity:1; }
}

/* =========================================================
   3D LAYER — part 3: home page sections
   ========================================================= */

/* ---------- dark 3D section (home: Areas of Operation) ---------- */
.section-dark{
  color:#fff; overflow:hidden;
  background:
    radial-gradient(900px 520px at 80% 0%, rgba(1,112,185,.4) 0%, transparent 62%),
    radial-gradient(700px 420px at 8% 100%, rgba(241,90,36,.14) 0%, transparent 62%),
    linear-gradient(180deg, var(--blue-deeper) 0%, var(--blue-deep) 100%);
}
.section-dark > .scene-3d[data-scene="terrain"]{ z-index:0; }
.section-dark > .scene-3d[data-scene="terrain"].is-live{ opacity:.5; }
.section-dark .section-head h2{ color:#fff; text-shadow:0 1px 0 rgba(4,40,80,.9), 0 2px 0 rgba(4,36,72,.85), 0 3px 0 rgba(4,32,64,.8), 0 14px 26px rgba(0,0,0,.45); }
.section-dark .section-head p{ color:#B6CCDD; }
.section-dark .area-card{ box-shadow:0 1px 0 rgba(255,255,255,.14) inset, 0 24px 50px rgba(0,0,0,.4); }

.head-models{ position:absolute; left:0; right:0; top:30px; height:340px; z-index:0; pointer-events:none; }
.head-models .scene-3d{ position:absolute; }
/* side models only where there is room beside the heading */
@media (max-width:1480px){ .head-models{ height:270px; top:44px; } }
@media (max-width:1260px){ .head-models{ display:none; } }

/* ---------- scroll-driven 3D: panels swing upright ---------- */
.scroll-3d{ perspective:1700px; perspective-origin:50% 0%; }
.scroll-3d > *{
  transform-origin:50% 0%;
  transform:rotateX(calc(var(--tilt, 0) * 24deg)) scale(calc(1 - var(--tilt, 0) * .08));
  opacity:calc(1 - var(--tilt, 0) * .55);
  will-change:transform;
}

/* ---------- about: photo in a tilted 3D frame + gears ---------- */
.about-3d{ perspective:1300px; }
.about-frame{
  position:relative; border-radius:var(--r-xl);
  transform:rotateY(-11deg) rotateX(4deg);
  transition:transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  box-shadow:30px 40px 70px rgba(11,37,69,.25), 8px 10px 20px rgba(11,37,69,.1);
}
.about-frame img{ box-shadow:none; }
.about-frame::after{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 38%);
  border:1px solid rgba(255,255,255,.35);
}
.about-model{
  position:absolute; width:52%; height:64%; left:-9%; bottom:-18%; z-index:3; pointer-events:none;
}
.about-model.is-live{ opacity:1; }
.about-3d .about-badge{ z-index:4; transform:perspective(600px) rotateY(-12deg) translateZ(30px); }
@media (max-width:920px){
  .about-frame{ transform:rotateY(-6deg) rotateX(3deg); }
  .about-model{ width:48%; height:60%; left:-6%; bottom:-14%; }
}

/* ---------- brochure: 3D document stack ---------- */
.brochure-model{ position:relative; flex:0 0 190px; height:170px; margin:-20px 0; }
.brochure-model .scene-3d{ position:absolute; }
.brochure-copy{ flex:1 1 360px; }
@media (max-width:760px){ .brochure-model{ display:none; } }

/* ---------- stats: a spinning model above each figure ---------- */
.stat-model{ position:relative; height:118px; margin:-14px -10px 6px; }
.stat-model .scene-3d{ position:absolute; }
.stat-model .scene-3d.is-live{ opacity:1; }

/* ---------- CTA band models ---------- */
.cta-band .scene-object{ z-index:1; }
.cta-band .scene-object.is-live{ opacity:.95; }
@media (max-width:900px){
  .cta-band .obj-left{ display:none; }
  .cta-band .scene-object.is-live{ opacity:.3; }
}

/* ---------- partners: logos on a rotating 3D ring ---------- */
.ring-stage{
  position:relative; height:300px; perspective:1500px; perspective-origin:50% 30%;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}
.ring{
  position:absolute; left:50%; top:46%; width:0; height:0; transform-style:preserve-3d;
  animation:ringSpin var(--ring-time, 60s) linear infinite;
}
.ring-stage:hover .ring{ animation-play-state:paused; }
@keyframes ringSpin{
  from{ transform:translateZ(calc(var(--r) * -1)) rotateX(-7deg) rotateY(0deg); }
  to{ transform:translateZ(calc(var(--r) * -1)) rotateX(-7deg) rotateY(-360deg); }
}
.ring-item{ position:absolute; left:-130px; top:-86px; width:260px; height:172px; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.ring-item .partner-logo{ width:100%; height:100%; padding:24px 28px; box-shadow:0 18px 40px rgba(11,37,69,.14); }
.ring-stage::after{
  content:""; position:absolute; left:20%; right:20%; bottom:14px; height:30px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(11,37,69,.18), transparent);
}

/* =========================================================
   3D LAYER — part 4: inner pages, bigger logos, new content
   ========================================================= */

/* ---------- bigger company logos everywhere ---------- */
.group-card .group-logo{ height:150px; max-width:100%; padding:14px 16px; }
.group-card .group-logo--tall{ height:180px; max-width:250px; }
.company-crest{ max-width:440px; height:170px; padding:18px 26px; }
.company-crest--tall{ max-width:340px; height:280px; }
.sibling{ padding:16px 20px; font-size:15px; }
.sibling img{ flex:0 0 128px; width:128px; height:68px; background:#fff; border:1px solid var(--line); padding:6px 8px; }
.sibling--tall img{ flex-basis:96px; width:96px; height:80px; }
.hero-logo-card{ width:440px; height:210px; }
.hero-logo-card--tall{ width:390px; height:330px; }
@media (max-width:1180px){
  .hero-logo-card{ width:330px; height:160px; }
  .hero-logo-card--tall{ width:290px; height:240px; }
}
.logo-img{ height:56px; }
.site-header.stuck .logo-img{ height:48px; }
.logo-img-footer{ height:70px; }
@media (max-width:600px){
  .company-crest{ height:130px; }
  .company-crest--tall{ height:240px; }
  .sibling img{ flex-basis:104px; width:104px; height:58px; }
}

/* ---------- footer: 3D wave grid ---------- */
.site-footer{ position:relative; overflow:hidden; }
.site-footer > .scene-3d{ z-index:1; }
.site-footer > .scene-3d.is-live{ opacity:.35; }

/* ---------- cards and steps on dark 3D sections ---------- */
.section-dark .tax-card,
.section-dark .tax-step{
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 24px 50px rgba(0,0,0,.28);
}
.section-dark .tax-card h3, .section-dark .tax-step h3{ color:#fff; }
.section-dark .tax-card p, .section-dark .tax-step p{ color:#B6CCDD; }
.section-dark .tax-card:hover, .section-dark .tax-step:hover{ background:rgba(255,255,255,.09); border-color:rgba(110,193,228,.4); }
.section-dark .tax-step::before{ background:var(--grad-warm); -webkit-background-clip:text; background-clip:text; }
.steps-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1020px){ .steps-3{ grid-template-columns:1fr; } }
.four-grid{ grid-template-columns:repeat(4,1fr); }
@media (max-width:1100px){ .four-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .four-grid{ grid-template-columns:1fr; } }

.sector-block{ margin-top:54px; text-align:center; }
.sector-block .sector-chips{ justify-content:center; margin-top:4px; }

/* ---------- areas page: lifecycle ---------- */
.life-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; position:relative; }
.life-grid::before{
  content:""; position:absolute; left:6%; right:6%; top:44px; height:2px;
  background:linear-gradient(90deg, transparent, rgba(110,193,228,.6), rgba(241,90,36,.6), transparent);
}
.life-step{
  position:relative; padding:28px 22px 24px; border-radius:var(--r-lg);
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 24px 50px rgba(0,0,0,.28);
  transition:transform .5s var(--ease-out), background .4s, border-color .4s;
}
.life-step:hover{ transform:translateY(-8px); background:rgba(255,255,255,.09); border-color:rgba(110,193,228,.4); }
.life-num{
  display:inline-flex; width:40px; height:40px; border-radius:12px; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:14px; color:#fff; background:var(--grad-warm);
  box-shadow:0 5px 0 #b83d11, 0 12px 24px rgba(241,90,36,.35); margin-bottom:18px;
  transform:perspective(300px) rotateX(14deg);
}
.life-step h3{ color:#fff; font-size:1.15rem; margin-bottom:8px; }
.life-step p{ color:#B6CCDD; font-size:14px; line-height:1.65; margin-bottom:14px; }
.life-links{ display:flex; flex-wrap:wrap; gap:6px; }
.life-links a{
  font-size:12px; padding:5px 11px; border-radius:100px; color:#DCEEFA;
  background:rgba(110,193,228,.12); border:1px solid rgba(110,193,228,.28); transition:background .3s, color .3s;
}
.life-links a:hover{ background:var(--sky); color:var(--blue-deeper); }
@media (max-width:1100px){ .life-grid{ grid-template-columns:repeat(2,1fr); } .life-grid::before{ display:none; } }
@media (max-width:600px){ .life-grid{ grid-template-columns:1fr; } }

/* ---------- group page: one project, four companies ---------- */
.show-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.show-tile{
  display:block; position:relative; border-radius:var(--r-lg); padding:0 22px 26px; color:#fff; overflow:hidden;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 24px 50px rgba(0,0,0,.3);
  transition:transform .5s var(--ease-out), border-color .4s, background .4s;
}
.show-tile:hover{ border-color:rgba(110,193,228,.45); background:rgba(255,255,255,.08); }
.show-stage{
  position:relative; height:210px; margin:0 -22px 18px;
  background:radial-gradient(200px 110px at 50% 88%, rgba(110,193,228,.3) 0%, transparent 70%);
}
.show-stage .scene-3d{ position:absolute; }
.show-num{ font-family:var(--font-display); font-size:12px; font-weight:600; letter-spacing:.16em; color:var(--orange); }
.show-tile h3{ color:#fff; font-size:1.12rem; margin:6px 0 8px; }
.show-tile p{ color:#B6CCDD; font-size:14px; line-height:1.65; }
@media (max-width:1100px){ .show-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .show-grid{ grid-template-columns:1fr; } }

/* ---------- about: timeline ---------- */
.timeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; padding-top:34px; }
.timeline::before{
  content:""; position:absolute; left:0; right:0; top:10px; height:3px; border-radius:3px;
  background:linear-gradient(90deg, var(--sky), var(--blue), var(--orange));
}
.tl-item{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:28px 24px;
  box-shadow:var(--shadow-md); transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.tl-dot{
  position:absolute; top:-33px; left:24px; width:20px; height:20px; border-radius:50%;
  background:var(--grad-warm); border:4px solid #fff; box-shadow:0 0 0 3px rgba(241,90,36,.25), 0 6px 14px rgba(241,90,36,.4);
}
.tl-when{
  display:inline-block; font-family:var(--font-display); font-weight:700; font-size:1.5rem; letter-spacing:-.03em;
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:6px;
}
.tl-item h3{ font-size:1.05rem; margin-bottom:8px; }
.tl-item p{ font-size:14px; color:var(--ink-2); line-height:1.65; }
@media (max-width:1020px){
  .timeline{ grid-template-columns:1fr 1fr; padding-top:0; }
  .timeline::before, .tl-dot{ display:none; }
}
@media (max-width:600px){ .timeline{ grid-template-columns:1fr; } }

/* ---------- downloads: prequalification ---------- */
.prequal{ display:grid; grid-template-columns:1.2fr .8fr; gap:50px; align-items:center; }
.prequal h2{ color:#fff; font-size:clamp(1.8rem,3.4vw,2.6rem); margin-bottom:16px; }
.prequal p{ color:#B6CCDD; line-height:1.8; }
.prequal-list{ display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin-top:22px; }
.prequal-list li{ position:relative; padding-left:26px; color:#DCEEFA; font-size:14.5px; }
.prequal-list li::before{
  content:"\2713"; position:absolute; left:0; top:2px; width:18px; height:18px; border-radius:50%;
  background:var(--grad-brand); color:#fff; font-size:10px; display:flex; align-items:center; justify-content:center;
}
.prequal-visual{ position:relative; height:360px; }
.prequal-visual .scene-3d{ position:absolute; }
@media (max-width:900px){
  .prequal{ grid-template-columns:1fr; }
  .prequal-visual{ height:240px; order:-1; }
  .prequal-list{ grid-template-columns:1fr; }
}

/* more cards join the 3D tilt */
.life-step, .show-tile, .tl-item{ will-change:transform; }

/* =========================================================
   WELCOME SCREEN — 3D, 7 seconds
   (overrides the original welcome-screen rules further up)
   ========================================================= */
.splash-on .splash{
  /* backstop: fades out on its own at 7s even if the script never runs */
  animation:splashOut .7s var(--ease) 7.15s forwards;
  overflow:hidden;
}
.splash .splash-globe{ z-index:1; }
.splash .splash-globe.is-live{ opacity:.9; }
.splash .splash-floor{ z-index:1; top:auto; height:46%; }
.splash .splash-floor.is-live{ opacity:.55; }
.splash-inner{ z-index:3; perspective:1200px; max-width:760px; }

/* logo swings in on a thick 3D card, then keeps rocking gently */
.splash-plate{
  width:min(360px,80vw); min-height:124px; border-radius:26px;
  box-shadow:
    0 1px 0 #e3edf5, 0 2px 0 #d8e5ef, 0 3px 0 #cddde9, 0 4px 0 #c2d5e3,
    0 5px 0 #b7cddd, 0 6px 0 #acc5d7, 0 7px 0 #a1bdd1,
    0 30px 60px rgba(0,0,0,.5), 0 0 80px rgba(110,193,228,.35);
  transform-style:preserve-3d;
  animation:plate3dIn 1.3s var(--ease-out) .15s forwards, plate3dFloat 5s ease-in-out 1.5s infinite;
}
@keyframes plate3dIn{
  from{ opacity:0; transform:perspective(900px) translateZ(-420px) rotateY(-110deg) rotateX(24deg); }
  to{ opacity:1; transform:perspective(900px) rotateY(0) rotateX(0); }
}
@keyframes plate3dFloat{
  0%,100%{ opacity:1; transform:perspective(900px) rotateY(-9deg) rotateX(5deg) translateY(0); }
  50%{ opacity:1; transform:perspective(900px) rotateY(9deg) rotateX(-3deg) translateY(-10px); }
}

.splash-welcome{ animation:splashIn .8s var(--ease-out) .8s forwards; }

/* the name flips up letter by letter, with raised 3D letters */
.splash-name{ opacity:1; transform:none; animation:none; font-size:clamp(1.7rem,5vw,3.1rem); }
.splash-name .w{ display:inline-block; white-space:nowrap; }
.splash-name .w span{
  display:inline-block; opacity:0; transform-origin:50% 100%;
  transform:perspective(500px) rotateX(-95deg) translateY(18px);
  animation:letter3d .65s var(--ease-out) calc(1s + var(--i) * .045s) forwards;
  text-shadow:0 1px 0 #6fa9cf, 0 2px 0 #4f8fbb, 0 3px 0 #3a78a6, 0 4px 0 #2a6392, 0 14px 24px rgba(0,0,0,.5);
}
@keyframes letter3d{ to{ opacity:1; transform:perspective(500px) rotateX(0) translateY(0); } }

/* the four group companies rise in on 3D stages */
.splash-models{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:34px auto 0; max-width:640px; }
.splash-model{
  display:flex; flex-direction:column; align-items:center; gap:6px; padding:0 4px 12px;
  border-radius:18px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 20px 40px rgba(0,0,0,.35);
  opacity:0; transform:perspective(700px) translateY(60px) rotateX(55deg);
  animation:model3dIn .9s var(--ease-out) calc(2.3s + var(--m) * .25s) forwards;
}
.splash-model canvas{ position:relative !important; width:100%; height:120px; }
.splash-model b{ font-size:11.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#DCEEFA; }
@keyframes model3dIn{ to{ opacity:1; transform:perspective(700px) translateY(0) rotateX(0); } }

/* progress bar runs the full 7 seconds */
.splash-bar{ width:240px; margin-top:30px; }
.splash-bar i{ animation:splashBar 6.2s linear .8s forwards; }

@media (max-width:600px){
  .splash-models{ gap:8px; }
  .splash-model canvas{ height:84px; }
  .splash-model b{ font-size:9.5px; letter-spacing:.06em; }
  .splash-plate{ min-height:100px; }
}
@media (max-height:640px){ .splash-models{ display:none; } }

@media (prefers-reduced-motion: reduce){
  .splash-on .splash{ animation:splashOut .001ms linear .3s forwards; }
  .splash-name .w span, .splash-model{ opacity:1; transform:none; animation:none; }
  .splash-plate{ animation:none; opacity:1; transform:none; }
}

/* =========================================================
   FROM THE 2025 PROFILE: project history, key customers,
   certificates, offices, CEO message, new FGOC logo
   ========================================================= */

/* ---------- FGOC logo ---------- */
.logo-img{ height:58px; }
.site-header.stuck .logo-img{ height:50px; }
.logo-img-footer{ height:82px; padding:8px 12px; }
.splash-plate{ width:min(330px,74vw); min-height:0; padding:22px 30px; }
.splash-plate img{ max-height:240px; width:auto; }
@media (max-width:600px){ .logo-img{ height:48px; } .splash-plate img{ max-height:190px; } }

/* six group companies: three across */
.group-grid{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1100px){ .group-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:680px){ .group-grid{ grid-template-columns:1fr; } }

/* ---------- project history ---------- */
.ph-list{ display:grid; gap:34px; }
.ph-item{
  display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:0; align-items:stretch;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--shadow-md); transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.ph-item:nth-child(even){ grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); }
.ph-item:nth-child(even) .ph-media{ order:2; }
.ph-item:hover{ box-shadow:var(--shadow-lg); }
.ph-media{ position:relative; min-height:300px; background:var(--blue-deep); }
.ph-media img{ position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%; object-fit:cover; }
.ph-years{
  position:absolute; left:20px; top:20px; padding:9px 16px; border-radius:100px;
  font-family:var(--font-display); font-weight:700; font-size:14px; color:#fff; letter-spacing:-.01em;
  background:var(--grad-warm); box-shadow:0 5px 0 #b83d11, 0 14px 28px rgba(0,0,0,.3);
}
.ph-body{ padding:34px 38px; display:flex; flex-direction:column; }
.ph-company{ font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.ph-body h3{ font-size:1.3rem; line-height:1.25; margin-bottom:10px; }
.ph-meta{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:13.5px; color:var(--ink-2); margin-bottom:16px; }
.ph-meta span{ position:relative; }
.ph-meta span + span::before{ content:"\2022"; position:absolute; left:-11px; color:var(--sky); }
.ph-body ul{ display:grid; gap:8px; margin-bottom:18px; }
.ph-body li{ position:relative; padding-left:22px; font-size:14.5px; color:var(--ink); line-height:1.6; }
.ph-body li::before{ content:""; position:absolute; left:2px; top:.62em; width:8px; height:8px; border-radius:2px; background:var(--grad-brand); transform:rotate(45deg); }
.ph-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:14px; border-top:1px solid var(--line); }
.ph-client-logo{ height:46px; width:auto; max-width:150px; object-fit:contain; }
.ph-cert{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--blue); }
.ph-cert:hover{ color:var(--orange); }
.ph-compact .ph-media{ min-height:240px; }
.ph-compact .ph-body{ padding:26px 30px; }
.ph-compact .ph-body h3{ font-size:1.12rem; }
@media (max-width:860px){
  .ph-item, .ph-item:nth-child(even){ grid-template-columns:1fr; }
  .ph-item:nth-child(even) .ph-media{ order:0; }
  .ph-media{ min-height:220px; }
  .ph-body{ padding:26px 22px; }
}

/* ---------- key customers ---------- */
.kc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.kc-card{
  padding:26px 24px; border-radius:var(--r-lg);
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 24px 50px rgba(0,0,0,.28);
}
.kc-card h3{ color:#fff; font-size:1.02rem; margin-bottom:14px; }
.kc-names{ display:flex; flex-wrap:wrap; gap:6px; }
.kc-names span{
  font-size:12.5px; padding:5px 11px; border-radius:100px; color:#DCEEFA;
  background:rgba(110,193,228,.12); border:1px solid rgba(110,193,228,.25);
}
@media (max-width:1100px){ .kc-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .kc-grid{ grid-template-columns:1fr; } }

/* ---------- certificates ---------- */
.cert-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.cert-card{ margin:0; display:flex; flex-direction:column; }
.cert-frame{
  display:block; position:relative; aspect-ratio:3/4; border-radius:var(--r-md); overflow:hidden; background:#fff;
  border:1px solid var(--line);
  box-shadow:0 1px 0 #fff inset, 0 3px 0 #e3ecf3, 0 6px 0 #d4e1ec, 0 24px 44px rgba(11,37,69,.18);
  transform:perspective(900px) rotateX(4deg); transform-origin:50% 100%;
  transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cert-frame img{ width:100%; height:100%; object-fit:contain; padding:10px; background:#fff; }
.cert-frame::after{
  content:"View"; position:absolute; right:12px; bottom:12px; padding:6px 12px; border-radius:100px;
  font-size:12px; font-weight:600; color:#fff; background:var(--blue-deep); opacity:0; transform:translateY(6px);
  transition:opacity .3s, transform .3s var(--ease-out);
}
.cert-frame:hover{ transform:perspective(900px) rotateX(0) translateY(-8px); box-shadow:0 30px 60px rgba(11,37,69,.22); }
.cert-frame:hover::after{ opacity:1; transform:none; }
.cert-card figcaption{ padding:16px 4px 0; display:grid; gap:3px; }
.cert-card strong{ font-family:var(--font-display); color:var(--blue-deep); font-size:15px; line-height:1.3; }
.cert-holder{ font-size:13px; font-weight:600; color:var(--orange); }
.cert-issuer{ font-size:13px; color:var(--ink-2); }
.cert-detail{ font-size:12.5px; color:var(--ink-2); line-height:1.5; }
@media (max-width:1100px){ .cert-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .cert-grid{ grid-template-columns:repeat(2,1fr); gap:18px; } }

/* lightbox for certificates */
.lightbox{
  position:fixed; top:0; right:0; bottom:0; left:0; z-index:10000; display:flex; align-items:center; justify-content:center;
  padding:40px 20px; background:rgba(5,15,28,.88); backdrop-filter:blur(6px);
  opacity:0; transition:opacity .3s; cursor:zoom-out;
}
.lightbox.open{ opacity:1; }
.lightbox img{
  max-width:min(1000px,100%); max-height:100%; border-radius:12px; background:#fff; box-shadow:0 40px 80px rgba(0,0,0,.5);
  transform:perspective(1000px) rotateX(8deg) scale(.94); transition:transform .45s var(--ease-out);
}
.lightbox.open img{ transform:none; }
.lightbox button{
  position:absolute; top:18px; right:22px; width:46px; height:46px; border-radius:50%; border:0; cursor:pointer;
  background:#fff; color:var(--blue-deep); font-size:24px; line-height:1;
}

/* ---------- offices ---------- */
.office-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.office-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:28px 24px;
  box-shadow:var(--shadow-md); display:flex; flex-direction:column;
}
.office-ic{
  width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; color:#fff;
  background:var(--grad-brand); box-shadow:0 5px 0 #014f82, 0 12px 24px rgba(1,112,185,.3); margin-bottom:18px;
}
.office-card h3{ font-size:1.08rem; margin-bottom:8px; }
.office-card p{ font-size:14px; color:var(--ink-2); line-height:1.65; margin-bottom:14px; }
.office-tel{ margin-top:auto; display:grid; gap:6px; }
.office-tel a{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--blue); }
.office-tel a:hover{ color:var(--orange); }
@media (max-width:1100px){ .office-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .office-grid{ grid-template-columns:1fr; } }

/* ---------- CEO message ---------- */
.ceo-grid{ display:grid; grid-template-columns:.7fr 1.3fr; gap:64px; align-items:center; }
.ceo-photo{ perspective:1100px; }
.ceo-frame{
  border-radius:var(--r-xl); overflow:hidden; aspect-ratio:3/4; background:var(--sky-pale);
  transform:rotateY(10deg) rotateX(3deg);
  box-shadow:-24px 34px 64px rgba(11,37,69,.24), 0 0 0 10px #fff, 0 0 0 11px var(--line);
}
.ceo-frame img{ width:100%; height:100%; object-fit:cover; }
.ceo-name{ margin-top:26px; text-align:center; }
.ceo-name strong{ display:block; font-family:var(--font-display); color:var(--blue-deep); font-size:1.1rem; }
.ceo-name span{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); font-weight:600; }
@media (max-width:860px){ .ceo-grid{ grid-template-columns:1fr; gap:36px; } .ceo-photo{ max-width:300px; margin:0 auto; } }

/* welcome screen: six company models */
.splash-models{ grid-template-columns:repeat(6,1fr); max-width:860px; gap:12px; }
.splash-model canvas{ height:104px; }
@media (max-width:760px){ .splash-models{ grid-template-columns:repeat(3,1fr); max-width:420px; } .splash-model canvas{ height:80px; } }

/* =========================================================
   COMPANY PROFILE — online viewer, 3D booklet, menu
   ========================================================= */

/* eight menu items: keep them on one line */
@media (min-width:1181px){
  .main-nav a{ padding:10px 13px; font-size:13.5px; }
}
@media (min-width:1181px) and (max-width:1400px){
  .main-nav a{ padding:9px 9px; font-size:13px; }
  .header-inner{ gap:12px; }
  .header-cta{ padding:12px 18px; font-size:14px; }
  .logo-img{ height:50px; }
}
@media (max-width:1260px) and (min-width:1181px){ .header-cta{ display:none; } }

/* ---------- 3D booklet on the home page ---------- */
.brochure{ padding:84px 0; }
.brochure-inner{ justify-content:flex-start; gap:56px; }
.brochure-copy{ flex:1 1 380px; }
.brochure-copy .brochure-links{ margin-top:24px; }
.book3d{ flex:0 0 auto; display:block; perspective:1400px; margin:-10px 0; }
.book3d-inner{
  position:relative; display:block; width:230px; aspect-ratio:210/297;
  transform:rotateY(-24deg) rotateX(6deg); transform-style:preserve-3d;
  transition:transform .7s var(--ease-out);
  box-shadow:24px 30px 60px rgba(0,0,0,.45), 6px 6px 0 rgba(255,255,255,.9), 10px 10px 0 rgba(220,230,242,.9), 14px 14px 0 rgba(190,205,222,.9);
  border-radius:4px 10px 10px 4px;
}
.book3d-inner img{ width:100%; height:100%; object-fit:cover; border-radius:4px 10px 10px 4px; display:block; }
.book3d-inner::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:14px; z-index:2; border-radius:4px 0 0 4px;
  background:linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.18) 60%, transparent);
}
.book3d-inner::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(115deg, rgba(255,255,255,.25) 0%, transparent 35%);
}
.book3d:hover .book3d-inner{ transform:rotateY(-8deg) rotateX(2deg) translateY(-6px); }
@media (max-width:760px){
  .brochure-inner{ flex-direction:column; align-items:flex-start; gap:34px; }
  .book3d-inner{ width:170px; }
}

.dl-alt{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:13.5px; font-weight:600; color:var(--blue); }
.dl-alt:hover{ color:var(--orange); }

/* ---------- viewer ---------- */
.pv-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:26px; }
.pv{ max-width:1180px; margin:0 auto; }
.pv:fullscreen{ max-width:none; background:#0b1d4a; padding:24px; display:flex; flex-direction:column; justify-content:center; }
.pv-stage{ position:relative; display:flex; align-items:center; justify-content:center; gap:18px; perspective:2200px; }
.pv-book{
  position:relative; display:flex; justify-content:center; cursor:pointer;
  transform-style:preserve-3d; filter:drop-shadow(0 30px 50px rgba(11,37,69,.28));
}
.pv-leaf{ background:#fff; overflow:hidden; }
.pv-leaf img{ display:block; height:min(78vh, 900px); width:auto; max-width:100%; }
.pv-book.is-spread .pv-left{ border-radius:8px 0 0 8px; box-shadow:inset -18px 0 24px -18px rgba(0,0,0,.35); }
.pv-book.is-spread .pv-right{ border-radius:0 8px 8px 0; box-shadow:inset 18px 0 24px -18px rgba(0,0,0,.35); }
.pv-book:not(.is-spread) .pv-left{ border-radius:8px; }
.pv-book.is-spread .pv-leaf img{ height:min(70vh, 780px); }
.pv:fullscreen .pv-leaf img{ height:calc(100vh - 190px); }
.pv:fullscreen .pv-book.is-spread .pv-leaf img{ height:calc(100vh - 190px); }
/* page turn */
.pv-book.turn-out-next{ animation:pvOutNext .26s ease-in forwards; }
.pv-book.turn-out-prev{ animation:pvOutPrev .26s ease-in forwards; }
.pv-book.turn-in-next{ animation:pvInNext .32s var(--ease-out) forwards; }
.pv-book.turn-in-prev{ animation:pvInPrev .32s var(--ease-out) forwards; }
@keyframes pvOutNext{ to{ transform:rotateY(-70deg) translateX(-40px); opacity:.2; } }
@keyframes pvOutPrev{ to{ transform:rotateY(70deg) translateX(40px); opacity:.2; } }
@keyframes pvInNext{ from{ transform:rotateY(70deg) translateX(40px); opacity:.2; } to{ transform:none; opacity:1; } }
@keyframes pvInPrev{ from{ transform:rotateY(-70deg) translateX(-40px); opacity:.2; } to{ transform:none; opacity:1; } }

.pv-nav{
  flex:0 0 auto; width:54px; height:54px; border-radius:50%; border:0; cursor:pointer; color:#fff;
  background:var(--grad-brand); box-shadow:0 5px 0 #014f82, 0 14px 30px rgba(1,112,185,.35);
  display:flex; align-items:center; justify-content:center; transition:transform .25s var(--ease-out);
}
.pv-nav:hover{ transform:translateY(-3px); }
.pv-nav:active{ transform:translateY(3px); box-shadow:0 1px 0 #014f82; }
.pv-bar{ display:flex; justify-content:center; gap:18px; align-items:center; margin:22px 0 14px; font-size:14px; color:var(--ink-2); }
#pvCount{ font-family:var(--font-display); font-weight:700; color:var(--blue-deep); background:var(--sky-pale); padding:6px 14px; border-radius:100px; }
.pv:fullscreen .pv-bar{ color:#b7c7e6; }
.pv-thumbs{ display:flex; gap:10px; overflow-x:auto; padding:8px 4px 14px; scroll-snap-type:x mandatory; }
.pv-thumb{
  flex:0 0 auto; position:relative; width:78px; border:2px solid transparent; border-radius:6px; padding:0; cursor:pointer;
  background:#fff; box-shadow:var(--shadow-sm); scroll-snap-align:center; transition:transform .25s var(--ease-out), border-color .25s;
}
.pv-thumb img{ display:block; width:100%; border-radius:4px; }
.pv-thumb span{ position:absolute; right:4px; bottom:4px; font-size:10px; font-weight:700; color:#fff; background:rgba(11,37,69,.8); padding:1px 5px; border-radius:4px; }
.pv-thumb:hover{ transform:translateY(-3px); }
.pv-thumb.is-active{ border-color:var(--orange); transform:translateY(-3px); }
@media (max-width:760px){
  .pv-stage{ gap:6px; }
  .pv-nav{ width:40px; height:40px; position:absolute; top:50%; transform:translateY(-50%); z-index:2; }
  .pv-prev{ left:-6px; } .pv-next{ right:-6px; }
  .pv-nav:hover, .pv-nav:active{ transform:translateY(-50%); }
  .pv-leaf img{ height:auto; width:100%; max-height:none; }
  .pv-book{ width:100%; }
  .pv-hint{ display:none; }
}

/* Integrity marker — must stay the LAST rule in this file.
   js/script.js reads it to confirm the whole stylesheet arrived;
   if the upload was truncated it logs a clear console warning
   instead of leaving you guessing at a half-styled page. */
.css-integrity-probe{ font-family:'fgoc-css-ok'; }
