:root {
  --ink: #101820;
  --muted: #65727a;
  --paper: #f2f0e8;
  --white: #fffdf8;
  --navy: #0b2532;
  --green: #0f766d;
  --coral: #ea765f;
  --steel: #78909a;
  --mist: #dfe8e4;
  --line: rgba(19, 33, 43, 0.14);
  --shadow: 0 28px 90px rgba(9, 29, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.055) 1px, transparent 1px) 0 0 / 6.25vw 100%,
    var(--paper);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 18px 18px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 21, 30, 0.62);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}

.brand strong {
  font-size: 0.94rem;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  appearance: none;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.78);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: clamp(116px, 12vw, 166px) 18px 34px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(234, 118, 95, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(8, 21, 29, 0.94) 0%, rgba(8, 21, 29, 0.72) 45%, rgba(8, 21, 29, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 21, 29, 0.86), rgba(8, 21, 29, 0.04) 50%);
}

.hero__content {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-bottom: clamp(86px, 8vw, 126px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 1060px;
  font-size: clamp(4rem, 9vw, 9rem);
  letter-spacing: -0.02em;
}

.hero__claim {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.22;
}

.hero__lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.button--subtle {
  color: rgba(255, 253, 248, 0.9);
  background: rgba(255, 255, 255, 0.02);
}

.hero__proof {
  position: absolute;
  right: max(18px, calc((100vw - 1240px) / 2));
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  max-width: 690px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero__proof div {
  padding: 18px;
  background: rgba(9, 28, 39, 0.64);
}

.hero__proof span,
.metrics span,
.timeline p,
.credential-list p,
.case-kicker,
.fit-grid p,
.signature p {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__proof span {
  display: block;
  color: rgba(255, 253, 248, 0.66);
  margin-bottom: 8px;
}

.hero__proof strong {
  color: var(--white);
  line-height: 1.25;
}

section:not(.hero) {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  scroll-margin-top: 118px;
}

.marquee {
  display: flex;
  gap: clamp(18px, 4vw, 54px);
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  color: rgba(255, 253, 248, 0.84);
  background: var(--navy);
  white-space: nowrap;
}

.marquee span {
  position: relative;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.marquee span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(18px, 4vw, 54px) * -0.58);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 7vw, 92px);
  padding: clamp(86px, 11vw, 146px) 0;
}

.intro__copy > p {
  margin: 0;
  color: #31434d;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.58;
}

.signature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 28px;
  padding: clamp(34px, 6vw, 62px);
  border-left: 8px solid var(--coral);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(230, 241, 238, 0.86)),
    var(--white);
  box-shadow: var(--shadow);
}

.signature h2 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5.2vw, 4.95rem);
}

.signature p {
  margin: 0;
  color: #31434d;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.72;
}

.value-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.value-map article,
.credential-list article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.value-map span {
  color: var(--green);
  font-weight: 800;
}

.value-map p,
.case-panel p,
.case-panel li,
.credential-list p,
.timeline p {
  line-height: 1.58;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metrics div {
  min-height: 228px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 0.9;
}

.fit {
  padding-top: clamp(38px, 7vw, 82px);
}

.fit .section-heading {
  padding-top: 0;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fit-grid article {
  min-height: 245px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 40px rgba(9, 29, 39, 0.06);
}

.fit-grid span {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--steel);
  font-weight: 800;
}

.fit-grid h3 {
  font-size: 1.16rem;
}

.fit-grid p {
  margin: 14px 0 0;
  line-height: 1.58;
}

.section-heading {
  padding: clamp(82px, 10vw, 132px) 0 34px;
}

.case-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.case-tabs {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 100px;
}

.case-tab {
  appearance: none;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.62);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.case-tab.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.case-stage {
  min-height: 445px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 109, 0.16), rgba(234, 118, 95, 0.14)),
    var(--white);
  box-shadow: var(--shadow);
}

.case-panel {
  display: none;
  padding: clamp(28px, 5vw, 64px);
}

.case-panel.is-active {
  display: block;
}

.case-panel h3 {
  max-width: 760px;
  margin-top: 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.5rem, 4.6vw, 4.65rem);
  font-weight: 400;
  line-height: 1;
}

.case-panel p {
  max-width: 680px;
  margin: 24px 0;
  color: #31434d;
  font-size: 1.12rem;
}

.case-panel ul {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 860px;
  overflow: hidden;
  border: 1px solid rgba(19, 33, 43, 0.12);
  border-radius: 8px;
  background: rgba(19, 33, 43, 0.12);
}

.case-meta div {
  min-height: 138px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.76);
}

.case-meta span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-meta strong {
  display: block;
  color: #243842;
  font-size: 0.96rem;
  line-height: 1.42;
}

.case-panel li {
  position: relative;
  padding-left: 24px;
}

.case-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.experience {
  padding-bottom: 14px;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.timeline p {
  margin: 8px 0 0;
}

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 7vw, 92px);
  padding: clamp(72px, 10vw, 130px) 0;
}

.credential-list {
  display: grid;
  gap: 24px;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 30px;
  padding: clamp(42px, 7vw, 72px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(234, 118, 95, 0.18), transparent 36%),
    var(--navy);
}

.contact h2 {
  max-width: 780px;
}

.contact .button--ghost {
  color: var(--white);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 22px;
  }

  nav {
    display: none;
  }

  .site-header {
    align-items: center;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-bottom: 30px;
  }

  .hero__proof {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: min(100%, 620px);
    margin: 28px auto 0;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .marquee {
    overflow-x: auto;
  }

  .section-grid,
  .credentials,
  .case-shell,
  .timeline article,
  .signature {
    grid-template-columns: 1fr;
  }

  .value-map,
  .metrics,
  .fit-grid,
  .case-meta {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .case-tabs {
    position: static;
    grid-template-columns: 1fr;
  }

  .contact {
    display: block;
    padding: 30px 22px;
  }
}

@media (max-width: 520px) {
  .site-header {
    inset: 12px 12px auto;
    width: calc(100% - 24px);
  }

  section:not(.hero) {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(3.4rem, 16.5vw, 5rem);
  }

  .hero__claim {
    font-size: 1.32rem;
  }

  .hero__actions,
  .contact__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
