/* ==========================================================================
   Marquee — event agency theme
   Design tokens → base → components → sections → responsive → motion prefs
   ========================================================================== */

:root {
  /* Colour: theatre after dark. Plum velvet, tungsten stage light, lilac haze. */
  --velvet: #1A1020;       /* primary dark background */
  --curtain: #2E1934;      /* secondary dark (enquiry, menu) */
  --tungsten: #FFB547;     /* accent: CTAs, progress, focus */
  --tungsten-hot: #FFCB7A; /* accent hover */
  --haze: #EEEAF2;         /* light background / text on dark */
  --ink: #170F1C;          /* text on light */
  --smoke: #6F6379;        /* muted text on light */
  --smoke-light: #B9AEC2;  /* muted text on dark */
  --line-dark: rgba(238, 234, 242, .14);
  --line-light: rgba(23, 15, 28, .14);
  --error: #FF9E9E;

  /* Type */
  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-mega: clamp(3.5rem, 10.4vw, 11.5rem);
  --fs-h1: clamp(3rem, 7.2vw, 7.5rem);
  --fs-h2: clamp(2.5rem, 5.4vw, 5.5rem);
  --fs-h3: clamp(1.7rem, 2.6vw, 2.6rem);
  --fs-lead: clamp(1.125rem, 1.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --max: 1440px;
  --header-h: 84px;
  --radius-img: 14px; /* one token for every image corner */

  /* Motion */
  --t-fast: 180ms;
  --t-med: 450ms;
  --t-slow: 1000ms;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--velvet);
  color: var(--haze);
  font: 400 var(--fs-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
html, body { overflow-x: clip; } /* safety net; clip (not hidden) keeps position: sticky working */
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.005em;
  text-wrap: balance;
}
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 4px; }
.is-light :focus-visible { outline-color: var(--curtain); }
::selection { background: var(--tungsten); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.is-light { background: var(--haze); color: var(--ink); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: .8em 1.2em;
  background: var(--tungsten); color: var(--ink); border-radius: 999px; font-weight: 600;
  transform: translateY(-200%); transition: transform var(--t-fast);
}
.skip-link:focus { transform: none; }

.section-title { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; }
.muted { color: var(--smoke-light); }
.is-light .muted { color: var(--smoke); }
.placeholder-note {
  display: inline-block; margin-top: 1rem; padding: .35em .8em;
  font-size: .78rem; border: 1px dashed currentColor; border-radius: 999px; opacity: .7;
}

/* ---------- Buttons & links ---------- */
.btn {
  --pad-y: 1.05em; --pad-x: 1.6em;
  display: inline-flex; align-items: center; gap: .7em;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--f-body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform .35s var(--ease);
}
.btn--sm { --pad-y: .8em; --pad-x: 1.25em; font-size: .9375rem; }
.btn--primary { background: var(--tungsten); color: var(--ink); }
.btn--primary:hover { background: var(--tungsten-hot); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--haze); color: var(--ink); border-color: var(--haze); }
.is-light .btn--ghost:hover { background: var(--ink); color: var(--haze); border-color: var(--ink); }
.btn .arrow, .tlink .arrow { width: 1.05em; height: 1.05em; flex: none; transition: transform var(--t-med) var(--ease); }
.btn:hover .arrow, .btn:focus-visible .arrow, .tlink:hover .arrow { transform: translateX(5px); }
.btn[hidden] { display: none; }

.tlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: .15em;
  transition: background-size var(--t-med) var(--ease);
}
.tlink:hover, .tlink:focus-visible { background-size: 100% 1px; }

/* ---------- Image placeholders (stage-light compositions) ---------- */
.ph {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(40% 58% at var(--x, 35%) var(--y, 16%), rgba(255, 181, 71, .78), rgba(255, 181, 71, 0) 70%),
    radial-gradient(36% 50% at var(--x2, 72%) var(--y2, 26%), hsla(var(--h, 318), 72%, 62%, .5), transparent 72%),
    conic-gradient(from calc(180deg + var(--a, 0deg)) at var(--x, 35%) -12%, transparent 0 171deg, rgba(255, 214, 150, .2) 176deg 184deg, transparent 189deg),
    linear-gradient(180deg, #3d2346 0%, #1a1020 72%);
}
.ph::before { /* audience silhouettes */
  content: ""; position: absolute; inset: auto -2% 0; height: 24%;
  background:
    radial-gradient(circle at 50% 100%, #0e0711 14px, transparent 15px) 0 100% / 34px 40px repeat-x,
    radial-gradient(circle at 50% 100%, #150b19 17px, transparent 18px) 17px calc(100% - 14px) / 41px 44px repeat-x,
    linear-gradient(to top, #0e0711 0 30%, transparent 30%);
}
.ph::after { /* film grain */
  content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Placeholder scenes (chosen from the photo brief). Same palette, different compositions. */
.ph--stage::before { /* light beams from a rig, stage edge, no audience */
  inset: 0; height: auto;
  background:
    linear-gradient(to top, #0e0711 0 14%, transparent 14.2%),
    linear-gradient(98deg, transparent 0 30%, rgba(255, 214, 150, .16) 31% 34%, transparent 35%),
    linear-gradient(82deg, transparent 0 62%, rgba(255, 214, 150, .14) 63% 66%, transparent 67%),
    linear-gradient(90deg, transparent 0 47%, rgba(232, 111, 168, .14) 48% 52%, transparent 53%),
    linear-gradient(to bottom, rgba(14, 7, 17, .9) 0 3%, transparent 3.2%);
}
.ph--celebration::before { /* bokeh of fairy lights / candles */
  inset: 0; height: auto; opacity: .9;
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 203, 122, .55) 0 2.2%, transparent 2.6%),
    radial-gradient(circle at 27% 62%, rgba(255, 203, 122, .35) 0 3.4%, transparent 3.8%),
    radial-gradient(circle at 44% 22%, rgba(238, 234, 242, .35) 0 1.8%, transparent 2.2%),
    radial-gradient(circle at 58% 70%, rgba(232, 111, 168, .35) 0 4%, transparent 4.5%),
    radial-gradient(circle at 71% 35%, rgba(255, 203, 122, .45) 0 2.8%, transparent 3.2%),
    radial-gradient(circle at 86% 58%, rgba(238, 234, 242, .3) 0 3.6%, transparent 4%),
    radial-gradient(circle at 92% 18%, rgba(255, 203, 122, .3) 0 1.6%, transparent 2%),
    radial-gradient(circle at 36% 86%, rgba(255, 203, 122, .25) 0 5%, transparent 5.6%);
}
.ph--studio::before { /* plans on a table: soft sheets and a fine grid */
  inset: 0; height: auto;
  background:
    linear-gradient(8deg, transparent 0 38%, rgba(238, 234, 242, .1) 38.2% 60%, transparent 60.2%),
    linear-gradient(-6deg, transparent 0 52%, rgba(255, 203, 122, .1) 52.2% 74%, transparent 74.2%),
    repeating-linear-gradient(90deg, rgba(238, 234, 242, .05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(238, 234, 242, .05) 0 1px, transparent 1px 28px);
}
.ph--open::before { /* horizon, distant rooflines/tents under open sky */
  inset: auto 0 0; height: 34%;
  background:
    linear-gradient(to top, #0e0711 0 40%, transparent 40%),
    radial-gradient(60% 120% at 20% 100%, #150b19 0 40%, transparent 41%),
    radial-gradient(50% 110% at 62% 100%, #120a16 0 42%, transparent 43%),
    radial-gradient(45% 100% at 92% 100%, #150b19 0 40%, transparent 41%);
}
.ph__label {
  position: absolute; left: 1rem; top: 1rem; z-index: 1; max-width: 34ch;
  padding: .45em .75em; border: 1px dashed rgba(238, 234, 242, .4); border-radius: 4px;
  background: var(--velvet); color: var(--smoke-light);
  font: 500 .75rem/1.35 var(--f-body);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 60;
  background: var(--tungsten); transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med), border-color var(--t-med);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: var(--header-h); transition: height var(--t-med) var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
  background: var(--velvet);
  border-bottom-color: var(--line-dark);
}
.site-header.is-scrolled .site-header__inner { height: 64px; }
.menu-open .site-header { background: var(--curtain); border-color: transparent; }

.logo { display: inline-flex; align-items: center; text-decoration: none; font: 800 1.75rem/1 var(--f-display); letter-spacing: .02em; }
.logo img { max-height: 44px; width: auto; }
.nav > .menu { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.nav a { font-weight: 500; text-decoration: none; }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_item > a { background-size: 100% 1px; }
.nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; vertical-align: .2em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  transition: transform var(--t-med) var(--ease);
}
.nav .menu-item-has-children { padding-block: 2rem; margin-block: -2rem; }
.site-header:has(.menu-item-has-children:hover), .site-header:has(.sub-menu :focus-visible) { background: var(--velvet); border-bottom-color: var(--line-dark); }
.nav .sub-menu { /* full-width mega panel for Services */
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 2rem;
  margin: 0; padding: 2rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 2.5rem;
  list-style: none; background: var(--velvet); border-top: 1px solid var(--line-dark); border-bottom: 3px solid var(--tungsten);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.nav .sub-menu a { display: block; padding: .7rem 0; font: 700 1.35rem/1.1 var(--f-display); letter-spacing: .01em; border-bottom: 1px solid var(--line-dark); background: none; }
.nav .sub-menu a:hover, .nav .sub-menu a:focus-visible, .nav .sub-menu .current-menu-item > a { color: var(--tungsten); }
.nav .menu-item-has-children:hover > .sub-menu, .nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s;
}
.nav .menu-item-has-children:hover > a::after, .nav .menu-item-has-children:focus-within > a::after { transform: rotate(225deg) translate(-2px, -2px); }
.site-header__actions { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.icon-phone { width: 1em; height: 1em; flex: none; }

.menu-toggle {
  display: none; align-items: center; gap: .75rem; padding: .6rem 0 .6rem .6rem;
  background: none; border: 0; cursor: pointer; font-weight: 600; position: relative; z-index: 51;
}
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after {
  display: block; width: 26px; height: 2px; background: currentColor; transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.menu-toggle__lines { position: relative; background: transparent; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle__lines::before { top: -4px; }
.menu-toggle__lines::after { top: 4px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--curtain);
  clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}
.mobile-menu { overflow-y: auto; }
.mobile-menu .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1rem; margin: .5rem 0 1.25rem; }
.mobile-menu .sub-menu li a { font: 500 .95rem/1.3 var(--f-body); padding: .45rem 0; color: var(--smoke-light); }
.mobile-menu .menu-item-has-children > a { pointer-events: auto; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .75s var(--ease-io), visibility 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: block; padding: .2rem 0; text-decoration: none;
  font: 800 clamp(2.8rem, 13vw, 4.5rem)/1 var(--f-display);
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  transition-delay: calc(.12s + var(--i, 0) * .06s);
}
.mobile-menu.is-open li a { opacity: 1; transform: none; }
.mobile-menu__foot { display: grid; gap: 1.25rem; }
.mobile-menu__foot .btn { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 7vh, 5.5rem);
}
.hero__media {
  position: absolute; inset: -5%; z-index: -2;
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0);
  will-change: transform;
}
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { /* the follow-spot: darkness everywhere except where the light is */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 68%) var(--my, 38%), rgba(26, 16, 32, 0) 0, rgba(26, 16, 32, .08) 10rem, rgba(26, 16, 32, .6) 26rem, rgba(26, 16, 32, .84) 46rem),
    linear-gradient(to top, rgba(26, 16, 32, .96) 0, rgba(26, 16, 32, .35) 45%, rgba(26, 16, 32, 0) 70%);
}
.hero__content { position: relative; }
.hero__eyebrow { font-weight: 500; color: var(--smoke-light); margin-bottom: 1.25rem; }
.hero__title { font-size: var(--fs-mega); line-height: .86; max-width: 12ch; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.hero__lede { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; color: rgba(238, 234, 242, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero--page { min-height: 78vh; min-height: 78svh; }
.hero--short { min-height: 58vh; min-height: 58svh; }
.hero--page .hero__title, .hero--short .hero__title { font-size: var(--fs-h1); max-width: 16ch; }
.hero .crumbs { margin-bottom: 1.25rem; }

/* Word-split entrance (only with JS + motion allowed) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .split .w > span { transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(.15s + var(--i, 0) * 60ms); }
  .js.is-ready .split .w > span { transform: none; }
  .js [data-enter] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .9s var(--ease) .75s, transform .9s var(--ease) .75s; }
  .js.is-ready [data-enter] { opacity: 1; transform: none; }
}

.hero__media .ph__label { left: auto; right: calc(5% + var(--gutter)); top: calc(5% + var(--header-h) + 1rem); }
.cta__media .ph__label { left: auto; right: var(--gutter); top: calc(14% + 1.5rem); }

/* ---------- Optional homepage hero opening (Customize → Effects; off by default) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .mq-unfold .hero--full { clip-path: inset(21vh 39vw 21vh 39vw round 20px); }
  .js.is-ready .mq-unfold .hero--full { animation: mq-unfold 1.5s cubic-bezier(.65, 0, .35, 1) .12s both; }
  .js .mq-unfold .hero--full .hero__media > img, .js .mq-unfold .hero--full .hero__media > .ph { scale: 1.32; }
  .js.is-ready .mq-unfold .hero--full .hero__media > img, .js.is-ready .mq-unfold .hero--full .hero__media > .ph { scale: 1; transition: scale 2s cubic-bezier(.22, .8, .2, 1) .12s; }
  .js .mq-unfold .hero--full .split .w > span { transition-delay: calc(1.15s + var(--i, 0) * 60ms); }
  .js .mq-unfold .hero--full [data-enter] { transition-delay: 1.6s; }
}
@keyframes mq-unfold {
  0%   { clip-path: inset(21vh 39vw 21vh 39vw round 20px); }
  50%  { clip-path: inset(21vh 5vw 21vh 5vw round 16px); }
  100% { clip-path: inset(0 0 0 0 round 0 0 var(--radius-img) var(--radius-img)); }
}
.elementor-editor-active.mq-unfold .hero--full { animation: none !important; clip-path: none !important; }

/* ---------- Rounded images (one token: --radius-img) ----------
   overflow:hidden + isolation clips transformed children (parallax, zoom, warp canvas)
   to the rounded shape in every engine, including Safari. */
.svc__media, .mcard__media, .gallery__item, .details__media, .side-media, .intro__media,
.index-list__peek, .viewer__art, .case__media, .svc-card {
  border-radius: var(--radius-img); isolation: isolate;
}
.hero { border-radius: 0 0 var(--radius-img) var(--radius-img); }
.mcard__open, .gallery__item [data-warp] { border-radius: var(--radius-img); } /* focus ring follows the corner */
.logos__ph { border-radius: var(--radius-img); }
@media (max-width: 640px) { :root { --radius-img: 10px; } }

/* ---------- Proof / stats ---------- */
.proof { border-top: 1px solid var(--line-dark); padding-block: clamp(3rem, 6vw, 5.5rem); }
.proof__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gutter); }
.stat { border-left: 1px solid var(--line-dark); padding-left: clamp(1rem, 1.6vw, 1.5rem); }
.stat__value { font: 800 clamp(3.25rem, 6.4vw, 6.5rem)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--tungsten); }
.stat__label { margin-top: .75rem; color: var(--smoke-light); max-width: 20ch; }

/* ---------- Intro ---------- */
.intro { padding-block: var(--section); }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.intro__title { grid-column: 1 / span 8; font-size: var(--fs-h2); }
.intro__aside { grid-column: 9 / span 4; display: grid; gap: 1.5rem; justify-items: start; }

/* Optional section photos */
.intro__media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; margin-top: clamp(3rem, 6vw, 5rem); background: var(--curtain); }
.side-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-top: 1rem; max-width: 30rem; background: var(--curtain); }
.intro__media img, .intro__media .ph, .side-media img, .side-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .js .intro__media, .js .side-media { clip-path: inset(8% 6% 8% 6% round var(--radius-img)); transition: clip-path 1.3s var(--ease); }
  .js .intro__media > *, .js .side-media > * { scale: 1.15; }
  .js .intro__media.is-in, .js .side-media.is-in { clip-path: inset(0 round var(--radius-img)); }
  .js .intro__media.is-in > *, .js .side-media.is-in > * { scale: 1; }
}

/* ---------- Image compositions ---------- */
.media-fill { position: absolute; inset: 0; }
.media-fill > img, .media-fill > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.elementor .media-fill > img { height: 100%; max-width: none; }

/* Statement: large editorial image with an overlapping detail photo */
.intro__composition { position: relative; }
.intro__composition.has-inset { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.intro__inset {
  position: absolute; right: 6%; bottom: 0; width: clamp(9rem, 22%, 19rem); aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-img); isolation: isolate; background: var(--curtain);
  box-shadow: 0 0 0 clamp(6px, .7vw, 10px) var(--haze); /* a clean edge where it overlaps the wide image */
}

/* Process: landscape crop, so it doesn't mirror the portrait beside "Why us" */
.side-media--wide { aspect-ratio: 16 / 10; max-width: 34rem; }

/* FAQ: a small supporting detail */
.faq__media { position: relative; aspect-ratio: 3 / 2; max-width: 22rem; margin-top: 1rem; overflow: hidden; border-radius: var(--radius-img); isolation: isolate; background: var(--curtain); }

/* Testimonials: quote set against an asymmetric pair of photos */
.voices__layout.has-media { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.voices__layout.has-media .quote blockquote p { font-size: clamp(1.9rem, 3.4vw, 3.4rem); }
.voices__media { position: relative; padding: 0 0 clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem); }
.voices__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-img); isolation: isolate; background: var(--curtain); }
.voices__photo--small {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3;
  box-shadow: 0 0 0 clamp(6px, .7vw, 10px) var(--velvet);
}

/* Enquiry: atmospheric background imagery; the form card stays solid and in focus */
.enquire { position: relative; isolation: isolate; overflow: hidden; }
.enquire__bg { position: absolute; inset: -10% 0; z-index: -1; opacity: .16; pointer-events: none; filter: saturate(.8); } /* very dark and subtle: the form stays the focus */
.enquire__bg > img, .enquire__bg > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enquire__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--curtain) 0, rgba(46, 25, 52, .4) 55%, var(--curtain) 100%); }
.enquire__bg .ph__label { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .intro__inset, .js .voices__photo, .js .faq__media { clip-path: inset(10% 8% 10% 8% round var(--radius-img)); opacity: 0; transition: clip-path 1.2s var(--ease), opacity .8s var(--ease); }
  .js .intro__inset.is-in, .js .voices__photo.is-in, .js .faq__media.is-in { clip-path: inset(0 round var(--radius-img)); opacity: 1; }
  .js .intro__inset { transition-delay: .25s; }
  .js .voices__photo--small { transition-delay: .2s; }
}
@media (max-width: 959px) {
  .voices__layout.has-media { grid-template-columns: minmax(0, 1fr); }
  .voices__media { max-width: 26rem; }
  .intro__inset { width: 34%; right: 4%; }
}

/* ---------- Gallery ---------- */
.gallery { padding-block: var(--section); }
.gallery__grid { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-auto-flow: dense; gap: clamp(.5rem, 1vw, 1rem); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 16vw, 15rem); }
.gallery__item { position: relative; overflow: hidden; background: var(--curtain); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__grid--4 .gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__grid--3 .gallery__item:not(:first-child) { grid-column: span 2; }
.gallery__grid--2 .gallery__item { grid-column: span 2; grid-row: span 2; }
.gallery__item a { display: block; position: absolute; inset: 0; }
.gallery__item img, .gallery__item .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery__item a:hover img, .gallery__item a:focus-visible img { transform: scale(1.05); }
.gallery__item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 16, 32, .45), transparent 50%); opacity: 0; transition: opacity var(--t-med); }
.gallery__item a:hover::after { opacity: 1; }
.elementor .gallery__item img, .elementor .intro__media img, .elementor .side-media img { height: 100%; max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .gallery__item { clip-path: inset(10% round var(--radius-img)); opacity: 0; transition: clip-path 1.1s var(--ease), opacity .8s var(--ease); }
  .js .gallery__item.is-in { clip-path: inset(0 round var(--radius-img)); opacity: 1; }
  .js .gallery__item:nth-child(2) { transition-delay: .08s; } .js .gallery__item:nth-child(3) { transition-delay: .16s; }
  .js .gallery__item:nth-child(4) { transition-delay: .24s; } .js .gallery__item:nth-child(5) { transition-delay: .32s; }
}

/* ---------- Homepage services grid (3 to 5) ---------- */
.svc-grid { padding-block: var(--section); background: var(--velvet); border-top: 1px solid var(--line-dark); }
.svc-grid__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.svc-grid__head > div { display: grid; gap: 1.25rem; max-width: 46rem; }
.svc-grid__list {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; gap: clamp(.75rem, 1.2vw, 1.25rem);
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(15rem, 21vw, 20rem);
}
.svc-grid__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(26rem, 38vw, 36rem); }
.svc-grid__list--4 .svc-card:first-child, .svc-grid__list--5 .svc-card:first-child { grid-column: span 2; grid-row: span 2; }
.svc-grid__list--4 .svc-card:nth-child(4) { grid-column: span 2; }
.svc-card { position: relative; overflow: hidden; background: var(--curtain); }
.svc-card__media { position: absolute; inset: 0; }
.svc-card__media img, .svc-card__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(26, 16, 32, .94) 0, rgba(26, 16, 32, .55) 38%, rgba(26, 16, 32, 0) 68%); }
.svc-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: .55rem; justify-items: start; padding: clamp(1.25rem, 2vw, 2rem); }
.svc-card__title { font-size: clamp(1.6rem, 2.2vw, 2.3rem); }
.svc-grid__list--3 .svc-card__title, .svc-grid__list--4 .svc-card:first-child .svc-card__title, .svc-grid__list--5 .svc-card:first-child .svc-card__title { font-size: clamp(2.2rem, 3.4vw, 3.6rem); }
.svc-card__link { text-decoration: none; }
.svc-card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.svc-card__link:focus-visible { outline: none; }
.svc-card:has(.svc-card__link:focus-visible) { outline: 2px solid var(--tungsten); outline-offset: 4px; }
.svc-card__line { max-width: 34ch; color: rgba(238, 234, 242, .85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-card__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: .35rem; color: var(--tungsten); font-weight: 600; }
.svc-card__more .arrow { width: 1.05em; height: 1.05em; transition: transform var(--t-med) var(--ease); }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: var(--tungsten); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t-med) var(--ease); }
.svc-card:hover .svc-card__media img, .svc-card:hover .svc-card__media .ph, .svc-card:focus-within .svc-card__media img { transform: scale(1.06); }
.svc-card:hover::after, .svc-card:focus-within::after { transform: scaleX(1); }
.svc-card:hover .svc-card__more .arrow { transform: translateX(5px); }
.elementor .svc-card__media img { height: 100%; max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .svc-card { clip-path: inset(8% 6% 8% 6% round var(--radius-img)); opacity: 0; transition: clip-path 1.1s var(--ease), opacity .8s var(--ease); }
  .js .svc-card.is-in { clip-path: inset(0 round var(--radius-img)); opacity: 1; }
  .js .svc-card:nth-child(2) { transition-delay: .08s; } .js .svc-card:nth-child(3) { transition-delay: .16s; }
  .js .svc-card:nth-child(4) { transition-delay: .24s; } .js .svc-card:nth-child(5) { transition-delay: .32s; }
}
@media (max-width: 959px) {
  .svc-grid__list, .svc-grid__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(16rem, 48vw, 22rem); }
  .svc-grid__list .svc-card:first-child { grid-column: span 2; grid-row: span 1; }
  .svc-grid__list--4 .svc-card:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .svc-grid__list, .svc-grid__list--3 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 22rem; }
  .svc-grid__list .svc-card, .svc-grid__list .svc-card:first-child, .svc-grid__list--4 .svc-card:nth-child(4) { grid-column: auto; grid-row: auto; }
  .svc-grid__head .btn { width: 100%; justify-content: center; }
}

/* ---------- Services: swipe mode (tablet, phone, no-JS, reduced motion) ----------
   Still horizontal: a native scroll-snap track, so touch feels natural and nothing hijacks scrolling. */
.services { position: relative; --track-pad: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.services__pin { padding-block: var(--section); }
.svc-intro { display: grid; gap: 1.25rem; max-width: 36rem; margin-inline: var(--track-pad); }
.svc-intro__title { font-size: var(--fs-h2); }
.svc-intro__hint { display: inline-flex; align-items: center; gap: .6rem; color: var(--tungsten); font-weight: 600; }
.svc-intro__hint .arrow { width: 1.2em; height: 1.2em; }
.svc-intro__hint-desk { display: none; }
.services__track {
  display: flex; align-items: stretch; gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--track-pad);
  padding: clamp(2rem, 4vw, 3rem) var(--track-pad) 1.5rem; scrollbar-width: none;
}
.services__track::-webkit-scrollbar { display: none; }
.services:not(.is-horizontal) .svc { flex: 0 0 min(84vw, 36rem); scroll-snap-align: start; align-content: start; }
.services:not(.is-horizontal) .svc__media { order: -1; aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .services:not(.is-horizontal) .svc__media { aspect-ratio: 4 / 3; } }
.svc-more {
  display: grid; align-content: center; justify-items: start; gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--line-dark); border-top: 3px solid var(--tungsten); background: var(--curtain);
}
.services:not(.is-horizontal) .svc-more { flex: 0 0 min(72vw, 24rem); scroll-snap-align: start; }
.svc-more__title { font: 800 clamp(1.9rem, 3vw, 3rem)/.95 var(--f-display); max-width: 12ch; }

.svc { position: relative; display: grid; gap: 1.25rem; }
.svc__text { display: grid; gap: .8rem; align-content: end; }
.svc__num { font: 700 1.05rem/1 var(--f-display); color: var(--tungsten); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.svc__title { font-size: clamp(2.3rem, 4.6vw, 4.6rem); }
.svc__link { text-decoration: none; }
.svc__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.svc__link:focus-visible { outline: none; }
.svc:has(.svc__link:focus-visible) .svc__media { outline: 2px solid var(--tungsten); outline-offset: 6px; }
.svc__line { font-size: var(--fs-lead); line-height: 1.45; max-width: 30ch; color: rgba(238, 234, 242, .82); }
.svc__cta { justify-self: start; color: var(--tungsten); margin-top: .5rem; }
.svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--curtain); }
.svc__frame { position: absolute; inset: 0; will-change: transform; }
.svc__frame > img, .svc__frame > .ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.svc__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(26, 16, 32, .88) 0, rgba(26, 16, 32, .25) 45%, rgba(26, 16, 32, 0) 70%);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.svc__explore {
  position: absolute; left: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 clamp(1.4rem, 2vw, 1.9rem)/1 var(--f-display); letter-spacing: .01em;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.svc__explore .arrow { width: 1em; height: 1em; transition: transform var(--t-med) var(--ease); }
.svc:hover .svc__frame > *, .svc:focus-within .svc__frame > * { transform: scale(1.06) translate3d(-1%, -1%, 0); }
.svc:hover .svc__overlay, .svc:focus-within .svc__overlay { opacity: 1; }
.svc:hover .svc__explore, .svc:focus-within .svc__explore { opacity: 1; transform: none; }
.svc:hover .svc__explore .arrow { transform: translateX(6px); }
@media (hover: none) {
  .svc__overlay { opacity: .85; }
  .svc__explore { opacity: 1; transform: none; }
  .svc__cta { display: none; }
}

/* Panels open with a mask reveal as they come into view */
@media (prefers-reduced-motion: no-preference) {
  .js .services .svc__media { clip-path: inset(10% 6% 10% 6% round var(--radius-img)); transition: clip-path 1.2s var(--ease); }
  .js .services .svc.is-in .svc__media { clip-path: inset(0 round var(--radius-img)); }
}

/* ---------- Services: pinned horizontal journey (desktop, set by JS) ---------- */
.services.is-horizontal { height: var(--hs-height, 400vh); }
.services.is-horizontal .services__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden; overflow: clip; padding-block: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.services.is-horizontal .svc-intro {
  position: absolute; left: var(--track-pad); top: 50%; z-index: 2; margin: 0;
  width: min(32vw, 28rem); transform: translate3d(var(--hx, 0px), -50%, 0); will-change: transform;
}
.services.is-horizontal .svc-intro__hint-desk { display: inline; }
.services.is-horizontal .svc-intro__hint-touch { display: none; }
.services.is-horizontal .services__track {
  overflow: visible; scroll-snap-type: none; width: max-content; gap: clamp(3rem, 5vw, 6rem);
  padding: calc(var(--header-h) - 20px) var(--gutter) 4.5rem calc(var(--track-pad) + min(32vw, 28rem) + clamp(3rem, 5vw, 6rem));
  transform: translate3d(var(--hx, 0px), 0, 0); will-change: transform;
}
.services.is-horizontal .svc {
  flex: none; width: min(76vw, 70rem); height: min(68vh, 44rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(1.5rem, 3vw, 3rem);
}
.services.is-horizontal .svc-more { flex: none; width: min(30vw, 26rem); height: min(68vh, 44rem); }
.services.is-horizontal .svc__media { aspect-ratio: auto; height: 100%; }
.services.is-horizontal .svc__frame { inset: 0 -9%; }
.services.is-horizontal .svc__text { padding-bottom: .5rem; }
.services.is-horizontal .ph__label { left: calc(17% + 1rem); }
.services__hud {
  display: flex; align-items: center; gap: 1.25rem; margin-inline: var(--track-pad);
  font: 700 1rem/1 var(--f-display); letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.services.is-horizontal .services__hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; margin: 0; }
.services__total { color: var(--smoke-light); }
.services__bar { position: relative; flex: 1; height: 1px; background: var(--line-dark); }
.services__bar span { position: absolute; inset: 0; background: var(--tungsten); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }

/* Cursor bubble (fine pointers only, created by JS) */
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; }
.cursor__dot {
  display: grid; place-items: center; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%; background: var(--tungsten); color: var(--ink);
  font: 700 1.05rem/1 var(--f-display); letter-spacing: .03em;
  transform: scale(0); transition: transform .45s var(--ease);
}
.cursor.is-active .cursor__dot { transform: scale(1); }

/* ---------- Why us ---------- */
.why { padding-block: var(--section); }
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); }
.why__head { position: sticky; top: calc(64px + 2.5rem); align-self: start; display: grid; gap: 1.5rem; }
.why__title { font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
.why__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-light); }
.why__item {
  display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: 1.5rem; align-items: baseline;
  padding-block: clamp(1.25rem, 2.2vw, 1.9rem); border-top: 1px solid var(--line-light);
}
.why__item h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); font-weight: 700; }
.why__item p { color: #43394B; max-width: 46ch; }
.why__close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.why__close p { font: 700 clamp(1.5rem, 2.2vw, 2.1rem)/1.05 var(--f-display); max-width: 24ch; }

/* ---------- Process ---------- */
.process { padding-block: var(--section); border-top: 1px solid var(--line-dark); }
.process__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 7rem); }
.process__head { position: sticky; top: calc(64px + 2.5rem); align-self: start; display: grid; gap: 1.25rem; }
.process__steps { --rail: clamp(3rem, 6vw, 5rem); position: relative; list-style: none; margin: 0; padding: 0 0 0 var(--rail); }
.process__steps::before, .process__steps::after { content: ""; position: absolute; left: 7px; top: 1.2rem; bottom: 1.2rem; width: 1px; background: var(--line-dark); }
.process__steps::after { background: var(--tungsten); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
.step { position: relative; display: grid; gap: .75rem; padding-block: clamp(1.5rem, 3.4vw, 2.75rem); transition: opacity var(--t-med); }
.step::before {
  content: ""; position: absolute; left: calc(var(--rail) * -1); top: calc(clamp(1.5rem, 3.4vw, 2.75rem) + .55rem);
  width: 15px; height: 15px; border-radius: 50%; background: var(--velvet); border: 1px solid var(--smoke-light);
  transition: background-color var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.step__num { font: 700 1.05rem/1 var(--f-display); color: var(--tungsten); letter-spacing: .04em; }
.step__title { font-size: var(--fs-h2); }
.step__text { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; color: var(--smoke-light); }
.js .process__steps.is-tracking { --p: 0; }
.js .process__steps.is-tracking .step { opacity: .35; }
.js .process__steps.is-tracking .step.is-active { opacity: 1; }
.step.is-active::before, .no-js .step::before { background: var(--tungsten); border-color: var(--tungsten); box-shadow: 0 0 0 6px rgba(255, 181, 71, .16); }

/* ---------- Work / case studies ---------- */
.work { padding-block: var(--section); }
.work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.work__head .section-title { max-width: 12ch; }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-top: clamp(4rem, 9vw, 8rem); position: relative; }
.case__media { grid-column: 1 / span 8; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--curtain); }
.case__media img, .case__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__media img, .case:hover .case__media .ph { transform: scale(1.04); }
.case__body { grid-column: 9 / span 4; display: grid; gap: 1rem; justify-items: start; }
.case:nth-of-type(even) .case__media { grid-column: 5 / span 8; order: 2; }
.case:nth-of-type(even) .case__body { grid-column: 1 / span 4; }
.case__meta { color: var(--smoke); font-weight: 500; }
.case__title { font-size: var(--fs-h3); }
.case__title a { text-decoration: none; }
.case__title a::after { content: ""; position: absolute; inset: 0; }
.case__story { font-size: var(--fs-lead); line-height: 1.4; font-style: italic; }
.case__results { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
.case__results div { display: grid; }
.case__results dt { font-size: var(--fs-small); color: var(--smoke); }
.case__results dd { margin: 0; font: 800 2rem/1 var(--f-display); }
.work__empty { margin-top: 3rem; display: grid; gap: 1.5rem; justify-items: start; max-width: 44ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .case__media { clip-path: inset(14% 10% 14% 10% round var(--radius-img)); transition: clip-path 1.3s var(--ease); }
  .js .case__media > * { scale: 1.2; transition: scale 1.8s var(--ease), transform 1.2s var(--ease); }
  .js .case.is-in .case__media { clip-path: inset(0 round var(--radius-img)); }
  .js .case.is-in .case__media > * { scale: 1; }
}

/* ---------- Work: editorial masonry ---------- */
.masonry { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.masonry__list { list-style: none; margin: 0; padding: 0; column-gap: clamp(1rem, 2.2vw, 2.25rem); columns: 3 17rem; } /* no-JS fallback: CSS columns */
.mcard { position: relative; break-inside: avoid; margin: 0 0 clamp(1rem, 2.2vw, 2.25rem); }
.masonry.is-js .masonry__list { columns: auto; position: relative; transition: height .6s var(--ease); }
.masonry.is-js .mcard { position: absolute; top: 0; left: 0; margin: 0; transition: transform .8s var(--ease); }
.mcard[hidden] { display: none; }
.mcard__media { position: relative; overflow: hidden; aspect-ratio: 1 / var(--r, 1.2); background: var(--curtain); }
.mcard__media img, .mcard__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
html:not(.warp-on) .mcard:hover .mcard__media img, html:not(.warp-on) .mcard:hover .mcard__media .ph { transform: scale(1.04); }
.mcard__media::after { content: ""; position: absolute; inset: 0; background: rgba(26, 16, 32, .14); opacity: 0; transition: opacity var(--t-med) var(--ease); pointer-events: none; }
.mcard:hover .mcard__media::after { opacity: 1; }
.elementor .mcard__media img { height: 100%; max-width: none; }
.mcard__open { position: absolute; inset: 0; z-index: 3; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.mcard__open:focus-visible { outline: 2px solid var(--curtain); outline-offset: 4px; }
.gallery__item .mcard__open:focus-visible, .services .mcard__open:focus-visible { outline-color: var(--tungsten); }
.mcard.is-lifted .mcard__media, .gallery__item.is-lifted [data-warp] { opacity: 0; } /* the photo is "in" the viewer */
.mcard__media, .gallery__item [data-warp] { transition: opacity .25s linear; }
@media (prefers-reduced-motion: no-preference) {
  .js .mcard[data-reveal] { opacity: 0; clip-path: inset(8% 5% 0 5% round var(--radius-img)); transition: opacity .9s var(--ease), clip-path 1.1s var(--ease), transform .8s var(--ease); }
  .js .mcard[data-reveal].is-in { opacity: 1; clip-path: inset(0 round var(--radius-img)); }
}
.masonry__more { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); text-align: center; }
.masonry__button { min-width: 15rem; justify-content: center; }
.masonry__button[aria-busy="true"] { opacity: .6; cursor: progress; }
.masonry__status { font-size: var(--fs-small); color: var(--smoke); }
.no-js [data-load-more] { display: none; }
@media (max-width: 640px) {
  .masonry__list { column-gap: .75rem; columns: 2; }
  .masonry__button { width: 100%; }
}

/* ---------- Image viewer (gallery tile → full-screen artwork) ---------- */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; color: var(--haze); }
.viewer::backdrop { background: transparent; }
html:has(dialog[open]) { overflow: hidden; }
.viewer__bg { position: absolute; inset: 0; background: rgba(14, 7, 17, .97); }
html:has(dialog.viewer[open]) .mobile-cta, html:has(dialog.viewer[open]) .cursor { opacity: 0; pointer-events: none; }
.viewer__stage { position: absolute; inset: 0; touch-action: pan-y; }
.viewer__art { position: fixed; overflow: hidden; transform-origin: 0 0; will-change: transform, opacity; background: var(--curtain); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.viewer__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.viewer__art .ph { position: absolute; inset: 0; }
.viewer__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--line-dark); border-radius: 50%; background: var(--velvet); color: var(--haze); cursor: pointer;
  opacity: 0; transition: opacity .3s var(--ease) .15s, border-color var(--t-fast);
}
.viewer.is-open .viewer__btn, .viewer.is-open .viewer__count { opacity: 1; }
.viewer.is-closing .viewer__btn, .viewer.is-closing .viewer__count { opacity: 0; transition-delay: 0s; }
.viewer__btn:hover, .viewer__btn:focus-visible { border-color: var(--tungsten); }
.viewer__btn[hidden] { display: none; }
.viewer__btn svg { width: 20px; height: 20px; }
.viewer__prev { left: 24px; top: 50%; margin-top: -26px; }
.viewer__prev svg { transform: scaleX(-1); }
.viewer__next { right: 24px; top: 50%; margin-top: -26px; }
.viewer__close { top: 20px; right: 24px; font-size: 1.7rem; line-height: 1; }
.viewer__count { position: absolute; left: 50%; bottom: 18px; z-index: 2; margin: 0; transform: translateX(-50%); font: 700 .95rem/1 var(--f-display); letter-spacing: .06em; color: var(--smoke-light); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s var(--ease) .15s; }
@media (max-width: 699px) {
  .viewer__prev, .viewer__next { top: auto; bottom: 14px; margin: 0; width: 48px; height: 48px; }
  .viewer__prev { left: 14px; } .viewer__next { right: 14px; }
  .viewer__close { top: 12px; right: 12px; width: 48px; height: 48px; }
  .viewer__count { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .viewer__btn, .viewer__count { transition: none; } }

/* ---------- Effects layers ---------- */
.warp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.warp-on .svc:hover .svc__frame > *, .warp-on .gallery__item a:hover img { transform: none; }
.gallery__ph { position: absolute; inset: 0; }
.confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 66; }

/* ---------- Voices: logos + testimonials ---------- */
.voices { padding-block: var(--section); }
.logos { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.logos__cell {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.25rem;
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}

/* ---------- Client logos ---------- */
.logos-block { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-dark); }
.logos-block--grid { padding-block: 0 var(--section); border-top: 0; }
.logos-block.is-light { --line-dark: var(--line-light); }
.logos-block__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1.75rem; }
.logos-block__title { font: 500 1rem/1.3 var(--f-body); color: var(--smoke-light); letter-spacing: 0; }
.logos-block.is-light .logos-block__title { color: var(--smoke); }
.logos-block img { width: auto; height: auto; max-height: 46px; max-width: 150px; object-fit: contain; transition: filter var(--t-med), opacity var(--t-med); }
.logos-block.is-mono img { filter: grayscale(1) brightness(0) invert(1); opacity: .72; }
.logos-block.is-mono.is-light img { filter: grayscale(1) brightness(0); opacity: .66; }
.logos-block.is-mono li:hover img, .logos-block.is-mono a:focus-visible img { opacity: 1; }
.logos-block.is-mono.is-light li:hover img, .logos-block.is-mono.is-light a:focus-visible img { filter: none; }
.logos__ph { display: inline-grid; place-items: center; min-width: 120px; padding: .9rem 1.2rem; border: 1px dashed var(--line-dark); border-radius: 4px; color: var(--smoke-light); font-size: .8rem; white-space: nowrap; }
.logos-block a { display: grid; place-items: center; }

.logos-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-strip__rail { display: flex; width: max-content; }
.logos-strip__list { display: flex; align-items: center; gap: clamp(3rem, 6vw, 6rem); margin: 0; padding: 0 clamp(1.5rem, 3vw, 3rem); list-style: none; }
.logos__item { display: grid; place-items: center; min-height: 56px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .logos-strip__rail { animation: mq-logos calc(var(--logo-count, 8) * 3.5s) linear infinite; }
  .logos-strip:hover .logos-strip__rail, .logos-strip:focus-within .logos-strip__rail { animation-play-state: paused; }
}
@keyframes mq-logos { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .logos-strip { -webkit-mask-image: none; mask-image: none; }
  .logos-strip__rail { width: auto; justify-content: center; }
  .logos-strip__list { flex-wrap: wrap; justify-content: center; row-gap: 2rem; }
  .logos-strip__copy { display: none; }
}
.elementor-editor-active .logos-strip__rail { animation: none; }

.quotes { margin-top: clamp(4rem, 8vw, 7rem); }
.quotes__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--gutter); }
.quotes__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 100%; scroll-snap-align: start; margin: 0; display: grid; gap: 2rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 700 clamp(2rem, 4.2vw, 4rem)/1.02 var(--f-display); max-width: 26ch; text-wrap: pretty; }
.quote blockquote p::before { content: "\201C"; color: var(--tungsten); }
.quote blockquote p::after { content: "\201D"; color: var(--tungsten); }
.quote figcaption { display: grid; gap: .2rem; }
.quote figcaption strong { font-weight: 600; }
.quotes__nav { display: flex; gap: .75rem; margin-top: 2rem; }
.quotes__nav[hidden] { display: none; }
.quote .placeholder-note { justify-self: start; }
.quotes__nav button {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: none; border: 1px solid var(--line-dark); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast);
}
.quotes__nav button:hover { border-color: var(--tungsten); }
.quotes__nav .arrow { width: 18px; height: 18px; }
.quotes__nav [data-prev] .arrow { transform: scaleX(-1); }

/* Testimonials: single band + compact quote beside forms */
.voices--single { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line-dark); }
.voices__kicker { font: 600 1rem/1.3 var(--f-body); color: var(--smoke-light); letter-spacing: 0; }
.voices--single .quotes { margin-top: 1.5rem; }
.voices__logos-title { margin-top: clamp(4rem, 8vw, 6rem); }
.logos { list-style: none; padding: 0; margin-bottom: 0; }
.quote--compact { margin-top: 1rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line-dark); gap: 1rem; }
.quote--compact blockquote p { font: 700 clamp(1.35rem, 1.9vw, 1.7rem)/1.15 var(--f-display); max-width: 30ch; }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); }
.faq__head { display: grid; gap: 1.25rem; align-content: start; }
.faq__list { border-bottom: 1px solid var(--line-light); }
.faq__item { border-top: 1px solid var(--line-light); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.5rem; cursor: pointer; list-style: none;
  font: 700 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--f-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: currentColor; transition: transform var(--t-med) var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { padding-bottom: 1.75rem; max-width: 60ch; color: #43394B; }

/* ---------- Final CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 92vh; min-height: 92svh; padding-block: var(--section); }
.cta__media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.cta__media img, .cta__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__media img { object-position: 72% 50%; } /* subject right; the left third stays dark for the headline */
.cta__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 16, 32, .94) 0, rgba(26, 16, 32, .7) 55%, rgba(26, 16, 32, .45) 100%); }
.cta__title { font-size: clamp(3.2rem, 8.2vw, 9rem); line-height: .88; max-width: 14ch; }
.cta__text { margin-top: 1.75rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .cta__title { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .cta.is-in .cta__title { opacity: 1; transform: none; }
}

/* ---------- Enquiry ---------- */
.enquire { background: var(--curtain); padding-block: var(--section); }
.enquire__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); }
.enquire__intro { display: grid; gap: 1.5rem; align-content: start; }
.enquire__title { font-size: var(--fs-h2); }
.enquire__direct { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.enquire__direct a { font-weight: 600; text-decoration: none; }
.enquire__direct a:hover { color: var(--tungsten); }

.enquiry { position: relative; padding: clamp(1.5rem, 3.5vw, 3rem); border-top: 3px solid var(--tungsten); background: var(--velvet); }
.enquiry__progress { display: none; gap: .75rem; margin-bottom: 2rem; }
.enquiry.is-stepped .enquiry__progress { display: grid; }
.enquiry__label { font-size: var(--fs-small); color: var(--smoke-light); }
.enquiry__bar { height: 2px; background: var(--line-dark); position: relative; overflow: hidden; }
.enquiry__bar span { position: absolute; inset: 0; background: var(--tungsten); transform-origin: 0 50%; transform: scaleX(var(--step, .2)); transition: transform var(--t-med) var(--ease); }
.step-panel { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
.enquiry.is-stepped .step-panel { margin-bottom: 0; }
.step-panel[hidden] { display: none; }
.step-panel__legend { padding: 0; margin-bottom: 1.5rem; font: 800 var(--fs-h3)/1 var(--f-display); }
.step-panel__legend:focus { outline: none; }
.step-panel__hint { color: var(--smoke-light); margin: -.75rem 0 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .enquiry.is-stepped .step-panel:not([hidden]) { animation: step-in .55s var(--ease) both; }
}
@keyframes step-in { from { opacity: 0; transform: translate3d(24px, 0, 0); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: .8em 1.25em; border: 1px solid rgba(238, 234, 242, .3); border-radius: 999px;
  cursor: pointer; user-select: none; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip span:hover { border-color: var(--haze); }
.chip input:checked + span { background: var(--tungsten); border-color: var(--tungsten); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--tungsten); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-size: var(--fs-small); color: var(--smoke-light); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; padding: .7em 0; background: transparent; border: 0; border-bottom: 1px solid rgba(238, 234, 242, .32);
  border-radius: 0; font-size: 1.15rem; transition: border-color var(--t-fast);
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--tungsten); box-shadow: 0 1px 0 var(--tungsten); }
.field input::placeholder, .field textarea::placeholder { color: rgba(238, 234, 242, .38); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field-error { min-height: 0; color: var(--error); font-size: var(--fs-small); }
.field-error:empty { display: none; }
.check { display: inline-flex; align-items: center; gap: .65rem; cursor: pointer; margin-top: .5rem; }
.check input { width: 20px; height: 20px; accent-color: var(--tungsten); }
.optional { color: var(--smoke-light); font-weight: 400; }

.enquiry__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 2.25rem; }
.enquiry__nav [data-submit] { margin-left: auto; }
.enquiry__nav [data-next] { margin-left: auto; }
.enquiry__privacy { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--smoke-light); }
.enquiry__status { margin-top: 1rem; color: var(--error); }
.enquiry__status:empty { display: none; }
.enquiry__done { display: grid; gap: 1rem; padding: clamp(1.5rem, 3.5vw, 3rem); border-top: 3px solid var(--tungsten); background: var(--velvet); }
.enquiry__done[hidden] { display: none; }
.enquiry__done h3 { font-size: var(--fs-h3); }
.enquiry__done:focus { outline: none; }
.enquiry.is-busy [data-submit] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.no-js [data-next], .no-js [data-back] { display: none; }
.notice { padding: 1rem 1.25rem; border: 1px solid var(--tungsten); border-radius: 6px; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--section) 2rem; border-top: 1px solid var(--line-dark); }
.footer__big { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-dark); }
.footer__big p { font: 800 var(--fs-h1)/.88 var(--f-display); max-width: 13ch; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: var(--gutter); padding-block: 3rem; }
.footer__cols h2 { font: 600 var(--fs-small)/1 var(--f-body); color: var(--smoke-light); margin-bottom: 1.25rem; letter-spacing: 0; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__cols ul.footer__services { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--tungsten); }
.footer__credits { max-width: 60ch; }
.footer__credits a { color: inherit; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); color: var(--smoke-light); }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* ---------- Service details ---------- */
.details { padding-block: var(--section); }
.details__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.details__text { display: grid; gap: 1.75rem; justify-items: start; }
.details__list { list-style: none; margin: 0; padding: 0; width: 100%; border-bottom: 1px solid var(--line-light); }
.details__list li { position: relative; padding: 1.1rem 0 1.1rem 2.25rem; border-top: 1px solid var(--line-light); font-size: 1.15rem; font-weight: 500; }
.details__list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 14px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.details__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--curtain); position: sticky; top: calc(64px + 2rem); }
.details__media img, .details__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services list + related ---------- */
.services-index, .related { padding-block: var(--section); }
.services-index .index-list, .related .index-list { margin-top: clamp(2.5rem, 5vw, 4rem); }
.index-list--media li { position: relative; }
.index-list__peek {
  position: absolute; left: calc(50% + 2.5rem); top: 50%; width: 200px; aspect-ratio: 4 / 3; overflow: hidden; z-index: 2; pointer-events: none;
  opacity: 0; transform: translate3d(0, -50%, 0) rotate(-3deg) scale(.92);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.index-list__peek img, .index-list__peek .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.index-list__peek .ph__label { display: none; }
@media (hover: none), (max-width: 959px) { .index-list__peek { display: none; } }
@media (hover: hover) and (pointer: fine) {
  .index-list--media a:hover .index-list__peek, .index-list--media a:focus-visible .index-list__peek { opacity: 1; transform: translate3d(0, -50%, 0) rotate(-3deg); }
  .index-list--media .d { transition: opacity var(--t-fast); }
  .index-list--media a:hover .d, .index-list--media a:focus-visible .d { opacity: 0; }
}
.index-list a:hover .t { color: var(--curtain); }

/* ---------- Inner pages ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: var(--fs-small); color: var(--smoke-light); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--haze); }
.prose-section { padding-block: var(--section); }
.prose { max-width: 46rem; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2em; }
.prose h3 { font-size: 1.6rem; margin-top: 1.75em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { color: inherit; text-decoration-color: var(--tungsten); text-underline-offset: .2em; }
.prose img { height: auto; }
.meta-list { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 2rem 0 0; }
.meta-list div { display: grid; gap: .25rem; }
.meta-list dt { font-size: var(--fs-small); color: var(--smoke-light); }
.meta-list dd { margin: 0; font-weight: 600; }
.index-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-light); }
.index-list li { border-top: 1px solid var(--line-light); }
.index-list a {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline;
  padding-block: 1.6rem; text-decoration: none; transition: padding var(--t-med) var(--ease);
}
.index-list a:hover { padding-left: 1rem; }
.index-list .n { font: 700 1rem/1 var(--f-display); color: var(--smoke); }
.index-list .t { font: 800 clamp(1.8rem, 3vw, 3rem)/1 var(--f-display); }
.index-list .d { color: var(--smoke); }
.index-list .arrow { width: 1.2em; height: 1.2em; }

/* ---------- Elementor: let the theme's sections run edge to edge ---------- */
.mq-section.elementor-section, .mq-section.e-con, .mq-section.e-con > .e-con-inner {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --content-width: 100%; --container-max-width: 100%; max-width: 100%; padding: 0; gap: 0;
}
.mq-section.elementor-section > .elementor-container { max-width: none; }
.mq-section .elementor-column > .elementor-widget-wrap { padding: 0; }
[data-widget_type^="marquee-"] { --kit-widget-spacing: 0px; margin-block-end: 0 !important; width: 100%; }
[data-widget_type^="marquee-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor .svc__frame > img, .elementor .case__media img, .elementor .cta__media img, .elementor .hero__media img,
.elementor .details__media img, .elementor .index-list__peek img { height: 100%; max-width: none; }
.elementor .hero__media img, .elementor .cta__media img { width: 100%; }
.elementor-editor-active .services { height: auto !important; }
.elementor-editor-active .services .services__track { transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  .header-phone span { display: none; }
  .header-phone .icon-phone { width: 1.25em; height: 1.25em; }
}
@media (max-width: 1100px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  :root { --header-h: 68px; }
  .nav, .header-cta, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .no-js .nav { display: block; }
  .no-js .menu-toggle { display: none; }
  .intro__title, .intro__aside { grid-column: 1 / -1; }
  .why__grid, .process__grid, .faq__grid, .enquire__grid { grid-template-columns: minmax(0, 1fr); }
  .why__head, .process__head { position: static; }
  .details__grid { grid-template-columns: minmax(0, 1fr); }
  .details__media { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(8rem, 30vw, 13rem); }
  .gallery__grid .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__grid--4 .gallery__item:nth-child(4) { grid-column: span 2; }
  .gallery__grid--3 .gallery__item:not(:first-child) { grid-column: auto; }
  .intro__media { aspect-ratio: 16 / 10; }
  .side-media { max-width: none; aspect-ratio: 4 / 3; }
  .case__media, .case__body,
  .case:nth-of-type(even) .case__media, .case:nth-of-type(even) .case__body { grid-column: 1 / -1; order: 0; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .index-list a { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .index-list .d { display: none; }
  .mobile-cta {
    display: flex; gap: .6rem; position: fixed; left: 1rem; right: 1rem; z-index: 40;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: translateY(160%); transition: transform .5s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { --pad-x: 1.1em; min-width: 0; justify-content: center; box-shadow: 0 10px 30px rgba(14, 7, 17, .45); }
  .mobile-cta .btn--primary { flex: 1; }
  .mobile-cta__call { background: var(--velvet); color: var(--haze); border-color: var(--line-dark); }
}
@media (max-width: 640px) {
  .hero__media .ph__label { display: none; }
  .hero__title { font-size: clamp(3.1rem, 15.5vw, 5.5rem); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .why__item { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .enquiry__nav .btn { flex: 1 1 auto; justify-content: center; }
  .enquiry__nav [data-next], .enquiry__nav [data-submit] { margin-left: 0; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__cols ul.footer__services { grid-template-columns: minmax(0, 1fr); }
  .svc__media { aspect-ratio: 4 / 5; }
  .cta__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   Reduced motion: keep every state change, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__media, .cta__media { transform: none !important; }
}
