/* ==========================================================================
   FHL production styles
   Layers: foundations → components → sections → responsive states
   ========================================================================== */

:root {
  --ink: #092335;
  --navy: #071c2d;
  --teal: #18b9aa;
  --teal-hover: #28cabc;
  --mint: #cceee8;
  --paper: #f3f0e9;
  --paper-light: #f8f6f1;
  --white: #fff;
  --muted: #59717b;
  --line: rgba(9, 35, 53, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: 1220px;
  --gutter: clamp(20px, 3.8vw, 48px);
  --section-space: clamp(72px, 8.3vw, 110px);
  --header-height: 92px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

::selection {
  background: var(--teal);
  color: var(--navy);
}

.shell {
  width: min(var(--shell), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b7a72;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: var(--teal);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 2px;
  background: var(--teal);
  color: #042126;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--teal-hover);
  box-shadow: 0 10px 24px rgba(7, 28, 45, 0.16);
}

.button-small {
  min-height: 42px;
  padding: 11px 17px;
  font-size: 11px;
}

/* Header component -------------------------------------------------------- */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 233, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(255px, 330px) 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.8vw, 36px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 118px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  max-width: 155px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 28px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding-block: 12px;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--teal);
  content: "";
  transition: transform 260ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.primary-nav a.is-active {
  color: #0b746c;
}

.mobile-contact {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.language-switcher button {
  min-width: 32px;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

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

.menu-toggle {
  display: none;
}

/* Hero component ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 28, 45, 0.99) 0%, rgba(7, 28, 45, 0.95) 47%, rgba(7, 28, 45, 0.13) 80%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0 0 0 42%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.04);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  padding-block: 78px 60px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  max-width: 800px;
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.35vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 em,
.section-heading h2 em,
.values-intro h2 em {
  color: var(--teal);
  font-style: italic;
}

.hero-lede {
  max-width: 610px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--teal);
  font-size: 20px;
  transition: transform 200ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-note {
  width: 228px;
  align-self: end;
  justify-self: end;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

.hero-note b {
  display: block;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.hero-note strong {
  display: block;
  margin-top: 9px;
  font-size: 14px;
}

.hero-note p {
  margin-top: 7px;
  color: #55717e;
  font-size: 11px;
}

/* Proof component --------------------------------------------------------- */

.proof {
  background: var(--teal);
  color: #062328;
}

.proof-grid {
  display: grid;
  min-height: 124px;
  grid-template-columns: 1.15fr 0.8fr 0.8fr 1fr;
}

.proof-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px 28px;
  border-right: 1px solid rgba(4, 33, 38, 0.18);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
}

.proof-item small {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* About component --------------------------------------------------------- */

.section-heading {
  display: grid;
  grid-template-columns: 28% 72%;
  align-items: start;
}

.section-heading h2 {
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5.7vw, 72px);
  margin-top: 68px;
}

.about-copy {
  padding-left: 28%;
}

.about-copy > p:first-child {
  font-size: 19px;
  line-height: 1.75;
}

.body-small {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.vision-card {
  position: relative;
  padding: 38px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.vision-card::after {
  position: absolute;
  right: 25px;
  bottom: -10px;
  color: rgba(255, 255, 255, 0.05);
  content: "FHL";
  font-family: Arial, sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
}

.vision-card span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vision-card p {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  line-height: 1.35;
}

/* Capabilities component -------------------------------------------------- */

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

.capabilities-heading,
.impact-heading,
.experts-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: end;
  gap: 60px;
}

.capabilities-heading h2,
.impact-heading h2,
.experts-heading h2 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.capabilities-heading > p,
.impact-heading > p,
.experts-heading > p {
  color: #60747d;
  line-height: 1.65;
}

.service-list {
  margin-top: 62px;
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 62px 142px minmax(260px, 1fr) minmax(280px, 330px);
  align-items: center;
  gap: 24px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  transition: transform 300ms ease;
}

.service-row::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transition: width 450ms ease;
}

.service-row:hover {
  transform: translateX(6px);
}

.service-row:hover::before {
  width: 100%;
}

.service-number {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.service-media {
  width: 142px;
  height: 88px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
  transition: filter 350ms ease, transform 350ms ease;
}

.service-row:hover .service-media img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.03);
}

.service-row h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.25;
}

.service-row p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Method component -------------------------------------------------------- */

.method {
  background: var(--mint);
}

.method-grid {
  display: grid;
  grid-template-columns: 31% minmax(0, 1fr);
  gap: clamp(44px, 5.6vw, 70px);
}

.method h2 {
  margin-top: 23px;
  font-family: var(--serif);
  font-size: clamp(46px, 4.45vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.method-intro {
  font-size: 17px;
  line-height: 1.75;
}

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
  border-top: 1px solid rgba(9, 35, 53, 0.25);
}

.advantage {
  padding: 28px 26px 28px 0;
  border-bottom: 1px solid rgba(9, 35, 53, 0.25);
}

.advantage:nth-child(odd) {
  border-right: 1px solid rgba(9, 35, 53, 0.25);
}

.advantage:nth-child(even) {
  padding-left: 28px;
}

.advantage span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
}

.advantage h3 {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.4;
}

/* Impact component -------------------------------------------------------- */

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

.impact-heading > p {
  color: rgba(255, 255, 255, 0.67);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.95fr;
  gap: 18px;
  margin-top: 62px;
}

.case-card {
  position: relative;
  display: flex;
  min-height: 370px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 350ms ease, border-color 350ms ease, background-color 350ms ease;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(24, 185, 170, 0.72);
  background-color: rgba(255, 255, 255, 0.035);
}

.case-card-media {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.case-card-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(7, 28, 45, 0.4), rgba(7, 28, 45, 0.94));
  content: "";
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 500ms var(--ease-out), filter 350ms ease;
}

.case-card-featured:hover .case-card-media img {
  transform: scale(1.025);
  filter: saturate(0.92);
}

.case-tag {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-card h3 {
  max-width: 360px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.3;
}

.case-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
}

/* Experts component ------------------------------------------------------- */

.experts {
  background: var(--paper-light);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 58px;
}

.person-card {
  display: grid;
  min-height: 310px;
  grid-template-rows: 84px 1fr;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.person-card:hover {
  transform: translateY(-8px);
  border-color: rgba(24, 185, 170, 0.55);
  box-shadow: 0 18px 34px rgba(9, 35, 53, 0.09);
}

.monogram {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--teal);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
}

.person-card > div:last-child {
  display: grid;
  min-height: 126px;
  grid-template-rows: 56px 1fr;
  align-self: end;
  align-content: end;
}

.person-card h3 {
  align-self: end;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.person-card p {
  margin-top: 12px;
  color: #60747d;
  font-size: 12px;
  line-height: 1.55;
}

/* Smart Values component -------------------------------------------------- */

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

.values-shell {
  display: grid;
  min-height: 306px;
  grid-template-columns: 34% 66%;
  overflow: hidden;
  border: 1px solid var(--line);
}

.values-intro {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.values-intro h2 {
  max-width: 310px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.values-intro > p:last-of-type {
  max-width: 280px;
  margin-top: 17px;
  color: #5b7078;
  font-size: 12px;
  line-height: 1.55;
}

.values-counter {
  position: absolute;
  right: 28px;
  bottom: 12px;
  color: rgba(9, 35, 53, 0.08);
  font-family: var(--serif);
  font-size: 82px;
  font-style: italic;
  line-height: 1;
}

.values-console {
  display: grid;
  grid-template-rows: 98px 1fr;
  background: var(--navy);
  color: var(--white);
}

.values-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.values-tab {
  position: relative;
  min-width: 0;
  padding: 18px 18px 16px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  text-align: left;
}

.values-tab:last-child {
  border-right: 0;
}

.values-tab::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: transparent;
  content: "";
}

.values-tab[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.values-tab[aria-selected="true"]::after {
  background: var(--teal);
}

.values-tab small {
  display: block;
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.values-tab span {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.08;
}

.value-panel {
  position: relative;
  padding: 27px 38px 24px;
}

.value-panel::after {
  position: absolute;
  right: 28px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.035);
  content: "FHL";
  font-family: Arial, sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
}

.value-detail-top {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: start;
  gap: 22px;
}

.value-detail-number {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.value-detail-copy h3 {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.value-detail-copy p {
  max-width: 520px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.value-practice {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 19px 0 0 80px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.value-practice strong {
  color: rgba(255, 255, 255, 0.42);
}

.value-practice span {
  position: relative;
}

.value-practice span + span::before {
  position: absolute;
  left: -12px;
  color: var(--teal);
  content: "·";
}

.value-panel.is-changing {
  animation: value-reveal 280ms ease both;
}

@keyframes value-reveal {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact + footer components -------------------------------------------- */

.contact {
  padding-top: 0;
  background: var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: var(--ink);
  color: var(--white);
}

.contact-copy {
  padding: clamp(42px, 5.2vw, 66px);
}

.contact-copy h2 {
  max-width: 670px;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(44px, 4.3vw, 54px);
  font-weight: 400;
  line-height: 1.05;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.contact-copy .button {
  margin-top: 32px;
}

.contact-media {
  min-height: 410px;
  overflow: hidden;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}

.site-footer {
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 50px;
  padding-block: 50px;
}

.footer-brand .brand-logo {
  width: 124px;
  height: 64px;
}

.footer-grid h2 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid address {
  margin-top: 12px;
  color: #62767d;
  font-size: 12px;
  font-style: normal;
  line-height: 1.7;
}

.footer-grid a:not(.brand):hover {
  color: #0b746c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  color: #77878d;
  font-size: 10px;
}

/* Motion ------------------------------------------------------------------ */

html.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms var(--ease-out);
}

html.motion-enabled .reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
html.motion-enabled .reveal[data-reveal-delay="2"] { transition-delay: 160ms; }
html.motion-enabled .reveal[data-reveal-delay="3"] { transition-delay: 240ms; }
html.motion-enabled .reveal[data-reveal-delay="4"] { transition-delay: 320ms; }

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

html.motion-enabled .hero h1 {
  animation: hero-in 800ms var(--ease-out) both;
}

html.motion-enabled .hero-lede,
html.motion-enabled .hero-actions {
  animation: hero-in 800ms 160ms var(--ease-out) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet ------------------------------------------------------------------ */

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

  .brand-logo {
    width: 104px;
  }

  .brand-name {
    font-size: 9px;
  }

  .primary-nav {
    gap: 14px;
    font-size: 11px;
  }

  .header-contact {
    display: none;
  }

  .service-row {
    grid-template-columns: 48px 126px minmax(230px, 1fr) minmax(240px, 300px);
    gap: 18px;
  }

  .service-media {
    width: 126px;
  }

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

  .person-card:nth-child(4),
  .person-card:nth-child(5) {
    min-height: 270px;
  }

  .values-shell {
    grid-template-columns: 31% 69%;
  }

  .values-intro,
  .value-panel {
    padding: 28px;
  }

  .values-tab {
    padding-inline: 13px;
  }

  .values-tab span {
    font-size: 15px;
  }
}

/* Mobile navigation breakpoint ------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-toggle-icon {
    display: grid;
    width: 22px;
    gap: 6px;
  }

  .menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: -1;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100dvh - var(--header-height));
    justify-content: stretch;
    gap: 0;
    padding: 20px var(--gutter) 30px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 32px rgba(7, 28, 45, 0.14);
    font-family: var(--serif);
    font-size: clamp(24px, 6vw, 34px);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 220ms ease, opacity 220ms ease, transform 220ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding-block: 17px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .mobile-contact {
    display: inline-flex;
    width: fit-content;
    min-height: 46px;
    align-items: center;
    margin-top: 22px;
    padding: 12px 18px;
    border: 0;
    background: var(--teal);
    color: var(--navy);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .capabilities-heading,
  .impact-heading,
  .experts-heading {
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 36px;
  }

  .service-row {
    grid-template-columns: 44px 118px minmax(220px, 1fr);
  }

  .service-row > p {
    grid-column: 3;
  }

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

  .case-card-featured {
    grid-column: 1 / -1;
  }

  .values-shell {
    grid-template-columns: 1fr;
  }

  .values-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .values-intro > p:last-of-type {
    max-width: 480px;
  }
}

/* Small tablets and phones ------------------------------------------------ */

@media (max-width: 720px) {
  :root {
    --section-space: 72px;
  }

  .brand-logo {
    width: 94px;
    height: 50px;
  }

  .brand-name {
    display: none;
  }

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

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(7, 28, 45, 0.65) 0%, rgba(7, 28, 45, 0.9) 44%, rgba(7, 28, 45, 1) 78%);
  }

  .hero-media {
    inset: 0;
    height: 62%;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-grid {
    min-height: 720px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 28px;
    padding-block: 76px 38px;
  }

  .hero h1 {
    max-width: 620px;
    margin-top: 22px;
    font-size: clamp(44px, 11vw, 62px);
    line-height: 0.98;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin-top: 26px;
  }

  .hero-note {
    display: none;
  }

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

  .proof-item,
  .proof-item:first-child {
    min-height: 112px;
    padding: 20px;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(4, 33, 38, 0.18);
  }

  .proof-item span {
    font-size: 24px;
  }

  .section-heading,
  .capabilities-heading,
  .impact-heading,
  .experts-heading,
  .method-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .capabilities-heading,
  .impact-heading,
  .experts-heading {
    gap: 28px;
  }

  .section-heading h2,
  .capabilities-heading h2,
  .impact-heading h2,
  .experts-heading h2 {
    font-size: clamp(40px, 10vw, 52px);
    line-height: 1.03;
  }

  .about-grid {
    gap: 34px;
    margin-top: 42px;
  }

  .about-copy {
    padding-left: 0;
  }

  .about-copy > p:first-child {
    font-size: 17px;
    line-height: 1.7;
  }

  .vision-card {
    padding: 30px;
  }

  .vision-card p {
    font-size: 26px;
  }

  .capabilities-heading > p,
  .impact-heading > p,
  .experts-heading > p {
    max-width: 560px;
  }

  .service-list {
    margin-top: 44px;
  }

  .service-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px 14px;
    padding-block: 28px;
  }

  .service-row:hover {
    transform: none;
  }

  .service-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .service-number {
    grid-column: 1;
    grid-row: 2;
    padding-top: 4px;
  }

  .service-row h3 {
    grid-column: 2;
    grid-row: 2;
    font-size: clamp(25px, 7vw, 31px);
  }

  .service-row > p {
    grid-column: 2;
    grid-row: 3;
  }

  .method-grid {
    gap: 38px;
  }

  .method h2 {
    font-size: 48px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .advantage,
  .advantage:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .case-card-featured {
    grid-column: auto;
  }

  .case-card {
    min-height: 330px;
    padding: 28px;
  }

  .people-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 44px;
  }

  .person-card,
  .person-card:nth-child(4),
  .person-card:nth-child(5) {
    min-height: 250px;
    padding: 22px;
  }

  .values {
    padding-top: 0;
  }

  .values-intro {
    padding: 30px;
  }

  .values-intro h2 {
    font-size: 38px;
  }

  .values-console {
    grid-template-rows: auto 1fr;
  }

  .values-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .values-tab {
    min-height: 96px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .values-tab:nth-child(2) {
    border-right: 0;
  }

  .value-panel {
    min-height: 260px;
    padding: 28px;
  }

  .value-detail-top {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .value-detail-copy h3 {
    font-size: 28px;
    line-height: 1.1;
  }

  .value-practice {
    align-items: flex-start;
    margin-left: 56px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding: 42px 30px;
  }

  .contact-copy h2 {
    font-size: clamp(39px, 10vw, 50px);
  }

  .contact-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Narrow phones ----------------------------------------------------------- */

@media (max-width: 430px) {
  .header-inner {
    gap: 8px;
  }

  .brand-logo {
    width: 82px;
  }

  .language-switcher button {
    min-width: 30px;
    padding-inline: 6px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-grid {
    min-height: 700px;
  }

  .hero-actions {
    display: grid;
    justify-items: start;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-item span {
    font-size: 21px;
  }

  .proof-item small {
    font-size: 9px;
  }

  .method h2 {
    font-size: 43px;
  }

  .case-card h3 {
    font-size: 25px;
  }

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

  .person-card,
  .person-card:nth-child(4),
  .person-card:nth-child(5) {
    min-height: 220px;
  }

  .values-intro,
  .value-panel {
    padding: 24px;
  }

  .values-tab {
    padding-inline: 12px;
  }

  .values-tab span {
    font-size: 14px;
  }

  .value-detail-top {
    grid-template-columns: 1fr;
  }

  .value-practice {
    margin-left: 0;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-note {
    flex-direction: column;
    gap: 7px;
  }
}

@media (hover: none) {
  .service-row:hover,
  .case-card:hover,
  .person-card:hover,
  .button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  html.motion-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .skip-link {
    display: none;
  }

  .hero,
  .impact,
  .values-console,
  .contact-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .section {
    break-inside: avoid;
  }
}
