/**
 * rstew.art v3.5 - full rebuild (local only)
 * Who sits on a full-bleed solid blue band (live #top language); paper cards keep contrast.
 * No page1 banner, no park video. Scroll-driven pathway remains on the Why trail.
 * Saw CTAs from v3.1. What: v3 lenses/expand + rotating X on Expand right.
 * Study rows with square thumb RIGHT. Footer CSS from v3.
 * Awards and Why restored; provisional How process; When/letterhead parked. No em dashes.
 */

:root {
  --charcoal: #585757;
  --light-grey: #d2d2d2;
  --blue: #1c4e9e;
  --light-blue: #6d8ac6;
  --orange: #f37123;
  --white: #eaeaea;
  --blue-grey: #54656f;
  --blue-green: #233845;
  --museo-sans: "museo-sans", "Museo Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --museo: "museo-slab", "Museo Slab", Georgia, "Times New Roman", serif;
  --shell-max: 1000px;
  --header-h: 3rem;
  --scroll: 0;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  /* Sticky navy header clearance for in-page anchors */
  scroll-padding-top: calc(var(--header-h) + 1.75rem);
}

::selection {
  background-color: var(--orange);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--orange);
  color: var(--white);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: center / auto repeat url("assets/ltbg.png"), var(--light-blue);
  font-family: var(--museo-sans);
  color: var(--charcoal);
  line-height: 1.5;
}

/* ---------------------------------- */
/* MINIMAL SHELL                      */
/* ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  /* Orange fill lives on .progress under the bar (live scroll rail) */
  box-shadow: none;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--museo);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
}

.site-header__word {
  color: var(--white);
}

.site-header__x {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  margin: 0 0.05rem;
  flex: 0 0 auto;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.1rem;
}

.site-nav__list a {
  display: inline-block;
  color: rgba(234, 234, 234, 0.78);
  text-decoration: none;
  font-family: var(--museo-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 3px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.175s ease,
    border-color 0.175s ease,
    background-color 0.175s ease,
    text-shadow 0.175s ease,
    transform 0.175s ease;
}

.site-nav__list a:hover {
  color: var(--white);
  border-bottom-color: rgba(243, 113, 35, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav__list a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.site-nav__list a.is-active,
.site-nav__list a[aria-current="true"] {
  color: var(--white);
  border-bottom-color: var(--orange);
  background: rgba(243, 113, 35, 0.12);
  text-shadow: 0 0 14px rgba(243, 113, 35, 0.55);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 0.35rem;
    padding: 0.55rem 0.85rem 0.65rem;
  }

  .site-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .site-nav__list {
    justify-content: flex-end;
  }

  .site-nav__list a {
    font-size: 0.7rem;
    padding: 0.3rem 0.45rem;
  }
}

/* Live .progress rail: orange line under sticky nav, fills L→R with --scroll */
.progress {
  height: 0.3em;
  width: 0%;
  background-color: var(--orange);
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.progress.scroll-driven {
  animation-name: progress;
  animation-duration: 1s;
  animation-timing-function: linear;
}

@keyframes progress {
  to {
    width: 100%;
  }
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.path-btn {
  appearance: none;
  font-family: var(--museo-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.path-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.path-btn--primary {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: var(--white);
}

.path-btn--primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 6px 14px rgba(243, 113, 35, 0.28);
}

.path-btn--ghost {
  background: var(--white);
  border: 1px solid var(--blue-grey);
  color: var(--blue);
}

.path-btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------------------------------- */
/* WHO: trail CTAs, then fixed blue-topo */
/* ---------------------------------- */

.chapter-who {
  /* No solid section fill. Topo lives on .who-topo after the trail CTA. */
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem; /* cancel .site-main top padding */
  margin-bottom: 0;
  padding: 0;
  scroll-margin-top: 1.5rem;
  background: transparent;
  border-top: 0.35rem solid var(--orange);
  border-bottom: none;
  box-sizing: border-box;
  overflow: visible;
}

.chapter-who > .who-top {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.75rem 1.5rem 1.35rem;
  box-sizing: border-box;
}

/* Fixed blue-topo band: starts after who-enter; height follows content (no 75vh) */
.who-topo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  margin: 0;
  /* Noticeable top/bottom air; bottom also clears overlapping saw teeth */
  padding: 2.75rem 1.5rem 4.75rem;
  box-sizing: border-box;
  background:
    center / cover fixed no-repeat url("assets/hero/blue-topo-lines.png"),
    var(--light-blue);
  /* No hard bottom border: saw straddles topo → ltbg */
  border-bottom: none;
  overflow: visible;
}

.who-topo > .who-layout {
  max-width: 920px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .chapter-who > .who-top {
    padding: 2rem 1.15rem 1.1rem;
  }

  .who-topo {
    padding: 2.15rem 1.15rem 4.5rem;
    /* Match live #top: demote fixed attachment on small screens */
    background:
      center / cover scroll no-repeat url("assets/hero/blue-topo-lines.png"),
      var(--light-blue);
  }
}

.who-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem 1.1rem;
  align-items: start;
  margin: 0; /* topo band begins immediately after trail CTA */
  position: relative;
}

.who-top__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  margin-left: 0;
  padding-left: 0;
}

.who-hero {
  margin: 0 0 1rem;
  width: 100%;
  padding: 1rem 1.1rem 1.05rem;
  background: rgba(243, 243, 243, 0.96);
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  border-top: 3px solid var(--orange);
  box-shadow: 0 6px 18px rgba(28, 78, 158, 0.18);
}

.who-hero__hook {
  font-family: var(--museo);
  color: var(--blue);
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.who-hero__sub {
  margin: 0;
  color: var(--blue-grey);
  font-size: clamp(1.12rem, 2.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 34rem;
}

.who-enter {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem;
  background: rgba(234, 234, 234, 0.72);
  border: 1px solid rgba(210, 210, 210, 0.85);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(28, 78, 158, 0.12);
}

.who-enter__btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.who-patch {
  margin: 0.35rem 0 0;
  width: clamp(7.5rem, 18vw, 9.5rem);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-right: 0;
}

.who-patch img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(34, 34, 34, 0.35));
}

@media (max-width: 560px) {
  .who-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.85rem;
  }

  .who-top__main {
    margin-left: 0;
    padding-left: 0;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .who-hero {
    padding: 1rem 1.1rem 1.05rem;
    text-align: center;
  }

  .who-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .who-patch {
    width: clamp(7rem, 48vw, 9rem);
    margin: 0;
    margin-right: 0;
    order: -1;
    justify-self: center;
  }
}

.chapter-who__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.who-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
}

.who-layout__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 1.45rem 1.25rem 1.55rem;
  background: rgba(234, 234, 234, 0.96);
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(28, 78, 158, 0.2);
}

.who-about {
  margin: 0 0 1.15rem;
  padding: 0;
}

.who-about__row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.95fr);
  gap: 1rem 1.25rem;
  align-items: center;
}

.who-about__p {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 500;
  max-width: none;
  min-width: 0;
}

.who-about__map {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.who-about__map img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(34, 34, 34, 0.3));
}

.who-about__map-caption {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
}

@media (max-width: 640px) {
  .who-about__row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.who-teasers {
  margin: 0;
}

.who-teasers__title {
  font-family: var(--museo);
  color: var(--blue);
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.who-teasers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .who-teasers__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.who-teasers__list li {
  margin: 0;
  padding: 0.7rem 0.75rem;
  background: #f3f3f3;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  border-left: 3px solid var(--orange);
  color: var(--charcoal);
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(84, 101, 111, 0.05);
}

.who-saw-line {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  margin: 0.15rem 0 1.15rem;
  padding: 0;
}

.who-saw-line img {
  display: block;
  width: min(94%, 30rem);
  height: auto;
}

/* ---------------------------------- */
/* SCROLL-DRIVEN TRAIL                 */
/* ---------------------------------- */

.scroll-driven {
  animation-play-state: paused;
  animation-delay: calc(var(--scroll, 0) * -1s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}

.walking-path {
  display: block;
  width: 100%;
  height: auto;
}

.walking-path.scroll-driven {
  animation-name: walk-trail;
  animation-duration: 1s;
  animation-timing-function: linear;
}

@keyframes walk-trail {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .walking-path.scroll-driven {
    animation: none;
    transform: none;
  }
}

/* ---------------------------------- */
/* CTA SAW BAR (from v3.1)            */
/* ---------------------------------- */

.saw-break-container {
  /* Live/v3.1: pull saw up so top teeth sit ON the blue topo; below = body ltbg */
  position: relative;
  z-index: 95;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -3.5rem;
  margin-bottom: 2.5rem;
  border-top: none;
  padding-top: 0;
  overflow: visible;
}

.saw-break {
  background:
    center / 5em repeat-x url("assets/awards/x-topo.svg"),
    center / cover no-repeat url("assets/cta/top-saw-double.png");
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.cta-btns {
  padding: 0.8em;
  border-radius: 0.5em;
  border: solid 0.08rem var(--blue);
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 600px;
  width: calc(100% - 2rem);
  margin: 0 auto;
  transition: background-color 0.4s ease-in-out;
}

.cta-btns:hover {
  background-color: #fff;
}

.cta-btns a {
  text-decoration: none;
  flex: 1;
  display: flex;
}

.cta-btns button {
  background: linear-gradient(180deg, var(--blue-grey) 0%, #404f58 100%);
  color: var(--white);
  padding: 15px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--museo-sans);
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  font-weight: 700;
  border: 1px solid #334047;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-btns button:hover {
  background: linear-gradient(180deg, var(--light-blue) 0%, #5773a8 100%);
  border-color: #465f8f;
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .saw-break {
    height: auto;
    min-height: 10rem;
    padding: 1.5rem 0;
  }
  .cta-btns {
    flex-wrap: wrap;
  }
  .cta-btns a {
    flex: 1 1 40%;
  }
}

/* ---------------------------------- */
/* WHAT: lenses + expand bars + X     */
/* (structure from v3; X from v3.1)   */
/* ---------------------------------- */

.chapter-what {
  margin: 0 0 2.75rem;
  scroll-margin-top: 1.5rem;
}

.chapter-what__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.chapter-what h2 {
  font-family: var(--museo);
  color: var(--blue);
  margin: 0 0 0.45rem;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  letter-spacing: -0.02em;
}

.chapter-what__lead {
  margin: 0 0 1.25rem;
  color: var(--blue-grey);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 40rem;
  font-weight: 500;
}

/* Lens toolbar: light chrome + orange active */
.chrome-bar.lens-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.55rem;
  background: #f3f3f3;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
}

.lens-btn {
  appearance: none;
  font-family: var(--museo-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--blue-grey);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lens-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.lens-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.lens-btn.is-active,
.lens-btn[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(243, 113, 35, 0.28);
}

.expand-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expand-card {
  border: 1px solid #c8cfd4;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(35, 56, 69, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.expand-card.is-filtered-out {
  opacity: 0.35;
}

.expand-card[data-open="true"] {
  border-color: var(--orange);
  box-shadow:
    0 14px 28px rgba(35, 56, 69, 0.1),
    0 0 18px rgba(243, 113, 35, 0.1);
}

.expand-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  background: #f7f7f7;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.expand-head:hover {
  background: rgba(243, 113, 35, 0.04);
}

.expand-head:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -4px;
}

.expand-card[data-open="true"] .expand-head {
  border-bottom-color: var(--light-grey);
  background: rgba(243, 113, 35, 0.06);
}

.expand-title {
  flex: 1;
  margin: 0;
  font-family: var(--museo);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  letter-spacing: 0.02em;
  min-width: 0;
}

.expand-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Rotating X: Skill-Sets pattern, parked to the RIGHT of Expand */
.expand-x {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
}

.expand-x:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.orange-x-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  transition: transform 0.5s ease-in-out, background-color 0.3s ease;
  flex-shrink: 0;
}

.orange-x-icon img {
  width: 1.2rem;
  height: 1.2rem;
}

.expand-x:hover .orange-x-icon {
  background-color: rgba(243, 114, 35, 0.1);
}

/* Resting = +, open = rotate 45deg to × (v3.1 Skill-Sets behavior) */
.expand-card[data-open="true"] .orange-x-icon {
  transform: rotate(45deg);
}

.expand-body {
  max-height: 0;
  padding: 0 1.15rem;
  background: var(--white);
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.35s ease, padding 0.5s ease;
  will-change: max-height, opacity, padding;
}

.expand-body.is-open {
  padding: 1rem 1.15rem 1.75rem;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .expand-head,
  .expand-body {
    transition: none;
  }
}

.expand-body > p {
  margin: 0 0 0.75rem;
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}

.expand-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-grey);
  font-weight: 700;
  margin: 0 0 0.35rem !important;
}

/* Grey-box walls: 1×5 equal squares */
.mason-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 0.85rem 0 1.25rem;
}

@media (max-width: 720px) {
  .mason-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .mason-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mason-brick {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: #e4e4e4;
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  margin: 0;
  padding: 0.25rem 0.35rem;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.mason-brick.mason-sq {
  min-height: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.mason-label {
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-grey);
  opacity: 0.7;
  font-weight: 700;
  font-family: var(--museo-sans);
}

.mason-brick img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.mason-brick:has(img) {
  /* Keep the grey-box frame: inset the photo so border + radius still read */
  padding: 0.28rem;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  box-sizing: border-box;
}

/* ---------------------------------- */
/* WORK STUDIES: 2-col + thumbs       */
/* ---------------------------------- */

.study-callouts {
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem;
  background: #f3f3f3;
  border: 1px solid var(--light-grey);
  border-radius: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.study-callouts__label {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-grey);
  font-weight: 700;
}

.study-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 2px solid var(--blue-grey);
  border-radius: 0.75rem;
  box-shadow: 0 6px 16px rgba(35, 56, 69, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  min-width: 0;
}

.study-row:hover {
  border-color: var(--orange);
  box-shadow:
    0 12px 24px rgba(35, 56, 69, 0.1),
    0 0 16px rgba(243, 113, 35, 0.12);
  transform: translateY(-2px);
}

.study-row__copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.study-callout-tag {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.study-callout-title {
  font-family: var(--museo);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
}

.study-callout-desc {
  font-size: 0.88rem;
  color: var(--blue-grey);
  font-weight: 500;
  line-height: 1.45;
}

.study-readmore {
  margin-top: 0.55rem;
  justify-self: start;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.study-row__thumb {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  flex: 0 0 auto;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 2px solid var(--light-grey);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.study-row__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stack Work Studies on mobile / narrow */
@media (max-width: 720px) {
  .study-callouts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .study-row {
    grid-template-columns: 1fr;
  }
  .study-row__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 12rem;
  }
  /* Expand cards: keep title + Expand/× on one row (no width:100% wrap)
     Slightly tighten title so Experiential/Educational still fit. */
  .expand-title {
    font-size: 1rem;
  }
  .expand-head {
    padding: 0.7rem 0.85rem;
    gap: 0.4rem;
  }
}

/* ---------------------------------- */
/* HOW × PROCESS (live pillar cards)   */
/* ---------------------------------- */

.chapter-how {
  margin: 0 0 2.75rem;
  scroll-margin-top: 1.5rem;
  text-align: center;
}

.chapter-how__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.chapter-how h2 {
  font-family: var(--museo);
  color: var(--blue);
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.chapter-how__lead {
  margin: 0 auto 1.35rem;
  color: var(--blue-grey);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 40rem;
  font-weight: 500;
}

.acts {
  display: grid;
  gap: 1.15rem;
  margin: 0 0 1.35rem;
}

@media (min-width: 720px) {
  .acts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

/* Live .process-pillar language: light card, blue-grey border, orange hover rail */
.act-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid var(--blue-grey);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 10px 24px rgba(35, 56, 69, 0.08);
  text-align: center;
  transition:
    transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.act-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.45rem;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.act-card:hover {
  transform: translateY(-0.45rem);
  border-color: var(--orange);
  box-shadow:
    0 18px 36px rgba(35, 56, 69, 0.14),
    0 0 22px rgba(243, 113, 35, 0.12);
}

.act-card:hover::after {
  transform: scaleX(1);
}

.act-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 0.75rem;
  font-family: var(--museo);
  color: var(--blue);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.act-card__act {
  display: block;
  color: var(--orange);
  font-family: var(--museo-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.act-copy {
  position: relative;
  z-index: 2;
  margin: 0 0 0.85rem;
  color: var(--charcoal);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
  flex: 1 1 auto;
  text-align: center;
}

.act-micro {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--light-grey);
  color: var(--blue-grey);
  font-size: 0.86rem;
  line-height: 1.45;
  font-style: italic;
  text-align: center;
  font-weight: 500;
}

.bridge-line {
  margin: 0;
  padding: 0.95rem 1.2rem;
  background: var(--blue);
  text-align: center;
  color: var(--white);
  border-radius: 8px;
  font-family: var(--museo-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: inset 0 -3px 0 var(--orange);
}

.bridge-line a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 700;
  transition: color 0.2s ease;
}

.bridge-line a:hover {
  color: var(--orange);
}

@media (max-width: 719px) {
  .act-card {
    padding: 1.15rem 1.05rem 1.2rem;
  }

  .act-card h3 {
    letter-spacing: 0.04em;
  }

  .act-card__act {
    letter-spacing: 0.14em;
  }
}


/* ---------------------------------- */
/* WHERE × CARTOGRAPHER + BRANDS       */
/* ---------------------------------- */

.chapter-where {
  margin: 0 0 2.75rem;
  scroll-margin-top: 1.5rem;
  text-align: center;
}

.chapter-where__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.brands-marquee {
  margin: 0;
  scroll-margin-top: 1.5rem;
  text-align: left;
}

.brands-marquee__container {
  border-radius: 0.6rem;
  background: transparent;
  overflow: hidden;
  cursor: grab;
}

.brands-marquee__container.is-dragging {
  cursor: grabbing;
}

.brands-marquee__viewport {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 1.2rem 0;
  display: flex;
  box-shadow: inset 1rem 0 1rem rgba(34, 34, 34, 0.47), inset -1rem 0 1rem rgba(34, 34, 34, 0.47);
  touch-action: pan-y;
}

.brands-marquee__track {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 7rem;
}

.brand-logo {
  display: block;
  filter: grayscale(1);
  padding: 0 1.5em;
  transition: filter 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.brand-logo.is-highlighted {
  filter: grayscale(0) drop-shadow(0 4px 4px #999);
}

.brand-logo--short {
  width: auto;
  max-height: 5em;
}

.brand-logo--long {
  height: 3.2em;
  width: auto;
}

.brands-marquee__title {
  color: var(--white);
  text-align: center;
  background: rgba(52, 65, 73, 0.9);
  font-family: var(--museo);
  font-size: 1rem;
  padding: 0.4em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: solid 0.1em var(--light-blue);
}

.brands-marquee__title h3 {
  margin: 0;
  font-size: 1em;
  min-height: 1.2em;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    transition: none;
  }
}

/* ---------------------------------- */
/* CINEMAGRAPH STRIP                  */
/* ---------------------------------- */

.cinemagraph-strip {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: clamp(220px, 35vw, 500px);
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: var(--light-blue);
  border-top: 2px solid rgba(28, 78, 158, 0.55);
  border-bottom: none;
  scroll-margin-top: 1.5rem;
}

.cinemagraph-strip__panel {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  filter: grayscale(1) sepia(0.22) hue-rotate(175deg) saturate(0.65) brightness(0.55) contrast(1.15);
  transform-origin: center;
  transition:
    flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    filter 0.6s ease,
    box-shadow 0.6s ease;
  z-index: 1;
}

.cinemagraph-strip__panel:nth-child(-n + 5) {
  transform-origin: left center;
}

.cinemagraph-strip__panel:nth-child(n + 6) {
  transform-origin: right center;
}

.cinemagraph-strip__panel img,
.cinemagraph-strip__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  background: #0a1628;
}

.cinemagraph-strip:hover .cinemagraph-strip__panel:not(:hover) {
  flex: 1 1 0;
}

.cinemagraph-strip__panel:hover {
  flex: 4 1 0;
  filter: grayscale(0) sepia(0) hue-rotate(0deg) saturate(1) brightness(1) contrast(1);
  transform: scale(1.125);
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.6);
  border-radius: 0.5em;
  border: solid 0.08rem var(--blue-grey);
  z-index: 20;
}

.cinemagraph-strip__panel:hover img,
.cinemagraph-strip__panel:hover .cinemagraph-strip__video,
.cinemagraph-strip__panel:focus-visible img,
.cinemagraph-strip__panel:focus-visible .cinemagraph-strip__video {
  transform: scale(1.125);
}

.cinemagraph-strip__panel:focus-visible {
  flex: 4 1 0;
  filter: grayscale(0) sepia(0) hue-rotate(0deg) saturate(1) brightness(1) contrast(1);
  transform: scale(1.125);
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.6);
  border-radius: 0.5em;
  border: solid 0.08rem var(--blue-grey);
  z-index: 20;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .cinemagraph-strip__panel,
  .cinemagraph-strip__panel img,
  .cinemagraph-strip__video {
    transition: none;
  }

  .cinemagraph-strip__panel:hover,
  .cinemagraph-strip__panel:focus-visible {
    flex: 1 1 0;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
  }

  .cinemagraph-strip__panel:hover img,
  .cinemagraph-strip__panel:hover .cinemagraph-strip__video,
  .cinemagraph-strip__panel:focus-visible img,
  .cinemagraph-strip__panel:focus-visible .cinemagraph-strip__video {
    transform: scale(1.06);
  }
}

/* ---------------------------------- */
/* WHEN × CTA (live #cta language)     */
/* ---------------------------------- */

.chapter-when {
  flex-shrink: 0;
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #16181d;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem 3rem;
  scroll-margin-top: 1rem;
}

.cta-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  background: center / cover no-repeat url("assets/chalkboard.jpg"), #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 50px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.cta-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / 20em repeat url("assets/x-topo-white.svg");
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}

.chapter-when__tag,
.cta-page h2,
.chapter-when__lead,
.cta-page .contact-form,
.cta-page .contact-thanks,
.when-secondary {
  position: relative;
  z-index: 1;
}

.chapter-when__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-align: center;
}

.cta-page h2 {
  color: var(--white);
  margin: 0 0 0.85rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-family: var(--museo);
  font-weight: 700;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
  text-align: center;
  line-height: 1.2;
}

.chapter-when__lead {
  color: var(--light-grey);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 0.35rem;
  font-weight: 500;
}

.chapter-when .who-saw-line {
  margin: 0.25rem auto 1.5rem;
  max-width: 36rem;
  width: 100%;
}

.chapter-when .who-saw-line img {
  width: 100%;
  max-width: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px;
  border-radius: 6px;
  border: 2px solid #444;
  background-color: rgba(26, 26, 26, 0.7);
  color: var(--white);
  font-family: var(--museo-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, #aaa 50%),
    linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form select option {
  background-color: #1a1a1a;
  color: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--orange);
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 10px rgba(243, 113, 35, 0.2);
}

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

.contact-method-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.contact-method-type {
  flex: 1;
  min-width: 0;
}

.contact-method-val {
  flex: 2;
  min-width: 0;
}

.contact-form button,
.cta-bar-btn {
  margin-top: 10px;
  width: 100%;
  background: linear-gradient(180deg, var(--blue-grey) 0%, #404f58 100%);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--museo-sans);
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid #334047;
  transition: all 0.2s;
  text-align: center;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-bar-btn:hover {
  background: linear-gradient(180deg, var(--light-blue) 0%, #5773a8 100%);
  border-color: #465f8f;
  transform: translateY(-1px);
}

.cta-bar-btn--send {
  background: linear-gradient(180deg, var(--orange) 0%, #d15d18 100%);
  border-color: #a8470e;
}

.cta-bar-btn--send:hover {
  background: linear-gradient(180deg, #ff8a3d 0%, var(--orange) 100%);
  border-color: #a8470e;
  transform: translateY(-1px);
}

.form-note {
  margin: 0;
  min-height: 0;
  font-size: 0.85rem;
  color: var(--light-grey);
  text-align: center;
}

.form-note:empty {
  display: none;
}

.contact-thanks {
  margin: 1.35rem 0 0;
  color: var(--light-grey);
  font-family: var(--museo-sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.01em;
}

.when-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
}

.when-secondary__link {
  color: var(--light-grey);
  text-decoration: none;
  font-family: var(--museo-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.when-secondary__link:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(243, 113, 35, 0.08);
}


@media (max-width: 600px) {
  .cta-page {
    padding: 40px 20px;
    width: calc(100% - 0px);
  }

  .contact-form {
    padding: 1.35rem;
  }
}

/* ---------------------------------- */
/* FOOTER (from v3, leave as-is)      */
/* ---------------------------------- */

.site-footer {
  flex-shrink: 0;
  padding: 1.5rem 2rem 1.25rem;
  text-align: center;
  color: var(--light-grey);
  font-family: var(--museo-sans);
  width: 100%;
  background: center / cover no-repeat url("assets/chalkboard.jpg"), #1a1a1a;
  box-shadow: inset 0 12px 14px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
}

.footer-corp {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.footer-logo {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.footer-dba {
  display: flex;
  flex-direction: column;
}

.footer-dba strong {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.footer-dba span {
  font-size: 0.9rem;
  color: #999;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  text-align: right;
}

.footer-chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.5rem;
}

.footer-utils {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  color: var(--light-grey);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--museo);
  font-size: 1.1rem;
  transition: color 0.2s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-util {
  color: #999;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--museo-sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.footer-util:hover {
  color: var(--orange);
}

.footer-util::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -3px;
  left: 0;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.footer-util:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 1rem;
  color: #777;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.footer-bottom small {
  font-size: 0.85rem;
}

.footer-meta {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 234, 234, 0.55);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-corp {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
    text-align: center;
  }

  .footer-chapters,
  .footer-utils {
    justify-content: center;
  }
}

/* ---------------------------------- */
/* AWARDS: immediately after studies  */
/* ---------------------------------- */

.chapter-awards {
  margin: 0 0 2.75rem;
  scroll-margin-top: 1.5rem;
}

.chapter-awards__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.chapter-awards h2 {
  font-family: var(--museo);
  color: var(--blue);
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Live #awards-container / .award-item gold plaque language. */
.why-awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  background: transparent;
  min-height: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.award-item {
  position: relative;
  min-width: 0;
  max-width: 26rem;
  width: 100%;
  justify-self: center;
  min-height: 10rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  border: double 0.1618rem #e7b621;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.58);
  padding: 1em 0.4rem;
  background: linear-gradient(to right, #cb9b51 0%, #f6e27a 20%, #f6f2c0 50%, #f6e27a 70%, #cb9b51 100%);
  /* Keep the gold treatment static; one soft lift is calmer than border/shimmer/rotate. */
  transform: translate3d(0, 0, 0);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 700ms ease, opacity 500ms ease;
  will-change: transform;
  color: #1a1a1a;
}

@media (hover: hover) {
  .award-item:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.5);
    opacity: 0.99;
  }

  .award-item:hover .award-icon-shape {
    transform: translate3d(0, 0, 0) scale(1.05);
    opacity: 0.98;
  }
}

.award-icon {
  background: center / contain no-repeat url("assets/awards/45saw-circle.svg");
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 8rem;
}

.award-icon-shape {
  width: 100%;
  height: 100%;
  min-height: 8rem;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms ease;
  will-change: transform;
}

#emmy-icon {
  background: center / 45% no-repeat url("assets/awards/emmy.svg");
  filter: drop-shadow(0 8px 6px #222);
}

#w3-icon {
  background: center / 68% no-repeat url("assets/awards/w3gold.png");
  filter: drop-shadow(0 8px 10px #222);
}

.award-text {
  padding-left: 0.85rem;
  padding-right: 0.5rem;
}

.award-text h3 {
  margin: 0 0 0.15rem;
  font-family: var(--museo);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  color: #1a1a1a;
}

.award-org {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.25;
  color: #333;
}

.award-role {
  margin: 0.25rem 0 0.1rem;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  line-height: 1.25;
  color: #111;
}

.award-work {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.25;
  color: #333;
}

.award-cat {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #222;
}

@media (max-width: 720px) {
  .why-awards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* Keep icon + copy side-by-side inside each plaque; why-awards stacks the cards. */
  .award-item {
    grid-template-columns: 1fr 2fr;
    text-align: left;
    padding: 0.85rem 0.35rem;
    min-height: 8.5rem;
  }

  .award-icon {
    height: 6.5rem;
    min-height: 6.5rem;
  }

  .award-icon-shape {
    height: 6.5rem;
    min-height: 6.5rem;
  }

  .award-text {
    padding-left: 0.55rem;
    padding-right: 0.35rem;
  }

  .award-text h3 {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }

  #emmy-icon {
    background-size: 45%;
  }

  #w3-icon {
    background-size: 68%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .award-item,
  .award-icon-shape {
    transition: none;
    will-change: auto;
  }

  .award-item:hover,
  .award-item:hover .award-icon-shape {
    transform: none;
    opacity: 1;
  }
}

/* ---------------------------------- */
/* WHY × DIRECTION (source v3)        */
/* ---------------------------------- */

.why-trail {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 1.25rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  pointer-events: none;
}

.why-trail .walking-path {
  width: 220%;
  max-width: none;
}

.chapter-why {
  margin: 0 0 2.75rem;
  scroll-margin-top: 1.5rem;
}

.why-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(10rem, 0.85fr);
  gap: 1.25rem 1.5rem;
  align-items: center;
}

.why-split__copy {
  min-width: 0;
}

.why-postit {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 16rem;
  justify-self: center;
  aspect-ratio: 1;
}

.why-postit__page {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(34, 34, 34, 0.22));
}

.why-postit__buck {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 720px) {
  .why-split {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .why-split__copy {
    width: 100%;
  }

  .why-postit {
    max-width: 12.5rem;
  }
}

.chapter-why__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.chapter-why h2 {
  font-family: var(--museo);
  color: var(--blue);
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.chapter-why__lead {
  margin: 0 0 1.35rem;
  color: var(--blue-grey);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 42rem;
  font-weight: 500;
}

.because-lines {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.because-lines li {
  background: #f5f5f5;
  border-left: 3px solid var(--orange);
  padding: 0.7rem 0.95rem;
  font-size: 0.98rem;
  color: var(--charcoal);
  font-weight: 600;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 4px 12px rgba(35, 56, 69, 0.05);
}

.because-lines li.because-lines__saw {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  box-shadow: none !important;
  padding: 0.55rem 0.25rem 0.15rem;
  border-radius: 0;
}

.because-lines__saw img {
  display: block;
  width: min(100%, 22rem);
  height: auto;
}

/* ---------------------------------- */
/* Mason lightbox (Expand-stack thumbs) */
/* ---------------------------------- */

.mason-brick--zoom {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mason-brick--zoom:hover,
.mason-brick--zoom:focus-visible {
  border-color: var(--orange);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 0 2px rgba(243, 113, 35, 0.35);
  outline: none;
}

.mason-brick--zoom:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

html.is-lightbox-open,
html.is-lightbox-open body {
  overflow: hidden;
}

.mason-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.mason-lightbox[hidden] {
  display: none !important;
}

.mason-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(28, 78, 158, 0.88);
  background: linear-gradient(
    160deg,
    rgba(28, 78, 158, 0.92) 0%,
    rgba(35, 56, 69, 0.94) 55%,
    rgba(88, 87, 87, 0.92) 100%
  );
}

.mason-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(96vw, 1100px);
  height: min(88vh, 900px);
  max-width: 100%;
  pointer-events: none;
}

.mason-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.mason-lightbox__close,
.mason-lightbox__prev,
.mason-lightbox__next {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(234, 234, 234, 0.35);
  border-radius: 999px;
  background: rgba(35, 56, 69, 0.85);
  color: var(--white);
  font-family: var(--museo-sans);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mason-lightbox__close:hover,
.mason-lightbox__prev:hover,
.mason-lightbox__next:hover,
.mason-lightbox__close:focus-visible,
.mason-lightbox__prev:focus-visible,
.mason-lightbox__next:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  outline: none;
}

.mason-lightbox__close:focus-visible,
.mason-lightbox__prev:focus-visible,
.mason-lightbox__next:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.mason-lightbox__close {
  top: -0.35rem;
  right: -0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.45rem;
  line-height: 1;
}

.mason-lightbox__prev,
.mason-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.65rem;
  line-height: 1;
}

.mason-lightbox__prev {
  left: -0.15rem;
}

.mason-lightbox__next {
  right: -0.15rem;
}

.mason-lightbox__prev[hidden],
.mason-lightbox__next[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .mason-lightbox {
    padding: 0.75rem;
  }

  .mason-lightbox__stage {
    width: 100%;
    height: min(82vh, 900px);
  }

  .mason-lightbox__close {
    top: 0.35rem;
    right: 0.35rem;
  }

  .mason-lightbox__prev {
    left: 0.15rem;
  }

  .mason-lightbox__next {
    right: 0.15rem;
  }
}
