/* Herrald Architecture Studio — consolidated review stylesheet, Build 19. */

/* ---- site-build16.css ---- */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #222326;
  --muted: #65676b;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f4f4f3;
  --red: #ff0050;
  --navy: #172d3b;
  --green: #71a58e;
  --yellow: #dfa52c;
  --blue: #53ace4;
  --content: 1460px;
  --reading: 640px;
  --gap: clamp(0.75rem, 1.4vw, 1.35rem);
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner,
.page-shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: #77787b;
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--sans);
}

.brand strong {
  color: var(--red);
  font-weight: 600;
}

.brand small {
  font-size: 0.68em;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.65rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
}

.site-nav a {
  color: #78797c;
  font-size: 0.71rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--red);
}

main {
  overflow: clip;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero {
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(3rem, 7vw, 7.5rem);
}

.hero h1 {
  max-width: 11.5ch;
  margin: 0;
  font-size: 4.6rem;
  font-size: clamp(3rem, 5.4vw, 4.6rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 43rem;
  margin: 1.5rem 0 2rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.45;
}

.hero-image {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: cover;
  object-position: center;
}

.section-heading {
  margin-bottom: 1.625rem;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2.25rem, 3.7vw, 3rem);
  letter-spacing: 0;
}

.section-heading p {
  font-size: 0.875rem;
  line-height: 1.5;
}

.featured-card a {
  aspect-ratio: 0.79;
  overflow: hidden;
}

.featured-card img {
  height: 100%;
  object-fit: cover;
  /* Stories 01–04 share the same flyer construction. This measured crop
     places their artwork boundary on the common six-card baseline. */
  object-position: center 58.8%;
}

.featured-card:nth-child(5) img {
  /* Story 17 begins directly with the artwork, so it needs its own measured
     source position to land on exactly the same baseline as Stories 01–04. */
  object-position: center 15.1%;
}

.featured-card .story-question {
  margin: 0.7rem 0.15rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  padding: 0.8rem 1.1rem;
  color: #fff;
  background: var(--navy);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  color: var(--navy);
  background: #fff;
}

.section {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: 3.6rem;
  font-size: clamp(2.25rem, 3.4vw, 3.6rem);
}

.section-heading p {
  max-width: 48rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
}

#six-ways-title {
  max-width: 12ch;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.featured-card,
.archive-card {
  min-width: 0;
}

.featured-card a,
.archive-card a {
  display: block;
  text-decoration: none;
}

.featured-card img,
.archive-card img {
  width: 100%;
  transition: filter 180ms ease, transform 280ms ease;
}

.featured-card:hover img,
.featured-card a:focus-visible img,
.archive-card:hover img,
.archive-card a:focus-visible img {
  filter: brightness(1.02) contrast(1.02);
  transform: translateY(-3px);
}

.featured-card .story-meta {
  margin: 0.85rem 0 0;
  color: var(--red);
  font-size: 0.68rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 0.35rem 0 0;
  font-size: 2.2rem;
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  line-height: 1.05;
}

.theme-grid,
.principle-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.theme-card,
.principle-card,
.service-card {
  position: relative;
  min-height: 190px;
  border-top: 4px solid var(--red);
  padding: 1.6rem;
  background: var(--soft);
}

.theme-card:nth-child(2),
.principle-card:nth-child(2),
.service-card:nth-child(2) {
  border-color: var(--blue);
}

.theme-card:nth-child(3),
.principle-card:nth-child(3),
.service-card:nth-child(3) {
  border-color: var(--green);
}

.theme-card:nth-child(4),
.principle-card:nth-child(4),
.service-card:nth-child(4) {
  border-color: var(--yellow);
}

.theme-card h3,
.principle-card h3,
.service-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  line-height: 1.08;
}

.theme-card p,
.principle-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.48;
}

.archive-hero {
  padding-block: clamp(4rem, 8vw, 8rem) clamp(2rem, 4vw, 4rem);
}

.archive-hero .section-heading {
  margin-bottom: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.filter-button {
  border: 0;
  padding: 0.4rem 0;
  color: #77787b;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button[aria-pressed="true"] {
  color: var(--red);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4.5rem) var(--gap);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.archive-card.is-hidden {
  display: none;
}

.archive-card img {
  width: 100%;
  border: 1px solid #efefef;
}

.archive-card.is-static {
  cursor: default;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.article-header h1 {
  max-width: 9ch;
  margin: 0 0 1.5rem;
  font-size: 3.8rem;
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
}

.article-deck {
  max-width: 38rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-style: italic;
  line-height: 1.45;
}

.article-header > div > p:last-child {
  font-family: var(--sans);
  font-size: 0.82rem;
}

.article-header figure {
  margin: 0;
}

.article-header img {
  width: 100%;
  max-height: 860px;
  object-fit: cover;
}

.article-quote {
  width: min(calc(100% - (2 * var(--gutter))), 1100px);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  padding: clamp(2rem, 5vw, 5rem) 0;
  border-block: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: center;
}

.article-body {
  padding-bottom: clamp(5rem, 9vw, 10rem);
}

.reading-column,
.media-column {
  width: min(calc(100% - (2 * var(--gutter))), var(--reading));
  margin-inline: auto;
}

.reading-column {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.58;
}

.reading-column h2 {
  margin: clamp(2.25rem, 4vw, 3.75rem) 0 0.7rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.reading-column p {
  margin: 0 0 1.35rem;
}

.media-column {
  margin-block: clamp(2rem, 5vw, 5rem);
}

.media-column img,
.media-grid img,
.media-pair img {
  width: 100%;
  cursor: zoom-in;
}

.media-column figcaption,
.media-grid figcaption,
.media-pair figcaption {
  margin-top: 0.65rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.media-grid,
.media-pair {
  display: grid;
  width: min(calc(100% - (2 * var(--gutter))), var(--reading));
  margin: clamp(2rem, 5vw, 5rem) auto;
  gap: var(--gap);
  align-items: stretch;
}

.media-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid figure,
.media-pair figure {
  margin: 0;
  min-width: 0;
}

.media-grid img,
.media-pair img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.media-grid .span-two {
  grid-column: 1 / -1;
}

.media-grid .span-two img {
  max-height: 620px;
}

.project-data {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  width: min(calc(100% - (2 * var(--gutter))), 1100px);
  margin: clamp(5rem, 9vw, 9rem) auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: var(--navy);
  font-family: var(--sans);
}

.project-data h2 {
  margin: 0;
  font-size: 2.25rem;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}

.project-data dl {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) 1fr;
  gap: 0.6rem 1.25rem;
  margin: 0;
}

.project-data dt {
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-data dd {
  margin: 0;
  font-size: 0.95rem;
}

.next-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
  width: min(calc(100% - (2 * var(--gutter))), 1100px);
  margin: var(--gap) auto clamp(5rem, 9vw, 9rem);
  color: #fff;
  background: var(--navy);
}

.next-story img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center;
}

.next-story div {
  align-self: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.next-story p {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.72rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.next-story h2 {
  margin: 0;
  font-size: 3rem;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.next-story a {
  color: inherit;
  text-decoration: none;
}

.content-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.content-hero h1 {
  margin: 0 0 1.5rem;
  font-size: 5.25rem;
  font-size: clamp(2.75rem, 5vw, 5.25rem);
}

.content-hero .lead {
  max-width: 50rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.5;
}

.content-hero img {
  width: 100%;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.studio-copy {
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.58;
}

.studio-copy h2 {
  margin: 3rem 0 1rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.studio-copy h2:first-child {
  margin-top: 0;
}

.studio-collage {
  width: 100%;
}

.riba-logo {
  width: 150px;
  margin-top: 2.5rem;
}

.contact-layout {
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.contact-layout h1 {
  max-width: 11ch;
  margin: 0 0 1.5rem;
  font-size: 5.6rem;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
}

.contact-layout .lead {
  max-width: 49rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.contact-card {
  padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
  background: var(--navy);
  font-family: var(--serif);
}

.contact-card h2 {
  margin: 0 0 2rem;
  font-size: 2.5rem;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.contact-card a {
  color: #fff;
}

.contact-card address {
  font-style: normal;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.68fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.journey-intro h1 {
  max-width: 13ch;
  margin: 0 0 1.5rem;
  font-size: 4.2rem;
  font-size: clamp(2.7rem, 4.1vw, 4.2rem);
}

.journey-intro .lead {
  max-width: 49rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.5;
}

.journey-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.journey-benefit {
  min-height: 150px;
  border-left: 4px solid var(--red);
  padding: 1.35rem;
  background: var(--soft);
}

.journey-benefit:nth-child(2) {
  border-color: var(--blue);
}

.journey-benefit:nth-child(3) {
  border-color: var(--green);
}

.journey-benefit:nth-child(4) {
  border-color: var(--yellow);
}

.journey-benefit h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.08;
}

.journey-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.journey-holding {
  border-top: 4px solid var(--red);
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--soft);
}

.journey-holding .status {
  display: inline-block;
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 0.7rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.journey-holding h2 {
  margin: 0 0 1.25rem;
  font-size: 2.8rem;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.02;
}

.journey-holding p {
  margin: 0 0 1.4rem;
}

.site-footer {
  padding-block: 2.5rem;
  color: #fff;
  background: var(--navy);
  font-family: var(--sans);
}

.footer-inner {
  display: flex;
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-inner a {
  color: #fff;
}

.lightbox {
  --lightbox-padding: clamp(1rem, 4vw, 3rem);
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: var(--lightbox-padding);
  place-items: center;
  overflow: auto;
  color: #fff;
  background: rgba(10, 16, 20, 0.94);
}

.lightbox.is-open {
  display: grid;
}

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

.lightbox::backdrop {
  background: transparent;
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1500px);
  max-height: calc(100vh - var(--lightbox-padding) - var(--lightbox-padding));
  margin: auto;
  object-fit: contain;
}

.lightbox.is-loading::after,
.lightbox.has-error::after {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.lightbox.is-loading::after {
  content: "Loading image…";
}

.lightbox.has-error::after {
  content: "The image could not be loaded. Close and try again.";
}

.lightbox.is-loading img,
.lightbox.has-error img {
  visibility: hidden;
}

.lightbox button {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
  font-size: 1.5rem;
}

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

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .reading-column {
    font-size: 0.9833rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.63rem;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-grid,
  .principle-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--line);
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 0.76rem;
  }

  .hero,
  .article-header,
  .content-hero,
  .studio-grid,
  .contact-layout,
  .journey-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 2.5rem;
  }

  .hero-image {
    max-height: none;
  }

  .section-heading {
    gap: 1.25rem;
  }

  .featured-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-header figure {
    order: -1;
  }

  .project-data,
  .next-story {
    grid-template-columns: 1fr;
  }

  .next-story img {
    min-height: 0;
  }

  .contact-layout {
    min-height: 0;
  }
}

/* BUILD 19.3: Draft 29 story expansion. Story 03 remains the approved base
   template; these rules add uncropped media and the locked Story 01/02 groups. */
.story-page .article-header h1 {
  white-space: normal;
}

.story-page .article-opening-copy h2 {
  margin: 1.6rem 0 0.85rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.story-page .article-header figure {
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.story-page .article-header img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.story-page .media-column img,
.story-page .media-grid img,
.story-page .media-pair img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.story-01-page .story-opening-circle figure {
  width: min(100%, 32rem);
  margin-top: 7.5rem;
  justify-self: center;
}

.story-01-page .story-opening-circle img {
  border-radius: 50%;
}

.story-01-blue-tap img,
.story-technical-drawing img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.story-02-four-grid figure:nth-child(-n + 2) img {
  aspect-ratio: 1.294 / 1;
  object-fit: cover;
}

.story-02-four-grid figure:nth-child(3) img,
.story-02-four-grid figure:nth-child(4) img {
  aspect-ratio: 0.892 / 1;
  object-fit: cover;
}

.story-grid-caption {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  line-height: 1.42;
}

.story-grid-caption strong {
  font-weight: 600;
}

@media (max-width: 780px) {
  .story-01-page .story-opening-circle figure {
    width: min(78vw, 25rem);
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .story-02-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.78rem;
  }

  .hero h1,
  .article-header h1,
  .contact-layout h1,
  .journey-intro h1 {
    font-size: 3.7rem;
    font-size: clamp(2.55rem, 12.5vw, 3.7rem);
  }

  .reading-column {
    font-size: 1.0167rem;
  }

  .featured-grid,
  .archive-grid,
  .theme-grid,
  .principle-grid,
  .service-grid,
  .journey-benefits,
  .media-grid,
  .media-pair {
    grid-template-columns: 1fr;
  }

  .media-grid .span-two {
    grid-column: auto;
  }

  .media-grid img,
  .media-pair img {
    min-height: 0;
  }

  .project-data dl {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Build 06: Draft 29 locked visual system and Story 03 composition. */
:root {
  --red: #ff0050;
  --blue: #30a9e0;
  --reading: 615px;
  --gap: 1rem;
}

.header-inner {
  min-height: 64px;
}

.brand {
  font-size: 1.1rem;
}

.site-nav a {
  font-size: 0.625rem;
}

.hero {
  width: min(calc(100% - 6.5rem), var(--content));
  min-height: 0;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  align-items: start;
  gap: 3.5rem;
  padding-block: 1.5rem 0;
}

.hero-copy {
  padding-top: 3.75rem;
}

.hero .eyebrow {
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3rem, 6.5vw, 4.375rem);
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy > p:not(.eyebrow) {
  margin-block: 1.6rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 0.77;
  object-fit: cover;
  object-position: center;
}

.article-header {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: 1.5rem 0;
}

.article-introduction {
  padding-top: 0.35rem;
}

.article-header .eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.625rem;
}

.article-header h1 {
  max-width: none;
  margin: 0 0 0.65rem;
  font-size: clamp(2.75rem, 4.5vw, 3rem);
  letter-spacing: 0;
  line-height: 1.03;
  white-space: nowrap;
}

.article-location,
.article-header > div > p.article-location {
  margin: 0 0 1.45rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.article-deck {
  margin: 0 0 1.55rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.article-opening-copy {
  font-family: var(--serif);
  font-size: 0.84375rem;
  line-height: 1.4;
}

.article-opening-copy p {
  margin: 0 0 0.7rem;
}

.article-header figure {
  height: auto;
  aspect-ratio: 0.78;
  overflow: hidden;
}

.article-header img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.article-body {
  padding-top: 2.25rem;
}

.reading-column {
  font-size: 0.84375rem;
  line-height: 1.4;
}

.reading-column h2 {
  margin: 3.15rem 0 0.85rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.reading-column h2:first-child {
  margin-top: 0;
}

.reading-column p {
  margin-bottom: 1.15rem;
}

.media-column,
.media-grid,
.media-pair {
  margin-block: 2.25rem;
}

.media-column figcaption,
.media-grid figcaption,
.media-pair figcaption {
  color: var(--ink);
}

.next-story img {
  aspect-ratio: 1.55;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 780px) {
  .hero {
    width: min(calc(100% - (2 * var(--gutter))), var(--content));
    gap: 2.5rem;
    padding-block: 2rem 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-image {
    aspect-ratio: 1;
  }

  .article-header {
    gap: 2rem;
    padding-block: 1.5rem 0;
  }

  .article-header figure {
    order: 0;
  }

  .article-header h1 {
    white-space: normal;
  }

  .article-header img {
    aspect-ratio: 1;
  }

  .article-body {
    padding-top: 2rem;
  }

  .reading-column {
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.05rem;
  }
}

/* Build 08: approved wordmark, title proportions, home-card stability and captions. */
.brand {
  color: #6a6d71;
  font-size: 1.075rem;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.brand strong {
  font-weight: 600;
}

.brand small {
  color: #1f1f51;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(3rem, 5.9vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 0.95;
}

.article-header h1 {
  font-size: clamp(2.5rem, 4vw, 2.625rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1;
}

.featured-card a {
  position: relative;
}

.stories-section {
  padding-bottom: clamp(2.75rem, 4vw, 4rem);
}

.themes-section {
  border-top: 0 !important;
  padding-top: clamp(2.75rem, 4vw, 4rem);
}

.media-column figcaption,
.media-grid figcaption,
.media-pair figcaption {
  margin-top: 0.4rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: left;
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.025rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  .article-header h1 {
    font-size: clamp(2.25rem, 11vw, 2.625rem);
  }
}

/* The approved wordmark is one locked asset. */
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(15.5rem, 18vw, 19.5rem);
  max-width: 100%;
  height: auto;
}

/* Story 23 has a taller heading margin in its source flyer. This measured
   position keeps its artwork and embedded title on the common baseline. */
.featured-card:nth-child(6) img {
  object-position: center 48.2%;
}

/* Build 15: complete Draft 29 main-page system. */
.stories-page .archive-hero {
  padding-block: clamp(3.5rem, 6vw, 6.5rem) clamp(2rem, 3.5vw, 3.5rem);
}

.stories-page .archive-hero .section-heading h1 {
  max-width: 14ch;
}

.stories-page .archive-grid {
  align-items: start;
}

.stories-page .archive-card img {
  aspect-ratio: 348 / 640;
  object-fit: cover;
}

.approach-page .content-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-block: clamp(4rem, 7vw, 7rem);
}

.approach-page .content-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 4.6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
}

.approach-page .content-hero img {
  width: min(100%, 520px);
  justify-self: center;
}

.approach-page .principle-grid,
.approach-page .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.approach-page .principle-card,
.approach-page .service-card {
  min-height: 220px;
  border-top: 0;
  border-left: 4px solid var(--red);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
}

.approach-page .principle-card:nth-child(2),
.approach-page .service-card:nth-child(2) {
  border-left-color: var(--blue);
}

.approach-page .principle-card:nth-child(3),
.approach-page .service-card:nth-child(3) {
  border-left-color: var(--green);
}

.approach-page .principle-card:nth-child(4),
.approach-page .service-card:nth-child(4) {
  border-left-color: var(--yellow);
}

.approach-page .principle-card h3,
.approach-page .service-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.studio-page .studio-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem);
}

.studio-page .studio-copy {
  font-size: 0.9rem;
  line-height: 1.48;
}

.studio-page .studio-copy .eyebrow {
  margin-bottom: 1.25rem;
}

.studio-page .studio-copy h1 {
  max-width: 14ch;
  margin: 0 0 1.75rem;
  font-size: clamp(3rem, 4.2vw, 4.4rem);
  line-height: 1.02;
}

.studio-page .studio-copy p {
  margin: 0 0 1rem;
}

.studio-page .studio-copy h2 {
  margin: 2.75rem 0 1rem;
  color: var(--blue);
}

.studio-page .studio-collage {
  align-self: start;
}

.studio-page .riba-logo {
  width: 175px;
  margin-top: 2rem;
}

.contact-page .contact-layout {
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}

.contact-page .contact-layout h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.contact-page .contact-card {
  padding: clamp(2.5rem, 4vw, 4.5rem);
}

.journey-page .journey-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(3rem, 6vw, 6rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}

.journey-page .journey-intro h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  line-height: 0.98;
}

.journey-page .journey-benefits {
  gap: 0.75rem;
}

.journey-page .journey-benefit {
  min-height: 142px;
  border-left-width: 4px;
  padding: 1.35rem;
}

.journey-login {
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--soft);
}

.journey-login-kicker {
  margin: 0 0 1.35rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-login h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  line-height: 1.05;
}

.journey-login-form {
  display: grid;
  gap: 0.55rem;
}

.journey-login-form label {
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-login-form input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.65rem;
  background: #fff;
}

.journey-login-button {
  width: 100%;
  margin-top: 0.7rem;
}

.journey-login-note {
  margin: 1.2rem 0 0.45rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.45;
}

.journey-login-link {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.78rem;
}

.journey-demo {
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.journey-demo-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.journey-demo-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.25rem, 3.5vw, 3.6rem);
}

.journey-demo-heading p {
  max-width: 48rem;
  margin: 0;
  font-size: 1rem;
}

.journey-screens {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.journey-screen {
  margin: 0;
  background: #ececeb;
}

.journey-screen img {
  width: 100%;
  border: 1px solid #ececeb;
}

@media (max-width: 780px) {
  .approach-page .content-hero,
  .studio-page .studio-grid,
  .contact-page .contact-layout,
  .journey-page .journey-layout,
  .journey-demo-heading {
    grid-template-columns: 1fr;
  }

  .approach-page .content-hero img {
    width: min(82vw, 460px);
  }

  .studio-page .studio-collage {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .contact-page .contact-layout {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .header-inner {
    gap: 0.75rem;
  }

  .brand-logo {
    width: min(56vw, 13.25rem);
  }

  .approach-page .principle-grid,
  .approach-page .service-grid {
    grid-template-columns: 1fr;
  }

  .approach-page .principle-card,
  .approach-page .service-card {
    min-height: 0;
  }

  .journey-page .journey-benefits {
    grid-template-columns: 1fr;
  }

  .journey-page .journey-benefit {
    min-height: 0;
  }
}

/* Build 16: align the four review pages to the approved Draft 29 layouts. */
.stories-page .archive-hero {
  padding-block: clamp(3rem, 5vw, 5rem) clamp(1.25rem, 2.25vw, 2rem);
}

.stories-page .archive-hero .section-heading {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  margin-bottom: 0.9rem;
}

.stories-page .archive-hero .section-heading h1 {
  max-width: 24rem;
  font-size: 3.4rem;
}

.stories-page .filters {
  gap: 0.45rem clamp(1rem, 2vw, 1.8rem);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.15rem 0 0.85rem;
}

.stories-page .filter-button {
  appearance: none;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  padding: 0.2rem 0;
  box-shadow: none !important;
  font-size: 0.66rem;
  line-height: 1.2;
}

.stories-page .filter-button:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.stories-page .archive-grid {
  align-items: start;
  row-gap: clamp(1rem, 1.8vw, 1.6rem);
}

.stories-page .archive-card,
.stories-page .archive-card a {
  overflow: visible;
}

.stories-page .archive-card img {
  width: 100%;
  aspect-ratio: 348 / 640;
  border: 0;
  object-fit: contain;
  transform: none;
}

.stories-page .archive-card:hover img,
.stories-page .archive-card a:focus-visible img {
  transform: none;
}

.approach-page .content-hero {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.62fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3.25rem, 5vw, 5rem) clamp(4rem, 6vw, 6rem);
}

.approach-page .content-hero h1 {
  max-width: 35rem;
  font-size: 4.2rem;
  line-height: 1.02;
}

.approach-page .content-hero img {
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: center;
  object-fit: contain;
}

.approach-page .section {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.approach-page .section + .section {
  border-top: 0;
}

.contact-page .contact-layout {
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(2.25rem, 3.5vw, 3.75rem) clamp(4rem, 7vw, 7rem);
}

.contact-page .contact-layout > div:first-child {
  padding-top: clamp(2.75rem, 4.5vw, 4.5rem);
}

.contact-page .contact-layout h1 {
  font-size: 5rem;
}

.contact-page .contact-card {
  display: flex;
  aspect-ratio: 0.815;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 4vw, 4rem);
}

.journey-page .journey-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.88fr);
  gap: clamp(2.5rem, 4.5vw, 4.75rem);
  padding-block: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem);
}

.journey-page .journey-intro h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: 3.9rem;
  line-height: 0.98;
}

.journey-page .journey-intro .lead {
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
  font-size: 1.12rem;
}

.journey-page .journey-benefits {
  gap: 0.65rem;
}

.journey-page .journey-benefit {
  min-height: 112px;
  padding: 1rem 1.1rem;
}

.journey-page .journey-benefit h2 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.journey-page .journey-benefit p {
  font-size: 0.78rem;
  line-height: 1.4;
}

.journey-page .journey-login {
  padding: clamp(2rem, 3vw, 3rem);
}

.journey-page .journey-login-kicker {
  margin-bottom: 1rem;
}

.journey-page .journey-login h2 {
  margin-bottom: 1.35rem;
  font-size: 2.2rem;
}

.journey-page .journey-login-form {
  gap: 0.35rem;
}

.journey-page .journey-login-form label {
  margin-top: 0.3rem;
}

.journey-page .journey-login-form input {
  height: 42px;
}

.journey-page .journey-login-button {
  min-height: 42px;
  margin-top: 0.55rem;
}

.journey-page .journey-login-note {
  margin-top: 0.9rem;
  font-size: 0.72rem;
}

.journey-page .journey-login-link {
  font-size: 0.72rem;
}

.journey-page .journey-demo-heading {
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}

.journey-page .journey-demo-heading h2 {
  max-width: 18ch;
  font-size: 3.2rem;
}

.journey-page .journey-screens {
  gap: clamp(1rem, 1.8vw, 1.75rem);
}

.journey-page .journey-screen,
.journey-page .journey-screen img {
  border: 0;
  background: #fff;
}

@media (max-width: 780px) {
  .stories-page .archive-hero .section-heading {
    grid-template-columns: 1fr;
  }

  .approach-page .content-hero,
  .contact-page .contact-layout,
  .journey-page .journey-layout,
  .journey-page .journey-demo-heading {
    grid-template-columns: 1fr;
  }

  .stories-page .archive-hero .section-heading h1 {
    max-width: 13ch;
    font-size: 2.75rem;
  }

  .approach-page .content-hero h1 {
    max-width: 12ch;
    font-size: 3.1rem;
  }

  .approach-page .content-hero img {
    width: min(82vw, 420px);
  }

  .contact-page .contact-layout > div:first-child {
    padding-top: 0;
  }

  .contact-page .contact-layout {
    min-height: 0;
  }

  .contact-page .contact-card {
    aspect-ratio: auto;
  }

  .contact-page .contact-layout h1 {
    font-size: 3.6rem;
  }

  .journey-page .journey-intro h1 {
    max-width: 13ch;
    font-size: 3.2rem;
  }

  .journey-page .journey-login h2 {
    font-size: 2rem;
  }

  .journey-page .journey-demo-heading h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 520px) {
  .contact-page .contact-layout h1,
  .journey-page .journey-intro h1 {
    font-size: 2.7rem;
  }
}

/* ---- site-build17.css ---- */
/* Build 17: restore the approved Draft 29 proportions and live Stories type. */

/* Keep the principal page openings finite: none of these sections should grow
   merely because the browser window is tall. */
.hero,
.contact-page .contact-layout {
  min-height: 0;
}

.hero {
  width: min(calc(100% - (2 * var(--gutter))), 1320px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: clamp(2.5rem, 5vw, 5.25rem);
  padding-block: clamp(2.5rem, 4vw, 4.25rem) clamp(3rem, 4.5vw, 4.75rem);
}

.hero-copy {
  padding-top: clamp(1.75rem, 2.5vw, 2.75rem);
}

.hero h1 {
  font-size: 4.05rem;
  line-height: 0.97;
}

.hero-image {
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  justify-self: end;
  object-fit: contain;
}

/* The six Home story tiles use the same live-text construction as the full
   archive. Their source files supply photographs only in the visible crop. */
.featured-card a {
  aspect-ratio: auto;
  overflow: visible;
}

.featured-card .story-meta {
  min-height: 1.4em;
  margin: 0 0 0.75rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
}

.featured-card-media {
  position: relative;
  height: 0;
  aspect-ratio: 348 / 496;
  overflow: hidden;
  padding-top: 142.5287%;
  background: var(--navy);
}

.featured-card-media > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-position: center;
  transform: translateY(-8.28125%);
  transition: none;
}

.featured-card-media::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(18, 43, 58, 0) 0%, rgba(18, 43, 58, 0.97) 28%, #122b3a 38%);
  content: "";
  pointer-events: none;
}

.featured-card-media h3 {
  position: absolute;
  z-index: 2;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 0.98;
}

.featured-card:nth-child(1) .featured-card-media h3,
.featured-card:nth-child(2) .featured-card-media h3 {
  max-width: 16ch;
}

.featured-card:nth-child(5) .featured-card-media h3 {
  max-width: 14ch;
}

.featured-card:nth-child(6) .featured-card-media h3 {
  max-width: 14ch;
}

.featured-card:hover .featured-card-media > img,
.featured-card a:focus-visible .featured-card-media > img {
  filter: none;
  transform: translateY(-8.28125%);
}

/* STORIES --------------------------------------------------------------- */
.stories-page .archive-hero {
  padding-block: clamp(3rem, 4.5vw, 4.75rem) clamp(2.5rem, 3.75vw, 3.75rem);
}

.stories-page .archive-hero .eyebrow {
  margin-bottom: clamp(1.8rem, 2.25vw, 2.35rem);
}

.stories-page .archive-hero .section-heading {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: end;
  margin-bottom: clamp(1.8rem, 2.25vw, 2.35rem);
}

.stories-page .archive-hero .section-heading h1 {
  max-width: 24rem;
  font-size: 3.4rem;
  line-height: 0.98;
}

/* This is the red category line above the images. Its upper spacing mirrors
   the STORIES 01-23-to-title gap requested in review. */
.stories-page .filters {
  gap: 0.45rem clamp(1rem, 2vw, 1.8rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 0.95rem;
}

.stories-page .filter-button {
  appearance: none;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  padding: 0.2rem 0;
  color: var(--red);
  background: transparent;
  box-shadow: none !important;
  font-size: 0.66rem;
  line-height: 1.2;
}

.stories-page .filter-button[aria-pressed="false"] {
  color: var(--red);
  opacity: 0.72;
}

.stories-page .filter-button:hover,
.stories-page .filter-button:focus-visible,
.stories-page .filter-button[aria-pressed="true"] {
  color: var(--red);
  opacity: 1;
}

.stories-page .archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2.75rem, 4vw, 4.25rem) var(--gap);
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.stories-page .archive-card,
.stories-page .archive-card a,
.stories-page .archive-card-content {
  min-width: 0;
  overflow: visible;
}

.stories-page .archive-card a,
.stories-page .archive-card-content {
  display: block;
  text-decoration: none;
}

.stories-page .story-meta {
  min-height: 1.4em;
  margin: 0 0 0.75rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
}

.stories-page .archive-card-media {
  position: relative;
  height: 0;
  aspect-ratio: 348 / 496;
  overflow: hidden;
  padding-top: 142.5287%;
  background: var(--navy);
}

/* The approved card files contain a photograph between y=53 and y=549.
   Only that photographic window is shown; every visible word is rebuilt as
   accessible HTML below or above this layer. */
.stories-page .archive-card-media > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  transform: translateY(-8.28125%);
  transition: none;
}

.stories-page .archive-card-media::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(18, 43, 58, 0) 0%, rgba(18, 43, 58, 0.97) 28%, #122b3a 38%);
  content: "";
  pointer-events: none;
}

.stories-page .archive-card h2 {
  position: absolute;
  z-index: 2;
  right: clamp(0.85rem, 1.4vw, 1.15rem);
  bottom: clamp(0.8rem, 1.25vw, 1.05rem);
  left: clamp(0.85rem, 1.4vw, 1.15rem);
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.stories-page .story-question {
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.34;
}

.stories-page .archive-card:hover img,
.stories-page .archive-card a:focus-visible img {
  filter: none;
  transform: translateY(-8.28125%);
}

/* APPROACH -------------------------------------------------------------- */
.approach-page .content-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 4.25vw, 4.25rem) clamp(3.75rem, 5vw, 5rem);
}

.approach-page .content-hero h1 {
  max-width: 31rem;
  font-size: 3.75rem;
  line-height: 1.01;
}

.approach-page .content-hero .lead {
  max-width: 39rem;
  font-size: 1.02rem;
}

.approach-page .content-hero img {
  width: min(100%, 340px);
  height: auto;
  aspect-ratio: auto;
  justify-self: center;
  object-fit: contain;
}

/* STUDIO ---------------------------------------------------------------- */
.studio-page .studio-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 690px);
  gap: clamp(2.75rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(2.75rem, 4vw, 4rem) clamp(4rem, 6vw, 6rem);
}

.studio-page .studio-copy h1 {
  font-size: 4rem;
}

.studio-page .studio-collage {
  width: min(100%, 690px);
  height: auto;
  max-height: none;
  align-self: start;
  justify-self: end;
  object-fit: contain;
  object-position: top center;
}

/* CONTACT --------------------------------------------------------------- */
.contact-page .contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(3rem, 4vw, 4rem) clamp(4rem, 6vw, 6rem);
}

.contact-page .contact-layout > div:first-child {
  padding-top: 0;
}

.contact-page .contact-layout h1 {
  max-width: 10ch;
  font-size: 4.35rem;
  line-height: 0.98;
}

.contact-page .contact-layout .lead {
  max-width: 42rem;
  font-size: 1.08rem;
}

.contact-page .contact-card {
  display: block;
  aspect-ratio: auto;
  padding: clamp(2.25rem, 3vw, 3rem);
}

/* MY PROJECT JOURNEY ---------------------------------------------------- */
.journey-page .journey-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.8fr);
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  padding-block: clamp(2.75rem, 3.75vw, 3.75rem) clamp(3rem, 4vw, 4rem);
}

.journey-page .journey-intro h1 {
  max-width: 13ch;
  font-size: 3.4rem;
  line-height: 0.99;
}

.journey-page .journey-intro .lead {
  max-width: 42rem;
  font-size: 1rem;
}

.journey-page .journey-demo-heading h2 {
  font-size: 3rem;
}

.journey-page .journey-screens {
  width: min(100%, 1320px);
}

.journey-page .journey-screen img {
  height: auto;
  image-rendering: auto;
  object-fit: contain;
}

/* Project Journey samples are built from live HTML rather than flattened
   screenshots, so every label stays sharp and selectable. */
.journey-preview-viewport {
  overflow-x: auto;
  border: 1px solid #e4e4e1;
  background: #fff;
}

.journey-preview {
  display: grid;
  width: 100%;
  min-width: 900px;
  aspect-ratio: 45 / 32;
  grid-template-columns: 19.4% minmax(0, 1fr);
  overflow: hidden;
  color: #24272a;
  background: #fff;
  font-family: var(--sans);
  font-size: clamp(0.48rem, 0.62vw, 0.72rem);
  line-height: 1.35;
}

.jp-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 4.2% 13.5%;
  color: #fff;
  background: var(--navy);
}

.jp-sidebar h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.jp-sidebar > p {
  margin: 1.25rem 0 0;
  color: #d6dde0;
  font-size: 0.72em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jp-nav {
  display: grid;
  gap: clamp(0.8rem, 1.65vw, 1.65rem);
  margin-top: auto;
  margin-bottom: auto;
}

.jp-nav span {
  color: #fff;
  font-size: 0.9em;
}

.jp-nav .is-current {
  color: var(--red);
  font-weight: 600;
}

.jp-badge {
  display: inline-grid;
  width: 1.45em;
  height: 1.45em;
  margin-left: 0.6rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 0.8em;
}

.jp-reference {
  margin-top: auto !important;
  font-size: 0.66em !important;
  line-height: 1.55;
}

.jp-reference strong {
  color: #fff;
  letter-spacing: 0.12em;
}

.jp-main {
  min-width: 0;
  padding: 3.6% 3.2%;
}

.jp-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 4.5%;
}

.jp-kicker,
.jp-label {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jp-top h3,
.jp-panel h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
}

.jp-top h3 {
  font-size: 3.65rem;
  line-height: 0.96;
}

.jp-status {
  min-width: 11rem;
  padding: 1.15rem 1.35rem;
  color: #496658;
  background: #edf6f0;
  font-size: 0.78em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jp-user {
  padding-top: 0.75rem;
  color: #686b6d;
  white-space: nowrap;
}

.jp-stage-strip,
.jp-stat-grid,
.jp-folder-strip {
  display: grid;
  gap: 0.65rem;
}

.jp-stage-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.jp-stage {
  min-height: 7rem;
  border-top: 4px solid #c8c9c7;
  padding: 1rem;
  background: #f4f3f0;
}

.jp-stage.is-complete {
  border-color: var(--green);
}

.jp-stage.is-current {
  border-color: var(--red);
  background: #fff0f4;
}

.jp-stage strong,
.jp-stage small {
  display: block;
}

.jp-stage small {
  margin-top: 2.1rem;
  color: #777;
  font-size: 0.7em;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jp-two-column {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.25rem;
}

.jp-panel {
  border: 1px solid #d9d8d4;
  padding: 1.55rem;
  background: #fff;
}

.jp-panel h4 {
  margin-bottom: 1.2rem;
  font-size: 2.2rem;
  line-height: 1.05;
}

.jp-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jp-stat-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.35rem;
}

.jp-stat {
  min-height: 7.5rem;
  padding: 1.2rem;
  background: #f4f3f0;
}

.jp-stat.is-alert {
  border-top: 4px solid var(--red);
  background: #fff0f4;
}

.jp-stat span,
.jp-stat strong,
.jp-stat small {
  display: block;
}

.jp-stat span {
  color: #777;
  font-size: 0.72em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jp-stat strong {
  margin: 0.85rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 2.55rem;
  font-weight: 400;
  line-height: 1;
}

.jp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jp-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #d9d8d4;
  padding: 0.82rem 0;
}

.jp-list strong {
  font-weight: 600;
}

.jp-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.jp-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  padding: 0.75rem 1.1rem;
  color: #fff;
  background: var(--navy);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.jp-button.outline {
  color: var(--navy);
  background: #fff;
}

.jp-button.red {
  border-color: var(--red);
  color: var(--red);
  background: #fff;
}

.jp-wide {
  margin-top: 1.25rem;
}

.jp-gantt {
  position: relative;
  display: grid;
  gap: 0.52rem;
  margin-top: 1rem;
  padding: 0.8rem 0;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 13.9%, #e1e1de 14%, transparent 14.2%);
}

.jp-gantt-row {
  display: grid;
  grid-template-columns: 24% 1fr;
  align-items: center;
}

.jp-gantt-row span:first-child {
  font-weight: 600;
}

.jp-gantt-line {
  position: relative;
  height: 0.7rem;
}

.jp-gantt-line::before,
.jp-gantt-line::after {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 1rem;
  content: "";
}

.jp-gantt-line::before {
  left: var(--start);
  width: var(--length);
  background: #a9dbf0;
}

.jp-gantt-line::after {
  left: var(--actual-start, var(--start));
  width: var(--actual-length, 0%);
  background: var(--green);
}

.jp-progress {
  height: 0.8rem;
  margin: 0.75rem 0;
  background: linear-gradient(to right, var(--red) 0 75%, #e4e4e1 75%);
}

.jp-split-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.jp-table {
  width: 100%;
  border-collapse: collapse;
}

.jp-table th,
.jp-table td {
  border-top: 1px solid #d9d8d4;
  padding: 0.62rem 0.45rem;
  text-align: left;
}

.jp-table th {
  color: #666;
  font-size: 0.72em;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jp-table tr.is-alert {
  background: #fff6f8;
}

.jp-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 2.6rem 0 0.7rem;
}

.jp-timeline div {
  position: relative;
  border-top: 5px solid #d8d8d5;
  padding-top: 1.1rem;
  text-align: center;
}

.jp-timeline div::before {
  position: absolute;
  top: -0.65rem;
  left: calc(50% - 0.5rem);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.jp-timeline .paid {
  border-color: var(--green);
}

.jp-timeline .paid::before {
  background: var(--green);
}

.jp-timeline .due::before {
  width: 1.25rem;
  height: 1.25rem;
  top: -0.75rem;
  left: calc(50% - 0.625rem);
  background: var(--red);
}

.jp-callout {
  padding: 1.25rem;
  background: #f4f3f0;
}

.jp-note-box {
  min-height: 5rem;
  border: 1px solid #d9d8d4;
  padding: 1rem;
  color: #999;
}

.jp-action-list li {
  align-items: center;
  justify-content: flex-start;
}

.jp-dot {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--red);
}

.jp-dot.blue { background: var(--blue); }
.jp-dot.yellow { background: var(--yellow); }

.jp-approval {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.jp-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.jp-search span:first-child {
  border: 1px solid #d9d8d4;
  padding: 1rem;
  color: #999;
}

.jp-folder-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.jp-folder {
  min-height: 7rem;
  border-left: 5px solid var(--red);
  padding: 1rem;
  background: #f4f3f0;
}

.jp-folder:nth-child(2) { border-color: var(--blue); }
.jp-folder:nth-child(3) { border-color: var(--green); }
.jp-folder:nth-child(4) { border-color: var(--yellow); }

.jp-folder strong,
.jp-folder small {
  display: block;
}

.jp-folder strong {
  font-family: var(--serif);
  font-size: 1.25em;
}

.jp-folder small {
  margin-top: 1.8rem;
  color: #777;
}

.jp-browser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 21rem;
  gap: 0.75rem;
}

.jp-browser-col {
  border: 1px solid #d9d8d4;
  padding: 1rem;
  background: #fbfbfa;
}

.jp-browser-col h5 {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78em;
  text-transform: uppercase;
}

.jp-browser-col p {
  margin: 0;
  padding: 0.85rem;
}

.jp-browser-col .selected {
  border-left: 4px solid var(--red);
  background: #fff0f4;
}

@media (max-width: 780px) {
  .journey-preview {
    min-width: 760px;
  }
}

@media (max-width: 1050px) {
  .stories-page .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-page .studio-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  }
}

@media (max-width: 780px) {
  .hero,
  .stories-page .archive-hero .section-heading,
  .approach-page .content-hero,
  .studio-page .studio-grid,
  .contact-page .contact-layout,
  .journey-page .journey-layout,
  .journey-page .journey-demo-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2.25rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-image {
    width: min(100%, 560px);
    justify-self: start;
  }

  .stories-page .archive-hero .section-heading {
    gap: 1.25rem;
  }

  .stories-page .archive-hero .section-heading h1 {
    font-size: 2.9rem;
  }

  .stories-page .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-page .content-hero img {
    width: min(78vw, 340px);
  }

  .approach-page .content-hero h1 {
    font-size: 3.25rem;
  }

  .studio-page .studio-copy h1 {
    font-size: 3.5rem;
  }

  .studio-page .studio-collage {
    width: min(100%, 600px);
    justify-self: center;
  }

  .contact-page .contact-layout h1 {
    font-size: 3.6rem;
  }

  .journey-page .journey-intro h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 3.15rem;
  }

  .stories-page .archive-hero .section-heading h1 {
    font-size: 2.65rem;
  }
  .stories-page .archive-grid {
    grid-template-columns: 1fr;
  }

  .stories-page .archive-hero .eyebrow,
  .stories-page .archive-hero .section-heading {
    margin-bottom: 1.55rem;
  }

  .stories-page .archive-card h2 {
    font-size: 2.1rem;
  }

  .featured-card-media h3,
  .featured-card:nth-child(1) .featured-card-media h3,
  .featured-card:nth-child(2) .featured-card-media h3,
  .featured-card:nth-child(5) .featured-card-media h3,
  .featured-card:nth-child(6) .featured-card-media h3 {
    max-width: none;
    font-size: 2rem;
  }

  .stories-page .story-question {
    font-size: 1rem;
  }

  .approach-page .content-hero h1,
  .studio-page .studio-copy h1,
  .journey-page .journey-intro h1 {
    font-size: 3rem;
  }
}

/* ---- site-build18.css ---- */
/* Build 18
   The approved Draft 29 pages are the dimensional reference. At 1080px the
   principal content frame is 976px wide, with a separate 1002px header frame.
   This prevents the page openings and photographs from expanding with a wide
   browser window and changing the approved relationships. */

:root {
  --approved-content: 976px;
  --approved-header: 1002px;
}

.header-inner {
  width: min(calc(100% - 4.8rem), var(--approved-header));
}

.page-shell,
.footer-inner {
  width: min(calc(100% - 6.5rem), var(--approved-content));
}

/* HOME ------------------------------------------------------------------ */
.hero {
  width: min(calc(100% - 6.5rem), var(--approved-content));
  grid-template-columns: minmax(0, 0.856fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: start;
  padding-block: 1.5rem 0;
}

.hero-copy {
  padding-top: 4.15rem;
}

.hero h1 {
  max-width: 100%;
  font-size: 3.4rem;
  line-height: 0.98;
}

.hero .button {
  width: max-content;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 26rem;
  margin: 1.45rem 0 1.9rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-image {
  width: 100%;
  max-width: none;
  height: auto;
  justify-self: stretch;
  object-fit: contain;
}

.stories-section {
  padding-top: 4.65rem;
}

.stories-section .section-heading {
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 3.2rem;
  margin-bottom: 1.75rem;
}

.stories-section .featured-grid {
  gap: 1.25rem;
}

/* STORIES --------------------------------------------------------------- */
.stories-page .archive-hero {
  padding-block: 4.35rem 2rem;
}

.stories-page .archive-hero .eyebrow {
  margin-bottom: 0.55rem;
}

.stories-page .archive-hero .section-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.stories-page .archive-hero .section-heading h1 {
  max-width: 24rem;
  font-size: 3rem;
  line-height: 0.98;
}

.stories-page .archive-hero .section-heading p {
  padding-bottom: 0.15rem;
  font-size: 0.93rem;
}

/* The approved divider sits above the category labels. There is deliberately
   no line below them. */
.stories-page .filters {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding: 1rem 0 0;
}

.stories-page .filter-button {
  padding: 0;
  font-size: 0.6rem;
}

.stories-page .archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 3.4rem;
  padding-bottom: 7rem;
}

.stories-page .story-meta {
  margin-bottom: 0.7rem;
  font-size: 0.56rem;
}

.stories-page .archive-card h2 {
  right: 0.85rem;
  bottom: 0.8rem;
  left: 0.85rem;
  font-size: 1.48rem;
  line-height: 0.98;
}

.stories-page .story-question {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.32;
}

/* APPROACH -------------------------------------------------------------- */
.approach-page .content-hero {
  grid-template-columns: minmax(0, 36rem) 20rem;
  justify-content: start;
  gap: 2rem;
  align-items: start;
  padding-block: 4.35rem 4.1rem;
}

.approach-page .content-hero h1 {
  max-width: 36rem;
  margin-bottom: 1.45rem;
  font-size: 3rem;
  line-height: 0.99;
}

.approach-page .content-hero .lead {
  max-width: 30rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.approach-page .content-hero img {
  display: block;
  width: 20rem;
  height: 20rem;
  margin-top: 3.95rem;
  justify-self: start;
  object-fit: contain;
  object-position: center;
}

.approach-page .section {
  padding-block: 3.3rem;
}

.approach-page .section-heading {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 3rem;
  margin-bottom: 2.35rem;
}

.approach-page .section-heading h2 {
  font-size: 2.85rem;
  line-height: 0.98;
}

.approach-page .section-heading p {
  font-size: 0.96rem;
  line-height: 1.45;
}

/* STUDIO ---------------------------------------------------------------- */
.studio-page .studio-grid {
  grid-template-columns: 29rem minmax(0, 1fr);
  gap: 1.875rem;
  align-items: start;
  padding-block: 1.75rem 2.3rem;
}

.studio-page .studio-copy {
  padding-top: 2.75rem;
  font-size: 0.84rem;
  line-height: 1.47;
}

.studio-page .studio-copy .eyebrow {
  margin-bottom: 1.25rem;
}

.studio-page .studio-copy h1 {
  max-width: 14ch;
  margin: 0 0 1.75rem;
  font-size: 3.25rem;
  line-height: 0.98;
}

.studio-page .studio-copy p {
  margin: 0 0 0.82rem;
}

.studio-page .studio-copy h2 {
  margin: 2.25rem 0 1rem;
  color: var(--blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.studio-collage-frame {
  width: calc(100% + 2.25rem);
  aspect-ratio: 518 / 1332;
  overflow: hidden;
}

.studio-page .studio-collage {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: fill;
  object-position: center;
}

.studio-page .riba-logo {
  width: 10.5rem;
  margin-top: 1.85rem;
}

/* CONTACT --------------------------------------------------------------- */
.contact-page .contact-layout {
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  gap: 3.7rem;
  align-items: start;
  padding-block: 2.4rem 7rem;
}

.contact-page .contact-layout > div:first-child {
  padding-top: 4.65rem;
}

.contact-page .contact-layout h1 {
  max-width: 27rem;
  margin-bottom: 1.7rem;
  font-size: 3.5rem;
  line-height: 0.98;
}

.contact-page .contact-layout .lead {
  max-width: 29rem;
  font-size: 1.06rem;
  line-height: 1.45;
}

.contact-page .contact-card {
  min-height: 31.65rem;
  aspect-ratio: auto;
  justify-content: center;
  padding: 3.25rem;
}

.contact-page .contact-card h2 {
  font-size: 1.95rem;
}

.contact-page .contact-card > p > a:not(.button) {
  text-decoration: none;
}

.contact-page .contact-card .button {
  width: max-content;
  border-color: #fff;
  color: #fff;
  background: transparent;
}

/* MY PROJECT JOURNEY ---------------------------------------------------- */
.journey-page .journey-layout {
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: 2.75rem;
  padding-block: 2.2rem 3.9rem;
}

.journey-page .journey-intro {
  padding-top: 3.05rem;
}

.journey-page .journey-intro h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: 3.1rem;
  line-height: 0.98;
}

.journey-page .journey-intro .lead {
  max-width: 31rem;
  margin-bottom: 2.25rem;
  font-size: 1rem;
  line-height: 1.45;
}

.journey-page .journey-benefits {
  gap: 0.75rem;
}

.journey-page .journey-benefit {
  min-height: 9.15rem;
  padding: 1.3rem;
}

.journey-page .journey-benefit h2 {
  font-size: 1.28rem;
}

.journey-page .journey-benefit p {
  font-size: 0.83rem;
}

.journey-page .journey-login {
  min-height: 40.8rem;
  padding: 3rem 2.75rem;
}

.journey-page .journey-login h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.journey-page .journey-login-form input {
  border: 0;
  border-bottom: 1px solid #a9a9a6;
}

.journey-page .journey-login-note {
  display: none;
}

.journey-page .journey-login-link {
  display: block;
  margin-top: 0.7rem;
  text-align: center;
}

.journey-page .journey-demo-heading {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 3rem;
  margin-bottom: 1.75rem;
}

.journey-page .journey-demo-heading h2 {
  max-width: 12ch;
  font-size: 2.75rem;
}

/* Tablet/mobile keep the approved hierarchy without forcing desktop widths. */
@media (max-width: 780px) {
  .header-inner,
  .page-shell,
  .footer-inner,
  .hero {
    width: min(calc(100% - 2.5rem), var(--approved-content));
  }

  .hero,
  .approach-page .content-hero,
  .studio-page .studio-grid,
  .contact-page .contact-layout,
  .journey-page .journey-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2.4rem;
    padding-block: 2.75rem 0;
  }

  .hero-copy,
  .studio-page .studio-copy,
  .contact-page .contact-layout > div:first-child,
  .journey-page .journey-intro {
    padding-top: 0;
  }

  .hero h1,
  .approach-page .content-hero h1,
  .studio-page .studio-copy h1,
  .contact-page .contact-layout h1,
  .journey-page .journey-intro h1 {
    font-size: clamp(2.75rem, 11vw, 3.35rem);
  }

  .stories-page .archive-hero {
    padding-block: 3.5rem 1.75rem;
  }

  .stories-page .archive-hero .section-heading {
    margin-bottom: 3.5rem;
  }

  .stories-page .filters {
    display: flex;
    justify-content: flex-start;
    gap: 0.7rem 1.2rem;
  }

  .stories-page .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .approach-page .content-hero {
    gap: 2.5rem;
    padding-block: 3.5rem 4rem;
  }

  .approach-page .content-hero img {
    width: min(78vw, 20rem);
    height: auto;
    margin-top: 0;
    justify-self: center;
  }

  .studio-collage-frame {
    width: min(100%, 32rem);
    aspect-ratio: auto;
    margin-inline: auto;
  }

  .studio-page .studio-collage {
    height: auto;
    object-fit: contain;
  }

  .contact-page .contact-layout,
  .journey-page .journey-layout {
    gap: 2.5rem;
    padding-block: 3.5rem 5rem;
  }

  .contact-page .contact-card,
  .journey-page .journey-login {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .stories-page .archive-grid {
    grid-template-columns: 1fr;
  }

  .stories-page .archive-card h2 {
    font-size: 2rem;
  }

  .stories-page .story-question {
    font-size: 0.98rem;
  }
}

/* ---- site-build19.css ---- */
/* Build 19: corrections taken directly from the 21 September marked review.
   Build 18 remains untouched as the rollback baseline. */

[hidden],
.story-media-withdrawn {
  display: none !important;
}

/* HOME + STORIES ------------------------------------------------------- */
/* The approved source cards already contain the title over the soft,
   transparent photographic fade. Keep the equivalent live heading available
   to assistive technology without painting a second opaque title panel. */
.featured-card-media::after,
.stories-page .archive-card-media::after {
  display: none;
}

.featured-card-media h3,
.stories-page .archive-card-media h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.themes-section .section-heading {
  margin-top: 0;
}

/* APPROACH ------------------------------------------------------------- */
.approach-page .content-hero .approach-illustration-frame {
  box-sizing: border-box;
  width: 20rem;
  margin-top: 3.95rem;
  padding: 0.75rem;
  justify-self: start;
  background: #fff;
}

.approach-page .content-hero .approach-illustration-frame img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.approach-page .principle-grid,
.approach-page .service-grid {
  counter-reset: approach-card;
}

.approach-page .principle-card,
.approach-page .service-card {
  counter-increment: approach-card;
}

.approach-page .principle-card::before,
.approach-page .service-card::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--red);
  content: counter(approach-card, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.approach-page .service-card:nth-child(1) {
  border-left-color: #8874ad;
}

.approach-page .service-card:nth-child(2) {
  border-left-color: #dc7262;
}

.approach-page .service-card:nth-child(3) {
  border-left-color: #62aaa8;
}

.approach-page .service-card:nth-child(4) {
  border-left-color: #ada443;
}

/* STUDIO --------------------------------------------------------------- */
.studio-collage-frame {
  width: 100%;
  margin-top: 1rem;
  aspect-ratio: auto;
  overflow: visible;
}

.studio-page .studio-collage {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0;
}

.studio-page .studio-collage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 23 / 24;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* CONTACT -------------------------------------------------------------- */
.contact-page .contact-layout {
  padding-bottom: 12rem;
}

/* MY PROJECT JOURNEY --------------------------------------------------- */
.journey-page .journey-layout {
  align-items: stretch;
}

.journey-page .journey-intro {
  display: flex;
  flex-direction: column;
}

.journey-page .journey-benefits {
  margin-top: auto;
}

.journey-page .journey-benefit {
  min-height: 8rem;
}

.journey-page .journey-login {
  min-height: 37.75rem;
  height: 100%;
}

.journey-page .journey-screens {
  display: grid;
  gap: 1rem;
}

.journey-live-previews {
  display: grid;
  gap: 1rem;
}

.journey-approved-screen {
  margin: 0;
}

.journey-approved-screen img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 780px) {
  .approach-page .content-hero .approach-illustration-frame {
    width: min(78vw, 20rem);
    margin-top: 0;
    justify-self: center;
  }
}

/* APPROVED STORY TEMPLATE --------------------------------------------- */
.story-approved-four-image-group img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-data {
  grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.65fr);
  gap: 2.5rem;
  padding: 2.4rem 2.6rem;
}

.project-data-title p {
  margin: 0 0 1.15rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-data-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
}

.project-data-columns dl {
  display: block;
  margin: 0;
}

.project-data-columns dt {
  margin: 0 0 0.2rem;
}

.project-data-columns dd {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.38;
}

.project-data-columns dd:last-child {
  margin-bottom: 0;
}

.next-story {
  grid-template-columns: minmax(16rem, 0.69fr) minmax(0, 1.31fr);
}

.next-story img {
  height: 100%;
  min-height: 26.5rem;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.next-story div {
  padding: 2.6rem 3.2rem;
}

.next-story .next-story-kicker {
  margin-bottom: 0.8rem;
}

.next-story .next-story-question {
  max-width: 27rem;
  margin: 0.65rem 0 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

@media (max-width: 780px) {
  .contact-page .contact-layout {
    padding-bottom: 6rem;
  }

  .journey-page .journey-intro {
    display: block;
  }

  .journey-page .journey-login {
    min-height: 0;
  }

  .project-data,
  .project-data-columns,
  .next-story {
    grid-template-columns: 1fr;
  }

  .project-data {
    gap: 1.75rem;
  }

  .next-story img {
    min-height: 20rem;
  }
}

/* BUILD 19.2: scale the live Project Journey examples as complete approved
   1468 x 1041 layouts. Container-relative units keep every heading, label,
   control and spacing value in the same proportion as the approved screens. */
.journey-preview-viewport {
  container-type: inline-size;
  overflow: hidden;
}

.journey-preview {
  min-width: 0;
  font-size: 0.7847cqw;
}

.jp-sidebar h3 {
  font-size: 2.8883cqw;
}

.jp-sidebar > p {
  margin: 1.3624cqw 0 0;
}

.jp-nav {
  gap: 1.7984cqw;
}

.jp-badge {
  margin-left: 0.654cqw;
}

.jp-top {
  gap: 1.3079cqw;
  margin-bottom: 4.5%;
}

.jp-kicker,
.jp-label {
  margin-bottom: 0.7084cqw;
}

.jp-top h3 {
  font-size: 3.9782cqw;
}

.jp-status {
  min-width: 11.9891cqw;
  padding: 1.2534cqw 1.4714cqw;
}

.jp-user {
  padding-top: 0.8174cqw;
}

.jp-stage-strip,
.jp-stat-grid,
.jp-folder-strip {
  gap: 0.7084cqw;
}

.jp-stage-strip {
  margin-bottom: 1.3624cqw;
}

.jp-stage {
  min-height: 7.6294cqw;
  border-top-width: 0.2725cqw;
  padding: 1.0899cqw;
}

.jp-stage small {
  margin-top: 2.2888cqw;
}

.jp-two-column {
  gap: 1.3624cqw;
}

.jp-panel {
  padding: 1.6894cqw;
}

.jp-panel h4 {
  margin-bottom: 1.3079cqw;
  font-size: 2.3978cqw;
}

.jp-stat-grid.four {
  margin-bottom: 1.4714cqw;
}

.jp-stat {
  min-height: 8.1744cqw;
  padding: 1.3079cqw;
}

.jp-stat.is-alert {
  border-top-width: 0.2725cqw;
}

.jp-stat strong {
  margin: 0.9264cqw 0 0.436cqw;
  font-size: 2.7793cqw;
}

.jp-list li {
  gap: 1.0899cqw;
  padding: 0.8937cqw 0;
}

.jp-actions {
  gap: 0.8174cqw;
  margin-top: 1.0899cqw;
}

.jp-button {
  min-height: 3.0518cqw;
  padding: 0.8174cqw 1.1989cqw;
}

.jp-wide {
  margin-top: 1.3624cqw;
}

.jp-gantt {
  gap: 0.5668cqw;
  margin-top: 1.0899cqw;
  padding: 0.8719cqw 0;
}

.jp-gantt-line {
  height: 0.7629cqw;
}

.jp-gantt-line::before,
.jp-gantt-line::after {
  border-radius: 1.0899cqw;
}

.jp-progress {
  height: 0.8719cqw;
  margin: 0.8174cqw 0;
}

.jp-split-note {
  gap: 1.6349cqw;
}

.jp-table th,
.jp-table td {
  padding: 0.6757cqw 0.4905cqw;
}

.jp-timeline {
  margin: 2.8338cqw 0 0.7629cqw;
}

.jp-timeline div {
  border-top-width: 0.3406cqw;
  padding-top: 1.1989cqw;
}

.jp-timeline div::before {
  top: -0.7084cqw;
  left: calc(50% - 0.545cqw);
  width: 1.0899cqw;
  height: 1.0899cqw;
}

.jp-timeline .due::before {
  top: -0.8174cqw;
  left: calc(50% - 0.6812cqw);
  width: 1.3624cqw;
  height: 1.3624cqw;
}

.jp-callout {
  padding: 1.3624cqw;
}

.jp-note-box {
  min-height: 5.4496cqw;
  padding: 1.0899cqw;
}

.jp-dot {
  width: 1.3624cqw;
  height: 1.3624cqw;
}

.jp-approval {
  gap: 2.1798cqw;
}

.jp-search {
  gap: 0.8174cqw;
  margin-bottom: 1.0899cqw;
}

.jp-search span:first-child {
  padding: 1.0899cqw;
}

.jp-folder-strip {
  margin-bottom: 1.0899cqw;
}

.jp-folder {
  min-height: 7.6294cqw;
  border-left-width: 0.3406cqw;
  padding: 1.0899cqw;
}

.jp-folder small {
  margin-top: 1.9619cqw;
}

.jp-browser {
  min-height: 22.8883cqw;
  gap: 0.8174cqw;
}

.jp-browser-col {
  padding: 1.0899cqw;
}

.jp-browser-col h5 {
  margin-bottom: 1.0899cqw;
}

.jp-browser-col p {
  padding: 0.9264cqw;
}

.jp-browser-col .selected {
  border-left-width: 0.2725cqw;
}

/* Build 19.3 responsive acceptance: later desktop template rules must not
   reintroduce the two-column story header below the tablet breakpoint. */
@media (max-width: 780px) {
  .story-page .article-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-page .article-introduction,
  .story-page .article-header figure {
    min-width: 0;
  }
}

/* BUILD 19.6: Draft 29 Stories 04-23. Preserve every source image in full;
   the layout grows around the artwork instead of cropping it. */
.story-media-stack {
  display: grid;
  gap: var(--gap);
}

.story-media-stack figure {
  margin: 0;
}

.story-three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.story-page .media-grid,
.story-page .media-pair {
  align-items: start;
}

.story-page .next-story img {
  object-fit: contain;
  background: var(--navy);
}

.story-technical-drawing,
.story-detail-study {
  background: #fff;
}

.story-technical-drawing img,
.story-detail-study img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 780px) {
  .story-three-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-page .next-story img {
    min-height: 0;
    max-height: 28rem;
  }
}

/* BUILD 19.7: annotated Draft 29 corrections and stable story browsing. */
.story-page .next-story {
  align-items: center;
}

.story-page .next-story img {
  align-self: center;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

.story-05-page .article-header figure,
.story-20-page .article-header figure {
  align-self: start;
}

.story-17-page .story-17-closing-grid {
  grid-template-columns: minmax(0, 0.7775fr) minmax(0, 0.9296fr);
  align-items: start;
}

.story-17-page .story-17-closing-grid .span-two img {
  width: 100%;
  max-height: none;
}

.story-18-page .story-18-long-library-grid {
  grid-template-columns: minmax(0, 0.777fr) minmax(0, 0.755fr) minmax(0, 0.785fr);
  align-items: start;
}

.story-18-page .story-18-completed-grid figure {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.story-18-page .story-18-completed-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-20-page .article-header {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
}

.story-20-page .story-20-opening-image {
  width: 112%;
  max-width: none;
}

.story-20-page .story-20-wide-diagram {
  width: min(calc(100% - (2 * var(--gutter))), 1080px);
}

.story-23-page .story-23-context-grid {
  width: min(calc(100% - (2 * var(--gutter))), 920px);
  grid-template-columns: minmax(0, 1.063fr) minmax(0, 2.159fr);
  align-items: start;
}

.story-23-page .story-23-development-diagram {
  width: min(calc(100% - (2 * var(--gutter))), 820px);
}

.story-23-page .story-23-final-grid {
  width: min(calc(100% - (2 * var(--gutter))), 920px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.story-23-page .story-23-final-grid .span-two {
  grid-column: 1 / -1;
}

.story-23-page .story-23-final-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.approach-page .content-hero .approach-illustration-frame {
  overflow: visible;
  padding: 0;
}

.approach-page .content-hero .approach-illustration-frame img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 780px) {
  .story-17-page .story-17-closing-grid,
  .story-18-page .story-18-long-library-grid,
  .story-18-page .story-18-completed-grid,
  .story-23-page .story-23-context-grid,
  .story-23-page .story-23-final-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-17-page .story-17-closing-grid .span-two,
  .story-23-page .story-23-context-grid .span-two,
  .story-23-page .story-23-final-grid .span-two {
    grid-column: auto;
  }

  .story-18-page .story-18-completed-grid figure {
    aspect-ratio: auto;
  }

  .story-18-page .story-18-completed-grid img {
    height: auto;
  }

  .story-20-page .article-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-20-page .story-20-opening-image {
    width: 100%;
  }

  .story-page .next-story img {
    max-height: none;
  }
}

/* BUILD 19.9: final marked-screen corrections and cache-safe deployment. */
.approach-page .content-hero .approach-illustration-frame {
  box-sizing: border-box;
  width: min(100%, 20rem);
  margin-top: 3.95rem;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.approach-page .content-hero .approach-illustration-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  clip-path: none;
}

.story-03-glass-animation img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.story-04-page .story-04-four-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.story-04-page .story-04-four-grid figure {
  aspect-ratio: 1093 / 688;
  overflow: hidden;
}

.story-04-page .story-04-four-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-04-page .story-04-closing-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.story-04-page .story-04-closing-pair figure {
  aspect-ratio: 1.02 / 1;
  overflow: hidden;
}

.story-04-page .story-04-closing-pair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-17-page .story-17-closing-grid {
  grid-template-columns: minmax(0, 0.7775fr) minmax(0, 0.9296fr) minmax(0, 0.9371fr);
  align-items: start;
}

.story-17-page .story-17-closing-grid figure {
  overflow: hidden;
}

.story-17-page .story-17-closing-grid figure:nth-child(1) {
  aspect-ratio: 1555 / 2000;
}

.story-17-page .story-17-closing-grid figure:nth-child(2) {
  aspect-ratio: 1136 / 1222;
}

.story-17-page .story-17-closing-grid figure:nth-child(3) {
  aspect-ratio: 984 / 1050;
}

.story-17-page .story-17-closing-grid .span-two {
  grid-column: auto;
}

.story-17-page .story-17-closing-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-18-page .story-18-completed-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.story-18-page .story-18-completed-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.story-18-page .story-18-completed-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 780px) {
  .approach-page .content-hero .approach-illustration-frame {
    width: min(78vw, 20rem);
    margin-top: 0;
  }

  .story-04-page .story-04-four-grid,
  .story-04-page .story-04-closing-pair,
  .story-17-page .story-17-closing-grid,
  .story-18-page .story-18-completed-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-04-page .story-04-four-grid figure,
  .story-04-page .story-04-closing-pair figure,
  .story-17-page .story-17-closing-grid figure,
  .story-18-page .story-18-completed-grid figure {
    aspect-ratio: auto;
    overflow: visible;
  }

  .story-04-page .story-04-four-grid img,
  .story-04-page .story-04-closing-pair img,
  .story-17-page .story-17-closing-grid img,
  .story-18-page .story-18-completed-grid img {
    height: auto;
    object-fit: contain;
  }
}

/* BUILD 19.10: permanent Safari-safe artwork inset. */
.approach-page .content-hero .approach-illustration-frame {
  width: min(100%, 20rem);
  padding: 0.5rem;
  overflow: visible;
  background: #fff;
}

.approach-page .content-hero .approach-illustration-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  object-fit: initial;
  clip-path: none;
}

@media (max-width: 780px) {
  .approach-page .content-hero .approach-illustration-frame {
    width: min(78vw, 20rem);
    margin-top: 0;
  }
}

/* BUILD 19.11: final Draft 29 markup resolution.
   These rules intentionally sit last so older build layers cannot reintroduce
   cropping, obsolete collage proportions or cached artwork behaviour. */

/* The approved homepage and Stories cards use their own transparent fades. */
.featured-card-media::after,
.stories-page .archive-card-media::after {
  display: none !important;
  background: transparent !important;
}

/* Keep story artwork complete unless a marked-up opening image explicitly
   uses the portrait frame from Draft 29. */
.story-page .media-column img,
.story-page .media-grid img,
.story-page .media-pair img,
.story-page .story-media-stack img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

/* Story 01 and Approach: the safe artwork file includes a permanent white
   margin. No CSS mask, radius or overflow clipping is applied. */
.story-01-page .article-header.story-opening-circle figure {
  width: min(100%, 34rem);
  height: auto;
  margin-top: 7.5rem;
  aspect-ratio: auto;
  overflow: visible;
  justify-self: center;
  background: #fff;
}

.story-01-page .article-header.story-opening-circle img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  clip-path: none;
  object-fit: contain;
}

.approach-page .content-hero .approach-illustration-frame {
  box-sizing: border-box;
  width: min(100%, 22rem);
  margin-top: 3.25rem;
  padding: 0;
  overflow: visible;
  justify-self: start;
  background: #fff;
}

.approach-page .content-hero .approach-illustration-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  clip-path: none;
  object-fit: contain;
  object-position: center;
}

/* Story 03: rebuild the approved four-image group from the source images so
   the accessible bathroom no longer overlaps its neighbour. */
.story-03-page .story-03-approved-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.779fr);
  align-items: start;
}

.story-03-page .story-03-approved-grid figure {
  height: auto;
  overflow: visible;
}

.story-03-page .story-03-approved-grid .span-two {
  grid-column: 1 / -1;
  width: 100%;
}

/* Story 04: proportional columns make the external and office views meet at
   the same baseline without cropping either photograph. */
.story-04-page .story-04-building-pair {
  grid-template-columns: minmax(0, 0.7785fr) minmax(0, 1.5699fr);
  align-items: start;
}

.story-04-page .story-04-four-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.story-04-page .story-04-four-grid figure,
.story-04-page .story-04-closing-pair figure {
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.story-04-page .story-04-four-grid img,
.story-04-page .story-04-closing-pair img {
  height: auto;
  object-fit: contain;
}

.story-04-page .story-04-closing-pair {
  grid-template-columns: minmax(0, 1.012fr) minmax(0, 1.0855fr);
  align-items: start;
}

/* Story 05: the approved animation is landscape source material displayed
   within the portrait opening frame shown in Draft 29. */
.story-05-page .article-header figure {
  width: 100%;
  aspect-ratio: 0.758;
  overflow: hidden;
}

.story-05-page .article-header figure img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.story-05-page .story-05-bathrooms {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.779fr);
  align-items: start;
}

/* Story 06: the new lightweight animation uses the matched before/after
   viewpoints; the repeated completed exterior has been removed in HTML. */
.story-06-page .article-header figure {
  aspect-ratio: auto;
  overflow: visible;
}

.story-06-page .article-header figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.story-06-page .story-06-opening-animation video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Story 07: Draft 29 uses three full-width image sequences, not cropped
   mosaics or duplicate garden photographs. */
.story-07-page .story-07-three-stack,
.story-07-page .story-07-lower-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.story-07-page .story-07-three-stack .span-two,
.story-07-page .story-07-lower-grid .span-two {
  grid-column: auto;
}

/* Story 17: three natural-width columns form one even rectangle. */
.story-17-page .story-17-closing-grid {
  grid-template-columns: minmax(0, 0.7775fr) minmax(0, 0.9296fr) minmax(0, 0.9371fr);
  align-items: start;
}

.story-17-page .story-17-closing-grid figure,
.story-17-page .story-17-closing-grid .span-two {
  grid-column: auto;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.story-17-page .story-17-closing-grid img {
  height: auto;
  object-fit: contain;
}

/* Stories 17-19: remove the stray navy image bars in next-story cards. */
.story-17-page .next-story,
.story-19-page .next-story {
  align-items: stretch;
}

.story-17-page .next-story img,
.story-19-page .next-story img {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  background: #fff;
}

.story-18-page .next-story {
  align-items: stretch;
}

.story-18-page .next-story img {
  box-sizing: border-box;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: 1.25rem;
  object-fit: contain;
  background: #fff;
}

/* Story 18: corrected portrait orientation, three matching heights and four
   equal completed-image panels with every source image visible in full. */
.story-18-page .story-18-long-library-grid {
  grid-template-columns: minmax(0, 0.777fr) minmax(0, 0.755fr) minmax(0, 0.785fr);
  align-items: start;
}

.story-18-page .story-18-long-library-grid figure {
  height: auto;
  overflow: visible;
}

.story-18-page .story-18-completed-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.story-18-page .story-18-completed-grid figure {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.story-18-page .story-18-completed-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Story 20: approved portrait opening plus clean, complete diagrams. */
.story-20-page .article-header {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
}

.story-20-page .article-header .story-20-opening-image {
  width: 112%;
  max-width: none;
  aspect-ratio: 0.78;
  overflow: hidden;
}

.story-20-page .article-header .story-20-opening-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.story-20-page .story-20-wide-diagram {
  width: min(calc(100% - (2 * var(--gutter))), 1120px);
}

.story-20-page .story-20-key-concept {
  width: min(calc(100% - (2 * var(--gutter))), 1160px);
}

.story-20-page .story-20-front-elevation {
  width: min(calc(100% - (2 * var(--gutter))), 980px);
  overflow: visible;
}

.story-20-page .story-20-wide-diagram img,
.story-20-page .story-20-front-elevation img,
.story-21-page .story-technical-drawing img,
.story-22-page .story-technical-drawing img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

.story-22-page .story-22-site-plan {
  width: min(calc(100% - (2 * var(--gutter))), var(--media));
}

/* Story 23: Draft 29 order and proportions. */
.story-23-page .story-23-context-grid {
  width: min(calc(100% - (2 * var(--gutter))), 920px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.story-23-page .story-23-context-grid .span-two,
.story-23-page .story-23-final-grid .span-two {
  grid-column: 1 / -1;
}

.story-23-page .story-23-context-grid figure,
.story-23-page .story-23-final-grid figure {
  height: auto;
  overflow: visible;
}

.story-23-page .story-23-context-grid img,
.story-23-page .story-23-final-grid img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.story-23-page .story-23-final-grid {
  width: min(calc(100% - (2 * var(--gutter))), 920px);
  grid-template-columns: minmax(0, 1.574fr) minmax(0, 1.569fr);
  align-items: start;
}

/* Project Journey programme: selectable HTML text and vector CSS replace the
   missing flattened axes, dates, legend and Today marker. */
.jp-programme-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.3079cqw;
}

.jp-programme-title p {
  margin: 0;
}

.jp-period-toggle {
  display: inline-flex;
  border: 0.0681cqw solid #d9d8d4;
  background: #fff;
}

.jp-period-toggle span {
  padding: 0.545cqw 0.8174cqw;
  color: #737678;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jp-period-toggle .is-current {
  color: #fff;
  background: var(--navy);
}

.jp-programme-legend {
  display: flex;
  gap: 1.3079cqw;
  margin: 0.8174cqw 0 0;
  color: #6c6f71;
  font-size: 0.72em;
}

.jp-programme-legend span::before {
  display: inline-block;
  width: 0.8174cqw;
  height: 0.545cqw;
  margin-right: 0.436cqw;
  border-radius: 0.545cqw;
  content: "";
}

.jp-programme-legend .estimated::before { background: #a9dbf0; }
.jp-programme-legend .actual::before { background: var(--green); }
.jp-programme-legend .completed::before { background: var(--red); }

.jp-programme-panel .jp-gantt {
  position: relative;
  gap: 0.4905cqw;
  margin-top: 0.7084cqw;
  padding: 0;
  background: none;
}

.jp-programme-panel .jp-gantt::before {
  position: absolute;
  z-index: 0;
  top: 3.2698cqw;
  right: 0;
  bottom: 0;
  left: 24%;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 13.9%, #e1e1de 14%, transparent 14.2%);
  content: "";
  pointer-events: none;
}

.jp-gantt-axis,
.jp-gantt-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 24% minmax(0, 1fr);
  align-items: center;
}

.jp-axis-scale {
  min-width: 0;
  color: #777;
  font-size: 0.64em;
}

.jp-axis-years,
.jp-axis-months {
  display: grid;
}

.jp-axis-years {
  grid-template-columns: 2fr 1fr;
  padding-bottom: 0.2725cqw;
  border-bottom: 0.0681cqw solid #d9d8d4;
}

.jp-axis-years b {
  font-weight: 600;
  text-align: center;
}

.jp-axis-months {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding-top: 0.2725cqw;
}

.jp-axis-months span {
  text-align: center;
}

.jp-programme-panel .jp-gantt-line {
  position: relative;
  z-index: 2;
}

.jp-programme-panel .jp-gantt-line.is-complete::after {
  background: var(--red);
}

.jp-today-marker {
  position: absolute;
  z-index: 3;
  top: 2.8338cqw;
  bottom: -0.2725cqw;
  left: 48.32%;
  border-left: 0.1362cqw dashed var(--red);
  pointer-events: none;
}

.jp-today-marker span {
  position: absolute;
  top: -2.3978cqw;
  left: 0.436cqw;
  color: var(--red);
  font-size: 0.62em;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.jp-browser {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1fr);
}

.jp-browser-col:first-child p {
  padding-block: 0.545cqw;
}

@media (max-width: 780px) {
  .story-01-page .article-header.story-opening-circle figure,
  .approach-page .content-hero .approach-illustration-frame {
    width: min(86vw, 24rem);
    margin-top: 0;
    justify-self: center;
  }

  .story-03-page .story-03-approved-grid,
  .story-04-page .story-04-building-pair,
  .story-04-page .story-04-four-grid,
  .story-04-page .story-04-closing-pair,
  .story-05-page .story-05-bathrooms,
  .story-17-page .story-17-closing-grid,
  .story-18-page .story-18-long-library-grid,
  .story-18-page .story-18-completed-grid,
  .story-23-page .story-23-context-grid,
  .story-23-page .story-23-final-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-03-page .story-03-approved-grid .span-two,
  .story-23-page .story-23-context-grid .span-two,
  .story-23-page .story-23-final-grid .span-two {
    grid-column: auto;
  }

  .story-05-page .article-header figure,
  .story-20-page .article-header .story-20-opening-image {
    width: 100%;
    aspect-ratio: auto;
    overflow: visible;
  }

  .story-05-page .article-header figure img,
  .story-20-page .article-header .story-20-opening-image img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .story-18-page .story-18-completed-grid figure {
    aspect-ratio: auto;
  }

  .story-18-page .story-18-completed-grid img {
    height: auto;
  }

  .story-20-page .article-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-17-page .next-story img,
  .story-18-page .next-story img,
  .story-19-page .next-story img {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

/* BUILD 19.12: exact Draft 29 corrections for Stories 09-14 and a
   cache-independent, Safari-safe circular illustration. This final layer is
   deliberately narrow: it changes only items explicitly marked for review. */

/* Story 09 / Draft 29 page 15: preserve the complete opening photograph and
   reproduce the approved 4-column mosaic without cropping any source image. */
.story-09-page .article-header > figure {
  height: auto;
  aspect-ratio: 1557 / 2000;
  overflow: visible;
}

.story-09-page .article-header > figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.story-09-page .story-09-lower-group {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.story-09-page .story-09-lower-group figure:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.story-09-page .story-09-lower-group figure:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.story-09-page .story-09-lower-group figure:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

.story-09-page .story-09-lower-group figure:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2;
}

.story-09-page .story-09-lower-group figure:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 2;
}

.story-09-page .story-09-lower-group figure,
.story-09-page .story-09-lower-group .span-two {
  height: auto;
  overflow: visible;
}

.story-09-page .story-09-lower-group img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Story 10 / Draft 29 page 16: every pair uses its natural aspect ratios so
   both photographs meet at one baseline with no crop or stretch. */
.story-10-page .article-header > figure,
.story-11-page .article-header > figure,
.story-13-page .article-header > figure {
  height: auto;
  aspect-ratio: 1557 / 2000;
  overflow: visible;
}

.story-10-page .article-header > figure img,
.story-11-page .article-header > figure img,
.story-13-page .article-header > figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.story-10-page .story-10-pair-a {
  grid-template-columns: minmax(0, 1.002fr) minmax(0, 0.799fr);
}

.story-10-page .story-10-pair-b {
  grid-template-columns: minmax(0, 0.754fr) minmax(0, 0.759fr);
}

.story-10-page .story-10-pair-c {
  grid-template-columns: minmax(0, 0.780fr) minmax(0, 0.779fr);
}

.story-10-page .story-10-pair-d {
  grid-template-columns: minmax(0, 0.681fr) minmax(0, 0.674fr);
}

/* Story 11 / Draft 29 page 17: all four approved interior views are single,
   full reading-column images. The two unapproved extras are removed in HTML. */
.story-11-page .story-11-approved-image {
  width: min(calc(100% - (2 * var(--gutter))), var(--reading));
  margin: 2.25rem auto;
}

.story-11-page .story-11-approved-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Story 12 / Draft 29 page 18: the portrait vector contains the entire
   palette and reaches the same baseline as the opening copy. */
.story-12-page .article-header > figure {
  height: auto;
  aspect-ratio: 1200 / 1536;
  overflow: visible;
}

.story-12-page .article-header > figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Story 13 / Draft 29 page 19: tall model at left; elevations and plan stack
   at right. The four closing photographs retain their approved 2x2 block. */
.story-13-page .story-13-drawings {
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.story-13-page .story-13-drawings figure:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.story-13-page .story-13-drawings figure:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.story-13-page .story-13-drawings figure:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.story-13-page .story-13-closing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

/* Story 14 / Draft 29 page 20: the two opening images are a natural-height
   stack; no fixed article-header frame is allowed to cover either image. */
.story-14-page .article-header .story-opening-stack {
  display: grid;
  height: auto;
  gap: var(--gap);
  aspect-ratio: auto;
  align-self: start;
  overflow: visible;
}

.story-14-page .article-header .story-opening-stack img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Story 01 + Approach: the SVG owns an 80-unit safety margin on all sides.
   Parent and image remain unclipped, and the unique filename defeats Safari
   and cPanel cache reuse of the previously clipped asset. */
.approach-page .content-hero {
  grid-template-columns: minmax(0, 36rem) 24rem;
  overflow: visible;
}

.story-01-page .article-header.story-opening-circle,
.story-01-page .article-header.story-opening-circle figure,
.approach-page .content-hero,
.approach-page .content-hero .approach-illustration-frame {
  overflow: visible;
}

.approach-page .content-hero .approach-illustration-frame {
  width: min(100%, 24rem);
}

.story-01-page .article-header.story-opening-circle img,
.approach-page .content-hero .approach-illustration-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  clip-path: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 780px) {
  .story-09-page .story-09-lower-group,
  .story-10-page .story-10-pair-a,
  .story-10-page .story-10-pair-b,
  .story-10-page .story-10-pair-c,
  .story-10-page .story-10-pair-d,
  .story-13-page .story-13-drawings,
  .story-13-page .story-13-closing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-09-page .story-09-lower-group figure,
  .story-09-page .story-09-lower-group .span-two,
  .story-13-page .story-13-drawings figure:nth-child(1),
  .story-13-page .story-13-drawings figure:nth-child(2),
  .story-13-page .story-13-drawings figure:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .approach-page .content-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .approach-page .content-hero .approach-illustration-frame {
    width: min(86vw, 24rem);
  }
}

/* Build 19.42 - small-screen heading stack fixes: Approach + My Project Journey only */
@media (max-width: 780px) {
  .approach-page .section-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .approach-page .section-heading h2,
  .approach-page .section-heading p {
    max-width: none;
  }

  .journey-page .journey-demo-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .journey-page .journey-demo-heading h2,
  .journey-page .journey-demo-heading p {
    max-width: none;
  }
}
