/* ══════════════════════════════════════════════════════════════════
   TraCarta — Design System
   Extracted from Menu.html + tracarta_healthcare_v3_photo.html
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ── RESET & TOKENS ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:   #080808;
  --ink2:  #0F0F0F;
  --ink3:  #161616;
  --ink4:  #1C1C1C;
  --lime:  #A8F900;
  --white: #EEEEE9;
  --muted: rgba(238,238,233,0.58);
  --dim:   rgba(238,238,233,0.28);
  --rule:  rgba(238,238,233,0.08);
  --rule2: rgba(238,238,233,0.05);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 70px;
  background: rgba(8,8,8,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 999;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 22px; width: auto; display: block; }
.footer-logo-img { height: 18px; width: auto; display: block; opacity: 0.7; transition: opacity 0.15s; }
.footer-logo-img:hover { opacity: 1; }
.hbtn {
  width: 54px; height: 54px;
  border: 1px solid rgba(238,238,233,0.15); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; background: none; transition: border-color 0.15s;
}
.hbtn:hover { border-color: rgba(238,238,233,0.4); }
.ico-lines { display: flex; flex-direction: column; gap: 6px; }
.ico-lines span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.25s; }
.ico-x { display: none; font-size: 22px; font-weight: 300; color: var(--white); line-height: 1; }

/* ── MEGA MENU ──────────────────────────────────────────────────── */
.mega {
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--ink); z-index: 998;
  display: none; overflow: hidden;
}
.mega.open { display: block; }
.mega-layout {
  display: grid;
  grid-template-columns: 480px 1fr 300px;
  height: 100%;
}

/* Left — categories */
.m-cats {
  border-right: 1px solid var(--rule2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 0 56px;
}
.m-cat {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 28px 40px 28px 0;
  border-bottom: 1px solid rgba(238,238,233,0.07);
  font-size: 26px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(238,238,233,0.22); text-decoration: none; cursor: pointer;
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
  position: relative;
}
.m-cat:first-child { border-top: 1px solid rgba(238,238,233,0.07); }
.m-cat:hover, .m-cat.active { color: var(--white); padding-left: 20px; background: rgba(238,238,233,0.03); }
.m-cat.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); }
.m-cat-num { font-size: 10px; font-weight: 700; color: var(--lime); letter-spacing: 1px; opacity: 0; transition: opacity 0.2s; }
.m-cat:hover .m-cat-num, .m-cat.active .m-cat-num { opacity: 1; }

/* Centre — sub links */
.m-links {
  border-right: 1px solid var(--rule2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 56px; overflow-y: auto;
}
.m-panel { display: none; flex-direction: column; gap: 0; }
.m-panel.visible { display: flex; }
.m-panel-label {
  font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--lime); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.m-panel-label::after { content: ''; flex: 1; height: 1px; background: rgba(168,249,0,0.2); }
.m-item {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--rule2);
  text-decoration: none; cursor: pointer; transition: padding-left 0.15s;
}
.m-item:first-of-type { border-top: 1px solid var(--rule2); }
.m-item:hover { padding-left: 8px; }
.m-thumb {
  width: 68px; height: 48px; border-radius: 4px; flex-shrink: 0;
  overflow: hidden; border: 1px solid rgba(168,249,0,0.1); transition: border-color 0.15s;
}
.m-item:hover .m-thumb { border-color: rgba(168,249,0,0.35); }
.m-thumb svg { width: 100%; height: 100%; display: block; }
.m-item-text { flex: 1; min-width: 0; }
.m-item-name {
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(238,238,233,0.5); transition: color 0.15s; margin-bottom: 4px;
}
.m-item:hover .m-item-name { color: var(--white); }
.m-item-desc { font-size: 11.5px; font-weight: 400; color: var(--dim); line-height: 1.5; transition: color 0.15s; }
.m-item:hover .m-item-desc { color: var(--muted); }
.m-item-arr { font-size: 13px; color: var(--lime); opacity: 0; transition: opacity 0.15s, transform 0.15s; flex-shrink: 0; }
.m-item:hover .m-item-arr { opacity: 1; transform: translateX(4px); }

/* Right — feature panel */
.m-feature { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.m-feat-panel { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: flex-end; }
.m-feat-panel.visible { display: flex; }
.feat-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.38) saturate(0.6);
}
.feat-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(8,8,8,0.92) 100%); }
.feat-content { position: relative; z-index: 5; padding: 28px 28px 32px; }
.feat-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; display: block; }
.feat-headline { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; font-style: italic; color: var(--white); line-height: 1.2; margin-bottom: 8px; }
.feat-body { font-size: 11.5px; font-weight: 400; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.feat-link {
  font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--lime);
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(168,249,0,0.3); padding-bottom: 3px; transition: gap 0.15s;
}
.feat-link:hover { gap: 13px; }

/* ── HERO (shared across all pages) ────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 88vh;
  min-height: 600px; max-height: 820px;
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
  filter: brightness(0.42) saturate(0.6) contrast(1.08);
  transform: scale(1.03); transition: transform 8s ease;
}
.hero:hover .hero-img { transform: scale(1.0); }
.hero-blend {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.55) 42%, rgba(8,8,8,0.08) 100%),
    linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.08) 38%, rgba(8,8,8,0.78) 72%, rgba(8,8,8,1) 100%);
}
.hero-lime-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); opacity: 0.6; z-index: 3; }
.hero-content { position: relative; z-index: 5; padding: 0 56px 72px; max-width: 760px; }
.hero-bread { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hbc { font-size: 11px; font-weight: 500; color: var(--dim); letter-spacing: 0.3px; }
.hbc.lime { color: var(--lime); }
.hbc-sep { font-size: 10px; color: var(--dim); }
.hero-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--lime); margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--lime); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 80px; font-weight: 700; line-height: 0.97;
  letter-spacing: -3.5px; color: #fff; margin-bottom: 30px;
}
.hero h1 em { color: var(--lime); font-style: italic; }
.hero-sub {
  font-size: 17px; font-weight: 400; color: rgba(238,238,233,0.72);
  max-width: 560px; line-height: 1.8;
  border-left: 2px solid var(--lime); padding-left: 22px;
}

/* ── SHARED SECTION COMPONENTS ──────────────────────────────────── */
.sec-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--lime); margin-bottom: 28px; display: flex; align-items: center; gap: 14px;
}
.sec-tag::after { content: ''; flex: 1; height: 1px; background: rgba(168,249,0,0.2); }

/* ── INTRO SPLIT ─────────────────────────────────────────────────── */
.intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; border-bottom: 1px solid var(--rule); }
.intro-text {
  padding: 80px 56px; border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: center;
}
.intro-text h2 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.05; margin-bottom: 28px; }
.intro-text h2 em { color: var(--lime); font-style: italic; }
.intro-text p { font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-photo { position: relative; overflow: hidden; background: var(--ink2); }
.intro-photo-img { position: absolute; inset: 0; background-size: cover; background-position: 68% center; filter: brightness(0.35) saturate(0.55); }
.intro-photo-fade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.65) 100%); }
.intro-pq { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 44px; background: linear-gradient(180deg, transparent, rgba(8,8,8,0.88)); }
.pq-rule { width: 32px; height: 2px; background: var(--lime); margin-bottom: 14px; }
.pq-txt { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 400; font-style: italic; color: #fff; line-height: 1.45; letter-spacing: -0.3px; }
.pq-src { font-size: 11px; font-weight: 600; color: var(--lime); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 12px; }

/* ── CHALLENGES ──────────────────────────────────────────────────── */
.challenges { padding: 80px 56px; border-bottom: 1px solid var(--rule); }
.ch-hdr { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; padding-bottom: 44px; border-bottom: 1px solid var(--rule); }
.ch-hdr h2 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; letter-spacing: -1.5px; color: #fff; line-height: 1.08; }
.ch-hdr p { font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.8; padding-top: 6px; }
.ch-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--rule2); transition: padding-left 0.15s; }
.ch-row:last-child { border-bottom: none; }
.ch-row:hover { padding-left: 8px; }
.ch-num { font-size: 52px; font-weight: 800; letter-spacing: -2px; color: rgba(168,249,0,0.18); line-height: 1; padding-top: 4px; }
.ch-title { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; line-height: 1.2; padding-top: 6px; }
.ch-desc { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.75; padding-top: 6px; }

/* ── APPROACH ────────────────────────────────────────────────────── */
.approach { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; border-bottom: 1px solid var(--rule); }
.ap-img { position: relative; overflow: hidden; background: var(--ink3); }
.ap-img-bg { position: absolute; inset: 0; background-size: cover; background-position: 28% center; filter: brightness(0.3) saturate(0.5); }
.ap-img-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0.25), rgba(8,8,8,0) 50%), linear-gradient(180deg, rgba(8,8,8,0), rgba(8,8,8,0.7)); }
.ap-img-label { position: absolute; bottom: 36px; left: 36px; right: 36px; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); }
.ap-text { padding: 80px 56px; background: var(--ink2); display: flex; flex-direction: column; justify-content: center; }
.ap-text h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; letter-spacing: -1.5px; color: #fff; line-height: 1.1; margin-bottom: 36px; }
.ap-text h2 em { color: var(--lime); font-style: italic; }
.fw-step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--rule2); }
.fw-step:first-of-type { border-top: 1px solid var(--rule2); }
.fw-step:last-child { border-bottom: none; }
.fw-n { font-size: 11px; font-weight: 800; color: var(--lime); letter-spacing: 1px; flex-shrink: 0; width: 26px; padding-top: 3px; }
.fw-body h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -0.3px; }
.fw-body p { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.7; }

/* ── SOLUTIONS ROWS ──────────────────────────────────────────────── */
.solutions { padding: 80px 56px; border-bottom: 1px solid var(--rule); }
.sol-hdr { margin-bottom: 56px; }
.sol-hdr h2 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; letter-spacing: -1.5px; color: #fff; line-height: 1.05; margin-bottom: 16px; }
.sol-hdr p { font-size: 16px; font-weight: 400; color: var(--muted); max-width: 600px; line-height: 1.75; }
.sol-row { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 48px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--rule2); }
.sol-row:first-child { border-top: 1px solid var(--rule2); }
.sol-tag { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.sol-product { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); }
.sol-arr { font-size: 18px; color: var(--lime); opacity: 0.35; margin-top: 12px; }
.sol-title { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 8px; }
.sol-sub { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--lime); opacity: 0.7; }
.sol-desc { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.75; }

/* ── CTA BAND ─────────────────────────────────────────────────────── */
.cta {
  padding: 96px 56px; background: var(--ink2); border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
}
.cta h2 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.05; margin-bottom: 14px; }
.cta p { font-size: 16px; font-weight: 400; color: var(--muted); max-width: 520px; line-height: 1.75; }
.cta-btn {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: 0.3px; padding: 18px 40px; border: none;
  background: var(--lime); color: #080808; text-decoration: none;
  white-space: nowrap; display: inline-block; transition: opacity 0.15s; cursor: pointer;
}
.cta-btn:hover { opacity: 0.85; }

/* ── INDUSTRY NAV PILLS ───────────────────────────────────────────── */
.ind-nav { padding: 40px 56px; background: var(--ink2); border-bottom: 1px solid var(--rule); }
.ind-nav-lbl { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.ind-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-pill { font-size: 12px; font-weight: 600; padding: 10px 20px; border: 1px solid var(--rule); color: var(--muted); text-decoration: none; transition: all 0.15s; }
.ind-pill:hover { border-color: rgba(168,249,0,0.35); color: #fff; }
.ind-pill.on { border-color: rgba(168,249,0,0.45); color: var(--lime); background: rgba(168,249,0,0.05); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--ink2); border-top: 1px solid var(--rule);
  padding: 32px 56px;
  display: grid; grid-template-columns: 200px 1fr 320px; align-items: center; gap: 24px;
}
.fl { display: flex; align-items: center; }
.fc { font-size: 10.5px; color: var(--dim); text-align: center; }
.flinks { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.flinks a { font-size: 10.5px; font-weight: 600; color: var(--dim); text-decoration: none; transition: color 0.15s; }
.flinks a:hover { color: var(--white); }

/* ── HOME SPECIFIC ────────────────────────────────────────────────── */
.home-stats { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--rule); }
.hst { padding: 48px 56px; border-right: 1px solid var(--rule); }
.hst:last-child { border-right: none; }
.hst-n { font-size: 52px; font-weight: 800; letter-spacing: -2.5px; color: var(--white); line-height: 1; margin-bottom: 10px; }
.hst-n b { color: var(--lime); }
.hst-l { font-size: 12px; font-weight: 500; color: var(--dim); letter-spacing: 0.3px; }
.home-intro { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.hi-text { padding: 80px 56px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; }
.hi-text h2 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.0; margin-bottom: 28px; }
.hi-text h2 em { color: var(--lime); font-style: italic; }
.hi-text p { font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.hi-right { padding: 80px 56px; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.hi-pillar { padding-bottom: 32px; border-bottom: 1px solid var(--rule2); }
.hi-pillar:last-child { border-bottom: none; padding-bottom: 0; }
.hi-pillar-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.hi-pillar h3 { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 8px; }
.hi-pillar p { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.7; }

/* Solutions grid on home */
.home-solutions { padding: 80px 56px; border-bottom: 1px solid var(--rule); }
.home-solutions h2 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.0; margin-bottom: 16px; }
.home-solutions > p { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.75; margin-bottom: 56px; }
.sol-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sol-card { background: var(--ink); padding: 48px; transition: background 0.2s; }
.sol-card:hover { background: var(--ink2); }
.sol-card-tag { font-size: 9px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); margin-bottom: 20px; }
.sol-card h3 { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.8px; margin-bottom: 14px; }
.sol-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.sol-card-link { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.15s; }
.sol-card:hover .sol-card-link { gap: 14px; }

/* Industries strip on home */
.home-industries { border-bottom: 1px solid var(--rule); }
.ind-strip { display: grid; grid-template-columns: repeat(6,1fr); }
.ind-tile { padding: 40px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; transition: background 0.2s; }
.ind-tile:nth-child(6) { border-right: none; }
.ind-tile:hover { background: var(--ink2); }
.ind-tile-num { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: rgba(168,249,0,0.4); margin-bottom: 16px; }
.ind-tile-name { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -0.3px; margin-bottom: 8px; }
.ind-tile-arr { font-size: 18px; color: var(--lime); opacity: 0.3; transition: opacity 0.15s, transform 0.15s; }
.ind-tile:hover .ind-tile-arr { opacity: 1; transform: translateX(4px); }

/* Legal page */
.legal-body { max-width: 780px; margin: 0 auto; padding: 80px 56px; }
.legal-body h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; letter-spacing: -1px; color: #fff; margin: 48px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.legal-body ul { padding-left: 24px; margin-bottom: 18px; }
.legal-body li { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 8px; }

/* Team / profile page */
.profile { display: grid; grid-template-columns: 420px 1fr; min-height: 600px; border-bottom: 1px solid var(--rule); }
.profile-img { position: relative; overflow: hidden; background: var(--ink3); }
.profile-img-bg { position: absolute; inset: 0; background-size: cover; background-position: top center; filter: brightness(0.6) saturate(0.7); }
.profile-img-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0) 60%, rgba(8,8,8,0.8) 100%); }
.profile-text { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.profile-text h2 { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.0; margin-bottom: 8px; }
.profile-role { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); margin-bottom: 36px; }
.profile-text p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }

/* Careers */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.careers-text { padding: 80px 56px; border-right: 1px solid var(--rule); }
.careers-text h2 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.05; margin-bottom: 28px; }
.careers-text h2 em { color: var(--lime); font-style: italic; }
.careers-text p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; }
.careers-values { padding: 80px 56px; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.cv-row { padding: 28px 0; border-bottom: 1px solid var(--rule2); }
.cv-row:first-child { border-top: 1px solid var(--rule2); }
.cv-row:last-child { border-bottom: none; }
.cv-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.cv-row h4 { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 8px; }
.cv-row p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.contact-info { padding: 80px 56px; border-right: 1px solid var(--rule); }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; color: #fff; line-height: 1.05; margin-bottom: 28px; }
.contact-info p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 40px; }
.contact-detail { padding: 20px 0; border-bottom: 1px solid var(--rule2); }
.contact-detail:last-child { border-bottom: none; }
.cd-label { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.cd-value { font-size: 15px; font-weight: 500; color: var(--white); }
.contact-form-wrap { padding: 80px 56px; display: flex; flex-direction: column; justify-content: center; }
.contact-form-wrap h3 { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; margin-bottom: 32px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px;
  background: var(--ink3); border: 1px solid var(--rule);
  color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px;
  outline: none; transition: border-color 0.15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: rgba(168,249,0,0.4); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; background: var(--lime); border: none; color: #080808; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 0.5px; cursor: pointer; transition: opacity 0.15s; }
.form-submit:hover { opacity: 0.85; }

/* Firm page */
.firm-leaders { padding: 80px 56px; border-bottom: 1px solid var(--rule); }
.firm-leaders-header { margin-bottom: 48px; }
.firm-leaders-header h2 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; letter-spacing: -1.5px; color: #fff; line-height: 1.08; }

/* Full-width 3-column grid — photos fill naturally */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
}

.leader-card {
  position: relative;
  text-decoration: none;
  display: block;
  background: var(--ink2);
  overflow: hidden;
}

/* Use actual <img> tag for pixel-perfect face control */
.leader-card-img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 25%; /* default — overridden per card */
  filter: brightness(0.65) saturate(0.6) contrast(1.08);
  transition: filter 0.4s ease, transform 0.5s ease;
  transform: scale(1.02);
}
.leader-card:hover .leader-card-img {
  filter: brightness(0.78) saturate(0.75) contrast(1.05);
  transform: scale(1.0);
}

/* Gradient — transparent at top, dark at bottom, info text sits on it */
.leader-card-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,8,8,0)    0%,
    rgba(8,8,8,0)    40%,
    rgba(8,8,8,0.5)  62%,
    rgba(8,8,8,0.88) 78%,
    rgba(8,8,8,0.97) 100%
  );
  pointer-events: none;
}

/* Info sits at the bottom of the card, on top of the gradient */
.leader-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 32px 36px;
  z-index: 2;
}
.leader-card-name {
  font-size: 24px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 5px;
}
.leader-card-role {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--lime); margin-bottom: 14px;
}
.leader-card-bio {
  font-size: 13px; color: rgba(238,238,233,0.65);
  line-height: 1.75; max-width: 340px;
}
.leader-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--lime);
  letter-spacing: 0.5px; margin-top: 14px;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.leader-card:hover .leader-card-link { opacity: 1; transform: translateY(0); }

/* Lime left bar on hover */
.leader-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--lime); z-index: 3;
  opacity: 0; transition: opacity 0.25s;
}
.leader-card:hover::before { opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .firm-leaders { padding: 56px 28px; }
  .firm-leaders-header h2 { font-size: 34px; }
  .leaders-grid { grid-template-columns: 1fr; gap: 2px; }
  .leader-card-img { height: 420px; }
}
@media (max-width: 640px) {
  .firm-leaders { padding: 40px 20px; }
  .leader-card-img { height: 360px; }
  .leader-card-info { padding: 24px 24px 28px; }
  .leader-card-name { font-size: 20px; }
}

/* Solution product pages */
.product-hero-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.product-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-bottom: none; }
.pf-card { background: var(--ink); padding: 48px 40px; border-bottom: 1px solid var(--rule); }
.pf-card-num { font-size: 36px; font-weight: 800; letter-spacing: -1px; color: rgba(168,249,0,0.15); margin-bottom: 20px; }
.pf-card h4 { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.4px; margin-bottom: 12px; }
.pf-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ── RESPONSIVE (basic) ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .hero-content { padding: 0 32px 56px; }
  .hero h1 { font-size: 56px; }
  .mega-layout { grid-template-columns: 1fr; }
  .m-feature { display: none; }
  .intro, .approach, .contact-grid, .careers-grid, .profile { grid-template-columns: 1fr; }
  .intro-photo, .ap-img, .profile-img { min-height: 320px; }
  .home-stats { grid-template-columns: repeat(2,1fr); }
  .sol-grid, .leaders-grid, .product-features { grid-template-columns: 1fr; }
  .ind-strip { grid-template-columns: repeat(3,1fr); }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .flinks { justify-content: center; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .cta { grid-template-columns: 1fr; }
  .ch-row { grid-template-columns: 1fr; }
  .sol-row { grid-template-columns: 1fr; }
  .ind-strip { grid-template-columns: repeat(2,1fr); }
  .home-stats { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — Full overhaul for all breakpoints
   ══════════════════════════════════════════════════════════════════ */

/* Tablet landscape */
@media (max-width: 1200px) {
  .mega-layout { grid-template-columns: 400px 1fr 260px; }
  .hero h1 { font-size: 64px; letter-spacing: -2.5px; }
  .home-stats { grid-template-columns: repeat(4,1fr); }
  .sol-grid { grid-template-columns: repeat(2,1fr); }
  .leaders-grid { grid-template-columns: repeat(3,1fr); }
  .ind-strip { grid-template-columns: repeat(3,1fr); }
  .ind-strip .ind-tile:nth-child(3) { border-right: none; }
  .ind-strip .ind-tile:nth-child(4) { border-right: 1px solid var(--rule); }
  .ind-strip .ind-tile:nth-child(6) { border-right: none; }
}

/* Tablet portrait */
@media (max-width: 1024px) {
  .nav { padding: 0 28px; }
  .hbtn { width: 46px; height: 46px; }
  .mega-layout { grid-template-columns: 1fr; }
  .m-feature { display: none; }
  .m-cats { padding: 0 0 0 28px; }
  .m-cat { font-size: 20px; padding: 20px 28px 20px 0; }
  .m-links { padding: 28px 28px; }

  .hero { height: 70vh; min-height: 480px; max-height: 680px; }
  .hero-content { padding: 0 28px 48px; }
  .hero h1 { font-size: 52px; letter-spacing: -2px; }
  .hero-sub { font-size: 15px; }

  .intro { grid-template-columns: 1fr; }
  .intro-text { padding: 56px 28px; border-right: none; border-bottom: 1px solid var(--rule); }
  .intro-photo { min-height: 360px; }

  .challenges { padding: 56px 28px; }
  .ch-hdr { grid-template-columns: 1fr; gap: 20px; }
  .ch-hdr h2 { font-size: 36px; }
  .ch-row { grid-template-columns: 60px 1fr; gap: 20px; }
  .ch-desc { grid-column: 2; }

  .approach { grid-template-columns: 1fr; }
  .ap-img { min-height: 300px; }
  .ap-text { padding: 56px 28px; }

  .solutions { padding: 56px 28px; }
  .sol-row { grid-template-columns: 1fr; gap: 16px; }
  .sol-row:first-child { border-top: 1px solid var(--rule2); }

  .cta { padding: 64px 28px; grid-template-columns: 1fr; gap: 28px; }
  .cta h2 { font-size: 36px; }

  .home-stats { grid-template-columns: repeat(2,1fr); }
  .hst { padding: 32px 28px; }
  .home-intro { grid-template-columns: 1fr; }
  .hi-text { padding: 56px 28px; border-right: none; border-bottom: 1px solid var(--rule); }
  .hi-right { padding: 40px 28px; }
  .home-solutions { padding: 56px 28px; }
  .home-solutions h2 { font-size: 36px; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-card { padding: 36px 28px; }

  .ind-strip { grid-template-columns: repeat(2,1fr); }
  .ind-tile:nth-child(even) { border-right: none; }
  .ind-tile { padding: 32px 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 56px 28px; border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-form-wrap { padding: 56px 28px; }

  .careers-grid { grid-template-columns: 1fr; }
  .careers-text { padding: 56px 28px; border-right: none; border-bottom: 1px solid var(--rule); }
  .careers-values { padding: 40px 28px; }

  .profile { grid-template-columns: 1fr; }
  .profile-img { min-height: 380px; }
  .profile-img-fade { background: linear-gradient(180deg, rgba(8,8,8,0) 60%, rgba(8,8,8,0.9) 100%); }
  .profile-text { padding: 48px 28px; }
  .profile-text h2 { font-size: 40px; }

  .firm-leaders { padding: 56px 28px; }
  .firm-leaders h2 { font-size: 36px; margin-bottom: 36px; }
  .leaders-grid { grid-template-columns: 1fr; }
  .leader-photo-wrap { height: 320px; }

  .product-features { grid-template-columns: 1fr; }

  .skyboard-preview { flex-direction: column; }
  .skyboard-preview-img { width: 100%; height: 320px; }

  .ind-nav { padding: 28px; }
  .footer { grid-template-columns: 1fr; text-align: center; padding: 28px; gap: 16px; }
  .flinks { justify-content: center; }

  .legal-body { padding: 56px 28px; }
}

/* Mobile */
@media (max-width: 640px) {
  .nav { padding: 0 20px; height: 60px; }
  .nav-wordmark { font-size: 13px; }
  .mega { top: 60px; }
  .m-cats { padding: 0 0 0 20px; }
  .m-cat { font-size: 17px; padding: 16px 20px 16px 0; letter-spacing: 1.5px; }
  .m-links { padding: 20px; }
  .m-panel-label { margin-bottom: 16px; }
  .m-item { padding: 12px 0; gap: 14px; }
  .m-thumb { width: 52px; height: 36px; }
  .m-item-name { font-size: 11px; }
  .m-item-desc { display: none; }

  .hero { height: 85vh; min-height: 500px; }
  .hero-content { padding: 0 20px 40px; max-width: 100%; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 2.5px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; margin-bottom: 20px; }
  .hero-sub { font-size: 14px; padding-left: 16px; }
  .hero-bread { display: none; }

  .intro-text { padding: 40px 20px; }
  .intro-text h2 { font-size: 32px; letter-spacing: -1px; }
  .intro-photo { min-height: 280px; }

  .challenges { padding: 40px 20px; }
  .ch-hdr { margin-bottom: 32px; padding-bottom: 28px; }
  .ch-hdr h2 { font-size: 28px; }
  .ch-row { grid-template-columns: 1fr; padding: 24px 0; }
  .ch-num { font-size: 36px; margin-bottom: 8px; }

  .ap-text { padding: 40px 20px; }
  .ap-text h2 { font-size: 30px; }

  .solutions { padding: 40px 20px; }
  .sol-hdr h2 { font-size: 30px; }

  .cta { padding: 48px 20px; }
  .cta h2 { font-size: 28px; letter-spacing: -1px; }
  .cta-btn { width: 100%; text-align: center; padding: 16px 24px; }

  .home-stats { grid-template-columns: 1fr 1fr; }
  .hst { padding: 24px 20px; }
  .hst-n { font-size: 38px; }
  .hi-text { padding: 40px 20px; }
  .hi-text h2 { font-size: 32px; }
  .hi-right { padding: 32px 20px; }
  .home-solutions { padding: 40px 20px; }
  .home-solutions h2 { font-size: 30px; }
  .home-solutions > p { margin-bottom: 32px; }

  .ind-strip { grid-template-columns: 1fr 1fr; }
  .ind-tile { padding: 24px 16px; }
  .ind-tile-name { font-size: 12px; }

  .contact-info { padding: 40px 20px; }
  .contact-form-wrap { padding: 40px 20px; }

  .careers-text { padding: 40px 20px; }
  .careers-values { padding: 32px 20px; }
  .careers-text h2 { font-size: 32px; }

  .profile-text { padding: 40px 20px; }
  .profile-text h2 { font-size: 34px; }

  .firm-leaders { padding: 40px 20px; }
  .firm-leaders h2 { font-size: 28px; }

  .legal-body { padding: 40px 20px; }
  .legal-body h2 { font-size: 24px; }

  .footer { padding: 24px 20px; }
  .flinks { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .flinks a { font-size: 10px; }

  /* SkyBoard specific */
  .sb-dashboard-wrap { padding: 0 20px 40px; }
  .sb-stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sb-itc-row { grid-template-columns: 1fr; }
  .sb-charts-row { grid-template-columns: 1fr; }

  /* SkyLedger specific */
  .sl-process-steps { grid-template-columns: 1fr; }
  .sl-metrics-row { grid-template-columns: 1fr 1fr; }
}

/* Very small */
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .home-stats { grid-template-columns: 1fr; }
  .ind-strip { grid-template-columns: 1fr; }
  .sb-stats-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   HERO IMAGE — single use only. No repeated images anywhere.
   Intro right panel: dark editorial card, NOT another image.
   ══════════════════════════════════════════════════════════════════ */

/* Replace intro-photo with dark stat/quote card */
.intro-stat-panel {
  background: var(--ink2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 64px 56px; border-left: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.intro-stat-panel::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--lime) 0%, transparent 100%);
}
.isp-quote {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; font-style: italic;
  color: #fff; line-height: 1.4; letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.isp-quote-src {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--lime);
}
.isp-divider { width: 100%; height: 1px; background: var(--rule); margin: 40px 0; }
.isp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.isp-stat-n {
  font-size: 42px; font-weight: 800; letter-spacing: -2px;
  color: var(--white); line-height: 1; margin-bottom: 6px;
}
.isp-stat-n b { color: var(--lime); }
.isp-stat-l { font-size: 11px; font-weight: 500; color: var(--dim); letter-spacing: 0.3px; }
.isp-lime-rule { width: 32px; height: 2px; background: var(--lime); margin-bottom: 14px; }

/* Approach left panel — dark with abstract SVG pattern, NOT image repeat */
.ap-pattern {
  background: var(--ink3);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px; position: relative; overflow: hidden;
}
.ap-pattern svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.12; }
.ap-pattern-label {
  position: relative; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--lime);
}
.ap-pattern-heading {
  position: relative; z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; color: #fff;
  letter-spacing: -1px; line-height: 1.2; margin-top: 12px;
}
.ap-pattern-heading em { color: var(--lime); font-style: italic; }

/* SkyBoard dashboard embed */
.sb-dashboard-section {
  border-bottom: 1px solid var(--rule);
  background: var(--ink2);
}
.sb-dashboard-header {
  padding: 64px 56px 40px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px;
  border-bottom: 1px solid var(--rule);
}
.sb-dashboard-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700; letter-spacing: -1.5px; color: #fff; line-height: 1.05;
}
.sb-dashboard-header h2 em { color: var(--lime); font-style: italic; }
.sb-dashboard-header p { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 480px; margin-top: 16px; }
.sb-live-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--lime); white-space: nowrap;
}
.sb-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.sb-dashboard-wrap { padding: 40px 56px 64px; }

/* Stats cards row */
.sb-stats-row {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-bottom: 16px;
}
.sb-stat-card {
  background: #111418; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 20px; position: relative; overflow: hidden;
}
.sb-stat-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  opacity: 0.4;
}
.sb-stat-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(168,249,0,0.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 14px;
}
.sb-stat-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 6px;
}
.sb-stat-value { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; line-height: 1; }
.sb-stat-value.lime { color: var(--lime); }
.sb-stat-value.blue { color: #5B9BF8; }
.sb-stat-sub { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ITC claimable row */
.sb-itc-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.sb-itc-card {
  background: #111418; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.sb-itc-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.sb-itc-value { font-size: 26px; font-weight: 800; letter-spacing: -1px; color: #fff; }
.sb-itc-value.positive { color: var(--lime); }
.sb-itc-value.negative { color: #F87171; }
.sb-itc-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.sb-itc-dot.blue { background: #5B9BF8; }
.sb-itc-dot.green { background: var(--lime); }
.sb-itc-dot.teal { background: #34D399; }

/* Charts row */
.sb-charts-row { display: grid; grid-template-columns: 1fr 380px; gap: 12px; }
.sb-chart-card {
  background: #111418; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 24px;
}
.sb-chart-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.sb-chart-sub { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 20px; }

/* Bar chart */
.sb-bar-chart { display: flex; align-items: flex-end; gap: 24px; height: 140px; padding-top: 20px; }
.sb-bar-group { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.sb-bar {
  width: 100%; border-radius: 3px 3px 0 0; min-height: 4px;
  background: linear-gradient(180deg, var(--lime) 0%, rgba(168,249,0,0.4) 100%);
  transition: opacity 0.2s;
}
.sb-bar.blue { background: linear-gradient(180deg, #5B9BF8 0%, rgba(91,155,248,0.4) 100%); }
.sb-bar.red { background: linear-gradient(180deg, #F87171 0%, rgba(248,113,113,0.4) 100%); }
.sb-bar-label { font-size: 9px; color: rgba(255,255,255,0.35); text-align: center; white-space: nowrap; }

/* Donut chart */
.sb-donut-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 0; }
.sb-donut { position: relative; width: 160px; height: 160px; margin-bottom: 20px; }
.sb-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sb-donut-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.sb-donut-center-label { font-size: 9px; color: rgba(255,255,255,0.4); letter-spacing: 1px; margin-bottom: 2px; }
.sb-donut-center-value { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.sb-legend { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.sb-legend-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.5); }
.sb-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* SkyLedger specific styles */
.sl-metrics-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid var(--rule);
}
.sl-metric {
  padding: 48px 40px; border-right: 1px solid var(--rule);
  position: relative;
}
.sl-metric:last-child { border-right: none; }
.sl-metric-n {
  font-size: 48px; font-weight: 800; letter-spacing: -2px;
  color: var(--white); line-height: 1; margin-bottom: 8px;
}
.sl-metric-n b { color: var(--lime); }
.sl-metric-l { font-size: 12px; font-weight: 500; color: var(--dim); }
.sl-metric-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

.sl-process { padding: 80px 56px; border-bottom: 1px solid var(--rule); }
.sl-process h2 {
  font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700;
  letter-spacing: -1.5px; color: #fff; margin-bottom: 56px;
}
.sl-process h2 em { color: var(--lime); font-style: italic; }
.sl-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sl-step {
  background: var(--ink); padding: 40px 32px;
  position: relative; overflow: hidden; transition: background 0.2s;
}
.sl-step:hover { background: var(--ink2); }
.sl-step-num {
  font-size: 64px; font-weight: 800; letter-spacing: -3px;
  color: rgba(168,249,0,0.08); line-height: 1;
  position: absolute; top: 16px; right: 20px;
}
.sl-step-icon {
  width: 40px; height: 40px; border: 1px solid rgba(168,249,0,0.25);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 16px;
}
.sl-step h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: -0.3px; }
.sl-step p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.sl-step-arr {
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; background: var(--ink); border: 1px solid var(--rule);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  display: flex; align-items: center; justify-content: center;
}
.sl-step:last-child .sl-step-arr { display: none; }

.sl-gst-band {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}
.sl-gst-item {
  padding: 56px 48px; border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 16px;
}
.sl-gst-item:last-child { border-right: none; }
.sl-gst-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); }
.sl-gst-title { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.sl-gst-desc { font-size: 14px; color: var(--muted); line-height: 1.75; }
.sl-gst-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--lime); border: 1px solid rgba(168,249,0,0.25);
  padding: 6px 12px; align-self: flex-start;
}

@media (max-width: 1024px) {
  .sl-metrics-band { grid-template-columns: repeat(2,1fr); }
  .sl-metric:nth-child(2) { border-right: none; }
  .sl-metric:nth-child(3) { border-top: 1px solid var(--rule); }
  .sl-steps { grid-template-columns: repeat(2,1fr); }
  .sl-step-arr { display: none; }
  .sl-gst-band { grid-template-columns: 1fr; }
  .sl-gst-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 40px 28px; }
  .sl-process { padding: 56px 28px; }
  .sl-process h2 { font-size: 32px; }
  .sb-stats-row { grid-template-columns: repeat(3,1fr); }
  .sb-charts-row { grid-template-columns: 1fr; }
  .sb-dashboard-header { grid-template-columns: 1fr; padding: 48px 28px 32px; }
  .sb-dashboard-wrap { padding: 28px 28px 48px; }
}
@media (max-width: 640px) {
  .sl-steps { grid-template-columns: 1fr; }
  .sl-metrics-band { grid-template-columns: 1fr 1fr; }
  .sl-metric { padding: 32px 20px; }
  .sb-stats-row { grid-template-columns: repeat(2,1fr); }
  .sb-itc-row { grid-template-columns: 1fr; }
}

/* ── LOGO RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-logo-img { height: 18px; }
  .footer-logo-img { height: 15px; }
}

/* ── WIDESCREEN FONT (for logo fallback reference) ──────────────── */
@font-face {
  font-family: 'WidescreenTrial-ExSemiBold';
  src: url('/fonts/WidescreenEx_Trial_SBd.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ══════════════════════════════════════════════════════════════════
   SKYBOARD — CRED-style phone mockup scene
   ══════════════════════════════════════════════════════════════════ */
.sb-phone-scene {
  background: #000;
  padding: 80px 56px 0;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}
.sb-phone-scene-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 60px; flex-shrink: 0;
}
.sb-phone-scene-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 700; letter-spacing: -2px;
  color: #fff; line-height: 1.0;
}
.sb-phone-scene-header h2 em { color: var(--lime); font-style: italic; }
.sb-phone-scene-header p {
  font-size: 15px; color: var(--muted); max-width: 340px;
  line-height: 1.75; text-align: right;
}

/* 3-phone stage */
.sb-phone-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  position: relative;
  flex: 1;
}

/* Each phone shell */
.sb-phone {
  position: relative;
  flex-shrink: 0;
}
.sb-phone-shell {
  width: 280px;
  background: #1A1A1A;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 40px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(0,0,0,0.6);
}
/* Dynamic island */
.sb-phone-island {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 30px;
  background: #000; border-radius: 20px;
  z-index: 10;
}
/* Screen content */
.sb-phone-screen {
  background: #111418;
  padding: 60px 16px 24px;
  min-height: 560px;
}

/* CENTER phone — main, upright, largest */
.sb-phone-center {
  z-index: 3;
  transform: translateY(0);
}
.sb-phone-center .sb-phone-shell { width: 300px; }
.sb-phone-center .sb-phone-screen { min-height: 600px; }

/* LEFT phone — angled back-left */
.sb-phone-left {
  z-index: 2;
  transform: translateX(60px) translateY(40px) rotate(-8deg);
  transform-origin: bottom center;
  opacity: 0.85;
}
.sb-phone-left .sb-phone-shell { width: 240px; }
.sb-phone-left .sb-phone-screen { min-height: 480px; }

/* RIGHT phone — angled back-right */
.sb-phone-right {
  z-index: 2;
  transform: translateX(-60px) translateY(40px) rotate(8deg);
  transform-origin: bottom center;
  opacity: 0.85;
}
.sb-phone-right .sb-phone-shell { width: 240px; }
.sb-phone-right .sb-phone-screen { min-height: 480px; }

/* Screen UI elements */
.sp-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding: 0 4px;
}
.sp-logo-text {
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: var(--lime); text-transform: uppercase;
}
.sp-logo-sub { font-size: 9px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }
.sp-gear {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.sp-welcome {
  font-size: 13px; font-weight: 700; color: #fff;
  margin-bottom: 2px;
}
.sp-sub { font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.sp-section-label {
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-bottom: 8px; margin-top: 16px;
}
.sp-card {
  background: #1C2028; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.sp-card-label { font-size: 10px; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.sp-card-value { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.sp-card-value.lime { color: var(--lime); }
.sp-card-value.blue { color: #5B9BF8; }
.sp-card-badge {
  font-size: 9px; font-weight: 700; padding: 3px 8px;
  border-radius: 20px; white-space: nowrap;
}
.sp-card-badge.green { background: rgba(52,211,153,0.15); color: #34D399; }
.sp-card-badge.amber { background: rgba(251,191,36,0.15); color: #FBB024; }
.sp-icon-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; margin: 14px 0;
}
.sp-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.sp-icon-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: #1C2028; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.sp-icon-circle.lime-tint { background: rgba(168,249,0,0.1); }
.sp-icon-label { font-size: 8px; color: rgba(255,255,255,0.3); }

/* Mini bar chart on side phones */
.sp-mini-chart { margin-top: 14px; }
.sp-mini-bars {
  display: flex; align-items: flex-end;
  gap: 4px; height: 56px; margin-bottom: 8px;
}
.sp-mini-bar {
  flex: 1; border-radius: 2px 2px 0 0;
  background: rgba(168,249,0,0.25);
}
.sp-mini-bar.hi { background: var(--lime); }

/* Bottom glow under phones */
.sb-phone-glow {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(168,249,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Fade to black at bottom */
.sb-phone-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  pointer-events: none; z-index: 10;
}
/* Headline below phones */
.sb-phone-tagline {
  padding: 48px 56px 64px;
  background: #000; text-align: center;
}
.sb-phone-tagline h3 {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700; letter-spacing: -1.5px;
  color: #fff; line-height: 1.05; margin-bottom: 16px;
}
.sb-phone-tagline h3 em { color: var(--lime); font-style: italic; }
.sb-phone-tagline p { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.75; }

@media (max-width: 1024px) {
  .sb-phone-left, .sb-phone-right { display: none; }
  .sb-phone-stage { justify-content: center; }
  .sb-phone-scene { padding: 56px 28px 0; min-height: 500px; }
  .sb-phone-scene-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .sb-phone-scene-header p { text-align: left; max-width: 100%; }
  .sb-phone-scene-header h2 { font-size: 38px; }
  .sb-phone-tagline { padding: 36px 28px 48px; }
  .sb-phone-tagline h3 { font-size: 32px; }
}
@media (max-width: 640px) {
  .sb-phone-center .sb-phone-shell { width: 260px; }
  .sb-phone-scene-header h2 { font-size: 30px; }
}

/* ══════════════════════════════════════════════════════════════════
   HOME — Industries image grid (CRED-style)
   ══════════════════════════════════════════════════════════════════ */
.ind-img-section {
  border-bottom: 1px solid var(--rule);
  padding: 80px 56px;
}
.ind-img-header { margin-bottom: 48px; }
.ind-img-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 700; letter-spacing: -1.5px;
  color: #fff; line-height: 1.08; margin-bottom: 14px;
}
.ind-img-header h2 em { color: var(--lime); font-style: italic; }
.ind-img-header p { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.75; }

.ind-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
}
.ind-img-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
  background: var(--ink3);
}
/* Background image */
.ind-img-tile-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.6);
  transform: scale(1.04);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.ind-img-tile:hover .ind-img-tile-bg {
  transform: scale(1.0);
  filter: brightness(0.55) saturate(0.75);
}
/* Gradient overlay — bottom heavy */
.ind-img-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,8,8,0) 30%,
    rgba(8,8,8,0.6) 65%,
    rgba(8,8,8,0.92) 100%
  );
}
/* Left lime accent */
.ind-img-tile::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--lime); opacity: 0;
  transition: opacity 0.3s; z-index: 3;
}
.ind-img-tile:hover::before { opacity: 1; }

/* Content */
.ind-img-tile-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
}
.ind-img-tile-num {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: rgba(168,249,0,0.5); margin-bottom: 6px;
}
.ind-img-tile-name {
  font-size: 18px; font-weight: 700; color: #fff;
  letter-spacing: -0.3px; line-height: 1.2;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.ind-img-tile:hover .ind-img-tile-name { color: var(--lime); }
.ind-img-tile-arr {
  font-size: 13px; color: var(--lime);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; letter-spacing: 0.5px;
}
.ind-img-tile:hover .ind-img-tile-arr {
  opacity: 1; transform: translateX(0);
}

@media (max-width: 1024px) {
  .ind-img-section { padding: 56px 28px; }
  .ind-img-grid { grid-template-columns: repeat(2,1fr); }
  .ind-img-header h2 { font-size: 34px; }
}
@media (max-width: 640px) {
  .ind-img-grid { grid-template-columns: 1fr; }
  .ind-img-section { padding: 40px 20px; }
  .ind-img-tile { aspect-ratio: 16/9; }
}
