/* Camber Consulting — HTML Mockup
   Colors / type matched from live Squarespace site */

:root {
  --navy: #0b253c;
  --navy-hsl: 208, 68%, 14%;
  --orange: #f57029;
  --light-blue: #d6f1ff;
  --green: #88ba4f;
  --white: #ffffff;
  --black: #0b253c;
  --text: hsla(208, 68%, 14%, 0.9);
  --text-muted: hsla(208, 68%, 14%, 0.85);
  --heading-font: "Bakbak One", sans-serif;
  --body-font: "Poppins", sans-serif;
  --container: 3000px;
  --page-max-width: 3000px;
  --page-padding: 2vw;
  --header-h: 120px;
  --nav-gap: 1.6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Scroll fade-in — matches live Squarespace (1.5s ease, staggered, opacity only) */
@media (prefers-reduced-motion: no-preference) {

  html.js .camber-reveal,
  html.js .hero__content>*,
  html.js .hero__caption,
  html.js .site-header .site-logo,
  html.js .site-header .site-nav a {
    opacity: 0;
    transition: opacity 1.5s ease;
    transition-delay: var(--camber-reveal-delay, 0ms);
    will-change: opacity;
  }

  html.js .camber-reveal.is-revealed,
  html.js .hero__content>*.is-revealed,
  html.js .hero__caption.is-revealed,
  html.js .site-header .site-logo.is-revealed,
  html.js .site-header .site-nav a.is-revealed {
    opacity: 1;
  }

  html.js .hero__caption.is-revealed {
    opacity: 0.85;
  }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

p {
  margin: 0 0 1.25rem;
}

.container {
  width: min(calc(100% - (var(--page-padding) * 2)), var(--page-max-width));
  margin-inline: auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 2.05rem 4.45rem;
  border: 2px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: #e06018;
  border-color: #e06018;
}

.btn--secondary {
  background: transparent;
  color: #000;
  border-color: #000;
}

.btn--secondary:hover {
  background: #000;
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: #163a55;
  border-color: #163a55;
  color: var(--white);
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--navy);
}

.site-header__inner {
  width: min(calc(100% - (var(--page-padding) * 2)), var(--page-max-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo img {
  width: 171px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-nav a {
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--light-blue);
  line-height: 1.2;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--light-blue);
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  height: 570px;
  margin-top: var(--header-h);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: #c5d5e0;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 900px);
  text-align: center;
  padding-top: 110px;
}

.hero__title {
  font-size: clamp(1.6rem, 2.8vw, 2.55rem);
  color: var(--navy);
  text-transform: none;
  font-weight: 400;
}

.hero__caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--navy);
  opacity: 0.85;
  letter-spacing: -0.02em;
}

/* ========== Intro ========== */
.intro {
  padding: 7rem 0;
  text-align: center;
  background: var(--white);
}

.intro__text {
  max-width: 1070px;
  margin: 0 auto 2.25rem;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ========== Who We Are ========== */
.who-we-are {
  position: relative;
  z-index: 1;
  background: var(--light-blue);
  padding: 7.9rem 0 calc(7.5rem + 6vw);
  clip-path: url(#divider-who-we-are);
  -webkit-clip-path: url(#divider-who-we-are);
}

.who-we-are__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 1100px;
}

.who-we-are__image img {
  width: 100%;
  max-width: 602px;
  aspect-ratio: 1;
  object-fit: cover;
}

.who-we-are__content h3 {
  margin-bottom: 1.15rem;
  font-size: 2.55rem;
}

.who-we-are__content p {
  font-size: 1.125rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.who-we-are .btn--secondary,
.who-we-serve .btn--secondary {
  min-height: 90px;
  padding-inline: 1.45rem;
}

.who-we-serve .btn--secondary {
  border-color: var(--green);
  color: var(--green);
}

.who-we-serve .btn--secondary:hover {
  background: var(--green);
  color: var(--white);
}

/* ========== Who We Serve ========== */
.who-we-serve {
  position: relative;
  z-index: 0;
  margin-top: -6vw;
  padding: calc(5.5rem + 6vw) 0 3rem;
  background: var(--white);
}

.who-we-serve__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

.who-we-serve__content h3 {
  margin-bottom: 1rem;
}

.who-we-serve__content p {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.who-we-serve__arrow {
  display: flex;
  justify-content: center;
}

.who-we-serve__arrow img {
  width: min(100%, 260px);
}

.who-we-are .container,
.who-we-serve .container {
  width: min(calc(100% - (var(--page-padding) * 2)), 1100px);
}

/* ========== Logos — gallery reel (live Squarespace) ========== */
.client-logos {
  position: relative;
  padding: 1.5rem 0;
  background: var(--white);
  overflow: hidden;
}

.client-logos__viewport {
  height: 37vh;
  min-height: 240px;
  overflow: hidden;
  position: relative;
}

.client-logos__track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  gap: 0;
  transition: transform 0.55s ease;
  will-change: transform;
}

.client-logos__item {
  flex: 0 0 auto;
  width: 37vh;
  height: 37vh;
  min-width: 240px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.client-logos__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-logos__controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page-padding);
  pointer-events: none;
}

.client-logos__nav {
  position: relative;
  top: auto;
  transform: none;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
}

.client-logos__nav--prev,
.client-logos__nav--next {
  left: auto;
  right: auto;
}

.client-logos__nav svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ========== Parallax backgrounds (What We Do + Newsletter) ========== */
.camber-parallax__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.camber-parallax__layer {
  position: absolute;
  inset: 0;
}

.camber-parallax__layer img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 136%;
  top: -18%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.what-we-do__media .camber-parallax__layer img {
  object-position: 81.25% 51.44%;
}

.newsletter__topo .camber-parallax__layer img {
  object-position: center center;
}

.team-grid-section__topo .camber-parallax__layer img {
  object-position: center center;
}

@media (prefers-reduced-motion: reduce) {
  .camber-parallax__layer img {
    top: 0;
    height: 100%;
    will-change: auto;
    transform: none !important;
  }
}

/* ========== What We Do ========== */
.what-we-do {
  position: relative;
  min-height: 1078px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.what-we-do__media {
  z-index: 0;
}

.what-we-do__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(90deg, rgba(11, 37, 60, 0.15) 0%, rgba(11, 37, 60, 0.55) 55%, rgba(11, 37, 60, 0.72) 100%); */
}

.what-we-do__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--page-padding) * 2)), var(--page-max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 620px);
  gap: 2rem;
}

.what-we-do__panel {
  grid-column: 2;
  color: var(--navy);
  margin-right: 1vw;
  margin-top: -0.25rem;
}

.what-we-do__panel h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.what-we-do__panel>p {
  color: var(--navy);
  margin-bottom: 5rem;
  font-size: 1.05rem;
}

.accordion {
  border-top: 1px solid var(--navy);
}

.accordion__item {
  border-bottom: 1px solid var(--navy);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  background: transparent;
  border: 0;
  color: var(--navy);
  text-align: left;
  font-family: var(--heading-font);
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.accordion__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion__icon::before {
  width: 16px;
  height: 2px;
}

.accordion__icon::after {
  width: 2px;
  height: 16px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.accordion__item.is-open .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion__panel {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

/* ========== Client Trust ========== */
.client-trust {
  position: relative;
  z-index: 1;
  padding: 10rem 0 calc(3.5rem + 6vw);
  background: var(--white);
  clip-path: url(#divider-client-trust);
  -webkit-clip-path: url(#divider-client-trust);
}

.client-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: 11px;
  align-items: start;
  width: min(calc(100% - (var(--page-padding) * 2)), 820px) !important;
  max-width: 820px;
  margin-inline: auto;
}

.client-trust__art {
  display: flex;
  justify-content: center;
  width: 100%;
}

.client-trust__art img {
  width: 100%;
  max-width: min(29.17vw, 480px);
  height: auto;
  aspect-ratio: 1373 / 1172;
  object-fit: contain;
  display: block;
}

.client-trust__content h3 {
  margin-bottom: 4rem;
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  line-height: 1.2;
}

.client-trust__content p {
  margin-bottom: 4.5rem;
  max-width: none;
  font-size: 1rem;
  line-height: 1.55;
}

/* ========== Testimonials ========== */
.testimonials {
  position: relative;
  z-index: 0;
  background: var(--light-blue);
  padding: calc(clamp(4rem, 7vw, 6rem) + 6vw) 0 clamp(4rem, 7vw, 6rem);
  margin-top: -6vw;
}

.testimonials__slider {
  width: min(calc(100% - (var(--page-padding) * 2) - 7rem), 900px);
  margin-inline: auto;
  text-align: center;
}

.testimonials__viewport {
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.55s ease;
}

.testimonials__slide {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.testimonials__quote {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 4vw, 45px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.testimonials__source,
.testimonials__attr {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.testimonials__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.testimonials__nav--prev {
  left: var(--page-padding);
}

.testimonials__nav--next {
  right: var(--page-padding);
}

.testimonials__nav svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__track {
    transition: none;
  }
}

/* ========== Newsletter ========== */
.newsletter {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--white);
  overflow: hidden;
}

.newsletter__topo {
  z-index: 0;
}

.newsletter__topo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.newsletter__card {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--page-padding) * 2)), 900px);
  margin-inline: auto;
  background: var(--green);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.75rem, 5vw, 7rem) clamp(2.5rem, 5vw, 3.75rem);
  text-align: left;
}

.newsletter__card h3 {
  margin: 0 0 1.25rem;
  color: var(--white);
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.newsletter__card p {
  margin: 0 0 1.35rem;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.newsletter__form input[type="email"] {
  width: 100%;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  padding: 0.95rem 1rem;
  font-family: var(--body-font);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.newsletter__form input::placeholder {
  color: hsla(208, 68%, 14%, 0.45);
}

.newsletter__form .btn {
  flex-shrink: 0;
  min-width: 7.5rem;
}

.newsletter__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 50px 0 100px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 370px 340px;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.site-footer__logo img {
  width: 370px;
}

.site-footer__contact {
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer__contact a {
  color: rgb(214, 241, 255);
  text-decoration: underline;
}

.site-footer__social {
  padding-top: 20px;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #0a66c2;
  border-radius: 4px;
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ========== Responsive ========== */
@media (max-width: 980px) {

  .who-we-are__grid,
  .who-we-serve__grid,
  .client-trust__grid,
  .what-we-do__inner {
    grid-template-columns: 1fr;
  }

  .client-trust__grid {
    gap: 2rem;
    max-width: 640px !important;
  }

  .client-trust__art img {
    max-width: min(100%, 400px);
    margin-inline: auto;
  }

  .what-we-do {
    min-height: 0;
    padding: 4rem 0;
  }

  .what-we-do__panel {
    grid-column: 1;
    background: rgba(11, 37, 60, 0.72);
    padding: 1.5rem;
  }

  .who-we-are__image img {
    max-width: 100%;
    margin-inline: auto;
  }

  .testimonials__slider {
    width: min(calc(100% - (var(--page-padding) * 2) - 5rem), 900px);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(214, 241, 255, 0.15);
  }

  .hero {
    min-height: 520px;
    margin-top: var(--header-h);
  }

  .newsletter__form {
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__contact {
    text-align: center;
  }

  .site-footer__social {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 88px;
  }

  .site-logo img {
    width: 130px;
  }

  .client-logos__item {
    width: 140px;
    height: 140px;
  }

  .who-we-are,
  .client-trust {
    padding-bottom: calc(4rem + 48px);
  }

  .who-we-serve,
  .testimonials {
    margin-top: -48px;
  }
}


.post-image-wrap img {
  width: 70%;
  height: 850px
}

.post-image-wrap {
  position: relative
}

.post-image-wrap .image-card {
  background: #5ab8dd;
  padding: 100px;
  width: 730px;
  position: absolute;
  top: 35%;
  right: 0
}

.post-image-wrap .image-card h2 {
  color: #FFF;
  font-weight: bold
}