:root {
  --navy: #152943;
  --aqua: #00fff5;
  --green: #78fa93;
  --pink: #ff429e;
  --paper: #edf1f5;
  --line: #dce1e7;
  --body: "urbane", Arial, sans-serif;
  --display: "le-monde-livre-std", Georgia, serif;
  --gutter: clamp(24px, 5.2vw, 88px);
  --image-curve: clamp(40px, 6vw, 88px);
  --image-curve-small: clamp(18px, 2.4vw, 32px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd0871;
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h3 {
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.35;
}
p {
  max-width: 65ch;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--navy);
  color: white;
  padding: 14px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.header {
  min-height: 112px;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
  background: white;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  width: 204px;
  height: auto;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 44px);
  font-size: 14px;
  font-weight: 500;
}
.desktop-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.desktop-nav a:hover {
  border-color: var(--navy);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: var(--navy);
  color: white;
  padding: 17px 24px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--navy);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--aqua);
  color: var(--navy);
}
.button span {
  font-size: 23px;
  line-height: 1;
}
.button.small {
  padding: 12px 20px;
  gap: 28px;
}
.menu-toggle {
  display: none;
}
.hero {
  background: var(--paper);
  padding: 68px var(--gutter) 0;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  column-gap: 4.5%;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(70px, 7.5vw, 124px);
  line-height: 0.99;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}
.holds {
  position: relative;
  display: inline-block;
}
.underline {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 36px;
  color: var(--aqua);
  z-index: -1;
}
.period {
  color: var(--navy);
}
.hero-intro {
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}
.hero-body {
  font-size: 16px;
  max-width: 465px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.hero-copy {
  padding-bottom: 54px;
}
.hero-visual {
  position: relative;
  padding-top: 12px;
  align-self: stretch;
  padding-bottom: 56px;
  min-width: 0;
}
.hero-photo {
  height: 100%;
  min-height: 500px;
  position: relative;
  background: var(--navy);
  border-radius: var(--image-curve) 0 var(--image-curve-small) 0;
  overflow: hidden;
}
.hero-photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 43% center;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(10, 27, 46, 0.82));
}
.photo-note {
  position: absolute;
  bottom: 38px;
  left: 35px;
  right: 20px;
  z-index: 2;
  color: #fff;
}
.photo-note p {
  font-family: var(--display);
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.mini-rule {
  display: block;
  width: 44px;
  height: 5px;
  background: var(--aqua);
  margin-bottom: 19px;
}
.hero-device {
  width: 116px;
  height: 116px;
  position: absolute;
  right: -35px;
  top: -22px;
  object-fit: contain;
  z-index: 3;
}
.image-caption {
  position: absolute;
  bottom: 27px;
  left: 0;
  font-size: 12px;
  letter-spacing: 0.015em;
}
.hero-foot {
  grid-column: 1/-1;
  border-top: 1px solid #cdd4dc;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 500;
}
.hero-foot a span {
  margin-left: 18px;
  font-size: 20px;
}
.section {
  padding: 105px var(--gutter);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8%;
  margin-bottom: 48px;
}
.section-heading .eyebrow {
  grid-column: 1/-1;
}
.section-heading h2 {
  font-size: clamp(42px, 4vw, 65px);
}
.section-heading > p:last-child {
  font-size: 18px;
  align-self: end;
  max-width: 520px;
  padding-bottom: 4px;
}
.thinking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: start;
}
.thinking-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: 0 var(--image-curve) 0 var(--image-curve-small);
}
.thinking-photo figcaption {
  font-size: 12px;
  margin-top: 15px;
}
.principle {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.principle:first-child {
  padding-top: 0;
  border: 0;
}
.principle > span {
  font-size: 12px;
  color: #4e6278;
  padding-top: 4px;
}
.principle h3 {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.principle p {
  font-size: 15px;
  line-height: 1.85;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding: 5px 0;
  transition: opacity 0.2s;
}
.text-link:hover {
  opacity: 0.65;
}
.text-link > span {
  font-size: 21px;
}
.principles > .text-link {
  margin-left: 40px;
  margin-top: 10px;
}
.proof {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.proof-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.proof-top .eyebrow {
  color: var(--aqua);
  margin: 0;
}
.proof-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8%;
  align-items: center;
}
.case-client {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}
.case-client span {
  font-weight: 300;
  margin-left: 22px;
  color: #c0cbd8;
}
.proof h2 {
  font-size: clamp(40px, 4.2vw, 65px);
  line-height: 1.1;
}
.proof h2 em {
  font-style: normal;
  color: var(--green);
}
.case-intro {
  font-size: 16px;
  color: #e2e8ed;
  max-width: 510px;
  line-height: 1.8;
  margin-top: 27px;
}
.result {
  padding-left: 30px;
}
.result-number {
  font-size: clamp(76px, 10vw, 160px);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 1.1;
  color: var(--green);
}
.result-number > span {
  font-size: 0.5em;
  letter-spacing: -0.02em;
}
.result > p {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 16px;
}
.result-source {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  max-width: 250px;
  margin-top: 23px;
  color: #bcc8d5;
}
.case-details {
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid #4c5b70;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.case-details h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.case-details p {
  font-size: 14px;
  color: #d6e0e9;
  line-height: 1.8;
}
.button.light {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--navy);
  white-space: nowrap;
  align-self: center;
}
.button.light:hover {
  background: #fff;
  border-color: #fff;
}
.expertise {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 60px 9%;
}
.expertise h2 {
  font-size: clamp(44px, 4.6vw, 72px);
  margin-bottom: 24px;
}
.expertise-intro > p:not(.eyebrow) {
  font-size: 16px;
  max-width: 350px;
}
.expertise-device {
  margin-top: 35px;
  width: 125px;
  height: 125px;
  object-fit: contain;
}
.situations {
  border-top: 1px solid var(--navy);
}
details {
  border-bottom: 1px solid #c5ced7;
}
summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] summary > span {
  transform: rotate(45deg);
}
.detail-body {
  padding: 0 38px 28px 0;
}
.detail-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.service-strip {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  font-size: 13px;
}
.service-strip span {
  color: #53657a;
}
.service-strip a {
  font-weight: 500;
}
.service-strip a:hover {
  text-decoration: underline;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: var(--green);
  min-height: 510px;
}
.contact-photo {
  min-height: 100%;
  overflow: hidden;
  border-radius: 0 var(--image-curve) var(--image-curve-small) 0;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-copy {
  padding: 65px var(--gutter) 65px 65px;
}
.contact h2 {
  font-size: clamp(38px, 3.9vw, 61px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.contact h2 span {
  color: var(--navy);
}
.contact-copy > p:not(.eyebrow) {
  font-size: 16px;
  margin: 25px 0;
  max-width: 440px;
}
.contact .button:hover {
  background: white;
}
footer {
  padding: 54px var(--gutter) 26px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 38px 60px;
  align-items: start;
}
footer > p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}
footer > div {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  font-size: 14px;
}
footer a:hover {
  text-decoration: underline;
}
.copyright {
  grid-column: 1/-1;
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #586a7e;
}
@media (min-width: 1700px) {
  .hero,
  .section,
  .header,
  footer {
    padding-left: max(var(--gutter), calc((100vw - 1560px) / 2));
    padding-right: max(var(--gutter), calc((100vw - 1560px) / 2));
  }
  .hero h1 {
    font-size: 120px;
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 22px;
  }
  .desktop-nav {
    gap: 18px;
    font-size: 12px;
  }
  .brand img {
    width: 170px;
  }
  .hero {
    column-gap: 35px;
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-body {
    font-size: 15px;
  }
  .hero-photo {
    min-height: 510px;
  }
  .hero-device {
    right: -15px;
    width: 90px;
    height: 90px;
  }
  .hero-intro {
    font-size: 18px;
  }
  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .thinking-layout,
  .section-heading {
    gap: 40px;
  }
  .thinking-photo img {
    height: 460px;
  }
  .principle h3 {
    font-size: 19px;
  }
  .principle p {
    font-size: 14px;
  }
  .case-details {
    grid-template-columns: 1fr 1fr;
  }
  .case-details .button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .expertise {
    gap: 45px;
  }
  .contact-copy {
    padding: 45px 35px;
  }
  .contact h2 {
    font-size: 42px;
  }
  footer {
    column-gap: 30px;
  }
  footer > div {
    gap: 16px;
  }
}
@media (max-width: 780px) {
  .header {
    min-height: 86px;
    padding: 20px 24px;
    justify-content: space-between;
  }
  .brand img {
    width: 170px;
  }
  .desktop-nav,
  .header-contact {
    display: none;
  }
  .menu-toggle {
    display: flex;
    gap: 16px;
    align-items: center;
    background: transparent;
    border: 0;
    font-size: 14px;
    color: var(--navy);
    font-weight: 500;
    padding: 8px;
  }
  .menu-toggle span {
    font-size: 22px;
  }
  #mobile-nav:not([hidden]) {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 24px 25px;
    flex-direction: column;
    box-shadow: 0 12px 18px #15294315;
  }
  #mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 37px;
    gap: 0;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 23px;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: clamp(64px, 12vw, 95px);
    margin-bottom: 37px;
  }
  .hero-intro {
    font-size: 19px;
  }
  .hero-body {
    max-width: 550px;
    font-size: 16px;
  }
  .hero-copy {
    padding-bottom: 40px;
  }
  .hero-visual {
    height: 440px;
    padding-top: 0;
    padding-bottom: 38px;
    margin: 0 0 0 20px;
  }
  .hero-photo {
    min-height: 0;
    height: 100%;
  }
  .hero-photo > img {
    object-position: center 40%;
  }
  .hero-device {
    width: 92px;
    height: 92px;
    right: -18px;
    top: -23px;
  }
  .photo-note {
    left: 25px;
    bottom: 27px;
  }
  .photo-note p {
    font-size: 31px;
  }
  .image-caption {
    bottom: 12px;
    font-size: 11px;
  }
  .hero-foot {
    padding: 18px 0;
    margin-top: 12px;
    font-size: 11px;
    gap: 20px;
  }
  .hero-foot > span {
    max-width: 170px;
  }
  .hero-foot a {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .hero-foot a span {
    margin-left: 8px;
  }
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 30px;
  }
  .section-heading .eyebrow {
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 43px;
    margin-bottom: 24px;
  }
  .section-heading > p:last-child {
    font-size: 16px;
  }
  .thinking-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .thinking-photo img {
    height: 330px;
  }
  .thinking-photo figcaption {
    font-size: 11px;
  }
  .principle {
    padding: 22px 0;
    gap: 18px;
  }
  .principle h3 {
    font-size: 21px;
  }
  .principle p {
    font-size: 15px;
  }
  .principles > .text-link {
    margin-left: 33px;
  }
  .proof-top {
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 20px;
  }
  .proof-top .eyebrow {
    max-width: 110px;
  }
  .proof-top .text-link {
    font-size: 12px;
    padding-top: 0;
    gap: 10px;
  }
  .proof-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .proof h2 {
    font-size: 42px;
  }
  .case-client {
    font-size: 12px;
  }
  .case-client span {
    margin-left: 14px;
  }
  .case-intro {
    font-size: 15px;
  }
  .result {
    padding-left: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 25px;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #4c5b70;
  }
  .result-number {
    font-size: 88px;
  }
  .result > p {
    font-size: 16px;
    margin: 0;
  }
  .result-source {
    grid-column: 1/-1;
    max-width: none;
    margin: 0;
    font-size: 11px;
  }
  .case-details {
    margin-top: 32px;
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .case-details h3 {
    font-size: 16px;
  }
  .case-details p {
    font-size: 15px;
  }
  .expertise {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .expertise h2 {
    font-size: 46px;
  }
  .expertise h2 br {
    display: none;
  }
  .expertise-device {
    display: none;
  }
  .expertise-intro > p:not(.eyebrow) {
    max-width: none;
  }
  .situations summary {
    font-size: 18px;
    padding: 24px 0;
  }
  .detail-body {
    padding-right: 20px;
  }
  .service-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 12px;
  }
  .service-strip span {
    grid-column: 1/-1;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .contact-photo {
    height: 330px;
    min-height: 0;
  }
  .contact-photo img {
    object-position: center 30%;
  }
  .contact-copy {
    padding: 40px 24px 48px;
  }
  .contact h2 {
    font-size: 43px;
  }
  .contact-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }
  footer > p {
    font-size: 18px;
  }
  footer > div {
    justify-content: flex-start;
    gap: 30px;
  }
  .copyright {
    margin-top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

footer .footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
footer .footer-bottom .copyright {
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
footer .footer-bottom {
  flex-wrap: wrap;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  transition: background-color 180ms ease, border-color 180ms ease;
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
footer .social-link:hover,
footer .social-link:focus-visible {
  background: var(--aqua);
  border-color: var(--aqua);
  text-decoration: none;
}
@media (max-width: 480px) {
  footer .footer-bottom .back-to-top {
    flex-basis: 100%;
  }
}
footer .back-to-top {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
footer .back-to-top span {
  margin-left: 10px;
  font-size: 20px;
}

.arrow-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arrow-icon--down {
  transform: rotate(90deg);
}
.arrow-icon--up {
  transform: rotate(-90deg);
}
.button .arrow-icon {
  width: 24px;
  height: 24px;
}

.case-slide[hidden],
.case-controls[hidden] {
  display: none;
}
.case-slides {
  touch-action: pan-y pinch-zoom;
  min-height: 555px;
}
.case-slide .result-word {
  font-size: clamp(38px, 4.8vw, 72px);
  letter-spacing: -0.02em;
}
.case-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #4c5b70;
  margin-top: 40px;
  padding-top: 24px;
}
.case-status {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.case-status span {
  font-weight: 300;
  color: #d6e0e9;
  margin-left: 20px;
}
.case-navigation,
.case-pages {
  display: flex;
  gap: 8px;
  align-items: center;
}
.case-navigation button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: 1px solid #708095;
  color: white;
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}
.case-navigation .case-page {
  border-color: transparent;
}
.case-navigation button:hover,
.case-navigation .case-page[aria-current="true"] {
  background: var(--aqua);
  color: var(--navy);
  border-color: var(--aqua);
}
.arrow-icon--left {
  transform: rotate(180deg);
}
.case-navigation button:focus-visible {
  outline-color: var(--aqua);
}
@media (max-width: 1100px) {
  .case-slides {
    min-height: 650px;
  }
  .case-status span {
    display: block;
    margin: 5px 0 0;
  }
}
@media (max-width: 780px) {
  .case-slides {
    min-height: 790px;
  }
  .case-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
  }
  .case-navigation {
    width: 100%;
    justify-content: space-between;
  }
  .case-status span {
    display: inline;
    margin: 0 0 0 12px;
  }
  .case-slide .result-word {
    font-size: 36px;
  }
  .case-slide .case-client span {
    display: block;
    margin: 5px 0 0;
  }
  .case-slide .result {
    grid-template-columns: auto 1fr;
  }
  .case-slide .result-number:not(.result-word) {
    font-size: 76px;
  }
}

/* Compact, persistent navigation. */
html {
  scroll-padding-top: 104px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    min-height 0.22s ease,
    padding 0.22s ease,
    box-shadow 0.22s ease;
}
.header .brand img {
  transition: width 0.22s ease;
}
.header.is-compact {
  min-height: 80px;
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 5px 20px #1529430d;
}
.header.is-compact .brand img {
  width: 180px;
}
.skip {
  position: fixed;
  z-index: 101;
}
@media (max-width: 1100px) {
  .header.is-compact .brand img {
    width: 155px;
  }
}
@media (max-width: 780px) {
  html {
    scroll-padding-top: 92px;
  }
  .header.is-compact {
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header.is-compact .brand img {
    width: 150px;
  }
  #mobile-nav:not([hidden]) {
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
  }
  .header.is-compact #mobile-nav:not([hidden]) {
    max-height: calc(100dvh - 68px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .header,
  .header .brand img {
    transition: none;
  }
}

a[aria-disabled="true"] {
  cursor: default;
}
a[aria-disabled="true"]:hover {
  opacity: 1;
  text-decoration: none;
}
.button[aria-disabled="true"]:hover {
  background: var(--navy);
  color: white;
}
.button.light[aria-disabled="true"]:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--navy);
}
.desktop-nav a[aria-disabled="true"]:hover {
  border-color: transparent;
}

@media (max-width: 780px) {
  .case-slides {
    min-height: 0;
  }
  .case-controls {
    margin: 0 0 28px;
    padding: 0 0 22px;
    border-top: 0;
    border-bottom: 1px solid #4c5b70;
    gap: 14px;
  }
  .case-status {
    min-height: 48px;
  }
  .case-status span {
    display: block;
    margin: 3px 0 0;
  }
  .case-navigation {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }
  .case-pages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
  }
  .case-navigation .case-page {
    width: 100%;
    min-width: 0;
    height: 44px;
  }
}

/* Pagination precedes the story at every viewport size. */
.case-controls {
  margin: 0 0 36px;
  padding: 0 0 24px;
  border-top: 0;
  border-bottom: 1px solid #4c5b70;
}
@media (max-width: 780px) {
  .proof {
    overflow: visible;
  }
  .case-carousel {
    position: relative;
  }
  .case-controls {
    position: sticky;
    top: var(--site-header-height, 68px);
    z-index: 10;
    background: var(--navy);
    margin: 0 0 28px;
    padding: 14px 0 18px;
    box-shadow: 0 8px 12px -10px #0008;
  }
  .case-carousel :is(button, a) {
    scroll-margin-top: calc(var(--site-header-height, 68px) + 160px);
  }
}

/* Mobile: full logo at the top, a smaller left-aligned shield on scroll. */
.header .brand-mark {
  display: none;
}
@media (max-width: 780px) {
  html {
    scroll-padding-top: calc(var(--site-header-height, 80px) + 16px);
  }
  .header {
    min-height: 80px;
    padding: 10px 24px;
  }
  .header .brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 44px;
    min-height: 44px;
  }
  .header .brand-wordmark {
    display: block;
    width: 170px;
    height: auto;
  }
  .header.is-compact {
    min-height: 48px;
    padding: 1px 24px;
  }
  .header.is-compact .brand-wordmark {
    display: none;
  }
  .header.is-compact .brand .brand-mark {
    display: block;
    width: 32px;
    height: auto;
    transition: none;
  }
  .header .menu-toggle {
    min-height: 44px;
    padding: 0 8px;
  }
  .header #mobile-nav:not([hidden]),
  .header.is-compact #mobile-nav:not([hidden]) {
    max-height: calc(100dvh - var(--site-header-height, 48px));
  }
}

/* Gesture feedback without taking over vertical scrolling or pinch zoom. */
.case-slides {
  overflow: hidden;
}
.case-slides.is-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  .case-slides { cursor: grab; }
  .case-slides a { cursor: pointer; }
}
.case-slides:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 6px;
}
.case-slide + .case-slide:not([hidden]) {
  margin-top: 64px;
}
.case-slides.is-enhanced .case-slide {
  margin-top: 0;
}

/* Regional links stay in the header on desktop and inside the mobile menu. */
.header { gap: clamp(12px, 2.2vw, 40px); }
.header-contact,
.header-contact:hover,
.header-contact:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.header-contact:hover { box-shadow: inset 0 0 0 1px white; }
.region-selector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  font-size: 14px;
}
.region-selector a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 30px;
}
.region-selector a[aria-current] { font-weight: 600; }
.region-selector a:not([aria-current]) { color: #53657a; }
.region-selector a[href]:hover { text-decoration: underline; text-underline-offset: 4px; }
.mobile-region { display: none; }
@media (min-width: 781px) and (max-width: 1100px) {
  .header .brand img { width: 150px; }
  .header.is-compact .brand img { width: 145px; }
  .desktop-nav { gap: 12px; }
  .header-contact { padding: 12px; gap: 12px; }
}
@media (max-width: 780px) {
  .header { gap: 12px; }
  .header .brand .brand-wordmark {
    width: clamp(130px, calc(100vw - 150px), 170px);
  }
  .header > .region-selector { display: none; }
  .mobile-region {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-region-label {
    font-size: 14px;
    color: #53657a;
  }
  .mobile-region-options {
    display: flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 6px;
    gap: 4px;
  }
  #mobile-nav .mobile-region-options a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 48px;
    min-height: 38px;
    padding: 6px 13px;
    border: 0;
    border-radius: 3px;
    font-size: 14px;
  }
  /* Preserve a 44px touch target around the smaller visible control. */
  #mobile-nav .mobile-region-options a::after {
    content: "";
    position: absolute;
    inset: -3px 0;
  }
  #mobile-nav .mobile-region-options a[aria-current] {
    background: var(--navy);
    color: white;
    font-weight: 600;
  }
  #mobile-nav .mobile-region-options a[aria-disabled] {
    color: #53657a;
    text-decoration: none;
  }
}

/* Native horizontal momentum; vertical page scrolling stays with the browser. */
.case-slides.is-enhanced {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  align-items: start;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 0;
  touch-action: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.case-slides.is-enhanced::-webkit-scrollbar { display: none; }
.case-slides.is-enhanced .case-slide {
  min-width: 0;
  scroll-snap-align: start;
}
.case-slides.is-dragging { scroll-snap-type: none; }
@media (hover: hover) and (pointer: fine) {
  .case-slides.is-enhanced {
    user-select: none;
    -webkit-user-select: none;
  }
}
