/* ============================================================
   bild.systems
   Built from design/bild.pen exports (desktop 1440 / mobile 390).

   Scaling model: every dimension is in rem, and the root font
   size tracks the viewport — 16px at 1512px wide (14" MacBook
   Pro), proportionally larger on bigger displays, smaller down
   to the mobile breakpoint. Resize the window and the whole
   layout keeps its ratio. Hairline borders stay in px.
   ============================================================ */

:root {
  --color-ivory: #f0ede8;
  --color-khaki: #e4dfd5;
  --color-taupe: #cec3b3;
  --color-black: #35342f;
  --color-ink: #2e2d2a;
  --color-black-70: rgba(53, 52, 47, 0.7);
  --color-black-50: rgba(53, 52, 47, 0.5);
  --color-black-12: rgba(53, 52, 47, 0.12);
  --color-yellow: #f2ce3c;
  --color-lilac: #ac9ae8;
  --color-olive: #7d8449;
  --color-coral: #c4553d;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --pad-x: 2rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-ui: 240ms;
  --dur-edit: 650ms;
}

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

/* fallback smoothing for no-JS; the JS lerp owns it otherwise */
html {
  scroll-behavior: smooth;
  /* 16px at 1512 viewport; scales linearly with width */
  font-size: clamp(10px, 1.05820vw, 44px);
}

html.js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--color-ivory);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.drawer-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ---------- shared bits ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.625rem;
  border-radius: 1.625rem;
  background: #fff;
  color: var(--color-black);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out),
    transform var(--dur-ui) var(--ease-out);
}

.button:hover {
  background: var(--color-ink);
  color: var(--color-ivory);
  transform: translateY(-0.125rem);
}

.button--dark {
  background: var(--color-ink);
  color: var(--color-ivory);
}

.button--dark:hover {
  background: #fff;
  color: var(--color-black);
}

.button--lg {
  padding: 1.0625rem 1.75rem;
  font-size: 0.875rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: -0.044em;
  line-height: 1.05;
}

.kicker {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black-50);
}

/* ---------- logo ---------- */

.logo {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  color: var(--color-black);
}

.logo__mark {
  width: 1.875rem;
  height: 1.875rem;
}

.logo__word {
  width: 4.0625rem;
  height: 1.8125rem;
}

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  padding: 1.5rem var(--pad-x);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.375rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.625rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.nav__link {
  position: relative;
  color: var(--color-black-70);
  transition: color var(--dur-ui) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease-out);
}

.nav__link:hover {
  color: var(--color-black);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link[aria-current="page"] {
  color: var(--color-black);
}

.nav__burger,
.menu__close,
.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  transition: transform var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out),
    color var(--dur-ui) var(--ease-out);
}

.nav__burger svg,
.menu__close svg,
.drawer__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav__burger:hover {
  background: var(--color-ink);
  color: var(--color-ivory);
}

/* ---------- menu overlay (markup injected by JS) ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms;
}

.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 360ms var(--ease-out);
}

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1.25rem;
  flex-shrink: 0;
}

.menu__close {
  background: var(--color-ink);
  color: var(--color-ivory);
}

.menu__close:hover {
  transform: rotate(90deg);
}

.menu__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  flex: 1;
  padding: 0.625rem 0 1.75rem;
  overflow-y: auto;
}

.menu__upper {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
}

.menu__links {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
}

.menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.375rem;
  border-bottom: 1px solid var(--color-black-12);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.033em;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.menu__link:last-child {
  border-bottom: 0;
}

.menu__link svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--dur-ui) var(--ease-out);
}

.menu__link:hover svg {
  transform: translateX(0.375rem);
}

.menu.is-open .menu__link {
  opacity: 1;
  transform: translateY(0);
}

.menu.is-open .menu__link:nth-child(1) { transition-delay: 60ms; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 120ms; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 180ms; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 240ms; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 300ms; }

.menu__promos {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.25rem;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 500ms var(--ease-out) 340ms, transform 500ms var(--ease-out) 340ms;
}

.menu.is-open .menu__promos {
  opacity: 1;
  transform: translateY(0);
}

.menu__promo {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  width: 16.25rem;
  height: 11.875rem;
  padding: 1rem;
  border-radius: 0.125rem;
  background: var(--color-khaki);
}

.menu__promo-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.menu__promo-img {
  flex: 1;
  border-radius: 0.125rem;
  background-position: center;
  background-size: cover;
}

.menu__lower {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  padding: 0 1.25rem;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 500ms var(--ease-out) 400ms, transform 500ms var(--ease-out) 400ms;
}

.menu.is-open .menu__lower {
  opacity: 1;
  transform: translateY(0);
}

.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-black-12);
}

.menu__contact-label {
  font-size: 0.8125rem;
  color: var(--color-black-50);
}

.menu__email {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.menu__social {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.375rem;
  font-size: 0.875rem;
}

.menu__social a {
  color: var(--color-black-70);
}

.menu__social a:hover {
  color: var(--color-black);
}

.menu__cta {
  width: 100%;
  height: 3.5rem;
  border-radius: 1.75rem;
  font-size: 0.9375rem;
}

/* ---------- drawer (markup injected by JS) ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(46, 45, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms var(--ease-out), visibility 0s linear 400ms;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms var(--ease-out);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  width: min(35rem, 100%);
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  transform: translateX(100%);
  transition: transform 480ms var(--ease-out);
  visibility: hidden;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  flex-shrink: 0;
}

.drawer__close {
  background: var(--color-khaki);
}

.drawer__close:hover {
  background: var(--color-ink);
  color: var(--color-ivory);
  transform: rotate(90deg);
}

.drawer__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 2rem 2.5rem;
}

.drawer__image {
  height: 15.25rem;
  border-radius: 0.125rem;
  background-position: center;
  background-size: cover;
  margin-bottom: 1.75rem;
}

.drawer__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.drawer__lede {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-black-70);
  margin-bottom: 1.75rem;
}

.drawer__section {
  border-top: 1px solid var(--color-black-12);
  padding: 1.375rem 0;
}

.drawer__section-title {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black-50);
  margin-bottom: 0.875rem;
}

.drawer__section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.drawer__section li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.drawer__section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3125rem;
  height: 0.3125rem;
  background: var(--color-black);
}

.drawer__body p {
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.125rem;
}

.drawer__number {
  border-top: 1px solid var(--color-black-12);
  padding: 1.375rem 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.drawer__foot {
  flex-shrink: 0;
  padding: 1.25rem 2rem 2rem;
  border-top: 1px solid var(--color-black-12);
}

.drawer__foot .button {
  width: 100%;
  height: 3.5rem;
  border-radius: 1.75rem;
  font-size: 0.9375rem;
}

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

.hero {
  display: flex;
  height: min(58.125rem, calc(100svh - 4.75rem));
  min-height: 35rem;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 8.75rem 2.5rem 3rem var(--pad-x);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: 3.375rem;
  font-weight: 700;
  letter-spacing: -0.039em;
  line-height: 1.06;
  max-width: 15em;
}

.hero__caption {
  color: var(--color-black-70);
}

.hero__panel {
  flex-shrink: 0;
  width: min(42.5rem, 47.2%);
  height: 100%;
  overflow: hidden;
  background: var(--color-khaki);
  padding: 6rem 0 0 3.75rem;
}

.mosaic {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: max-content;
}

.mosaic__row {
  display: flex;
  gap: 1.25rem;
}

.mosaic__photo,
.mosaic__void {
  width: 18.75rem;
  height: 15.625rem;
  border-radius: 0.125rem;
  flex-shrink: 0;
}

.mosaic__photo {
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

/* ---------- statements ---------- */

.statement {
  display: flex;
  justify-content: center;
  padding: 15rem 8.75rem;
}

.statement__lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 0.26em;
  row-gap: 0.5rem;
  max-width: 21em;
  font-family: var(--font-display);
  font-size: 2.875rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: center;
}

.statement__lines .w {
  display: inline-flex;
  align-items: center;
}

.accent--olive { color: var(--color-olive); }
.accent--coral { color: var(--color-coral); }

.inline-photo {
  display: inline-block;
  width: 1.1em;
  height: 0.84em;
  border-radius: 0.1875rem;
  background-position: center;
  background-size: cover;
  vertical-align: middle;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.97em;
  height: 0.84em;
  border-radius: 0.42em;
  vertical-align: middle;
}

.chip svg {
  width: 0.57em;
  height: 0.57em;
}

.chip--yellow { background: var(--color-yellow); }
.chip--lilac { background: var(--color-lilac); }

.statement--ambition {
  padding: 11.25rem 15rem;
}

.statement__copy {
  font-family: var(--font-display);
  font-size: 2.875rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.19;
  text-align: center;
  max-width: 21em;
}

/* ---------- rails (horizontal scroll on mobile) ---------- */

.rail {
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-progress {
  display: none;
  padding: 0 1.25rem;
  width: 100%;
  height: 2px;
}

.rail-progress > .rail-progress__fill {
  display: block;
  width: 30%;
  height: 2px;
  background: var(--color-black-50);
  transition: width 200ms linear;
}

/* ---------- engagement cards ---------- */

.engagements {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cards {
  display: flex;
  gap: 0.125rem;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  background: var(--color-khaki);
}

.card--taupe {
  background: var(--color-taupe);
}

.card__media {
  height: 15.25rem;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: transform 900ms var(--ease-out);
}

.card:hover .card__img {
  transform: scale(1.05);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__head {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.75rem 1.75rem 1.25rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.card__desc {
  color: var(--color-black-70);
  font-size: 0.8125rem;
  line-height: 1.54;
}

.card__foot {
  padding: 1.625rem 1.75rem 1.75rem;
  margin-top: auto;
}

/* ---------- principles ---------- */

.principles {
  display: flex;
  flex-direction: column;
  gap: 2.875rem;
  padding: 11.25rem var(--pad-x) 0;
}

.principles__grid {
  display: flex;
  gap: 0.75rem;
}

.principles__slot {
  flex: 1 1 0;
}

.principles__slot--down1 { padding-top: 0.875rem; }
.principles__slot--down2 { padding-top: 1.75rem; }

.principle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18.75rem;
  padding: 1.5rem;
  border-radius: 0.125rem;
  background: var(--color-khaki);
}

.principle__label,
.principle__number {
  font-size: 0.8125rem;
  color: var(--color-black-70);
}

.principle__statement {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 1.125rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.19;
  text-align: center;
}

/* ---------- photo band ---------- */

.band {
  overflow: hidden;
  width: 100%;
}

.band__row {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.band__photo {
  width: 23.75rem;
  height: 37.5rem;
  flex-shrink: 0;
  border-radius: 0.125rem;
  background-position: center;
  background-size: cover;
}

/* ---------- field notes (home) ---------- */

.notes {
  display: flex;
  flex-direction: column;
  gap: 2.875rem;
  padding: 10rem var(--pad-x) 0;
}

.notes__rail {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 0;
  height: 17.5rem;
  padding: 1.5rem;
  border-radius: 0.125rem;
  background: var(--color-khaki);
}

.note__body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.note__title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.027em;
  line-height: 1.23;
}

.note__support {
  color: var(--color-black-70);
  font-size: 0.8125rem;
  line-height: 1.54;
}

.note__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.note__number {
  font-size: 0.8125rem;
  color: var(--color-black-70);
}

/* ---------- closing ---------- */

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
  padding: 15rem 1.5rem;
}

.closing__statement {
  font-family: var(--font-display);
  font-size: 2.875rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.19;
  text-align: center;
  max-width: 55rem;
}

/* ============================================================
   Subpages
   ============================================================ */

.page-head {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
  padding: 6.5rem var(--pad-x) 0;
  max-width: 68rem;
}

.page-head__title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.044em;
  line-height: 1.03;
}

.page-head__support {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-black-70);
  max-width: 38rem;
}

/* --- engagement details (workflows page) --- */

.details {
  display: flex;
  flex-direction: column;
  gap: 7.5rem;
  padding: 7.5rem var(--pad-x) 0;
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  scroll-margin-top: 4rem;
}

.detail:nth-child(even) .detail__media {
  order: 2;
}

.detail__media {
  position: sticky;
  top: 4rem;
  height: 32rem;
  border-radius: 0.125rem;
  overflow: hidden;
  background: var(--color-khaki);
}

.detail__img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.detail__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.detail__kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black-50);
}

.detail__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.detail__lede {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-black-70);
  max-width: 34rem;
}

.detail__block {
  border-top: 1px solid var(--color-black-12);
  padding-top: 1.375rem;
}

.detail__block-title {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black-50);
  margin-bottom: 0.875rem;
}

.detail__block ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.detail__block li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.detail__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3125rem;
  height: 0.3125rem;
  background: var(--color-black);
}

.detail__number {
  border-top: 1px solid var(--color-black-12);
  padding-top: 1.375rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 30rem;
}

/* --- method steps (approach page) --- */

.steps {
  display: flex;
  flex-direction: column;
  padding: 7.5rem var(--pad-x) 0;
}

.step {
  display: grid;
  grid-template-columns: 8rem 1fr 1.2fr;
  gap: 2.5rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--color-black-12);
}

.step__no {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black-50);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.step__copy {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-black-70);
  max-width: 36rem;
}

/* --- refusals (approach page) --- */

.refusals {
  display: flex;
  flex-direction: column;
  gap: 2.875rem;
  padding: 11.25rem var(--pad-x) 0;
}

.refusals__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.refusal {
  background: var(--color-khaki);
  border-radius: 0.125rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.refusal__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.refusal__copy {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-black-70);
}

/* --- notes list (thinking page) --- */

.notes-list {
  display: flex;
  flex-direction: column;
  padding: 6.5rem var(--pad-x) 0;
}

.notes-list__row {
  display: grid;
  grid-template-columns: 10rem 1fr 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-black-12);
  text-align: left;
  width: 100%;
  transition: background var(--dur-ui) var(--ease-out);
}

.notes-list__meta {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--color-black-50);
  white-space: nowrap;
}

.notes-list__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.notes-list__excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-black-70);
  max-width: 30rem;
}

.notes-list__arrow {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--dur-ui) var(--ease-out);
}

.notes-list__row:hover .notes-list__arrow {
  transform: translateX(0.375rem);
}

/* --- prose (about, legal) --- */

.prose {
  padding: 4.5rem var(--pad-x) 0;
  max-width: 50rem;
}

.prose > * + * {
  margin-top: 1.375rem;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 3rem;
}

.prose ul {
  margin: 1.375rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prose li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.3125rem;
  height: 0.3125rem;
  background: var(--color-black);
}

.prose--legal p,
.prose--legal li {
  font-size: 0.9375rem;
  color: var(--color-black-70);
}

.prose--legal h2 {
  font-size: 1.25rem;
  color: var(--color-black);
}

.prose__signoff {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 3rem;
}

/* --- FAQ --- */

.faq {
  display: flex;
  flex-direction: column;
  padding: 6.5rem var(--pad-x) 0;
  max-width: 62rem;
}

.faq__item {
  border-top: 1px solid var(--color-black-12);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 1.875rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 320ms var(--ease-out);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 420ms var(--ease-out);
}

.faq__a-inner {
  padding: 0 0 1.875rem;
  max-width: 44rem;
}

.faq__lead {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.faq__copy {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-black-70);
}

/* --- enquiry form (contact page) --- */

.enquiry {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  padding: 5rem var(--pad-x) 0;
}

.enquiry__aside {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.enquiry__aside-copy {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-black-70);
  max-width: 26rem;
}

.enquiry__direct {
  border-top: 1px solid var(--color-black-12);
  padding-top: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.enquiry__direct-label {
  font-size: 0.8125rem;
  color: var(--color-black-50);
}

.enquiry__direct a {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: 500;
}

.form__hint {
  font-weight: 400;
  color: var(--color-black-50);
}

.form input,
.form textarea {
  font: inherit;
  font-size: 0.9375rem;
  color: var(--color-black);
  background: var(--color-khaki);
  border: 1px solid transparent;
  border-radius: 0.125rem;
  padding: 0.9375rem 1rem;
  outline: none;
  transition: border-color var(--dur-ui) var(--ease-out), background var(--dur-ui) var(--ease-out);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--color-black);
  background: #fff;
}

.form textarea {
  min-height: 11rem;
  resize: vertical;
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.form__status {
  font-size: 0.875rem;
  color: var(--color-black-70);
}

.form__status--error {
  color: var(--color-coral);
}

.form.is-sent .form__fields,
.form.is-sent .form__foot {
  display: none;
}

.form__done {
  display: none;
  flex-direction: column;
  gap: 0.875rem;
  background: var(--color-khaki);
  border-radius: 0.125rem;
  padding: 2rem;
}

.form.is-sent .form__done {
  display: flex;
}

.form__done-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.form__done-copy {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-black-70);
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hp {
  position: absolute;
  left: -624.9375rem;
  opacity: 0;
  pointer-events: none;
}

/* ---------- footer ---------- */

.footer {
  overflow: hidden;
  background: var(--color-khaki);
  margin-top: 11.25rem;
}

.footer--flush {
  margin-top: 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4.5rem 2.5rem 0;
}

.footer__logo {
  display: none;
}

.footer__columns {
  display: flex;
  gap: 6.625rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer__label {
  opacity: 0.45;
}

.footer__col a {
  opacity: 0.85;
  transition: opacity var(--dur-ui) var(--ease-out);
}

.footer__col a:hover {
  opacity: 1;
}

.footer__top-btn {
  height: 3rem;
  border-radius: 1.5rem;
  padding: 0 1.625rem;
}

.footer__slogan {
  position: relative;
  height: 18.75rem;
  overflow: hidden;
}

.footer__marquee {
  position: absolute;
  top: 6rem;
  left: 0;
  display: flex;
  gap: 5rem;
  width: max-content;
  will-change: transform;
}

.footer__slogan-line {
  font-family: var(--font-display);
  font-size: 11.25rem;
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1;
  white-space: nowrap;
}

.footer__slogan-line .letter {
  display: inline-block;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4.75rem 2.5rem 2rem;
  font-size: 0.8125rem;
}

.footer__legal {
  display: flex;
  gap: 1.375rem;
}

.footer__legal a {
  opacity: 0.85;
  transition: opacity var(--dur-ui) var(--ease-out);
}

.footer__legal a:hover {
  opacity: 1;
}

.footer__copyright {
  color: var(--color-black-70);
}

/* ============================================================
   Motion — reveal states (directional, measured, sequential)
   ============================================================ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.125rem);
  transition: opacity var(--dur-edit) var(--ease-out), transform var(--dur-edit) var(--ease-out);
}

.js [data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* masked line reveal — spans injected by JS */
.js [data-lines-reveal] .line-mask {
  display: block;
  overflow: hidden;
}

.js [data-lines-reveal] .line {
  display: block;
  transform: translateY(110%);
  transition: transform 700ms var(--ease-out);
}

.js [data-lines-reveal].is-inview .line {
  transform: translateY(0);
}

.js [data-lines-reveal].no-transition .line {
  transition: none !important;
}

/* word-by-word reveal (statement) */
.js [data-word-reveal] .w {
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}

.js [data-word-reveal].is-inview .w {
  opacity: 1;
  transform: translateY(0);
}

/* photos: clip-up reveal */
.js [data-photo-reveal] {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 800ms var(--ease-out);
}

.js [data-photo-reveal].is-inview {
  clip-path: inset(0 0 0 0);
}

/* cards / rows rise in sequence */
.js [data-card-reveal] {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}

.js [data-card-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* footer slogan letters */
.js .footer__slogan-line .letter {
  transform: translateY(110%);
  transition: transform 600ms var(--ease-out);
}

.js .footer__slogan.is-inview .letter {
  transform: translateY(0);
}

/* nav intro */
.js .nav {
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.js.is-loaded .nav {
  opacity: 1;
  transform: translateY(0);
}

/* debug: ?menu opens the overlay with no transitions */
html.menu-debug .menu,
html.menu-debug .menu * {
  transition: none !important;
}

/* ============================================================
   Responsive — mobile (≤ 899px) from the 390 export
   ============================================================ */

@media (max-width: 899px) {
  html {
    /* 16px at the 390 design width; gently fluid between phones */
    font-size: clamp(14px, 4.1026vw, 17px);
  }

  :root {
    --pad-x: 1.25rem;
  }

  .nav {
    height: 4rem;
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-ivory);
  }

  .nav__links {
    display: none;
  }

  /* hero stacks: text above full-width mosaic */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .hero__left {
    gap: 5rem;
    padding: 3.75rem 1.25rem 1rem;
  }

  .hero__headline {
    font-size: 2.125rem;
    letter-spacing: -0.038em;
    line-height: 1.09;
  }

  .hero__panel {
    width: 100%;
    height: auto;
    padding: 1.75rem 1.25rem;
  }

  .mosaic {
    width: 100%;
    gap: 0.625rem;
  }

  .mosaic__row {
    gap: 0.625rem;
    width: 100%;
  }

  .mosaic__photo,
  .mosaic__void {
    flex: 1 1 0;
    width: auto;
    height: 8.875rem;
  }

  .statement {
    padding: 5.75rem 1.25rem;
  }

  .statement__lines {
    font-size: 1.75rem;
    row-gap: 0.25rem;
    max-width: 100%;
  }

  .statement--ambition {
    padding: 6.5rem 1.5rem;
  }

  .statement__copy {
    font-size: 1.6875rem;
  }

  .section-heading {
    font-size: 2rem;
    letter-spacing: -0.04em;
    line-height: 1.06;
  }

  /* rails: engagement cards + notes become horizontal scrollers */
  .rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .rail-progress {
    display: block;
  }

  .cards {
    gap: 0.75rem;
    padding: 0 1.25rem;
  }

  .card {
    flex: 0 0 18.75rem;
    width: 18.75rem;
    height: 29.375rem;
    scroll-snap-align: start;
    scroll-margin-left: 1.25rem;
  }

  .card__media {
    height: 12.5rem;
  }

  .card__head {
    padding: 1.375rem 1.375rem 0;
    gap: 0.5625rem;
  }

  .card__title {
    font-size: 1.1875rem;
  }

  .card__desc {
    font-size: 0.875rem;
    line-height: 1.57;
  }

  .card__foot {
    padding: 1.375rem;
  }

  .principles {
    padding: 6.5rem 1.25rem 0;
    gap: 1.625rem;
  }

  .principles__grid {
    flex-direction: column;
    gap: 0.625rem;
  }

  .principles__slot--down1,
  .principles__slot--down2 {
    padding-top: 0;
  }

  .principle {
    height: 12.25rem;
    padding: 1.25rem;
  }

  .principle__statement {
    font-size: 1.5rem;
  }

  .band__photo {
    width: 13.25rem;
    height: 20.625rem;
  }

  .band__row {
    gap: 0.75rem;
  }

  .notes {
    padding: 6.25rem 0 0;
    gap: 1.625rem;
  }

  .notes .section-heading {
    padding: 0 1.25rem;
  }

  .notes__rail {
    padding: 0 1.25rem;
  }

  .note {
    flex: 0 0 18.75rem;
    width: 18.75rem;
    height: 17.875rem;
    padding: 1.375rem;
    scroll-snap-align: start;
    scroll-margin-left: 1.25rem;
  }

  .note--taupe {
    background: var(--color-taupe);
  }

  .note__title {
    font-size: 1.5rem;
    line-height: 1.21;
  }

  .note__support {
    font-size: 0.875rem;
    line-height: 1.57;
  }

  .closing {
    padding: 6.5rem 1.5rem;
    gap: 2rem;
  }

  .closing__statement {
    font-size: 1.6875rem;
  }

  .closing__cta,
  .closing__cta .button {
    width: 100%;
  }

  .closing__cta .button {
    height: 3.5rem;
    border-radius: 1.75rem;
    font-size: 0.9375rem;
  }

  /* subpages */
  .page-head {
    padding: 3.75rem 1.25rem 0;
    gap: 1.125rem;
  }

  .page-head__title {
    font-size: 2.5rem;
  }

  .page-head__support {
    font-size: 0.9375rem;
  }

  .details {
    padding: 4.5rem 1.25rem 0;
    gap: 5rem;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .detail:nth-child(even) .detail__media {
    order: 0;
  }

  .detail__media {
    position: static;
    height: 15rem;
  }

  .detail__title {
    font-size: 1.875rem;
  }

  .steps {
    padding: 4.5rem 1.25rem 0;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2rem 0;
  }

  .refusals {
    padding: 6.5rem 1.25rem 0;
    gap: 1.625rem;
  }

  .refusals__list {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .notes-list {
    padding: 3.75rem 1.25rem 0;
  }

  .notes-list__row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1.25rem;
    padding: 1.75rem 0;
  }

  .notes-list__meta {
    grid-column: 1 / -1;
  }

  .notes-list__excerpt {
    grid-column: 1 / -1;
  }

  .faq {
    padding: 3.75rem 1.25rem 0;
  }

  .faq__q {
    font-size: 1.1875rem;
    padding: 1.375rem 0;
  }

  .enquiry {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3.5rem 1.25rem 0;
  }

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

  .prose {
    padding: 3rem 1.25rem 0;
  }

  .prose p {
    font-size: 1rem;
  }

  /* drawer becomes full width */
  .drawer {
    width: 100%;
  }

  .drawer__bar,
  .drawer__scroll,
  .drawer__foot {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* footer */
  .footer {
    margin-top: 6.5rem;
  }

  .footer--flush {
    margin-top: 0;
  }

  .footer__top {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 3.5rem;
    padding: 2.25rem 1.25rem 0;
  }

  .footer__logo {
    display: flex;
    order: 0;
  }

  .footer__top-btn {
    order: 1;
    margin-left: auto;
    height: 2.75rem;
    border-radius: 1.375rem;
    padding: 0 1.375rem;
  }

  .footer__columns {
    order: 2;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .footer__col {
    gap: 0.75rem;
    padding: 1.375rem 0;
    border-bottom: 1px solid var(--color-black-12);
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .footer__col:first-child {
    padding-top: 0;
  }

  .footer__col:last-child {
    border-bottom: 0;
  }

  .footer__label {
    font-size: 0.8125rem;
  }

  .footer__slogan {
    height: auto;
    padding: 4.5rem 1.25rem 0;
    overflow: visible;
  }

  .footer__marquee {
    position: static;
    display: block;
    width: auto;
    transform: none !important;
  }

  .footer__slogan-line {
    font-size: 3.375rem;
    letter-spacing: -0.035em;
    line-height: 1;
    white-space: normal;
  }

  .footer__slogan-line + .footer__slogan-line {
    display: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 3.5rem 1.25rem 2rem;
  }
}

/* desktop-only guards */
@media (min-width: 900px) {
  .rail-progress {
    display: none !important;
  }
}

/* ============================================================
   Reduced motion — swap movement for opacity (brand rule)
   ============================================================ */

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

  .js [data-reveal],
  .js [data-card-reveal],
  .js [data-word-reveal] .w,
  .js [data-lines-reveal] .line,
  .js .footer__slogan-line .letter,
  .js .nav,
  .menu__link,
  .menu__promos,
  .menu__lower {
    transform: none !important;
    transition-property: opacity !important;
    transition-duration: 300ms !important;
  }

  .js [data-photo-reveal] {
    clip-path: none;
    opacity: 0;
    transition: opacity 300ms var(--ease-out);
  }

  .js [data-photo-reveal].is-inview {
    opacity: 1;
  }

  .band__row,
  .footer__marquee {
    transform: none !important;
  }

  .card__img,
  .button,
  .menu__close,
  .drawer {
    transition: none !important;
  }

  .drawer {
    transform: none;
    display: none;
  }

  .drawer.is-open {
    display: flex;
  }
}
