/* ============================================================
   Durban Oil & Gas - page compositions
   Cinematic video hero, scroll-driven services, expanding
   capabilities gallery, sectors, contact, internal page.
   ============================================================ */

/* ------------------------------------------------------------
   Hero - full-bleed ambient video, white display type
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(96vh, 60rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: clip;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(12, 18, 23, 0.5) 0%,
      rgba(12, 18, 23, 0.2) 40%,
      rgba(12, 18, 23, 0.82) 100%);
}

.hero__inner {
  width: 100%;
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 6.5rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.7rem);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: #fff;
  max-width: 13em;
}

.hero__lead {
  margin-top: var(--sp-5);
  color: rgba(255, 255, 255, 0.85);
  max-width: 32em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

@media (max-width: 48em) {
  .hero {
    min-height: 92svh;
  }
}

/* ------------------------------------------------------------
   About - image-dominant split
   ------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: stretch;
}

.about-grid__statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-grid__statement h2 {
  max-width: 12em;
}

.about-grid__statement .lead {
  margin-top: var(--sp-4);
}

/* The brand petals carry the section imagery on the homepage */

.about-grid__art {
  width: 100%;
  max-width: 34rem;
  margin-inline-start: auto;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.about-points li {
  display: flex;
  gap: var(--sp-3);
  align-items: baseline;
  color: var(--c-slate);
  font-size: var(--fs-small);
  max-width: 34em;
}

.about-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-brand-orange);
  flex-shrink: 0;
  transform: translateY(-1px);
}

.about-grid__actions {
  margin-top: var(--sp-6);
}

@media (max-width: 64em) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid__art {
    max-width: 26rem;
    margin-inline-start: 0;
  }
}

/* ------------------------------------------------------------
   Services - scroll-driven story (sticky media + entries)
   ------------------------------------------------------------ */

.svc {
  background: var(--c-night);
  color: #fff;
  padding-block: var(--sp-section);
}

.svc .section-head h2 {
  color: #fff;
}

.svc .section-head .lead {
  color: var(--c-mist);
}

.svc__stage {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

/* Sticky media panel */

.svc__media {
  position: sticky;
  top: 5.5rem;
  height: min(72vh, 38rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}

.svc__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 700ms ease, transform 1200ms var(--ease-out);
}

.svc__media img.is-active {
  opacity: 1;
  transform: scale(1);
}

.svc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 23, 0.05) 40%, rgba(12, 18, 23, 0.72) 100%);
}

/* Big index + pipeline progress inside media panel */

.svc__counter {
  position: absolute;
  z-index: 1;
  left: var(--sp-6);
  bottom: var(--sp-5);
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 3vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.svc__counter small {
  font-size: 0.38em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0;
}

/* Pipeline fill line: scroll progress drives --svc-progress */

.svc__pipe {
  position: absolute;
  z-index: 1;
  right: var(--sp-6);
  top: var(--sp-6);
  bottom: var(--sp-6);
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.svc__pipe::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--svc-progress, 0) * 100%);
  background: linear-gradient(180deg, var(--c-brand-blue), var(--c-brand-orange));
  border-radius: 2px;
}

/* Entries */

.svc__entries {
  display: flex;
  flex-direction: column;
}

.svc__entry {
  min-height: min(72vh, 38rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  opacity: 0.3;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
}

.svc__entry.is-active {
  opacity: 1;
  transform: none;
}

.svc__no {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-brand-orange);
}

.svc__entry h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  max-width: 13em;
}

.svc__entry p {
  color: var(--c-mist);
  max-width: 30em;
}

.svc__entry-media {
  display: none;
}

.svc__entry-actions {
  margin-top: var(--sp-2);
}

/* Mobile: entries carry their own image, media panel hides */

@media (max-width: 64em) {
  .svc__stage {
    grid-template-columns: 1fr;
  }

  .svc__media {
    display: none;
  }

  .svc__entry {
    min-height: 0;
    opacity: 1;
    transform: none;
    padding-block: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .svc__entry-media {
    display: block;
    border-radius: var(--r-lg);
    overflow: hidden;
    order: -1;
  }

  .svc__entry-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* ------------------------------------------------------------
   Statement band - ambient video + one line
   ------------------------------------------------------------ */

.statement-band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(82vh, 48rem);
  padding-block: var(--sp-9);
  color: #fff;
  text-align: center;
  isolation: isolate;
  overflow: clip;
}

.statement-band__mark {
  width: 2.1rem;
  height: auto;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.statement-band__bg,
.statement-band__bg img,
.statement-band__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.statement-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 18, 23, 0.55);
}

.statement-band h2 {
  color: #fff;
  max-width: 20em;
  margin-inline: auto;
}

.statement-band__action {
  margin-top: var(--sp-6);
}

/* ------------------------------------------------------------
   Capabilities - expanding horizontal gallery
   ------------------------------------------------------------ */

.cap-gallery {
  display: flex;
  gap: var(--sp-3);
  height: clamp(24rem, 32rem + 4vw, 34rem);
}

.cap-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  transition: flex 650ms var(--ease-out);
}

.cap-panel.is-open {
  flex: 3.4;
}

.cap-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out);
}

.cap-panel.is-open img {
  transform: scale(1.03);
}

.cap-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 23, 0.12) 30%, rgba(12, 18, 23, 0.85) 100%);
  transition: background 400ms ease;
}

/* Full-panel trigger */

.cap-panel__trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: inherit;
}

.cap-panel__trigger:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: -3px;
}

/* Collapsed label: number + rotated title */

.cap-panel__label {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  color: #fff;
  transition: opacity 300ms ease;
}

.cap-panel__label .cap-no {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-brand-orange);
}

.cap-panel__label h3 {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.3;
}

.cap-panel.is-open .cap-panel__label {
  opacity: 0;
  pointer-events: none;
}

/* Expanded content */

.cap-panel__content {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease 180ms, transform 550ms var(--ease-out) 180ms;
  pointer-events: none;
}

.cap-panel.is-open .cap-panel__content {
  opacity: 1;
  transform: none;
}

.cap-panel__content .cap-no {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-brand-orange);
}

.cap-panel__content h3 {
  color: #fff;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem);
  margin-top: var(--sp-2);
  max-width: 16em;
}

.cap-panel__content p {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.85);
  max-width: 42em;
}

/* Mobile: stacked, all content visible, no interaction needed */

@media (max-width: 48em) {
  .cap-gallery {
    flex-direction: column;
    height: auto;
  }

  .cap-panel {
    height: 15rem;
  }

  .cap-panel.is-open {
    flex: 1;
  }

  .cap-panel__trigger {
    display: none;
  }

  .cap-panel__label {
    display: none;
  }

  .cap-panel__content {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* ------------------------------------------------------------
   Who we serve - editorial index with live image preview.
   Hovering or tapping a row swaps the preview photograph.
   ------------------------------------------------------------ */

.sector-index {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: stretch;
}

.sector-index__rows {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sector-index__row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: baseline;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--c-line);
}

.sector-index__row:last-child {
  border-bottom: 1px solid var(--c-line);
}

.sector-index__no {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-mist);
  transition: color var(--dur-med) ease;
}

.sector-index__row h3 {
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-slate);
  transition: color var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
}

.sector-index__row p {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--c-slate);
  max-width: 30em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
}

.sector-index__row.is-active .sector-index__no {
  color: var(--c-brand-orange);
}

.sector-index__row.is-active h3 {
  color: var(--c-ink);
  transform: translateX(6px);
}

.sector-index__row.is-active p {
  opacity: 1;
  transform: none;
}

/* Preview panel: images stack and crossfade like the services story */

.sector-index__preview {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: clamp(24rem, 40vw, 32rem);
}

.sector-index__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 600ms ease, transform 1100ms var(--ease-out);
}

.sector-index__preview img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Row thumbnails exist for small screens only */

.sector-index__thumb {
  display: none;
}

@media (max-width: 64em) {
  .sector-index {
    grid-template-columns: 1fr;
  }

  .sector-index__preview {
    display: none;
  }

  .sector-index__row {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .sector-index__row h3,
  .sector-index__row.is-active h3 {
    color: var(--c-ink);
    transform: none;
  }

  .sector-index__row p {
    opacity: 1;
    transform: none;
  }

  .sector-index__thumb {
    display: block;
    grid-column: 2;
    margin-top: var(--sp-4);
    border-radius: var(--r-lg);
    overflow: hidden;
  }

  .sector-index__thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* ------------------------------------------------------------
   Contact - dark facts panel + form
   ------------------------------------------------------------ */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sp-5);
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  background: var(--c-night);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}

.contact-panel h2 {
  color: #fff;
  max-width: 12em;
}

.contact-panel > p {
  color: var(--c-mist);
  margin-top: var(--sp-3);
  max-width: 30em;
}

.contact-panel__phone {
  display: inline-block;
  margin-top: var(--sp-6);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.contact-panel__phone:hover {
  color: var(--c-brand-orange);
}

.fact-lines {
  list-style: none;
  padding: 0;
  margin-top: auto;
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.fact-lines li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--c-mist);
}

.fact-lines svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-brand-orange);
  margin-top: 0.1rem;
}

.fact-lines a {
  color: #fff;
  text-decoration: none;
}

.fact-lines a:hover {
  text-decoration: underline;
}

.fact-lines strong {
  color: #fff;
  font-weight: 600;
}

.enquiry-panel {
  background: var(--c-card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

.enquiry-panel > h3 {
  margin-bottom: var(--sp-2);
}

.enquiry-panel > p {
  font-size: var(--fs-small);
  color: var(--c-slate);
  margin-bottom: var(--sp-5);
}

@media (max-width: 64em) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Internal page - photographic page hero
   ------------------------------------------------------------ */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(62vh, 42rem);
  color: #fff;
  isolation: isolate;
  overflow: clip;
}

.page-hero__bg,
.page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(12, 18, 23, 0.5) 0%,
    rgba(12, 18, 23, 0.22) 40%,
    rgba(12, 18, 23, 0.8) 100%);
}

.page-hero__inner {
  width: 100%;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.page-hero h1 {
  color: #fff;
  max-width: 12em;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 38em;
}

.breadcrumb {
  display: flex;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  font-size: var(--fs-small);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}

/* Sub-nav: pill chips, sticky */

.subnav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: 0.75rem;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}

.subnav ol {
  display: flex;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav ol::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  color: var(--c-slate);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.subnav a:hover {
  color: var(--c-ink);
  border-color: var(--c-line);
}

.subnav a.is-active {
  color: #fff;
  background: var(--c-ink);
}

/* ------------------------------------------------------------
   Service scenes - full-bleed photographic bands, minimal text
   ------------------------------------------------------------ */

.scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 52rem);
  color: #fff;
  isolation: isolate;
  overflow: clip;
  scroll-margin-top: 3.4rem;
}

.scene__bg,
.scene__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(12, 18, 23, 0.32) 0%,
    rgba(12, 18, 23, 0.12) 40%,
    rgba(12, 18, 23, 0.82) 100%);
}

.scene__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.scene__intro h2 {
  color: #fff;
  max-width: 12em;
}

.scene__intro .lead {
  margin-top: var(--sp-3);
  color: rgba(255, 255, 255, 0.85);
  max-width: 30em;
}

.scene__action {
  margin-top: var(--sp-5);
}

/* Three short points, hairline-separated */

.scene__points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.scene__points li {
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.scene__points h3 {
  font-size: 1.05rem;
  color: #fff;
}

.scene__points p {
  margin-top: var(--sp-1);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.75);
  max-width: 26em;
}

/* Alternate scenes mirror the composition */

.scene--right .scene__inner {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.scene--right .scene__intro {
  order: 2;
}

.scene--right .scene__points {
  order: 1;
}

@media (max-width: 64em) {
  .scene {
    min-height: 0;
  }

  .scene__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: clamp(16rem, 45vw, 24rem);
  }

  .scene--right .scene__intro {
    order: 1;
  }

  .scene--right .scene__points {
    order: 2;
  }
}

/* ------------------------------------------------------------
   In plain terms - compact glossary strip
   ------------------------------------------------------------ */

.terms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  margin: 0;
}

.terms__item {
  padding: var(--sp-6);
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.terms__item dt {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.terms__item dd {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-small);
  color: var(--c-slate);
}

@media (max-width: 64em) {
  .terms__grid {
    grid-template-columns: 1fr;
  }
}

/* Enquiry CTA on internal page */

.enquiry-cta {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
  background: var(--c-blue-deep);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1rem + 3vw, 4rem);
  overflow: clip;
}

.enquiry-cta__mark {
  width: 2rem;
  height: auto;
  margin-bottom: var(--sp-4);
}

.enquiry-cta h2 {
  color: #fff;
  max-width: 14em;
}

.enquiry-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 40em;
  margin-top: var(--sp-3);
}

.enquiry-cta__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

.enquiry-cta__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  align-self: stretch;
}

.enquiry-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

@media (max-width: 48em) {
  .enquiry-cta {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   ABOUT - editorial spread architecture
   Overlapping opening, one unified chain diagram, two-column
   prose with a pull quote, and captions layered over a band.
   ============================================================ */

/* Opening: statement column beside the petal image windows */

.opening {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}

.opening__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.opening__statement > p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 24em;
  text-wrap: balance;
}

.opening__statement > p:first-child em {
  font-style: normal;
  color: var(--c-blue-ink);
}

.opening__sub {
  margin-top: var(--sp-5);
  color: var(--c-slate);
  max-width: 36em;
}

/* Two pathway notes, each keyed to one petal of the mark */

.opening__pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.opening__pathways > div {
  padding-top: var(--sp-4);
  border-top: 3px solid var(--c-brand-blue);
}

.opening__pathways > div:last-child {
  border-top-color: var(--c-brand-orange);
}

.opening__pathways span {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-slate);
}

.opening__pathways strong {
  display: block;
  margin-top: var(--sp-1);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.opening__pathways p {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--c-slate);
}

@media (max-width: 64em) {
  .opening__grid {
    grid-template-columns: 1fr;
  }

  .opening__art {
    max-width: 26rem;
  }
}

@media (max-width: 30em) {
  .opening__pathways {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* One chain object: proportional spans on a continuous track */

.track {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}

.track__rail {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 3fr);
  align-items: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-card);
}

.track__span {
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.track__span small {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-mist);
}

.track__span h3 {
  font-size: 1.1rem;
}

.track__span p {
  font-size: var(--fs-small);
  color: var(--c-slate);
}

/* The middle span is the company: dark, and it holds its own sub-items */

.track__span--core {
  background: var(--c-night);
  color: #fff;
  padding: var(--sp-6);
}

.track__span--core small {
  color: var(--c-brand-orange);
}

.track__span--core h3 {
  color: #fff;
  font-size: 1.35rem;
}

.track__inner {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}

.track__inner li {
  padding-top: var(--sp-3);
  border-top: 2px solid rgba(255, 255, 255, 0.28);
}

.track__inner strong {
  display: block;
  font-size: var(--fs-small);
  color: #fff;
}

.track__inner span {
  display: block;
  margin-top: var(--sp-1);
  font-size: var(--fs-micro);
  color: var(--c-mist);
  line-height: 1.5;
}

@media (max-width: 64em) {
  .track__rail {
    grid-template-columns: 1fr;
  }

  .track__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}

/* Two-column prose with a pull quote spanning both */

.editorial {
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.editorial__cols {
  columns: 2;
  column-gap: clamp(2rem, 4vw, 4rem);
  max-width: 62rem;
}

.editorial__cols p {
  margin-bottom: var(--sp-4);
  break-inside: avoid;
}

.editorial__quote {
  margin-block: clamp(2.5rem, 4vw, 4rem);
  padding-left: clamp(1rem, 3vw, 3rem);
  border-left: 4px solid var(--c-brand-orange);
  max-width: 44rem;
}

.editorial__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

@media (max-width: 48em) {
  .editorial__cols {
    columns: 1;
  }
}

/* Full-bleed band with caption cards layered over its lower edge */

.layer-band {
  position: relative;
  padding-bottom: clamp(3rem, 5vw, 6rem);
}

.layer-band__media {
  position: relative;
  overflow: clip;
}

.layer-band__media img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.layer-band__title {
  position: absolute;
  inset-inline: 0;
  top: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
}

.layer-band__title h2 {
  color: #fff;
  max-width: 16em;
  text-shadow: 0 2px 18px rgba(12, 18, 23, 0.45);
}

.layer-band__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: clamp(-5rem, -6vw, -3rem);
  position: relative;
  z-index: 1;
}

.layer-band__card {
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
}

.layer-band__card h3 {
  font-size: 1.05rem;
}

.layer-band__card p {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--c-slate);
}

@media (max-width: 64em) {
  .layer-band__media img {
    aspect-ratio: 16 / 9;
  }

  .layer-band__cards {
    grid-template-columns: 1fr;
    margin-top: var(--sp-5);
  }
}

/* ============================================================
   CAPABILITIES - cover plates
   Wide image with a floating card overlapping its lower corner,
   alternating sides, numeral clipped by the card edge.
   ============================================================ */

.plate {
  position: relative;
  padding-bottom: clamp(2.5rem, 4vw, 5rem);
}

.plate__media {
  overflow: clip;
}

.plate__media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.plate__card {
  position: relative;
  z-index: 1;
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  box-shadow: var(--shadow-float);
  max-width: 34rem;
  margin-top: clamp(-9rem, -9vw, -4rem);
}

.plate--right .plate__card {
  margin-left: auto;
}

.plate__no {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-brand-orange);
}

.plate__card h2 {
  margin-top: var(--sp-3);
  font-size: var(--fs-h3);
  max-width: 15em;
}

.plate__card > p {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  color: var(--c-slate);
}

.plate__facts {
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}

.plate__facts > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-line);
}

.plate__facts dt {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-slate);
}

.plate__facts dd {
  margin: 0;
  font-size: var(--fs-small);
}

.plate__action {
  margin-top: var(--sp-5);
}

@media (max-width: 48em) {
  .plate__media img {
    aspect-ratio: 4 / 3;
  }

  .plate__card,
  .plate--right .plate__card {
    max-width: none;
    margin-top: var(--sp-4);
    margin-inline: 0;
    box-shadow: none;
    padding-inline: 0;
    background: transparent;
  }

  .plate__facts > div {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
}

/* At-a-glance comparison table */

.matrix-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  background: var(--c-card);
}

.matrix {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  text-align: left;
}

.matrix th,
.matrix td {
  padding: var(--sp-5);
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}

.matrix thead th {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-slate);
}

.matrix tbody th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  width: 30%;
}

.matrix tbody td {
  font-size: var(--fs-small);
  color: var(--c-slate);
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: 0;
}

/* ============================================================
   CONTACT - map-led architecture
   Brand-tinted map with a dark card floating over it, then an
   asymmetric form (heading column + field column).
   ============================================================ */

.locate {
  position: relative;
  padding-block: clamp(2rem, 1rem + 3vw, 4rem);
}

.locate__stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-blue-deep);
  min-height: clamp(26rem, 46vw, 34rem);
  isolation: isolate;
}

.locate__map {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
  /* Brand tint has to be done with filters: blend modes do not composite
     across an iframe. Greyscale first, then sepia gives a single warm hue
     that hue-rotate can steer onto the brand blue. */
  filter:
    invert(0.9)
    grayscale(1)
    sepia(0.62)
    hue-rotate(178deg)
    saturate(2.4)
    brightness(0.92)
    contrast(1.05);
}

/* Warmth in the far corner so both brand colors are present, and a dark
   ramp behind the card so its text always has contrast. Plain alpha
   compositing, which does paint correctly over an iframe. */

.locate__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 85% at 100% 100%,
      rgba(249, 154, 2, 0.26) 0%,
      rgba(249, 154, 2, 0) 58%),
    linear-gradient(160deg,
      rgba(16, 145, 207, 0.22) 0%,
      rgba(16, 145, 207, 0.04) 65%);
}

.locate__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(12, 18, 23, 0.5) 0%,
    rgba(12, 18, 23, 0.08) 48%,
    rgba(12, 18, 23, 0) 70%);
}

/* Floating office card over the map */

.locate__card {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  width: min(24rem, calc(100% - 2.5rem));
  background: var(--c-night);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}

.locate__card h2 {
  color: #fff;
  font-size: var(--fs-h3);
}

.locate__address {
  font-style: normal;
  margin-top: var(--sp-4);
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-mist);
}

.locate__lines {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}

.locate__lines li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: baseline;
  font-size: var(--fs-small);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.locate__lines span {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-mist);
}

.locate__lines a,
.locate__lines strong {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: break-word;
}

.locate__lines a:hover {
  color: var(--c-brand-orange);
  text-decoration: underline;
}

.locate__action {
  margin-top: var(--sp-5);
}

/* Map is decorative support on small screens: card stacks above it */

@media (max-width: 48em) {
  .locate__stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow: visible;
    border-radius: 0;
  }

  .locate__card {
    position: static;
    width: 100%;
    order: 1;
    border-radius: var(--r-lg);
  }

  .locate__frame {
    order: 2;
    position: relative;
    height: 16rem;
    margin-top: var(--sp-4);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
}

@media (min-width: 48.0625em) {
  .locate__frame {
    position: absolute;
    inset: 0;
  }
}

/* Asymmetric enquiry form: heading column + fields column */

.enquire-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.enquire-split__intro {
  position: sticky;
  top: 6.5rem;
}

.enquire-split__intro h2 {
  max-width: 12em;
}

.enquire-split__intro > p {
  margin-top: var(--sp-4);
  color: var(--c-slate);
  max-width: 30em;
}

.enquire-split__checklist {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-6);
  counter-reset: ask;
  display: grid;
  gap: var(--sp-4);
}

.enquire-split__checklist li {
  counter-increment: ask;
  display: grid;
  /* auto + minmax(0,1fr) so the text column keeps its full measure;
     a fixed first column was starving it into one word per line. */
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--sp-3);
  align-items: baseline;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
}

.enquire-split__checklist li > * {
  min-width: 0;
}

/* Three grid items (counter, title, description) in a two-column track
   otherwise wrap the description back under the counter. Pin them. */

.enquire-split__checklist li::before {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.enquire-split__checklist strong,
.enquire-split__checklist span {
  grid-column: 2;
}

.enquire-split__checklist li::before {
  content: "0" counter(ask);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 800;
  color: var(--c-brand-orange);
}

.enquire-split__checklist strong {
  display: block;
  font-size: var(--fs-small);
}

.enquire-split__checklist span {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--fs-small);
  color: var(--c-slate);
}

.enquire-split__form {
  background: var(--c-card);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}

@media (max-width: 64em) {
  .enquire-split {
    grid-template-columns: 1fr;
  }

  .enquire-split__intro {
    position: static;
  }
}

/* ------------------------------------------------------------
   Compact light page header
   For pages where a photographic hero would crop subjects badly
   or compete with the page's real centrepiece (Contact's map).
   ------------------------------------------------------------ */

.page-head {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--c-line);
}

.page-head__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.page-head h1 {
  max-width: 16em;
}

.page-head .lead {
  max-width: 36em;
}

.page-head__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}

/* Breadcrumb on a light surface */

.breadcrumb--on-light a {
  color: var(--c-slate);
}

.breadcrumb--on-light a:hover {
  color: var(--c-blue-ink);
}

.breadcrumb--on-light li + li::before {
  color: var(--c-line-strong);
}

.breadcrumb--on-light [aria-current="page"] {
  color: var(--c-ink);
}
