/* ROOT & HERON SCALING */
:root {
  --content--brand: #c9a96e;
  --content--primary: #1a1a18;
  --content--white: #ffffff;
  --content--terriary: #6c6a66;
  --content--border: rgba(40, 40, 40, 0.08);
  --content--bg: #f6f6f1;
  --size--border: 1px;
  --bg-img: url("/assets/cdn/cdn.prod.website-files.com/68f73a0fbae6fa626a19135c/6900476d411e3ea05889428f_bg.svg");
  --bg-grid: url("/assets/cdn/cdn.prod.website-files.com/68f73a0fbae6fa626a19135c/68faf70718094e7433046fcc_bg-deco.svg");
}

html {
  font-size: 0.5787037037vw;
}

.cta-wrap section {
  font-family: "BT Grotesk", Arial, sans-serif;
}

.cta-wrap section > a[href="/contact/#project-brief"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.8rem !important;
  padding: 0 1.2rem !important;
  background: var(--ra-accent, #c9a96e) !important;
  border: 1px solid var(--ra-accent, #c9a96e) !important;
  color: #1a1a18 !important;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease !important;
}

.cta-wrap section > a.ra-cta-button {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
}

.cta-wrap section > a.ra-cta-button .btn-fill-bg {
  z-index: 0 !important;
  background: var(--ra-accent, #c9a96e) !important;
}

.cta-wrap section > a.ra-cta-button .ra-cta-label {
  position: relative !important;
  z-index: 3 !important;
}

.cta-wrap section > a[href="/contact/#project-brief"]:hover {
  background: #1a1a18 !important;
  border-color: #1a1a18 !important;
  color: #f6f6f1 !important;
}

.support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(26, 26, 24, .16);
}

.support-grid li {
  min-width: 0;
  padding: 1.25rem;
  background: #f6f6f1;
  font: 600 13px/1.25 var(--font-mono, monospace) !important;
  letter-spacing: .06em;
  color: #1a1a18;
}

.support-grid li small {
  display: block;
  margin-top: 1rem;
  font: 400 16px/1.45 "BT Grotesk", Arial, sans-serif;
  letter-spacing: 0;
  color: #6c6a66;
}

.datum {
  position: relative;
  height: 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(26, 26, 24, .15);
  background: #f6f6f1 !important;
  cursor: crosshair;
}

.datum::before,
.datum::after {
  position: absolute;
  left: 4vw;
  right: 4vw;
  height: 1px;
  background: rgba(26, 26, 24, .15);
  content: "";
}

.datum::before { top: 1rem; }
.datum::after { bottom: 1rem; }

.datum-track {
  display: flex;
  gap: 2px;
  width: max-content;
  height: 100%;
  align-items: center;
  will-change: transform;
}

.datum-swatch {
  display: block;
  flex: 0 0 3.4rem;
  height: 3rem;
  background: var(--swatch-color);
  border: 1px solid rgba(26, 26, 24, .12);
  box-sizing: border-box;
  will-change: transform;
  position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--swatch-color) 70%, white), var(--swatch-color));
}

.datum-swatch::before,
.datum-swatch::after,
.datum-swatch i {
  position: absolute;
  content: "";
  pointer-events: none;
}

.datum-swatch::before {
  inset: .35rem;
  border: 1px solid rgba(26, 26, 24, .35);
  background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(26, 26, 24, .18) 8px 9px);
}

.datum-swatch::after {
  left: .25rem;
  right: .25rem;
  top: 50%;
  border-top: 1px solid rgba(146, 118, 67, .8);
}

.datum-swatch i {
  width: .35rem;
  height: .35rem;
  right: .35rem;
  top: .35rem;
  border: 1px solid #927643;
}

.datum-swatch[data-fragment="mass"]::before {
  clip-path: polygon(0 100%, 0 35%, 45% 10%, 100% 32%, 100% 100%);
}

.datum-swatch[data-fragment="detail"]::before {
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(26, 26, 24, .3) 6px 7px);
}

.datum-swatch[data-fragment="sketch"]::before {
  border-style: dashed;
  transform: rotate(-8deg);
}

.datum[data-datum-concept="work"] .datum-swatch { border-radius: 0; }
.datum[data-datum-concept="services"] .datum-swatch { border-radius: 50% 0 50% 0; }
.datum[data-datum-concept="process"] .datum-swatch { clip-path: polygon(0 10%, 85% 0, 100% 90%, 15% 100%); }
.datum[data-datum-concept="studio"] .datum-swatch { border-radius: 50%; }
.datum[data-datum-concept="home"] .datum-swatch { border-radius: 0 20% 0 20%; }

.datum-point-cloud {
  height: 42rem;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0;
  cursor: crosshair;
  margin-bottom: -42rem;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 20%,
    #000 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 20%,
    #000 80%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.datum-point-cloud canvas {
  display: block;
  width: 100%;
  height: 100%;
}

body:has(.datum-point-cloud) home-cta-wrap {
  position: relative;
  z-index: 1;
  background: transparent;
}

body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section {
  position: relative;
  background: transparent;
  border-top: 0 !important;
  color: #1a1a18;
  text-shadow: 0 1px 0 rgba(246, 246, 241, .7);
}

body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section:hover {
  background: transparent;
}

body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section h2,
body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section p,
body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section .ra-cta-label {
  position: relative;
  z-index: 2;
}

body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section p {
  color: #6c6a66 !important;
}

body:has(.datum-point-cloud) home-cta-wrap .cta-wrap section > a.ra-cta-button {
  background: #c9a96e !important;
  border-color: #c9a96e !important;
  color: #1a1a18 !important;
}

.ra-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 1rem;
  bottom: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid rgba(26, 26, 24, .25);
  background: #f6f6f1;
  color: #1a1a18;
  box-shadow: 0 1rem 3rem rgba(26, 26, 24, .12);
  font-family: "BT Grotesk", Arial, sans-serif;
}

.ra-cookie-banner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.ra-cookie-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

.ra-cookie-actions button {
  padding: .7rem .9rem;
  border: 1px solid #c9a96e;
  background: transparent;
  color: #1a1a18;
  cursor: pointer;
  font: 600 12px/1 var(--font-mono, monospace);
  letter-spacing: .08em;
}

.ra-cookie-actions button:first-child {
  background: #c9a96e;
}

@media (max-width: 700px) {
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-grid li {
    padding: 1rem;
    font-size: 12px;
  }

  .support-grid li small {
    font-size: 15px;
  }
}

.cta-wrap section:has(> a[href="/work/"]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-wrap section > a[href="/work/"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.8rem !important;
  padding: 0 1.2rem !important;
  background: var(--ra-accent, #c9a96e) !important;
  border: 1px solid var(--ra-accent, #c9a96e) !important;
  color: #1a1a18 !important;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease !important;
}

.cta-wrap section > a[href="/work/"].ra-cta-button {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  width: auto !important;
  max-width: 100% !important;
}

.cta-wrap section > a[href="/work/"] .btn-fill-bg {
  z-index: 0 !important;
  background: var(--ra-accent, #c9a96e) !important;
}

.cta-wrap section > a[href="/work/"] .ra-cta-label {
  position: relative !important;
  z-index: 3 !important;
}

.cta-wrap section > a[href="/work/"]:hover {
  background: #1a1a18 !important;
  border-color: #1a1a18 !important;
  color: #f6f6f1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media only screen and (max-width: 991px) {
  html {
    font-size: 1.1990407674vw;
  }
}

@media only screen and (max-width: 767px) {
  html {
    font-size: 2.5445292621vw;
  }
}

body,
.bg-global {
  background-image: var(--bg-img) !important;
  background-repeat: repeat;
  background-size: auto;
}

/* HERON HEADER BEHAVIORS */
.header {
  z-index: 10000000;
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  pointer-events: none;
}

.header-inner {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.header.on-hide .header-inner {
  transform: translateY(-101%);
}

.header-logo-inner,
.header-menu-inner,
.header-cta-new,
.header-menu-btn {
  pointer-events: auto;
}

.header-logo-item.item-txt {
  width: 12.2rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  color: var(--content--primary);
  text-decoration: none;
  transform: translateX(0%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-logo a.ra-official-logo {
  display: flex;
  width: 12.2rem;
  height: 4.4rem;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.header-logo a.ra-official-logo img {
  display: block;
  width: 12.2rem;
  height: 4.4rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.ra-header-wordmark {
  color: currentColor;
  font: 700 14px/1 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 1.3px;
  white-space: nowrap;
}

/* BUTTON FILL & HOVER EFFECTS */
.btn-fill {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s cubic-bezier(0.625, 0.05, 0, 1), background-color 0.3s ease;
}

.btn-fill-label {
  display: grid;
  position: relative;
  overflow: hidden;
}

.btn-fill-label-inner {
  grid-area: 1 / 1;
  display: grid;
  transition: transform 0.48s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-fill-label-inner.label-bot {
  transform: translateY(100%);
}

.header-menu-item:hover .btn-fill-label-inner.label-top,
.header-cta-new:hover .btn-fill-label-inner.label-top,
.header-cta.only-mb:hover .btn-fill-label-inner.label-top,
.btn-fill:hover .btn-fill-label-inner.label-top {
  transform: translateY(-100%);
}

.header-menu-item:hover .btn-fill-label-inner.label-bot,
.header-cta-new:hover .btn-fill-label-inner.label-bot,
.header-cta.only-mb:hover .btn-fill-label-inner.label-bot,
.btn-fill:hover .btn-fill-label-inner.label-bot {
  transform: translateY(0%);
}

.btn-fill-icon {
  display: grid;
  position: relative;
  overflow: hidden;
}

.btn-fill-icon-inner {
  grid-area: 1 / 1;
  transition: transform 0.48s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-fill-icon-inner.icon-bot {
  transform: translate(-100%, 100%);
}

.header-cta-new:hover .btn-fill-icon-inner.icon-top {
  transform: translate(100%, -100%);
}

.header-cta-new:hover .btn-fill-icon-inner.icon-bot {
  transform: translate(0, 0);
}

.header-menu-dropdown-item.w--current:after,
.header-menu-item.w--current:after,
.header-menu-item.active:after {
  content: "";
  left: unset !important;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--content--brand);
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* MOBILE MENU */
@media only screen and (max-width: 767px) {
  .header-menu.bg-global {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    border: 1px solid var(--content--border);
    border-top: none;
    background-color: var(--content--bg, #f6f6f1);
  }

  .header-menu.bg-global.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-menu-btn {
    display: flex !important;
    cursor: pointer;
  }

  .header-cta-new {
    display: none !important;
  }

  .header-cta.only-mb {
    display: flex !important;
    padding: 1.2rem 1.6rem;
    border-top: 1px solid var(--content--border);
    color: var(--content--brand);
  }

  .header-menu-btn.active .header-menu-btn-ic-line:nth-child(1) {
    transform: translateY(0.35rem) rotate(45deg);
  }

  .header-menu-btn.active .header-menu-btn-ic-line:nth-child(2) {
    opacity: 0;
  }

  .header-menu-btn.active .header-menu-btn-ic-line:nth-child(3) {
    transform: translateY(-0.35rem) rotate(-45deg);
  }

  .header-menu-btn-ic-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

@media only screen and (min-width: 768px) {
  .header-menu-btn {
    display: none !important;
  }

  .header-menu-item-wrap {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    overflow: hidden !important;
  }

  .header-menu-item-wrap .header-menu-item,
  .header-menu-item-wrap .btn-fill {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .header-menu-item-wrap .btn-fill {
    position: relative !important;
  }

  .header-menu-item-wrap .btn-fill-icon {
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    width: 1rem !important;
    height: 1rem !important;
    transform: translateY(-50%) !important;
  }

  .header-menu-item-wrap .btn-fill-icon-inner,
  .header-menu-item-wrap .btn-fill-icon-svg,
  .header-menu-item-wrap .btn-fill-icon svg {
    width: 100% !important;
    height: 100% !important;
  }

  .header-menu-item-wrap .btn-fill-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .header-cta-new,
  .header-cta-new .btn-fill {
    position: relative !important;
    display: inline-flex !important;
    width: 12rem !important;
    height: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .header-cta-new .btn-fill-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .header-cta-new .btn-fill-icon {
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    width: 1rem !important;
    height: 1rem !important;
    transform: translateY(-50%) !important;
  }

  .header-menu.bg-global {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    clip-path: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .header-cta.only-mb {
    display: none !important;
  }
}

/* PROJECT DETAIL SECTIONS */
.project-hero {
  display: grid;
  grid-template-rows: auto; 
  align-items: end;
  min-height: 0;
  position: relative;
  overflow: hidden;
  margin-top: var(--ra-project-header-offset, 4.4rem);
}

.project-hero img { 
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block;
}

.project-info-band {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  align-items: center;
  padding: 0;
  border: 1px solid rgba(26,26,24,0.16);
}

/* Keep project title H1 semantics visually identical to its metadata cell. */
.project-info-item > h1 {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.project-info-item {
  font-family: var(--font-mono, monospace);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--content--primary, #282828);
}

.project-info-item strong,
.project-info-description strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 12px !important;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #595551;
}

.project-info-description {
  grid-column: 1 / -1;
  max-width: 52rem;
  margin: 0.75rem 1rem 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(26, 26, 24, 0.16);
  background: rgba(255, 255, 255, 0.38);
  text-transform: none;
  font-size: 15px;
  line-height: 1.5;
}

.project-gallery {
  display: grid;
  gap: 1.6rem;
  padding: 2.4rem 1.6rem;
}

.project-gallery img {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block;
}

.project-gallery .full { grid-column: 1/-1; }

@media (min-width: 1024px) {
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .project-gallery .full { grid-column: 1/3; }
}

.next-project-cta {
  padding: 2.4rem 1.6rem;
  border-top: 1px solid rgba(40,40,40,0.03);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: var(--swatch--brand-light, #f6efe0);
}

.next-project-cta .next-project-link {
  text-decoration: none;
  color: var(--content--primary,#282828);
  display: block;
  width: 100%;
}

.next-project-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 720px;
  padding: 1rem 0;
}

.next-project-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #595551;
}

.next-project-title {
  font-family: var(--font-mono, monospace);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a18;
}

.next-project-link:hover .next-project-title {
  color: var(--swatch--brand-darker,#594b32);
}

.project-nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-nav a {
  color: var(--content--primary, #282828);
  text-decoration: none;
  transition: color 180ms ease;
}

.project-nav a:hover,
.project-nav a:focus-visible {
  color: #9a5326;
}

.next-project-link {
  border: 1px solid rgba(40,40,40,0.04);
  padding: 0.8rem;
  display: inline-block;
}

@media (max-width: 767px) {
  .project-info-band {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .project-info-item {
    font-size: 15px;
  }
  .project-info-description {
    grid-column: auto;
    width: 100%;
    box-sizing: border-box;
    margin: 0.65rem 0.8rem 0.8rem;
    padding: 0.9rem 1rem;
    font-size: 14px;
  }
  .project-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 14px;
  }
  .project-hero img {
    height: auto !important;
  }
}

/* RA-TIGHTEN-01: studio title/accordion gap ~40% smaller (was 4rem total). */
#studio .home-usecase-title-wrap {
  padding-bottom: 1.4rem;
}
#studio .home-usecase-faq-item {
  padding-top: 1rem;
}

/* RA-BRAND-01: header logo must stay black/graphite, never browser link blue/purple.
   The header mark + wordmark SVGs use fill="currentColor", so an unstyled
   anchor falls back to the UA link color (rgb(0,0,238)). Pin the actual cause:
   the anchor color, for all link states. */
.header-logo a.header-logo-item,
.header-logo a.header-logo-item:link,
.header-logo a.header-logo-item:visited,
.header-logo a.header-logo-item:hover,
.header-logo a.header-logo-item:active {
  color: #1a1a18;
}

/* Compact project metadata and consistent project-page footer rhythm. */
body:has(.project-hero) .project-info-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid rgba(26, 26, 24, 0.16);
}

body:has(.project-hero) .project-info-item {
  min-height: 92px;
  padding: 1rem 1.25rem;
  border-right: 1px solid rgba(26, 26, 24, 0.16);
  border-bottom: 1px solid rgba(26, 26, 24, 0.16);
}

body:has(.project-hero) .project-info-item:nth-child(4) {
  border-right: 0;
}

body:has(.project-hero) .project-info-description {
  margin: 0.75rem 1rem 1rem;
}

@media (max-width: 767px) {
  body:has(.project-hero) .project-info-band {
    grid-template-columns: 1fr 1fr;
  }

  body:has(.project-hero) .project-info-item {
    min-height: 78px;
    padding: 0.8rem;
  }

  body:has(.project-hero) .project-info-item:nth-child(2n) {
    border-right: 0;
  }

  body:has(.project-hero) .project-info-description {
    margin: 0.65rem 0.8rem 0.8rem;
  }
}

/* RA-MOTION-01: one reliable native scroll owner for every route. */
html.ra-native-scroll,
html.ra-native-scroll body,
body.ra-native-scroll {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  position: relative !important;
}

.ra-native-scroll .body-inner,
.ra-native-scroll main.main,
.ra-native-scroll .main-inner,
.ra-native-scroll [data-barba="wrapper"],
.ra-native-scroll [data-barba="container"] {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
}

/* Process restoration: stable desktop stage slot, sequential mobile stages. */


.product-key-main-title-inner,
.product-key-main-img-main { transition: opacity .45s ease, transform .45s ease; }

/* Keep the verified local workflow drawings while cropping their old product UI labels. */
.product-key-main-img-main:nth-child(1) img,
.product-key-main-title-inner:nth-child(1) .product-key-main-img-mob img { object-position: center bottom !important; }
.product-key-main-img-main:nth-child(4) img,
.product-key-main-title-inner:nth-child(4) .product-key-main-img-mob img { object-position: left center !important; }

/* Webflow reused these component ids; the static export now uses unique suffixes. */
[id^="w-node-e4008f8f-3a67-5da4-cf42-372f27004be5-27004be2"],
[id^="w-node-e4008f8f-3a67-5da4-cf42-372f27004be8-27004be2"],
[id^="w-node-e4008f8f-3a67-5da4-cf42-372f27004bec-27004be2"],
[id^="w-node-e4008f8f-3a67-5da4-cf42-372f27004bef-27004be2"] { grid-area: 1 / 1 / 2 / 2; }

@media (max-width: 767px) {
  .product-key-tab-wrap,
  .product-key-main-left-wrap,
  .product-key-main-img-wrap { display: none !important; }
  .product-key-main-title-list { display: grid !important; gap: 2rem !important; }
  .product-key-main-title-inner {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    padding: 2rem 1.6rem !important;
  }
  .product-key-main-img-mob {
    display: block !important;
    margin-top: 2rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }
  .product-key-main-img-mob img { width: 100%; height: 100%; object-fit:contain; }
}

.ra-final-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 42rem;
  object-fit:contain;
  filter: grayscale(1);
  transition: filter 1.5s ease;
}
.ra-final-image.is-colour { filter: grayscale(0); }

.ra-process-ending {
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--content--border);
}
.ra-process-wordmark { position: relative; width: 100%; min-height: 88vh; display: grid; place-items: center; }
.ra-process-wordmark img { grid-area: 1 / 1; width: 100%; height: auto; object-fit: contain; }
.ra-wordmark-fill { opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.22,.61,.36,1), opacity .25s ease; }
.ra-process-ending.is-built .ra-wordmark-fill { opacity: 1; clip-path: inset(0 0 0 0); }
.ra-datum-line { position: absolute; left: 4vw; right: 4vw; top: 50%; height: 1px; background: #c9a96e; transform: scaleX(0); transform-origin: left; transition: transform 1.2s .15s cubic-bezier(.22,.61,.36,1); }
.ra-process-ending.is-built .ra-datum-line { transform: scaleX(1); }

/* WORK-PROJECT-REBUILD-01: scoped portfolio hierarchy and readable detail information. */
.work-filters{display:flex;gap:1px;margin-top:3rem;border:1px solid rgba(26,26,24,.18);width:max-content;max-width:100%}.work-filters button{appearance:none;border:0;border-right:1px solid rgba(26,26,24,.18);background:transparent;padding:.8rem 1rem;font:600 12px/1 var(--font-mono,monospace);letter-spacing:.08em;color:#1a1a18;cursor:pointer}.work-filters button:last-child{border-right:0}.work-filters button.is-active,.work-filters button:hover{background:#1a1a18;color:#f6f6f1}.work-filters b{color:#927643;font-weight:600}.work-card{position:relative;overflow:hidden;padding-bottom:0!important}.work-card div{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;text-align:center;padding:2rem!important;background:linear-gradient(90deg,rgba(26,26,24,.92) 0 48%,transparent 48% 52%,rgba(26,26,24,.92) 52%);color:#f6f6f1;opacity:0;transition:opacity .35s ease}.work-card:hover div,.work-card:focus-visible div{opacity:1}.work-card div:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0 49.7%,#c9a96e 49.7% 50.3%,transparent 50.3%)}.work-card h2,.work-card p,.work-card span{position:relative;z-index:1}.work-card h2{font-size:clamp(20px,2.4vw,38px)!important;max-width:14ch;color:inherit}.work-card p{display:none}.work-card span{color:#9a5326!important}.work-card.size-0{grid-column:span 8!important}.work-card.size-1{grid-column:span 4!important}.work-card.size-2{grid-column:span 5!important}.work-card.size-3{grid-column:span 7!important}.work-card.size-4{grid-column:span 4!important}.work-card.size-0 img{height:clamp(380px,42vw,680px)!important}.work-card.size-2 img{height:clamp(420px,38vw,600px)!important}.work-card.size-3 img{height:clamp(300px,30vw,460px)!important}.project-info-band{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border-color:rgba(26,26,24,.16)}.project-info-item{min-height:124px;padding:1.5rem;border-right:1px solid rgba(26,26,24,.16);font-size:clamp(15px,1.2vw,18px);line-height:1.25}.project-info-item strong{display:block;margin-bottom:.8rem;color:#927643;font-size:12px;letter-spacing:.08em}.project-gallery{gap:1px;padding:4vw;background:rgba(26,26,24,.16)}.project-gallery>div,.project-gallery>img{background:#f6f6f1}.project-gallery img{display:block;width:100%;min-height:38vw;object-fit:contain}.project-gallery .full img{min-height:52vw}.next-project-cta{padding:4vw}.next-project-title{font-size:clamp(28px,4vw,64px)}@media(max-width:767px){.work-filters{width:100%;margin-top:2rem}.work-filters button{flex:1;padding:.8rem .35rem;font-size:12px}.work-card div{opacity:1;background:linear-gradient(0deg,rgba(26,26,24,.78),transparent 65%);align-content:end;justify-items:start;text-align:left}.work-card div:before{display:none}.work-card h2{font-size:24px!important}.work-card p{display:none}.work-card.size-0,.work-card.size-1,.work-card.size-2,.work-card.size-3,.work-card.size-4{grid-column:span 1!important}.work-card img,.work-card.size-0 img,.work-card.size-2 img,.work-card.size-3 img{height:78vw!important}.project-info-band{grid-template-columns:1fr 1fr}.project-info-item{min-height:102px;padding:1rem;font-size:15px}.project-gallery{padding:1rem;gap:1rem}.project-gallery img,.project-gallery .full img{min-height:62vw}.next-project-cta{padding:1.5rem 1rem}}

/* RA-LOADER-01: Heron-faithful centered loader mark.
   Geometry copied from Heron's loader treatment (.loading-logo width 14rem;
   identical vw root system, so rendered size matches Heron 1:1). display:block
   retained because RA pages carry no Webflow variant classes (base rule hides
   the slot). No fixed px sizes: the vw root scales it responsively, as Heron. */
.loading-logo.custom-centered-logo {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 1000 !important;
    animation: none !important;
    width: 14rem;
    height: auto;
    display: block !important;
}
.loading-logo.custom-centered-logo svg {
    display: block !important;
    width: 14rem !important;
    max-width: 14rem !important;
    height: auto !important;
}

/* Original composition sizing for the five project pages under cleanup. */
.project-hero img,.project-gallery img{width:100%;height:auto!important;min-height:0!important;object-fit:contain!important;display:block}

/* RA-PROJECT-EDITORIAL-01: shared project detail facts and story. */
body:has(.project-hero) .project-info-band {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border: 0;
  border-top: 1px solid rgba(26, 26, 24, .22);
  border-bottom: 1px solid rgba(26, 26, 24, .22);
  background-image: linear-gradient(90deg, rgba(26,26,24,.12) 1px, transparent 1px);
  background-size: 25% 100%;
}
body:has(.project-hero) .project-info-item {
  min-width: 0;
  min-height: 94px;
  padding: 1.1rem clamp(.75rem, 1.4vw, 1.4rem);
  border: 0;
  border-right: 1px solid rgba(26, 26, 24, .14);
  background: rgba(246, 246, 241, .92);
  font: 500 16px/1.35 "BT Grotesk", Arial, sans-serif;
  text-transform: none;
  overflow-wrap: anywhere;
}
body:has(.project-hero) .project-info-item:last-of-type { border-right: 0; }
body:has(.project-hero) .project-info-item strong,
body:has(.project-hero) .project-info-description strong {
  margin: 0 0 .55rem;
  color: #75613f;
  font: 600 11px/1.25 var(--font-mono, monospace) !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body:has(.project-hero) .project-info-item > h1 {
  font: 600 clamp(19px, 1.65vw, 24px)/1.15 "BT Grotesk", Arial, sans-serif;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
body:has(.project-hero) .project-info-description {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(110px, .45fr) minmax(0, 1.55fr);
  gap: 1rem;
  align-items: start;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 1.1rem clamp(.75rem, 1.4vw, 1.4rem) 1.25rem;
  border: 0;
  border-top: 1px solid rgba(26, 26, 24, .14);
  background: transparent;
  font: 400 16px/1.55 "BT Grotesk", Arial, sans-serif;
  color: #3e3d39;
}
body:has(.project-hero) .project-info-description strong { margin: .15rem 0 0; }
body:has(.project-hero) .project-gallery {
  gap: clamp(8px, 1.2vw, 18px);
  padding: clamp(16px, 3.2vw, 46px);
}
body:has(.project-hero) .project-nav { font-size: 14px; }
@media (max-width: 767px) {
  body:has(.project-hero) .project-info-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-size: 50% 100%;
  }
  body:has(.project-hero) .project-info-item {
    min-height: 76px;
    padding: .8rem .7rem;
    font-size: 15px;
  }
  body:has(.project-hero) .project-info-item:nth-child(2n) { border-right: 0; }
  body:has(.project-hero) .project-info-description {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: .4rem;
    width: 100%;
    margin: 0;
    padding: .9rem .8rem 1rem;
    font-size: 15px;
  }
  body:has(.project-hero) .project-info-item > h1 { font-size: 20px; }
}
@media (max-width: 360px) {
  body:has(.project-hero) .project-info-item { font-size: 14px; }
  body:has(.project-hero) .project-info-item > h1 { font-size: 18px; }
}

/* Phase 1 legibility: info-band labels 13px; description row opaque so band divider lines do not run through the text. */
body:has(.project-hero) .project-info-item strong,
body:has(.project-hero) .project-info-description strong { font-size: 13px !important; }
body:has(.project-hero) .project-info-description { background: rgba(246, 246, 241, .92); }

/* Phase 1: compact notice (still >=13px). */
.ra-cookie-banner { right: 12px; bottom: 12px; width: min(400px, calc(100vw - 24px)); padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; box-shadow: 0 8px 24px rgba(26,26,24,.12); }
.ra-cookie-banner p { flex: 1 1 100%; font-size: 13px; line-height: 1.4; }
.ra-cookie-actions { margin-top: 0; gap: 8px; }
.ra-cookie-actions button { padding: 8px 12px; font-size: 13px; }
@media (max-width: 700px) { .ra-cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 10px 12px; } }

/* Cookie notice v3: slim full-width bottom bar; page gets bottom space while it is visible. */
.ra-cookie-banner { left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; max-width: none; padding: 10px clamp(16px, 3vw, 48px) !important; display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 16px !important; border: 0 !important; border-top: 1px solid rgba(26,26,24,.4) !important; box-shadow: none !important; background: #f6f6f1 !important; }
.ra-cookie-banner p { flex: 1 1 auto !important; font-size: 13px !important; line-height: 1.4 !important; max-width: 110ch; }
.ra-cookie-actions { flex: 0 0 auto; margin: 0 !important; }
body:has(.ra-cookie-banner) { padding-bottom: 64px; }
@media (max-width: 700px) {
  .ra-cookie-banner { flex-wrap: wrap !important; gap: 8px 12px !important; padding: 10px 14px !important; }
  .ra-cookie-banner p { flex: 1 1 100% !important; }
  body:has(.ra-cookie-banner) { padding-bottom: 130px; }
}

/* Task 16 */
/* A: Work H1 clears the ruler */
.work-intro { padding-top: 32px; }
/* B: Services side margin consistent with Work/Studio/Contact */
main.ra-services-page .svc-shell { width: auto; margin-inline: clamp(16px, 4vw, 58px); max-width: 1600px; }
@media (min-width: 1700px) { main.ra-services-page .svc-shell { margin-inline: auto; width: min(1600px, calc(100% - 116px)); } }
/* D: cookie bar text normal tracking */
.ra-cookie-banner p, .ra-cookie-banner button { letter-spacing: normal !important; }
.ra-cookie-actions button { letter-spacing: .08em !important; }
/* E: hide only the small gold label above the form heading */
.ra-contact-head > .txt-12 { display: none !important; }

/* NO-CROP RULE (owner, 5 Oct): the whole hero image is always visible. A tall image is shown at its natural proportions inside one screen (never cut), centred on the page tone. */
.project-hero{background:var(--ra-project-hero-bg,#f4f3ee)}
.project-hero img{width:auto!important;max-width:100%;height:auto!important;max-height:calc(100svh - var(--ra-project-header-offset,4.4rem) - 1rem);margin:0 auto;object-fit:contain!important}

/* Portrait-only hero (owner no-crop rule): image and project facts side by side on wide screens, image shown whole. */
@media (min-width: 900px) {
  main:has(.project-hero--portrait) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
  main:has(.project-hero--portrait) > .project-hero--portrait { grid-column: 1; grid-row: 1 / span 2; }
  main:has(.project-hero--portrait) > .project-info-band { grid-column: 2; grid-row: 1; align-self: center; margin-top: var(--ra-project-header-offset, 4.4rem); }
  main:has(.project-hero--portrait) > :not(.project-hero):not(.project-info-band) { grid-column: 1 / -1; }
}

/* PROJECT TITLE BLOCK + RETURN CONTEXT (S113 #7, owner-approved) */
.project-context { margin-top: var(--ra-project-header-offset, 4.4rem); padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 64px) clamp(16px, 2vw, 28px); }
.project-context + .project-hero { margin-top: 0; }
.project-context-k { margin: 0 0 14px; font: 11px/1.3 var(--font-mono, ui-monospace, Consolas, monospace); letter-spacing: .1em; color: #8a5a2b; }
.project-back { display: inline-block; padding: 8px 0; border-bottom: 1px solid #c7713d; color: #23231f; text-decoration: none; font: 17px/1.3 "BT Grotesk", Arial, sans-serif; min-height: 44px; }
.project-context-title { margin: 22px 0 0; font: 400 clamp(44px, 8vw, 120px)/.92 "BT Grotesk", Arial, sans-serif; letter-spacing: -.045em; color: #23231f; text-transform: uppercase; overflow-wrap: anywhere; }
.project-info-title { margin: 0; font: 600 clamp(19px, 1.65vw, 24px)/1.15 "BT Grotesk", Arial, sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
html[data-ra-theme="dark"] .project-back, html[data-ra-theme="dark"] .project-context-title { color: #e9e3d6; }
html[data-ra-theme="dark"] .project-context-k { color: #d9a56d; }
@media (min-width: 900px) {
  main:has(.project-hero--portrait) > .project-context { grid-column: 1 / -1; grid-row: 1; }
  main:has(.project-hero--portrait) > .project-hero--portrait { grid-row: 2 / span 2; }
  main:has(.project-hero--portrait) > .project-info-band { grid-row: 2; margin-top: 0; }
}
html[data-ra-theme="dark"] .project-hero { background: #1c1c19; }

.work-filters button:focus-visible{outline:2px solid #9a5326;outline-offset:3px}

@media (min-width: 992px) and (max-width: 1279px) {
  html:not(:has(section.product-key)) { font-size: max(0.5787vw, 7.4px); }
}

html[data-ra-theme="dark"] .project-nav a:hover,
html[data-ra-theme="dark"] .project-nav a:focus-visible { color: #c9a96e; }
html[data-ra-theme="dark"] .work-card span { color: #c9a96e !important; }

/* ZCODE 6 Nov (audit round 2): keep project text off the phone viewport edges
   (hero image stays full-bleed; only the text blocks get margins). */
@media (max-width: 700px) {
  .project-context, .project-info-item { padding-inline: 4%; }
}

/* ZCODE 6 Nov (readability lift): project pages set their own root scale — raise it to match
   the site-wide desktop lift (mobile <992px keeps its own scale). */
@media (min-width: 992px) {
  html { font-size: max(0.72vw, 9px) !important; }
}
