/* ============================================================
   BC CONSULTING USA — Core Stylesheet (v2)
   Editorial-premium: serif display type, soft curvature,
   real photography with graceful degradation.
   ============================================================ */

:root{
  --navy: #0B1F3A;
  --navy-deep: #071426;
  --charcoal: #1F2937;
  --slate: #475467;
  --slate-light: #8A94A6;
  --hair: #E4E7EC;
  --bg-soft: #F7F8FA;
  --bg-warm: #F6F5F2;
  --white: #FFFFFF;
  --accent: #1D4E8F;
  --accent-dark: #12335E;
  --accent-tint: #EAF1FB;
  --accent-glow: #9FC1EE;

  --font-display: 'Fraunces', 'IBM Plex Serif', Georgia, serif;
  --font-body: 'Inter', 'IBM Plex Sans', sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 32px;
  --r-xl: 56px;
  --r-pill: 999px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.14;
}
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
button{ font-family: inherit; cursor: pointer; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px){
  .container{ padding: 0 20px; }
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Photography frames ---------- */
.photo-frame{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 20% 10%, #163A66 0%, var(--navy) 55%, var(--navy-deep) 100%);
  border-radius: var(--r-lg);
}
.photo-frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.photo-fallback-mark{
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 8%, 46px);
  font-weight: 600;
  color: rgba(255,255,255,.22);
  letter-spacing: 0.04em;
}
.photo-frame.photo-fallback .photo-fallback-mark{ display:flex; }
.photo-frame.photo-fallback::after{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(60% 60% at 15% 15%, rgba(159,193,238,.16), transparent 60%),
    radial-gradient(50% 50% at 85% 85%, rgba(159,193,238,.10), transparent 60%);
}
.photo-frame:hover img{ transform: scale(1.04); }
.photo-scrim{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,20,38,.15) 0%, rgba(7,20,38,.55) 70%, rgba(7,20,38,.82) 100%);
}
.photo-scrim-soft{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(7,20,38,.88) 0%, rgba(7,20,38,.05) 60%);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover{ background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(11,31,58,.45); }
.btn-outline{
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-dark{
  border-color: var(--hair);
  color: var(--navy);
}
.btn-outline-dark:hover{ background: var(--bg-soft); border-color: var(--slate-light); }
.btn-arrow{ transition: transform .28s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(3px); }

/* ---------- Header ---------- */
#site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 999;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding .3s var(--ease);
}
.nav-logo{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  display:flex;
  align-items:center;
  gap:11px;
}
.nav-logo .mark{
  width: 32px; height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 9px;
  display:flex; align-items:center; justify-content:center;
  font-size: 13px; font-weight: 700;
  font-family: var(--font-body);
}
.nav-links{
  display:flex;
  gap: 40px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  opacity: .92;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; right:100%; bottom:0;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-right{ display:flex; align-items:center; gap:22px; }

#site-header.on-dark{ color: var(--white); background: transparent; border-bottom: 1px solid rgba(255,255,255,.14); }
#site-header.on-light{
  color: var(--navy);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 1px 0 rgba(11,31,58,.02);
}
#site-header.on-light .nav-inner{ padding: 16px 32px; }
#site-header.on-light .btn-outline{ border-color: var(--navy); color: var(--navy); }
#site-header.on-light .btn-outline:hover{ background: var(--bg-soft); }

.mobile-toggle{ display:none; background:none; border:none; color: inherit; }
.mobile-panel{
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy);
  color: var(--white);
  display:none;
  flex-direction: column;
  padding: 28px 28px;
}
.mobile-panel.open{ display:flex; }
.mobile-panel a{ font-size: 22px; font-family: var(--font-display); font-weight: 600; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-right .btn{ display:none; }
  .mobile-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg.photo-frame{ border-radius:0; }
.hero-content{
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 100px;
  width: 100%;
}
.hero-content .eyebrow{ color: var(--accent-glow); }
.hero h1{
  color: var(--white);
  font-size: clamp(36px, 5.4vw, 68px);
  max-width: 920px;
  margin-top: 20px;
  font-weight: 600;
}
.hero-sub{
  margin-top: 24px;
  max-width: 600px;
  font-size: 17.5px;
  color: rgba(255,255,255,.84);
  line-height: 1.75;
  font-family: var(--font-body);
}
.hero-actions{ display:flex; gap:16px; margin-top: 40px; flex-wrap: wrap; }

.page-hero{
  background: var(--navy);
  color: var(--white);
  padding: 210px 0 100px;
  position: relative;
  overflow:hidden;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.page-hero.has-photo{ padding-bottom: 130px; }
.page-hero h1{ color:var(--white); font-size: clamp(34px, 4.6vw, 54px); max-width: 800px; font-weight:600; }
.page-hero p{ color: rgba(255,255,255,.8); max-width: 640px; margin-top: 20px; font-size: 17px; line-height: 1.75; font-family: var(--font-body); }

/* ---------- Sections ---------- */
section{ padding: 116px 0; }
@media (max-width: 768px){ section{ padding: 76px 0; } }
.section-soft{ background: var(--bg-soft); }
.section-navy{ background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3{ color: var(--white); }

.section-head{ max-width: 660px; margin-bottom: 58px; }
.section-head h2{ font-size: clamp(28px, 3.2vw, 42px); margin-top: 16px; }
.section-head p{ margin-top: 18px; color: var(--slate); font-size: 16.5px; line-height: 1.75; }
.section-navy .section-head p{ color: rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.grid{ display:grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 36px 32px;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 54px -24px rgba(11,31,58,.2);
  border-color: rgba(11,31,58,.14);
}
.card .icon-badge{
  width: 46px; height:46px;
  border-radius: 13px;
  border: 1px solid var(--hair);
  display:flex; align-items:center; justify-content:center;
  color: var(--accent);
  margin-bottom: 24px;
  background: var(--bg-soft);
}
.card h3{ font-size: 19px; margin-bottom: 12px; font-weight:600; }
.card p{ color: var(--slate); font-size: 14.5px; line-height: 1.7; }
.card .card-link{ margin-top: 18px; display:inline-flex; align-items:center; gap:8px; font-size: 13.5px; font-weight:600; color: var(--accent); }

/* Industry photo tile */
.industry-tile{
  position: relative;
  display:block;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  color: var(--white);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.industry-tile:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(11,31,58,.4); }
.industry-tile .photo-frame{ position:absolute; inset:0; border-radius:0; }
.industry-tile .tile-body{
  position: relative; z-index: 2;
  height: 100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 28px;
}
.industry-tile .tile-body .eyebrow{ color: var(--accent-glow); }
.industry-tile .tile-body h3{ color: var(--white); font-size: 21px; margin-top: 10px; font-weight:600; }
.industry-tile .tile-arrow{
  margin-top: 14px; font-size: 13px; font-weight:600; color: rgba(255,255,255,.75);
  display:inline-flex; align-items:center; gap:7px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.industry-tile:hover .tile-arrow{ gap: 11px; color: var(--white); }

/* Small utility tags used on featured/article headers */
.insight-cat{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--accent); background: var(--accent-tint); padding: 6px 12px; border-radius: var(--r-pill);
}
.insight-meta{ display:flex; gap:14px; font-size:12.5px; color: var(--slate-light); }

/* Editorial insight row (text-led, no imagery) */
.insight-row{
  display:grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--hair);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.insight-row:hover{ padding-left: 10px; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.insight-row .row-cat{ font-size: 12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--accent); }
.insight-row h3{ font-size: 20px; font-weight:600; line-height:1.4; }
.insight-row .row-meta{ font-size:12.5px; color: var(--slate-light); white-space:nowrap; text-align:right; }
.insight-row .row-summary{ color: var(--slate); font-size:14.5px; margin-top:8px; line-height:1.65; max-width:640px; }
@media (max-width: 700px){
  .insight-row{ grid-template-columns: 1fr; gap:8px; }
  .insight-row .row-meta{ text-align:left; }
}

/* Featured insight (large real photo) */
.featured-article{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 0 0 56px;
}
@media (max-width: 900px){ .featured-article{ grid-template-columns:1fr; } }
.featured-visual{ aspect-ratio: 4/3.1; border-radius: var(--r-lg); overflow:hidden; }

/* Pillar */
.pillar{ text-align:left; }
.pillar .num{ font-family:var(--font-display); font-size:14px; color:var(--accent-glow); font-weight:600; }
.pillar h3{ margin-top:16px; font-size:20px; font-weight:600; }
.pillar p{ margin-top:10px; color:var(--slate); font-size:14.5px; line-height:1.7; }
.section-navy .pillar p{ color: rgba(255,255,255,.72); }

/* ---------- Stats bar ---------- */
.stat{ text-align:left; border-left: 2px solid var(--accent-glow); padding-left:22px; }
.stat .num{ font-family:var(--font-display); font-size:42px; font-weight:600; color:var(--navy); }
.stat .lbl{ color:var(--slate); font-size:13.5px; margin-top:6px; }
.section-navy .stat .num{ color: var(--white); }
.section-navy .stat .lbl{ color: rgba(255,255,255,.68); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--navy);
  color: var(--white);
  padding: 90px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.cta-banner h2{ color:var(--white); font-size: clamp(28px,3.6vw,42px); max-width:720px; margin: 0 auto; font-weight:600; }
.cta-banner .btn{ margin-top:36px; }
.cta-banner::before{
  content:'';
  position:absolute; width:640px; height:640px; border-radius:50%;
  background: radial-gradient(circle, rgba(159,193,238,.14), transparent 70%);
  top:-320px; right:-200px;
}

/* ---------- Footer ---------- */
#site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,.72);
  padding: 80px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns: repeat(2,1fr); } }
.footer-grid h4{ color:var(--white); font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; font-family: var(--font-body); font-weight:600; }
.footer-grid ul{ list-style:none; margin:0; padding:0; }
.footer-grid li{ margin-bottom:12px; font-size:14px; }
.footer-grid a:hover{ color:var(--white); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:13px; flex-wrap:wrap; gap:16px; }
.social-row{ display:flex; gap:14px; }
.social-row a{ width:36px; height:36px; border:1px solid rgba(255,255,255,.2); border-radius:50%; display:flex; align-items:center; justify-content:center; transition: all .25s; }
.social-row a:hover{ background: rgba(255,255,255,.1); }
.newsletter-form{ display:flex; margin-top:14px; border-bottom:1px solid rgba(255,255,255,.3); padding-bottom:8px; }
.newsletter-form input{ background:none; border:none; color:var(--white); font-size:14px; flex:1; padding:6px 0; }
.newsletter-form input::placeholder{ color: rgba(255,255,255,.45); }
.newsletter-form button{ background:none; border:none; color:var(--white); }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Breadcrumb / small ---------- */
.crumb{ font-size:13px; color: rgba(255,255,255,.65); }
.crumb a:hover{ color: var(--white); }

/* ---------- Forms ---------- */
.field{ margin-bottom: 22px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding: 14px 16px; border:1px solid var(--hair); border-radius:var(--r-sm);
  font-family: var(--font-body); font-size:14.5px; color: var(--charcoal); background: var(--white);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--accent); }
.field textarea{ resize: vertical; min-height: 130px; }

/* ---------- Utility ---------- */
.mt-8{margin-top:8px;} .mt-12{margin-top:12px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;} .mt-48{margin-top:48px;}
.flex{ display:flex; } .items-center{align-items:center;} .justify-between{justify-content:space-between;} .gap-12{gap:12px;} .gap-20{gap:20px;}
.text-center{ text-align:center; }
.divider{ height:1px; background: var(--hair); border:none; margin: 0; }
.small-caps{ font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color: var(--accent); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior:auto; }
}
