/* ==========================================================================
   Business Bonds – Consulting website
   Converted from Figma (desktop frame 1200px) with responsive behaviour
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-mono-latin.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --navy: #0b1f3a;
  --red: #a6252b;
  --red-bright: #d13a40;
  --text: #404956;
  --muted: #586578;
  --line: #ddd9cf;
  --sand: #e6e1d6;
  --bg: #f5f3ee;
  --white: #fff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-nav: "Poppins", var(--font);
  --font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 3.2vw, 48px);
  --section-y: clamp(44px, 5.2vw, 72px);
  --radius-pill: 100px;
  --header-h: 70px;

  /* Fluid type scale (rem-based so it respects user zoom). Minimums follow UI/UX
     guidance: body >= 16px, secondary >= 15px, captions/labels >= 13px. */
  --fs-xs: clamp(0.8125rem, 0.77rem + 0.12vw, 0.9375rem);   /* 13 -> 15  captions, eyebrows, errors, legal */
  --fs-sm: clamp(0.9375rem, 0.88rem + 0.18vw, 1.0625rem);   /* 15 -> 17  secondary copy, labels, nav, buttons */
  --fs-base: clamp(1rem, 0.93rem + 0.25vw, 1.25rem);        /* 16 -> 20  body copy */
  --fs-md: clamp(1.125rem, 1.02rem + 0.3vw, 1.4375rem);     /* 18 -> 23  small headings (h3) */
  --fs-lg: clamp(1.25rem, 1.05rem + 0.55vw, 1.75rem);       /* 20 -> 28  card titles */
  --fs-h2: clamp(1.875rem, 1.2rem + 2.2vw, 3.5rem);         /* 30 -> 56  section headings */
  --fs-h1: clamp(2.125rem, min(1.3rem + 3.6vw, 9.2svh), 5.25rem); /* 34 -> 84  hero (also height-aware) */
  /* content width: 1200px design width, grows gently on large monitors */
  --container: clamp(1200px, 92vw, 1920px);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

address { font-style: normal; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography helpers ---------- */
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--navy);
}
.h2--light { font-weight: 300; }
.h2--medium { font-weight: 500; }
.h2--white { color: #fff; }

.accent { color: var(--red); }
.accent-navy { color: var(--navy); }
.accent-bright { color: var(--red-bright); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: var(--fs-xs);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
}
.eyebrow__rule {
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--red);
}
.eyebrow--light { color: #f5f3ee; }
.eyebrow--light .eyebrow__rule { background: #fff; }
.eyebrow--navy { color: var(--navy); }
.eyebrow--hero {
  gap: 10px;
  margin-bottom: 26px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.eyebrow--hero .eyebrow__rule { width: 26px; background: var(--red-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  height: 56px;
  padding: 0 8px 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, opacity 0.15s ease;
}
/* Figma "Consultation action" states: Default → Hover (red fill, soft shadow, arrow nudges 2px) → Pressed (82% opacity) */
.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}
.btn__icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("../icons/arrow-up-right-red.svg") center / contain no-repeat;
  mask: url("../icons/arrow-up-right-red.svg") center / contain no-repeat;
  transition: transform 0.25s ease, color 0.25s ease;
}
.btn--red .btn__icon,
.primary-nav__cta .btn__icon { color: var(--red); }

.btn:hover,
.btn:focus-visible {
  background: var(--red);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
}
.btn:hover .btn__icon,
.btn:focus-visible .btn__icon { color: var(--red); }
.btn:hover .btn__icon::before,
.btn:focus-visible .btn__icon::before { transform: translateX(2px); }
.btn:active { opacity: 0.82; }

.btn--sm { gap: 14px; height: 48px; padding-left: 22px; font-size: var(--fs-sm); }
.btn--sm .btn__icon { width: 34px; height: 34px; }

.btn--glass { background: rgba(11, 31, 58, 0.85); }
.btn--red { background: var(--red); }
.btn--outline { background: transparent; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  transition: color 0.25s ease, opacity 0.15s ease;
}
/* Figma "Text action": Hover → red text, Pressed → 82% opacity */
.text-link:hover,
.text-link:focus-visible { color: var(--red-bright); }
.text-link:active { opacity: 0.82; }

.icon {
  display: block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon--arrow-left { --icon: url("../icons/arrow-left.svg"); }
.icon--arrow-right { --icon: url("../icons/arrow-right.svg"); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}
.site-header .container { pointer-events: none; }

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 10px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(11, 31, 58, 0.61);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  transition: background-color 0.3s;
}
.site-header.is-scrolled .nav-pill { background: rgba(11, 31, 58, 0.92); }

.brand { display: block; flex: none; line-height: 0; }
.brand__logo { width: 250px; height: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.primary-nav__list {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 25px;
}
.primary-nav__link {
  font-family: var(--font-nav);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s;
}
.primary-nav__link:hover { color: var(--red-bright); }
.primary-nav__link:active { opacity: 0.82; }
.primary-nav__link.is-active { color: var(--red-bright); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: 4px;
  padding: 0 11px;
  border-radius: 50%;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero – always fills the first screen (fold) from 1024px up to 2560px wide.
   The headline uses --fs-h1, which also limits itself by viewport height.
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
/* First screen: photo, headline and buttons only */
.hero__fold {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: max(620px, 100svh);
  padding-top: calc(24px + var(--header-h));
  overflow: hidden;
}
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58vw;
  min-width: 560px;
}
.hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 80% 30%;
  transform: scale(1.14);
  transform-origin: 82% 38%;
}
.hero__scrim {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28.5vw;
  width: 50vw;
  min-width: 480px;
  background: linear-gradient(90deg, #0b1f3a 32%, rgba(11, 31, 58, 0.63) 62.5%, rgba(11, 31, 58, 0.03) 93%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-bottom: 40px;
}
.hero__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0 0;
}
.hero .eyebrow--hero { gap: 12px; margin-bottom: 24px; }
.hero .eyebrow--hero .eyebrow__rule { width: 28px; }
.hero__title {
  max-width: 14em;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.033em;
  font-weight: 400;
  color: #fff;
}
.hero__text {
  max-width: 32em;
  margin-top: 28px;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: #fff;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 36px;
}
/* Credentials row – lives just below the fold */
.hero__below { position: relative; z-index: 2; }
.hero__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}
.hero__sectors {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  min-width: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
/* Each industry stays on one line; the "/" separator travels with it so wrapping is clean */
.hero__sectors span { white-space: nowrap; }
.hero__sectors span:not(:last-child)::after { content: "/"; margin: 0 0.9em; opacity: 0.7; }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.3;
  color: #fff;
  transition: color 0.25s ease, opacity 0.15s ease;
}
.scroll-cue img { width: auto; height: 20px; transition: transform 0.25s ease; }
.scroll-cue:hover { color: var(--red-bright); }
.scroll-cue:hover img { transform: translateY(3px); }
.scroll-cue:active { opacity: 0.82; }

/* ==========================================================================
   Sections – shared
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--navy { background: var(--navy); color: #fff; }

.section-head {
  display: flex;
  gap: 48px;
  margin-bottom: 32px;
}
.section-head--end { align-items: flex-end; }
.section-head > .h2 { flex: 1; min-width: 0; }
.section-head__text {
  flex: none;
  width: clamp(300px, 28%, 440px);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text);
}
.section-head__text--sm { width: clamp(300px, 28%, 420px); }
.section-head__text--white { width: clamp(320px, 32%, 500px); font-size: var(--fs-base); color: #fff; }
.section-head .btn { flex: none; }

.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(420px, 38%, 560px);
  gap: 26px 40px;
  align-items: center;
}
.about__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
}
.about__intro .eyebrow { margin-bottom: 0; }

.about__copy { color: var(--text); line-height: 1.6; }
.about__copy p + p { margin-top: 1.4em; }

.about__visual { display: flex; flex-direction: column; gap: 26px; }
.about__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text);
}
.about__note img { flex: none; margin-top: 4px; }

.about__composition {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 400 / 390;
}
.about__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  height: 96.15%;
  overflow: hidden;
  border-radius: 24px;
  background: #fcf9f4;
}
.about__photo img {
  position: absolute;
  left: -14.44%;
  top: -10.67%;
  width: 122.5%;
  height: 122.4%;
  max-width: none;
  object-fit: cover;
}
.about__card {
  position: absolute;
  right: 3.5%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max(54%, 240px);
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.07);
}
.about__card-value { font-size: clamp(1.875rem, 1.5rem + 1vw, 2.5rem); line-height: 1.2; font-weight: 300; letter-spacing: -0.033em; color: var(--navy); white-space: nowrap; }
.about__card-label { font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; color: var(--navy); }
.about__card-text { font-size: var(--fs-xs); line-height: 1.6; color: var(--text); }

/* Credential line – same white card style as the "25+ Years" block, sits right below it */
.about__creds {
  width: 100%;
  max-width: 480px;
  padding: 18px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.07);
  font-size: var(--fs-sm);
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy);
}
.about__creds span { margin: 0 0.35em; color: var(--red); }

/* ==========================================================================
   Services carousel
   ========================================================================== */
.services { padding-top: 24px; }

.carousel__viewport {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.carousel__viewport::-webkit-scrollbar { display: none; }

.service-card {
  display: flex;
  flex: 1 0 320px;
  flex-direction: column;
  min-height: 440px;
  padding: 20px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
/* Figma "Card hover": lifts 3px, fills navy, text lightens, photo zooms 5% */
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}
.service-card:hover .pill,
.service-card:focus-within .pill { border-color: rgba(101, 116, 137, 0.27); color: #f5f3ee; }
.service-card:hover .service-card__title,
.service-card:focus-within .service-card__title { color: #fff; }
.service-card:hover .service-card__list,
.service-card:focus-within .service-card__list { color: rgba(255, 255, 255, 0.71); }
.service-card__title,
.service-card__list { transition: color 0.3s ease; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  line-height: 1;
  color: var(--navy);
  transition: border-color 0.3s;
}
.service-card.is-active .pill { border-color: rgba(11, 31, 58, 0.27); }
.service-card__go {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}
.service-card__go img { transition: transform 0.25s; }
.service-card__go:hover img { transform: translate(2px, -2px); }
.service-card__body { flex: 1; padding-top: 32px; }
.service-card__title {
  margin-bottom: 14px;
  font-size: var(--fs-lg);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.024em;
  color: var(--navy);
}
.service-card__list { padding-left: 22px; list-style: disc; font-size: var(--fs-sm); line-height: 1.6; color: var(--text); }
.service-card__imgwrap {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 10px;
}
.service-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card__img,
.service-card:focus-within .service-card__img { transform: scale(1.05); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}
.carousel__position {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-xs);
  line-height: 1.2;
  color: var(--navy);
}
.carousel__total { color: var(--muted); }
.carousel__rail {
  position: relative;
  display: block;
  width: 120px;
  height: 2px;
  background: var(--line);
}
.carousel__thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.35s ease;
}
.carousel__arrows { display: flex; gap: 8px; }
.carousel__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, opacity 0.15s ease;
}
/* Figma "Carousel control": Hover → red fill, white arrow, soft shadow; Pressed → 82% */
.carousel__btn:hover:not(:disabled),
.carousel__btn:focus-visible:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
}
.carousel__btn:active:not(:disabled) { opacity: 0.82; }
.carousel__btn:disabled { color: var(--muted); cursor: default; opacity: 0.7; }

/* ==========================================================================
   Approach (dark)
   ========================================================================== */
.approach .section-head { margin-bottom: 36px; }
.approach .h2 { max-width: 900px; }

.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.stages { display: flex; flex-direction: column; gap: 8px; }
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 20px 72px 20px 22px;
  border-bottom: 1px solid #fff;
  border-radius: 16px;
  color: #fff;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.stage.is-open { min-height: 132px; background: #fff; border-bottom-color: #7d8b9f; color: var(--navy); }
.stage:not(.is-open):hover { background: rgba(255, 255, 255, 0.06); }
.stage__heading { font-size: inherit; line-height: inherit; font-weight: inherit; }
.stage__toggle { display: block; width: 100%; text-align: left; }
.stage__toggle::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.stage__toggle:focus-visible { outline: none; }
.stage__toggle:focus-visible::after { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.stage__title { display: block; font-size: var(--fs-md); line-height: 1.3; font-weight: 500; }
.stage__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  pointer-events: none;
}
.stage__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, padding-top 0.3s ease;
}
.stage.is-open .stage__panel { grid-template-rows: 1fr; padding-top: 8px; }
.stage__desc { min-height: 0; overflow: hidden; font-size: var(--fs-sm); line-height: 1.55; }

.approach__figure figcaption {
  margin-top: 18px;
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #fff;
}
.zoom { display: block; overflow: hidden; }
.zoom img { transition: transform 0.6s ease; }
.zoom:hover img { transform: scale(1.05); }
.approach__figure .zoom { border-radius: 16px; }
.approach__figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ==========================================================================
   Professional approach (assessment)
   ========================================================================== */
.assessment .eyebrow { margin-bottom: 32px; }
.assessment__intro { display: flex; gap: 48px; align-items: center; margin-bottom: 32px; }
.assessment__intro .h2 { flex: 1; min-width: 0; }
.assessment__overview { display: flex; flex: none; flex-direction: column; align-items: flex-start; gap: 28px; width: clamp(340px, 32%, 480px); }
.assessment__overview p { font-size: var(--fs-base); line-height: 1.6; color: var(--text); }

.roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 14px;
}
.role { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.role__num { font-size: clamp(1.75rem, 1.5rem + 0.6vw, 2.25rem); line-height: 1.2; font-weight: 300; color: var(--red); }
.role__title { font-size: var(--fs-md); line-height: 1.3; font-weight: 500; color: var(--navy); }
.role__desc { padding-left: 12px; border-left: 3px solid var(--sand); font-size: var(--fs-sm); line-height: 1.6; color: var(--text); }

/* ==========================================================================
   Strengths (dark)
   ========================================================================== */
.strengths .eyebrow { margin-bottom: 32px; }
.strengths .h2 { max-width: 900px; }
.wide-photo { margin-bottom: 32px; border-radius: 12px; }
.wide-photo img { width: 100%; height: 380px; object-fit: cover; }
.strengths__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 32px; }
.strength { padding: 22px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.strength__head { display: flex; align-items: flex-start; gap: 16px; }
.strength__num { flex: none; width: 30px; font-size: var(--fs-xs); line-height: 1.5; }
.strength__title { font-size: var(--fs-md); line-height: 1.35; font-weight: 500; }
.strength__desc { margin-top: 14px; font-size: var(--fs-sm); line-height: 1.6; }

/* ==========================================================================
   Sales excellence
   ========================================================================== */
.sales__layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.sales__perspective { display: flex; flex-direction: column; gap: 26px; }
.sales__text { font-size: var(--fs-base); line-height: 1.6; color: var(--text); }
.sales__photo { border-radius: 12px; }
.sales__photo img { width: 100%; height: 370px; object-fit: cover; }
.sales .eyebrow { margin-bottom: 32px; }

.program {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: background-color 0.25s;
}
.program__num { flex: none; width: 30px; font-size: var(--fs-xs); line-height: 1.5; color: var(--red); }
.program__body { flex: 1; min-width: 0; }
.program__title { margin-bottom: 10px; font-size: var(--fs-md); line-height: 1.3; font-weight: 500; color: var(--navy); }
.program__desc { font-size: var(--fs-sm); line-height: 1.6; color: var(--text); }
.program__arrow { flex: none; transition: transform 0.25s; }
.program:hover .program__arrow { transform: translate(3px, -3px); }

/* ==========================================================================
   Blog / insights
   ========================================================================== */
.blog { padding-top: calc(var(--section-y) * 0.5); }
.blog .eyebrow { margin-bottom: 30px; }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px;
  border: 1px solid #9ca7b6;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:nth-child(2) { border-color: #adb6c3; }
/* Figma "Card hover": lifts 3px, soft shadow, photo zooms 5% */
.post-card:hover,
.post-card:focus-within { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1); }
.post-card__imgwrap { display: block; height: 210px; overflow: hidden; border-radius: 10px; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__img,
.post-card:focus-within .post-card__img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: 15px; padding: 0 4px 10px; color: var(--navy); }
.post-card__num { font-size: var(--fs-xs); letter-spacing: 0.055em; line-height: 1.2; }
.post-card__title { font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.023em; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.post-card__text { font-size: var(--fs-sm); line-height: 1.6; }

/* ==========================================================================
   Consultation CTA (dark)
   ========================================================================== */
.cta { padding-block: clamp(52px, 6.5vw, 88px); }
.cta .eyebrow { margin-bottom: 30px; }
.cta__title {
  max-width: 850px;
  font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 400;
}
.cta__text { max-width: 720px; margin-top: 28px; font-size: var(--fs-base); line-height: 1.6; }
.cta__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 30px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact .eyebrow { margin-bottom: 30px; }
.contact__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 26px; }
.contact__text { font-size: var(--fs-base); line-height: 1.6; color: var(--text); }
.divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--line); }
.contact__who h3 { margin-bottom: 12px; font-size: var(--fs-md); line-height: 1.3; font-weight: 500; color: var(--navy); }
.contact__who p { font-size: var(--fs-sm); line-height: 1.6; color: var(--text); }
.contact__details { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.contact__details dt { margin-bottom: 7px; font-size: var(--fs-xs); line-height: 1.2; color: var(--muted); }
.contact__details dd { font-family: var(--font-mono); font-size: var(--fs-base); line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.contact__details dd.contact__loc { font-family: var(--font); }
.contact__details a:hover { color: var(--red); }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.form__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form__title { font-size: var(--fs-md); line-height: 1.2; font-weight: 500; color: var(--navy); }
.form__req { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; align-items: start; }

.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field label { font-size: var(--fs-sm); line-height: 1.2; font-weight: 500; color: var(--navy); }
.field__control {
  position: relative;
  display: flex;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__control:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(166, 37, 43, 0.12); }
.field__control input,
.field__control select,
.field__control textarea {
  width: 100%;
  min-width: 0;
  padding: 16px 15px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: 400 max(16px, var(--fs-sm)) / 1.5 var(--font);
  color: var(--navy);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.field__control ::placeholder { color: var(--muted); opacity: 1; }
.field__control select:required:invalid { color: var(--muted); }
.field__control select option { color: var(--navy); }
.field__control--select select { padding-right: 48px; cursor: pointer; }
.field__control--select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 18px;
  width: 16px;
  height: 16px;
  background: url("../icons/chevron-down.svg") center / contain no-repeat;
  pointer-events: none;
}
.field__control--area { min-height: 126px; }
.field__control textarea { min-height: 124px; resize: vertical; }
.field__alert { display: none; position: absolute; right: 15px; top: 18px; pointer-events: none; }
.field__error { font-size: var(--fs-xs); line-height: 1.5; color: var(--text); }
.field.is-invalid .field__control { border-color: var(--red); }
.field.is-invalid .field__alert { display: block; }
.field.is-invalid input { padding-right: 40px; }

.form__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form__note { font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.form__status { font-size: var(--fs-sm); line-height: 1.5; font-weight: 500; color: var(--navy); }
.form__status.is-error { color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 52px 0 24px; background: var(--navy); color: #fff; }
.footer__top { display: flex; gap: 44px; align-items: flex-start; }
.footer__brand { flex: none; width: 300px; }
.footer__brand img { width: 300px; height: auto; }
.footer__rule { display: block; width: 28px; height: 1px; margin: 22px 0; background: var(--red-bright); }
.footer__brand p { font-size: var(--fs-sm); line-height: 1.6; }

.footer__info { display: flex; flex: 1; gap: 32px; min-width: 0; }
.footer__groups { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer__contact { display: flex; flex: none; flex-direction: column; gap: 26px; width: 260px; }
.footer__heading { margin-bottom: 22px; font-size: var(--fs-sm); line-height: 1.2; font-weight: 500; color: #fff; }
.footer__heading::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--red-bright);
}
.footer__group ul { display: flex; flex-direction: column; gap: 14px; }
.footer__group li,
.footer__group a,
.footer__group address { font-size: var(--fs-sm); line-height: 1.5; color: #fff; }
.footer__group address { color: #fcfcfc; }
.footer__group a { transition: color 0.2s; overflow-wrap: anywhere; }
.footer__group a:hover { color: var(--red-bright); }
.mono { font-family: var(--font-mono); }
.footer__group .footer__contact-list { gap: 16px; }
.footer__contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.ic {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  background-color: var(--red-bright);
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.ic--pin { --ic: url("../icons/map-pin.svg"); }
.ic--mail { --ic: url("../icons/mail.svg"); }
.ic--phone { --ic: url("../icons/phone.svg"); }
.footer__group .social-list { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.social-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.footer__group a.social-link { color: #fff; }
.footer__group a.social-link:hover,
.footer__group a.social-link:focus-visible {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--red);
}
.icon-linkedin,
.icon-facebook,
.icon-instagram {
  display: block;
  width: 14px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--glyph) center / contain no-repeat;
  mask: var(--glyph) center / contain no-repeat;
}
.icon-linkedin { --glyph: url("../icons/linkedin-in.svg"); }
.icon-facebook { --glyph: url("../icons/facebook-f.svg"); width: 10px; height: 16px; }
.icon-instagram { --glyph: url("../icons/instagram.svg"); width: 16px; height: 16px; }

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.footer__legal ul { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--red-bright); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Ultra-wide / 2K–4K desktops: scale the floating nav with the hero */
@media (min-width: 1700px) {
  :root { --header-h: 88px; }
  .site-header { top: 32px; }
  .hero__fold { padding-top: calc(32px + var(--header-h)); }
  .nav-pill { padding: 0 12px 0 32px; }
  .brand__logo { width: 310px; }
  .primary-nav__list { gap: 34px; }
  .primary-nav__cta { height: 56px; gap: 16px; padding-left: 24px; }
  .primary-nav__cta .btn__icon { width: 40px; height: 40px; }
}

/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .brand__logo { width: 205px; }
  .primary-nav__list { gap: 20px; }
  .about__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; }
  .roles { gap: 20px; }
  .footer__top { gap: 32px; }
  .footer__info { flex-direction: column; gap: 32px; }
  .footer__groups { gap: 28px; }
  .footer__contact { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 26px 48px; }
}

/* Collapse navigation */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    background: rgba(11, 31, 58, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav__list {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav__link {
    display: block;
    padding: 13px 8px;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .primary-nav__list li:last-child .primary-nav__link { border-bottom: 0; }
  .primary-nav__cta { justify-content: space-between; height: 52px; }
  .primary-nav__cta .btn__icon { width: 36px; height: 36px; }
}

/* Tablet */
@media (max-width: 900px) {
  /* Hero: photo becomes a full-bleed backdrop */
  .hero__media { width: auto; min-width: 0; left: 0; }
  .hero__photo img { object-position: 72% center; transform: none; }
  .hero__scrim {
    right: 0;
    left: 0;
    width: auto;
    min-width: 0;
    background: linear-gradient(90deg, rgba(11, 31, 58, 0.96) 0%, rgba(11, 31, 58, 0.78) 50%, rgba(11, 31, 58, 0.3) 100%);
  }
  .hero__content { padding-top: 2em; padding-bottom: 2em; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head__text,
  .section-head__text--sm,
  .section-head__text--white { width: 100%; max-width: 560px; }

  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__visual { max-width: 460px; }

  .approach__grid,
  .sales__layout,
  .contact__layout { grid-template-columns: 1fr; }
  .approach__grid { gap: 32px; }
  .sales__layout { gap: 32px; }
  .contact__layout { gap: 32px; }

  .assessment__intro { flex-direction: column; align-items: flex-start; gap: 24px; }
  .assessment__overview { width: 100%; max-width: 560px; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }

  .strengths__list { grid-template-columns: 1fr; gap: 0; }
  .wide-photo img { height: 300px; }
  .sales__photo img { height: 320px; }

  .footer__top { flex-direction: column; }
  .footer__brand { width: 100%; }
}

/* Mobile */
@media (max-width: 600px) {
  .site-header { top: 12px; }
  :root { --header-h: 60px; }
  .nav-pill { padding-left: 18px; }
  .brand__logo { width: 168px; }

  .hero__fold { padding-top: calc(12px + var(--header-h)); }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.8) 55%, rgba(11, 31, 58, 0.92) 100%);
  }
  .hero__content { padding-top: 56px; padding-bottom: 48px; }
  .hero__title br { display: none; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* "Explore My Services" takes the same pill-button style as "Request a Consultation" */
  .hero__actions .btn,
  .hero__actions .text-link {
    width: 100%;
    max-width: 340px;
    height: 56px;
    justify-content: space-between;
    padding: 0 8px 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(11, 31, 58, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 500;
    line-height: 1;
  }
  .hero__actions .text-link img {
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    padding: 12px;
    border-radius: 50%;
    background: #fff;
  }
  .hero__actions .text-link:hover,
  .hero__actions .text-link:focus-visible { color: #fff; background: var(--red); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14); }
  .hero__strip { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0 26px; }
  /* Phones: no trailing "/" on wrapped lines – spacing separates the industries instead */
  .hero__sectors { line-height: 1.5; gap: 8px 24px; }
  .hero__sectors span:not(:last-child)::after { content: none; }

  .btn { max-width: 100%; }

  .about__card { padding: 18px; }
  .service-card { flex-basis: min(284px, 82vw); }

  .carousel__position { gap: 10px; }
  .carousel__rail { width: 80px; }

  .stage { padding-right: 60px; }
  .approach__figure img { height: 220px; }

  .roles { grid-template-columns: 1fr; gap: 28px; }
  .wide-photo img { height: 220px; }
  .sales__photo img { height: 240px; }


  .form { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }


  .footer__groups { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer__contact { flex-direction: column; gap: 26px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

/* Very small phones */
@media (max-width: 380px) {
  .footer__groups { grid-template-columns: 1fr; }
  .btn { gap: 12px; padding-left: 16px; }
}

/* ---------- Utilities ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
