/* ==========================================================================
   WHAT WE DO — autonomous 3D journey + editorial capability story
   ========================================================================== */

:root {
  --wwd-ink: #071827;
  --wwd-blue: #0c65a6;
  --wwd-cyan: #8adff2;
  --wwd-amber: #c28b2c;
  --wwd-paper: #f7f9f6;
  --wwd-mist: #e9efeb;
  --wwd-line: rgba(7, 24, 39, 0.14);
  --wwd-muted: rgba(7, 24, 39, 0.64);
  --wwd-max: 1480px;
  --wwd-gutter: clamp(1.25rem, 4vw, 4.75rem);
}

html {
  scroll-behavior: smooth;
}

body.what-we-do-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--wwd-paper);
  color: var(--wwd-ink);
  font-family: "Nunito Sans", sans-serif;
}

.what-we-do-page main {
  padding-top: 0;
}

.what-we-do-page main header {
  position: relative;
  z-index: auto;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
  height: auto;
  background: transparent;
}

.what-we-do-page *,
.what-we-do-page *::before,
.what-we-do-page *::after {
  box-sizing: border-box;
}

.what-we-do-page a {
  text-underline-offset: 0.2em;
}

.what-we-do-page main section[id] {
  scroll-margin-top: 78px;
}

.wwd-skip {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--wwd-blue);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.wwd-section {
  position: relative;
  padding-block: clamp(6rem, 10vw, 11rem);
}

.wwd-eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--wwd-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.wwd-eyebrow::before {
  width: 1.9rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.wwd-section h2 {
  margin: 0;
  color: var(--wwd-ink);
  font-size: clamp(2.7rem, 5.8vw, 6.7rem);
  font-weight: 200;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.wwd-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.wwd-section-head .wwd-eyebrow,
.wwd-section-head h2 {
  grid-column: 1;
}

.wwd-section-head .wwd-eyebrow {
  margin-bottom: -0.5rem;
}

.wwd-section-intro {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: var(--wwd-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 300;
  line-height: 1.65;
}

/* -------------------------------------------------------------- header -- */

.what-we-do-page .nav-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------- hero -- */

.what-we-do-page #journey.wwd-journey,
.what-we-do-page #journey.wwd-journey.journey-active,
.what-we-do-page #journey.wwd-journey.journey-fallback,
.what-we-do-page #journey.wwd-journey.journey-static {
  position: relative;
  height: 100svh !important;
  min-height: 42rem;
  max-height: none;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(2, 15, 26, 0.55), rgba(2, 15, 26, 0.04) 62%),
    url("/images/responsive/26-1920.webp") center / cover no-repeat;
}

.what-we-do-page .wwd-journey .journey-stage,
.what-we-do-page .wwd-journey.journey-active .journey-stage,
.what-we-do-page .wwd-journey.journey-fallback .journey-stage,
.what-we-do-page .wwd-journey.journey-static .journey-stage {
  position: relative !important;
  top: auto !important;
  width: 100%;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
  cursor: default;
}

.what-we-do-page .wwd-journey #journey-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.what-we-do-page .wwd-journey.journey-fallback #journey-canvas,
.what-we-do-page .wwd-journey.journey-static #journey-canvas {
  opacity: 0;
}

.what-we-do-page .wwd-journey .journey-veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 44, 0.1), rgba(10, 28, 44, 0));
  opacity: 1;
  pointer-events: none;
}

.wwd-hero-vignette {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 12, 21, 0.26) 0%,
    transparent 24%,
    transparent 68%,
    rgba(2, 12, 21, 0.48) 100%
  );
  pointer-events: none;
}

.wwd-hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  height: 100%;
  padding-top: clamp(7.4rem, 14vh, 10.5rem);
  padding-bottom: clamp(2rem, 4.5vw, 4.25rem);
  color: #fff;
  pointer-events: none;
}

.wwd-hero-story {
  display: block;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: end;
}

.wwd-hero-breadcrumb {
  margin: 0 0 clamp(1.5rem, 3vh, 2.4rem);
  pointer-events: auto;
}

.wwd-hero-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

.wwd-hero-breadcrumb .breadcrumb-item,
.wwd-hero-breadcrumb .breadcrumb-item a,
.wwd-hero-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.wwd-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.32);
}

.wwd-hero-copy {
  align-self: end;
  max-width: min(66rem, 78vw);
  padding-bottom: clamp(4rem, 9vh, 7.5rem);
}

.wwd-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.15rem, 9.2vw, 10.4rem);
  font-weight: 200;
  letter-spacing: -0.072em;
  line-height: 0.82;
  text-shadow: 0 0.2em 0.7em rgba(2, 12, 21, 0.28);
  text-wrap: balance;
}

.wwd-hero-copy p {
  margin: clamp(1.4rem, 3vw, 2.5rem) 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.wwd-hero-scroll {
  display: inline-flex;
  grid-column: 2;
  grid-row: 2;
  gap: 0.85rem;
  align-items: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  pointer-events: auto;
}

.wwd-hero-scroll i {
  position: relative;
  display: block;
  width: 1rem;
  height: 0.7rem;
  transform: translateY(-0.16rem);
}

.wwd-hero-scroll i::after {
  position: absolute;
  top: 0;
  left: 50%;
  content: "";
}

.wwd-hero-scroll i::after {
  width: 0.62rem;
  height: 0.62rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
  transition: transform 220ms ease;
}

.wwd-hero-scroll:hover i::after,
.wwd-hero-scroll:focus-visible i::after {
  transform: translate(-50%, 0.18rem) rotate(45deg);
}

/* ---------------------------------------------------- operating theatre -- */

.wwd-theatre {
  position: relative;
  color: var(--wwd-ink);
  background: var(--wwd-paper);
}

.wwd-theatre-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.55fr);
  gap: clamp(3rem, 9vw, 11rem);
  align-items: end;
  padding-block: clamp(6rem, 10vw, 10rem);
}

.wwd-theatre-intro h2 {
  max-width: 76rem;
  margin: 0;
  color: var(--wwd-ink);
  font-size: clamp(2.7rem, 5.8vw, 6.7rem);
  font-weight: 200;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.wwd-theatre-intro > p {
  max-width: 33rem;
  margin: 0;
  color: var(--wwd-muted);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 300;
  line-height: 1.68;
}

.wwd-theatre-pin {
  position: relative;
  height: clamp(44rem, 62vw, 52rem);
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--wwd-line);
  background:
    radial-gradient(circle at 52% 48%, rgba(138, 223, 242, 0.12), transparent 34rem),
    var(--wwd-paper);
}

#wwd-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wwd-theatre-ui {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(9rem, 0.32fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: clamp(2rem, 5vw, 7rem);
  align-items: end;
  height: 100%;
  padding-block: clamp(4rem, 8vw, 7rem);
  pointer-events: none;
}

.wwd-rail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: center;
  width: min(12rem, 100%);
  pointer-events: auto;
}

.wwd-chip {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem 0.75rem 1.75rem;
  border: 0;
  border-bottom: 1px solid rgba(7, 24, 39, 0.16);
  color: rgba(7, 24, 39, 0.48);
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.wwd-chip::before {
  position: absolute;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  transition: background 180ms ease, box-shadow 180ms ease;
}

.wwd-chip:hover,
.wwd-chip:focus-visible,
.wwd-chip[aria-selected="true"] {
  padding-left: 2rem;
  border-color: var(--wwd-blue);
  color: var(--wwd-blue);
}

.wwd-chip[aria-selected="true"]::before {
  border-color: var(--wwd-blue);
  background: var(--wwd-blue);
  box-shadow: 0 0 0 0.35rem rgba(12, 101, 166, 0.1);
}

.wwd-stage {
  position: relative;
  align-self: end;
  justify-self: end;
  width: min(36rem, 48vw);
  min-height: 15rem;
  transition:
    margin 620ms cubic-bezier(0.16, 1, 0.3, 1),
    justify-self 620ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#wwd-theatre[data-phase="1"] .wwd-stage {
  align-self: start;
  margin-top: clamp(1rem, 3vw, 3rem);
}

#wwd-theatre[data-phase="3"] .wwd-stage {
  justify-self: start;
  margin-left: clamp(1rem, 4vw, 4.5rem);
}

.wwd-phase {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
}

.wwd-phase[hidden] {
  display: none !important;
}

.wwd-phase__eyebrow {
  margin: 0 0 1.1rem;
  color: var(--wwd-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wwd-phase h3 {
  max-width: 34rem;
  margin: 0;
  color: var(--wwd-ink);
  font-size: clamp(2rem, 3.7vw, 4.1rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.wwd-phase__body {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: var(--wwd-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 300;
  line-height: 1.62;
}

.wwd-theatre-fallback {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--wwd-ink);
  border-left: 1px solid var(--wwd-line);
}

.wwd-theatre-fallback article {
  min-height: 15rem;
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--wwd-line);
  border-bottom: 1px solid var(--wwd-line);
}

.wwd-theatre-fallback p {
  margin: 0 0 3rem;
  color: var(--wwd-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wwd-theatre-fallback h3 {
  max-width: 31rem;
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.wwd-theatre.is-static .wwd-theatre-pin {
  height: auto;
  min-height: 0;
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.wwd-theatre.is-static #wwd-canvas,
.wwd-theatre.is-static .wwd-theatre-ui {
  display: none;
}

.wwd-theatre.is-static .wwd-theatre-fallback {
  display: grid;
}

/* ----------------------------------------------------------- industries -- */

.wwd-industries {
  overflow: hidden;
  color: var(--wwd-ink);
  background: var(--wwd-mist);
}

.wwd-industries::after {
  position: absolute;
  top: -16rem;
  right: -12rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(12, 101, 166, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(12, 101, 166, 0.025),
    0 0 0 10rem rgba(12, 101, 166, 0.02);
  content: "";
  pointer-events: none;
}

.wwd-industries-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.55fr);
  gap: clamp(3rem, 9vw, 11rem);
  align-items: end;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.wwd-industries-head > p {
  max-width: 33rem;
  margin: 0;
  color: var(--wwd-muted);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 300;
  line-height: 1.65;
}

.wwd-industry-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.6rem);
}

.wwd-industry-card {
  position: relative;
  min-height: clamp(31rem, 39vw, 40rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.35rem;
  color: #fff;
  background: var(--wwd-ink);
  isolation: isolate;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease;
}

.wwd-industry-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 13, 22, 0.08) 5%, rgba(2, 13, 22, 0.2) 38%, rgba(2, 13, 22, 0.94) 100%),
    linear-gradient(115deg, rgba(12, 101, 166, 0.26), transparent 58%);
  content: "";
  transition: background 420ms ease;
}

.wwd-industry-card::after {
  position: absolute;
  z-index: 2;
  top: clamp(1.2rem, 2vw, 2rem);
  right: clamp(1.2rem, 2vw, 2rem);
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 47%, #fff 48%, #fff 51%, transparent 52%);
  content: "";
  opacity: 0.8;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease;
}

.wwd-industry-card:hover,
.wwd-industry-card:focus-within {
  box-shadow: 0 2.5rem 6rem rgba(7, 24, 39, 0.2);
  transform: translateY(-0.55rem);
}

.wwd-industry-card:hover::before,
.wwd-industry-card:focus-within::before {
  background:
    linear-gradient(180deg, rgba(5, 57, 93, 0.12) 0%, rgba(5, 67, 108, 0.56) 42%, rgba(4, 35, 58, 0.94) 100%),
    linear-gradient(135deg, rgba(12, 101, 166, 0.9), rgba(5, 60, 96, 0.72));
}

.wwd-industry-card:hover::after,
.wwd-industry-card:focus-within::after {
  background: var(--wwd-blue);
  transform: rotate(45deg);
}

.wwd-industry-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.wwd-industry-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.wwd-industry-card:hover .wwd-industry-media img,
.wwd-industry-card:focus-within .wwd-industry-media img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.065);
}

.wwd-industry-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: clamp(2rem, 3vw, 3.2rem);
}

.wwd-industry-kicker {
  margin: 0 0 1.2rem;
  color: var(--wwd-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 280ms ease;
}

.wwd-industry-card h3 {
  max-width: 23rem;
  margin: 0 0 1.2rem;
  color: inherit;
  font-size: clamp(1.65rem, 2.15vw, 2.35rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.wwd-industry-body > p:not(.wwd-industry-kicker) {
  max-width: 30rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.62;
  transition: color 280ms ease;
}

.wwd-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.wwd-product-links a {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 99px;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 280ms ease, border-color 280ms ease, background 180ms ease;
}

.wwd-industry-card:hover .wwd-product-links a,
.wwd-industry-card:focus-within .wwd-product-links a {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.wwd-product-links a:hover,
.wwd-product-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------- architecture -- */

.wwd-architecture {
  padding-block: clamp(4.5rem, 6vw, 6.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(25, 115, 174, 0.13), transparent 28rem),
    #071824;
}

.wwd-architecture::before {
  position: absolute;
  inset: 0 var(--wwd-gutter) auto;
  height: 1px;
  background: rgba(138, 223, 242, 0.16);
  content: "";
  pointer-events: none;
}

.wwd-architecture .wwd-container {
  position: relative;
  z-index: 1;
}

.wwd-architecture .wwd-eyebrow {
  color: var(--wwd-cyan);
}

.wwd-architecture h2 {
  max-width: 58rem;
  color: #fff;
  font-size: clamp(2.7rem, 4.6vw, 5.4rem);
}

.wwd-architecture-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.52fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
  margin-bottom: clamp(3rem, 4.5vw, 4.5rem);
}

.wwd-architecture-head > p:last-child {
  max-width: 33rem;
  margin: 0;
  padding-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 300;
  line-height: 1.68;
}

.wwd-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(138, 223, 242, 0.34);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.wwd-capabilities article {
  display: flex;
  flex-direction: column;
  min-height: clamp(13rem, 18vw, 17rem);
  padding: clamp(1.75rem, 2.4vw, 3rem);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wwd-capabilities article > p {
  margin: 0 0 clamp(2.3rem, 4vw, 4rem);
  color: var(--wwd-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wwd-capabilities h3 {
  max-width: 30rem;
  margin: 0 0 1.35rem;
  color: #fff;
  font-size: clamp(1.65rem, 2.35vw, 2.65rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.wwd-capabilities article > span {
  display: block;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.62;
}

.wwd-capability-link {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  width: fit-content;
  margin-top: 1.7rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(138, 223, 242, 0.34);
  border-radius: 999px;
  color: var(--wwd-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.wwd-capability-link:hover,
.wwd-capability-link:focus-visible {
  border-color: var(--wwd-cyan);
  color: var(--wwd-ink);
  background: var(--wwd-cyan);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------- faq -- */

.wwd-faq {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(138, 223, 242, 0.14), transparent 28rem),
    #f8f7f2;
}

.wwd-faq-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(4rem, 10vw, 13rem);
  align-items: start;
}

.wwd-faq-head {
  position: sticky !important;
  top: 7rem !important;
}

.wwd-faq-head h2 {
  max-width: 46rem;
  font-size: clamp(2.7rem, 4.9vw, 5.5rem);
}

.wwd-faq-head > p:last-child {
  max-width: 31rem;
  margin: 2rem 0 0;
  color: var(--wwd-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.68;
}

.wwd-faq-list {
  border-top: 1px solid var(--wwd-ink);
}

.wwd-faq-list details {
  border-bottom: 1px solid var(--wwd-line);
}

.wwd-faq-list summary {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.7rem) 4.5rem clamp(1.6rem, 3vw, 2.7rem) 0;
  color: var(--wwd-ink);
  cursor: pointer;
  font-size: clamp(1.25rem, 2vw, 2.05rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.15;
  list-style: none;
  transition: color 180ms ease, padding-left 240ms ease;
}

.wwd-faq-list summary::-webkit-details-marker {
  display: none;
}

.wwd-faq-list summary:focus-visible {
  outline: 1px solid var(--wwd-blue);
  outline-offset: -1px;
}

.wwd-faq-list summary::before,
.wwd-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  width: 1.4rem;
  height: 1px;
  background: var(--wwd-blue);
  content: "";
  transition: transform 240ms ease;
}

.wwd-faq-list summary::after {
  transform: rotate(90deg);
}

.wwd-faq-list details[open] summary {
  padding-left: 1rem;
  color: var(--wwd-blue);
}

.wwd-faq-list details[open] summary::after {
  transform: rotate(0);
}

.wwd-faq-list details p {
  max-width: 47rem;
  margin: -0.4rem 0 0;
  padding: 0 4.5rem 1rem 1rem;
  color: var(--wwd-muted);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 300;
  line-height: 1.72;
}

.wwd-faq-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 4.5rem clamp(2rem, 4vw, 3.2rem) 1rem;
}

.wwd-faq-links a {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(12, 101, 166, 0.24);
  border-radius: 999px;
  color: var(--wwd-blue);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.wwd-faq-links a::after {
  content: "\2197";
  font-size: 0.85rem;
}

.wwd-faq-links a[href^="#"]::after {
  content: "\2193";
}

.wwd-faq-links a:hover,
.wwd-faq-links a:focus-visible {
  border-color: var(--wwd-blue);
  color: #fff;
  background: var(--wwd-blue);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------- animation -- */

.wwd-js .wwd-reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.wwd-text-word {
  display: inline-block;
  overflow: hidden;
  margin-bottom: -0.08em;
  padding-bottom: 0.08em;
  vertical-align: bottom;
}

.wwd-text-word > span {
  display: inline-block;
  will-change: transform, opacity;
}

.wwd-hero-breadcrumb,
.wwd-hero-copy,
.wwd-hero-scroll {
  animation: wwd-hero-enter 900ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.wwd-hero-copy {
  animation-delay: 100ms;
}

.wwd-hero-scroll {
  animation-delay: 280ms;
}

@keyframes wwd-hero-enter {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 1199.98px) {
  .wwd-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .wwd-theatre-intro,
  .wwd-section-head,
  .wwd-industries-head,
  .wwd-architecture-head,
  .wwd-faq-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .wwd-section-head .wwd-eyebrow,
  .wwd-section-head h2,
  .wwd-section-head .wwd-section-intro {
    grid-column: 1;
    grid-row: auto;
  }

  .wwd-section-intro,
  .wwd-theatre-intro > p,
  .wwd-industries-head > p,
  .wwd-architecture-head > p:last-child {
    max-width: 43rem;
  }

  .wwd-capabilities {
    grid-template-columns: 1fr;
  }

  .wwd-faq-head {
    position: relative !important;
    top: auto !important;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --wwd-gutter: 1rem;
  }

  .wwd-section {
    padding-block: 5.5rem;
  }

  .wwd-section h2 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .what-we-do-page #journey.wwd-journey,
  .what-we-do-page #journey.wwd-journey.journey-active,
  .what-we-do-page #journey.wwd-journey.journey-fallback,
  .what-we-do-page #journey.wwd-journey.journey-static,
  .what-we-do-page .wwd-journey .journey-stage {
    min-height: 40rem;
  }

  .wwd-hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding-top: 7rem;
    padding-bottom: 1.25rem;
  }

  .wwd-hero-copy {
    max-width: 100%;
    padding-bottom: 2.8rem;
  }

  .wwd-hero-copy h1 {
    font-size: clamp(3.75rem, 18vw, 6.2rem);
    line-height: 0.86;
  }

  .wwd-hero-scroll {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-top: 1rem;
  }

  .wwd-industry-grid,
  .wwd-capabilities {
    grid-template-columns: 1fr;
  }

  .wwd-theatre-intro {
    padding-block: 5.5rem;
  }

  .wwd-theatre-intro h2 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .wwd-theatre-pin {
    height: 44rem;
  }

  .wwd-theatre-ui {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 2rem;
    align-items: start;
    padding-top: 3.25rem;
    padding-bottom: 2rem;
  }

  .wwd-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-self: start;
    width: 100%;
  }

  .wwd-chip {
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 0.25rem;
    border-bottom-color: var(--wwd-line);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .wwd-chip::before {
    display: none;
  }

  .wwd-chip:hover,
  .wwd-chip:focus-visible,
  .wwd-chip[aria-selected="true"] {
    padding-left: 0.25rem;
  }

  #wwd-theatre[data-phase] .wwd-stage {
    align-self: end;
    justify-self: stretch;
    width: 100%;
    min-height: 13.5rem;
    margin: 0 !important;
  }

  .wwd-phase h3 {
    max-width: 25rem;
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .wwd-phase__body {
    max-width: 29rem;
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .wwd-theatre-fallback {
    grid-template-columns: 1fr;
  }

  .wwd-industry-card {
    min-height: 31rem;
  }

  .wwd-capabilities article {
    min-height: 0;
    padding: 2.5rem 1.5rem;
  }

  .wwd-capabilities article > p {
    margin-bottom: 2.5rem;
  }

  .wwd-faq-layout {
    gap: 1rem;
  }

  .wwd-faq-head h2 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .wwd-faq-list summary {
    padding-right: 3rem;
  }

  .wwd-faq-list details p {
    padding-right: 1rem;
  }

  .wwd-faq-links {
    padding-right: 1rem;
  }
}

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

  .wwd-js .wwd-reveal,
  .wwd-hero-breadcrumb,
  .wwd-hero-copy,
  .wwd-hero-scroll {
    opacity: 1;
    animation: none;
    transform: none;
    transition: none;
  }

  .wwd-industry-media img {
    animation: none;
    transition: none;
  }
}
