.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--header-h) - var(--nav-h, 150px));
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
  color: #f4f1ea;
}
.hero-copy > *:not(.liquid-grid) {
  position: relative;
  z-index: 1;
}
.hero-copy .hero-bottom p {
  color: #a8a196;
  text-align: right;
  width: 100%;
}
.hero-copy .button-dark {
  background: #f4f1ea;
  color: #080808;
}
.hero-copy .button-dark:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.hero .eyebrow {
  margin: 40px var(--inset) 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tiny-cross {
  font-size: 1.6rem;
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(3.5rem, 5.8vw, 6.3rem);
  line-height: 1.025;
  letter-spacing: -0.065em;
  margin: 0 var(--inset);
}
.hero h1 .serifless {
  display: block;
  max-width: 8em;
}
.hero-bottom {
  margin: 40px var(--inset);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero-bottom p {
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-left: 1px solid var(--line);
  background: #222;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(0.82);
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.1s ease,
    transform 6s ease;
}
.hero-visual > img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-photo-label {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}
.roof-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 500;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.roof-caption [data-hero-caption] {
  flex: 1;
}
.roof-caption.roof-caption-sm {
  font-size: clamp(1.3rem, 2.2vw, 2.4rem);
  letter-spacing: -1px;
}
.uor-text {
    color: var(--accent);
}
.roof-caption .icon {
  flex: none;
  width: 0.7em;
  height: 0.7em;
}
.layer-navigation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  padding-left: var(--inset);
  padding-right: var(--inset);
}
.layer-navigation > a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.layer-navigation > a:last-child {
  border-right: 0;
}
.layer-navigation > a:first-child .tile-top,
.layer-navigation > a:first-child strong,
.layer-navigation > a:first-child small {
  margin-left: 0;
}
.layer-navigation > a:last-child .tile-top,
.layer-navigation > a:last-child strong,
.layer-navigation > a:last-child small {
  margin-right: 0;
}
.layer-navigation > a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.layer-navigation > a:hover small {
  color: var(--accent-ink);
}
.tile-top {
  display: flex;
  justify-content: space-between;
  margin: 24px 28px;
  font-size: 0.8rem;
}
.tile-top > span {
  font-size: 1.4rem;
}
.layer-navigation strong {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  max-width: 12em;
  margin: 0 28px 12px;
}
.layer-navigation small {
  margin: 0 28px 25px;
  color: var(--muted);
  font-size: 0.8rem;
}
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
  color: #f4f1ea;
  border-bottom: 1px solid var(--line);
}
.liquid-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.intro > *:not(.liquid-grid) {
  position: relative;
  z-index: 1;
}
.intro > .section-kicker {
  text-align: center;
  margin: 90px 24px 40px;
  color: #8f887b;
}
/* Manifesto reveal fills toward light ink on the dark intro panel. */
.intro .manifesto > span {
  color: #8f887b;
}
.intro .reveal-text .reveal-word {
  color: rgba(244, 241, 234, 0.16);
}
.intro .intro-foot span,
.intro .intro-foot p {
  color: #a8a196;
}
.manifesto {
  max-width: 1050px;
  text-align: center;
  margin: 0 auto;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  line-height: 1.35;
  font-weight: 500;
}
.manifesto img {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.14em;
  margin: 0 0.08em;
}
.manifesto > span {
  color: var(--muted);
}
.reveal-text .reveal-word {
  color: color-mix(in srgb, var(--ink) 20%, transparent);
  transition: color 0.1s linear;
}
.reveal-text.reveal-ready .reveal-word {
  will-change: color;
}
.intro-foot {
  display: flex;
  justify-content: space-between;
  margin: 60px var(--inset) 70px;
  align-items: flex-end;
  gap: 35px;
}
.intro-foot > span {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.intro-foot p {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.9rem;
}
.layer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--layer-top, 240px);
  background: var(--bg);
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, 0.35);
  height: calc(100vh - var(--layer-top, 240px));
  min-height: 520px;
}
#layer-attention-distribution {
  z-index: 4;
}
#layer-amplification-discovery {
  z-index: 5;
}
#layer-adoption-digitalisation {
  z-index: 6;
}
#layer-academia-development {
  z-index: 7;
}
.layer-identity {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: row;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
  color: #f4f1ea;
  height: 100%;
}
.layer-identity > *:not(.liquid-grid) {
  position: relative;
  z-index: 1;
}
/* Left text column */
.layer-identity-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  height: 100%;
}
/* Right marquee strip */
.ecosystem-marquee {
  /* width: 190px; */
  flex: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  /* clip vertical overflow but allow the hover scale to grow slightly
     past the sides so the logo border stays fully visible */
  overflow: clip;
  overflow-clip-margin: 8px;
  position: relative;
  display: flex;
  height: 100%;
  max-height: 100%;
}
/* Fade masks top & bottom so logos glide in/out smoothly */
.ecosystem-marquee::before,
.ecosystem-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.ecosystem-marquee::before {
  top: 0;
  background: linear-gradient(to bottom, #080808, transparent);
}
.ecosystem-marquee::after {
  bottom: 0;
  background: linear-gradient(to top, #080808, transparent);
}
@keyframes marquee-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}
.marquee-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 28px; */
  /* padding: 28px 16px; */
  animation: marquee-up 28s linear infinite;
  will-change: transform;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}
.marquee-track img {
  width: 140px;
  height: 58px;
  padding: 10px 18px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* border-radius: 8px; */
  background: rgba(255, 255, 255, 0.04);
  /* filter: brightness(0) invert(1) opacity(0.75); */
  transition: all 0.25s ease;
      min-height: 120px;
}
.ecosystem-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.ecosystem-marquee:hover .marquee-track img {
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* filter: brightness(0) invert(1) opacity(0.9); */
}
.marquee-track img:hover {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(212, 155, 54, 0.1) !important;
  /* filter: brightness(0) invert(1) opacity(1) !important; */
  transform: scale(1.03);
}
.layer-number {
  font-size: clamp(7rem, 15vw, 9rem);
  line-height: 1;
  letter-spacing: -0.08em;
  margin: 35px var(--inset) 45px;
  color: #f4f1ea;
  font-weight: 400;
}
.layer-identity-content > .section-kicker {
  margin: 0 var(--inset) 16px;
  color: #8f887b;
}
.layer-identity-content h3 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  margin: 0 var(--inset) 40px;
  max-width: 9em;
}
.layer-identity-content > a {
  font-size: 0.875rem;
  margin: auto var(--inset) 45px;
  display: flex;
  justify-content: space-between;
}
.layer-identity-content > a span {
  font-size: 1.5rem;
}
.layer-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.layer-overview {
  margin: 36px var(--inset) 28px;
}
.layer-overview h4 {
  font-size: clamp(1.8rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: 20px 0;
}
.layer-overview p {
  color: var(--muted);
  max-width: 80ch;
}
.capability-block {
  border-top: 1px solid var(--line);
  flex: 1;
}
.capability-block > .section-kicker {
  display: block;
  margin: 25px var(--inset) 18px;
}
.capabilities {
  display: flex;
  flex-wrap: wrap;
  margin: 0 var(--inset) 28px;
  gap: 8px;
}
.capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 11px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 50px;
  background-color: #211c14;
  color: #f7dcb2;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}
.capabilities span:hover {
  border-color: rgba(247, 220, 178, 0.4);
  background-color: #2a2318;
}
.capabilities span .icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
  flex: none;
  display: inline-block;
  opacity: 0.9;
  vertical-align: middle;
}
.connection-chain {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 var(--inset) 25px;
}
.partner-details {
  border-top: 1px solid var(--line);
}
.partner-details summary {
  cursor: default;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin: 23px var(--inset);
  list-style: none;
  pointer-events: none;
}
.partner-details summary .summary-icon {
  display: none;
}
.partner-details summary::-webkit-details-marker {
  display: none;
}
.partner-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 0;
  background: var(--line);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}
.partner-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px 20px;
  background: var(--bg);
  transition: background 0.18s;
}
.partner-list span:hover {
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
.partner-list span img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
/* Text-only partner entries — styled as a text card, not a logo cell */
.partner-list span.partner-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
  justify-content: flex-start;
  padding-left: 24px;
}
/* Light/white logos get a subtle pill background so they stay visible on the light bg */
.partner-list span.partner-chip {
  background: #161616;
}
.partner-list span.partner-chip:hover {
  background: #1e1e1e;
}
[data-theme="dark"] .partner-list span.partner-chip {
  background: #1a1a1a;
}
[data-theme="dark"] .partner-list span.partner-chip:hover {
  background: #222;
}
/* In dark mode, invert dark logos so they're legible on the dark panel */
[data-theme="dark"] .partner-list span:not(.partner-chip) img {
  filter: brightness(0) invert(1) opacity(0.85);
}
[data-theme="dark"] .partner-list span {
  background: #111;
}
[data-theme="dark"] .partner-list span:hover {
  background: #181818;
}
.promise {
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: auto;
}
.promise > span {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  margin: 25px 40px 25px var(--inset);
}
.promise p {
  margin: 22px var(--inset) 22px 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}
.journey {
  background: var(--ink);
  color: var(--bg);
  border-bottom: 1px solid var(--line);
}
.journey > .section-kicker {
  display: block;
  margin: 0 var(--inset);
  line-height: 40px;
  text-align: center;
}
.journey > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #777;
  padding-left: var(--inset);
  padding-right: var(--inset);
}
.journey a {
  border-right: 1px solid #777;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 230px;
  transition:
    background 0.2s,
    color 0.2s;
}
.journey a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.journey a small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
}
.journey h3 {
  margin: 18px 0 0;
  font-size: 2rem;
  max-width: 7em;
}
.journey a:first-child {
  padding-left: 0;
}
.journey a:last-child {
  border-right: 0;
  padding-right: 0;
}
.journey a .icon {
  margin-top: auto;
  align-self: flex-end;
  width: 1.5em;
  height: 1.5em;
}
.builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.scenario-options {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.scenario-options label {
  display: flex;
  align-items: center;
  min-height: 96px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.scenario-options label:last-child {
  border-bottom: 0;
}
.scenario-options label:has(input:checked) {
  background: var(--accent);
  color: var(--accent-ink);
}
.scenario-options label:has(input:focus-visible) {
  outline: 3px solid #6d7bdb;
  outline-offset: -4px;
}
.scenario-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}
.scenario-number {
  margin-left: var(--inset);
  font-size: 0.75rem;
}
.scenario-options label > span:nth-of-type(2) {
  font-size: 1rem;
  max-width: 280px;
  line-height: 1.4;
}
.scenario-arrow {
  margin-left: auto;
  margin-right: var(--inset);
  font-size: 1.4rem;
}
.scenario-result {
  margin: 40px var(--inset);
  min-width: 0;
}
.scenario-result h3 {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.15;
  margin: 22px 0 28px;
  max-width: 12em;
}
.result-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.result-capabilities span {
  font-size: 1rem;
  line-height: 1.8;
}
.result-capabilities span:not(:last-child):after {
  content: "+";
  margin-left: 10px;
  color: var(--muted);
}
.mix-layers {
  display: flex;
  gap: 8px;
  margin: 30px 0;
}
.mix-layers span {
  font-size: 0.7rem;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.mix-layers .active {
  background: var(--ink);
  color: var(--bg);
}
.result-note {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 25px;
  max-width: 400px;
}
.principle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
  color: #f4f1ea;
  border-bottom: 1px solid var(--line);
}
.principle > *:not(.liquid-grid) {
  position: relative;
  z-index: 1;
}
.principle .reveal-text .reveal-word {
  color: rgba(244, 241, 234, 0.16);
}
.principle h2 span {
  color: #8f887b;
}
.principle > .section-kicker {
  display: block;
  margin: 0 var(--inset);
  line-height: 120px;
  color: #8f887b;
}
.principle h2 {
  font-size: clamp(2.8rem, 6.8vw, 5rem);
  line-height: 1.05;
  margin: 0 var(--inset);
  letter-spacing: -0.06em;
}
.principle h2 span {
  color: var(--muted);
}
.principle-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 50px var(--inset) 65px;
  gap: 40px;
}
.principle-bottom p {
  max-width: 580px;
  color: #a8a196;
}
.principle-bottom a {
  white-space: nowrap;
  border-bottom: 1px solid #f4f1ea;
  line-height: 2.5;
}
.contact-cta {
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  flex-direction: column;
}
.contact-cta > .section-kicker {
  margin: 45px var(--inset) 30px;
}
.contact-cta > a {
  margin: 0 var(--inset) -5px;
  font-size: clamp(3rem, 7vw, 7.5rem);
  letter-spacing: -0.07em;
  position: relative;
  justify-content: space-between;
  display: flex;
}
.contact-cta > a .icon {
  align-self: flex-end;
}
.context-label {
  display: block;
  margin-top: 20px;
}
.context-label span {
  color: var(--muted);
}
.scenario-result textarea {
  margin-bottom: 16px;
}
.copy-status {
  font-size: 0.8rem;
}
.directory-controls {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
  align-items: center;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  margin: 20px var(--inset);
  gap: 6px;
}
.filters button {
  border: 1px solid var(--line);
  min-height: 44px;
  font-size: 0.8rem;
}
.filters button:before,
.filters button:after {
  content: "";
  display: inline-block;
  width: 13px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.search-label {
  margin: 20px var(--inset) 20px 0;
}
.search-label input {
  margin: 0;
  min-width: 230px;
}
.directory-count {
  margin: 22px var(--inset);
  font-size: 0.875rem;
  color: var(--muted);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.partner-card:nth-child(3n) {
  border-right: 0;
}
.partner-card:nth-child(3n + 1) > .section-kicker,
.partner-card:nth-child(3n + 1) h2,
.partner-card:nth-child(3n + 1) .partner-type {
  margin-left: var(--inset);
}
.partner-card:nth-child(3n) > .section-kicker,
.partner-card:nth-child(3n) h2,
.partner-card:nth-child(3n) .partner-type {
  margin-right: var(--inset);
}
.partner-card {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.partner-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  height: 56px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: right center;
}
/* Light/white logos get a subtle dark chip so they stay visible on the light card. */
.partner-card[data-name="bhk voice"] .partner-logo {
  background: #161616;
  padding: 8px 12px;
  border-radius: 8px;
  box-sizing: content-box;
  height: 44px;
}
[data-theme="dark"] .partner-logo {
  filter: brightness(0) invert(1) opacity(0.9);
}
[data-theme="dark"] .partner-card[data-name="bhk voice"] .partner-logo {
  background: none;
  padding: 0;
  height: 26px;
  filter: none;
}
.partner-card > .section-kicker {
  margin: 28px;
}
.partner-card h2 {
  font-size: 1.8rem;
  margin: 12px 28px 30px;
  line-height: 1.2;
}
.partner-type {
  font-size: 0.75rem;
  color: var(--muted);
  margin: auto 28px 28px;
}
.empty-state {
  margin: 50px var(--inset);
}
.empty-state button {
  text-decoration: underline;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
.contact-note {
  border-right: 1px solid var(--line);
}
.contact-note > * {
  margin-left: var(--inset);
  margin-right: var(--inset);
}
.contact-note h2 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-top: 55px;
  margin-bottom: 30px;
}
.contact-note p {
  color: var(--muted);
  margin-bottom: 40px;
}
.contact-note .section-kicker {
  display: block;
  margin-top: 80px;
  margin-bottom: 20px;
}
#enquiry-form {
  margin: 50px var(--inset);
}
#enquiry-form > label,
.form-pair {
  display: block;
  margin-bottom: 26px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.enquiry-preview {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.enquiry-preview h3 {
  font-size: 1.5rem;
  margin-top: 20px;
}
.enquiry-preview pre {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  line-height: 1.7;
}
.privacy-copy {
  max-width: 850px;
  margin: 65px var(--inset);
}
.privacy-copy h2 {
  font-size: 1.6rem;
  margin: 35px 0 16px;
}
.privacy-copy p {
  color: var(--muted);
}
@media (max-width: 1100px) {
  nav {
    gap: 5px;
    font-size: 11px;
  }
  .journey h3 {
    font-size: 28px;
  }
  .layer-overview h4 {
    font-size: 24px;
    line-height: normal;
    margin: 20px 0;
  }

  .layer-overview {
    margin: 30px var(--inset) 30px;
  }
  .layer-identity-content h3 {
    font-size: 30px;
    line-height: 40px;
    margin: 0 var(--inset) 20px;
  }
  .layer-number {
    font-size: 120px;
    margin: 20px var(--inset) 20px;
  }
  .section-heading h2 {
    font-size: 40px;
    line-height: 50px;
  }
  .roof-caption span {
    font-size: 50px;
    line-height: 50px;
  }
  .hero h1 {
    font-size: 60px;
    line-height: 70px;
  }
  nav a {
    padding: 0 10px;
  }
  .layer-section {
    position: static;
    top: auto;
    z-index: auto;
    box-shadow: none;
  }
  .partner-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .roof-caption.roof-caption-sm span{
    font-size: 30px !important;
    line-height: normal !important;
    letter-spacing: -1px;
}
}
@media (max-width: 900px) {
  .section-heading h2 {
    font-size: 36px;
    line-height: 46px;
  }
  .journey a {
    min-height: 200px;
  }
  .journey h3 {
    font-size: 24px;
  }
  .layer-identity-content h3 {
    font-size: 26px;
    line-height: 36px;
  }
  .layer-number {
    font-size: 100px;
  }
  .intro-foot {
    flex-direction: column;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 50px;
    gap: 20px;
    text-align: center;
  }
  .layer-navigation > a:last-child .tile-top,
  .layer-navigation > a:last-child strong,
  .layer-navigation > a:last-child small {
    margin-right: 28px;
  }
  .layer-navigation > a:first-child .tile-top,
  .layer-navigation > a:first-child strong,
  .layer-navigation > a:first-child small {
    margin-left: 24px;
  }
  .hero h1 {
    font-size: 50px;
    line-height: 60px;
  }
  .roof-caption span {
    font-size: 40px;
    line-height: 40px;
  }
  nav {
    padding: 0;
  }
  nav a {
    padding: 20px;
    background: #000;
    font-size: 16px;
  }
  .hero {
    min-height: 560px;
    grid-template-columns: 1fr 1fr;
  }
  .hero .eyebrow {
    font-size: 0.65rem;
  }
  .hero-bottom {
    margin-top: 28px;
  }
  .hero-visual .roof-caption {
    font-size: 3.7rem;
  }
  .layer-navigation {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }
  .layer-navigation > a {
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    min-height: 175px;
  }
  .layer-navigation > a:nth-child(2n) {
    border-right: 0;
  }
  .layer-navigation > a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .manifesto {
    margin: 0 var(--inset);
    font-size: 24px;
  }
  .intro-foot {
    margin: 40px var(--inset) 40px;
  }
  .intro > .section-kicker {
    margin-top: 40px;
  }
  .layer-section {
    grid-template-columns: 1fr;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
    top: auto !important;
    box-shadow: none;
  }
  .layer-identity {
    height: auto !important;
    min-height: auto !important;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
  }
  .layer-identity-content {
    display: contents;
  }
  .layer-identity-content > .layer-number {
    order: 1;
    margin: 30px var(--inset) 15px;
  }
  .layer-identity-content > .section-kicker {
    order: 2;
    margin: 0 var(--inset) 12px;
  }
  .layer-identity-content > h3 {
    order: 3;
    margin: 0 var(--inset) 20px;
  }
  .ecosystem-marquee {
    order: 4;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 10px 0 24px;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
  }
  .ecosystem-marquee::before,
  .ecosystem-marquee::after {
    top: 0;
    bottom: 0;
    width: 50px;
    height: 100%;
  }
  .ecosystem-marquee::before {
    left: 0;
    right: auto;
    background: linear-gradient(to right, #080808, transparent);
  }
  .ecosystem-marquee::after {
    right: 0;
    left: auto;
    background: linear-gradient(to left, #080808, transparent);
  }
  @keyframes marquee-ltr {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(0);
    }
  }
  .marquee-track {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    width: max-content !important;
    gap: 0;
    padding: 0;
    animation: marquee-ltr 28s linear infinite !important;
    will-change: transform;
  }
  .marquee-track img {
    width: 140px;
    height: 58px;
    padding: 10px 18px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    min-height: inherit;
  }
  .layer-identity-content > a {
    order: 5;
    margin: 0 var(--inset) 15px;
  }
  .layer-detail {
    height: auto !important;
    min-height: auto !important;
  }
  .capability-block {
    flex: none;
  }
  .promise {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .promise > span {
    margin: 20px 25px 0;
  }
  .promise p {
    margin: 20px;
  }
  .journey > div {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey a {
    border-bottom: 1px solid #777;
    border-right: 1px solid #777;
    padding-left: 28px;
    padding-right: 28px;
  }
  .journey a:nth-child(odd) {
    padding-left: 0;
  }
  .journey a:nth-child(even) {
    border-right: 0;
    padding-right: 0;
  }
  .journey a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .builder {
    grid-template-columns: 1fr 1.25fr;
  }
  .scenario-options label {
    min-height: 103px;
  }
  .directory-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .search-label {
    margin: 0 var(--inset) 20px;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-note {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-note .section-kicker {
    margin-top: 30px;
  }
  .contact-cta > a {
    display: block;
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin: 0 var(--inset) 44px;
  }
  .contact-cta > a .icon {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    vertical-align: -0.05em;
    align-self: auto;
    margin-left: 0.1em;
  }
}
@media (max-width: 600px) {
  .partner-logo {
    height: 45px;
    max-width: 135px;
  }
  .icon {
    width: 30px;
    height: 30px;
  }
  .section-heading h2 {
    font-size: 30px;
    line-height: 40px;
  }
  p {
    font-size: 14px;
    line-height: normal;
  }
  .layer-number {
    font-size: 80px;
  }
  .layer-identity-content h3 {
    font-size: 22px;
    line-height: 32px;
  }
  .intro > .section-kicker {
    margin: 30px 24px 30px;
  }
  .intro-foot {
    margin: 30px var(--inset) 30px;
  }
  .manifesto {
    font-size: 20px;
  }
  .layer-navigation strong {
    font-size: 18px;
  }
  .button {
    min-height: 46px;
    gap: 20px;
  }
  .roof-caption span {
    font-size: 34px;
    line-height: 34px;
    letter-spacing: normal;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 50px;
    max-width: 9em;
  }
  #enquiry-form {
    margin: 30px var(--inset);
  }
  .contact-note p {
    margin-bottom: 30px;
  }
  .page-intro p {
    margin-bottom: 30px;
  }
  .contact-note h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  nav a {
    padding: 20px 24px;
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero .eyebrow {
    margin-top: 25px;
    margin-bottom: 25px;
  }
  .hero-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero-visual {
    min-height: 380px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-visual .roof-caption {
    font-size: 4.3rem;
  }
  .tile-top {
    margin: 20px;
  }
  .layer-navigation small {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 0.75rem;
  }

  .layer-section {
    grid-template-columns: 1fr;
  }
  .partner-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-list span {
    min-height: 80px;
  }
  .layer-identity {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .layer-identity-content > a {
    margin-bottom: 25px;
  }
  .layer-overview {
    margin-top: 30px;
  }
  .layer-overview h4 {
    font-size: 20px;
  }
  .builder {
    grid-template-columns: 1fr;
  }
  .scenario-options {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .scenario-options label {
    min-height: 75px;
  }
  .scenario-options label > span:nth-of-type(2) {
    font-size: 0.9rem;
  }
  .scenario-result {
    margin-top: 30px;
    margin-bottom: 35px;
  }
  .journey a {
    min-height: 170px;
    padding: 20px;
  }
  .journey h3 {
    font-size: 20px;
    margin: 10px 0 0;
  }
  .principle > .section-kicker {
    line-height: 90px;
  }
  .principle h2 {
    font-size: 2.8rem;
    line-height: 1.15;
  }
  .principle-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
    margin-bottom: 45px;
  }
  .contact-cta > a {
    font-size: clamp(2.2rem, 9vw, 3rem);
    margin: 0 var(--inset) 36px;
  }
  .contact-cta > .section-kicker {
    margin: 35px var(--inset) 24px;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .partner-card {
    min-height: 180px;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .page-intro h1 {
    font-size: 2.5rem;
  }
  .page-intro > .section-kicker {
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
    .roof-caption.roof-caption-sm span{
    font-size: 24px !important;
}
  .hero-visual {
    min-height: 300px;
  }
  .layer-navigation strong {
    font-size: 16px;
  }
  .button {
    min-height: 40px;
    gap: 14px;
  }
  .roof-caption span {
    font-size: 30px;
    line-height: 30px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 44px;
  }
  .page-intro h1 {
    font-size: 2rem;
  }
  .contact-note h2 {
    font-size: 1.5rem;
  }
  nav a {
    padding: 16px 24px;
    font-size: 12px;
  }
}

/* Thank-you popup shown after enquiry submission */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.thankyou-overlay.is-visible {
  opacity: 1;
}
.thankyou-card {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 44px 36px 40px;
  text-align: center;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}
.thankyou-overlay.is-visible .thankyou-card {
  transform: translateY(0) scale(1);
}
.thankyou-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
}
.thankyou-check svg {
  width: 32px;
  height: 32px;
}
.thankyou-card h3 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.thankyou-card p {
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.5;
}
.thankyou-redirect {
  font-size: 0.8rem;
  margin-top: 18px;
}
@media (prefers-reduced-motion: reduce) {
  .thankyou-overlay,
  .thankyou-card {
    transition: none;
  }
}
