/* Dcode — operational & logistics partner */

:root {
  --ink: #101010;
  --ink-soft: #2a2a2a;
  --muted: #5c5c5c;
  --paper: #f2f2f0;
  --surface: #ffffff;
  --line: rgba(16, 16, 16, 0.12);
  --gold: #fbc000;
  --gold-bright: #ffd24a;
  --gold-deep: #c49200;
  --hero-veil: linear-gradient(
    115deg,
    rgba(8, 8, 8, 0.82) 0%,
    rgba(8, 8, 8, 0.55) 45%,
    rgba(8, 8, 8, 0.28) 75%,
    rgba(8, 8, 8, 0.18) 100%
  );
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
  --lang-bar-h: 2rem;
  --lang-bar-offset: calc(var(--lang-bar-h) + env(safe-area-inset-top, 0px));
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Do NOT set overflow-x on html/body — it breaks position:sticky on iOS Safari */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(ellipse 90% 55% at 100% -10%, rgba(251, 192, 0, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at -10% 80%, rgba(16, 16, 16, 0.05), transparent 50%),
    linear-gradient(180deg, #f6f5f1 0%, var(--paper) 40%, #ecebe6 100%);
  -webkit-font-smoothing: antialiased;
  position: relative;
  max-width: 100%;
  width: 100%;
}

/* Clip page overflow without putting overflow on html/body/main
   (those break position:sticky in iOS Safari). */
.site-header,
.lang-bar,
.section,
.site-footer,
.cta-band,
.marquee {
  max-width: 100%;
}

/* Film grain for depth (below chrome so lang bar stays clickable) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-address {
  font-style: normal;
}

.footer-address ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1.25rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Language bar (above main nav) —— */
.lang-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  box-sizing: border-box;
  height: var(--lang-bar-offset);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lang-bar__inner {
  box-sizing: border-box;
  width: min(100% - 2.5rem, var(--max));
  height: var(--lang-bar-h);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  direction: ltr; /* keep back link left, languages right in every locale */
  min-width: 0;
}

.lang-bar__back {
  flex: 1 1 0;
  min-width: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.lang-bar__back:hover {
  color: #fff;
}

.lang-bar__back-short {
  display: none;
}

.lang {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-inline-start: 0.35rem;
  max-width: none;
}

.lang a,
.lang button {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  min-width: 1.85rem;
  min-height: 1.35rem;
  padding: 0.22rem 0.38rem;
  transition: color 0.2s, background 0.2s;
  flex: 0 0 auto;
}

.lang a:hover,
.lang button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lang a.is-active,
.lang a[aria-current="true"],
.lang button.is-active,
.lang button[aria-current="true"] {
  color: var(--ink);
  background: var(--gold);
}

body.is-rtl .lang-bar__inner {
  justify-content: space-between;
  direction: ltr;
}

/* Tablet: short Care Direct label before the long copy collides with langs */
@media (max-width: 900px) {
  .lang-bar__back-full {
    display: none;
  }

  .lang-bar__back-short {
    display: inline;
  }

  .lang-bar__inner {
    width: min(100% - 1.5rem, var(--max));
    gap: 0.35rem;
  }

  .lang a,
  .lang button {
    min-width: 1.6rem;
    padding: 0.18rem 0.28rem;
    letter-spacing: 0.05em;
    font-size: 0.64rem;
  }
}

/* —— Nav —— */
.site-header {
  position: fixed;
  top: var(--lang-bar-offset);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(242, 242, 240, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hero:not(.is-scrolled) {
  color: #fff;
}

.site-header__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-block;
  flex-shrink: 0;
  width: 9.5rem;
  height: 2.15rem;
  background: url("/assets/logo-on-light.png") left center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  color: transparent;
}

/* White+yellow wordmark on dark surfaces */
.site-header.is-hero:not(.is-scrolled) .logo,
.site-footer .logo {
  background-image: url("/assets/logo-on-dark.png");
  width: 10rem;
  height: 2.25rem;
}

.hero__brand-logo {
  display: block;
  width: min(52vw, 280px);
  height: auto;
  margin: 0 0 1.1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.25s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 0.2s;
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
}

.nav__cta {
  opacity: 1 !important;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 0.55rem 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

/* Arabic / RTL */
body.is-rtl {
  font-family: "Noto Sans Arabic", var(--font-body), sans-serif;
}

/* Keep phone numbers LTR in Arabic — digits must not reverse */
body.is-rtl a[href^="tel:"],
body.is-rtl .tel,
body.is-rtl [dir="ltr"].tel {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}

body.is-rtl h1,
body.is-rtl h2,
body.is-rtl h3,
body.is-rtl h4,
body.is-rtl .section__title,
body.is-rtl .hero__headline,
body.is-rtl .service-row__title,
body.is-rtl .svc-tile__title,
body.is-rtl .rhythm-step__title,
body.is-rtl .reach-band__title,
body.is-rtl .page-hero__title {
  font-family: "Noto Sans Arabic", var(--font-display), sans-serif;
}

body.is-rtl .section__label::before {
  order: 2;
}

body.is-rtl .service-row:hover {
  padding-left: 0.85rem;
  padding-right: 1.35rem;
}

body.is-rtl .service-row::before {
  left: auto;
  right: 0;
}

body.is-rtl .service-row:hover .service-row__arrow {
  transform: translateX(-4px);
}

body.is-rtl .svc-tile:hover .svc-tile__go {
  transform: translateX(-3px);
}

body.is-rtl .svc-tile::after {
  transform-origin: right;
}

body.is-rtl .about-mosaic::before {
  inset: 0.85rem 0.85rem -0.85rem -0.85rem;
}

body.is-rtl .about-points li:hover {
  transform: translateX(-4px);
}

body.is-rtl .contact-map__open {
  right: auto;
  left: 0.85rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  max-height: 100dvh;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

.hero__media--panel {
  background: #0a0a0a;
}

.hero__panel {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  touch-action: pan-y;
}

.hero__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.96) contrast(1.05) brightness(0.9);
  opacity: 0;
  z-index: 0;
  transform: scale(1.08);
  /* Ken Burns runs while active; pausing on deactivate freezes mid-zoom for fade */
  animation: hero-ken 4.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-play-state: paused;
  transition:
    opacity 1.5s ease-in-out,
    filter 1.5s ease;
  will-change: opacity, transform;
  pointer-events: none;
  backface-visibility: hidden;
}

.hero__panel img:nth-child(even) {
  animation-name: hero-ken-alt;
}

.hero__panel img:nth-child(3n) {
  animation-name: hero-ken-up;
}

/* First slide: pure centered zoom (no pan) */
.hero__panel img:first-child {
  animation-name: hero-ken-center;
}

/* Second slide: start zoomed in, ease out */
.hero__panel img:nth-child(2) {
  animation-name: hero-ken-out;
  transform: scale(1.22);
}

.hero__panel img.is-active {
  opacity: 1;
  z-index: 1;
  animation-play-state: running;
}

/* Call-center slide: keep subject on the right of the crop */
.hero__panel img[src*="call-center"] {
  object-position: 78% 42%;
}

@media (hover: hover) and (pointer: fine) {
  .hero__panel:hover img.is-active {
    filter: saturate(0.98) contrast(1.07) brightness(0.86);
  }
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.05s forwards;
  pointer-events: none;
}

.hero__caption-mark {
  flex: 0 0 auto;
  width: 3rem;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.hero__caption-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  white-space: nowrap;
}

/* Resting visible state after wipe-in */
.hero__caption.is-shown:not(.is-out) .hero__caption-mark {
  transform: scaleX(1);
}

.hero__caption.is-shown:not(.is-out) .hero__caption-text {
  clip-path: inset(0 0 0 0);
}

/* Appear L→R */
.hero__caption.is-in .hero__caption-mark {
  animation: hero-caption-mark-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__caption.is-in .hero__caption-text {
  animation: hero-caption-text-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Disappear R→L */
.hero__caption.is-out .hero__caption-mark {
  animation: hero-caption-mark-out 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.hero__caption.is-out .hero__caption-text {
  animation: hero-caption-text-out 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
}

body.is-rtl .hero__caption-mark {
  order: 2;
  transform-origin: right center;
}

body.is-rtl .hero__caption.is-in .hero__caption-text {
  animation-name: hero-caption-text-in-rtl;
}

body.is-rtl .hero__caption.is-out .hero__caption-text {
  animation-name: hero-caption-text-out-rtl;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  left: max(1.25rem, calc((100% - var(--max)) / 2));
  bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.7s forwards;
}

body.is-rtl .hero__dots {
  left: auto;
  right: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero__dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.hero__dots button.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

.hero__dots button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__panel img,
  .hero__panel img.is-active {
    transition: opacity 0.35s ease;
    transform: none;
    animation: none;
  }

  .hero__caption-mark,
  .hero__caption-text,
  .hero__caption.is-in .hero__caption-mark,
  .hero__caption.is-in .hero__caption-text,
  .hero__caption.is-out .hero__caption-mark,
  .hero__caption.is-out .hero__caption-text {
    animation: none !important;
    transform: none;
    clip-path: none;
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.8) 0%, rgba(8, 8, 8, 0.28) 48%, rgba(8, 8, 8, 0.12) 78%, rgba(8, 8, 8, 0.2) 100%),
    linear-gradient(105deg, rgba(8, 8, 8, 0.62) 0%, rgba(8, 8, 8, 0.22) 46%, transparent 74%),
    radial-gradient(ellipse 42% 38% at 78% 18%, rgba(251, 192, 0, 0.14), transparent 58%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--lang-bar-offset) + var(--nav-h) + 0.5rem) 0 4.75rem;
  max-height: 100%;
  transform: translateY(0.35rem);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.6vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 16ch;
  margin: 0 0 0.9rem;
  color: #fff;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero__lede {
  max-width: 36ch;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.6rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 1s var(--ease) 0.9s forwards;
  pointer-events: none;
}

.hero__scroll-line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 1.8s var(--ease) infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(251, 192, 0, 0.35);
}

.btn--gold:hover {
  background: var(--gold-bright);
  box-shadow: 0 12px 28px -10px rgba(251, 192, 0, 0.65);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: #000;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
}

/* —— Sections —— */
.section {
  padding: 6rem 0;
  position: relative;
}

.section--tight {
  padding: 4.5rem 0;
}

/* Keep in-page anchors clear of sticky lang bar + header */
#about,
#rhythm,
#services {
  scroll-margin-top: calc(var(--lang-bar-offset) + var(--nav-h) + 0.75rem);
}

.section--services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    var(--surface);
  position: relative;
  /* Clip when rail is off so decorative orbs cannot create sideways scroll on iOS */
  overflow-x: clip;
}

.section--services.is-rail-on {
  padding-block: 0;
  /* Sticky pin requires visible overflow on ancestors */
  overflow-x: visible;
}

.section--services::before {
  content: "";
  position: absolute;
  width: min(28rem, 70vw);
  height: min(28rem, 70vw);
  right: 0;
  top: -8rem;
  background: radial-gradient(circle, rgba(251, 192, 0, 0.12), transparent 68%);
  pointer-events: none;
}

.section__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.section__label::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--gold);
}

.section__label a {
  color: inherit;
}

.section__label a:hover {
  color: var(--ink);
}

.section__title {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.section__text {
  max-width: 62ch;
  color: var(--muted);
}

/* —— Marquee —— */
.marquee {
  background: var(--ink);
  color: var(--gold);
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  border-block: 1px solid rgba(251, 192, 0, 0.25);
  padding: 1.25rem 0;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  /* iOS: keep animated track from expanding page scrollWidth */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: none;
  gap: 0;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.15rem 1.75rem;
  opacity: 0.9;
}

.marquee__track span::after {
  content: "●";
  margin-left: 1.75rem;
  color: rgba(251, 192, 0, 0.45);
  font-size: 0.55rem;
  vertical-align: middle;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3.25rem;
  align-items: center;
}

.about-split__copy .section__title {
  max-width: 18ch;
}

.about-split__copy .section__text + .section__text {
  margin-top: 1rem;
}

.about-split__copy .section__text strong {
  color: var(--ink);
  font-weight: 700;
}

.section--about.is-about-pin-on .about-split__copy .section__text strong {
  color: inherit;
  font-weight: 700;
}

.about-pin,
.about-pin__sticky {
  display: contents;
}


/* Sticky Who we are — scroll scrubs word-by-word reveal, then releases */
.section--about.is-about-pin-on {
  padding: 0;
  height: var(--about-height, auto);
  overflow: visible;
}

.section--about.is-about-pin-on .about-pin {
  display: block;
  height: 100%;
}

.section--about.is-about-pin-on .about-pin__sticky {
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: var(--about-sticky-top, calc(var(--lang-bar-offset) + var(--nav-h)));
  height: var(--about-pin-height, calc(100svh - var(--lang-bar-offset) - var(--nav-h)));
  box-sizing: border-box;
  /* Extra top room under the marquee — pin mode zeros section padding */
  padding: 5.5rem 0 2.25rem;
}

.section--about.is-about-pin-on .about-pin__sticky .wrap {
  width: min(100% - 2.5rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
}

.section--about.is-about-pin-on .about-split {
  gap: 2.75rem;
}


.section--about.is-about-pin-on .section__title {
  font-size: clamp(2.35rem, 5.2vw, 3.55rem);
  margin-bottom: 1.15rem;
  max-width: 18ch;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section--about.is-about-pin-on .section__text {
  font-size: 1.02rem;
  line-height: 1.58;
  max-width: 48ch;
}

.section--about.is-about-pin-on {
  --about-reveal: 0;
}

.section--about.is-about-pin-on .about-mosaic {
  overflow: hidden;
  grid-template-rows: repeat(3, minmax(6.25rem, 9.5vw));
  gap: 0.5rem;
}

.section--about.is-about-pin-on .about-mosaic::before {
  inset: 0.55rem 0 -0.55rem 0.55rem;
  opacity: calc(0.25 + var(--about-reveal) * 0.75);
  transition: none;
}

/* Mosaic clears one cell at a time (blur → sharp) as scroll progresses */
.section--about.is-about-pin-on .about-mosaic__cell {
  --cell-i: 0;
  --cell-n: 6;
  /* Equal slices that finish by progress=1 so the last photo fully clears */
  --cell-start: calc(var(--cell-i) / var(--cell-n));
  --cell-end: calc((var(--cell-i) + 1) / var(--cell-n));
  --cell-reveal: clamp(
    0,
    calc((var(--about-reveal) - var(--cell-start)) / (var(--cell-end) - var(--cell-start))),
    1
  );
}

.section--about.is-about-pin-on .about-mosaic__cell:nth-child(1) { --cell-i: 0; }
.section--about.is-about-pin-on .about-mosaic__cell:nth-child(2) { --cell-i: 1; }
.section--about.is-about-pin-on .about-mosaic__cell:nth-child(3) { --cell-i: 2; }
.section--about.is-about-pin-on .about-mosaic__cell:nth-child(4) { --cell-i: 3; }
.section--about.is-about-pin-on .about-mosaic__cell:nth-child(5) { --cell-i: 4; }
.section--about.is-about-pin-on .about-mosaic__cell:nth-child(6) { --cell-i: 5; }

.section--about.is-about-pin-on .about-mosaic__cell img {
  filter:
    blur(calc((1 - var(--cell-reveal)) * 18px))
    contrast(calc(0.92 + var(--cell-reveal) * 0.13))
    saturate(calc(0.55 + var(--cell-reveal) * 0.33))
    brightness(calc(0.78 + var(--cell-reveal) * 0.22));
  transform: scale(calc(1.08 - var(--cell-reveal) * 0.08));
  opacity: calc(0.45 + var(--cell-reveal) * 0.55);
  transition: none;
  will-change: filter, transform, opacity;
}

.section--about.is-about-pin-on .about-mosaic:hover .about-mosaic__cell img,
.section--about.is-about-pin-on .about-mosaic__cell:hover img {
  filter:
    blur(calc((1 - var(--cell-reveal)) * 18px))
    contrast(calc(0.92 + var(--cell-reveal) * 0.13))
    saturate(calc(0.55 + var(--cell-reveal) * 0.33))
    brightness(calc(0.78 + var(--cell-reveal) * 0.22));
  transform: scale(calc(1.08 - var(--cell-reveal) * 0.08));
}

.section--about.is-about-pin-on .about-stage {
  opacity: 1;
  transform: none;
}

.section--about.is-about-pin-on .about-word {
  display: inline;
  opacity: 0.14;
  filter: blur(2px);
  transition:
    opacity 0.22s ease,
    filter 0.22s ease,
    color 0.22s ease;
  will-change: opacity, filter;
}

.section--about.is-about-pin-on .about-word.is-on {
  opacity: 1;
  filter: none;
}

.section--about.is-about-pin-on .about-stage strong .about-word.is-on {
  color: var(--ink);
}

.section--about.is-about-pin-on .about-split__copy.reveal,
.section--about.is-about-pin-on .about-mosaic.reveal {
  opacity: 1;
  transform: none;
}

/* Compact Who we are when pin is off (mobile / reduced motion) */
@media (min-width: 901px) {
  .section--about:not(.is-about-pin-on) {
    padding: 4.25rem 0 4.5rem;
  }

  .section--about:not(.is-about-pin-on) .about-split {
    gap: 2.75rem;
  }

  .section--about:not(.is-about-pin-on) .section__title {
    font-size: clamp(2.35rem, 5.2vw, 3.55rem);
    margin-bottom: 1.15rem;
    max-width: 18ch;
    line-height: 1.02;
  }

  .section--about:not(.is-about-pin-on) .section__text {
    font-size: 1.02rem;
    line-height: 1.58;
    max-width: 48ch;
  }

  .section--about:not(.is-about-pin-on) .about-mosaic {
    grid-template-rows: repeat(3, minmax(6.25rem, 9.5vw));
    gap: 0.5rem;
  }
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 equal rows: wide cells force a third row (warehouse); keep its height matched */
  grid-template-rows: repeat(3, minmax(7.5rem, 11vw));
  gap: 0.55rem;
  position: relative;
  align-items: stretch;
}

.about-mosaic::before {
  content: "";
  position: absolute;
  inset: 0.85rem -0.85rem -0.85rem 0.85rem;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 0;
}

.about-mosaic__cell {
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--ink);
  min-height: 0;
  height: 100%;
}

.about-mosaic__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  cursor: pointer;
}

.about-mosaic__cell img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.88);
  transition: transform 0.9s var(--ease), filter 0.5s;
}

.about-mosaic__label {
  position: absolute;
  inset: auto 0.55rem 0.55rem;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.55rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
}

.section--about.is-about-pin-on .about-mosaic__label {
  /* Visible while blurred; fades out as that photo clears */
  opacity: calc(1 - var(--cell-reveal));
  transform: translateY(calc(var(--cell-reveal) * 0.35rem));
  transition: none;
}

.section--about:not(.is-about-pin-on) .about-mosaic__label {
  display: none;
}

.about-mosaic:hover .about-mosaic__cell img {
  filter: contrast(1.08) saturate(0.95);
}

.about-mosaic__cell:hover img {
  transform: scale(1.08);
}

/* Wide tiles (eshop + warehouse) — same row height as the rest via 3 equal rows above */
.about-mosaic__cell:nth-child(1) {
  grid-column: 1 / 3;
}

.about-mosaic__cell:nth-child(6) {
  grid-column: 2 / 4;
}

.about-visual {
  margin-top: 2rem;
  overflow: visible;
  min-height: 280px;
  position: relative;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 2px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  filter: contrast(1.06) saturate(0.9);
  transition: transform 0.8s var(--ease);
}

.about-visual:hover img {
  transform: scale(1.03);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(251, 192, 0, 0.16), transparent 55%);
  pointer-events: none;
}

.about-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-left: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.about-points li:hover {
  border-color: var(--gold);
  background: rgba(251, 192, 0, 0.08);
  transform: translateX(4px);
}

.about-points li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* —— Rhythm (how we work) —— */
.section--rhythm {
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.96), #0d0d0d),
    var(--ink);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.section--rhythm .section__label {
  color: var(--gold);
}

.section--rhythm .section__title {
  color: #fff;
  max-width: 22ch;
  font-size: clamp(2.2rem, 4.6vw, 3.25rem);
  line-height: 1.05;
}

.rhythm-head {
  margin-bottom: 2.75rem;
}

.rhythm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.rhythm-step {
  position: relative;
  padding: 1.75rem 1.35rem 1.6rem;
  border-top: 1px solid rgba(251, 192, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%);
  transition: transform 0.4s var(--ease), background 0.4s;
}

.rhythm-step:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(251, 192, 0, 0.1), transparent 60%);
}

.rhythm-step__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.rhythm-step__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.rhythm-step__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  max-width: 36ch;
}

.rhythm-pin,
.rhythm-pin__sticky {
  display: contents;
}

.rhythm-progress {
  display: none;
}

/* Sticky How we work — three scroll beats reveal each step */
.section--rhythm.is-rhythm-pin-on {
  padding: 0;
  height: var(--rhythm-height, auto);
  overflow: visible;
}

.section--rhythm.is-rhythm-pin-on .rhythm-pin {
  display: block;
  height: 100%;
}

.section--rhythm.is-rhythm-pin-on .rhythm-pin__sticky {
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: var(--rhythm-sticky-top, calc(var(--lang-bar-offset) + var(--nav-h)));
  height: var(--rhythm-pin-height, calc(100svh - var(--lang-bar-offset) - var(--nav-h)));
  box-sizing: border-box;
  padding: 1.5rem 0 2rem;
}

.section--rhythm.is-rhythm-pin-on .rhythm-pin__sticky .wrap {
  width: min(100% - 2.5rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
}

.section--rhythm.is-rhythm-pin-on .rhythm-head {
  margin-bottom: 2rem;
}

.section--rhythm.is-rhythm-pin-on .rhythm-head.reveal {
  opacity: 1;
  transform: none;
}

.section--rhythm.is-rhythm-pin-on .rhythm-progress {
  display: block;
  margin-top: 2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.section--rhythm.is-rhythm-pin-on .rhythm-progress > span {
  display: block;
  height: 100%;
  width: calc(var(--rhythm-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--gold), #ffe08a);
  border-radius: inherit;
  transition: width 0.2s linear;
}

.section--rhythm.is-rhythm-pin-on .rhythm-step {
  opacity: 0;
  transform: translateY(1.35rem) scale(0.98);
  filter: blur(4px);
  border-top-color: rgba(251, 192, 0, 0.15);
  background: transparent;
  pointer-events: none;
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease),
    filter 0.65s var(--ease),
    border-color 0.65s var(--ease),
    background 0.65s var(--ease),
    box-shadow 0.65s var(--ease);
}

.section--rhythm.is-rhythm-pin-on .rhythm-step.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(251, 192, 0, 0.1), transparent 60%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.section--rhythm.is-rhythm-pin-on .rhythm-step.is-on:hover {
  transform: translateY(-4px) scale(1);
}

.section--rhythm.is-rhythm-pin-on .rhythm-step.is-active {
  border-top-width: 2px;
}

.section--rhythm.is-rhythm-pin-on .rhythm-step__index {
  transform: translateY(0.35rem);
  opacity: 0.35;
  transition: transform 0.55s var(--ease) 0.05s, opacity 0.55s var(--ease) 0.05s;
}

.section--rhythm.is-rhythm-pin-on .rhythm-step.is-on .rhythm-step__index {
  transform: translateY(0);
  opacity: 1;
}

/* —— Services index —— */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.services-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 6rem;
  height: 2px;
  background: var(--gold);
}

.services-head .section__title {
  max-width: 28ch;
}

.services-head__lede {
  margin: 0;
  max-width: 34ch;
}

.svc-mosaic,
.svc-rail__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* —— Services scroll rail (sticky horizontal scrub) —— */
.services-rail,
.services-rail__pin {
  display: block;
}

.svc-rail {
  position: relative;
}

.svc-rail__hud {
  display: none;
}

.section--services.is-rail-on .services-rail {
  position: relative;
  height: var(--rail-height, 300vh);
}

.section--services.is-rail-on .services-rail__pin {
  position: -webkit-sticky;
  position: sticky;
  top: var(--rail-sticky-top, calc(var(--lang-bar-offset) + var(--nav-h)));
  height: var(--rail-pin-height, calc(100svh - var(--lang-bar-offset) - var(--nav-h)));
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 0 1.1rem;
  box-sizing: border-box;
  overflow: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.section--services.is-rail-on .services-rail__pin .wrap {
  width: min(100% - 1.75rem, var(--max));
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  max-height: 100%;
}

.section--services.is-rail-on .services-head {
  margin-bottom: 0;
  padding-bottom: 0.65rem;
  flex-shrink: 0;
}

.section--services.is-rail-on .services-head .section__title {
  max-width: min(28ch, 100%);
  font-size: clamp(2.15rem, 4.4vw, 3.25rem);
  margin-bottom: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section--services.is-rail-on .svc-rail {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  contain: paint;
  isolation: isolate;
}

.section--services.is-rail-on .svc-rail__track {
  display: flex;
  align-items: stretch;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  width: max-content;
  max-width: none;
  height: 100%;
  transform: translate3d(var(--rail-x, 0px), 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.section--services.is-rail-on .svc-tile {
  /* Pixel width is set by JS (--svc-card-width). % inside max-content
     explodes on iOS Safari and creates sideways page scroll. */
  flex: 0 0 var(--svc-card-width, 22rem);
  width: var(--svc-card-width, 22rem);
  max-width: var(--svc-card-width, 22rem);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  opacity: 0.78;
  transition: opacity 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.section--services.is-rail-on .svc-tile.is-active {
  opacity: 1;
  border-color: rgba(16, 16, 16, 0.22);
  box-shadow: 0 18px 36px -28px rgba(16, 16, 16, 0.4);
}

.section--services.is-rail-on .svc-tile:hover {
  transform: none;
}

.section--services.is-rail-on .svc-tile__media {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
  height: auto;
}

.section--services.is-rail-on .svc-tile__body {
  flex-shrink: 0;
}

.section--services.is-rail-on .svc-rail__hud {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.svc-rail__index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
}

.svc-rail__bar {
  flex: 1 1 auto;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.svc-rail__bar > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(var(--rail-progress, 0));
}

body.is-rtl .svc-rail__bar > span {
  transform-origin: right center;
}

@media (max-width: 760px) {
  /* Rail is off on phones — safe to clip sideways scroll again */
  html {
    overflow-x: clip;
  }

  /* Keep hover transforms quiet if rail ever enables */
  .section--services.is-rail-on .svc-tile:hover,
  .section--services.is-rail-on .svc-tile:hover .svc-tile__media img,
  .section--services.is-rail-on .svc-tile:hover .svc-tile__go {
    transform: none;
  }
}

.svc-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  min-width: 0;
  min-height: 100%;
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s;
}

.svc-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.svc-tile:hover {
  border-color: rgba(16, 16, 16, 0.22);
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -28px rgba(16, 16, 16, 0.45);
}

.svc-tile:hover::after {
  transform: scaleX(1);
}

.svc-tile__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.svc-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
  filter: saturate(0.9) contrast(1.04);
}

.svc-tile:hover .svc-tile__media img {
  transform: scale(1.07);
  filter: saturate(1) contrast(1.06);
}

.svc-tile__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title go"
    ". desc desc";
  gap: 0.35rem 0.85rem;
  padding: 1.15rem 1.15rem 1.35rem;
  align-items: start;
  min-width: 0;
}

.svc-tile__num {
  grid-area: num;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  padding-top: 0.35rem;
}

.svc-tile__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: break-word;
}

.svc-tile__desc {
  grid-area: desc;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: break-word;
}

.svc-tile__go {
  grid-area: go;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 1.05rem;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}

.svc-tile:hover .svc-tile__go {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateX(3px);
}

.section--reach {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.reach-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.15rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(251, 192, 0, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.72);
}

.reach-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 0.75rem;
  max-width: 18ch;
  line-height: 1.1;
}

.reach-band .section__text {
  margin: 0;
  max-width: 52ch;
}

.reach-band__cta {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
  white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}

.reach-band__cta:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}

.service-rows {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.65rem 0.85rem;
  margin: 0 -0.85rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.35s var(--ease), background 0.35s, transform 0.35s;
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.service-row:hover {
  padding-left: 1.35rem;
  background: rgba(251, 192, 0, 0.06);
}

.service-row:hover::before {
  width: 3px;
}

.service-row__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  color: rgba(16, 16, 16, 0.12);
  transition: color 0.3s, transform 0.3s;
}

.service-row:hover .service-row__num {
  color: var(--gold);
  transform: scale(1.05);
}

.service-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.3rem;
  transition: color 0.25s;
}

.service-row:hover .service-row__title {
  color: #000;
}

.service-row__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 48ch;
}

.service-row__arrow {
  font-size: 1.5rem;
  color: var(--ink);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s,
    color 0.35s;
}

.service-row:hover .service-row__arrow {
  transform: translateX(4px);
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: calc(var(--lang-bar-offset) + var(--nav-h) + 3.5rem) 0 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(251, 192, 0, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(16, 16, 16, 0.03), transparent),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero__title {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  letter-spacing: -0.045em;
  max-width: 13ch;
  line-height: 1.02;
}

.page-hero__lede {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.12rem;
  margin-top: 1.15rem;
  line-height: 1.65;
}

.page-hero__body {
  padding-bottom: 2.75rem;
}

.page-hero__media {
  width: 100%;
  height: clamp(240px, 40vw, 460px);
  overflow: hidden;
  position: relative;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.88);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
  animation: hero-drift 20s var(--ease) infinite alternate;
}

body[data-page="about"] .page-hero__media img {
  /* Gears sit toward the right of the panoramic frame */
  object-position: 72% center;
  filter: contrast(1.04) saturate(0.92);
}

.page-hero__media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  z-index: 2;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(242, 242, 240, 0.4) 0%,
    transparent 42%
  );
  pointer-events: none;
  z-index: 1;
}

/* —— Service detail —— */
.detail-block {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 0;
  transition: padding 0.3s var(--ease);
}

.detail-block:hover {
  padding-left: 0.75rem;
}

.detail-block:last-child {
  border-bottom: none;
}

.detail-block h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  position: relative;
}

.detail-block h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.65rem;
  vertical-align: 0.15rem;
}

.detail-block p,
.detail-block li {
  color: var(--muted);
}

.detail-block ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.detail-block li {
  margin-bottom: 0.4rem;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.subnav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
}

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

/* —— Contact —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-layout--enquiry {
  align-items: start;
  gap: 2.75rem;
}

.contact-layout--enquiry .contact-hq {
  margin-top: 0.25rem;
}

.section--contact-top {
  padding-top: calc(var(--lang-bar-offset) + var(--nav-h) + 2.5rem);
  padding-bottom: 3.5rem;
}

/* Contact title scale: page H1 > section H2 > HQ country > office cards */
.section--contact-top .section__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 14ch;
  margin: 0 0 0.85rem;
}

.section--contact-top .contact-form__intro {
  font-size: 1.05rem;
  max-width: 42ch;
}

.section--contact-hq {
  padding-top: 3.5rem;
}

.section--contact-hq .section__intro {
  margin-bottom: 2rem;
}

.section--contact-hq .section__title {
  font-size: clamp(2.05rem, 4.4vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.section--contact-hq .section__text {
  max-width: 52ch;
}

.section--contact-hq .contact-hq {
  margin-top: 0;
}

.section--offices .section__title {
  font-size: clamp(2.05rem, 4.4vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.section--offices .section__intro .section__label {
  margin-bottom: 0.75rem;
}


.contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form__intro {
  margin: 0 0 0.5rem;
  max-width: 40ch;
  color: var(--muted, #5c5c5c);
  line-height: 1.55;
}

.contact-form__sent {
  margin: 0.25rem 0 1rem;
  padding: 0.9rem 1rem;
  background: rgba(251, 192, 0, 0.18);
  border-left: 3px solid var(--gold);
  font-weight: 600;
  color: var(--ink);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(16, 16, 16, 0.14);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  padding: 0.75rem 0.85rem;
  border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(251, 192, 0, 0.28);
}

.contact-form__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.1rem;
}

.contact-form__alt {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #5c5c5c);
}

.contact-form__alt a {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form__alt a:hover {
  color: var(--gold-deep);
}

.contact-info__note {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 16, 16, 0.45);
}

.contact-map-wrap {
  margin-top: 0;
  min-width: 0;
}

.section--contact-map {
  padding-top: 0;
}

.section--contact-map .contact-map,
.section--contact-hq .contact-map {
  min-height: 380px;
  height: 100%;
}

.contact-hq {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 2.5rem 3rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: flex-start;
  padding-top: 0;
  border-top: none;
  min-width: 0;
}

.contact-info .section__label {
  margin: 0;
}

.office-card--hq {
  height: 100%;
}

.office-card--hq a + a {
  display: block;
  margin-top: 0.45rem;
}

@media (max-width: 900px) {
  .contact-hq {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-item h2,
.contact-item h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.contact-item p,
.contact-item a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.contact-item a:hover {
  color: var(--gold-deep);
}

.contact-map {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  background: #e8e6e1;
}

.contact-map::before {
  content: "";
  position: absolute;
  inset: -0.85rem -0.85rem 0.85rem 0.85rem;
  border: 2px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) contrast(1.02);
}

.contact-map__open {
  position: absolute;
  z-index: 2;
  right: 0.85rem;
  bottom: 0.85rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.contact-map__open:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.section--offices {
  padding-top: 0;
}

.warehouse-network {
  margin: 3rem 0 1.5rem;
  padding: 0;
  border: none;
}

.warehouse-network__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.warehouse-network h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.warehouse-network__head p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.network-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  flex-shrink: 0;
}

.network-badges li {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  padding: 0 0 0 0.85rem;
  white-space: nowrap;
}

.network-badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
  border-radius: 50%;
}

.site-grid,
.site-ledger {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(16, 16, 16, 0.12);
}

.site-ledger__legend {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(6.5rem, 0.7fr) minmax(5.5rem, 0.55fr);
  gap: 1rem;
  padding: 0.55rem 0.15rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(16, 16, 16, 0.42);
}

.site-ledger__legend span:nth-child(2),
.site-ledger__legend span:nth-child(3) {
  text-align: right;
}

.site-card,
.site-ledger__row {
  margin: 0;
  padding: 1.05rem 0.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(6.5rem, 0.7fr) minmax(5.5rem, 0.55fr);
  gap: 1rem;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.1);
  transition: background 0.25s var(--ease), padding-inline 0.25s var(--ease);
}

.site-card:hover,
.site-ledger__row:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(16, 16, 16, 0.1);
  background: linear-gradient(90deg, rgba(251, 192, 0, 0.12), transparent 42%);
}

.site-card__place {
  margin: 0;
  min-width: 0;
}

.site-card__city {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.1;
}

.site-card__country {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

.site-card__address {
  display: block;
  margin-top: 0.35rem;
  max-width: 36ch;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(16, 16, 16, 0.62);
}

.site-card__metrics {
  margin: 0;
  display: contents;
}

.site-card__metrics > div {
  text-align: right;
}

.site-card__metrics dt {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(16, 16, 16, 0.4);
}

.site-card__metrics dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.site-card__metrics dd span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 0.2rem;
}

@media (min-width: 721px) {
  .site-ledger .site-card__metrics dt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

body.is-rtl .site-ledger__legend,
body.is-rtl .site-card,
body.is-rtl .site-ledger__row {
  direction: rtl;
}

body.is-rtl .site-ledger__legend span:nth-child(2),
body.is-rtl .site-ledger__legend span:nth-child(3),
body.is-rtl .site-card__metrics > div {
  text-align: left;
}

@media (max-width: 720px) {
  .site-ledger__legend {
    display: none;
  }

  .site-card,
  .site-ledger__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "place place"
      "storage height";
    gap: 0.55rem 1.25rem;
    padding: 1rem 0;
  }

  .site-card__place {
    grid-area: place;
  }

  .site-card__metrics > div:first-child {
    grid-area: storage;
    text-align: left;
  }

  .site-card__metrics > div:last-child {
    grid-area: height;
    text-align: right;
  }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 36rem;
}

.spec-table th,
.spec-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.spec-table th {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(16, 16, 16, 0.04);
  font-weight: 700;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table tbody tr:hover td {
  background: rgba(251, 192, 0, 0.08);
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.office-card {
  padding: 1.35rem 1.25rem 1.4rem;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.55);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.office-card h2,
.office-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.office-card p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.office-card__lines {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.95rem;
}

.office-card__lines p {
  margin: 0;
}

.office-card__kind {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.office-card a {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.office-card a:hover {
  color: var(--gold-deep);
}

/* —— Insights (START /blog pattern) —— */
.insight-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: calc(var(--lang-bar-offset) + var(--nav-h) + 2.5rem) 1.15rem 4.5rem;
}

.insight-main--article {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.insight-rail {
  max-width: 40em;
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.15rem;
}

.insight-eye {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-main > h1,
.insight-article-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
}

.insight-lead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 40em;
  font-size: 1.02rem;
  line-height: 1.55;
}

.insight-list {
  margin-top: 2.25rem;
  display: grid;
  gap: 0.75rem;
}

.insight-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.insight-card:hover {
  border-color: color-mix(in srgb, var(--gold) 55%, var(--line));
  transform: translateY(-2px);
}

.insight-card__media {
  flex: 0 0 140px;
  width: 140px;
  align-self: stretch;
  overflow: hidden;
  background: #e8e6e1;
}

.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.insight-card__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  align-content: start;
}

.insight-card__meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.insight-card__copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-card__more {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.insight-back {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.insight-back:hover {
  color: var(--ink);
}

.insight-article-header {
  margin-bottom: 1.25rem;
}

.insight-hero {
  margin: 0 0 1.75rem;
  width: 100%;
  background: #e8e6e1;
}

.insight-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.insight-article-meta {
  margin-bottom: 1.75rem;
}

.insight-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-byline {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.insight-body h2 {
  margin: 2.1rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.insight-body p,
.insight-body li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.insight-body a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(16, 16, 16, 0.35);
}

.insight-body a:hover {
  text-decoration-color: var(--gold);
  color: var(--ink);
}

.insight-more {
  margin: 2.4rem 0 0;
}

.insight-more h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.insight-more > p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.98rem;
}

.insight-body ul {
  margin: 0.65rem 0 1.15rem;
  padding-left: 1.2rem;
}

.insight-body li + li {
  margin-top: 0.4rem;
}

.insight-practice {
  margin: 2.4rem 0 1.25rem;
  padding: 1.25rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: rgba(251, 192, 0, 0.1);
}

.insight-practice h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.insight-practice p,
.insight-expertise {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.insight-expertise {
  margin: 0 0 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.insight-sources h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.insight-source-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.insight-source-list li + li {
  margin-top: 0.55rem;
}

.insight-source-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  color: var(--ink);
}

.insight-related {
  margin: 2.75rem 0 0;
  padding: 1.5rem 1.25rem;
  background: var(--ink);
  color: #fff;
}

.insight-related h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.insight-related > p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.insight-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.insight-related .btn--ink {
  background: #fff;
  color: var(--ink);
}

.related-insights {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.related-insights a {
  display: block;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.related-insights a:hover {
  background: #fff;
}

.section--home-insights {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 242, 240, 0.95)),
    var(--surface, #f2f2f0);
  border-block: 1px solid rgba(16, 16, 16, 0.06);
}

.home-insights__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.25rem;
}

.home-insights__head .section__title {
  margin: 0;
  max-width: 18ch;
}

.home-insights__all {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(16, 16, 16, 0.25);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s, color 0.2s;
}

.home-insights__all:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.related-insights--home {
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .related-insights--home {
    grid-template-columns: 1fr;
  }

  .home-insights__head .section__title {
    max-width: none;
  }
}

body.is-rtl .related-insights a {
  border-left: 0;
  border-right: 3px solid var(--gold);
}

@media (max-width: 640px) {
  .insight-card {
    flex-direction: column;
  }

  .insight-card__media {
    flex-basis: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* —— CTA band —— */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: min(42rem, 90vw);
  height: min(42rem, 90vw);
  right: 0;
  top: -20rem;
  background: radial-gradient(circle, rgba(251, 192, 0, 0.32), transparent 65%);
  pointer-events: none;
  animation: orb-drift 12s var(--ease) infinite alternate;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: min(18rem, 50vw);
  height: min(18rem, 50vw);
  left: 0;
  bottom: -8rem;
  border: 1px solid rgba(251, 192, 0, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin: 0;
  line-height: 1.05;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0.75rem 0 0;
  max-width: 36ch;
}

/* —— Footer —— */
.site-footer {
  background:
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(251, 192, 0, 0.08), transparent 55%),
    #0a0a0a;
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 0;
  font-size: 0.92rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 192, 0, 0.45), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-grid--legal {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer-email {
  margin: 0.85rem 0 0;
}

.footer-email a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.footer-email a:hover {
  color: var(--gold-bright);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.85rem 0 0;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: var(--gold-bright);
  background: rgba(251, 192, 0, 0.12);
  border-color: rgba(251, 192, 0, 0.35);
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.footer-social__icon {
  display: block;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

/* —— Care Direct group bar (footer bottom strip) —— */
.group-bar {
  background: #0d0b0a;
  border-top: 1px solid #2c2a29;
  font-family: "Figtree", Arial, sans-serif;
}

.group-bar__inner {
  box-sizing: border-box;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-block: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

.group-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.group-bar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.group-bar__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  outline-offset: 3px;
}

.group-bar__logo:focus-visible {
  outline: 2px solid #f5a300;
  outline-offset: 3px;
}

.group-bar__logo img {
  display: block;
  height: 36px;
  width: auto;
}

.group-bar__label {
  color: #ffffff;
  font-weight: 700;
}

.group-bar__link {
  color: #f5a300;
  font-weight: 600;
  text-decoration: none;
  outline-offset: 3px;
}

.group-bar__link:hover {
  color: #f5a300;
  text-decoration: underline;
}

.group-bar__link:focus-visible {
  outline: 2px solid #f5a300;
  outline-offset: 3px;
}

/* —— Legal / about pages —— */
.section--legal {
  padding-top: 2.5rem;
}

/* —— One group / one contract (About) —— */
.section--group-contract {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.group-contract__intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.group-contract__intro h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}

.group-contract__intro p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  line-height: 1.55;
  max-width: 36rem;
}

.group-contract__diagram {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
}

.group-contract__primary {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 1.2rem;
  background: var(--ink);
  color: #f3f2ee;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 28px 50px -36px rgba(16, 16, 16, 0.55);
}

.group-contract__primary::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 35%;
  height: 70%;
  background: radial-gradient(circle, rgba(251, 192, 0, 0.22), transparent 65%);
  pointer-events: none;
}

.group-contract__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

.group-contract__name {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  z-index: 1;
}

.group-contract__role {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(243, 242, 238, 0.78);
  max-width: 28ch;
  z-index: 1;
}

.group-contract__covers {
  margin-top: 0.35rem;
  padding: 0.95rem 1rem 1rem;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  z-index: 1;
}

.group-contract__covers-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 242, 238, 0.7);
}

.group-contract__covers ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.group-contract__covers li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(243, 242, 238, 0.82);
}

.group-contract__covers li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.group-contract__covers li.is-self::before {
  background: var(--gold);
}

.group-contract__covers li.is-mid::before {
  background: #fff;
}

.group-contract__covers strong {
  color: #fff;
  font-weight: 600;
}

.group-contract__site {
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(243, 242, 238, 0.72);
  text-decoration: none;
  z-index: 1;
}

.group-contract__site:hover {
  color: var(--gold);
}

.group-contract__join {
  position: relative;
  width: 3.25rem;
  flex-shrink: 0;
  align-self: stretch;
}

.group-contract__join::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  bottom: 18%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--ink);
}

.group-contract__join::after {
  content: "";
  position: absolute;
  left: 0;
  right: 50%;
  top: 50%;
  height: 2px;
  background: var(--ink);
}

.group-contract__plus {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 6px var(--paper);
}

.group-contract__partners {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  position: relative;
  padding-inline-start: 0.15rem;
}

.group-contract__partners::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 25%;
  bottom: 25%;
  width: 0;
}

.group-contract__partner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.group-contract__partner::before {
  content: "";
  position: absolute;
  inset-inline-end: 100%;
  top: 50%;
  width: 1.7rem;
  height: 2px;
  background: var(--ink);
}

.group-contract__partner:hover {
  border-color: rgba(16, 16, 16, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -24px rgba(16, 16, 16, 0.45);
}

.group-contract__partner h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.group-contract__partner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--muted);
}

.group-contract__ext {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.group-contract__partner:hover .group-contract__ext {
  color: var(--gold-deep);
}

.group-contract__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.group-contract__stats li {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.35;
}

.group-contract__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

body.is-rtl .group-contract__join::after {
  left: 50%;
  right: 0;
}

body.is-rtl .group-contract__partner::before {
  inset-inline-end: auto;
  inset-inline-start: 100%;
  margin-inline-end: 0;
  margin-inline-start: -0.15rem;
}

@media (max-width: 860px) {
  .group-contract__diagram {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .group-contract__join {
    width: 100%;
    height: 2.75rem;
  }

  .group-contract__join::before {
    left: 18%;
    right: 18%;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 2px;
    transform: none;
  }

  .group-contract__join::after {
    display: none;
  }

  .group-contract__partner::before {
    display: none;
  }

  .group-contract__partners {
    gap: 0.65rem;
  }

  .group-contract__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.legal-stack {
  display: grid;
  gap: 1.75rem;
  max-width: 46rem;
}

.legal-block h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.legal-block p,
.legal-block li {
  color: var(--muted, #5c5c5c);
  line-height: 1.65;
}

.legal-block p + p {
  margin-top: 0.75rem;
}

.legal-block code {
  font-size: 0.86em;
  background: rgba(16, 16, 16, 0.06);
  padding: 0.1em 0.35em;
}

.legal-updated {
  margin-top: 1.25rem !important;
  font-size: 0.88rem;
  color: rgba(16, 16, 16, 0.55) !important;
}

/* —— Cookie consent bar —— */
.cookie-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 1200;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 10, 0.96);
  color: #fff;
  border-top: 1px solid rgba(251, 192, 0, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.cookie-bar.is-leaving {
  transform: translateY(110%);
  opacity: 0;
}

.cookie-bar__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-bar__title {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.cookie-bar__text {
  margin: 0;
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-bar__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-bar__btn {
  min-height: 2.5rem;
  padding-inline: 1rem;
  font-size: 0.84rem;
}

.cookie-bar .btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-bar .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
  .cookie-bar__actions {
    width: 100%;
  }

  .cookie-bar__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

body.is-rtl .cookie-bar__inner {
  direction: rtl;
}

/* —— Motion helpers —— */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.8%, -1.2%, 0);
  }
}

/* Hero carousel Ken Burns — visible but smooth (used on active slides) */
@keyframes hero-caption-text-in {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-caption-text-out {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes hero-caption-text-in-rtl {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-caption-text-out-rtl {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes hero-caption-mark-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-caption-mark-out {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@keyframes hero-ken-center {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.22) translate3d(0, 0, 0);
  }
}

@keyframes hero-ken-out {
  from {
    transform: scale(1.22) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.2) translate3d(-3%, -1.8%, 0);
  }
}

@keyframes hero-ken-alt {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.2) translate3d(3%, -1.4%, 0);
  }
}

@keyframes hero-ken-up {
  from {
    transform: scale(1.1) translate3d(0, 1.2%, 0);
  }
  to {
    transform: scale(1.2) translate3d(-1.5%, -2.2%, 0);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.4;
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
    transform-origin: top;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes orb-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-2rem, 1.5rem) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .about-grid,
  .about-split,
  .contact-layout,
  .contact-layout--enquiry,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .section--contact-map .contact-map,
  .section--contact-hq .contact-map {
    min-height: 280px;
  }

  .svc-mosaic,
  .section--services:not(.is-rail-on) .svc-rail__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-split {
    gap: 2rem;
    overflow: hidden;
  }

  .about-mosaic {
    grid-template-rows: repeat(3, minmax(6.5rem, 22vw));
  }

  /* Keep gold frames inside the viewport on narrow screens (Safari overflow) */
  .about-mosaic::before,
  body.is-rtl .about-mosaic::before {
    inset: 0.55rem;
  }

  .about-visual::before {
    inset: 0.75rem;
  }

  .contact-map {
    overflow: hidden;
  }

  .contact-map::before {
    inset: 0.55rem;
  }

  .rhythm-steps {
    grid-template-columns: 1fr;
  }

  .reach-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .warehouse-network__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .offices-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-visual::before,
  .contact-map::before {
    inset: 0.75rem;
  }

  .contact-map iframe {
    min-height: 320px;
  }

  .services-head {
    flex-direction: column;
    align-items: start;
  }

  .service-row {
    grid-template-columns: 3rem 1fr;
  }

  .service-row__arrow {
    display: none;
  }

  /* Tablet: collapse desktop nav — was cramped at 761–900 */
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: calc(var(--lang-bar-offset) + var(--nav-h)) 0 auto;
    background: rgba(242, 242, 240, 0.98);
    color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .nav__cta {
    margin-top: 1rem;
    text-align: center;
  }
}

@media (max-width: 760px) {
  /* Services: one card per row on phones when rail is off */
  .svc-mosaic,
  .section--services:not(.is-rail-on) .svc-rail__track {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .section--services.is-rail-on .services-rail__pin {
    padding: 0.85rem 0 1.1rem;
  }

  .section--services.is-rail-on .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .section--services.is-rail-on .services-head .section__title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .section--services.is-rail-on .services-head__lede {
    font-size: 0.92rem;
    max-width: 40ch;
  }

  .svc-tile__body {
    padding: 1.1rem 1.1rem 1.25rem;
  }

  .svc-tile__title {
    font-size: 1.15rem;
  }

  .svc-tile__desc {
    font-size: 0.95rem;
  }

  .offices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 4.25rem 0;
  }

  .section--reach {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .reach-band {
    padding: 1.5rem 1.25rem;
  }

  .reach-band__cta {
    white-space: normal;
  }

  .wrap,
  .site-header__inner,
  .hero__content,
  .group-bar__inner {
    width: min(100% - 1.75rem, var(--max));
  }

  .lang-bar__inner {
    justify-content: space-between;
    gap: 0.3rem;
    width: min(100% - 1rem, var(--max));
  }

  .lang-bar__back {
    font-size: 0.62rem;
  }

  .lang {
    gap: 0;
    margin-inline-start: 0.2rem;
  }

  .lang a,
  .lang button {
    min-width: 1.5rem;
    padding: 0.16rem 0.2rem;
    letter-spacing: 0.04em;
    font-size: 0.6rem;
  }

  .hero__content {
    padding: calc(var(--lang-bar-offset) + var(--nav-h) + 0.25rem) 0 4.25rem;
    transform: none;
  }

  .hero__panel img {
    object-position: center 35%;
  }

  .hero__dots,
  body.is-rtl .hero__dots {
    left: 0;
    right: 0;
    bottom: 1rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    margin-inline: auto;
    justify-content: center;
  }

  .hero__headline {
    max-width: 14ch;
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .hero__lede {
    max-width: 32ch;
    margin-bottom: 1.25rem;
  }

  .hero__brand-logo {
    width: min(56vw, 220px);
    margin-bottom: 0.9rem;
  }

  .hero__veil {
    background:
      linear-gradient(to top, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.42) 48%, rgba(8, 8, 8, 0.28) 100%),
      linear-gradient(160deg, rgba(8, 8, 8, 0.55) 0%, transparent 55%),
      radial-gradient(ellipse 55% 40% at 80% 12%, rgba(251, 192, 0, 0.18), transparent 58%);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  .marquee {
    padding: 1rem 0;
    min-height: 3rem;
  }

  .marquee__track span {
    font-size: 0.74rem;
  }

  .cta-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero__title {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .wrap,
  .site-header__inner,
  .hero__content,
  .group-bar__inner {
    width: min(100% - 1.25rem, var(--max));
  }

  .lang-bar__inner {
    width: min(100% - 0.7rem, var(--max));
    gap: 0.25rem;
  }

  .lang {
    gap: 0;
    flex-shrink: 0;
    margin-inline-start: 0.15rem;
  }

  .lang a,
  .lang button {
    min-width: 1.35rem;
    padding: 0.14rem 0.14rem;
    letter-spacing: 0.02em;
    font-size: 0.58rem;
  }

  .offices-grid {
    grid-template-columns: 1fr;
  }

  .about-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(5.5rem, 28vw));
  }

  .about-mosaic__cell:nth-child(1),
  .about-mosaic__cell:nth-child(6) {
    grid-column: auto;
  }

  .cta-band {
    padding: 4rem 0;
  }

  .cta-band h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    max-width: none;
  }

  .footer-grid {
    gap: 1.75rem;
  }

  .hero__brand-logo {
    width: min(72vw, 260px);
  }

  .hero__lede {
    font-size: 0.98rem;
  }

  .insight-card__copy {
    padding: 0.9rem 1rem;
  }

  .section__title {
    max-width: none;
  }
}
