/* =========================================================================
   CPSI — Creative Pulse Systems Inc.
   Editorial-refined design system. Designed for clarity at any age.
   ========================================================================= */

:root {
  /* Color palette: classic consulting */
  --navy: #0d2240;
  --navy-deep: #081730;
  --navy-soft: #1c3a5e;
  --cream: #faf7f2;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #6b6b6b;
  --accent: #c08a2c;      /* refined gold-copper, replaces flat orange */
  --accent-deep: #8f6418;
  --accent-soft: #e9d9b3;
  --rule: #d8d2c4;
  --rule-soft: #ece8de;

  /* Typography */
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;

  /* Easing & timing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Base ---------------------------------------------------------------- */
html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
  display: inline-block;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

/* Container ----------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--container-narrow); }

/* Header -------------------------------------------------------------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Larger brand variant for when only logo image is used (no text) */
.brand--logo-only .brand__mark { width: auto; height: 44px; }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav a {
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-radius: 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.35rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover { color: var(--navy); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); font-weight: 600; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
  color: var(--navy);
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
  border-radius: 2px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); }

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn__arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 0.7rem; }

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  padding: 6rem 0 5rem;
  overflow: hidden;
}

/* Subtle background pattern — diagonal lines + dot grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(232, 217, 179, 0.12) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(192, 138, 44, 0.06) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  color: var(--accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  color: var(--cream);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 500;
}

.hero__lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 2rem;
  max-width: 38rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero .btn--ghost {
  background: transparent;
  border-color: rgba(250, 247, 242, 0.4);
  color: var(--cream);
}
.hero .btn--ghost:hover { background: rgba(250, 247, 242, 0.08); border-color: var(--cream); }

/* Hero stats panel */
.hero__panel {
  background: rgba(250, 247, 242, 0.04);
  border: 1px solid rgba(232, 217, 179, 0.15);
  padding: 2.2rem 2rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.hero__panel-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.stat { padding: 1rem 0; border-bottom: 1px solid rgba(232, 217, 179, 0.12); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat:first-child { padding-top: 0; }

.stat__value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.65);
  letter-spacing: 0.02em;
}

/* Section --------------------------------------------------------- */
.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}

.section-head--left { text-align: left; margin-left: 0; margin-right: auto; }

.section-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}
.section-head--left .section-rule { margin-left: 0; }

/* Services grid ---------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.service-card {
  background: var(--paper);
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s var(--ease);
  position: relative;
}

.service-card:hover { background: var(--cream); }

.service-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-deep);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Two-column block ------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col--text-heavy { grid-template-columns: 1.3fr 1fr; }

.two-col__media {
  background: var(--navy);
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* When a background image is set, dim it slightly for text contrast */
.two-col__media[style*="background-image"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 34, 64, 0.15) 0%, rgba(13, 34, 64, 0.5) 100%);
  pointer-events: none;
}

.two-col__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(232, 217, 179, 0.18) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0.7;
}

.two-col__media-mark {
  position: relative;
  z-index: 1;
  color: var(--accent-soft);
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  font-weight: 300;
}

/* Carousel — Top Clients ------------------------------------------- */
.clients {
  background: var(--paper);
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.carousel {
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(232, 217, 179, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.carousel__track {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 240px;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 3rem 5rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.carousel__slide.is-active { opacity: 1; pointer-events: auto; }

.carousel__logo {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.carousel__logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Default: show logos in full color (matches the look of real client brand marks).
     Add class "carousel__slide--invert" to a slide to force monochrome white for mono logos. */
}

.carousel__slide--invert .carousel__logo img {
  filter: brightness(0) invert(1);
}

.carousel__caption {
  color: rgba(250, 247, 242, 0.85);
  font-size: 1.1rem;
  line-height: 1.5;
  font-family: var(--font-display);
  font-style: italic;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(250, 247, 242, 0.3);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s var(--ease);
}

.carousel__arrow:hover { background: rgba(250, 247, 242, 0.1); border-color: var(--cream); }
.carousel__arrow--prev { left: 1.5rem; }
.carousel__arrow--next { right: 1.5rem; }

.carousel__dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}

.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.carousel__dot.is-active { background: var(--accent); }
.carousel__dot:hover { background: rgba(250, 247, 242, 0.7); }

/* Page header (non-home) ------------------------------------------- */
.page-head {
  background: var(--navy);
  color: var(--cream);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(232, 217, 179, 0.1) 1px, transparent 0);
  background-size: 22px 22px;
}

.page-head__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.page-head h1 {
  color: var(--cream);
  font-weight: 400;
  margin: 0.8rem 0 0;
}

.page-head .eyebrow { color: var(--accent-soft); margin-bottom: 0; }

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.6);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.breadcrumb a { color: rgba(250, 247, 242, 0.85); }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb__sep { margin: 0 0.5rem; color: rgba(250, 247, 242, 0.4); }

/* Service detail rows ---------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 3.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.service-row:last-child { border-bottom: 0; }

.service-row__title {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 500;
}

.service-row__num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.service-row h2 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.service-row__body { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.7; }

/* Why-choose list ------------------------------------------------- */
.why-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.4rem;
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}

.why-list strong { color: var(--navy); display: block; margin-bottom: 0.2rem; font-size: 1.05rem; }
.why-list span { color: var(--ink-soft); line-height: 1.55; }

.why-list__num {
  font-family: var(--font-display);
  color: var(--accent-deep);
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 1.5rem;
}

/* CTA strip ------------------------------------------------------- */
.cta-strip {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(232, 217, 179, 0.08) 1px, transparent 0);
  background-size: 22px 22px;
}

.cta-strip__inner { position: relative; max-width: 42rem; margin: 0 auto; }

.cta-strip h2 {
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.cta-strip p { color: rgba(250, 247, 242, 0.8); margin-bottom: 2rem; font-size: 1.08rem; }

/* Contact ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-block { padding: 2.4rem; background: var(--paper); border-radius: 2px; border: 1px solid var(--rule); }

.contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.contact-row:last-child { border-bottom: 0; }

.contact-row__icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-row__label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.contact-row__value { font-size: 1.1rem; color: var(--navy); font-weight: 500; }
.contact-row__value a { border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; transition: color 0.2s var(--ease); }
.contact-row__value a:hover { color: var(--accent-deep); }

.contact-row__note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.3rem; }

/* Careers ------------------------------------------------------- */
.careers-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.role-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.8rem;
  border-radius: 2px;
  transition: all 0.2s var(--ease);
}

.role-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.role-card__type {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}

.role-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.role-card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* Education --------------------------------------------------- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.region-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 2rem 1.8rem;
  border-radius: 2px;
  text-align: center;
}

.region-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 1.2rem;
  color: var(--accent);
}

.region-card h3 { margin-bottom: 0.4rem; }
.region-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 247, 242, 0.75);
  padding: 4rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.1);
}

.site-footer h4 {
  color: var(--accent-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(250, 247, 242, 0.75); transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--accent-soft); }

.footer-brand .brand__name { color: var(--cream); font-size: 1.4rem; }
.footer-brand .brand__tag { color: rgba(250, 247, 242, 0.55); }
.footer-brand p { margin-top: 1.2rem; line-height: 1.6; max-width: 22rem; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 50%;
  transition: all 0.2s var(--ease);
}

.footer-social a:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.55);
}

/* Reveal animations ------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* Responsive ------------------------------------------------------ */
@media (max-width: 960px) {
  html { font-size: 16px; }

  .hero__inner,
  .two-col,
  .two-col--text-heavy,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero { padding: 4rem 0 3.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .regions-grid,
  .careers-roles { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .service-row { grid-template-columns: 1fr; gap: 1rem; }

  .carousel__slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 4rem;
    gap: 1.2rem;
  }

  .carousel__caption { font-size: 0.95rem; }
  .carousel__logo { font-size: 1.9rem; }
}

@media (max-width: 700px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 1rem;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 20px rgba(13, 34, 64, 0.08);
  }
  .nav.is-open a { padding: 0.9rem; border-bottom: 1px solid var(--rule-soft); }
  .nav.is-open a:last-child { border-bottom: 0; }
  .nav__toggle { display: inline-flex; }

  .services-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .carousel__arrow { width: 36px; height: 36px; }
  .carousel__arrow--prev { left: 0.5rem; }
  .carousel__arrow--next { right: 0.5rem; }
  .carousel__slide { padding: 2rem 3rem; }
}
