/* Main shared site styles */

/* 
Mobile: 760px
Tablet: 1200px
*/

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.hero-title {
  font-size: var(--one-hundred-thirty);
}

:root {
  --cream: #fbf1e6;
  --cream-muted: #ede2d6;
  --ink: #212322;
  --ink-soft: #333333;
  --black: #131313;
  --white: #ffffff;
  --muted: #beb6ad;
  --hero-height: 95vh;
  --cream-translucent: rgba(251, 241, 230, 0.97);
  --line: rgba(255, 255, 255, 0.22);
  --display: "ivypresto-display", "Times New Roman", Georgia, serif;
  --sans: "Geist", Arial, sans-serif;
  --page-gutter: clamp(20px, 4vw, 96px);
  --content: 1216px;
  --content-wide: 1680px;
  --radius-lg: clamp(18px, 1.5vw, 30px);
  --radius-xl: clamp(24px, 2vw, 50px);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);

  /* Header theme (default: dark header for image/colour hero pages).
     To use the light variant on a page, set data-header-theme="light"
     on <body> — no per-page CSS overrides needed. */
  --header-fg: var(--white);
  --header-bg: var(--ink);
  --header-active-nav-bg: rgba(193, 193, 193, 0.2);
  --header-pill-bg: rgba(251, 241, 230, 0.82);
  --header-pill-fg: #000;
  --header-dropdown-bg: rgba(33, 35, 34, 0.97);
  --header-dropdown-fg: #ffffff;
  --twelve: clamp(10px, 0.6vw, 14px);
  --thirteen: clamp(11px, 0.7vw, 15px);
  --fourteen: clamp(12px, 0.7vw, 16px);
  --fifteen: clamp(13px, 0.75vw, 17px);
  --sixteen: clamp(14px, 0.8vw, 18px);
  --eighteen: clamp(16px, 0.9vw, 20px);
  --nineteen: clamp(17px, 1vw, 21px);
  --twenty: clamp(18px, 1vw, 22px);
  --twenty-one: clamp(17px, 1.1vw, 25px);
  --twenty-two: clamp(18px, 1.15vw, 26px);
  --twenty-three: clamp(19px, 1.2vw, 27px);
  --twenty-four: clamp(20px, 1.25vw, 28px);
  --twenty-five: clamp(21px, 1.3vw, 29px);
  --twenty-eight: clamp(24px, 1.25vw, 32px);
  --thirty: clamp(26px, 1.5vw, 34px);
  --thirty-two: clamp(25px, 1.65vw, 37px);
  --forty-eight: clamp(40px, 2.5vw, 56px);
  --eighty: clamp(64px, 4.15vw, 96px);
  --one-hundred-thirty: clamp(75px, 6.75vw, 185px);
  --thirty-nine: clamp(35px, 2.05vw, 43px);
  --fifty-six: clamp(50px, 2.9vw, 62px);
  --fifty-eight: clamp(52px, 3vw, 64px);
  --sixty-one: clamp(53px, 3.2vw, 69px);
  --sixty-four: clamp(56px, 3.35vw, 72px);
  --ninety-four: clamp(82px, 4.9vw, 106px);
  --ninety-six: clamp(84px, 5vw, 108px);
  --one-hundred: clamp(88px, 5.2vw, 112px);
  --three-hundred-sixteen: clamp(304px, 16.45vw, 328px);

  --twelve-mobile: clamp(10px, 3vw, 14px);
  --thirteen-mobile: clamp(11px, 3.3vw, 15px);
  --fourteen-mobile: clamp(12px, 3.6vw, 16px);
  --fifteen-mobile: clamp(13px, 3.8vw, 17px);
  --sixteen-mobile: clamp(14px, 4.1vw, 18px);
  --eighteen-mobile: clamp(16px, 4.6vw, 20px);
  --twenty-four-mobile: clamp(20px, 6.2vw, 28px);
  --twenty-five-mobile: clamp(21px, 6.4vw, 29px);
  --twenty-seven-mobile: clamp(23px, 6.9vw, 31px);
  --twenty-eight-mobile: clamp(24px, 7.2vw, 32px);
  --twenty-nine-mobile: clamp(25px, 7.4vw, 33px);
  --thirty-mobile: clamp(26px, 7.7vw, 34px);
  --thirty-one-mobile: clamp(27px, 7.9vw, 35px);
  --thirty-two-mobile: clamp(28px, 8.2vw, 36px);
  --thirty-three-mobile: clamp(29px, 8.5vw, 37px);
  --thirty-four-mobile: clamp(30px, 8.7vw, 38px);
  --thirty-six-mobile: clamp(32px, 9.2vw, 40px);
  --forty-two-mobile: clamp(36px, 10.8vw, 48px);
  --forty-three-mobile: clamp(37px, 11vw, 49px);
  --forty-four-mobile: clamp(38px, 11.3vw, 50px);
  --forty-five-mobile: clamp(39px, 11.5vw, 51px);
  --forty-eight-mobile: clamp(42px, 12.3vw, 54px);
  --fifty-two-mobile: clamp(46px, 13.3vw, 58px);
  --seventy-mobile: clamp(62px, 17.9vw, 78px);
}

body[data-header-theme="light"] {
  --header-fg: var(--ink);
  --header-bg: var(--cream);
  --header-active-nav-bg: var(--cream-muted);
  --header-pill-bg: var(--cream-muted);
  --header-pill-fg: #000;
  --header-dropdown-bg: var(--cream-translucent);
  --header-dropdown-fg: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg,
video {
    display: block;
  max-width: 100%;
}

main {
    display: block;
}

/* hoverable lists */
/* Hoverable list layout */
.hover-list {
  margin: clamp(56px, 6vw, 104px) 0;
  display: grid; 
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 0 clamp(48px, 7vw, 132px);
  align-items: start;
}


.hover-list__label {
  margin-bottom: 0;
}

.hover-list__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(33, 35, 34, 0.55);
}

/* Individual row */
.hover-list__list li {
  min-height: 82px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(33, 35, 34, 0.55);
  cursor: pointer;
}

/* Number */
.hover-list__number {
  padding-top: 7px;
  font-size: var(--thirteen);
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* Main text column */
.hover-list__content {
  min-width: 0;
}

/* Heading */
.hover-list__list h3 {
  margin: 0;
  font-size: var(--forty-eight);
  font-weight: 300;
  line-height: 1.12;
}

/*
  Description container.

  Height/opacity are animated from JS (hover-list.js) via the
  Web Animations API rather than a CSS transition. That lets the
  open and close of two different rows be driven from a single
  synchronised pair of animations, and lets an in-flight animation
  be interrupted mid-flight (fast hovering) without jumping.
*/
.hover-list__description {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

/* Required inner wrapper, also used to measure natural content height */
.hover-list__description-inner {
  min-height: 0;
  overflow: hidden;
}

/* Description text */
.hover-list__description p {
  margin: 12px 0 0;
  font-size: var(--nineteen);
  font-weight: 300;
  line-height: 1.45;
}

/* Optional keyboard-focus styling */
.hover-list__list li:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

/* Mobile layout */
@media (max-width: 760px) {
  .hover-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hover-list__list li {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 16px;
  }
}

.primary-nav button,
.primary-nav a,
.footer-nav a {
  transition: opacity 160ms ease;
}

/* Add/replace the active header nav state */
.primary-nav button,
.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 1000px;
  transition:
    opacity 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}
.primary-nav button[aria-current="page"],
.primary-nav a[aria-current="page"] {
  background: var(--header-active-nav-bg);
  /* -webkit-backdrop-filter: blur(13.5px); */
  backdrop-filter: blur(27px);
  border-radius: 1000px;
  opacity: 1;
}


.primary-nav button:hover,
.primary-nav button:focus-visible,
.primary-nav a:hover,
.primary-nav a:focus-visible {
  opacity: 0.75;
}

/* Keep footer links normal */
.footer-nav a[aria-current="page"] {
  opacity: 0.62;
}

.include-error {
  margin: 0;
  padding: 20px;
  background: #8c1d18;
  color: #fff;
  font-family: Arial, sans-serif;
  }

.site-shell {
    width: 100%;
  overflow-x: clip;
  background: var(--cream);
}

.content-wrap {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content));
  margin-inline: auto;
}

.content-wrap--wide {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-wide));
  margin-inline: auto;
  }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: clip !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Shared media treatment */
.home-image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--thirteen);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}
.home-image img,
.feature-card__media img,
.home-image--testimonial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cream-panel,
.cream-section {
  background: var(--cream);
}

.dark-section {
  padding: clamp(80px, 7vw, 110px) 0;
  background: var(--ink);
  color: var(--white);
}

/* Shared animation helpers */
.animate {
  opacity: 0;
  animation-fill-mode: both;
  animation-play-state: paused;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}

.animate.fade-up { animation-name: fadeUp; }
.animate.fade-down { animation-name: fadeDown; }
.animate.fade-left { animation-name: fadeLeft; }
.animate.fade-right { animation-name: fadeRight; }
.animate.fade-in { animation-name: fadeIn; }
.animate.zoom-in { animation-name: zoomIn; }

.animate.delay-1 { animation-delay: 0.1s; }
.animate.delay-2 { animation-delay: 0.2s; }
.animate.delay-3 { animation-delay: 0.3s; }
.animate.delay-4 { animation-delay: 0.4s; }
.animate.delay-5 { animation-delay: 0.5s; }
.animate.delay-6 { animation-delay: 0.6s; }
.animate.delay-7 { animation-delay: 0.7s; }
.animate.delay-8 { animation-delay: 0.8s; }
.animate.delay-9 { animation-delay: 0.9s; }


.animate.animated {
  opacity: 1;
  animation-play-state: running;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 20;
  inset: auto;
  width: 100%;
  padding: clamp(24px, 3vw, 54px)
    var(--page-gutter);

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 32px;
  color: var(--header-fg);

  /* Empty padding no longer blocks the dropdown */
  pointer-events: none;
}

/* Restore interaction for actual header controls */
.site-header a,
.site-header button,
.site-header input,
.site-header select,
.site-header [tabindex],
.sectors-menu,
.what-we-do-menu {
  pointer-events: auto;
}

#header-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--header-bg);
  opacity: 0;
  will-change: opacity;

  /* Background should never intercept the pointer */
  pointer-events: none;
}

.wordmark--header {
  display: block;
  width: clamp(150px, 12vw, 239px);
  height: auto;
}

.site-logo {
  width: 100%;
  height: auto;
}

.site-logo--white {
  display: block;
}

.site-logo--ink {
  display: none;
}

body[data-header-theme="light"] .site-logo--white {
  display: none;
}

body[data-header-theme="light"] .site-logo--ink {
  display: block;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px clamp(20px, 2.6vw, 56px);
  min-width: 0;
  font-size: var(--sixteen);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pill-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: var(--sixteen);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
}

.pill-button--light {
  background: var(--header-pill-bg);
  color: var(--header-pill-fg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pill-button--muted {
  background: var(--cream-muted);
  color: var(--ink-soft);
}

/* Sector expanding button */
.pill-picker {
  position: relative;
  z-index: 20;
  display: inline-block;
}

.pill-picker__trigger {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-radius 200ms ease,
    width 220ms ease;
}

/*
  The panel begins underneath the button so it looks like the
  original pill is expanding into a larger menu.
*/

/* Open using mouse, keyboard or JavaScript */
.pill-picker:hover .pill-picker__panel,
.pill-picker:focus-within .pill-picker__panel,
.pill-picker.is-open .pill-picker__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.pill-picker:hover .pill-picker__trigger,
.pill-picker:focus-within .pill-picker__trigger,
.pill-picker.is-open .pill-picker__trigger {
  border-radius: 30px 30px 12px 12px;
  transform: none;
}

/* Individual sector links */
.pill-picker__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 28px;
  padding: 10px 12px;

  border-top: 1px solid rgba(33, 35, 34, 0.18);

  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--sixteen);
  font-weight: 400;
  line-height: 1.3;

  transition:
    padding-left 160ms ease,
    opacity 160ms ease;
}

.pill-picker__panel {
  position: absolute;
  z-index: 1;

  /* Anchor the panel to the bottom-left of the picker */
  bottom: 0;
  left: 0;
  top: auto;

  width: min(390px, calc(100vw - 40px));
  padding: 18px 18px 72px;

  border-radius: 30px;
  background: var(--cream-muted);
  color: var(--ink-soft, var(--ink));

  box-shadow: 0 18px 50px rgba(33, 35, 34, 0.14);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: scale(0.88);
  transform-origin: bottom left;

  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 220ms ease;
}

.pill-picker__panel a:first-child {
  border-top: 0;
}

.pill-picker__panel a:hover,
.pill-picker__panel a:focus-visible {
  padding-left: 20px;
  opacity: 0.62;
}

.pill-picker__panel a > span:last-child {
  flex: 0 0 auto;
}

/* Mobile */
@media (max-width: 760px) {
  .pill-picker {
    width: 100%;
  }

  .pill-picker__trigger {
    width: 100%;
  }

  .pill-picker__panel {
    width: 100%;
    transform-origin: top center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pill-picker__trigger,
  .pill-picker__panel,
  .pill-picker__panel a {
    transition: none;
  }
}


/* Stack the picker links on small mobile screens */
@media (max-width: 760px) {
  .what-we-do-picker__panel {
    grid-template-columns: 1fr;
  }
}

/* Home hero */
.hero {
  position: relative;
  min-height: clamp(700px, 100svh, 1120px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #171a18;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.14) 55%),
    rgba(0, 0, 0, 0.12);
}

.hero > video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-wide));
  margin-inline: auto;
  padding: clamp(150px, 20vw, 240px) 0 clamp(120px, 12vw, 232px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 447px);
  align-items: end;
  gap: clamp(30px, 5vw, 80px);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--one-hundred-thirty); /* might change */
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__content > p {
  width: min(100%, 447px);
  margin: 0;
  font-size: var(--thirty-two);
  font-weight: 400;
  line-height: 1.3;
}

/* Shared labels / large copy */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 clamp(24px, 2vw, 40px);
  color: var(--ink-soft);
  font-size: var(--nineteen);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow--inverse {
  color: var(--white);
}

.intro__copy,
.how-we-work__copy,
.deliver__intro > p:last-child {
  margin: 0;
  font-size: var(--forty-eight);
  line-height: 1.3;
}

/* Intro */
.intro {
  position: relative;
  z-index: 4;
  min-height: 0;
  margin-top: calc(-1 * var(--radius-xl));
  padding: clamp(64px, 7vw, 96px) 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.intro__copy {
  max-width: 1382px;
  margin-bottom: 58px;
}

.sectors {
  position: relative;
  overflow: visible;
}

/*
 * Keep the heading centred independently from the index.
 */
.sectors__inner {
  position: relative;
  z-index: 2;
}

.sectors__inner .display-heading {
  margin: 0;
  text-align: center;
}

.display-heading {
  margin: 0 0 clamp(56px, 5vw, 110px);
  font-family: var(--display);
  font-size: var(--eighty);
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
}

.display-heading em {
  font-weight: 300;
}

.section-index-rail {
  position: absolute;
  margin: 110px 0px;
  z-index: 20;
  inset-block: 0;
  left: max(var(--page-gutter), calc((100vw - 1710px) / 2));
  width: 58px;
  pointer-events: none;
}

/*
 * The index begins aligned with the heading, then sticks when it
 * reaches the chosen viewport position.
 */
.section-index {
  position: sticky;
  top: clamp(20%, 600px, 30%);
  z-index: 10;
  overflow: clip;

  display: flex;
  width: 58px;
  height: 205px;
  box-sizing: border-box;
  align-self: start;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 16px 0;
  border: 1px solid #686868;
  border-radius: 8px;

  font-size: var(--twenty-one);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--white);

  pointer-events: auto;
}


.section-index__progress {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background: var(--white);

  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

/*
 * The 3D context is restricted to the cards only.
 */
.sector-stage {
  min-height: 640px;

  overflow: clip;
  perspective: 1800px;
  perspective-origin: 50% 50%;
}

.sector-list {
  display: grid;
  gap: 4rem;
  width: min(calc(100% - (var(--page-gutter) * 2)), 990px);
  margin-block-start: clamp(100px, 10vh, 160px);
  /* margin-block-end: 0px; */
  margin-inline: auto;
  transform-style: preserve-3d;
}

.sector-card {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 990 / 376;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  will-change: transform;
}

@media (max-width: 760px) {
  .sector-stage {
    position: relative !important;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    perspective: none;
  }

  .sector-list {
    position: static;
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    gap: clamp(22px, 3vw, 58px);
    transform-style: flat;
  }

  .sector-card {
    position: relative;
    inset: auto;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 760px) {
  .work-card-stack {
    width: min(88vw, 36rem);
  }

  .work-counter {
    left: 1rem;
  }

  .work-background-title {
    font-size: 34vw;
  }
}

.sector-card .home-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
}

.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
}

.sector-card h3 {
  position: relative;
  z-index: 2;
  align-self: center;
  margin: 0;
  padding: 30px;
  font-family: var(--display);
  font-size: var(--eighty);
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  text-align: center;
}

/*
 * Grey background line.
 */
.section-index__track {
  position: relative;
  display: block;
  width: 16px;
  height: 75px;
  overflow: visible;
  border-radius: 2px;
  background: #8b8b8b00;
}

/*
 * White progress line.
 */
.section-index__progress {
  position: absolute;
  inset: 0;
  width: 2px;
  justify-self: center;
  display: block;
  background: var(--white);
  border-radius: inherit;

  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.section-index__dot {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  transform: translateY(-50%);
  transform-origin: center;
  will-change: transform;
  overflow: visible;
  
}

/* How we work */
.how-we-work {
  min-height: 0;
  padding: clamp(78px, 7vw, 118px) 0 0;
  overflow: hidden;
}

.how-we-work__copy {
  max-width: 1215px;
  margin-bottom: clamp(52px, 4vw, 80px);
}

.service-ticker {
  width: 100%;
  min-width: 0;
  padding: clamp(52px, 5vw, 70px) 0;
  align-items: center;
  overflow: hidden;
  font-family: var(--display);
  font-size: var(--eighty);
  font-weight: 300;
  color: var(--muted);
}

.service-ticker__track {
  display: flex;
  width: max-content;
  animation: service-ticker-scroll 30s linear infinite;
}

/* Pause while hovering anywhere over the ticker */
.service-ticker:hover .service-ticker__track,
.service-ticker:focus-within .service-ticker__track {
  animation-play-state: paused;
}

.service-ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(30px, 4vw, 62px);
  padding-right: clamp(30px, 4vw, 62px);
}

.service-ticker a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 18px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.service-ticker a:hover,
.service-ticker a:focus-visible {
  color: var(--ink);
  transform: translateY(-3px);
}

.service-ticker a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 8px;
}

.service-ticker small {
  padding-top: clamp(11px, 2.5vh, 24px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--nineteen);
  font-weight: 400;
  letter-spacing: 0.1em;
}

@keyframes service-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .service-ticker {
    padding: 0px var(--page-gutter);
    overflow: visible;
    font-size: var(--thirty-six-mobile);
  }

  .service-ticker__track {
    display: block;
    width: 100%;
    animation: none;
    transform: none;
  }

  .service-ticker__group {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-self: center;
    gap: 0;
    padding: 0;
  }

  .service-ticker__group:first-child {
    padding-left: 0;
  }

  /* Remove the duplicated ticker content */
  .service-ticker__group[aria-hidden="true"] {
    display: none;
  }

  .service-ticker a {
    width: fit-content;
    padding: 18px 0;
    align-items: flex-start;
    white-space: normal;
  }

  .service-ticker small {
    flex-shrink: 0;
    width: 34px;
    padding-top: clamp(11px, 1.6vh, 15px);
    font-size: var(--thirteen-mobile);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-ticker {
    overflow-x: auto;
    scrollbar-color: var(--black);
    scrollbar-width: thin;
  }

  .service-ticker::-webkit-scrollbar {
    display: block;
    color: var(--black);
  }

  .service-ticker__track {
    animation: none;
  }

  .service-ticker__group[aria-hidden="true"] {
    display: none;
  }
}

/* Deliver */
.deliver {
  min-height: 0;
  padding: clamp(80px, 7vw, 110px) 0;
}

.deliver__intro {
  max-width: 1098px;
  margin: 0 auto clamp(70px, 7vw, 136px);
  text-align: center;
}

.deliver__intro .eyebrow {
  justify-content: center;
}

.feature-stack {
  display: grid;
  gap: clamp(24px, 3vw, 60px);
  --stack-top: 24px;
  --covered-scale: 0.8;
}


/*
  Each card remains in normal document flow, but sticks when it reaches
  the stacking point. Later cards receive a higher z-index through JS.
*/
.feature-card {
  --card-scale: 1;
  --stack-index: 1;

  position: sticky;
  top: var(--stack-top);
  z-index: var(--stack-index);

  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 92px);

  margin: 0;
  padding: clamp(24px, 4.6vw, 88px);

  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);

  transform: scale(var(--card-scale));
  transform-origin: top center;
  will-change: transform;
}

/*
  Remove this rule, or leave the class off the first card.
*/

.feature-card__content {
  max-width: 606px;
}

.feature-card__number {
  margin: 0 0 clamp(18px, 2vw, 38px);
  font-size: var(--nineteen);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 0 0 clamp(22px, 2vw, 40px);
  font-size: var(--forty-eight);
  font-weight: 300;
  line-height: 1.25;
}

.feature-card__content > p:not(.feature-card__number) {
  margin: 0 0 clamp(26px, 2vw, 42px);
  font-size: var(--nineteen);
  font-weight: 400;
  line-height: 1.5;
}

.feature-card__media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 773 / 450;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/*
  Disable the scroll-driven effect for users who prefer reduced motion.
*/
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    scale: 1 !important;
  }
}

/* Testimonial */
.testimonial {
  position: relative;
  min-height: clamp(540px, 72svh, 866px);
  display: flex;
  align-items: stretch;
  color: var(--white);
  overflow: hidden;
}

.home-image--testimonial {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
  background: linear-gradient(135deg, #2a2b2a, #0e0e0e);
}

.home-image--testimonial img {
  filter: grayscale(100%) brightness(0.48);
}

.home-image--testimonial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}

.testimonial__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(64px, 4.5vw, 86px);
  padding-bottom: clamp(64px, 4.8vw, 92px);
}

.testimonial h2 {
  max-width: 1244px;
  margin: 0;
  font-family: var(--display);
  font-size: var(--eighty);
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
}

.testimonial .eyebrow {
  margin-bottom: 0;
}

.testimonial .eyebrow b {
  margin-left: clamp(40px, 14vw, 280px);
  font-weight: 400;
}

/* Footer */
.site-footer {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: clamp(84px, 8vw, 150px) 0 clamp(28px, 3vw, 40px);
  background: var(--black);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(42px, 6vw, 120px);
}

.newsletter h2 {
  margin: 0 0 20px;
  font-size: var(--thirty-nine);
  font-weight: 300;
  line-height: 1.25;
}

.footer-strapline {
  margin: 0 0 34px;
  font-size: var(--twenty-three);
  font-weight: 400;
  line-height: 1.45;
}

.newsletter h3 {
  margin: 0 0 18px;
  font-size: var(--twenty-three);
  font-weight: 400;
  line-height: 1.3;
}

/*
 * Both the form and result occupy this same 583 × 62px area.
 */
.newsletter-form-panel {
  position: relative;
  width: 100%;
  max-width: 583px;
  min-height: 62px;
}

/* Form state */

.newsletter-form {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 62px;
  border-bottom: 1px solid #6d6d6d;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 62px;
  padding: 16px 58px 16px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fbf1e6;
  font-family: "Geist", sans-serif;
  font-size: var(--twenty);
  font-weight: 400;
  line-height: 1.5;
}

.newsletter-form input[type="email"]::placeholder {
  color: #929292;
  opacity: 1;
}

.newsletter-submit {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #929292;
  font-size: var(--twenty-eight);
  line-height: 1;
}

.newsletter-submit:hover,
.newsletter-submit:focus-visible {
  color: #fbf1e6;
}

.newsletter-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

/*
 * Do not let the general newsletter input styling make the
 * honeypot visible or cause it to occupy space.
 */
.newsletter-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Result state */

.newsletter-result {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 62px;
  color: #fbf1e6;
  font-family: "Geist", sans-serif;
}

.newsletter-result[hidden] {
  display: none;
}

.newsletter-result__symbol {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fbf1e6;
  color: #111;
  font-size: var(--sixteen);
  font-weight: 500;
  line-height: 1;
}

.newsletter-result__message {
  margin: 0;
  font-size: var(--sixteen);
  font-weight: 400;
  line-height: 1.5;
}

.newsletter-result__retry {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  background: transparent;
  color: #fbf1e6;
  font: inherit;
}

.newsletter-result__retry[hidden] {
  display: none;
}

.newsletter-result[data-result="success"]
  .newsletter-result__symbol--error {
  display: none;
}

.newsletter-result[data-result="error"]
  .newsletter-result__symbol--success {
  display: none;
}

/* Optional state transition */

.newsletter-form,
.newsletter-result {
  transition:
    opacity 160ms ease,
    visibility 160ms ease;
}

.newsletter-form-panel[data-state="result"]
  .newsletter-form {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 520px) {
  .newsletter-result {
    gap: 12px;
  }

  .newsletter-result__message {
    font-size: var(--fifteen-mobile);
  }

  .newsletter-result__retry {
    margin-left: 0;
  }
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-content: start;
  padding-top: 12px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-nav a {
  font-size: var(--twenty-three);
  font-weight: 400;
  line-height: 1.3;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(46px, 5vw, 90px);
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fourteen);
}

.footer-wordmark {
  width: calc(100% - (var(--page-gutter) * 2));
  margin: clamp(50px, 6vw, 80px) auto 0;
}

.footer-wordmark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Footer "What we do" accordion */
.what-we-do-picker {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.what-we-do-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--twenty-three);
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}


.what-we-do-picker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.what-we-do-picker__panel {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;

  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  min-width: 190px;
  padding: 14px 0px;

  overflow: hidden;
  pointer-events: none;
  background: var(--black);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  transition:
    opacity 200ms ease,
    transform 240ms ease,
    visibility 0s linear 240ms;
}

.what-we-do-picker__panel a {
  display: block;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--eighteen);
  font-weight: 300;
  line-height: 1.35;
  white-space: nowrap;

  transition:
    color 180ms ease,
    transform 180ms ease;
}

.what-we-do-picker__panel a:hover,
.what-we-do-picker__panel a:focus-visible {
  color: var(--white);
  transform: translateX(4px);
}

.what-we-do-picker:hover .what-we-do-picker__panel,
.what-we-do-picker:focus-within .what-we-do-picker__panel,
.what-we-do-picker.is-open .what-we-do-picker__panel {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  transition:
    opacity 200ms ease,
    transform 240ms ease,
    visibility 0s;
}

/* Responsive */
@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: auto auto;
    align-items: center;
  }

  .primary-nav {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__content > p {
    width: min(100%, 560px);
  }

  .section-index {
    display: none;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card__content {
    max-width: none;
  }

  .feature-card__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 22px;
  }

  .hero {
    min-height: max(680px, 100svh);
  }

  .hero__content {
    padding-top: 140px;
    padding-bottom: 120px;
    gap: 26px;
  }

  .hero h1 {
    font-size: var(--seventy-mobile);
  }

  .hero__content > p {
    font-size: var(--eighteen-mobile);
  }

  .intro {
    margin-top: -58px;
    padding-block: 58px 72px;
    border-radius: 28px 28px 0 0;
  }

  .sector-list {
    padding: 20px;
  }

  .sector-card {
    aspect-ratio: 7 / 3;
    border-radius: 24px;
  }

  .sector-card h3 {
    padding: 20px;
    font-size: var(--thirty-six-mobile);
  } 

  .service-ticker {
    font-size: var(--forty-two-mobile);
  }

  .feature-card {
    gap: 26px;
    padding: 22px;
    border-radius: 14px;
  }

  .feature-card__number {
    margin-bottom: 18px;
    font-size: var(--thirteen-mobile);
  }

  .feature-card h3 {
    margin-bottom: 20px;
    font-size: var(--thirty-four-mobile);
  }

  .feature-card__content > p:not(.feature-card__number) {
    margin-bottom: 26px;
    font-size: var(--sixteen-mobile);
  }

  .testimonial h2 {
    font-size: var(--thirty-four-mobile);
  }

  .testimonial .eyebrow {
    flex-wrap: wrap;
  }

  .testimonial .eyebrow b {
    margin-left: auto;
  }

  .footer-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 42px;
  }

  .footer-nav {
    gap: 22px;
  }

  .footer-nav a {
    font-size: var(--eighteen-mobile);
  }

  .footer-meta {
    margin-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   What We Do desktop dropdown
   Based directly on the supplied 1920 × 634 layout.
   ========================================================================== */

.sectors-toggle,
.what-we-do-toggle {
  position: relative;
  z-index: 1003;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition:
    opacity 160ms ease,
    background-color 160ms ease;
}

.sectors-toggle:hover,
.sectors-toggle:focus-visible,
.what-we-do-toggle:hover,
.what-we-do-toggle:focus-visible {
  opacity: 0.62;
}

/* 176 × 58px pill shown when the current page is under What We Do */
.sectors-toggle[aria-current="page"],
.what-we-do-toggle[aria-current="page"] {
  border-radius: 1000px;
  background: var(--header-active-nav-bg);
  color: var(--header-fg);
  opacity: 1;
  -webkit-backdrop-filter: blur(13.5px);
  backdrop-filter: blur(13.5px);
}

/* 1920 × 634px dark overlay */
.sectors-menu,
.what-we-do-menu {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;

  width: 100%;
  height: 634px;

  overflow: hidden;
  background: var(--header-dropdown-bg);
  color: var(--header-dropdown-fg);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.sectors-menu {
  height: 509px
}
.sectors-menu.is-open,
.what-we-do-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/*
  Supplied desktop positions:

  First column:
  left: 590px
  top: 205px
  width: 425px

  Second column:
  left: 1086px
  top: 205px
  width: 425px
*/
.sectors-menu__links,
.what-we-do-menu__links {
  position: absolute;
  top: 205px;
  left: calc(50% - 360px);

  width: 921px;
  display: grid;
  grid-template-columns: repeat(2, 425px);
  column-gap: 70px;
}

.sectors-menu__links {
  grid-template-columns: repeat(2, 500px);
  left: calc(50% - 535px);
}

.sectors-menu__column,
.what-we-do-menu__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sectors-menu__column a,
.sectors-menu__column span,
.what-we-do-menu__column a,
.what-we-do-menu__column span {
  display: block;
  margin: 0;

  color: inherit;
  font-family: var(--sans);
  font-size: var(--forty-eight);
  font-weight: 300;
  line-height: 1.3;
}

/* Only the real link gets interactive styling */
.sectors-menu__column a,
.what-we-do-menu__column a {
  cursor: pointer;
  transition: opacity 160ms ease;
}

.sectors-menu__column a:hover,
.sectors-menu__column a:focus-visible,
.what-we-do-menu__column a:hover,
.what-we-do-menu__column a:focus-visible {
  opacity: 0.6;
}

/* Keep the normal header visible above the panel */
.site-header {
  z-index: 1001;
}

/* Prevent scrolling behind the open dropdown */
body.sectors-menu-open,
body.what-we-do-menu-open {
  overflow: hidden;
}

/* Mobile uses the separate full-screen navigation */
@media (max-width: 760px) {
  .sectors-menu,
  .what-we-do-menu {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sectors-menu,
  .sectors-toggle,
  .sectors-menu__column a,
  .what-we-do-menu,
  .what-we-do-toggle,
  .what-we-do-menu__column a {
    transition: none;
  }
}

/* =========================================================
   Cookie Consent Banner
   ========================================================= */

.cookie-banner {
  position: fixed;
  /* Above .site-header (z-index: 1001) so the panel is never masked. */
  z-index: 1100;
  top: auto;
  bottom: 100px;
  right: 113px;

  width: min(708px, calc(100vw - 400px));

  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  transition:
    opacity 250ms ease,
    visibility 250ms ease,
    transform 250ms ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}

/* JS freezes the banner's bottom edge to a fixed pixel value on load
   (see scripts/cookies.js), switching `top` to `auto`. Because `bottom`
   never changes again after that, growing .cookie-box's max-height for
   the preferences panel expands the same single box upward only — the
   bottom-right corner never moves, and nothing needs to jump to/from a
   non-animatable `auto` value mid-transition. */

.cookie-box,
.cookie-box *,
.cookie-box *::before,
.cookie-box *::after {
  box-sizing: border-box;
}

.cookie-box {
  scrollbar-width: none;

  width: 100%;
  max-height: fit-content;
  padding: 32px 48px;

  border: 1px solid rgba(255, 255, 255, 0.149);
  border-radius: 20px;

  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.251);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  overflow-y: auto;

  transition: max-height 320ms ease;
}

.cookie-box::-webkit-scrollbar {
  display: none;
}

.cookie-banner.is-expanded .cookie-box {
  max-height: calc(100svh - 400px);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;

  width: 100%;
  height: 100%;
}

.cookie-header {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;

  width: 100%;
}

.cookie-title,
.cookie-modal-title{
  width: 100%;
  margin: 0;

  font-family: var(--display);
  font-size: var(--thirty-two);
  font-style: normal;
  font-weight: 300;
  line-height: 1.1;

  color: #ffffff;
}

.cookie-text {
  width: 100%;
  max-width: none;
  margin: 0;

  font-family: var(--sans);
  font-size: var(--sixteen);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.702);
}

.cookie-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;

  width: 100%;
}

.cookie-button {
  display: inline-flex;
  flex: 0 0 auto;

  width: max-content;
  white-space: nowrap;

  align-items: center;
  justify-content: center;

  min-height: 37px;
  padding: 10px 20px;

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;

  background: transparent;
  color: #ffffff;

  font-family: var(--sans);
  font-size: var(--twelve);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  transform: translateY(-2px);
}

.cookie-button-accept {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
}

.cookie-button-manage {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.102);
}

/* =========================================================
   Cookie Preferences Panel
   (swaps into the same .cookie-box as the notice panel)
   ========================================================= */

.cookie-panel.is-hidden {
  display: none;
}

.cookie-modal-title {
  margin-bottom: 32px;
}

.cookie-options {
  width: 100%;

  border-top: 1px solid rgba(255, 255, 255, 0.149);
}

.cookie-option {
  border-bottom: 1px solid rgba(255, 255, 255, 0.149);
}

.cookie-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin: 12px 0px;
}

.cookie-option-title {
  margin: 0;

  color: #ffffff;

  font-family: var(--sans);
  font-size: var(--eighteen);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}

.cookie-option-status {
  flex: 0 0 auto;

  color: rgba(255, 255, 255, 0.55);

  font-family: var(--sans);
  font-size: var(--twelve);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-option-text {
  max-width: 100%;
  padding-right: 76px;

  font-size: var(--fourteen);
  line-height: 1.6;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;

  width: 100%;
  margin-top: 24px;
}

.cookie-modal-actions .cookie-button {
  flex: 1 1 0;
  min-width: 0;
}


/* =========================================================
   Toggle Switch
   ========================================================= */

.cookie-switch {
  position: relative;

  display: inline-flex;
  flex: 0 0 auto;

  cursor: pointer;
}

.cookie-switch-input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.cookie-switch-control {
  position: relative;

  display: block;
  width: 52px;
  height: 30px;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.12);

  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.cookie-switch-control::after {
  content: "";

  position: absolute;
  top: 4px;
  left: 4px;

  width: 20px;
  height: 20px;

  border-radius: 50%;

  background: #ffffff;

  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.cookie-switch-input:checked + .cookie-switch-control {
  border-color: #ffffff;
  background: #ffffff;
}

.cookie-switch-input:checked + .cookie-switch-control::after {
  background: #000000;
  transform: translateX(22px);
}

.cookie-switch-input:focus-visible + .cookie-switch-control {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 760px) {
  .cookie-banner {
    top: auto;
    right: 16px;
    bottom: 16px;
    left: 16px;

    width: auto;
  }

  .cookie-banner.is-expanded {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;

    transform: none;
  }

  .cookie-banner.is-expanded.is-hidden {
    transform: translateY(20px);
  }

  .cookie-box {
    min-height: 0;
    padding: 28px 24px;
  }

  .cookie-banner.is-expanded .cookie-box {
    max-height: 90svh;

    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .cookie-title,
  .cookie-modal-title {
    font-size: var(--thirty-mobile);
  }

  .cookie-text {
    font-size: var(--fifteen-mobile);
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-button {
    flex: none;
    width: 100%;
    min-height: 46px;
  }

  .cookie-modal-title {
    margin-bottom: 28px;
  }

  .cookie-option {
    padding: 22px 0;
  }

  .cookie-option-header {
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-option-text {
    padding-right: 0;
  }

  .cookie-option-status {
    text-align: right;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-actions .cookie-button {
    flex: none;
    width: 100%;
  }
}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-box,
  .cookie-button,
  .cookie-switch-control,
  .cookie-switch-control::after {
    transition: none;
  }
}

.name_input {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}