/* Plus One shared layout system. Loaded after styles.css by every page. */
:root {
  --layout-max: 1180px;
  --page-gutter: clamp(1rem, 3vw, 2rem);
  --section-space: clamp(3.25rem, 5vw, 5.25rem);
  --section-gap: clamp(1.4rem, 2.5vw, 2.4rem);
  --grid-gap: clamp(.8rem, 1.4vw, 1.15rem);
  --card-pad: clamp(1.15rem, 2.4vw, 1.75rem);
  --control-height: 3rem;
}

.container {
  width: min(var(--layout-max), calc(100% - (var(--page-gutter) * 2))) !important;
  margin-inline: auto !important;
}

main > .section,
main > section.section {
  padding-block: var(--section-space) !important;
}

main :where(h1, h2, h3, p, li, a, button, label, input, select, textarea) {
  overflow-wrap: anywhere;
}

.hero h1,
.page-hero h1,
.contact-intro h1 {
  max-width: 14ch !important;
  text-wrap: balance;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 5.2vw, 5.6rem) !important;
  line-height: .98 !important;
}

.hero .lead,
.page-hero p,
.contact-intro-copy > p {
  max-width: 62ch;
}

.hero-actions,
.button-row {
  align-items: center;
  gap: .75rem !important;
  margin-top: 1.5rem !important;
}

.button,
button.button,
a.button {
  min-height: var(--control-height) !important;
  max-width: 100% !important;
  padding: .78rem 1.15rem !important;
  border-radius: 10px !important;
  line-height: 1.2;
  white-space: normal !important;
}

.button svg,
.button .icon {
  flex: 0 0 auto;
}

.button:focus-visible,
.nav-links a:focus-visible,
.drawer a:focus-visible,
.footer a:focus-visible,
.service-index-card:focus-visible,
.strip-item:focus-visible {
  outline: 3px solid #ff8588 !important;
  outline-offset: 3px !important;
}

.menu-toggle {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
}

.section-head,
.service-dossier-main .section-head,
.service-method-section .section-head,
.service-index-section .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .58fr) !important;
  gap: clamp(1.5rem, 4vw, 4rem) !important;
  align-items: end !important;
  margin-bottom: var(--section-gap) !important;
}

.section-head > *,
.section-head > div {
  min-width: 0;
}

.section-head h2 {
  max-width: 16ch !important;
  font-size: clamp(2.35rem, 4.6vw, 4.75rem) !important;
  line-height: 1 !important;
  text-wrap: balance;
}

.section-head > p {
  max-width: 52ch !important;
  justify-self: end;
  line-height: 1.75;
}

:where(.cards-grid, .service-index-grid, .service-dossier-grid, .service-method-grid, .stats-grid, .tact-grid, .reach-market-grid, .contact-field-grid) {
  gap: var(--grid-gap) !important;
  align-items: stretch !important;
}

:where(.cards-grid, .service-index-grid, .service-dossier-grid, .service-method-grid, .stats-grid, .tact-grid, .reach-market-grid) > * {
  min-width: 0 !important;
  height: 100%;
}

:where(.service-card, .service-index-card, .service-dossier-card, .method-card, .value-card, .industry-card, .quote-card, .process-step, .feature-panel, .stat-card, .tact-card, .philosophy-card) {
  padding: var(--card-pad) !important;
}

.service-index-card,
.service-dossier-card,
.method-card,
.service-card,
.value-card,
.process-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.service-index-card em,
.service-card > a,
.service-dossier-card > a {
  margin-top: auto !important;
}

.service-dossier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.service-method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.service-dossier-card,
.method-card {
  min-height: 250px;
}

.about-grid,
.about-story-grid,
.contact-grid,
.contact-intro-grid,
.contact-workspace-grid,
.contact-location-grid,
.feature-grid {
  gap: var(--grid-gap) !important;
}

.image-panel,
.page-card,
.split-logo-card,
.contact-map-frame,
.about-hero .container > *,
.page-hero .container > *,
.hero-grid > *,
.contact-intro-grid > * {
  min-width: 0 !important;
  max-width: 100% !important;
}

.image-panel img,
.page-card img,
.split-logo img {
  width: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
}

.split-logo img {
  object-fit: contain;
}

.about-story-grid {
  align-items: start !important;
}

.director-grid {
  align-content: start;
}

.number-value-card strong,
.stat-card strong {
  font-variant-numeric: tabular-nums;
}

.field,
.contact-form {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: .5rem;
  line-height: 1.35;
}

.field :where(input, select) {
  width: 100%;
  min-height: var(--control-height);
}

.field textarea {
  width: 100%;
  min-height: 9rem;
  resize: vertical;
}

.cta-band {
  padding-block: clamp(3.2rem, 5vw, 5rem) !important;
}

.cta-inner {
  gap: clamp(1.25rem, 4vw, 4rem) !important;
}

.cta-inner h2 {
  max-width: 18ch !important;
  text-wrap: balance;
}

.cta-inner p {
  max-width: 56ch;
}

.footer {
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 1.5rem !important;
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 1fr)) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: start;
}

.footer-grid > * {
  min-width: 0;
}

.footer h3 {
  min-height: 1.5em;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  max-width: 34ch;
}

.footer-social {
  align-items: center;
  gap: .6rem !important;
}

.footer-social a {
  width: 42px !important;
  height: 42px !important;
}

/* Keep incomplete service rows visually centred. */
@media (min-width: 1181px) {
  .service-index-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }

  .service-index-card {
    grid-column: span 2;
  }

  .service-index-card:nth-child(6) {
    grid-column: 4 / span 2;
  }

  .service-index-card:nth-child(7) {
    grid-column: 6 / span 2;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .service-index-card:nth-child(7) {
    grid-column: 2;
  }
}

@media (max-width: 1180px) {
  .service-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .service-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .method-card:not(:last-child)::after {
    display: none !important;
  }
}

@media (min-width: 1051px) {
  .topbar {
    min-height: 6.5rem !important;
    height: 6.5rem;
  }

  .brand {
    width: min(var(--layout-max), calc(100% - (var(--page-gutter) * 2))) !important;
    height: 6.5rem !important;
    margin-inline: auto;
    align-items: center !important;
  }

  .logo-mark {
    width: 5.25rem !important;
    height: 5.25rem !important;
    align-self: center;
  }

  .logo-mark img {
    width: 4.2rem !important;
    height: 4.2rem !important;
  }
}

@media (max-width: 900px) {
  .brand > span:last-child {
    padding-left: .5rem !important;
  }

  .section-head,
  .service-dossier-main .section-head,
  .service-method-section .section-head,
  .service-index-section .section-head {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 1rem !important;
  }

  .section-head > p {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .contact-field-grid,
  .contact-response-steps,
  .contact-confidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .hero h1,
  .page-hero h1,
  .contact-intro h1 {
    max-width: 100% !important;
    font-size: clamp(2.45rem, 12vw, 4rem) !important;
    line-height: .98 !important;
  }

  .section-head h2 {
    max-width: 18ch !important;
    font-size: clamp(2.15rem, 10vw, 3.35rem) !important;
  }

  .service-index-grid,
  .service-dossier-grid,
  .service-method-grid,
  .cards-grid,
  .cards-grid.two,
  .cards-grid.four,
  .stats-grid,
  .tact-grid,
  .contact-field-grid,
  .contact-response-steps,
  .contact-confidence-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .service-index-card,
  .service-dossier-card,
  .method-card,
  .service-card,
  .value-card,
  .process-step,
  .number-value-card,
  .tact-card,
  .philosophy-card {
    min-height: 0 !important;
  }

  .button-row,
  .hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .button-row .button,
  .hero-actions .button {
    flex: 1 1 12rem;
  }

  .split-logo-card,
  .split-logo,
  .split-logo img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cta-inner,
  .contact-response-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .cta-inner .button {
    justify-self: start !important;
  }

  .footer h3 {
    min-height: 0;
  }
}

/* Final header lock: logo right, copy aligned, stable through browser zoom. */
@media (min-width: 1051px) {
  .topbar {
    height: 5.35rem !important;
    min-height: 5.35rem !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .brand {
    display: flex !important;
    width: min(var(--layout-max), calc(100% - (var(--page-gutter) * 2))) !important;
    height: 5.35rem !important;
    min-height: 5.35rem !important;
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
  }

  .brand > span:last-child {
    order: 1;
    min-width: 0;
    max-width: calc(100% - 6rem) !important;
    padding: 0 !important;
    align-self: center;
  }

  .logo-mark {
    order: 2;
    width: 4.35rem !important;
    height: 4.35rem !important;
    min-width: 4.35rem !important;
    margin: 0 !important;
    align-self: center !important;
  }

  .brand-name,
  .brand-tagline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
  }
}

@media (max-width: 1050px) {
  .topbar {
    width: 100% !important;
    height: 4.75rem !important;
    min-height: 4.75rem !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .brand {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(var(--layout-max), calc(100% - (var(--page-gutter) * 2))) !important;
    max-width: none !important;
    height: 4.75rem !important;
    min-height: 4.75rem !important;
    margin: 0 !important;
    padding: 0 0 0 3.35rem !important;
    gap: clamp(.55rem, 2vw, 1rem) !important;
    align-items: center !important;
    box-sizing: border-box;
  }

  .brand > span:last-child {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 100% !important;
    padding: 0 !important;
    align-self: center;
  }

  .logo-mark {
    grid-column: 2;
    grid-row: 1;
    width: clamp(3rem, 5.3vw, 3.5rem) !important;
    height: clamp(3.45rem, 6vw, 4rem) !important;
    min-width: clamp(3rem, 5.3vw, 3.5rem) !important;
    margin: 0 !important;
    padding: .28rem !important;
    align-self: center !important;
  }

  .brand-name {
    font-size: clamp(.68rem, 1.9vw, 1.22rem) !important;
    line-height: 1.05 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
  }

  .brand-tagline {
    display: block !important;
    margin-top: .2rem !important;
    font-size: clamp(.44rem, .8vw, .62rem) !important;
    line-height: 1.1 !important;
    letter-spacing: .08em !important;
    word-spacing: .04em !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
  }

  .menu-toggle {
    display: grid !important;
    top: 50% !important;
    left: max(.65rem, calc((100vw - var(--layout-max)) / 2)) !important;
    right: auto !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    transform: translateY(-50%) !important;
  }

  .nav-shell {
    display: none !important;
  }

  .drawer-inner {
    padding-top: 5.75rem !important;
  }
}

@media (max-width: 430px) {
  .brand {
    width: 100% !important;
    padding-right: .65rem !important;
    padding-left: 3.75rem !important;
  }

  .brand-tagline {
    letter-spacing: .02em !important;
  }
}

@media (min-width: 431px) and (max-width: 900px) {
  .brand {
    width: 100% !important;
    padding-right: .75rem !important;
    padding-left: 4rem !important;
  }
}

@media (max-width: 430px) {
  .hero-actions .button,
  .button-row .button,
  .contact-form .button[type="submit"] {
    width: 100% !important;
    flex-basis: 100%;
  }

  .reach-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1600px) {
  :root {
    --layout-max: 1280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 2026 premium advisory refresh */
html {
  scroll-padding-top: 4.5rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.2rem;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, .76);
  font-size: .82rem;
  line-height: 1.5;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.hero-proof span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: .85rem;
  border-radius: 50%;
  background: var(--red-soft, #ff8588);
}

.hero-proof strong {
  color: #fff;
  font-weight: 900;
}

.hero .hero-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 940px;
}

.audience-section {
  background:
    radial-gradient(circle at 92% 4%, rgba(223, 63, 66, .1), transparent 24rem),
    #fffaf7;
}

.audience-grid,
.work-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.audience-card,
.work-model-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(24, 18, 37, .12);
  border-radius: 18px;
  overflow: hidden;
}

.audience-card {
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  box-shadow: 0 20px 50px rgba(24, 18, 37, .07);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -48% 28%;
  height: 180px;
  border-radius: 50%;
  background: rgba(223, 63, 66, .08);
  transition: transform 320ms ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 63, 66, .35);
  box-shadow: 0 28px 70px rgba(24, 18, 37, .12);
}

.audience-card:hover::before {
  transform: translate(-10%, -10%) scale(1.12);
}

.audience-card > span,
.work-model-card > span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.audience-card > svg,
.work-model-card > svg {
  width: 2rem;
  height: 2rem;
  margin-top: 2rem;
  color: var(--red);
  stroke-width: 1.7;
}

.audience-card h3,
.work-model-card h3 {
  margin: 1rem 0 .7rem;
  font-family: "Plus Jakarta Sans", Sora, Inter, sans-serif;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  line-height: 1.2;
}

.audience-card p,
.work-model-card p {
  margin: 0;
  color: rgba(45, 43, 52, .7);
  line-height: 1.68;
}

.audience-card strong {
  position: relative;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--navy);
  font-size: .79rem;
}

.audience-card strong svg {
  width: 1rem;
  height: 1rem;
}

.work-model-card {
  min-height: 285px;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.work-model-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2rem;
  right: -1.15rem;
  z-index: 3;
  width: 1.7rem;
  height: 1px;
  background: var(--red-soft, #ff8588);
}

.work-model-card p {
  color: rgba(255, 255, 255, .7);
}

.service-fit {
  display: inline-flex;
  width: fit-content;
  margin: 1.15rem 0 .1rem;
  padding: .36rem .6rem;
  border-radius: 999px;
  background: rgba(223, 63, 66, .09);
  color: var(--red-dark, #b9272d);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.service-outcome {
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--navy);
  font-size: .8rem;
}

.enquiry-band {
  background:
    radial-gradient(circle at 10% 15%, rgba(223, 63, 66, .28), transparent 24rem),
    linear-gradient(135deg, #171125, #211834 62%, #2d1d3f) !important;
}

.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.enquiry-copy h2 {
  max-width: 12ch;
  margin: .9rem 0 1rem;
  color: #fff;
  font-family: "Plus Jakarta Sans", Sora, Inter, sans-serif;
  font-size: clamp(2.45rem, 4vw, 4.5rem);
  line-height: 1;
  text-wrap: balance;
}

.enquiry-copy > p {
  max-width: 48ch;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
}

.enquiry-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}

.enquiry-assurance span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-size: .75rem;
  font-weight: 700;
}

.enquiry-assurance svg {
  width: .95rem;
  height: .95rem;
  color: var(--red-soft, #ff8588);
}

.quick-enquiry-form {
  padding: clamp(1.25rem, 3vw, 2.1rem) !important;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: #fffaf7;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .24);
}

.quick-enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quick-enquiry-form .field {
  margin-bottom: 1rem;
}

.quick-enquiry-form .field label {
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
}

.quick-enquiry-form :where(input, select, textarea) {
  border-color: rgba(24, 18, 37, .14);
  background: #fff;
}

.quick-enquiry-form textarea {
  min-height: 7rem;
}

.quick-enquiry-submit {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.quick-enquiry-submit p {
  max-width: 28ch;
  margin: 0;
  color: rgba(45, 43, 52, .64);
  font-size: .72rem;
  line-height: 1.5;
}

.quick-enquiry-submit a {
  color: var(--navy);
  text-decoration: underline;
}

.nav-contact-link {
  width: auto !important;
  min-width: 2.74rem;
  padding-inline: .8rem !important;
  gap: .4rem !important;
}

.nav-action-label {
  font-size: .73rem;
  line-height: 1;
}

.nav-book-call {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  white-space: nowrap;
}

.nav-book-call .icon {
  width: .95rem;
  height: .95rem;
}

.drawer-book-call {
  margin-top: .8rem;
  background: var(--red) !important;
  color: #fff !important;
}

@media (min-width: 1051px) {
  .topbar,
  .brand {
    height: 5.35rem !important;
    min-height: 5.35rem !important;
  }

  .logo-mark {
    width: 4.35rem !important;
    height: 4.35rem !important;
  }

  .logo-mark img {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }

  .brand {
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    padding-left: 0 !important;
  }

  .brand > span:last-child {
    padding-top: 0 !important;
  }

  .brand-name {
    font-size: clamp(1.4rem, 1.8vw, 1.8rem) !important;
    line-height: 1 !important;
  }

  .brand-tagline {
    margin-top: .38rem !important;
    font-size: clamp(.68rem, .8vw, .8rem) !important;
    letter-spacing: .24em !important;
  }

  .nav-shell {
    padding-inline: max(var(--page-gutter), calc((100vw - var(--layout-max)) / 2)) !important;
  }

  .nav-shell .nav-links a {
    padding-inline: clamp(.75rem, 1.2vw, 1.2rem);
  }

  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  .audience-grid,
  .work-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-model-card:not(:last-child)::after {
    display: none;
  }

  .nav-action-label {
    display: none;
  }

  .nav-contact-link {
    width: 2.74rem !important;
    padding: 0 !important;
  }
}

@media (max-width: 900px) {
  .hero .hero-strip,
  .enquiry-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero .hero-strip {
    max-width: 100%;
  }

  .enquiry-copy h2 {
    max-width: 16ch;
  }
}

@media (max-width: 700px) {
  .audience-grid,
  .work-model-grid,
  .quick-enquiry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-card,
  .work-model-card {
    min-height: 0;
  }

  .audience-card strong {
    margin-top: 1.2rem;
    padding-top: 0;
  }

  .hero-proof {
    display: grid;
    gap: .45rem;
  }

  .hero-proof span:not(:last-child)::after {
    display: none;
  }

  .quick-enquiry-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-enquiry-submit .button {
    width: 100%;
  }
}

/* Authoritative desktop header order. Keep this final because legacy rules repeat. */
@media (min-width: 1051px) {
  .brand {
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
  }

  .brand > span:last-child {
    order: 1;
  }

  .logo-mark {
    order: 2;
  }
}

/* Keep the logo flush at the top with a deliberate red gap underneath. */
.topbar .logo-mark {
  height: calc(100% - .5rem) !important;
  margin-top: 0 !important;
  margin-bottom: .5rem !important;
  align-self: stretch !important;
  border-radius: 0 0 .7rem .7rem !important;
}

.topbar .logo-mark img {
  width: 80% !important;
  height: auto !important;
  max-height: 72% !important;
  object-fit: contain !important;
}

/* Expanded 3D deal analysis constellation. */
.tile-analysis {
  top: 1%;
  left: -5%;
  width: 150px;
  transform: translateZ(64px) rotateY(9deg);
  animation: tile-float 5.8s ease-in-out -4s infinite;
}

.tile-analysis strong {
  font-size: .67rem;
  letter-spacing: .055em;
  white-space: nowrap;
}

.tile-cashflow {
  top: 45%;
  right: -9%;
  transform: translateZ(92px) rotateY(-12deg);
  animation: tile-float 6.4s ease-in-out -2.4s infinite;
}

@media (max-width: 1180px) {
  .tile-analysis {
    left: -2%;
  }

  .tile-cashflow {
    right: -4%;
  }
}

@media (max-width: 980px) {
  .data-tile {
    width: 112px;
    padding: .68rem .72rem;
  }

  .tile-analysis {
    top: 0;
    left: -3%;
    width: 132px;
  }

  .tile-analysis strong {
    font-size: .59rem;
  }

  .tile-cashflow {
    top: 43%;
    right: -5%;
  }
}

/* Compact legal and privacy pages: remove oversized editorial dead space. */
.trust-page .trust-hero {
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.75rem) !important;
}

.trust-page .trust-body-section {
  padding-block: clamp(2.75rem, 4.5vw, 4.25rem) !important;
}

.trust-page .trust-layout {
  gap: clamp(2rem, 4vw, 4rem) !important;
}

.trust-page .reveal,
.js-ready .trust-page .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.trust-page .trust-block {
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem) !important;
}

.trust-page .trust-block + .trust-block {
  padding-top: clamp(1.75rem, 3vw, 2.75rem) !important;
}

@media (max-width: 560px) {
  .trust-page .trust-hero {
    padding-block: 2.75rem 2.35rem !important;
  }

  .trust-page .trust-body-section {
    padding-block: 2.25rem 2.75rem !important;
  }

  .trust-page .trust-block {
    padding-bottom: 1.5rem !important;
  }

  .trust-page .trust-block + .trust-block {
    padding-top: 1.5rem !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    background: #fff !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-loader,
  .cookie-consent,
  .menu-toggle,
  .menu-overlay,
  .drawer,
  .nav-shell,
  .header-actions {
    display: none !important;
  }

  .topbar {
    position: static !important;
  }

  .reveal,
  .text-reveal,
  .js-ready .reveal,
  .js-ready .text-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .section,
  .trust-block,
  .service-dossier-card,
  .method-card,
  .audience-card,
  .work-model-card {
    break-inside: avoid;
  }
}

/* Supporting service detail keeps each indexable page useful beyond its overview cards. */
.service-context-section {
  background: #f6f8fb;
}

.service-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-context-card {
  border: 1px solid rgba(37, 56, 77, .14);
  border-radius: .5rem;
  background: #fff;
  padding: 1.5rem;
}

.service-context-card h3 {
  margin: 0 0 .7rem;
  color: #17283b;
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-context-card p {
  margin: 0;
  color: #556477;
  line-height: 1.7;
}

.service-context-links {
  margin: 1.5rem 0 0;
  color: #556477;
  line-height: 1.7;
}

.service-context-links a {
  color: #bd2f35;
  font-weight: 700;
}

@media (max-width: 820px) {
  .service-context-grid {
    grid-template-columns: 1fr;
  }
}

/* Office card copy must fit the card at both desktop and mobile widths. */
.service-hero-card.office-service-card {
  min-width: 0;
}

.service-hero-card.office-service-card > strong {
  max-width: 100%;
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.service-hero-card.office-service-card > p {
  width: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Slow ambient movement stays behind the service copy and office card. */
.page-hero.office-motion-hero {
  padding-top: 5rem;
  background: #101320;
}

.page-hero.office-motion-hero::before {
  inset: -12%;
  pointer-events: none;
  filter: none;
  background:
    radial-gradient(ellipse at 82% 35%, rgba(196, 43, 64, .68), transparent 48%),
    radial-gradient(ellipse at 45% 92%, rgba(91, 39, 80, .55), transparent 48%),
    radial-gradient(ellipse at 8% 12%, rgba(37, 67, 104, .5), transparent 50%),
    linear-gradient(115deg, #0b1424 12%, #181528 55%, #391827);
}

.page-hero.office-motion-hero::after {
  inset: -64px;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .065) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .5;
  mask-image: linear-gradient(90deg, transparent 5%, #000 65%);
}

.office-motion-hero .office-motion-toggle {
  position: absolute;
  top: 1rem;
  right: max(1rem, calc((100% - 1440px) / 2));
  z-index: 2;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(12, 18, 32, .72);
  color: #fff;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}

.office-motion-toggle[hidden] { display: none; }
.office-motion-toggle:hover { background: #263049; }
.office-motion-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@keyframes office-glow-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to { transform: translate3d(3%, -3%, 0) scale(1.08); }
}

@keyframes office-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(64px, -64px, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .office-motion-hero[data-motion-ready]::before {
    animation: office-glow-drift 14s ease-in-out infinite alternate;
  }
  .office-motion-hero[data-motion-ready]::after {
    animation: office-grid-drift 24s linear infinite;
  }
}

.office-motion-hero[data-motion-paused="true"]::before,
.office-motion-hero[data-motion-paused="true"]::after {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .office-motion-hero .office-motion-toggle { display: none; }
}
