/* Reference-page colour and typography system */
.refined-page {
  --color-accent: var(--brand-gold);
  --color-accent-hover: var(--brand-gold-hover);
  background: var(--brand-black);
  color: var(--brand-white);
}
.ref-shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.ref-section {
  padding-block: clamp(68px, 7vw, 108px);
  background: var(--brand-black);
}
.ref-paper {
  background: var(--brand-ivory);
  color: var(--brand-ink);
}
.ref-slate {
  background: var(--brand-charcoal);
}
.ref-eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--brand-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.6;
  text-transform: uppercase;
}
.ref-paper .ref-eyebrow {
  color: var(--brand-gold-on-light);
}
.ref-title,
.ref-hero h1 {
  margin: 0;
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.ref-title {
  font-size: clamp(2rem, 3.1vw, 3.05rem);
  max-width: 22ch;
}
.ref-hero h1 {
  font-size: clamp(2.65rem, 4.3vw, 4.4rem);
}
.ref-hero h1 em {
  color: var(--brand-gold);
  font-style: normal;
}
.ref-lead {
  margin: 25px 0 0;
  max-width: 56ch;
  color: var(--brand-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}
.ref-paper .ref-lead {
  color: var(--brand-copy);
}
.ref-detail {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--brand-muted);
}
.ref-paper .ref-detail {
  color: var(--brand-copy);
}
.ref-detail a {
  color: inherit;
  text-underline-offset: 4px;
}
.ref-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 32px;
}
.refined-page .cta {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: none;
}
.refined-page .cta.primary {
  color: #1b1b1b;
  background: var(--brand-gold);
  border: 1px solid var(--brand-gold);
}
.refined-page .cta.primary:hover {
  background: var(--brand-gold-hover);
  border-color: var(--brand-gold-hover);
  box-shadow: none;
  transform: translateY(-2px);
}
.refined-page .cta.secondary {
  color: var(--brand-white);
  background: transparent;
  border: 1px solid rgba(244, 241, 234, 0.42);
}
.refined-page .cta.secondary:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: transparent;
}
.ref-paper .cta.secondary {
  color: var(--brand-ink);
  border-color: #737373;
}
.ref-paper .cta.secondary:hover {
  color: var(--brand-gold-on-light);
  border-color: var(--brand-gold-on-light);
}
.ref-link {
  color: var(--brand-gold);
  text-decoration: none;
  text-underline-offset: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.ref-link:hover {
  color: var(--brand-gold-hover);
  text-decoration: underline;
}
.ref-paper .ref-link {
  color: var(--brand-gold-on-light);
}
.ref-paper .ref-link:hover {
  color: var(--brand-gold-on-light);
}
.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 5vw, 80px);
  align-items: start;
}
.ref-grid--center {
  align-items: center;
}
.ref-trust {
  margin: 30px 0 0;
  color: var(--brand-muted);
  font-size: 0.76rem;
  line-height: 1.8;
}
.ref-trust a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Service-specific hero compositions */
.ref-hero {
  position: relative;
  isolation: isolate;
  padding: 165px 0 70px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--brand-black);
  overflow: hidden;
}
.ref-hero .ref-eyebrow {
  margin-bottom: 25px;
}
.ref-hero .ref-lead {
  font-size: 1rem;
}
.ref-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 55px;
}
.ref-hero--virtual {
  display: flex;
  align-items: center;
}
.ref-hero--virtual .ref-shell {
  position: relative;
}
.ref-hero--virtual h1 {
  max-width: 13ch;
}
.ref-hero--virtual .ref-hero-copy {
  max-width: 540px;
}
.ref-hero--virtual .ref-lead {
  max-width: 45ch;
  color: #e0e3e3;
}
.ref-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -2;
}
.ref-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}
.ref-hero--virtual::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #141414 0%,
      rgba(20, 20, 20, 0.96) 27%,
      rgba(20, 20, 20, 0.64) 48%,
      rgba(20, 20, 20, 0.06) 78%
    ),
    linear-gradient(0deg, rgba(20, 20, 20, 0.65), transparent 40%);
}
.ref-scene-label {
  position: absolute;
  right: 32px;
  bottom: 28px;
  padding: 8px 13px;
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid var(--brand-rule);
  color: var(--brand-white);
  font-size: 0.73rem;
  z-index: 1;
}
.ref-hero--knowledge .ref-hero-grid {
  grid-template-columns: 0.9fr 1.1fr;
}
.ref-hero--knowledge h1 {
  max-width: 14ch;
}
.ref-hero-figure {
  margin: 0;
  min-width: 0;
}
.ref-hero-figure > img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}
.ref-hero-figure figcaption {
  margin-top: 16px;
  color: var(--brand-muted);
  font-size: 0.75rem;
  line-height: 1.7;
}
.ref-hero--websites h1 {
  max-width: 15ch;
}
.ref-browser {
  margin: 0;
  border: 1px solid #5d5d5d;
  border-radius: 7px;
  background: #1e1e1e;
  overflow: hidden;
}
.ref-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid #484848;
  color: #c1c1c1;
  font-size: 0.63rem;
}
.ref-browser-bar > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #909090;
}
.ref-browser-bar > small {
  margin-left: 10px;
  font-size: inherit;
}
.ref-browser img {
  display: block;
  width: 100%;
  height: auto;
}
.ref-web-composition {
  position: relative;
  padding: 22px 24px 0 0;
  min-width: 0;
}
.ref-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  margin: 0;
  padding: 5px;
  border: 1px solid #6f6f6f;
  border-radius: 18px;
  background: #111111;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}
.ref-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
}
.ref-web-caption {
  max-width: 65%;
  margin: 20px 0 0;
  color: var(--brand-muted);
  font-size: 0.75rem;
  line-height: 1.7;
}
.ref-benefit-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 45px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--brand-rule);
  color: var(--brand-white);
  font-size: 0.79rem;
}
.ref-benefit-line li::before {
  content: "—";
  color: var(--brand-gold);
  margin-right: 8px;
}

/* Keep the complete Websites composition inside shorter desktop viewports */
@media (min-width: 801px) {
  .ref-hero--websites {
    padding: 116px 0 32px;
  }
  .ref-hero--websites .ref-web-composition {
    width: min(100%, calc((100svh - 300px) * 4 / 3));
    margin-inline: auto;
  }
  .ref-hero--websites .ref-benefit-line {
    margin-top: 20px;
  }
}

/* Editorial problems, outcomes and genuine evidence */
.ref-costs {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: costs;
}
.ref-costs li {
  counter-increment: costs;
  position: relative;
  padding: 20px 0 20px 43px;
  border-top: 1px solid rgba(40, 40, 40, 0.2);
  color: var(--brand-copy);
  font-size: 0.94rem;
  line-height: 1.8;
}
.ref-costs li::before {
  position: absolute;
  left: 0;
  top: 22px;
  content: "0" counter(costs);
  color: var(--brand-gold-on-light);
  font-size: 0.72rem;
  font-weight: 600;
}
.ref-costs strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1rem;
}
.ref-feature-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.ref-feature-list li {
  padding: 18px 0;
  border-top: 1px solid var(--brand-rule);
  color: var(--brand-muted);
  font-size: 0.94rem;
}
.ref-feature-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-white);
  font-size: 1rem;
  font-weight: 600;
}
.ref-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 45px;
}
.ref-outcome {
  padding-top: 24px;
  border-top: 1px solid rgba(40, 40, 40, 0.3);
}
.ref-outcome > span {
  color: var(--brand-gold-on-light);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}
.ref-outcome h3 {
  margin: 18px 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  color: var(--brand-ink);
}
.ref-outcome p {
  margin: 0;
  color: var(--brand-copy);
  line-height: 1.8;
  font-size: 0.94rem;
}
.ref-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(40, 40, 40, 0.2);
}
.ref-comparison h3 {
  color: #434343;
  font-size: 0.8rem;
  font-weight: 700;
}
.ref-comparison p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--brand-copy);
}
.ref-photo {
  margin: 0;
}
.ref-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
}
.ref-photo figcaption {
  margin: 15px 0 0;
  font-size: 0.76rem;
  color: var(--brand-muted);
  line-height: 1.75;
}
.ref-evidence-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}
.ref-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ref-project {
  color: inherit;
  text-decoration: none;
  display: block;
}
.ref-project figure {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--brand-panel);
  transition: box-shadow 0.35s ease;
}
.ref-project img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.22;
  object-fit: contain;
  display: block;
}
.ref-project:is(:hover, :focus-visible) figure {
  box-shadow: 0 0 0 1px var(--brand-gold);
}
.ref-project h3 {
  color: var(--brand-white);
  font-size: 1.3rem;
  margin: 0 0 7px;
}
.ref-project p {
  color: var(--brand-muted);
  font-size: 0.9rem;
  margin: 0;
}
.ref-proof {
  margin-top: 44px;
  padding: 28px 0 0;
  border-top: 1px solid var(--brand-rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ref-proof h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.ref-proof p {
  color: var(--brand-muted);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
}
.ref-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
}
.ref-process li {
  padding-top: 20px;
  border-top: 1px solid var(--brand-rule);
}
.ref-process span {
  color: var(--brand-gold);
  font-size: 0.72rem;
}
.ref-process h3 {
  font-size: 1rem;
  margin: 15px 0 8px;
}
.ref-process p {
  color: var(--brand-muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 0;
}
.ref-credibility {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-rule);
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}
.ref-credibility a {
  color: var(--brand-gold);
  text-underline-offset: 4px;
}

/* Focused commercial offers and care packages */
.ref-offer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  padding: clamp(30px, 4.5vw, 65px);
  border: 1px solid var(--brand-rule);
  border-radius: 9px;
  background: #1e1e1e;
}
.ref-offer h2 {
  max-width: 15ch;
}
.ref-price {
  display: block;
  margin: 22px 0 15px;
  color: var(--brand-white);
  font-size: clamp(4rem, 7vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 1;
}
.ref-price small {
  display: block;
  color: var(--brand-gold);
  margin-bottom: 15px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ref-inclusions {
  padding: 0;
  margin: 5px 0 28px;
  list-style: none;
}
.ref-inclusions li {
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.13);
  position: relative;
  color: #dedede;
  font-size: 0.93rem;
}
.ref-inclusions li::before {
  content: "✓";
  color: var(--brand-gold);
  position: absolute;
  left: 0;
}
.ref-care {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.ref-care-card {
  display: flex;
  flex-direction: column;
  padding: 32px 25px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 7px;
  background: var(--brand-black);
  transition: border-color 0.2s ease;
}
.ref-care-card:is(:hover, :focus-within) {
  border-color: var(--brand-gold);
}
.ref-care-card--recommended {
  border-color: var(--brand-gold);
  background: #2e2e2e;
}
.ref-care-tag {
  min-height: 24px;
  color: var(--brand-gold);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ref-care-card h3 {
  font-size: 1.35rem;
  margin: 12px 0;
}
.ref-care-price {
  font-size: 2.9rem;
  line-height: 1.2;
  color: var(--brand-white);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.ref-care-price small {
  font-size: 0.8rem;
  letter-spacing: normal;
  color: var(--brand-muted);
}
.ref-care-card > p {
  color: var(--brand-muted);
  font-size: 0.9rem;
}
.ref-care-card ul {
  padding-left: 18px;
  color: #dbdbdb;
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 5px 0 22px;
}
.ref-care-card li + li {
  margin-top: 8px;
}
.ref-care-card .ref-link {
  margin-top: auto;
  padding-top: 10px;
}

/* Estimators, FAQs and enquiries */
.ref-estimator-panel {
  background: #1e1e1e;
  border: 1px solid var(--brand-rule);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 42px);
}
.ref-estimator-panel .form-control {
  background: var(--brand-charcoal);
  border: 1px solid #767676;
  color: var(--brand-white);
  min-height: 45px;
}
.ref-estimator-panel .form-control:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(243, 185, 0, 0.16);
}
.ref-estimator-panel .form-label {
  color: #e0e0e0;
  font-size: 0.84rem;
}
.ref-estimator-panel .estimate-result {
  border-color: var(--brand-gold);
  background: rgba(243, 185, 0, 0.08);
  color: var(--brand-white);
  font-size: 1rem;
}
.ref-estimator-panel .service-faq p {
  font-size: 0.85rem;
}
.refined-page .service-faq {
  border-color: rgba(244, 241, 234, 0.2);
}
.refined-page .service-faq summary {
  color: var(--brand-white);
  font-size: 0.96rem;
  line-height: 1.6;
}
.refined-page .service-faq p {
  color: var(--brand-muted);
}
.refined-page .service-faq summary:hover {
  color: var(--brand-gold);
}
.ref-paper .service-faq {
  border-color: rgba(40, 40, 40, 0.25);
}
.ref-paper .service-faq summary {
  color: var(--brand-ink);
}
.ref-paper .service-faq summary:hover {
  color: var(--brand-gold-on-light);
}
.ref-paper .service-faq p {
  color: var(--brand-copy);
}
.ref-paper .service-faq a {
  color: var(--brand-gold-on-light);
}
.refined-page #contact {
  background: var(--brand-black);
  padding-block: 85px;
}
.refined-page #contact .ds-hero-orb,
.refined-page #contact .ds-hero-overlay {
  display: none;
}
.refined-page #contact .ds-what-heading {
  color: var(--brand-white);
  letter-spacing: -0.04em;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
}
.refined-page #contact .party-form-wrap {
  background: #1e1e1e;
  border-color: var(--brand-rule);
  border-radius: 8px;
  box-shadow: none;
}
.refined-page #contact .form-control,
.refined-page #contact .form-select {
  background-color: var(--brand-charcoal);
  border-color: #767676;
}
.refined-page .blue-accent {
  color: var(--brand-gold) !important;
}
.refined-page #contact .ds-what-subtext {
  color: var(--brand-muted);
}
.refined-page #contact a:not(.cta) {
  color: var(--brand-gold);
  text-underline-offset: 4px;
}
.refined-page .footer-section {
  border-top: 1px solid var(--brand-rule);
}

/* Tablet and mobile compositions */
@media (max-width: 1100px) {
  .ref-shell {
    width: calc(100% - 64px);
  }
  .ref-hero-grid {
    gap: 32px;
  }
  .ref-hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
  }
  .ref-hero--virtual .ref-hero-copy {
    max-width: 480px;
  }
  .ref-offer {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .ref-shell {
    width: calc(100% - 40px);
  }
  .ref-hero {
    padding: 130px 0 58px;
  }
  .ref-hero-grid,
  .ref-hero--knowledge .ref-hero-grid,
  .ref-grid,
  .ref-offer {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .ref-hero h1 {
    font-size: clamp(2.65rem, 8.5vw, 3.5rem);
    max-width: 18ch;
  }
  .ref-hero--virtual {
    padding-top: 135px;
    padding-bottom: 280px;
    min-height: 0;
  }
  .ref-hero--virtual h1 {
    max-width: 14ch;
  }
  .ref-hero--virtual .ref-scene img {
    object-position: 64% bottom;
  }
  .ref-hero--virtual::after {
    background: linear-gradient(
      180deg,
      #141414 0%,
      rgba(20, 20, 20, 0.98) 43%,
      rgba(20, 20, 20, 0.35) 72%,
      rgba(20, 20, 20, 0.1) 100%
    );
  }
  .ref-hero--virtual .ref-hero-copy {
    max-width: 540px;
  }
  .ref-scene-label {
    right: 20px;
    bottom: 20px;
    font-size: 0.67rem;
  }
  .ref-outcomes {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
  }
  .ref-outcome {
    padding-top: 20px;
  }
  .ref-outcome h3 {
    margin-top: 12px;
  }
  .ref-process {
    grid-template-columns: 1fr 1fr;
  }
  .ref-evidence-heading {
    display: block;
  }
  .ref-evidence-heading .ref-link {
    display: inline-block;
    margin-top: 23px;
  }
  .ref-care {
    grid-template-columns: 1fr;
  }
  .ref-projects {
    gap: 25px;
  }
  .ref-web-composition {
    padding-top: 0;
    padding-right: 25px;
    padding-bottom: 80px;
  }
  .ref-hero-figure {
    max-width: 680px;
  }
  .ref-hero-figure > img {
    border-radius: 5px;
  }
  .ref-benefit-line {
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
  .ref-section {
    padding-block: 62px;
  }
  .ref-lead {
    font-size: 1rem;
  }
  .ref-actions {
    gap: 14px;
  }
  .ref-actions .cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .ref-comparison,
  .ref-proof,
  .ref-projects {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ref-process {
    gap: 25px 20px;
  }
  .ref-process p {
    font-size: 0.83rem;
  }
  .ref-phone {
    width: 28%;
    border-radius: 12px;
    padding: 3px;
  }
  .ref-phone img {
    border-radius: 9px;
  }
  .ref-web-caption {
    font-size: 0.7rem;
  }
  .ref-offer {
    padding: 27px 23px;
  }
  .ref-title {
    font-size: 2.15rem;
  }
  .ref-hero--virtual {
    padding-bottom: 250px;
  }
  .ref-hero--virtual .ref-lead {
    max-width: 34ch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .refined-page *,
  .refined-page *::before,
  .refined-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

/* Compact mobile introduction with visible product imagery */
@media (max-width: 480px) {
  .ref-hero {
    padding-top: 115px;
  }
  .ref-hero h1 {
    font-size: 2.25rem;
    line-height: 1.1;
  }
  .ref-hero .ref-lead {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-top: 19px;
  }
  .ref-hero .ref-actions {
    margin-top: 25px;
  }
  .ref-hero .ref-trust {
    margin-top: 22px;
  }
  .ref-hero-grid,
  .ref-hero--knowledge .ref-hero-grid {
    gap: 28px;
  }
  .ref-hero--virtual::after {
    background: linear-gradient(
      180deg,
      #141414 0%,
      rgba(20, 20, 20, 0.99) 61%,
      rgba(20, 20, 20, 0.55) 77%,
      rgba(20, 20, 20, 0.1) 100%
    );
  }
  .ref-hero--virtual .ref-trust {
    color: #e4e4e4;
  }
}

/* Complete architectural artwork and projected website composition */
.ref-monument {
  margin: 0;
}
.ref-monument img {
  display: block;
  width: 100%;
  height: auto;
}
.ref-web-composition {
  padding-top: 0;
}
.ref-room-views img + img {
  margin-top: 18px;
}
@media (max-width: 800px) {
  .ref-hero--virtual {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }
  .ref-hero--virtual::after {
    display: none;
  }
  .ref-hero--virtual .ref-shell {
    order: 0;
  }
  .ref-hero--virtual .ref-scene {
    order: 1;
    position: relative;
    inset: auto;
    width: 100%;
    margin: 24px 0 0;
    z-index: 0;
  }
  .ref-hero--virtual .ref-scene img {
    display: block;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    object-position: center;
  }
  .ref-hero--virtual .ref-scene-label {
    position: static;
    order: 2;
    align-self: flex-start;
    margin: 12px 20px 24px;
  }
}

/* Application evidence and engineering credibility */
.ref-app-showcase {
  align-self: center;
}
.ref-app-showcase .ref-browser img {
  background: white;
}
.ref-app-showcase figcaption a {
  color: inherit;
  text-underline-offset: 3px;
}
.ref-consolidation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 10px;
  color: var(--brand-muted);
  font-size: 0.8rem;
}
.ref-consolidation strong {
  display: block;
  color: var(--brand-gold);
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1.2;
}
.ref-consolidation > span:nth-child(2) {
  color: var(--brand-gold);
  font-size: 2rem;
}
.ref-application-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 55px;
  padding-top: 42px;
  border-top: 1px solid var(--brand-rule);
}
.ref-application-evidence h3 {
  color: var(--brand-white);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  letter-spacing: -0.035em;
}
.ref-application-evidence p {
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.ref-application-evidence blockquote {
  padding: 12px 0 12px 30px;
  margin: 0;
  border-left: 2px solid var(--brand-gold);
}
.ref-application-evidence blockquote p {
  color: var(--brand-white);
  font-size: 1.18rem;
}
.ref-application-evidence cite {
  color: var(--brand-muted);
  font-size: 0.8rem;
  font-style: normal;
}

/* Fictional enquiry workspace */
.ref-workspace {
  min-width: 0;
  margin: 0;
  border: 1px solid #666;
  border-radius: 10px;
  background: #171717;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}
.ref-workspace-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid #454545;
  color: #fff;
  font-size: 0.76rem;
}
.ref-app-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 30px;
  background: var(--brand-gold);
  color: #171717;
  font-size: 0.9rem;
  font-weight: 700;
}
.ref-status {
  margin-left: auto;
  color: var(--brand-gold);
  font-size: 0.65rem;
}
.ref-inbox-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.ref-message-list {
  padding: 24px 18px;
  background: #222;
  border-right: 1px solid #454545;
}
.ref-ui-label {
  display: block;
  color: var(--brand-gold);
  font-size: 0.65rem;
  line-height: 1.7;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.ref-message {
  margin-top: 20px;
  padding: 15px 12px;
  background: #333;
  border: 1px solid #555;
  border-radius: 6px;
}
.ref-message > span {
  color: #ddd;
  font-size: 0.64rem;
}
.ref-message p {
  color: #fff;
  font-size: 0.77rem;
  line-height: 1.7;
  margin: 10px 0 0;
}
.ref-message--assistant {
  background: #29271f;
  border-color: #746329;
}
.ref-enquiry-summary {
  padding: 24px 19px;
}
.ref-enquiry-summary h2 {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 20px 0;
}
.ref-enquiry-summary dl {
  margin: 0;
  font-size: 0.74rem;
}
.ref-enquiry-summary dl > div {
  padding: 13px 0;
  border-top: 1px solid #454545;
}
.ref-enquiry-summary dt {
  color: #fff;
  margin-bottom: 5px;
}
.ref-enquiry-summary dd {
  color: #bfbfbf;
  line-height: 1.6;
  margin: 0;
}
.ref-approval {
  color: var(--brand-gold);
  font-size: 0.7rem;
  line-height: 1.6;
  margin: 15px 0 0;
}
.ref-workspace figcaption {
  padding: 15px 18px;
  border-top: 1px solid #454545;
  color: #bfbfbf;
  font-size: 0.7rem;
  line-height: 1.65;
}

/* Field notes and structured report comparison */
.ref-hero--ai-field-reporting .ref-hero-grid {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
.ref-report-composition {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  align-items: center;
  margin: 0;
  min-width: 0;
}
.ref-field-notes {
  position: relative;
  padding: 28px 20px;
  margin-right: -12px;
  background: #272727;
  border: 1px solid #666;
  border-radius: 6px 0 0 6px;
}
.ref-field-notes h2 {
  color: #fff;
  font-size: 1.05rem;
  margin: 18px 0;
}
.ref-field-notes p {
  font-size: 0.85rem;
  color: #ddd;
  line-height: 2;
}
.ref-photo-reference {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #666;
  padding-top: 18px;
  font-size: 0.71rem;
  color: #ddd;
}
.ref-photo-reference > span:first-child {
  font-size: 1.8rem;
  color: var(--brand-gold);
}
.ref-photo-reference small {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.62rem;
}
.ref-report-sheet {
  position: relative;
  padding: 28px 23px;
  border-radius: 5px;
  border-top: 4px solid var(--brand-gold);
  background: var(--brand-ivory);
  color: var(--brand-ink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}
.ref-report-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.6;
}
.ref-report-brand small {
  color: var(--brand-copy);
  font-size: 0.6rem;
  font-weight: 400;
}
.ref-draft-tag {
  margin-left: auto;
  padding: 3px 5px;
  border: 1px solid #806000;
  color: var(--brand-gold-on-light);
  font-size: 0.6rem;
}
.ref-report-sheet h2 {
  color: var(--brand-ink);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  margin: 25px 0 5px;
}
.ref-report-id {
  color: var(--brand-copy);
  font-size: 0.65rem;
  margin-bottom: 22px;
}
.ref-report-sheet h3 {
  border-top: 1px solid #bbb6ac;
  padding-top: 14px;
  color: var(--brand-gold-on-light);
  font-size: 0.72rem;
  font-weight: 700;
}
.ref-report-sheet h3 + p {
  color: #464646;
  font-size: 0.75rem;
  line-height: 1.8;
  margin: 8px 0 17px;
}
.ref-report-review {
  border: 1px solid #8b8160;
  padding: 10px;
  color: #65501a;
  font-size: 0.66rem;
  text-align: center;
}
.ref-report-composition figcaption {
  grid-column: 1 / -1;
  margin-top: 20px;
  color: var(--brand-muted);
  font-size: 0.73rem;
  line-height: 1.7;
}

/* Interactive examples with human decision points */
.ref-workflow-example {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 65px;
  margin-top: 58px;
  padding-top: 44px;
  border-top: 1px solid var(--brand-rule);
  scroll-margin-top: 105px;
}
.ref-workflow-example > div > h3 {
  color: #fff;
  font-size: 2rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.ref-workflow-example > div > p {
  color: var(--brand-muted);
  line-height: 1.8;
  font-size: 0.92rem;
  margin-top: 23px;
}
.ref-workflow {
  padding: 30px;
  border: 1px solid #666;
  border-radius: 7px;
  background: var(--brand-panel);
}
.ref-workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ref-workflow-steps h4 {
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 24px 0;
}
.ref-workflow-record {
  margin-bottom: 20px;
  padding: 22px;
  border-left: 2px solid var(--brand-gold);
  background: #292929;
}
.ref-record-label {
  color: var(--brand-gold);
  font-size: 0.71rem;
}
.ref-workflow-record p {
  margin: 12px 0 0;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.8;
}
.ref-workflow .ref-actions {
  margin-top: 25px;
}
.ref-workflow .cta:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* Concise homepage: one catalogue and genuine work */
.refined-page .ds-hero {
  height: auto;
  min-height: 100svh;
  max-height: none;
  overflow: clip;
  padding-bottom: 55px;
  background: var(--brand-black);
}
.refined-page .ds-hero-shell {
  display: block;
  height: auto;
  min-height: 0;
}
.refined-page .ds-hero-stage {
  min-height: 0;
}
.refined-page .ds-hero h1 .glow-pulse {
  text-shadow: none;
  animation: none;
}
.ref-services-intro {
  max-width: 40ch;
  margin-bottom: 0;
}
.ref-service-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 55px;
}
.ref-service-route {
  display: grid;
  grid-template-columns: 25px 1fr 20px;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid var(--brand-rule);
  text-decoration: none;
  color: var(--brand-white);
}
.ref-directory-number {
  font-size: 0.72rem;
  color: var(--brand-gold);
  margin-top: 4px;
}
.ref-service-route h3 {
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
  transition: color 0.2s ease;
}
.ref-service-route p {
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.ref-service-tag {
  font-size: 0.71rem;
  color: var(--brand-gold);
}
.ref-route-arrow {
  color: var(--brand-gold);
  transition: transform 0.2s ease;
}
.ref-service-route:is(:hover, :focus-visible) h3 {
  color: var(--brand-gold);
}
.ref-service-route:is(:hover, :focus-visible) .ref-route-arrow {
  transform: translate(2px, -2px);
}
#selected-work .ref-projects {
  row-gap: 42px;
}

/* Portfolio, case studies and About alignment */
.ref-portfolio-experiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 40px;
}
.ref-portfolio-experiences .ref-photo {
  margin-bottom: 25px;
}
.ref-portfolio-experiences .ref-photo img {
  aspect-ratio: 1.7;
  object-fit: contain;
  background: var(--brand-panel);
}
.ref-portfolio-experiences article > h3 {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}
.ref-portfolio-experiences article > p {
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.ref-portfolio-experiences .ref-eyebrow {
  margin-bottom: 14px;
}
.refined-page .pf-card,
.refined-page .pf-featured {
  background: var(--brand-charcoal);
  border-color: #505050;
  box-shadow: none;
}
.refined-page .case-study {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--brand-rule);
  border-radius: 0;
  box-shadow: none;
  padding-inline: 0;
  padding-block: 55px;
  margin: 0;
}
.refined-page .case-study:hover {
  transform: none;
  box-shadow: none;
}
.ref-case-route {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}
.refined-page .ref-about-paper {
  background: var(--brand-ivory);
  color: var(--brand-ink);
}
.ref-about-paper .ds-what-heading,
.ref-about-paper .ds-cap-title {
  color: var(--brand-ink);
}
.ref-about-paper .ds-section-lead,
.ref-about-paper .ds-cap-desc {
  color: var(--brand-copy);
}
.ref-about-paper .page-kicker,
.ref-about-paper .ds-cap-num,
.refined-page .ref-about-paper .blue-accent {
  color: var(--brand-gold-on-light) !important;
}
.ref-about-paper .ds-cap-card {
  background: #e8e3d9;
  border-color: #b8ad97;
  box-shadow: none;
}
.ref-about-paper .ds-cap-icon,
.ref-about-paper .ds-cap-tags > span {
  color: var(--brand-gold-on-light);
  border-color: #b8ad97;
  background: transparent;
}

/* Responsive product and supporting-page compositions */
@media (max-width: 1100px) {
  .ref-workspace-top {
    flex-wrap: wrap;
  }
  .ref-status {
    margin-left: 0;
  }
  .ref-report-composition {
    grid-template-columns: 1fr;
  }
  .ref-field-notes {
    margin: 0 18px -12px;
    padding-block: 18px 25px;
    border-radius: 6px 6px 0 0;
  }
  .ref-field-notes h2,
  .ref-photo-reference {
    display: none;
  }
  .ref-field-notes p {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 0;
  }
}
@media (max-width: 800px) {
  .ref-hero--ai-field-reporting .ref-hero-grid,
  .ref-application-evidence,
  .ref-workflow-example,
  .ref-service-directory,
  .ref-portfolio-experiences {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ref-service-directory {
    gap: 0;
  }
  .ref-application-evidence blockquote {
    padding-left: 22px;
  }
  .ref-workspace,
  .ref-report-composition {
    max-width: 650px;
    width: 100%;
  }
  .ref-report-composition {
    grid-template-columns: 0.7fr 1fr;
  }
  .ref-field-notes {
    margin: 0 -10px 0 0;
    padding: 25px 20px;
    border-radius: 6px 0 0 6px;
  }
  .ref-field-notes h2,
  .ref-photo-reference {
    display: flex;
  }
  .ref-workspace-top {
    flex-wrap: nowrap;
  }
  .ref-status {
    margin-left: auto;
  }
  .refined-page .ds-hero {
    min-height: 100svh;
    padding-bottom: 55px;
  }
}
@media (max-width: 480px) {
  .ref-report-composition {
    grid-template-columns: 1fr;
  }
  .ref-field-notes {
    margin: 0 14px -10px;
    padding: 20px 20px 30px;
    border-radius: 5px 5px 0 0;
  }
  .ref-field-notes h2,
  .ref-photo-reference {
    display: none;
  }
  .ref-report-sheet {
    padding: 25px 22px;
  }
  .ref-workspace-top {
    flex-wrap: wrap;
    gap: 9px;
  }
  .ref-status {
    margin-left: 0;
  }
  .ref-inbox-layout {
    grid-template-columns: 1fr;
  }
  .ref-message-list {
    border: 0;
    border-bottom: 1px solid #454545;
  }
  .ref-workspace .ref-ui-label {
    font-size: 0.68rem;
  }
  .ref-message p {
    font-size: 0.83rem;
  }
  .ref-enquiry-summary h2 {
    margin: 12px 0 20px;
    font-size: 1.4rem;
  }
  .ref-enquiry-summary dl {
    font-size: 0.83rem;
  }
  .ref-workflow {
    padding: 24px 20px;
  }
  .ref-workflow-record {
    padding: 18px;
  }
  .ref-workflow .ref-actions .cta {
    width: auto;
    flex: 1;
    font-size: 0.8rem;
    padding-inline: 12px;
  }
  .ref-service-route {
    grid-template-columns: 20px 1fr 18px;
    gap: 12px;
  }
  .ref-service-route h3 {
    font-size: 1.25rem;
  }
}

/* Visible focus, readable project tags and progressive enhancement */
.refined-page .pf-tags span {
  color: var(--brand-muted);
}
.ref-actions[hidden] {
  display: none;
}
@media (max-width: 480px) {
  .refined-page .ds-bird-stage {
    height: 185px;
  }
  .refined-page .ds-hero .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .refined-page .ds-hero .cta-buttons .cta {
    width: 100%;
    padding-block: 12px;
  }
}

/* Layered architectural artwork and clear foreground service previews */
.ref-hero--layered {
  position: relative;
  isolation: isolate;
}
.ref-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.ref-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.8;
}
.ref-hero--layered::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #07080a 0%,
    rgba(7, 8, 10, 0.95) 27%,
    rgba(7, 8, 10, 0.78) 48%,
    rgba(7, 8, 10, 0.25) 78%,
    rgba(7, 8, 10, 0.32) 100%
  );
}
.ref-hero--layered .ref-hero-grid > :last-child {
  position: relative;
  z-index: 1;
}
.ref-hero--layered .ref-hero-figure figcaption,
.ref-hero--layered .ref-web-caption {
  color: #e5e5e5;
  text-shadow: 0 1px 6px #07080a;
}
.ref-hero--virtual.ref-hero--layered {
  display: flex;
  min-height: 100svh;
}
.ref-hero--virtual.ref-hero--layered .ref-hero-copy {
  max-width: none;
}
.ref-hero--virtual.ref-hero--layered h1 {
  max-width: 15ch;
}
.ref-hero--virtual.ref-hero--layered .ref-hero-figure {
  padding-block: 28px;
}
.ref-hero--virtual.ref-hero--layered .ref-hero-figure img {
  border: 1px solid rgba(243, 185, 0, 0.35);
}
.ref-hero--layered .ref-benefit-line {
  position: relative;
}

/* Restored homepage service cards and three-stage hover journey */
.refined-page .ds-hero-service-rail {
  margin-top: 35px;
}
.refined-page .ds-hero-accordions {
  margin-top: 25px;
}
.refined-page #process .ds-process-track {
  gap: 24px;
}
.refined-page #process .ds-process-step {
  text-decoration: none;
  padding: 26px 18px;
  border-radius: 9px;
  box-shadow: none;
  transition: background 0.25s ease;
}
.refined-page #process .ds-process-step:is(:hover, :focus-visible) {
  background: rgba(243, 185, 0, 0.035);
}
.refined-page
  #process
  .ds-process-step:is(:hover, :focus-visible)
  .ds-process-icon {
  color: #0b0b0b;
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  box-shadow: 0 0 24px rgba(243, 185, 0, 0.3);
  transform: scale(1.1);
}
.refined-page
  #process
  .ds-process-step:is(:hover, :focus-visible)
  .ds-process-title {
  color: var(--brand-gold);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.refined-page #process .ds-process-desc {
  max-width: 29ch;
}
@media (max-width: 800px) {
  .ref-hero--layered::after {
    display: block;
    background: linear-gradient(
      180deg,
      #07080a 0%,
      rgba(7, 8, 10, 0.95) 35%,
      rgba(7, 8, 10, 0.58) 67%,
      rgba(7, 8, 10, 0.44) 100%
    );
  }
  .ref-hero-art img {
    object-position: 70% bottom;
  }
  .ref-hero--virtual.ref-hero--layered {
    padding-bottom: 45px;
  }
  .ref-hero--virtual.ref-hero--layered .ref-hero-figure {
    padding-block: 0;
  }
  .ref-hero--virtual.ref-hero--layered .ref-hero-grid {
    gap: 28px;
  }
}
@media (max-width: 575.98px) {
  .refined-page #process .ds-process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .refined-page #process .ds-process-icon {
    margin-bottom: 20px;
  }
}

/* Legible foreground evidence and complementary atrium views */
.ref-hero--layered .ref-consolidation {
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--brand-rule);
  border-radius: 6px;
  background: rgba(7, 8, 10, 0.88);
}
.ref-room-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 45px;
}
@media (max-width: 800px) {
  .ref-room-gallery {
    grid-template-columns: 1fr;
  }
}

/* Full-height marketing heroes and delayed foreground previews */
.refined-page .page-hero {
  min-height: 100svh;
}
.ref-hero [data-hero-preview] {
  animation: hero-preview-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 1s both;
  transition:
    transform 300ms ease,
    filter 300ms ease,
    border-color 300ms ease;
}
@keyframes hero-preview-in {
  from {
    opacity: 0;
    translate: 32px 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.ref-hero-art img,
.refined-page .page-hero-art img {
  transition: transform 900ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ref-hero:hover .ref-hero-art img,
  .refined-page .page-hero:hover .page-hero-art img {
    transform: scale(1.015);
  }
  .ref-hero [data-hero-preview]:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 12px 25px rgba(243, 185, 0, 0.08));
    border-color: rgba(243, 185, 0, 0.6);
  }
}
.ref-hero [data-hero-preview]:focus-within {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 25px rgba(243, 185, 0, 0.08));
}

/* Subtle product-list feedback without changing layout or click behaviour */
.service-page {
  --list-hover-bg: rgba(243, 185, 0, 0.045);
}
.service-page .ref-paper {
  --list-hover-bg: rgba(128, 96, 0, 0.055);
}
.service-page
  :is(
    .ref-costs,
    .ref-feature-list,
    .ref-benefit-line,
    .ref-inclusions,
    .ref-care-card ul,
    .ref-process
  )
  > li {
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}
.service-page
  :is(
    .ref-costs,
    .ref-feature-list,
    .ref-benefit-line,
    .ref-inclusions,
    .ref-care-card ul,
    .ref-process
  )
  > li:is(:hover, :focus-within) {
  transform: translateX(3px);
  background-color: var(--list-hover-bg);
}
@media (prefers-reduced-motion: reduce) {
  .ref-hero [data-hero-preview] {
    animation: none;
    transform: none !important;
    filter: none !important;
  }
  .ref-hero-art img,
  .refined-page .page-hero-art img,
  .service-page
    :is(
      .ref-costs,
      .ref-feature-list,
      .ref-benefit-line,
      .ref-inclusions,
      .ref-care-card ul,
      .ref-process
    )
    > li {
    transform: none !important;
    transition: none;
  }
}

/* Keep the complete architectural scene visible below the mobile copy */
@media (max-width: 575.98px) {
  .ref-hero--virtual .ref-hero-art img {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1;
  }
}
