/* Editorial additions use the existing Inter family and responsive components. */
.hero-description {
  max-width: 650px;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-left: 28px;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff70;
  color: #fff;
  font-size: 13px;
}
.hero-content {
  max-width: 1100px;
}
.hero-content h1 {
  font-size: clamp(48px, 6.7vw, 100px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.hero-content h1 em {
  font-style: normal;
}
.signature-work {
  background: #f5f5f2;
  color: #172b26;
}
.signature-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 70px;
}
.signature-heading h2 {
  font-size: clamp(44px, 6vw, 88px);
}
.signature-heading > p {
  max-width: 410px;
  justify-self: end;
  font-size: 17px;
  color: #59645f;
}
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.signature-card {
  min-width: 0;
  display: block;
}
.signature-card figure {
  position: relative;
  aspect-ratio: 4/5;
  margin: 0 0 28px;
  overflow: hidden;
  background: #d8e2dc;
}
.signature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.signature-card:hover img {
  transform: scale(1.025);
}
.signature-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 18px;
  background: #102b22d9;
  color: #fff;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.signature-card h3 {
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
}
.signature-card > p {
  color: #5e6963;
  font-size: 13px;
  margin-bottom: 20px;
}
.signature-card .text-link {
  font-size: 12px;
}
.signature-housing {
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: #d8f4e9;
  background: #193d34 !important;
}
.signature-housing strong {
  font-size: clamp(62px, 7vw, 106px);
  font-weight: 400;
  letter-spacing: -0.07em;
  margin: 12% 0 5%;
}
.signature-housing > span:not(.eyebrow):not(.plate-lines) {
  max-width: 230px;
  font-size: 14px;
  line-height: 1.7;
}
.plate-lines {
  display: block;
  margin-top: auto;
  width: 100%;
  height: 24%;
  background:
    repeating-linear-gradient(90deg, transparent 0 25px, #69b29c75 25px 26px),
    repeating-linear-gradient(0deg, transparent 0 25px, #69b29c75 25px 26px);
  transform: skewY(-8deg);
  opacity: 0.6;
}
.signature-housing .plate-lines {
  margin-bottom: 35px;
}
.signature-foot {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid #d3d8d3;
}
.signature-foot p {
  font-size: 11px;
  color: #5b6760;
  max-width: 450px;
}
.signature-foot a {
  white-space: nowrap;
  font-size: 12px;
}
.contribution {
  background: #16382f;
  color: #f1f4ef;
}
.contribution-heading {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  margin: 25px 0 65px;
  align-items: end;
}
.contribution-heading h2 {
  font-size: clamp(36px, 5vw, 70px);
}
.contribution-heading p {
  max-width: 400px;
  font-size: 16px;
  color: #bed1c8;
}
.contribution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.contribution-grid article {
  border-top: 1px solid #658275;
  padding-top: 25px;
}
.contribution-grid h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 20px 0;
}
.contribution-grid p {
  font-size: 14px;
  color: #bed1c8;
  margin-bottom: 25px;
}
.contribution-grid .text-link {
  font-size: 12px;
  color: #d5f0e6;
}
.material-service-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 60px;
  margin-top: 55px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.material-service-route > .eyebrow {
  grid-column: 1/-1;
}
.material-service-route h3 {
  font-size: 28px;
  line-height: 1.3;
}
.material-service-route p {
  font-size: 14px;
  max-width: 470px;
}
.material-service-route a {
  font-size: 12px;
}
.brief-details {
  margin: 22px 0 28px;
  border-block: 1px solid #aebcac;
  padding: 16px 0;
}
.brief-details summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
.brief-details summary:before {
  content: "+";
  font-size: 20px;
  margin-right: 8px;
}
.brief-details[open] summary:before {
  content: "−";
}
.brief-details summary span {
  color: #56674f;
  font-size: 11px;
}
.brief-details .inquiry-fields {
  margin-top: 18px;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.inquiry-privacy {
  font-size: 11px !important;
  color: #54654e;
  margin-top: 18px !important;
}
.contact-copy .inquiry-status {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
}
.contact-copy #inquiry-fallback {
  display: inline-flex;
  font-size: 13px;
  margin: 12px 0;
}
.contact-number {
  font-size: 14px !important;
  line-height: 1.6;
}
.contact-copy form button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.contact-copy .inquiry-fields {
  grid-template-columns: 1fr 1fr;
}
.case-page {
  background: #f7f7f3;
  color: #152b25;
}
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid #d6dcd5;
  background: #fff;
}
.case-header .brand {
  width: 122px;
}
.case-header a:not(.brand) {
  font-size: 12px;
  line-height: 1.5;
}
.case-header-cta {
  padding: 13px 18px;
  border: 1px solid #bbc9bf;
}
.case-intro {
  padding: 85px var(--gutter) 45px;
}
.case-intro h1 {
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 94px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  max-width: 1100px;
  margin: 28px 0;
}
.case-deck {
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.4;
  max-width: 800px;
  color: #526059;
}
.case-location {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
  margin-top: 45px;
  border-top: 1px solid #ced7cf;
  padding-top: 18px;
}
.case-cover {
  margin: 0 var(--gutter);
}
.case-cover > img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: #e9ece5;
}
.case-cover figcaption,
.case-system figcaption {
  font-size: 11px;
  line-height: 1.65;
  color: #536357;
  padding-top: 15px;
  max-width: 900px;
}
.programme-plate {
  position: relative;
  min-height: 430px;
  padding: 55px;
  background: #173e33;
  color: #e0f3e7;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}
.programme-plate strong {
  font-size: clamp(36px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.programme-plate > span:not(.eyebrow):not(.plate-lines) {
  font-size: 18px;
  line-height: 1.5;
}
.programme-plate .plate-lines {
  height: 130px;
  margin-top: 35px;
  max-width: 750px;
}
.case-evidence {
  padding: 65px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.case-facts {
  margin: 0;
}
.case-facts > div {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid #cfd8ce;
}
.case-facts dt {
  font-size: 11px;
  color: #5b6e60;
}
.case-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.case-role > .eyebrow {
  margin-bottom: 22px;
}
.case-role > p {
  font-size: 19px;
  line-height: 1.55;
}
.case-role .case-credit {
  font-size: 12px;
  color: #5b6b61;
  margin-top: 20px;
}
.case-narrative {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding: 55px var(--gutter) 90px;
}
.case-narrative .eyebrow {
  display: block;
  margin-bottom: 25px;
}
.case-narrative h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.case-narrative article > p {
  font-size: 17px;
  color: #465d50;
}
.case-narrative .case-materials {
  font-size: 13px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #cfd8ce;
}
.case-film {
  padding: 0 var(--gutter) 70px;
}
.case-film .section-label {
  margin-bottom: 25px;
}
.case-film video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #101c17;
  object-fit: contain;
}
.case-system {
  margin: 0;
  padding: 65px var(--gutter);
  background: #e9eee7;
}
.case-system img {
  width: 100%;
  height: clamp(240px, 40vw, 540px);
  object-fit: contain;
}
.case-system figcaption a {
  display: block;
  margin-top: 10px;
  text-decoration: underline;
}
.case-takeaway {
  padding: 85px var(--gutter);
  background: #dfe8da;
}
.case-takeaway h2 {
  max-width: 980px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 25px 0 35px;
}
.case-takeaway > p {
  font-size: 13px;
  color: #506147;
  margin-top: 20px;
}
.case-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 65px var(--gutter);
  border-bottom: 1px solid #cfd8ce;
}
.case-next > span:last-child {
  font-size: clamp(20px, 2.8vw, 38px);
  line-height: 1.3;
}
.case-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 32px var(--gutter);
  font-size: 11px;
  line-height: 1.6;
}
.case-mobile-actions {
  display: none;
}
@media (max-width: 1000px) {
  .signature-grid {
    gap: 18px;
  }
  .signature-card figure {
    aspect-ratio: 3/4;
  }
  .signature-card h3 {
    font-size: 25px;
  }
  .contribution-grid {
    gap: 25px;
  }
  .case-evidence,
  .case-narrative {
    gap: 40px;
  }
  .hero-content h1 {
    font-size: clamp(46px, 7vw, 78px);
  }
}
@media (max-width: 700px) {
  .hero-content h1 {
    font-size: clamp(38px, 10.5vw, 62px);
    line-height: 1.12;
    letter-spacing: -0.045em;
  }
  .hero-description {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  .hero-secondary {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 18px 0 0;
    padding: 10px 0;
    min-height: 44px;
  }
  .signature-heading,
  .contribution-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 38px;
  }
  .signature-heading > p {
    justify-self: start;
    font-size: 15px;
  }
  .signature-heading h2 {
    font-size: 48px;
    line-height: 1.1;
  }
  .signature-grid,
  .contribution-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .signature-card figure {
    aspect-ratio: 4/3;
    margin-bottom: 22px;
  }
  .signature-card h3 {
    font-size: 30px;
  }
  .signature-housing strong {
    font-size: 78px;
    margin: 10px 0;
  }
  .signature-housing .plate-lines {
    height: 42px;
  }
  .signature-foot {
    flex-direction: column;
    gap: 18px;
    margin-top: 35px;
  }
  .signature-foot a {
    white-space: normal;
    min-height: 44px;
  }
  .contribution-heading {
    margin: 25px 0 38px;
  }
  .contribution-heading h2 {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .contribution-heading p {
    font-size: 15px;
  }
  .contribution-grid {
    gap: 30px;
  }
  .contribution-grid a {
    min-height: 44px;
  }
  .material-service-route {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }
  .material-service-route > .eyebrow {
    grid-column: auto;
  }
  .material-service-route a {
    min-height: 44px;
  }
  .contact-copy .inquiry-fields {
    grid-template-columns: 1fr;
  }
  .contact-copy #inquiry-fallback {
    min-height: 44px;
    line-height: 1.6;
  }
  .brief-details summary {
    font-size: 12px;
  }
  .case-header {
    padding: 18px 20px;
    gap: 16px;
  }
  .case-header .brand {
    width: 106px;
  }
  .case-header .case-header-cta {
    display: none;
  }
  .case-header .case-back {
    padding: 12px 0;
    min-height: 44px;
  }
  .case-intro {
    padding: 48px 20px 25px;
  }
  .case-intro h1 {
    font-size: 42px;
    line-height: 1.12;
    margin: 24px 0;
  }
  .case-deck {
    font-size: 21px;
  }
  .case-location {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    line-height: 1.6;
  }
  .case-cover {
    margin: 0 20px;
  }
  .case-cover > img {
    max-height: none;
  }
  .case-cover figcaption {
    font-size: 11px;
  }
  .programme-plate {
    min-height: 310px;
    padding: 25px;
    gap: 18px;
  }
  .programme-plate strong {
    font-size: 40px;
    line-height: 1.2;
  }
  .programme-plate .plate-lines {
    height: 80px;
    margin-top: 20px;
  }
  .case-evidence,
  .case-narrative {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 40px 20px;
  }
  .case-facts > div {
    grid-template-columns: 1fr 1.6fr;
    gap: 15px;
  }
  .case-facts dd {
    font-size: 13px;
  }
  .case-role > p {
    font-size: 18px;
  }
  .case-narrative h2 {
    font-size: 29px;
    line-height: 1.3;
  }
  .case-narrative article > p {
    font-size: 15px;
  }
  .case-film {
    padding: 0 20px 40px;
  }
  .case-film .section-label {
    gap: 14px;
  }
  .case-system {
    padding: 35px 20px;
  }
  .case-system img {
    height: 270px;
  }
  .case-takeaway {
    padding: 45px 20px;
  }
  .case-takeaway h2 {
    font-size: 30px;
    line-height: 1.25;
  }
  .case-takeaway .button {
    font-size: 12px;
    min-height: 48px;
  }
  .case-next {
    padding: 38px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .case-next > span:last-child {
    font-size: 25px;
  }
  .case-footer {
    padding: 30px 20px 95px;
    flex-direction: column;
    gap: 16px;
  }
  .case-footer a {
    padding: 8px 0;
    min-height: 44px;
  }
  .case-mobile-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border-top: 1px solid #cbd6cd;
    justify-content: space-between;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    gap: 15px;
  }
  .case-mobile-actions a {
    font-size: 11px;
    line-height: 1.5;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .case-mobile-actions a:last-child {
    background: #183e33;
    color: #fff;
    padding: 10px 14px;
  }
  .case-page {
    scroll-padding-bottom: 80px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signature-card img {
    transition: none;
  }
}
.case-header-cta,
.case-footer a,
.case-next > span:last-child,
.case-takeaway .button,
.case-mobile-actions a,
.signature-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.case-header-cta .arrow-icon,
.case-footer .arrow-icon,
.case-mobile-actions .arrow-icon {
  width: 14px;
  height: 14px;
  flex: none;
}
.signature-card .text-link {
  min-height: 44px;
}
.mobile-lead-bar {
  display: none;
}
@media (max-width: 700px) {
  .mobile-lead-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 18;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border-top: 1px solid #b9cbbf;
    padding: 8px 20px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-lead-bar a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    min-height: 44px;
  }
  .mobile-lead-bar a:first-child {
    background: #173c32;
    color: #fff;
    padding: 10px 16px;
  }
  .mobile-lead-bar .arrow-icon {
    width: 14px;
    height: 14px;
  }
  .signature-card figure {
    scroll-margin-top: 85px;
  }
  .site-footer {
    padding-bottom: 90px;
  }
}
/* A film-led retrofit study with intact, transparent institutional marks. */
.hero-invitation {
  margin: 20px 0 0;
  color: #e6ece6;
  font-size: 12px;
  line-height: 1.6;
}
.flagship {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  background: #efefea;
  border-top: 1px solid #b7bcb5;
}
.flagship-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 38px 0 40px;
  background: #f5f5f2;
}
.flagship-heading .eyebrow {
  color: #536157;
}
.flagship-heading h3 br {
  display: block;
}
.flagship-heading h3 {
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 20px 0 0;
}
.flagship h3 em {
  font-style: normal;
  color: #4e6558;
}
.flagship-brand {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  justify-self: end;
}
.flagship-film {
  align-self: start;
}
.flagship-copy {
  padding: 30px;
}
.flagship-copy > p:not(.eyebrow) {
  max-width: none;
  font-size: 14px;
  line-height: 1.75;
  color: #48574c;
}
.flagship-copy > .flagship-lead {
  font-size: clamp(19px, 1.7vw, 25px) !important;
  line-height: 1.4;
  color: #193b30;
  letter-spacing: -0.025em;
  margin: 18px 0;
}
.flagship-facts {
  margin: 26px 0;
  padding-top: 20px;
  border-top: 1px solid #c8cec4;
  display: grid;
  gap: 14px;
}
.flagship-facts div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
}
.flagship-facts dt {
  font-size: 11px;
  color: #536157;
}
.flagship-facts dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #1f382a;
}
.flagship .text-link {
  font-size: 12px;
  min-height: 44px;
}
.flagship-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 30px 0;
  background: #f5f5f2;
  border-bottom: 1px solid #b7bcb5;
}
.commission-logos {
  margin: 0;
  background: transparent;
}
.commission-logos figcaption {
  padding: 0;
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  color: #536157;
}
.commission-logos img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.flagship-inquiry p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #48574c;
}
.case-commission {
  margin: 0 var(--gutter) 60px;
  padding: 32px 0;
  border-top: 1px solid #c8cec4;
  border-bottom: 1px solid #c8cec4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.case-hub-logo {
  width: 420px;
  max-width: 50%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1000px) {
  .flagship {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .flagship-copy {
    padding: 24px;
  }
  .flagship-heading {
    gap: 30px;
  }
}
@media (max-width: 700px) {
  .hero-invitation {
    margin-top: 16px;
    font-size: 12px;
  }
  .flagship {
    grid-template-columns: minmax(0, 1fr);
  }
  .flagship-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 26px 0 30px;
  }
  .flagship-heading h3 {
    font-size: clamp(29px, 7.5vw, 44px);
  }
  .flagship-brand {
    justify-self: start;
    max-width: 300px;
  }
  .flagship-copy {
    padding: 26px 20px;
  }
  .flagship-footer {
    align-items: start;
    flex-direction: column;
    gap: 28px;
    padding: 26px 0;
  }
  .flagship-facts {
    margin: 24px 0 16px;
  }
  .commission-logos img {
    width: 260px;
  }
  .case-commission {
    margin: 0 20px 40px;
    align-items: start;
    flex-direction: column;
    gap: 30px;
  }
  .case-hub-logo {
    max-width: 100%;
    width: 360px;
  }
}

/* Both complete marks share one alpha-transparent asset. These viewports
   isolate the separate artwork rows without cutting any logo elements. */
.institutional-logo {
  display: block;
  position: relative;
  overflow: hidden;
}
.hub-logo {
  aspect-ratio: 1580 / 385;
}
.ministry-logo {
  aspect-ratio: 1240 / 310;
  width: 280px;
  max-width: 100%;
}
.institutional-logo img {
  position: absolute;
  max-width: none;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
}
.hub-logo img {
  width: 137.4684%;
  left: -19.6203%;
  top: 0;
}
.ministry-logo img {
  width: 175.1613%;
  left: -37.4194%;
  top: -133.5484%;
}
@media (max-width: 700px) {
  .ministry-logo {
    width: 260px;
  }
}

/* Cinematic pencil studies retain source imagery and remain usable without WebGL. */
.project-sketch {
  position: relative;
  background: #f1efe8;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.project-sketch canvas,
.sketch-fallback {
  width: 100%;
  height: 100%;
  display: block;
}
.project-sketch canvas {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
  cursor: grab;
}
.project-sketch canvas:active {
  cursor: grabbing;
}
.project-sketch canvas:focus-visible {
  outline: 3px solid #145843;
  outline-offset: -5px;
}
.project-sketch canvas[hidden],
.sketch-controls[hidden] {
  display: none;
}
.sketch-fallback > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sketch-fallback .programme-plate {
  min-height: 0;
  height: 100%;
}
.project-sketch[data-sketch-ready="true"] .sketch-fallback {
  visibility: hidden;
}
.sketch-caption {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #35473c;
  padding: 8px 10px;
  background: #f5f3eced;
  pointer-events: none;
}
.sketch-controls {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.sketch-controls > div {
  display: flex;
  gap: 6px;
}
.sketch-controls button {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid #a7b0a1;
  padding: 10px 14px;
  background: #f5f3ecf2;
  color: #243f31;
  font-size: 11px;
}
.sketch-controls button:hover {
  background: #fff;
}
.case-reference {
  margin: 0 var(--gutter) 60px;
}
.case-reference img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  background: #efeee7;
}
.case-reference figcaption,
.housing-design-grid figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: #536357;
  margin-top: 14px;
}
.case-housing-gallery {
  margin: 0 var(--gutter) 70px;
}
.case-housing-gallery h2 {
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 30px 0 20px;
}
.case-housing-gallery > p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
  color: #48594d;
  margin-bottom: 36px;
}
.housing-design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.housing-design-grid figure {
  margin: 0;
  min-width: 0;
}
.housing-design-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #efeee7;
}
.housing-design-grid figure:nth-last-child(2) img {
  aspect-ratio: 4/3;
}
.housing-design-grid figure:last-child img {
  aspect-ratio: 4/3;
}
/* Every material uses the same three-part studio sequence with complete images. */
#material-view {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  gap: 20px;
  padding: 26px;
}
.material-view-top,
.material-view-tabs,
.material-view-bottom {
  position: static;
  inset: auto;
}
#material-view #material-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  max-height: none;
  object-fit: contain;
  margin: 0;
  flex: none;
}
#material-view #material-image[hidden] {
  display: none;
}
.material-view-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.material-view-tabs button {
  font-size: 12px;
  min-height: 44px;
  padding: 10px 8px;
}
.material-view-tabs button:last-child:nth-child(odd) {
  grid-column: auto;
}
.material-view-description {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  color: #465948;
}
.material-view-bottom {
  gap: 16px;
}
@media (max-width: 700px) {
  .project-sketch {
    aspect-ratio: 4/3;
  }
  .sketch-caption {
    left: 12px;
    top: 12px;
    font-size: 9px;
  }
  .sketch-controls {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }
  .sketch-controls button {
    padding: 8px;
    font-size: 10px;
  }
  .sketch-controls > div {
    gap: 4px;
  }
  .case-reference {
    margin: 0 20px 40px;
  }
  .case-housing-gallery {
    margin: 0 20px 50px;
  }
  .housing-design-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .case-housing-gallery > p {
    font-size: 14px;
  }
  #material-view {
    padding: 20px 16px;
    gap: 18px;
  }
  .material-view-tabs button {
    font-size: 11px;
  }
}

/* Selected-work covers own the motion; studies open with original source imagery. */
.signature-card figure.project-sketch {
  aspect-ratio: 4/3;
  background: #f1efe8;
}
.signature-card .sketch-fallback img {
  object-fit: contain;
  transform: none;
}
.signature-card figure.project-sketch figcaption {
  top: 0;
  bottom: auto;
  padding: 12px;
  background: #f5f3eced;
  color: #314632;
  font-size: 9px;
  pointer-events: none;
}
.signature-card .sketch-controls {
  left: 12px;
  right: 12px;
  bottom: 12px;
  gap: 8px;
}
.signature-card .sketch-controls button {
  padding: 8px;
  font-size: 10px;
}
.signature-study-link {
  display: block;
}
.signature-study-link > p {
  color: #5e6963;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Let the modular-block film remain visible behind every intro text layer. */
.intro-top .eyebrow,
.intro-bottom > span,
.intro-reveal,
.intro-reveal img,
.intro-reveal p {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.intro-top .eyebrow,
.intro-bottom > span {
  padding: 0;
}
.intro-reveal p {
  color: #193c32;
}

/* The project planner is an editorial workspace with a local WhatsApp brief. */
#journey .journey-heading { align-items: start; }
#journey .journey-heading > p { font-size: 15px; line-height: 1.7; max-width: 430px; }
#journey .journey-types { margin-bottom: 24px; }
.planner-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0 36px; border-top: 1px solid var(--line); }
.planner-details label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 500; }
.planner-details label > span { font-size: 10px; color: #59645f; font-weight: 400; }
.planner-details input { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #87968f; padding: 12px 0; background: transparent; font: inherit; font-size: 14px; border-radius: 0; color: #172b26; }
.planner-details input::placeholder { color: #647169; opacity: 1; }
.planner-instruction { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 600; }
.planner-instruction span { font-size: 12px; font-weight: 400; color: #59645f; }
#journey .journey-steps { margin: 20px 0 28px; gap: 12px; }
#journey .journey-workspace { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
#journey .journey-story { padding: 32px; }
#journey .journey-story h3 { margin: 24px 0 16px; font-size: clamp(26px, 2.3vw, 34px); }
#journey .journey-story > p { min-height: 0; }
#journey .journey-deliverable { margin-top: 20px; padding-top: 16px; }
#journey .journey-deliverable p { min-height: 0; }
.planner-choice { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.planner-choice legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 12px; }
#plan-options { display: flex; flex-wrap: wrap; gap: 8px; }
#plan-options button { background: transparent; border: 1px solid #84938c; color: #263c33; font-size: 12px; padding: 12px 14px; text-align: left; min-height: 44px; }
#plan-options button[aria-pressed="true"] { background: #213b31; border-color: #213b31; color: white; }
#journey .planner-next { background: #e7ece6; color: #344a3e; font-size: 12px; line-height: 1.7; padding: 16px; margin-top: 16px; }
#journey .journey-controls { margin-top: 24px; }
#journey .journey-controls > button { min-height: 44px; min-width: 44px; }
.planner-comparison { padding: 36px 0; }
.planner-comparison-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; margin-bottom: 20px; }
.planner-comparison-heading > .eyebrow { width: 100%; }
.planner-comparison-heading h3 { font-size: clamp(23px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.04em; }
.planner-comparison-heading > p { margin-left: auto; font-size: 12px; color: #59645f; }
.planner-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.planner-routes article { padding: 28px; border: 1px solid #a5afa7; }
.planner-routes .planner-fjall { background: #e7ece6; border-color: #e7ece6; }
.planner-routes .eyebrow { display: block; font-size: 10px; line-height: 1.7; }
.planner-routes p { font-size: 14px; line-height: 1.8; margin-top: 18px; color: #344a3e; }
.planner-comparison-note { margin-top: 18px; font-size: 11px; line-height: 1.8; color: #59645f; max-width: 900px; }
.planner-handoff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 36px; background: #19392e; color: #fff; }
.planner-handoff h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.04em; line-height: 1.15; margin: 20px 0 16px; font-weight: 400; }
.planner-handoff .eyebrow { color: #c6dbcf; }
.planner-handoff p { font-size: 13px; color: #d3e1d7; line-height: 1.7; overflow-wrap: anywhere; }
.planner-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.planner-actions a, .planner-actions button { font-size: 13px; line-height: 1.5; padding: 8px 0; background: transparent; color: #fff; margin: 0; }
.planner-actions .planner-primary { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; background: #d8e9dc; padding: 18px; color: #183a2c; }
.planner-actions > p { font-size: 11px; }
#journey :is(input, button, a):focus-visible { outline: 2px solid #27684f; outline-offset: 4px; }
.planner-handoff :is(a, button):focus-visible { outline-color: white !important; }
@media (max-width: 900px) {
  #journey .journey-heading { flex-direction: column; gap: 24px; align-items: start; }
  #journey .journey-heading > p { max-width: 600px; }
  #journey .journey-workspace { grid-template-columns: minmax(0, 1fr); }
  #journey .build-model { min-height: 460px; }
  .planner-details { gap: 18px; }
  .planner-handoff { gap: 28px; padding: 28px; }
}
@media (max-width: 600px) {
  .planner-details, .planner-routes, .planner-handoff { grid-template-columns: minmax(0, 1fr); }
  .planner-details { padding-bottom: 28px; gap: 24px; }
  .planner-instruction { flex-direction: column; gap: 8px; }
  #journey .journey-types { gap: 8px; margin-top: 28px; }
  #journey .journey-types button { flex: 1 1 42%; padding: 12px 10px; min-height: 44px; }
  #journey .journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #journey .journey-steps button { flex-wrap: wrap; gap: 6px; padding: 12px 2px; font-size: 11px; min-height: 44px; }
  #journey .build-model { min-height: 430px; }
  #journey .journey-story { padding: 24px 0; }
  #plan-options { flex-direction: column; }
  #plan-options button { width: 100%; }
  .planner-routes article { padding: 22px; }
  .planner-comparison-heading > p { margin-left: 0; }
  .planner-handoff { padding: 24px; gap: 24px; }
}
.planner-actions #journey-contact { display: inline-flex; align-items: center; gap: 12px; }
.planner-actions .arrow-icon { width: 18px; height: 18px; flex: 0 0 18px; }
/* Give the tall Bemmel profiles room while preserving every image edge. */
#material-view[data-shape="portrait"] #material-image {
  aspect-ratio: auto;
  height: clamp(380px, 42vw, 620px);
  object-fit: contain;
}
@media (max-width: 600px) {
  #material-view[data-shape="portrait"] #material-image { height: 430px; }
}

/* Dedicated business websites lead the group-card actions. */
.about .business-website {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 18px 20px;
  min-height: 54px;
  background: #d6e3be;
  color: #172b26;
  font-size: 14px;
  font-weight: 600;
}
.about .business-website:hover {
  background: #edf3e3;
}
.about .business-website + .studio-open {
  margin-top: 12px;
}

/* Direct business links remain available in navigation and the group cards. */
.site-header nav > .nav-business { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.nav-business .arrow-icon { width: 12px; height: 12px; }
.business-name-link:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 701px) { .site-header nav { gap: clamp(10px, 1.6vw, 27px); } }
@media (max-width: 700px) {
  .site-header nav > .nav-business { display: flex; justify-content: space-between; padding-block: 12px; border-bottom: 1px solid #ffffff30; font-size: 18px; }
}
