/* ============================================================
   AL SHAMSH — ENTERPRISE REDESIGN 2026
   Theme: Warm Light Corporate · Marble White · Brand Red
   ============================================================ */

:root {
  --red:          #9B1C1C;
  --red-light:    #B91C1C;
  --red-bright:   #DC2626;
  --red-deep:     #7F1D1D;
  --red-subtle:   rgba(155,28,28,0.07);
  --red-border:   rgba(155,28,28,0.2);
  --red-glow:     rgba(155,28,28,0.15);
  --bg-base:      #F7F6F3;
  --bg-white:     #FFFFFF;
  --surface-1:    #F2F1EE;
  --surface-2:    #E8E5DE;
  --surface-dark: #1A1816;
  --surface-red:  #9B1C1C;
  --border:       rgba(0,0,0,0.08);
  --border-med:   rgba(0,0,0,0.13);
  --border-hover: rgba(155,28,28,0.28);
  --text-black:   #0D0C0A;
  --text-primary: #1E1C19;
  --text-secondary:#4A4742;
  --text-muted:   #8A8480;
  --text-on-red:  #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --section-pad:  120px 0;
  --container:    1360px;
  --radius:       2px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);   /* strong ease-out: entrances, feedback */
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);  /* on-screen movement */
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);   /* sheets / drawers */
  --dur:          0.25s;
  /* Surface transition: named properties only (never `all`) */
  --t-surface:    background-color .2s ease, border-color .2s ease, color .2s ease,
                  box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { border:none; background:none; cursor:pointer; font:inherit; }

.container { max-width:var(--container); margin:0 auto; padding:0 48px; }

.eyebrow {
  display:inline-flex; align-items:center; gap:14px;
  font-size:10px; font-weight:700; letter-spacing:4px; text-transform:uppercase;
  color:var(--red-light);
}
.eyebrow::before { content:''; display:block; height:1px; width:28px; background:var(--red); }
.eyebrow::after  { content:''; display:block; height:1px; width:28px; background:var(--red); }
.eyebrow.left::before  { display:none; }
.eyebrow.no-after::after { display:none; }

h1,h2,h3,h4 { font-family:var(--font-display); color:var(--text-primary); line-height:1.12; font-weight:500; }

/* Reveal — visible by default; hidden only once JS has booted (html.js), so a JS failure never blanks the page. */
.js .reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 100ms); }
.js .reveal:not(.visible) { opacity:0; transform:translateY(32px); }
.reveal-delay-1 { --i:1; }
.reveal-delay-2 { --i:2; }
.reveal-delay-3 { --i:3; }
.reveal-delay-4 { --i:4; }
.reveal-delay-5 { --i:5; }

/* SKIP LINK */
.skip-to-content { position:absolute; top:-40px; left:0; z-index:9999; background:var(--red); color:#fff; padding:8px 16px; font-size:13px; transition:top .2s; }
.skip-to-content:focus { top:0; }

/* NAV */
.nav-wrapper { position:fixed; top:0; left:0; right:0; z-index:900; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.nav-wrapper.scrolled { background:rgba(255,255,255,0.96); backdrop-filter:blur(20px) saturate(1.3); box-shadow:0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06); }
.nav-inner { max-width:var(--container); margin:0 auto; padding:0 48px; height:74px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; gap:14px; }
.nav-logo img { height:44px; width:auto; transition:height var(--dur) var(--ease); filter:drop-shadow(0 2px 6px rgba(0,0,0,0.12)); }
.nav-wrapper.scrolled .nav-logo img { height:38px; }
.nav-logo-text { display:flex; flex-direction:column; }
.nav-logo-text .name { font-family:var(--font-display); font-size:20px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--text-primary); line-height:1; }
.nav-logo-text .tagline { font-size:8px; font-weight:700; letter-spacing:3.5px; text-transform:uppercase; color:var(--red-light); margin-top:3px; }
.nav-links { display:flex; align-items:center; gap:34px; }
.nav-links a { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--text-secondary); position:relative; padding:6px 0; transition:color var(--dur) var(--ease); }
.nav-links a::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:1.5px; background:var(--red); transform:scaleX(0); transform-origin:right; transition:transform .25s var(--ease-out); }
.nav-links a:hover { color:var(--red); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform:scaleX(1); transform-origin:left; }
.nav-cta { display:inline-flex; align-items:center; gap:10px; padding:12px 26px; background:var(--red); color:#fff !important; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; border:1.5px solid var(--red); border-radius:var(--radius); transition:var(--t-surface); }
.nav-cta::after { display:none !important; }
.nav-cta:hover { background:var(--red-deep); border-color:var(--red-deep); }
.nav-hamburger { display:none; flex-direction:column; gap:5px; padding:6px; }
.nav-hamburger span { display:block; width:24px; height:1.5px; background:var(--text-primary); transition:transform .25s var(--ease-out), opacity .15s ease; }
.nav-hamburger.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

.nav-drawer { display:flex; position:fixed; inset:0; z-index:800; background:rgba(247,246,243,0.98); backdrop-filter:blur(16px); flex-direction:column; align-items:center; justify-content:center; gap:36px; opacity:0; pointer-events:none; visibility:hidden; transition:opacity 0.35s var(--ease), visibility 0.35s var(--ease); }
.nav-drawer.open { opacity:1; pointer-events:auto; visibility:visible; }
.nav-drawer-overlay { display:none; position:fixed; inset:0; z-index:799; background:rgba(0,0,0,0.25); }
.nav-drawer-overlay.open { display:block; }
.drawer-link { font-family:var(--font-display); font-size:40px; font-weight:500; color:var(--text-primary); transition:color var(--dur) var(--ease); text-decoration:none; }
.drawer-link:hover { color:var(--red-light); }

/* HERO — Concept B: Capability Matrix + Data-Reveal Choreography */
.hero { position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; background:linear-gradient(to right,rgba(255,255,255,0.97) 0%,rgba(249,247,244,0.92) 38%,rgba(244,241,235,0.72) 54%,rgba(0,0,0,0) 68%), var(--bg-base); }
.hero-content { position:relative; z-index:3; width:100%; padding-top:110px; padding-bottom:70px; }
.hero-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:40px; align-items:center; }
.hero-left { padding:0 20px 0 0; }
.hero-tag { display:inline-flex; align-items:center; gap:14px; font-size:11px; font-weight:700; letter-spacing:4px; text-transform:uppercase; color:var(--red); margin-bottom:26px; }
.hero-tag::before { content:''; display:block; width:44px; height:1px; background:var(--red); }
.hero-headline { font-family:var(--font-display); font-size:clamp(38px,4.4vw,58px); line-height:1.08; font-weight:600; letter-spacing:-0.02em; margin-bottom:24px; color:var(--text-primary); }
.hero-headline em { font-style:italic; color:var(--red); font-weight:600; }
.hero-sub { font-size:16.5px; font-weight:400; line-height:1.65; color:var(--text-secondary); max-width:540px; margin-bottom:36px; }
.hero-btns { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }

/* Right panel: dark stage with soft diagonal mask */
.hero-right { position:relative; z-index:2; min-height:600px; }
.b-panel { position:absolute; inset:0; overflow:hidden;
  background:linear-gradient(135deg,#1e1e1e 0%,#0f0f0f 60%,#0a0a0a 100%);
  -webkit-mask-image:linear-gradient(105deg,transparent 0%,black 22%,black 100%);
          mask-image:linear-gradient(105deg,transparent 0%,black 22%,black 100%);
  padding:60px 40px 60px 16%;
  display:flex; flex-direction:column; justify-content:center; gap:20px;
}
.b-panel::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 55% 45% at 60% 30%,rgba(155,28,28,0.18) 0%,transparent 60%); pointer-events:none; z-index:1; }

/* Brand emblem — corner signature */
.brand-emblem { position:absolute; top:24px; left:16%; display:flex; align-items:center; gap:12px; z-index:6; pointer-events:none; }
.brand-emblem-mark { width:44px; height:44px; background-repeat:no-repeat; background-position:center; background-size:contain; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.brand-emblem-text { color:rgba(255,255,255,0.85); font-family:var(--font-display); font-size:13px; letter-spacing:3px; font-weight:600; line-height:1.2; }
.brand-emblem-text small { display:block; font-family:var(--font-body); font-size:9px; letter-spacing:3px; font-weight:700; color:var(--red-light); margin-top:3px; }

/* Sector grid */
.b-label { margin-top:24px; color:var(--red-light); font-size:10px; letter-spacing:4px; font-weight:700; text-transform:uppercase; position:relative; z-index:2; display:flex; align-items:center; gap:12px; }
.b-label::before { content:''; width:30px; height:1px; background:var(--red-light); }
.b-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:1px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.08); position:relative; z-index:2; }
.b-cell { background:rgba(20,20,20,0.85); padding:20px 18px; cursor:pointer; transition:background 0.25s; position:relative; overflow:hidden; }
.b-cell:hover { background:rgba(155,28,28,0.16); }
.b-cell:hover::after { transform:translateX(4px); opacity:1; }
.b-cell::after { content:'→'; position:absolute; top:18px; right:16px; color:var(--red-light); font-size:14px; opacity:0; transition:opacity .2s ease, transform .2s var(--ease-out); }
.b-cell-icon { width:26px; height:26px; border:1.5px solid var(--red-light); margin-bottom:12px; display:flex; align-items:center; justify-content:center; color:var(--red-light); font-size:12px; font-weight:700; }
.b-cell-name { color:#fff; font-size:14px; font-weight:600; margin-bottom:4px; letter-spacing:0.3px; }
.b-cell-kpi { color:rgba(255,255,255,0.5); font-size:10.5px; letter-spacing:0.5px; min-height:14px; }

/* P&L network strip */
.b-pl-strip { padding:14px 0; border-top:1px solid rgba(255,255,255,0.08); position:relative; z-index:2; }
.b-pl-label { color:var(--red-light); font-size:9px; letter-spacing:3px; text-transform:uppercase; font-weight:700; margin-bottom:8px; }
.b-pl-countries { display:flex; flex-wrap:wrap; gap:4px 12px; color:rgba(255,255,255,0.75); font-size:11px; letter-spacing:0.5px; align-items:center; }
.b-pl-countries > span:not(.b-pl-flag) { margin-right:6px; }
.b-pl-flag { font-size:13px; line-height:1; }

/* Credentials strip */
.b-creds { padding-top:14px; border-top:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.55); font-size:10px; letter-spacing:3px; text-transform:uppercase; position:relative; z-index:2; }
.b-creds strong { color:var(--red-light); font-weight:600; }

/* -- Choreography layer -- */
.b-matrix { position:absolute; inset:0; z-index:0; opacity:0.15; pointer-events:none; }
.b-scanline { position:absolute; left:0; right:0; top:0; height:2px; z-index:5; pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(197,48,48,0.9) 20%,rgba(255,120,120,1) 50%,rgba(197,48,48,0.9) 80%,transparent 100%);
  box-shadow:0 0 24px rgba(197,48,48,0.7),0 0 60px rgba(197,48,48,0.35);
  opacity:0;
  animation:b-scan 2.6s cubic-bezier(0.65,0,0.35,1) 1.6s forwards;
}
@keyframes b-scan { 0%{top:0;opacity:0;} 5%{opacity:1;} 45%{opacity:1;} 55%{top:100%;opacity:1;} 100%{top:100%;opacity:0;} }

.b-cell { opacity:0; filter:blur(6px); transform:translateY(14px); animation:b-cell-in 0.7s cubic-bezier(0.22,0.9,0.28,1) forwards; }
.b-cell::before { content:''; position:absolute; inset:0; background:linear-gradient(120deg,transparent 0%,rgba(197,48,48,0.35) 45%,transparent 55%); transform:translateX(-100%); animation:b-cell-flash 0.9s ease-out forwards; pointer-events:none; z-index:2; }
.b-cell:nth-child(1),.b-cell:nth-child(1)::before { animation-delay:0.35s; }
.b-cell:nth-child(2),.b-cell:nth-child(2)::before { animation-delay:0.50s; }
.b-cell:nth-child(3),.b-cell:nth-child(3)::before { animation-delay:0.65s; }
.b-cell:nth-child(4),.b-cell:nth-child(4)::before { animation-delay:0.80s; }
.b-cell:nth-child(5),.b-cell:nth-child(5)::before { animation-delay:0.95s; }
.b-cell:nth-child(6),.b-cell:nth-child(6)::before { animation-delay:1.10s; }
@keyframes b-cell-in { 0%{opacity:0;filter:blur(6px);transform:translateY(14px);} 100%{opacity:1;filter:blur(0);transform:translateY(0);} }
@keyframes b-cell-flash { 0%{transform:translateX(-100%);} 100%{transform:translateX(100%);} }
.b-cell-icon { animation:b-icon-pulse 0.8s ease-out backwards; animation-delay:inherit; }
@keyframes b-icon-pulse { 0%{box-shadow:0 0 0 0 rgba(197,48,48,0.9);border-color:rgba(255,180,180,1);color:rgba(255,180,180,1);} 100%{box-shadow:0 0 0 12px rgba(197,48,48,0);border-color:var(--red-light);color:var(--red-light);} }

.b-label { opacity:0; animation:b-label-in 0.5s ease-out 0.1s forwards; }
.b-label::after { content:'_'; color:var(--red-light); opacity:0; animation:b-caret 1.2s steps(2) 0.6s infinite; }
@keyframes b-label-in { 0%{opacity:0;letter-spacing:8px;} 100%{opacity:1;letter-spacing:4px;} }
@keyframes b-caret { 50%{opacity:1;} }
.b-panel.b-done .b-label::after { animation:none; opacity:0; }

.b-pl-strip { opacity:0; animation:b-pl-in 0.7s ease-out 2.2s forwards; }
@keyframes b-pl-in { 0%{opacity:0;transform:translateY(10px);} 100%{opacity:1;transform:translateY(0);} }
.b-pl-countries > * { opacity:0; animation:b-pl-item-in 0.4s ease-out forwards; }
.b-pl-countries > *:nth-child(1){animation-delay:2.30s;} .b-pl-countries > *:nth-child(2){animation-delay:2.35s;}
.b-pl-countries > *:nth-child(3){animation-delay:2.40s;} .b-pl-countries > *:nth-child(4){animation-delay:2.45s;}
.b-pl-countries > *:nth-child(5){animation-delay:2.50s;} .b-pl-countries > *:nth-child(6){animation-delay:2.55s;}
.b-pl-countries > *:nth-child(7){animation-delay:2.60s;} .b-pl-countries > *:nth-child(8){animation-delay:2.65s;}
.b-pl-countries > *:nth-child(9){animation-delay:2.70s;} .b-pl-countries > *:nth-child(10){animation-delay:2.75s;}
.b-pl-countries > *:nth-child(11){animation-delay:2.80s;} .b-pl-countries > *:nth-child(12){animation-delay:2.85s;}
.b-pl-countries > *:nth-child(13){animation-delay:2.90s;} .b-pl-countries > *:nth-child(14){animation-delay:2.95s;}
.b-pl-countries > *:nth-child(15){animation-delay:3.00s;} .b-pl-countries > *:nth-child(16){animation-delay:3.05s;}
.b-pl-countries > *:nth-child(17){animation-delay:3.10s;} .b-pl-countries > *:nth-child(18){animation-delay:3.15s;}
@keyframes b-pl-item-in { 0%{opacity:0;transform:scale(0.85);} 100%{opacity:1;transform:scale(1);} }

.b-creds { opacity:0; animation:b-creds-in 0.6s ease-out 3.3s forwards; }
@keyframes b-creds-in { 0%{opacity:0;} 100%{opacity:1;} }

@media (prefers-reduced-motion:reduce) {
  .b-cell,.b-label,.b-pl-strip,.b-pl-countries > *,.b-creds { animation:none; opacity:1; filter:none; transform:none; }
  .b-cell::before,.b-cell-icon { animation:none; }
  .b-scanline,.b-matrix { display:none; }
}

/* SECTIONS */
.section { padding:var(--section-pad); }
.section-header { margin-bottom:68px; }
.section-header.center { text-align:center; }
.section-header.center .eyebrow { justify-content:center; }
.section-title { font-size:clamp(36px,3.8vw,56px); font-weight:400; letter-spacing:-.5px; margin:18px 0 20px; color:var(--text-primary); }
.section-title em { font-style:italic; color:var(--red-light); }
.section-desc { font-size:15.5px; font-weight:300; line-height:1.9; color:var(--text-muted); max-width:600px; }
.section-header.center .section-desc { margin:0 auto; }

/* ABOUT */
.about-bg { background:var(--bg-white); }
.about-grid { display:grid; grid-template-columns:1fr 1.05fr; gap:90px; align-items:center; }
.about-visual { position:relative; }
.about-img { width:100%; border-radius:var(--radius); box-shadow:0 20px 60px rgba(0,0,0,0.1); transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.about-img:hover { transform:translateY(-4px); box-shadow:0 28px 72px rgba(0,0,0,0.14); }
.about-img--placeholder { background:linear-gradient(135deg,var(--surface-1) 0%,var(--surface-2) 100%); display:flex; align-items:center; justify-content:center; min-height:400px; }
.about-frame { position:absolute; top:24px; left:24px; right:-24px; bottom:-24px; border:1.5px solid var(--red-border); border-radius:var(--radius); z-index:-1; pointer-events:none; }
.years-badge { position:absolute; bottom:-26px; left:-24px; background:var(--red); padding:30px 38px; text-align:center; box-shadow:0 16px 48px rgba(155,28,28,0.28); }
.years-badge .n { font-family:var(--font-display); font-size:52px; font-weight:700; color:#fff; display:block; line-height:1; }
.years-badge .l { font-size:9px; font-weight:700; letter-spacing:3.5px; text-transform:uppercase; color:rgba(255,255,255,0.75); display:block; margin-top:8px; }
.about-text .lead { font-size:19px; font-weight:300; line-height:1.75; color:var(--text-primary); margin-bottom:22px; }
.about-text p { font-size:15px; font-weight:300; line-height:1.95; color:var(--text-secondary); margin-bottom:16px; }
.pull-quote { border-left:3px solid var(--red); padding:4px 0 4px 22px; margin:28px 0; font-size:15px; font-weight:400; line-height:1.85; color:var(--text-primary); font-style:italic; }
.about-pills { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.pill { padding:7px 16px; background:var(--red-subtle); border:1px solid var(--red-border); font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--red-light); border-radius:var(--radius); }

/* STATS BAR */
.stats-bar { background:var(--red); padding:64px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.stat-item { text-align:center; padding:10px 20px; position:relative; }
.stat-item:not(:last-child)::after { content:''; position:absolute; right:0; top:50%; transform:translateY(-50%); width:1px; height:50px; background:rgba(255,255,255,0.2); }
.stat-num { font-family:var(--font-display); font-size:50px; font-weight:600; color:#fff; line-height:1; display:block; }
.stat-num sup { font-size:24px; color:rgba(255,255,255,0.65); }
.stat-lbl { font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:rgba(255,255,255,0.78); display:block; margin-top:12px; }

/* SERVICES */
.services-bg { background:var(--surface-1); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; margin-top:72px; }
.svc-card { background:var(--bg-white); padding:48px 40px 44px; border:1px solid var(--border); position:relative; overflow:hidden; transition:var(--t-surface); }
.svc-card::before { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .55s var(--ease); }
.svc-card:hover::before { transform:scaleX(1); }
.svc-card:hover { transform:translateY(-6px); box-shadow:0 20px 55px rgba(0,0,0,0.08); border-color:var(--border-hover); }
.svc-num { font-family:var(--font-display); font-size:13px; font-weight:600; color:var(--red-light); letter-spacing:2px; display:block; margin-bottom:20px; }
.svc-icon { width:56px; height:56px; background:var(--red-subtle); border:1px solid var(--red-border); display:flex; align-items:center; justify-content:center; margin-bottom:22px; border-radius:var(--radius); transition:var(--t-surface); }
.svc-card:hover .svc-icon { background:var(--red); border-color:var(--red); }
.svc-icon i { font-size:21px; color:var(--red-light); transition:color var(--dur) var(--ease); }
.svc-card:hover .svc-icon i { color:#fff; }
.svc-card h3 { font-size:21px; margin-bottom:14px; color:var(--text-primary); }
.svc-card p { font-size:14px; color:var(--text-muted); line-height:1.85; margin-bottom:20px; }
.svc-list { margin-top:4px; }
.svc-list li { font-size:12.5px; color:var(--text-muted); padding:7px 0; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:10px; }
.svc-list li::before { content:''; width:5px; height:5px; background:var(--red); border-radius:50%; flex-shrink:0; }

/* WHY US */
.why-bg { background:var(--bg-white); }
.why-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:90px; align-items:start; margin-top:72px; }
.why-left { position:sticky; top:110px; }
.why-big { font-family:var(--font-display); font-size:clamp(80px,9vw,128px); font-weight:700; line-height:.9; color:var(--surface-2); letter-spacing:-4px; user-select:none; pointer-events:none; }
.why-label { font-size:15px; font-weight:300; line-height:1.9; color:var(--text-muted); margin-top:28px; max-width:360px; }
.why-right { display:flex; flex-direction:column; gap:2px; }
.why-card { background:var(--bg-white); border:1px solid var(--border); padding:34px 38px; display:flex; gap:26px; align-items:flex-start; transition:var(--t-surface); position:relative; overflow:hidden; }
.why-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--red); transform:scaleY(0); transform-origin:top; transition:transform .5s var(--ease); }
.why-card:hover::before { transform:scaleY(1); }
.why-card:hover { border-color:var(--border-hover); box-shadow:0 8px 32px rgba(0,0,0,0.07); transform:translateX(5px); }
.why-icon { width:48px; height:48px; flex-shrink:0; background:var(--red-subtle); border:1px solid var(--red-border); display:flex; align-items:center; justify-content:center; border-radius:var(--radius); transition:var(--t-surface); }
.why-card:hover .why-icon { background:var(--red); border-color:var(--red); }
.why-icon i { font-size:17px; color:var(--red-light); transition:color var(--dur) var(--ease); }
.why-card:hover .why-icon i { color:#fff; }
.why-body h4 { font-size:17px; color:var(--text-primary); margin-bottom:8px; }
.why-body p { font-size:13.5px; color:var(--text-muted); line-height:1.85; }

/* PROJECTS */
.proj-bg { background:var(--surface-1); }
.proj-filter { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:48px; margin-top:-16px; }
.filter-btn { padding:8px 20px; font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--text-muted); background:var(--bg-white); border:1px solid var(--border); border-radius:var(--radius); cursor:pointer; transition:var(--t-surface); }
.filter-btn.active,.filter-btn:hover { background:var(--red); color:#fff; border-color:var(--red); }
.proj-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:3px; }
.proj-card { position:relative; overflow:hidden; aspect-ratio:16/10; cursor:pointer; }
.proj-card.wide { grid-column:span 2; aspect-ratio:21/9; }
.proj-img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.proj-card:hover .proj-img { transform:scale(1.07); }
.proj-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(10,5,5,0.9) 0%,rgba(10,5,5,0.25) 55%,transparent 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:34px; transition:background var(--dur) var(--ease); }
.proj-card:hover .proj-overlay { background:linear-gradient(to top,rgba(127,29,29,0.9) 0%,rgba(10,5,5,0.55) 100%); }
.proj-cat { font-size:9px; font-weight:700; letter-spacing:3.5px; text-transform:uppercase; color:rgba(255,255,255,0.65); margin-bottom:9px; }
.proj-title { font-family:var(--font-display); font-size:24px; font-weight:500; color:#fff; margin-bottom:7px; }
.proj-meta { font-size:12.5px; color:rgba(255,255,255,0.55); }
.proj-view-all { text-align:center; margin-top:52px; }

/* MVV */
.mvv-bg { background:var(--bg-white); }
.mvv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; margin-top:72px; }
.mvv-card { background:var(--surface-1); border:1px solid var(--border); padding:52px 42px; position:relative; overflow:hidden; transition:var(--t-surface); }
.mvv-card::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .55s var(--ease); }
.mvv-card:hover::after { transform:scaleX(1); }
.mvv-card:hover { border-color:var(--border-hover); transform:translateY(-5px); box-shadow:0 18px 52px rgba(0,0,0,0.07); }
.mvv-icon { font-size:26px; color:var(--red); margin-bottom:24px; display:block; }
.mvv-label { font-size:10px; font-weight:700; letter-spacing:4px; text-transform:uppercase; color:var(--red-light); display:block; margin-bottom:14px; }
.mvv-card h3 { font-size:26px; color:var(--text-primary); margin-bottom:16px; }
.mvv-card p { font-size:14.5px; color:var(--text-muted); line-height:1.9; }

/* OFFICES */
.offices-bg { background:var(--surface-1); }
.offices-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.office-card { background:var(--bg-white); border:1px solid var(--border); padding:40px 36px; transition:var(--t-surface); }
.office-card:hover { border-color:var(--border-hover); box-shadow:0 12px 40px rgba(0,0,0,0.07); transform:translateY(-3px); }
.office-flag { font-size:26px; margin-bottom:14px; display:block; }
.office-country { font-size:9.5px; font-weight:700; letter-spacing:4px; text-transform:uppercase; color:var(--red-light); display:block; margin-bottom:10px; }
.office-card h4 { font-size:19px; color:var(--text-primary); margin-bottom:14px; }
.office-detail { font-size:13px; color:var(--text-muted); line-height:1.85; display:flex; gap:10px; align-items:flex-start; margin-bottom:7px; }
.office-detail i { color:var(--red); font-size:11px; margin-top:3px; flex-shrink:0; }
.office-hq-badge { display:inline-block; margin-top:12px; padding:5px 14px; background:var(--red-subtle); border:1px solid var(--red-border); font-size:9px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--red-light); border-radius:var(--radius); }
.rep-offices { margin-top:44px; padding:34px 40px; background:var(--bg-white); border:1px solid var(--border); }
.rep-offices h4 { font-size:16px; color:var(--text-primary); margin-bottom:18px; }
.rep-tags { display:flex; flex-wrap:wrap; gap:10px; }
.rep-tag { padding:8px 18px; background:var(--surface-1); border:1px solid var(--border); font-size:11px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--text-secondary); border-radius:var(--radius); transition:var(--t-surface); }
.rep-tag:hover { border-color:var(--red); color:var(--red); background:var(--red-subtle); }

/* ISO */
.iso-bg { background:var(--bg-white); }
.iso-category { margin-top:56px; }
.iso-category + .iso-category { margin-top:52px; }
.iso-cat-header { display:flex; align-items:center; gap:0; margin-bottom:36px; }
.iso-cat-label { font-size:10px; font-weight:700; letter-spacing:3.5px; text-transform:uppercase; color:var(--text-primary); background:var(--bg-white); border:1px solid var(--border-med); padding:9px 24px; white-space:nowrap; flex-shrink:0; }
.iso-cat-line { flex:1; height:1px; background:var(--border); position:relative; }
.iso-cat-line-dot { width:8px; height:8px; border-radius:50%; background:var(--red); position:absolute; top:50%; transform:translateY(-50%); }
.iso-cat-line-dot.start { left:0; }
.iso-cat-line-dot.end { right:0; }
.iso-timeline { display:flex; gap:2px; position:relative; }
.iso-timeline::before { content:''; position:absolute; top:8px; left:20px; right:20px; height:0; border-top:2px dashed rgba(155,28,28,0.22); z-index:0; }
.iso-t-item { flex:1; text-align:center; padding:0 8px; position:relative; z-index:1; }
.iso-t-dot { width:16px; height:16px; border-radius:50%; background:var(--red); border:3px solid var(--bg-white); box-shadow:0 0 0 1px var(--red-border); margin:0 auto 16px; }
.iso-t-badge { width:68px; height:68px; border-radius:var(--radius); background:var(--red-subtle); border:1px solid var(--red-border); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; transition:var(--t-surface); }
.iso-t-item:hover .iso-t-badge { background:var(--red); border-color:var(--red); }
.iso-t-item:hover .iso-t-badge i { color:#fff; }
.iso-t-badge i { font-size:22px; color:var(--red); transition:color var(--dur) var(--ease); }
.iso-t-code { font-family:var(--font-display); font-size:13px; font-weight:700; color:var(--text-primary); display:block; margin-bottom:7px; }
.iso-t-desc { font-size:11px; color:var(--text-muted); line-height:1.65; }
.other-certs-row { display:flex; gap:2px; margin-top:2px; }
.other-cert-card { flex:1; background:var(--surface-1); border:1px solid var(--border); padding:40px 28px; text-align:center; transition:var(--t-surface); }
.other-cert-card:hover { border-color:var(--border-hover); transform:translateY(-5px); box-shadow:0 16px 48px rgba(0,0,0,0.08); }
.other-cert-name { font-family:var(--font-display); font-size:26px; font-weight:700; color:var(--red); display:block; margin-bottom:8px; letter-spacing:1px; }
.other-cert-sub { font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--text-secondary); display:block; margin-bottom:10px; }
.other-cert-label { font-size:11.5px; color:var(--text-muted); line-height:1.7; }

/* CLIENTS */
.clients-bg { background:var(--surface-dark); padding:96px 0 80px; overflow:hidden; }
.clients-scroll-wrap { display:flex; flex-direction:column; gap:2px; margin-top:0; mask-image:linear-gradient(to right,transparent 0%,black 8%,black 92%,transparent 100%); -webkit-mask-image:linear-gradient(to right,transparent 0%,black 8%,black 92%,transparent 100%); }
.clients-scroll-track { display:flex; overflow:hidden; }
.clients-scroll-inner { display:flex; gap:2px; flex-shrink:0; animation:clientsScroll 55s linear infinite; }
.clients-scroll-inner.rev { animation:clientsScrollRev 62s linear infinite; }
.client-tile { flex-shrink:0; width:190px; height:96px; background:rgba(255,255,255,0.93); border:1px solid rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center; padding:12px 20px; transition:background .3s,border-color .3s,box-shadow .3s; border-radius:2px; overflow:hidden; }
.client-tile:hover { background:#fff; border-color:rgba(155,28,28,0.35); box-shadow:0 6px 24px rgba(155,28,28,0.18); }
.client-tile img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; filter:none; opacity:.8; transition:opacity .3s; }
.client-tile:hover img { opacity:1; }
.client-tile span { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(30,20,20,0.6); text-align:center; line-height:1.4; transition:color .3s; }
.client-tile:hover span { color:rgba(155,28,28,0.9); }
@keyframes clientsScroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@keyframes clientsScrollRev { from{transform:translateX(-50%);} to{transform:translateX(0);} }

/* CTA */
.cta-banner { background:var(--surface-dark); padding:100px 0; position:relative; overflow:hidden; }
.cta-banner::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 50% 120% at 10% 50%,rgba(155,28,28,0.18) 0%,transparent 60%),repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(255,255,255,0.015) 40px,rgba(255,255,255,0.015) 41px); }
.cta-inner { position:relative; z-index:1; text-align:center; }
.cta-inner h2 { font-size:clamp(34px,4.5vw,58px); font-weight:400; color:#fff; margin-bottom:18px; }
.cta-inner h2 em { font-style:italic; color:rgba(255,255,255,0.7); }
.cta-inner p { font-size:16px; color:rgba(255,255,255,0.6); max-width:540px; margin:0 auto 40px; font-weight:300; line-height:1.9; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-white { display:inline-flex; align-items:center; gap:11px; padding:15px 38px; background:#fff; color:var(--red-deep); font-size:11px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; border:1.5px solid #fff; border-radius:var(--radius); transition:var(--t-surface); }
.btn-white:hover { background:var(--red); color:#fff; border-color:var(--red); }
.btn-outline-white { display:inline-flex; align-items:center; gap:11px; padding:15px 34px; background:transparent; color:rgba(255,255,255,0.8); font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; border:1.5px solid rgba(255,255,255,0.3); border-radius:var(--radius); transition:var(--t-surface); }
.btn-outline-white:hover { border-color:#fff; color:#fff; }

/* CONTACT */
.contact-bg { background:var(--surface-1); }
.contact-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:90px; margin-top:72px; }
.contact-info h3 { font-size:26px; color:var(--text-primary); margin-bottom:20px; }
.contact-info p { font-size:15px; color:var(--text-muted); line-height:1.9; margin-bottom:32px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--border); }
.contact-item:first-of-type { border-top:1px solid var(--border); }
.contact-icon { width:42px; height:42px; flex-shrink:0; background:var(--red-subtle); border:1px solid var(--red-border); display:flex; align-items:center; justify-content:center; border-radius:var(--radius); }
.contact-icon i { font-size:15px; color:var(--red-light); }
.contact-item h5 { font-size:9.5px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--red-light); margin-bottom:5px; font-family:var(--font-body); }
.contact-item p { font-size:13.5px; color:var(--text-muted); margin:0; line-height:1.7; }
.contact-item a { color:var(--text-muted); transition:color var(--dur) var(--ease); }
.contact-item a:hover { color:var(--red); }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:7px; }
.form-group label { font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--text-secondary); }
.form-group input,.form-group select,.form-group textarea { background:var(--bg-white); border:1px solid var(--border-med); color:var(--text-primary); padding:13px 16px; font-family:var(--font-body); font-size:14px; border-radius:var(--radius); outline:none; transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--red); box-shadow:0 0 0 3px var(--red-subtle); }
.form-group textarea { min-height:130px; resize:vertical; }
.contact-form .form-feedback { padding:14px 18px; border-radius:var(--radius); font-size:13px; font-weight:500; margin-top:8px; display:none; }
.contact-form .form-feedback.success { background:rgba(22,101,52,0.08); border:1px solid rgba(22,101,52,0.2); color:#166534; display:block; }
.contact-form .form-feedback.error { background:var(--red-subtle); border:1px solid var(--red-border); color:var(--red); display:block; }

/* FOOTER */
footer { background:var(--surface-dark); border-top:1px solid rgba(255,255,255,0.06); }
.footer-main { padding:76px 0 56px; display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:56px; }
.footer-brand p { font-size:13px; color:rgba(255,255,255,0.45); line-height:1.9; max-width:290px; margin:18px 0 26px; }
.footer-logo-name { font-family:var(--font-display); font-size:19px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:#fff; display:block; margin-top:4px; }
.footer-logo-tag { font-size:8px; font-weight:700; letter-spacing:3.5px; text-transform:uppercase; color:var(--red-light); display:block; margin-top:3px; }
.footer-logo-wrap { display:flex; align-items:center; gap:14px; }
.footer-logo-wrap img { height:40px; width:auto; filter:brightness(0) invert(1); opacity:0.85; }
.footer-socials { display:flex; gap:10px; }
.social-btn { width:36px; height:36px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.45); font-size:13px; border-radius:var(--radius); transition:var(--t-surface); }
.social-btn:hover { background:var(--red); border-color:var(--red); color:#fff; }
.footer-col h5 { font-size:10px; font-weight:700; letter-spacing:4px; text-transform:uppercase; color:#fff; margin-bottom:22px; }
.footer-links { display:flex; flex-direction:column; gap:11px; }
.footer-links a { font-size:13px; color:rgba(255,255,255,0.45); transition:color var(--dur) var(--ease); display:flex; align-items:center; gap:8px; }
.footer-links a::before { content:''; width:0; height:1px; background:var(--red); transition:width var(--dur) var(--ease); }
.footer-links a:hover { color:rgba(255,255,255,0.85); }
.footer-links a:hover::before { width:14px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding:22px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
.footer-copy { font-size:12px; color:rgba(255,255,255,0.3); }
.footer-legal { display:flex; gap:22px; }
.footer-legal a { font-size:12px; color:rgba(255,255,255,0.3); transition:color var(--dur) var(--ease); }
.footer-legal a:hover { color:var(--red-light); }

/* BACK TOP */
.back-top { position:fixed; bottom:32px; right:32px; z-index:800; width:44px; height:44px; border-radius:50%; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:14px; cursor:pointer; box-shadow:0 4px 16px rgba(155,28,28,0.28); opacity:0; pointer-events:none; transition:var(--t-surface); }
.back-top.visible { opacity:1; pointer-events:all; }
.back-top:hover { background:var(--red-deep); transform:translateY(-2px); }

/* ALL PROJECTS PAGE */
.all-projects-bg { background:var(--bg-white); }
.all-proj-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:64px; }
.ap-card { background:var(--bg-white); border:1px solid var(--border); border-radius:4px; overflow:hidden; transition:box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease); }
.ap-card:hover { box-shadow:0 20px 60px rgba(0,0,0,0.12); transform:translateY(-4px); }
.ap-img-wrap { position:relative; overflow:hidden; aspect-ratio:4/3; }
.ap-img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.ap-card:hover .ap-img { transform:scale(1.05); }
.ap-num { position:absolute; top:16px; left:16px; background:var(--red); color:#fff; font-size:10px; font-weight:700; letter-spacing:2px; padding:5px 12px; border-radius:2px; }
.ap-body { padding:28px 28px 32px; }
.ap-tag { font-size:9px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--red); margin-bottom:12px; display:block; }
.ap-title { font-family:var(--font-display); font-size:20px; font-weight:500; color:var(--text-primary); margin-bottom:12px; line-height:1.3; }
.ap-loc { font-size:12px; color:var(--text-muted); margin-bottom:16px; display:flex; align-items:center; gap:6px; }
.ap-loc i { color:var(--red); font-size:11px; }
.ap-desc { font-size:13.5px; color:var(--text-muted); line-height:1.85; margin-bottom:20px; }
.ap-specs { list-style:none; padding:0; margin:0; border-top:1px solid var(--border); padding-top:18px; }
.ap-specs li { font-size:12px; color:var(--text-muted); padding:5px 0; display:flex; align-items:flex-start; gap:8px; }
.ap-specs li::before { content:''; display:block; flex-shrink:0; width:5px; height:5px; border-radius:50%; background:var(--red); margin-top:6px; }
.ap-card.wide-card { grid-column:span 2; }
.ap-card.wide-card .ap-img-wrap { aspect-ratio:16/7; }
.ap-card.wide-card .ap-body { display:grid; grid-template-columns:1fr 1fr; gap:24px; }

/* RESPONSIVE */
@media (max-width:1100px) {
  .hero-grid { grid-template-columns:1fr; gap:0; }
  .hero-right { min-height:auto; margin-top:32px; }
  .b-panel { position:relative; padding:40px 24px; -webkit-mask-image:none; mask-image:none; }
  .brand-emblem { left:24px; }
  .about-grid { grid-template-columns:1fr; gap:56px; }
  .why-grid { grid-template-columns:1fr; gap:48px; }
  .why-left { position:static; }
  .services-grid { grid-template-columns:1fr 1fr; }
  .mvv-grid { grid-template-columns:1fr; }
  .offices-grid { grid-template-columns:1fr 1fr; }
  .iso-timeline { flex-wrap:wrap; }
  .iso-t-item { flex:0 0 calc(33.33% - 2px); }
  .other-certs-row { flex-direction:column; }
  .footer-main { grid-template-columns:1fr 1fr; gap:40px; }
}
@media (max-width:1024px) {
  .all-proj-grid { grid-template-columns:repeat(2,1fr); }
  .ap-card.wide-card { grid-column:span 2; }
}
@media (max-width:768px) {
  :root { --section-pad:80px 0; }
  .container { padding:0 22px; }
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .hero-headline { font-size:clamp(36px,10vw,52px); }
  .services-grid { grid-template-columns:1fr; }
  .proj-grid { grid-template-columns:1fr; }
  .proj-card.wide { grid-column:span 1; aspect-ratio:16/10; }
  .all-proj-grid { grid-template-columns:1fr; gap:24px; }
  .ap-card.wide-card { grid-column:span 1; }
  .ap-card.wide-card .ap-body { grid-template-columns:1fr; }
  .offices-grid { grid-template-columns:1fr; }
  .iso-timeline { flex-wrap:wrap; }
  .iso-t-item { flex:0 0 calc(50% - 2px); }
  .other-certs-row { flex-direction:column; }
  .contact-grid { grid-template-columns:1fr; gap:48px; }
  .form-row { grid-template-columns:1fr; }
  .footer-main { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .hero-right { margin-top:24px; }
  .b-grid { grid-template-columns:1fr 1fr; }
  .brand-emblem { left:16px; }
}
@media (max-width:480px) {
  .stats-grid { grid-template-columns:1fr 1fr; }
  .iso-t-item { flex:0 0 100%; }
}

/* Concept B — fit + spacing corrections */
.hero { min-height: auto; padding-top: 74px; padding-bottom: 40px; }
.hero-content { padding-top: 40px; padding-bottom: 40px; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.hero-left { padding: 0; align-self: center; }
.hero-headline { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.12; margin-bottom: 22px; }
.hero-sub { font-size: 15.5px; line-height: 1.6; margin-bottom: 30px; }
.hero-right { min-height: 620px; }
.b-panel { padding: 48px 32px 40px 12%; gap: 18px; }
.b-label { margin-top: 44px; font-size: 10px; letter-spacing: 3.5px; }
.b-grid { grid-template-columns: 1fr 1fr 1fr; }
.b-cell { padding: 18px 14px 16px; }
.b-cell-icon { width: 22px; height: 22px; font-size: 11px; margin-bottom: 10px; }
.b-cell-name { font-size: 13px; margin-bottom: 3px; }
.b-cell-kpi { font-size: 10px; line-height: 1.35; letter-spacing: 0.3px; }
.b-pl-strip { padding: 12px 0 8px; }
.b-pl-label { font-size: 9px; letter-spacing: 3px; margin-bottom: 10px; }
.b-pl-countries { display: flex; flex-wrap: wrap; gap: 6px 6px; }

/* Country chips replace emoji flags for cross-platform consistency */
.b-pl-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); border-radius: 3px; transition: background 0.2s, border-color 0.2s; }
.b-pl-item:hover { background: rgba(155,28,28,0.14); border-color: rgba(197,48,48,0.5); }
.b-pl-code { font-family: 'Consolas', monospace; font-size: 9px; color: var(--red-light); font-weight: 700; letter-spacing: 1.2px; padding: 2px 5px; background: rgba(197,48,48,0.10); border-radius: 2px; }
.b-pl-name { font-size: 11px; color: rgba(255,255,255,0.78); letter-spacing: 0.4px; }

.b-creds { padding-top: 12px; font-size: 10px; letter-spacing: 2.8px; }
.brand-emblem { top: 22px; left: 12%; }
.brand-emblem-mark { width: 40px; height: 40px; }
.brand-emblem-text { font-size: 12px; letter-spacing: 3px; }
.brand-emblem-text small { font-size: 8.5px; }

/* Mobile: single column, panel adapts */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { min-height: auto; }
  .b-panel { position: relative; padding: 44px 24px 32px; -webkit-mask-image: none; mask-image: none; }
  .brand-emblem { left: 24px; }
  .b-label { margin-top: 24px; }
}
@media (max-width: 640px) {
  .b-grid { grid-template-columns: 1fr 1fr; }
  .brand-emblem { left: 16px; }
  .b-pl-name { font-size: 10.5px; }
}

/* Cell reveal delays override for smaller layouts stay same */


/* Concept B — full-bleed hero layout + SBC background layer */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-content.container {
  max-width: none;
  padding: 0;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
}
.hero-left {
  padding: 140px 60px 80px calc((100vw - 1240px) / 2 + 40px);
  align-self: center;
  max-width: none;
}
@media (max-width: 1280px) {
  .hero-left { padding-left: 48px; }
}
.hero-right {
  position: relative;
  min-height: 100vh;
  padding: 0;
}
.b-panel {
  position: absolute;
  inset: 0;
  padding: 100px 60px 60px 12%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background:
    linear-gradient(115deg, rgba(15,15,15,0.94) 0%, rgba(15,15,15,0.78) 55%, rgba(10,10,10,0.90) 100%),
    var(--bg-url) center/cover no-repeat,
    linear-gradient(135deg, #1e1e1e 0%, #0f0f0f 60%, #0a0a0a 100%);
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, black 18%, black 100%);
          mask-image: linear-gradient(105deg, transparent 0%, black 18%, black 100%);
}
.b-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 60% 30%, rgba(155,28,28,0.20) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-headline {
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 34px;
}
.brand-emblem {
  top: 44px;
  left: 12%;
}
.b-label {
  margin-top: 56px;
}
.b-grid {
  grid-template-columns: 1fr 1fr 1fr;
}
.b-cell {
  padding: 22px 18px;
}
.b-cell-name {
  font-size: 14px;
}
.b-cell-kpi {
  font-size: 11px;
}

/* Mobile: single column, no mask, full-width */
@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 74px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 40px 24px 30px; }
  .hero-right { min-height: 620px; }
  .b-panel { -webkit-mask-image: none; mask-image: none; padding: 60px 24px 40px; }
  .brand-emblem { left: 24px; top: 24px; }
  .b-label { margin-top: 44px; }
}
@media (max-width: 640px) {
  .b-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { min-height: 520px; }
}


/* Concept B — dead-space killer: trust bar + column rebalance + top-align */
/* Rebalance columns: right gets more room, matching the visual weight of the panel */
.hero-grid { grid-template-columns: 0.9fr 1.1fr; }

/* Left column: top-aligned instead of vertically centered — no more dead zone above the tag */
.hero-left {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 130px;
  padding-bottom: 50px;
}

/* Tag sits at top, breathing room from nav */
.hero-tag { margin-top: 0; margin-bottom: 32px; }

/* H1 gets a max-width so lines break intentionally */
.hero-headline { max-width: 620px; }
.hero-sub { max-width: 560px; }

/* Buttons sit natural, no forced margin */
.hero-btns { margin-bottom: 0; }

/* NEW: Trust bar — fills what used to be dead space at bottom of left column */
.hero-trust {
  margin-top: auto;         /* pushes to bottom of the flex column */
  padding-top: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-wrap: wrap;
}
.hero-trust-label {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 3.5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  padding-right: 12px;
}
.hero-trust-label::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(0,0,0,0.15);
}
.hero-trust-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust-logo {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: opacity 0.25s, color 0.25s;
  cursor: default;
}
.hero-trust-logo:hover { opacity: 1; color: var(--charcoal); }

/* Mobile: trust bar wraps under, stacks nicely */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { padding-top: 90px; padding-bottom: 30px; }
  .hero-trust { padding-top: 32px; gap: 16px; }
  .hero-trust-logos { gap: 20px; }
  .hero-trust-logo { font-size: 13px; }
}
@media (max-width: 640px) {
  .hero-trust-label { font-size: 9px; letter-spacing: 3px; }
  .hero-trust-logo { font-size: 12px; }
}


/* Concept B — hero buttons + certificate consistency */

/* Primary CTA — filled red, enterprise-grade */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--red);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(155, 28, 28, 0.32);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary i { font-size: 12px; transition: transform 0.25s var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }

/* Secondary CTA — outline, matches primary geometry */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--t-surface);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* -- Other Certificates — restyle to match rest-of-site typography (Inter body font) -- */
/* !important is used because earlier rules set Playfair, and CMC card uses <ul>/<li> */
.other-cert-card,
.other-cert-card *,
.other-cert-name,
.other-cert-sub,
.other-cert-label {
  font-family: var(--font-body) !important;   /* Inter — matches ALL body text */
  font-style: normal !important;
}
.other-cert-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  line-height: 1.15;
}
.other-cert-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px;
  line-height: 1.4;
}
.other-cert-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}
/* CMC (and any card that uses ul/li/p instead of a single span) — match .other-cert-label styling */
.other-cert-card ul,
.other-cert-card ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center;
}
.other-cert-card li,
.other-cert-card p,
.other-cert-card div:not([class]) {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.other-cert-card li:last-child,
.other-cert-card p:last-child { margin-bottom: 0 !important; }
/* Cards themselves — align with sector cells' visual weight */
.other-cert-card {
  padding: 32px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.other-cert-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}


/* Concept B — mobile optimization (iOS + Android) */
/* Handles iPhone/Android viewport quirks, touch targets, chip wrapping, and font scaling */

/* Universal: prevent iOS zoom on tap, disable tap highlight flash */
.b-panel, .b-panel * {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(155,28,28,0.15);
}
/* Prevent iOS Safari from adjusting text after orientation change */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Tablet / large phone landscape (768px-980px) */
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  .hero-left {
    padding: 88px 24px 30px !important;
    align-self: stretch;
  }
  .hero-right { min-height: 640px; }
  .b-panel {
    padding: 60px 22px 32px !important;
    -webkit-mask-image: none !important;
            mask-image: none !important;
    gap: 18px !important;
  }
  .brand-emblem { top: 20px; left: 22px; }
  .brand-emblem-mark { width: 36px; height: 36px; }
  .brand-emblem-text { font-size: 12px; letter-spacing: 2.5px; }
  .brand-emblem-text small { font-size: 8px; letter-spacing: 2.5px; }

  .hero-headline { font-size: clamp(30px, 7.5vw, 42px); line-height: 1.1; }
  .hero-sub { font-size: 15px; line-height: 1.6; }

  .b-label { margin-top: 32px !important; font-size: 10px; letter-spacing: 3px; }
  .b-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .b-cell { padding: 18px 14px; min-height: 88px; }
  .b-cell-icon { width: 24px; height: 24px; font-size: 12px; margin-bottom: 10px; }
  .b-cell-name { font-size: 13.5px; line-height: 1.25; margin-bottom: 4px; }
  .b-cell-kpi { font-size: 10.5px; line-height: 1.35; }
  .b-cell::after { display: none; } /* Kill the desktop hover arrow on mobile */
}

/* Standard phone (up to 640px) — chip layout tightens */
@media (max-width: 640px) {
  .hero-right { min-height: 720px; }
  .b-panel { padding: 56px 18px 28px !important; }
  .brand-emblem { top: 18px; left: 18px; }

  .hero-headline { font-size: clamp(26px, 7vw, 36px); }

  /* Sector grid: keep 2 columns but tighten */
  .b-grid { grid-template-columns: 1fr 1fr; }
  .b-cell { padding: 16px 12px; min-height: 84px; }
  .b-cell-name { font-size: 13px; }
  .b-cell-kpi { font-size: 10px; }

  /* Country chips: better wrap, consistent gap, touch-friendly padding */
  .b-pl-strip { padding: 14px 0 6px; }
  .b-pl-label { font-size: 8.5px; letter-spacing: 2.5px; margin-bottom: 10px; }
  .b-pl-countries { gap: 6px 6px; justify-content: flex-start; }
  .b-pl-item {
    padding: 5px 10px 5px 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 3px;
    gap: 5px;
    min-height: 24px;
    align-items: center;
  }
  .b-pl-code { font-size: 8.5px; padding: 2px 4px; letter-spacing: 1px; }
  .b-pl-name { font-size: 11px; letter-spacing: 0.3px; }

  .b-creds { font-size: 9.5px; letter-spacing: 2.5px; padding-top: 12px; line-height: 1.5; }

  /* Nav collapse trigger — ensure hamburger shows properly */
  .nav-links { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 10px; letter-spacing: 1.5px; }
}

/* Small phone (portrait iPhone SE, small Android) */
@media (max-width: 380px) {
  .b-panel { padding: 52px 14px 24px !important; }
  .brand-emblem-text { font-size: 11px; letter-spacing: 2px; }
  .b-grid { grid-template-columns: 1fr; }  /* Single column for very narrow screens */
  .b-cell { min-height: 76px; padding: 14px 14px; }
  .b-cell-name { font-size: 14px; }
  .b-cell-kpi { font-size: 11px; }
  .hero-headline { font-size: clamp(24px, 6.5vw, 32px); }
  .hero-sub { font-size: 14px; }

  .b-pl-item { padding: 4px 8px 4px 5px; }
  .b-pl-code { font-size: 8px; }
  .b-pl-name { font-size: 10.5px; }
}

/* iOS Safari — 100vh bug (address bar doesn't reduce vh) */
@supports (height: 100dvh) {
  @media (max-width: 980px) {
    .hero { min-height: 100dvh; }
  }
}

/* Landscape phones — prevent panel from being too tall */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero-right { min-height: 560px; }
  .b-panel { justify-content: flex-start; padding-top: 44px !important; }
}

/* iOS Safari — force GPU compositing on animated elements to avoid flicker */
.b-cell, .b-scanline, .b-matrix, .b-pl-item {
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

/* Android — some builds render backdrop-filter poorly; provide solid fallback */
@supports not (backdrop-filter: blur(1px)) {
  .b-panel::before { background: rgba(0,0,0,0.15); }
}

/* Turn OFF the choreography on very small devices — reduces battery drain */
@media (max-width: 640px) and (max-height: 750px) {
  .b-matrix { display: none !important; }
  .b-scanline { display: none !important; }
  .b-cell { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
  .b-cell::before, .b-cell-icon { animation: none !important; }
  .b-label { opacity: 1 !important; animation: none !important; }
  .b-label::after { display: none !important; }
  .b-pl-strip, .b-pl-countries > *, .b-creds { opacity: 1 !important; animation: none !important; }
}

/* Safe-area handling for iPhone with notch */
@supports (padding: max(0px)) {
  @media (max-width: 640px) {
    .hero-left { padding-left: max(24px, env(safe-area-inset-left)) !important; padding-right: max(24px, env(safe-area-inset-right)) !important; }
    .b-panel { padding-left: max(18px, env(safe-area-inset-left)) !important; padding-right: max(18px, env(safe-area-inset-right)) !important; }
  }
}


/* Concept B — nuclear dead-space kill (all viewports) — FULL-BLEED, no container centering */
.hero {
  min-height: 100vh !important;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  overflow: hidden;
}
.hero-content.container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hero-grid {
  width: 100% !important;
  min-height: 100vh !important;
  gap: 0 !important;
}

/* ---- Ultra-wide desktop (>=1600px): edge-hugging, no dead zone ---- */
@media (min-width: 1600px) {
  .hero-grid { grid-template-columns: 0.68fr 1.32fr !important; }
  .hero-left {
    padding: 110px 80px 60px 80px !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
}

/* ---- Standard desktop (1200-1599px): tight edge padding, no calc ---- */
@media (min-width: 1200px) and (max-width: 1599px) {
  .hero-grid { grid-template-columns: 0.68fr 1.32fr !important; }
  .hero-left {
    padding: 110px 60px 50px 60px !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
}

/* ---- Small desktop / large tablet (981-1199px) ---- */
@media (min-width: 981px) and (max-width: 1199px) {
  .hero-grid { grid-template-columns: 0.68fr 1.32fr !important; }
  .hero-left {
    padding: 110px 44px 50px 44px !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
}

/* ---- Tablet / large phone (up to 980px): FORCE single column, edge-hug ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-left {
    padding: 96px 32px 40px 32px !important;
    align-self: stretch !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .hero-headline { max-width: 100% !important; }
  .hero-sub { max-width: 100% !important; }
  .hero-right { min-height: 640px; }
}

/* ---- Standard phone (up to 640px) ---- */
@media (max-width: 640px) {
  .hero-left { padding: 90px 22px 30px 22px !important; }
  .hero-headline {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
  }
  .hero-sub { font-size: 14.5px !important; }
  .hero-trust { padding-top: 28px !important; gap: 14px !important; flex-wrap: wrap; }
  .hero-trust-logos { gap: 18px !important; }
  .hero-trust-logo { font-size: 12.5px !important; }
}

/* ---- Small phone (< 400px) ---- */
@media (max-width: 400px) {
  .hero-left { padding: 84px 18px 24px 18px !important; }
  .hero-headline { font-size: clamp(24px, 7.5vw, 34px) !important; }
  .hero-sub { font-size: 14px !important; line-height: 1.55 !important; }
  .hero-btns { flex-direction: column !important; align-items: stretch !important; }
  .btn-primary, .btn-outline { justify-content: center !important; }
  .hero-trust-logos { gap: 14px !important; }
}


/* Concept B — expanded right panel (grid rebalance: left 0.68 / right 1.32) */
/* Left column: tighter padding since we gave up its width to the right */
@media (min-width: 981px) {
  .hero-left { padding-right: 30px !important; }   /* less right padding = closer to panel edge */
}

/* Right panel: sector cells breathe into the extra space */
@media (min-width: 1200px) {
  .b-panel { padding: 100px 60px 60px 10% !important; }   /* was 12% left */
  .b-cell { padding: 26px 22px !important; min-height: 118px; }
  .b-cell-name { font-size: 15px !important; }
  .b-cell-kpi { font-size: 12px !important; }
  .b-cell-icon { width: 30px !important; height: 30px !important; font-size: 14px !important; margin-bottom: 14px !important; }
  .b-pl-item { padding: 5px 12px 5px 7px !important; }
  .b-pl-name { font-size: 12px !important; }
}
@media (min-width: 1600px) {
  .b-panel { padding: 120px 80px 70px 9% !important; }
  .b-cell { padding: 30px 24px !important; min-height: 128px; }
  .b-cell-name { font-size: 16px !important; }
  .b-cell-kpi { font-size: 12.5px !important; }
}


/* ═══════════════════════════════════════════════════════════
   MOTION SYSTEM — v2.2 ("set out, then build")
   Lines are drawn first, then mass is placed. Expo ease-out,
   no bounce. The Concept B reveal is the one authored moment and
   plays on every load; everything else is feedback, state, or
   continuity. <html>.js is set in header.php.
   ═══════════════════════════════════════════════════════════ */

::selection { background:var(--red); color:#fff; }

/* ── Numerals that count must not jitter ── */
.stat-num { font-variant-numeric:tabular-nums; }

/* ── Buttons: specific transitions, press + focus feedback ── */
.btn-primary, .btn-outline, .btn-white, .btn-outline-white, .nav-cta {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease,
              box-shadow .25s var(--ease-out), transform 160ms var(--ease-out);
}
/* Press feedback — every pressable, touch included (no hover gate on :active) */
.btn-primary:active, .btn-outline:active, .btn-white:active, .btn-outline-white:active, .nav-cta:active,
.filter-tab:active, .filter-btn:active, .social-btn:active {
  transform: scale(.97); box-shadow:none;
}
.filter-tab { transition: color .2s ease, border-color .2s ease, transform 160ms var(--ease-out); }
.btn-primary:focus-visible, .btn-outline:focus-visible, .nav-cta:focus-visible,
.nav-links a:focus-visible, .filter-tab:focus-visible, .drawer-link:focus-visible, .back-top:focus-visible {
  outline:2px solid var(--red); outline-offset:3px;
}
.btn-white:focus-visible, .btn-outline-white:focus-visible { outline:2px solid #fff; outline-offset:3px; }

/* ── Eyebrow rules draw in with their section ── */
.eyebrow::before, .eyebrow::after { transition: transform .6s var(--ease-out); transition-delay: inherit; }
.eyebrow::before { transform-origin:right; }
.eyebrow::after  { transform-origin:left; }
.js .eyebrow.reveal:not(.visible)::before,
.js .eyebrow.reveal:not(.visible)::after { transform:scaleX(0); }
.js .eyebrow.reveal:not(.visible) { transform:none; }

/* ── Mobile drawer: links arrive as a list, leave together ── */
.nav-drawer { transition: opacity .3s var(--ease-out), visibility .3s var(--ease-out); }
.nav-drawer:not(.open) { transition-duration:.15s; }            /* exit faster than entrance */
.drawer-link { opacity:0; transform:translateY(12px);
  transition: color .2s ease, opacity .15s var(--ease-out), transform .15s var(--ease-out); }
.nav-drawer.open .drawer-link { opacity:1; transform:none;
  transition: color .2s ease, opacity .3s var(--ease-out), transform .4s var(--ease-drawer);
  transition-delay: calc(60ms + var(--i, 0) * 40ms); }
/* Keyboard-initiated open/close is instant (Escape, Enter/Space on the toggle) */
.nav-drawer.is-instant, .nav-drawer.is-instant .drawer-link, .nav-drawer-overlay.is-instant { transition:none !important; }
.drawer-link:nth-child(2){--i:1} .drawer-link:nth-child(3){--i:2} .drawer-link:nth-child(4){--i:3}
.drawer-link:nth-child(5){--i:4} .drawer-link:nth-child(6){--i:5}
.nav-drawer-overlay { opacity:0; transition:opacity .3s var(--ease-out); }
.nav-drawer-overlay.open { opacity:1; }

/* ── Back to top ── */
.back-top { transform:translateY(10px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), background-color .2s ease; }
.back-top.visible { transform:none; }
.back-top:active { transform:scale(.95); }


/* ── Client marquee: pause for reading, and when not visible ── */
.clients-scroll-wrap:hover .clients-scroll-inner,
.clients-scroll-wrap:focus-within .clients-scroll-inner,
.clients-bg.is-offscreen .clients-scroll-inner { animation-play-state:paused; }

/* ── Portfolio filter: sliding ink under the active tab ── */
.filter-tabs { position:relative; }
.filter-ink { position:absolute; left:0; bottom:0; height:3px; width:1px; background:var(--red);
  transform-origin:left; pointer-events:none; transition: transform .25s var(--ease-in-out); }
.filter-tabs.has-ink .filter-tab.active,
.filter-tabs.has-ink .filter-tab[aria-selected="true"] { border-bottom-color:transparent; }

/* ── Contact form: loading + result feedback ── */
#contactSubmit { position:relative; overflow:hidden; }
#contactSubmit.is-loading { cursor:progress; }
#contactSubmit.is-loading::after { content:''; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:rgba(255,255,255,.85); transform-origin:left; animation: submitSweep 1.1s linear infinite; }
@keyframes submitSweep { 0%{transform:scaleX(0);opacity:1} 70%{transform:scaleX(1);opacity:1} 100%{transform:scaleX(1);opacity:0} }
.contact-form .form-feedback.success, .contact-form .form-feedback.error { animation: feedbackIn .25s var(--ease-out); }
@keyframes feedbackIn { from{opacity:0; transform:translateY(-4px)} to{opacity:1; transform:none} }


@keyframes fbFade { from{opacity:0} to{opacity:1} }

/* ═══ Hover motion only where hover is real ═══
   Touch fires sticky hovers on tap; reduced motion drops the lift. */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .btn-primary:hover, .btn-primary:focus-visible, .btn-primary:hover i, .about-img:hover, .svc-card:hover,
  .why-card:hover, .proj-card:hover .proj-img, .mvv-card:hover, .office-card:hover, .other-cert-card:hover,
  .back-top:hover, .ap-card:hover, .ap-card:hover .ap-img, .project-card:hover, .project-card:hover .project-card__img,
  .gallery-item:hover .gallery-item__img, .b-cell:hover::after { transform:none; }
}
/* Press must still read while hovered */
.btn-primary:hover:active, .btn-outline:hover:active { transform:scale(.97); }
.back-top:hover:active { transform:scale(.95); }

/* ═══ REDUCED MOTION — fewer, gentler; state changes stay legible ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .js .reveal { transition: opacity .3s linear; transition-delay:0s; }
  .js .reveal:not(.visible) { transform:none; }
  .js .eyebrow.reveal:not(.visible)::before, .js .eyebrow.reveal:not(.visible)::after { transform:none; }
  .clients-scroll-inner, .clients-scroll-inner.rev { animation:none; transform:none; }
  .clients-scroll-track { overflow-x:auto; }
  .drawer-link, .nav-drawer.open .drawer-link { transform:none; transition: opacity .2s linear, color .2s linear; transition-delay:0s; }
  .back-top { transform:none; }
  .filter-ink { transition:none; }
  #contactSubmit.is-loading::after { animation:none; transform:none; opacity:.6; }
  .contact-form .form-feedback.success, .contact-form .form-feedback.error { animation: fbFade .2s linear; }
}



/* ================================================================
   PORTFOLIO + SINGLE PROJECT — restored (these styles were missing
   from the live theme, so /portfolio/ and project pages were unstyled)
   ================================================================ */
:root { --bg-dark:#1A1816; --bg-light:#F7F6F3; --text-dark:#1E1C19; --text-body:#4A4742; --red-dark:#7F1D1D; --charcoal:#1C1C1C; }
/* ================================================================
   PORTFOLIO PAGE
   ================================================================ */

/* ── Portfolio Hero ── */
.portfolio-hero {
  position:relative; background:var(--bg-dark); color:#fff;
  padding:140px 0 80px; overflow:hidden; text-align:center;
}
.portfolio-hero__bg {
  position:absolute; inset:0; opacity:0.18; pointer-events:none;
}
.portfolio-hero__bg canvas { width:100%; height:100%; display:block; }
.portfolio-hero .breadcrumb { margin-bottom:24px; }
.portfolio-hero .breadcrumb ol {
  list-style:none; padding:0; margin:0; display:flex;
  justify-content:center; gap:8px; font-size:12px;
  letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,0.5);
}
.portfolio-hero .breadcrumb li + li::before { content:'/'; margin-right:8px; }
.portfolio-hero .breadcrumb a { color:rgba(255,255,255,0.5); text-decoration:none; }
.portfolio-hero .breadcrumb a:hover { color:#fff; }
.portfolio-hero__title {
  font-family:var(--font-display); font-size:clamp(36px,5vw,64px);
  font-weight:700; line-height:1.05; letter-spacing:-1px; margin:0 0 20px;
}
.portfolio-hero__subtitle {
  font-size:17px; color:rgba(255,255,255,0.65); max-width:560px;
  margin:0 auto; line-height:1.6;
}

/* ── Filter Bar ── */
.portfolio-filter-bar {
  background:var(--bg-white); border-bottom:1px solid var(--border);
  padding:0; position:sticky; top:72px; z-index:90;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
}
.portfolio-filter-bar .container { padding-top:0; padding-bottom:0; }
.filter-tabs {
  display:flex; gap:0; overflow-x:auto; scrollbar-width:none;
}
.filter-tabs::-webkit-scrollbar { display:none; }
.filter-tab {
  flex-shrink:0; padding:18px 28px; font-size:12px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase; color:var(--text-muted);
  background:none; border:none; border-bottom:3px solid transparent;
  cursor:pointer; transition:color var(--dur) var(--ease),
  border-color var(--dur) var(--ease); white-space:nowrap;
}
.filter-tab:hover { color:var(--text-dark); }
.filter-tab.active,
.filter-tab[aria-selected="true"] {
  color:var(--red); border-bottom-color:var(--red);
}

/* ── Projects Grid ── */
.projects-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:32px; margin-top:64px; margin-bottom:64px;
}

/* ── Project Card ── */
.project-card {
  background:var(--bg-white); border:1px solid var(--border);
  border-radius:4px; overflow:hidden;
  transition:box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  display:flex; flex-direction:column;
}
.project-card:hover {
  box-shadow:0 20px 60px rgba(0,0,0,0.12); transform:translateY(-4px);
}
.project-card__img-wrap {
  position:relative; overflow:hidden; aspect-ratio:16/10;
  background:var(--bg-dark);
}
.project-card__img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform 0.5s var(--ease);
}
.project-card:hover .project-card__img { transform:scale(1.05); }
.project-card__overlay {
  position:absolute; inset:0; background:rgba(155,28,28,0.72);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity var(--dur) var(--ease);
}
.project-card:hover .project-card__overlay { opacity:1; }
.project-card__overlay i { color:#fff; font-size:24px; }
.project-card__body {
  padding:24px 24px 20px; flex:1; display:flex; flex-direction:column;
}
.project-card__cat {
  font-size:10px; font-weight:700; letter-spacing:2.5px;
  text-transform:uppercase; color:var(--red);
  display:block; margin-bottom:10px;
}
.project-card__title {
  font-family:var(--font-display); font-size:18px; font-weight:700;
  line-height:1.3; margin:0 0 10px; color:var(--text-dark);
}
.project-card__title a { color:inherit; text-decoration:none; }
.project-card__title a:hover { color:var(--red); }
.project-card__excerpt {
  font-size:14px; color:var(--text-muted); line-height:1.6;
  margin:0 0 16px; flex:1;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden;
}
.project-card__meta {
  list-style:none; padding:0; margin:0 0 16px;
  display:flex; flex-wrap:wrap; gap:10px 16px;
}
.project-card__meta li {
  display:flex; align-items:center; gap:6px;
  font-size:12px; color:var(--text-muted);
}
.project-card__meta i { color:var(--red); font-size:11px; }
.project-card__footer {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; border-top:1px solid var(--border); margin-top:auto;
}
.project-card__link {
  font-size:12px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--red); text-decoration:none;
  display:flex; align-items:center; gap:6px;
  transition:gap var(--dur) var(--ease);
}
.project-card__link:hover { gap:10px; }

/* ── Badge variants ── */
.badge {
  display:inline-flex; align-items:center; padding:4px 10px;
  font-size:10px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; border-radius:2px;
}
.badge--green { background:#e8f5e9; color:#2e7d32; }
.badge--blue  { background:#e3f2fd; color:#1565c0; }
.badge--gold  { background:#fff8e1; color:#f57f17; }
.badge--grey  { background:#f5f5f5; color:#757575; }

/* ── Portfolio Pagination ── */
.portfolio-pagination {
  display:flex; justify-content:center; gap:8px;
  padding:32px 0 64px;
}
.portfolio-pagination .page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border:1px solid var(--border);
  border-radius:2px; font-size:14px; font-weight:600;
  color:var(--text-dark); text-decoration:none;
  transition:var(--t-surface);
}
.portfolio-pagination .page-numbers:hover,
.portfolio-pagination .page-numbers.current {
  background:var(--red); border-color:var(--red); color:#fff;
}
.portfolio-pagination .page-numbers.dots { border:none; cursor:default; }

/* ── No posts notice ── */
.no-posts-notice {
  grid-column:1/-1; text-align:center; padding:80px 20px;
  font-size:16px; color:var(--text-muted);
}

/* ── Responsive: Portfolio ── */
@media (max-width:1024px) {
  .projects-grid { grid-template-columns:repeat(2,1fr); gap:24px; }
}
@media (max-width:767px) {
  .portfolio-hero    { padding:120px 0 60px; }
  .portfolio-filter-bar { top:58px; }
  .filter-tab        { padding:14px 18px; font-size:11px; }
  .projects-grid     { grid-template-columns:1fr; gap:20px; margin-top:40px; }
}
@media (max-width:480px) {
  .projects-grid     { margin-top:28px; }
  .project-card__body { padding:18px 18px 16px; }
}

/* ================================================================
   SINGLE PROJECT PAGE
   ================================================================ */

/* ── Hero ── */
.single-project-hero {
  position:relative; min-height:480px; display:flex; align-items:flex-end;
  background-size:cover; background-position:center; background-color:var(--bg-dark);
  padding-bottom:60px;
}
.single-project-hero--no-image {
  background:linear-gradient(135deg,#1a0a0a 0%,#2d0d0d 50%,#0a0a1a 100%);
}
.single-project-hero__overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.18) 100%);
}
.single-project-hero .container { position:relative; z-index:2; }
.single-project-hero .breadcrumb { margin-bottom:20px; }
.single-project-hero .breadcrumb ol {
  list-style:none; padding:0; margin:0;
  display:flex; gap:8px; font-size:11px;
  letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,0.5);
}
.single-project-hero .breadcrumb li + li::before { content:'/'; margin-right:8px; }
.single-project-hero .breadcrumb a {
  color:rgba(255,255,255,0.5); text-decoration:none;
  transition:color var(--dur) var(--ease);
}
.single-project-hero .breadcrumb a:hover { color:#fff; }
.project-hero__cat {
  display:inline-block; font-size:10px; font-weight:700;
  letter-spacing:3px; text-transform:uppercase;
  color:var(--red-light); margin-bottom:12px;
  background:rgba(155,28,28,0.25); border:1px solid rgba(155,28,28,0.4);
  padding:5px 14px; border-radius:2px;
}
.project-hero__title {
  font-family:var(--font-display); font-size:clamp(28px,4vw,52px);
  font-weight:700; line-height:1.1; color:#fff;
  margin:0 0 20px; max-width:800px;
}

/* ── Body Layout ── */
.single-project-body { padding:64px 0 80px; }
.single-project-layout {
  display:grid; grid-template-columns:1fr 320px; gap:56px; align-items:start;
}

/* ── Main Content ── */
.single-project-content__lead {
  font-size:18px; line-height:1.7; color:var(--text-muted);
  border-left:3px solid var(--red); padding-left:20px;
  margin:0 0 40px;
}
.entry-content { margin-bottom:40px; }
.entry-content p { font-size:16px; line-height:1.8; color:var(--text-body); margin-bottom:20px; }

/* ── Specs ── */
.project-specs { margin:40px 0; }
.project-specs h2 {
  font-family:var(--font-display); font-size:22px; font-weight:700;
  color:var(--text-dark); margin:0 0 20px;
  padding-bottom:12px; border-bottom:2px solid var(--border);
}
.specs-list {
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:1fr 1fr; gap:12px 24px;
}
.specs-list li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:14px; color:var(--text-body); line-height:1.5;
  padding:10px 0; border-bottom:1px solid var(--border);
}
.specs-list li::before {
  content:''; flex-shrink:0; width:6px; height:6px;
  background:var(--red); border-radius:50%; margin-top:6px;
}

/* ── Gallery ── */
.project-gallery { margin:40px 0; }
.project-gallery h2 {
  font-family:var(--font-display); font-size:22px; font-weight:700;
  color:var(--text-dark); margin:0 0 20px;
  padding-bottom:12px; border-bottom:2px solid var(--border);
}
.gallery-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px;
}
.gallery-item { margin:0; border-radius:4px; overflow:hidden; aspect-ratio:4/3; }
.gallery-item__img { width:100%; height:100%; object-fit:cover; display:block; transition:transform 0.4s var(--ease); }
.gallery-item:hover .gallery-item__img { transform:scale(1.04); }

/* ── Related Projects ── */
.related-projects { margin-top:56px; padding-top:48px; border-top:1px solid var(--border); }
.related-projects h2 {
  font-family:var(--font-display); font-size:22px; font-weight:700;
  color:var(--text-dark); margin:0 0 28px;
}
.related-projects .projects-grid {
  grid-template-columns:repeat(3,1fr); margin-top:0; margin-bottom:0;
}

/* ── Sidebar ── */
.single-project-sidebar { position:sticky; top:100px; }
.project-meta-card {
  background:var(--bg-white); border:1px solid var(--border);
  border-radius:4px; overflow:hidden;
}
.project-meta-card__heading {
  font-family:var(--font-display); font-size:13px; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase;
  color:#fff; margin:0; padding:18px 24px;
  background:var(--bg-dark);
}
.project-meta-list { margin:0; padding:0; }
.project-meta-list__item {
  display:grid; grid-template-columns:100px 1fr; gap:12px;
  padding:14px 24px; border-bottom:1px solid var(--border);
  font-size:13px;
}
.project-meta-list__item:last-child { border-bottom:none; }
.project-meta-list__item dt {
  font-weight:700; color:var(--text-muted);
  text-transform:uppercase; letter-spacing:0.8px; font-size:11px;
  padding-top:2px;
}
.project-meta-list__item dd { margin:0; color:var(--text-dark); }
.project-meta-card__actions {
  padding:20px 24px; display:flex; flex-direction:column; gap:10px;
  border-top:1px solid var(--border); background:var(--bg-light);
}
.project-meta-card__actions .btn { justify-content:center; text-align:center; }

/* btn helpers (if not already in CSS) */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 24px; font-size:12px; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase;
  text-decoration:none; border-radius:var(--radius,2px);
  transition:var(--t-surface); cursor:pointer;
  border:2px solid transparent;
}
.btn--primary { background:var(--red); color:#fff; border-color:var(--red); }
.btn--primary:hover { background:var(--red-dark,#7b1616); border-color:var(--red-dark,#7b1616); }
.btn--outline { background:transparent; color:var(--text-dark); border-color:var(--border); }
.btn--outline:hover { border-color:var(--red); color:var(--red); }

/* ── Responsive: Single Project ── */
@media (max-width:1024px) {
  .single-project-layout { grid-template-columns:1fr 280px; gap:40px; }
  .related-projects .projects-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:767px) {
  .single-project-hero { min-height:360px; padding-bottom:40px; }
  .single-project-layout { grid-template-columns:1fr; }
  .single-project-sidebar { position:static; }
  .specs-list { grid-template-columns:1fr; }
  .gallery-grid { grid-template-columns:1fr 1fr; }
  .related-projects .projects-grid { grid-template-columns:1fr; }
  .single-project-body { padding:40px 0 60px; }
}
@media (max-width:480px) {
  .project-hero__title { font-size:26px; }
  .gallery-grid { grid-template-columns:1fr; }
}

/* ── Project card: no-image placeholder ── */
.project-card__img-wrap--empty {
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1010 60%, #0f0f1a 100%);
  display: flex; align-items: center; justify-content: center;
}
.project-card__img-wrap--empty::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 40px;
  color: rgba(255,255,255,0.12);
}

/* ================================================================
   HERO — GRAPHITE GLASS (2026-09-30)
   Lighter than the original charcoal stage: the hero photo now reads
   through a softer Charcoal wash, sector cells are frosted graphite
   glass, type is white, accents are Primary / Light Red and Platinum.
   Brand palette only (#1C1C1C · #9B1C1C · #C53030 · #D4D4D4 · #FFFFFF).
   ================================================================ */
.hero .b-panel {
  background:
    linear-gradient(115deg, rgba(28,28,28,0.78) 0%, rgba(28,28,28,0.52) 55%, rgba(20,20,20,0.70) 100%),
    var(--bg-url) center/cover no-repeat,
    linear-gradient(135deg, #2a2a2a 0%, #1C1C1C 100%);
}
.hero .b-panel::before { background: radial-gradient(ellipse 55% 45% at 60% 30%, rgba(155,28,28,0.16) 0%, transparent 60%); }
.hero .b-matrix { opacity:0.12; }
.hero .brand-emblem-text { color:#fff; }
.hero .brand-emblem-text small,
.hero .b-label, .hero .b-pl-label { color:#D4D4D4; }
.hero .b-label::before { background:var(--red-light); }
.hero .b-grid { background:rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.18); box-shadow:0 24px 60px rgba(0,0,0,0.28); }
.hero .b-cell { background:rgba(28,28,28,0.52); -webkit-backdrop-filter:blur(10px) saturate(1.1); backdrop-filter:blur(10px) saturate(1.1); }
.hero .b-cell:hover { background:rgba(155,28,28,0.38); }
.hero .b-cell-icon { border-color:var(--red-light); color:#fff; }
.hero .b-cell-name { color:#fff; }
.hero .b-cell-kpi { color:rgba(255,255,255,0.72); }
.hero .b-pl-strip, .hero .b-creds { border-top-color:rgba(255,255,255,0.16); }
.hero .b-pl-item { background:rgba(28,28,28,0.5); border-color:rgba(255,255,255,0.18); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.hero .b-pl-code { color:#fff; background:rgba(155,28,28,0.55); }
.hero .b-pl-name { color:rgba(255,255,255,0.85); }
.hero .b-creds { color:rgba(255,255,255,0.72); }
.hero .b-creds strong { color:#fff; }

/* Nav: frosted white bar from the first frame so links stay legible over the hero photo */
.nav-wrapper { background:rgba(255,255,255,0.92); -webkit-backdrop-filter:blur(18px) saturate(1.3); backdrop-filter:blur(18px) saturate(1.3); box-shadow:0 1px 0 rgba(0,0,0,0.06); }

/* Portfolio hero title must be white on the dark header (global h1 colour was overriding it) */
.portfolio-hero .portfolio-hero__title { color:#fff; }

/* Hover lifts only with a real pointer (re-applied after the portfolio block) */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .project-card:hover, .project-card:hover .project-card__img, .gallery-item:hover .gallery-item__img { transform:none; }
}

/* ================================================================
   ABOUT — "LEDGER" (2026-09-30)
   Editorial split header, portrait media with a clip-path reveal,
   statement quote, two-column body and a ruled capability ledger.
   Replaces: offset red frame, heavy red badge, left-border quote,
   pink pill tags.
   ================================================================ */
.about-ledger { background:var(--bg-white); }
.ab-head { display:grid; grid-template-columns:repeat(12,1fr); column-gap:32px; align-items:end;
  padding-bottom:56px; margin-bottom:64px; border-bottom:1px solid var(--border); }
.ab-title { grid-column:1 / span 7; margin:0; font-family:var(--font-display); font-weight:500;
  font-size:clamp(42px,5vw,76px); line-height:1.02; letter-spacing:-0.025em; color:var(--text-primary); text-wrap:balance; }
.ab-lead { grid-column:9 / span 4; margin:0; font-size:18px; font-weight:400; line-height:1.6; color:var(--text-primary); max-width:44ch; }

.ab-body { display:grid; grid-template-columns:5fr 7fr; gap:72px; align-items:start; }

.ab-media { position:relative; margin:0; aspect-ratio:4/5; overflow:hidden; border-radius:2px; background:#E8E5DE; }
.ab-media img { width:100%; height:100%; object-fit:cover; object-position:45% 40%; display:block; transition:clip-path 1s var(--ease-in-out), transform 1.4s var(--ease-out); }
.ab-tenure { position:absolute; left:20px; bottom:20px; display:flex; align-items:center; gap:14px;
  padding:14px 18px; background:rgba(255,255,255,0.92); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  box-shadow:0 10px 30px rgba(0,0,0,0.12); border-radius:2px;
  transition:opacity .5s var(--ease-out) .6s, transform .6s var(--ease-out) .6s; }
.ab-tenure-n { font-family:var(--font-display); font-size:44px; font-weight:600; line-height:1; color:var(--red); font-variant-numeric:tabular-nums; }
.ab-tenure-l { font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; line-height:1.6;
  color:var(--text-secondary); padding-left:14px; border-left:1px solid var(--border-med); }

.ab-content { padding-top:8px; }
.ab-quote { margin:0 0 40px; font-family:var(--font-display); font-style:italic; font-weight:400;
  font-size:clamp(22px,2vw,28px); line-height:1.4; color:var(--text-primary); text-wrap:pretty; }
.ab-quote::before { content:''; display:block; width:40px; height:2px; background:var(--red); margin-bottom:22px; }
.ab-cols { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.ab-cols p { margin:0; font-size:15px; font-weight:400; line-height:1.8; color:var(--text-secondary); }

.ab-caps { list-style:none; margin:48px 0 40px; padding:0; display:grid; grid-template-columns:repeat(3,1fr); column-gap:32px;
  border-top:1px solid var(--border-med); }
.ab-cap { position:relative; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px 0; border-bottom:1px solid var(--border); font-size:12px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--text-primary); }
.ab-cap::before { content:''; position:absolute; left:0; right:0; top:-1px; height:2px; background:var(--red);
  transform:scaleX(0); transform-origin:left; transition:transform .25s var(--ease-out); }
.ab-cap::after { content:'\2192'; color:var(--red); opacity:0; transform:translateX(-6px);
  transition:opacity .16s ease, transform .16s var(--ease-out); }
@media (hover:hover) and (pointer:fine) {
  .ab-cap:hover::before { transform:scaleX(1); }
  .ab-cap:hover::after { opacity:1; transform:none; }
}
.ab-cta { display:flex; align-items:center; gap:24px; }

/* Motion: the photo is revealed bottom-up with a clip, settling out of a slight zoom.
   The clip sits on the <img>, not the observed <figure> — a clipped target never intersects. */
.js .ab-media.reveal { transition:none; }
.js .ab-media.reveal:not(.visible) { opacity:1; transform:none; background:transparent; }
.js .ab-media.reveal:not(.visible) img { clip-path:inset(100% 0 0 0); transform:scale(1.08); }
.js .ab-media.reveal:not(.visible) .ab-tenure { opacity:0; transform:translateY(8px); }

@media (max-width:1100px) {
  .ab-title { grid-column:1 / -1; }
  .ab-lead { grid-column:1 / -1; margin-top:24px; }
  .ab-body { grid-template-columns:1fr; gap:48px; }
  .ab-media { aspect-ratio:16/11; }
}
@media (max-width:768px) {
  .ab-head { padding-bottom:40px; margin-bottom:40px; }
  .ab-cols { grid-template-columns:1fr; gap:16px; }
  .ab-caps { grid-template-columns:1fr 1fr; }
  .ab-tenure-n { font-size:36px; }
}
@media (max-width:480px) { .ab-caps { grid-template-columns:1fr; } }
@media (prefers-reduced-motion: reduce) {
  .js .ab-media.reveal:not(.visible) img { clip-path:none; transform:none; }
  .ab-media img, .ab-tenure { transition:none; }
}

/* ================================================================
   ABOUT — BRAND BAND (2026-09-30)
   Replaces the oversized editorial header. A full-bleed band that
   stitches straight onto the hero: real project photography
   cross-fades under a Primary Red → Charcoal wash, the company
   statement sits at hero scale, and the capability-statement CTA
   is repeated where intent is highest.
   ================================================================ */
.sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.ab-band { position:relative; overflow:hidden; isolation:isolate; color:#fff; background:var(--red-deep); }
.ab-band-slides { position:absolute; inset:0; z-index:-2; }
.ab-band-slide { position:absolute; inset:0; background-size:cover; background-position:center 35%;
  opacity:0; transform:scale(1.06); transition:opacity .8s ease, transform 0s linear .8s; }  /* reset zoom only after it has faded out */
.ab-band-slide.is-active { opacity:1; transform:scale(1); transition:opacity .8s ease, transform 4.5s linear; }
.ab-band::after { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    linear-gradient(100deg, rgba(127,29,29,0.97) 0%, rgba(155,28,28,0.92) 38%, rgba(28,28,28,0.62) 72%, rgba(28,28,28,0.40) 100%); }

.ab-band-inner { display:grid; grid-template-columns:7fr 5fr; gap:64px; align-items:end; padding-top:88px; padding-bottom:80px; }
.ab-band-lead { margin:0; font-family:var(--font-display); font-weight:500; font-size:clamp(24px,2.3vw,32px);
  line-height:1.35; letter-spacing:-0.01em; color:#fff; max-width:30ch; text-wrap:pretty; }
.ab-band-creds { margin:28px 0 0; font-size:10.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:#D4D4D4; }
.ab-band-creds span { color:rgba(255,255,255,0.45); margin:0 6px; }

.ab-band-side { display:flex; flex-direction:column; gap:36px; align-items:flex-start; }
.ab-band-ctas { display:flex; flex-wrap:wrap; gap:12px; }
.ab-band-ctas .btn-white i { transition:transform .16s var(--ease-out); }
@media (hover:hover) and (pointer:fine) { .ab-band-ctas .btn-white:hover i { transform:translateX(3px); } }

.ab-band-nav { width:100%; max-width:420px; }
.ab-band-caption { margin:0 0 12px; display:flex; flex-direction:column; gap:2px; min-height:38px; }
.ab-band-caption strong { font-size:13px; font-weight:600; letter-spacing:.02em; color:#fff; }
.ab-band-caption span { font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#D4D4D4; }
.ab-band-caption.is-swapping { animation:abCap .3s var(--ease-out); }
@keyframes abCap { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
.ab-band-dots { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.ab-band-dot { position:relative; height:24px; padding:0; background:none; border:0; cursor:pointer; }
.ab-band-dot::before, .ab-band-dot span { content:''; position:absolute; left:0; right:0; top:50%; height:2px; margin-top:-1px; }
.ab-band-dot::before { background:rgba(255,255,255,0.28); }
.ab-band-dot span { background:#fff; transform:scaleX(0); transform-origin:left; }
.ab-band-dot.is-done span { transform:scaleX(1); }
.ab-band-dot.is-active span { animation:abProgress var(--ab-interval,6s) linear forwards; }
.ab-band.is-paused .ab-band-dot.is-active span { animation-play-state:paused; }
@keyframes abProgress { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.ab-band-dot:focus-visible { outline:2px solid #fff; outline-offset:2px; }

@media (max-width:1100px) {
  .ab-band-inner { grid-template-columns:1fr; gap:40px; align-items:start; padding-top:64px; padding-bottom:56px; }
  .ab-band::after { background:linear-gradient(180deg, rgba(127,29,29,0.95) 0%, rgba(155,28,28,0.88) 55%, rgba(28,28,28,0.72) 100%); }
}
@media (max-width:480px) {
  .ab-band-ctas { flex-direction:column; align-items:stretch; width:100%; }
  .ab-band-ctas a { justify-content:center; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-band-slide, .ab-band-slide.is-active { transform:none; transition:opacity .6s linear; }
  .ab-band-caption.is-swapping { animation:none; }
}

/* ================================================================
   HERO — FULL STAGE (2026-09-30)
   The left column is gone: the Concept B panel spans the full width.
   Order top → bottom: headline · sectors matrix · P&L network ·
   credentials · Trusted By. Graphite Glass skin from above applies.
   ================================================================ */
.hero.hero--stage { display:block !important; min-height:0; padding:0; overflow:hidden; background:#1C1C1C; }
.hero.hero--stage .b-panel.b-full {
  position:relative; inset:auto; width:100%; flex:1 1 100%; min-height:100vh; min-height:100svh; display:flex; flex-direction:column;
  padding:0 !important; gap:0; -webkit-mask-image:none; mask-image:none;
}
.hero.hero--stage .b-matrix { width:100%; height:100%; }
.hero-stage { position:relative; z-index:2; flex:1; display:flex; flex-direction:column;
  padding-top:132px; padding-bottom:40px; gap:40px; }

.hero.hero--stage .hero-headline { margin:0; max-width:22ch; color:#fff;
  font-size:clamp(34px,3.6vw,54px); line-height:1.08; letter-spacing:-0.02em; text-wrap:balance; }
.hero.hero--stage .hero-headline em { color:var(--red-light); font-style:italic; font-weight:600; text-shadow:0 2px 18px rgba(0,0,0,0.55); }
.hero-stage-matrix { display:flex; flex-direction:column; gap:20px; }
.hero.hero--stage .b-label { margin-top:0; }
.hero.hero--stage .b-grid { grid-template-columns:repeat(6,1fr); }
.hero.hero--stage .b-cell { padding:20px 18px; }

.hero.hero--stage .hero-trust { margin-top:auto; padding-top:28px; border-top:1px solid rgba(255,255,255,0.16); }
.hero.hero--stage .hero-trust-label { color:#D4D4D4; }
.hero.hero--stage .hero-trust-label::after { background:rgba(255,255,255,0.3); }
.hero.hero--stage .hero-trust-logo { color:#fff; opacity:.72; }
.hero.hero--stage .hero-trust-logo:hover { opacity:1; color:#fff; }

/* Entrance: headline first, trust row after the matrix has landed */
.hero.hero--stage .hero-headline { animation:heroIn .8s var(--ease-out) both; }
.hero.hero--stage .hero-trust { animation:heroFade .6s var(--ease-out) 1.4s both; }
@keyframes heroIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes heroFade { from { opacity:0; } to { opacity:1; } }

@media (max-width:1280px) { .hero.hero--stage .b-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px) {
  .hero-stage { padding-top:100px; gap:28px; }
  .hero.hero--stage .b-grid { grid-template-columns:1fr 1fr; }
  .hero.hero--stage .b-panel.b-full { min-height:0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.hero--stage .hero-headline, .hero.hero--stage .hero-trust { animation:none; }
}

/* ================================================================
   BRAND BAND — now in the stats slot, carrying the key figures
   ================================================================ */
.ab-band-inner { padding-bottom:56px; }
.ab-band-stats { margin:0; padding:32px 0 64px; display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,0.18); }
.ab-stat { display:flex; flex-direction:column-reverse; gap:10px; padding:0 28px; position:relative; }
.ab-stat:first-child { padding-left:0; }
.ab-stat + .ab-stat::before { content:''; position:absolute; left:0; top:6px; bottom:6px; width:1px; background:rgba(255,255,255,0.18); }
.ab-stat-n { margin:0; font-family:var(--font-display); font-weight:600; font-size:clamp(36px,3.2vw,52px); line-height:1;
  color:#fff; font-variant-numeric:tabular-nums; letter-spacing:-0.01em; }
.ab-stat-affix { font-size:.5em; font-weight:500; color:#D4D4D4; vertical-align:.7em; margin:0 .08em; }
.ab-stat-l { font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#D4D4D4; }
@media (max-width:900px) {
  .ab-band-stats { grid-template-columns:1fr 1fr; row-gap:28px; padding-bottom:48px; }
  .ab-stat:nth-child(3) { padding-left:0; }
  .ab-stat:nth-child(3)::before { display:none; }
}
