/* =====================================================================
   Bluestrive LLC — V2 stylesheet
   Palette: Navy #1F3864 · Gold #C9A84C · White #FFFFFF · Light Grey #F2F2F2
   Font:    Arial
   ===================================================================== */

:root {
  --navy:       #1F3864;
  --navy-deep:  #15264A;
  --navy-dark:  #0a1628;
  --gold:       #C9A84C;
  --gold-soft:  #d8b85a;
  --white:      #FFFFFF;
  --grey-light: #F2F2F2;
  --grey-mid:   #D9D9D9;
  --text:       #1A1A1A;
  --text-soft:  #555555;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===========  NAV  =========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.scrolled,
.nav--solid {
  background: var(--white);
  padding: 14px 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav__logo { height: 38px; transition: opacity .3s ease; }
.nav__logo--white { display: block; }
.nav__logo--dark  { display: none; }
.nav.scrolled .nav__logo--white,
.nav--solid .nav__logo--white { display: none; }
.nav.scrolled .nav__logo--dark,
.nav--solid .nav__logo--dark  { display: block; }

.nav__links {
  display: flex;
  gap: 38px;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.nav__links a:hover           { border-bottom-color: var(--gold); }
.nav__links a.active          { border-bottom-color: var(--gold); }
.nav.scrolled .nav__links a,
.nav--solid .nav__links a     { color: var(--navy); }

/* ===========  HOME HERO (cross-fade, banner)  =========== */
.hero {
  position: relative;
  height: 42vh;
  min-height: 380px;
  overflow: hidden;
  color: var(--white);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 36s infinite;
}
.hero__slide:nth-child(1) { animation-delay:  0s; background-image: url('images/hero/01-robotics.jpg'); }
.hero__slide:nth-child(2) { animation-delay:  6s; background-image: url('images/hero/02-manufacturing.jpg'); }
.hero__slide:nth-child(3) { animation-delay: 12s; background-image: url('images/hero/03-boardroom.jpg'); }
.hero__slide:nth-child(4) { animation-delay: 18s; background-image: url('images/hero/04-ai-sales.jpg'); }
.hero__slide:nth-child(5) { animation-delay: 24s; background-image: url('images/hero/05-workforce.jpg'); }
.hero__slide:nth-child(6) { animation-delay: 30s; background-image: url('images/hero/06-global.jpg'); }

@keyframes heroFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  17%  { opacity: 1; }
  20%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,38,74,0.55) 0%, rgba(21,38,74,0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  max-width: 1400px;
  margin: 0 auto;
}
.hero__brand {
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 18px;
}
.hero__brand .accent { color: var(--gold); }
.hero__headline {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 500;
  max-width: 40ch;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.96);
}
.hero__sub {
  font-size: clamp(14px, 1.1vw, 17px);
  max-width: 50ch;
  color: rgba(255,255,255,0.82);
  font-style: italic;
}

/* ===========  INNER PAGE HERO (Topics / About / Contact)  =========== */
.page-hero {
  position: relative;
  padding: 180px 8% 90px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.page-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 22ch;
}
.page-hero__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 70ch;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ===========  TAGLINE STRIP  =========== */
.tagline {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 36px 24px;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-transform: uppercase;
}
.tagline span { color: var(--gold); margin: 0 14px; }

/* ===========  GENERIC SECTIONS  =========== */
.section {
  padding: 70px 8%;
  max-width: 1400px;
  margin: 0 auto;
}
.section--tight { padding: 45px 8%; }
.section--grey  { background: var(--grey-light); max-width: none; padding-left: 0; padding-right: 0; }
.section--grey > .section__inner { max-width: 1400px; margin: 0 auto; padding: 0 8%; }
.section--navy  { background: var(--navy); color: var(--white); max-width: none; padding-left: 0; padding-right: 0; }
.section--navy > .section__inner { max-width: 1400px; margin: 0 auto; padding: 0 8%; }
.section--navy .section__title  { color: var(--white); }
.section--navy .section__lead   { color: rgba(255,255,255,0.78); }

.section__eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  max-width: 22ch;
  margin-bottom: 18px;
}
.section__lead {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 70ch;
  margin-bottom: 36px;
  line-height: 1.6;
}
.section__lead--wide { max-width: none; }

/* ===========  SECTOR STRIP (Home — "Where we engage")  =========== */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.sector-card {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--grey-light);
}
.sector-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sector-card:hover img { transform: scale(1.06); }
.sector-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,38,74,0.0) 35%, rgba(21,38,74,0.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
}
.sector-card__label {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

/* ===========  AREAS OF FOCUS TILES (Home teaser — small 3:2 to match sectors)  =========== */
.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.topics__tile {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--grey-light);
  cursor: pointer;
}
.topics__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.topics__tile:hover img { transform: scale(1.06); }
.topics__tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,56,100,0) 30%, rgba(21,38,74,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  color: var(--white);
}
.topics__tile-cat {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.topics__tile-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.topics__tile--all {
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 30px;
}
.topics__tile--all .topics__tile-cat   { margin-bottom: 14px; }
.topics__tile--all .topics__tile-title { font-size: 22px; line-height: 1.3; color: var(--white); }
.topics__cta-row { margin-top: 50px; text-align: center; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
}
.btn-link:hover { color: var(--gold); }
.btn-link--light { color: var(--white); }
.btn-link--light:hover { color: var(--gold); }

/* ===========  TOPIC ROW (Topics page detail)  =========== */
.topic-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 90px 0;
  scroll-margin-top: 90px;
  border-bottom: 1px solid var(--grey-mid);
}
.topic-row:last-of-type { border-bottom: none; }
.topic-row--reverse { direction: rtl; }
.topic-row--reverse > * { direction: ltr; }

.topic-row__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-light);
}
.topic-row__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.topic-row__num {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.topic-row__title {
  font-size: clamp(24px, 2.4vw, 34px);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
}
.topic-row__body p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ===========  FIRM STATEMENT (Home)  =========== */
.firm { background: var(--grey-light); }
.firm__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.firm__title {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}
.firm__title em { color: var(--gold); font-style: normal; }
.firm__body p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.7;
}
.firm__signature {
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.firm__signature strong { color: var(--navy); }
.firm__signature a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ===========  ABOUT — bio + photo  =========== */
.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.bio-photo {
  position: relative;
}
.bio-photo::before {
  content: "";
  position: absolute;
  top: -14px; left: -14px;
  right: 14px; bottom: 14px;
  border: 2px solid var(--gold);
  z-index: 0;
}
.bio-photo__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  background: var(--grey-light);
  overflow: hidden;
}
.bio-photo__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bio-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 18px;
}
.pull-quote {
  margin-top: 28px;
  padding: 20px 26px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  font-size: 18px;
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
}

/* ===========  SERVICE CARDS (Three modes — navy on dark)  =========== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-top: 3px solid var(--gold);
  padding: 24px 22px 22px;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
  isolation: isolate;
}
/* Subtle gold corner triangle, revealed on hover */
.service-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--gold) transparent transparent;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
  box-shadow: 0 18px 40px rgba(10,22,40,0.35);
  transform: translateY(-4px);
}
.service-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.service-card__num {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 6px;
}
.service-card__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold);
  position: relative;
}
.service-card__sub::after {
  content: "";
  position: absolute;
  right: 0; bottom: -1px;
  height: 1px;
  width: 60%;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.service-card ul { list-style: none; }
.service-card ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
  padding: 7px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.service-card ul li + li {
  border-top: 1px solid rgba(255,255,255,0.10);
}
.service-card ul li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===========  DOMAIN GRID (About)  =========== */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.domain-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background .2s, border-color .2s;
}
.domain-item:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.5);
}
.domain-item__icon { font-size: 18px; flex-shrink: 0; }
.domain-item__label {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
}
.geo-line {
  text-align: center;
  margin-top: 50px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ===========  CONTACT  =========== */
.contact-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 60px 0 50px;
}
.contact-item {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
}
.contact-item__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-item__value {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
}
.contact-item__value a:hover { color: var(--gold); }

.contact-note {
  font-size: 14px;
  color: var(--text-soft);
  font-style: italic;
  margin-top: 30px;
}

/* ===========  FOOTER  =========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 60px 8% 40px;
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__logo { height: 42px; margin-bottom: 18px; }
.footer__tag {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  max-width: 38ch;
  line-height: 1.6;
}
.footer__col h4 {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col p,
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  display: block;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  max-width: 1400px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

/* ===========  RESPONSIVE  =========== */
@media (max-width: 900px) {
  .nav { padding: 18px 24px; }
  .nav.scrolled, .nav--solid { padding: 12px 24px; }
  .nav__links { gap: 18px; font-size: 11px; }
  .hero__content { padding: 0 8%; }
  .sectors { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .topics { grid-template-columns: 1fr; }
  .topic-row { grid-template-columns: 1fr; gap: 36px; padding: 60px 0; }
  .topic-row--reverse { direction: ltr; }
  .firm__inner { grid-template-columns: 1fr; gap: 36px; padding: 70px 8%; }
  .bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .bio-photo { max-width: 280px; }
  .services { grid-template-columns: 1fr; gap: 18px; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-block { grid-template-columns: 1fr; gap: 18px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .section { padding: 80px 8%; }
  .page-hero { padding: 130px 8% 70px; }
}
