:root {
  color-scheme: light;
  --ink: #152228;
  --ink-2: #24363d;
  --muted: #627176;
  --line: #d9e1df;
  --paper: #f7f4ec;
  --paper-2: #ebe7dd;
  --white: #ffffff;
  --teal: #015d77;
  --teal-dark: #01495d;
  --teal-light: #86b9bc;
  --amber: #d28d31;
  --steel: #4f6971;
  --danger: #a33a31;
  --success: #1f6f49;
  --shadow: 0 18px 55px rgba(21, 34, 40, 0.16);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem clamp(1rem, 3vw, 3rem);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(1, 93, 119, 0.14);
  box-shadow: 0 12px 36px rgba(21, 34, 40, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(210px, 24vw, 270px);
  height: auto;
  max-height: 54px;
}

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

.main-nav a {
  color: rgba(21, 34, 40, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--teal);
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  color: var(--teal);
  border: 1px solid rgba(1, 93, 119, 0.22);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--white);
  background: var(--teal);
}

.language-switch {
  display: inline-flex;
  border: 1px solid rgba(1, 93, 119, 0.22);
  border-radius: 6px;
  overflow: hidden;
}

.language-switch button {
  min-width: 44px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: rgba(21, 34, 40, 0.72);
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--teal);
  color: var(--white);
}

.hero {
  min-height: 94vh;
  display: grid;
  align-content: end;
  gap: 2rem;
  padding: calc(var(--header-height) + 5rem) clamp(1rem, 5vw, 5rem) 4rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 34, 40, 0.9) 0%, rgba(21, 34, 40, 0.46) 38%, rgba(21, 34, 40, 0.08) 75%),
    url("/assets/consulting-workspace.png") center / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ed8d1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics div {
  min-height: 150px;
  padding: 1.2rem;
  background: rgba(21, 34, 40, 0.72);
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  background: var(--white);
}

.intro p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading.compact {
  display: block;
  max-width: 900px;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.project-list article,
.timeline article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
}

.service-card .icon,
.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #e4f1ef;
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card p,
.timeline p,
.project-list p,
.privacy-note,
.site-footer p,
.site-footer span {
  color: var(--muted);
}

.approach {
  color: var(--white);
  background: var(--ink);
}

.approach .section-kicker {
  color: #8ed8d1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.timeline article {
  min-height: 250px;
  padding: 1.3rem;
  background: #203239;
  border-color: rgba(255, 255, 255, 0.12);
}

.timeline h3 {
  margin-top: 1.6rem;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.experience {
  background: var(--white);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-list article {
  min-height: 240px;
  padding: 1.35rem;
  border-top: 5px solid var(--amber);
}

.credentials {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: var(--paper-2);
}

.capability-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.capability-cloud span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  background: var(--white);
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-details div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0.2rem 0 0;
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--ink-2);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7d0cf;
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--ink);
  padding: 0.82rem 0.9rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 135, 125, 0.32);
  outline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.privacy-note {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-weight: 800;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--success);
}

.legal-page {
  min-height: 70vh;
  padding-top: var(--header-height);
  background: var(--paper);
}

.legal-hero {
  padding: 6rem clamp(1rem, 5vw, 5rem) 3rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 34, 40, 0.92), rgba(1, 93, 119, 0.78)),
    url("/assets/consulting-workspace.png") center / cover no-repeat;
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-hero p:last-child {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.legal-content {
  display: grid;
  gap: 1rem;
  padding: 4rem clamp(1rem, 5vw, 5rem);
  background: var(--paper);
}

.legal-content article {
  max-width: 820px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.legal-content h2 {
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-size: 1.35rem;
}

.legal-content p {
  margin: 0;
  color: var(--ink-2);
}

.legal-content a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--white);
  background: var(--ink);
}

.site-footer p,
.site-footer span {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer div:last-child {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .header-link {
    min-width: 0;
  }

  .service-grid,
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    gap: 0.8rem;
    padding-inline: 0.9rem;
  }

  .brand-logo {
    width: min(58vw, 220px);
    max-height: 48px;
  }

  .language-switch button {
    min-width: 40px;
  }

  .hero {
    min-height: 92vh;
    padding: calc(var(--header-height) + 3.5rem) 1rem 2rem;
    background:
      linear-gradient(90deg, rgba(21, 34, 40, 0.92) 0%, rgba(21, 34, 40, 0.7) 64%, rgba(21, 34, 40, 0.38) 100%),
      url("/assets/consulting-workspace.png") 58% center / cover no-repeat;
  }

  h1 {
    max-width: 12ch;
    overflow-wrap: normal;
    font-size: clamp(2.45rem, 12vw, 2.85rem);
  }

  h2 {
    font-size: 2.1rem;
  }

  .legal-hero {
    padding: 4rem 1rem 2rem;
  }

  .legal-hero h1 {
    font-size: 3rem;
  }

  .legal-content {
    padding: 3rem 1rem;
  }

  .hero-metrics,
  .intro,
  .section-heading,
  .credentials,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: auto;
  }

  .service-grid,
  .project-list,
  .timeline,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 1rem;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}
