:root {
  color-scheme: light;
  --ink: #1f1f1f;
  --muted: #66615d;
  --soft: #f6f3ef;
  --paper: #ffffff;
  --line: #e6ddd7;
  --red: #c83b35;
  --red-dark: #9e2824;
  --charcoal: #292927;
  --blue: #1e6e94;
  --blue-soft: #e6f3f6;
  --shadow: 0 18px 55px rgba(37, 31, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 8px clamp(18px, 4vw, 58px) 10px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-stack {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1;
  max-width: min(60vw, 360px);
}

.logo img {
  display: block;
  width: clamp(260px, 28vw, 360px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
  color: #35322f;
  font-size: 16px;
  font-weight: 400;
}

.site-nav a {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.menu-toggle {
  display: none;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 3vw, 42px) clamp(18px, 5vw, 72px) clamp(40px, 7vw, 92px);
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 52%, #f2ece7 52%, #f2ece7 100%);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.primary-action {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgba(200, 59, 53, 0.24);
}

.primary-action:hover {
  background: var(--red-dark);
}

.secondary-action {
  color: var(--charcoal);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-visual,
.section-media,
.presentation-stage {
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-visual img,
.section-media img {
  display: block;
  width: 100%;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-band div {
  padding: 30px clamp(18px, 4vw, 42px);
  background: var(--charcoal);
  color: #fff;
}

.metrics-band strong {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.metrics-band span {
  display: block;
  margin-top: 8px;
  color: #d9d0ca;
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.split-section,
.clients-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.intro-copy,
.section-text,
.band-points {
  color: var(--muted);
  font-size: 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature-list span,
.capability-list li,
.tech-list li {
  border-left: 4px solid var(--red);
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 0 6px 6px 0;
  font-weight: 700;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.service-grid,
.solution-grid,
.technology-grid,
.leadership-grid,
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article,
.solution-grid article,
.technology-grid article,
.leadership-card,
.office-card,
.contact-card,
.market-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-grid article p,
.solution-grid article p,
.technology-grid article p,
.leadership-card p,
.office-card p,
.contact-card p,
.market-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.red-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
  color: #fff;
  background: var(--red);
}

.red-band .eyebrow,
.cta-section .eyebrow,
.page-hero.dark .eyebrow {
  color: #ffd7c9;
}

.red-band h2,
.red-band p {
  color: #fff;
}

.band-points {
  display: grid;
  gap: 14px;
}

.band-points p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.reverse {
  background: var(--soft);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.product-showcase {
  background: #f8faf9;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.showcase-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.clients-section {
  background: var(--paper);
}

.clients-page-showcase img {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-section {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 5vw, 72px);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(41, 41, 39, 0.88), rgba(41, 41, 39, 0.88)),
    url("/slides/slide-10.png") center / cover;
}

.cta-section h2 {
  max-width: 850px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #d8d0ca;
  background: var(--charcoal);
}

.site-footer p {
  margin: 8px 0 0;
  color: #bdb5ae;
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd7c9;
}

.page-hero {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.page-hero.dark {
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), #20343f);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(40px, 5vw, 68px);
}

.page-hero p {
  max-width: 760px;
}

.disclaimer-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 14vw, 180px);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
  min-height: 520px;
  padding: clamp(68px, 9vw, 118px) clamp(18px, 6vw, 84px);
  background: var(--soft);
}

.disclaimer-copy {
  max-width: 900px;
}

.disclaimer-copy h1 {
  margin-bottom: 52px;
  padding-bottom: 18px;
  border-bottom: 1px solid #bdb7b2;
  font-size: clamp(42px, 5vw, 64px);
}

.disclaimer-copy h1::after {
  display: block;
  width: 10px;
  height: 10px;
  margin: 13px 0 -24px 46%;
  background: var(--red);
  content: "";
}

.disclaimer-copy > p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}

.disclaimer-accent {
  width: 100%;
  aspect-ratio: 1;
  background: var(--red);
}

.capability-list,
.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-page-layout {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-page-layout .office-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 22px;
}

.contact-page-layout .office-card {
  padding: clamp(24px, 4vw, 34px);
  border-color: #dccbc2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 243, 239, 0.92)),
    var(--paper);
  box-shadow: 0 16px 36px rgba(60, 42, 34, 0.08);
  overflow: hidden;
}

.contact-page-layout .office-card h3 {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 18px;
  padding-bottom: 7px;
  color: var(--charcoal);
  border-bottom: 3px solid var(--red);
}

.contact-page-layout .office-card p {
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.55;
}

.contact-page-layout .office-card a {
  overflow-wrap: anywhere;
}

.contact-page-layout .contact-form {
  max-width: 780px;
}

.contact-card a,
.office-card a {
  color: var(--red);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  display: none;
  padding: 13px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.form-status.is-info,
.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-info {
  color: #17465c;
  background: var(--blue-soft);
  border: 1px solid #b9d9e3;
}

.form-status.is-success {
  color: #205538;
  background: #e6f4ec;
  border: 1px solid #b9dec8;
}

.form-status.is-error {
  color: #842923;
  background: #fde9e5;
  border: 1px solid #efb7ad;
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.presentation-page {
  background: #171717;
  color: #fff;
}

.presentation-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
}

.presentation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.presentation-toolbar h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.presentation-actions {
  display: flex;
  gap: 8px;
}

.presentation-actions button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #2b2b2b;
  color: #fff;
  cursor: pointer;
  padding: 0 14px;
}

.presentation-stage {
  align-self: center;
  justify-self: center;
  width: min(100%, calc((100vh - 200px) * 16 / 9));
  aspect-ratio: 16 / 9;
}

.presentation-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 116px;
  gap: 10px;
  overflow-x: auto;
}

.thumb {
  position: relative;
  width: 116px;
  aspect-ratio: 16 / 9;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: #2b2b2b;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb span {
  position: absolute;
  left: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.thumb.is-active {
  border-color: var(--red);
}

.js-reveal {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 500ms ease, opacity 500ms ease;
}

.js-reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .hero,
  .intro-grid,
  .split-section,
  .clients-section,
  .red-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background: linear-gradient(180deg, #fff 0%, #fff 58%, #f2ece7 58%, #f2ece7 100%);
  }

  .service-grid,
  .solution-grid,
  .technology-grid,
  .leadership-grid,
  .office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 8px 18px 10px;
  }

  .brand-stack {
    max-width: calc(100% - 92px);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 2px;
    padding-top: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

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

@media (max-width: 760px) {
  .logo img {
    width: min(64vw, 240px);
  }

  .disclaimer-page {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .disclaimer-copy h1 {
    margin-bottom: 38px;
  }

  .disclaimer-accent {
    width: 92px;
    justify-self: end;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .feature-list,
  .capability-list,
  .tech-list,
  .service-grid,
  .solution-grid,
    .technology-grid,
    .leadership-grid,
    .office-grid,
    .market-grid,
    .showcase-grid,
    .metrics-band {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    justify-content: flex-start;
  }

  .presentation-shell {
    padding: 14px;
  }

  .presentation-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .presentation-stage {
    width: 100%;
  }

  .contact-page-layout .office-grid {
    grid-template-columns: 1fr;
  }
}
