/* ============================================================
   EXPRESS HR SOLUTIONS — styles.css
   Sections: Tokens → Reset → Typography → Buttons →
             Layout Utilities → (Nav, Hero, etc. added per step)
   ============================================================ */


/* === 1. DESIGN TOKENS === */
:root {
  /* Colours — Theme C: Carbon + Ember */
  --orange:       #F47920;
  --orange-tint:  rgba(244, 121, 32, 0.10);
  --navy:         #1A1918;   /* surface-2: footer, stat blocks, elevated cards */
  --bg-light:     #111110;   /* surface-1: alternating sections */
  --bg-white:     #080807;   /* base background */
  --text-dark:    #EDEBE6;   /* primary text (warm off-white) */
  --text-light:   #EDEBE6;   /* same — used on dark surfaces */
  --text-muted:   rgba(237, 235, 230, 0.50);
  --border:       rgba(244, 121, 32, 0.12);  /* orange-tinted borders */

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-py:      clamp(64px, 8vw, 120px);
  --container-max:   1200px;
  --container-px:    clamp(20px, 5vw, 48px);

  /* Motion */
  --transition: 200ms ease;
}


/* === 2. RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Lenis handles smooth scroll — keep this auto */
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
}


/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 800; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 600; }

p {
  line-height: 1.7;
  font-size: 16px;
}


/* === 4. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--primary:hover {
  background: #d9681a;
  border-color: #d9681a;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(244, 121, 32, 0.45);
}
.btn--ghost:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
}


/* === 5. LAYOUT UTILITIES === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

section {
  padding: var(--section-py) 0;
}


/* === 6. SECTION TITLE (shared) === */
.section-title {
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 64px;
}

.section-title--left {
  text-align: left;
}

/* Eyebrow label — small orange uppercase text above section headings */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}


/* === 7. SCROLL ANCHOR OFFSET ===
   Prevents fixed nav (72px) from covering section headings
   when an anchor link is clicked. ========================= */
[id] {
  scroll-margin-top: 80px;
}


/* === 8. OVERFLOW SAFETY ===
   Prevents horizontal scroll on mobile caused by
   elements animating in from off-screen. ================= */
body {
  overflow-x: hidden;
}


/* === 9. REDUCED MOTION — CSS CATCH-ALL ===
   GSAP animations are already gated in JS.
   This handles any CSS transitions/animations
   not covered there. ==================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   TESTIMONIAL
   ============================================================ */

.testimonial {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.testimonial__icon {
  font-size: 64px;
  color: var(--orange);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -16px; /* pull quote closer to icon */
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.testimonial__attr {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Short orange divider between name and company */
.testimonial__attr::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial__company {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   CONTACT (Step 9)
   ============================================================ */

.contact {
  background: var(--orange);
}

.contact__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__input {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow var(--transition);
  appearance: none;
}

.contact__input::placeholder {
  color: var(--text-muted);
}

.contact__input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.contact__textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.contact__submit {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
  align-self: flex-start;
  margin-top: 4px;
}

.contact__submit:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

/* Right column — contact details */
.contact__right {
  padding-top: 88px; /* aligns roughly with form fields */
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.contact__detail-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.65);
}

/* Mobile */
@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__right {
    padding-top: 0;
  }
}

/* ============================================================
   CAREERS (Step 9)
   ============================================================ */

.careers {
  background: var(--bg-light);
  border-top: 4px solid var(--orange);
}

.careers__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.careers__title {
  font-size: clamp(22px, 2.5vw, 34px);
  color: var(--text-dark);
  margin-bottom: 14px;
}

.careers__sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ============================================================
   FOOTER (Step 9)
   ============================================================ */

.footer {
  background: var(--navy);
  padding-top: var(--section-py);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(232, 238, 244, 0.45);
  line-height: 1.65;
  max-width: 220px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: rgba(232, 238, 244, 0.55);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--orange);
}

.footer__contact-item {
  font-size: 14px;
  color: rgba(232, 238, 244, 0.55);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer__copy {
  font-size: 13px;
  color: rgba(232, 238, 244, 0.35);
  text-align: center;
}

/* Tablet */
@media (max-width: 900px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================================
   STATS (Step 8)
   ============================================================ */

.stats {
  background: var(--navy);
  overflow: hidden;
}

.stats__top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.stats__intro .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.stats__title {
  color: #fff;
  margin-bottom: 20px;
}

.stats__lead {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 0;
}

.stats__metrics {
  margin-top: 84px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 24px;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.stats__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats__item--badge .stats__num {
  color: #fff;
}

.stats__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.55;
  line-height: 1.4;
}

/* India map */
.stats__map {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.stats__map-img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.07;
}

/* lit "active coverage" states layered over the faint base map */
.stats__map-active {
  position: absolute;
  inset: 0;
  opacity: 0.34;
}

.stats__map-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* density scatter — representative sites within active states */
.map-amb {
  fill: var(--orange);
  opacity: 0.5;
  filter: drop-shadow(0 0 3px rgba(244, 121, 32, 0.55));
}

.map-core {
  fill: var(--orange);
  filter: drop-shadow(0 0 5px rgba(244, 121, 32, 0.9));
}

.map-core--hq {
  fill: #fff;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.85));
}

.map-ring {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  opacity: 0.85;
}

.map-pulse {
  fill: var(--orange);
  animation: mapPulse 3s ease-out infinite;
  animation-delay: var(--d, 0s);
}

.map-pulse--hq {
  animation-duration: 2.4s;
}

@keyframes mapPulse {
  0%   { r: 6px;  opacity: 0.55; }
  70%  { opacity: 0; }
  100% { r: 38px; opacity: 0; }
}

.stats__map-legend {
  position: absolute;
  bottom: 4px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.stats__map-legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stats__map-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(244, 121, 32, 0.8);
}

.stats__map-legend-dot--hq {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.stats__map-legend-swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: rgba(244, 121, 32, 0.32);
}

/* Tablet / mobile: stack */
@media (max-width: 860px) {
  .stats__top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats__intro {
    text-align: center;
  }

  .stats__lead {
    margin-inline: auto;
  }

  .stats__metrics {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 56px;
    padding-top: 44px;
    gap: 36px 24px;
  }
}

@media (max-width: 520px) {
  .stats__metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pulse {
    animation: none;
    opacity: 0;
  }
}

/* ============================================================
   INDUSTRIES (Step 7)
   ============================================================ */

.industries {
  background: var(--bg-light);
}

.industries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: default;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.industry-tag i {
  font-size: 17px;
  color: var(--orange);
  flex-shrink: 0;
  transition: color var(--transition);
}

.industry-tag:hover {
  background: rgba(244, 121, 32, 0.15);
  border-color: var(--orange);
  color: var(--orange);
}

.industry-tag:hover i {
  color: var(--orange);
}

/* ============================================================
   SERVICES (Step 6)
   ============================================================ */

.services {
  background-color: var(--bg-white);
  background-image:
    linear-gradient(135deg, rgba(8, 8, 7, 0.94) 0%, rgba(8, 8, 7, 0.80) 50%, rgba(8, 8, 7, 0.94) 100%),
    url('../assets/images/Walking.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-left-color: var(--orange);
  background: var(--navy);
}

.service-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  opacity: 0.45;
  margin-bottom: 20px;
}

.service-card__icon {
  font-size: 30px;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

.service-card__name {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT (Step 5)
   ============================================================ */

.about {
  background: var(--bg-light);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

/* Left column */
.about__title {
  color: var(--text-dark);
  margin-bottom: 24px;
}

.about__body {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.75;
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__point {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  line-height: 1.55;
}

/* Full-height portrait visual with stats overlay */
.about__visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 520px;
}

.about__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradient + stats overlaid at bottom of image */
.about__visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top,
    rgba(26, 25, 24, 1.00) 0%,
    rgba(26, 25, 24, 0.92) 40%,
    rgba(26, 25, 24, 0.00) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 56px 0 0;
}

.about__stat {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.about__stat:nth-child(even) {
  border-right: none;
}

.about__stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.about__stat-plus {
  font-size: 0.65em;
  vertical-align: super;
}

.about__stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.65;
  line-height: 1.4;
}

/* Mobile */
@media (max-width: 900px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   TRUST BAR (Step 4)
   ============================================================ */

.trust-bar {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trust-bar__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.trust-bar__track-wrap {
  overflow: hidden;
  /* Fade edges for a polished look */
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trust-bar__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: trust-scroll 28s linear infinite;
}

.trust-bar__track:hover {
  animation-play-state: paused;
}

/* Text-based placeholder logos — replace inner content with <img> when real logos arrive */
.trust-bar__logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  opacity: 0.45;
  white-space: nowrap;
  transition: opacity var(--transition);
  /* When real <img> logos are used, set height: 28px; width: auto; filter: grayscale(1); */
}

.trust-bar__logo:hover {
  opacity: 0.85;
}

/* Scrolls exactly 50% — the duplicate set snaps back seamlessly */
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect reduced motion — static display */
@media (prefers-reduced-motion: reduce) {
  .trust-bar__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

/* ============================================================
   HERO (Step 3)
   ============================================================ */

.hero {
  background-color: var(--navy); /* fallback if image fails to load */
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* Photo layer — slow cinematic drift (Ken Burns) toward the supervisor */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../assets/images/hero-bg.jpg') center / cover no-repeat;
  transform-origin: 70% 60%;
  animation: heroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}

/* Overlay layer — gradients + dot-grid sit above the photo, below the content */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    /* 1. Dot-grid texture — very subtle */
    radial-gradient(circle, rgba(244, 121, 32, 0.13) 1px, transparent 1px),
    /* 2. Top darkening — keeps the nav legible over the bright haze */
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%),
    /* 3. Left-heavy overlay — dark behind the headline, clearing toward the dramatic right */
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 40%, rgba(0, 0, 0, 0.20) 72%, rgba(0, 0, 0, 0.05) 100%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  background-position: 0 0, center, center;
  background-repeat: repeat, no-repeat, no-repeat;
}

@keyframes heroDrift {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
    transform: scale(1.04);
  }
}

.hero__container {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 760px;
}

.hero__logo {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.hero__title {
  color: #fff;
  margin-bottom: 28px;
  /* Each word wrapped in a span for GSAP — overflow hidden on wrapper clips the reveal */
}

/* Word-split wrapper — added by JS */
.hero__word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.26em; /* sole word-gap — no space chars in HTML */
}

/* Last word per line shouldn't have trailing gap before <br> */
.hero__word-wrap:last-of-type {
  margin-right: 0;
}

.hero__word {
  display: inline-block;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(232, 238, 244, 0.75);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
  color: rgba(232, 238, 244, 0.5);
}

.hero__stats-dot {
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   NAV (Step 2)
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: var(--bg-light);
  box-shadow: 0 1px 0 var(--border);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav__brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--orange);
}

/* When nav has white background, links go dark */
.nav--scrolled .nav__link {
  color: var(--text-dark);
}

.nav--scrolled .nav__brand-name {
  color: var(--text-dark);
}

.nav--scrolled .nav__link:hover {
  color: var(--orange);
}

.nav__cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* Hamburger button */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}

.nav--scrolled .nav__burger span {
  background: var(--text-dark);
}

/* Burger → X animation when open */
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav__overlay.is-open {
  display: flex;
}

.nav__overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.nav__overlay-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800;
  color: #fff;
  transition: color var(--transition);
}

.nav__overlay-link:hover {
  color: var(--orange);
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

/* ============================================================
   BLOG — shared card component
   ============================================================ */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.25s ease;
  min-width: 0;
}
.blog-card:hover { border-color: rgba(244,121,32,0.35); }

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #1c1a18 0%, #252220 100%);
}
.blog-card__body { padding: 22px 24px 28px; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-card__cat {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(244,121,32,0.10);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.blog-card__date { font-size: 12px; color: var(--text-muted); }
.blog-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card__excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.blog-card__link {
  font-size: 13px;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   BLOG — homepage carousel section
   ============================================================ */
.blog-section {
  background: var(--bg-light);
  padding: 96px 0;
}
.blog-section .container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.blog-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-section__foot { margin-top: 48px; }
.blog-section .section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 52px;
  max-width: 480px;
}

/* ============================================================
   BLOG — /blog listing page
   ============================================================ */
.blog-listing { background: var(--bg-white); padding: 80px 0; }
.blog-listing .container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.blog-listing__header { margin-bottom: 48px; }
.blog-listing__title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.1;
}
.blog-listing__desc { color: var(--text-muted); font-size: 15px; max-width: 520px; }

.blog-filters { display: flex; gap: 8px; margin-bottom: 44px; flex-wrap: wrap; }
.filter-pill {
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s, color 0.2s;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(244,121,32,0.08);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ============================================================
   BLOG — individual post page
   ============================================================ */
.post-page { background: var(--bg-white); padding: 80px 0; }
.post-page .post-inner { max-width: 760px; margin: 0 auto; padding: 0 48px; }

.post-breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 40px; }
.post-breadcrumb a { color: var(--orange); text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }

.post-cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.post-cat::before { content: ''; width: 32px; height: 1px; background: var(--orange); }

.post-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 28px;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.post-author { display: flex; align-items: center; gap: 10px; }
.post-author__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244,121,32,0.18);
  border: 1px solid rgba(244,121,32,0.30);
  flex-shrink: 0;
}
.post-author__name { font-size: 13px; font-weight: 600; color: var(--text-light); }
.post-author__role { font-size: 11px; color: var(--text-muted); }
.post-date {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.post-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #1c1a18 0%, #252220 100%);
}

.post-body p { font-size: 16px; line-height: 1.85; color: rgba(237,235,230,0.82); margin-bottom: 22px; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  margin: 44px 0 16px;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-light);
  margin: 32px 0 12px;
}
.post-body ul, .post-body ol {
  padding-left: 24px;
  margin-bottom: 22px;
  color: rgba(237,235,230,0.82);
  font-size: 16px;
  line-height: 1.8;
}
.post-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 14px 24px;
  margin: 36px 0;
  background: rgba(244,121,32,0.04);
}
.post-body blockquote p {
  font-size: 17px;
  font-style: italic;
  color: var(--text-light);
  margin: 0;
}
.post-body a { color: var(--orange); }
.post-body img { width: 100%; height: auto; margin: 24px 0; }

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: 56px;
  letter-spacing: 0.04em;
}

/* ============================================================
   BLOG — btn--outline (used in homepage carousel footer)
   ============================================================ */
.btn--outline {
  border: 1px solid rgba(244,121,32,0.4);
  color: var(--orange);
  background: transparent;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn--outline:hover {
  border-color: var(--orange);
  background: rgba(244,121,32,0.08);
}

/* ============================================================
   BLOG — mobile responsive
   ============================================================ */
@media (max-width: 768px) {
  /* Homepage blog section */
  .blog-section { padding: 72px 0; }
  .blog-section .container { padding: 0; }
  .blog-section .eyebrow,
  .blog-section .section-title,
  .blog-section .section-subtitle,
  .blog-section__foot { padding: 0 24px; }
  .blog-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 4px 24px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .blog-carousel::-webkit-scrollbar { display: none; }
  .blog-carousel .blog-card {
    flex: 0 0 80vw;
    scroll-snap-align: start;
  }

  /* Blog listing page */
  .blog-listing { padding: 64px 0; }
  .blog-listing .container { padding: 0; }
  .blog-listing__header,
  .blog-filters { padding: 0 24px; }
  .blog-listing__title { font-size: 36px; }
  .blog-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 4px 24px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-grid .blog-card {
    flex: 0 0 80vw;
    scroll-snap-align: start;
  }

  /* Post page */
  .post-page .post-inner { padding: 0 24px; }
  .post-title { font-size: 30px; }
  .post-featured-img { height: 220px; }
  .post-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .post-date { padding-left: 0; border-left: none; }
  .post-body h2 { font-size: 22px; }
  .post-body p { font-size: 15px; }
}
