/* =========================================================================
   Ben Elmehdi — painted stage
   Black is the stage. Chartreuse (the logo) is the only UI colour.
   Gold, vermilion and ice blue are paint: they only appear as brush strokes.
   ========================================================================= */

:root {
  /* stage */
  --ink: #000;
  --skin: #232428;          /* slate of the body paint, for raised surfaces */
  --bone: #F3EFE8;
  --bone-2: rgba(243, 239, 232, .66);
  --bone-3: rgba(243, 239, 232, .38);
  --line: rgba(243, 239, 232, .14);

  /* brand + pigments */
  --lime: #C6C13C;
  --gold: #D9A645;
  --red: #E3402A;
  --ice: #A9CAD9;

  /* type */
  --f-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --t-md: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-lg: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --t-xl: clamp(2.1rem, 1.4rem + 3vw, 3.8rem);
  --t-2xl: clamp(2.6rem, 1.4rem + 5.4vw, 6.4rem);

  --gutter: clamp(16px, 4.6vw, 76px);
  --ease: cubic-bezier(.2, .75, .1, 1);
  --hdr-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: 80px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-text);
  font-size: var(--t-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.2em; height: 1.2em; flex: none; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: .7em 1.1em; background: var(--lime); color: var(--ink);
  font-family: var(--f-display); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* headings share one voice: heavy, expanded, tight */
h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2 { font-size: var(--t-2xl); font-variation-settings: "wdth" 116; }
h3 { font-size: var(--t-lg); font-variation-settings: "wdth" 108; }

/* ---------- brush-stroke buttons & links ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-hover: var(--bone);
  --btn-fg: var(--ink);
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; gap: .65em;
  padding: 1.15em 2.1em 1.15em 1.75em;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1;
  font-variation-settings: "wdth" 104;
  color: var(--btn-fg);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s;
}
.btn::before, .btn::after {
  content: ""; position: absolute; inset: -4px -8px; z-index: -2;
  background: var(--btn-bg);
  -webkit-mask: url("../brand/brush-a.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-a.svg") center / 100% 100% no-repeat;
  transition: transform .5s var(--ease);
}
.btn::after {
  z-index: -1;
  background: var(--btn-hover);
  -webkit-mask-image: url("../brand/brush-b.svg");
          mask-image: url("../brand/brush-b.svg");
  clip-path: inset(0 100% 0 0);
  transition: clip-path .5s var(--ease);
}
.btn:hover::before { transform: scale(1.04, 1.08) rotate(-.8deg); }
.btn:hover::after, .btn:focus-visible::after { clip-path: inset(0 0 0 0); }
.btn--sm { padding: .85em 1.5em .85em 1.25em; font-size: .9rem; }
.btn--ink { --btn-bg: var(--ink); --btn-hover: var(--skin); --btn-fg: var(--bone); }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: .55em;
  padding-block: .35em;
  font-family: var(--f-display); font-weight: 650; font-size: 1rem;
  font-variation-settings: "wdth" 104;
  text-decoration: none;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.15em; height: .42em;
  background: currentColor;
  -webkit-mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
  clip-path: inset(0 62% 0 0);
  opacity: .9;
  transition: clip-path .5s var(--ease);
}
.link:hover::after, .link:focus-visible::after { clip-path: inset(0 0 0 0); }
.link--wa { color: var(--lime); }

/* lists with painted dashes */
.dashes { display: grid; gap: .55em; }
.dashes li {
  position: relative; padding-left: 1.9em;
  font-family: var(--f-display); font-weight: 500; font-size: var(--t-sm);
  font-variation-settings: "wdth" 98;
  color: var(--bone-2);
}
.dashes li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 1.15em; height: .38em;
  background: var(--lime);
  -webkit-mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
}

/* small paint dabs used as separators */
.dab {
  display: inline-block; flex: none;
  width: .42em; height: .3em;
  background: var(--gold);
  -webkit-mask: url("../brand/brush-b.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-b.svg") center / 100% 100% no-repeat;
}
.dab--red { background: var(--red); }
.dab--ice { background: var(--ice); }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--ink);
}
.loader__mark { width: clamp(64px, 7vw, 96px); height: auto; overflow: visible; }
.js .loader__mark { visibility: hidden; }
.loader__mark path { fill: var(--lime); }

/* language wipe */
.wipe { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 140; pointer-events: none; opacity: 0; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--hdr-h);
  padding-inline: var(--gutter);
  transition: transform .55s var(--ease), background-color .4s, backdrop-filter .4s;
}
.hdr.is-solid { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr.is-hidden { transform: translateY(-105%); }
.hdr__logo { display: block; width: clamp(150px, 13vw, 196px); }
.logo { display: block; width: 100%; height: auto; }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.hdr__nav a, .ftr__col a {
  position: relative;
  font-family: var(--f-display); font-weight: 550; font-size: .95rem;
  font-variation-settings: "wdth" 96;
  text-decoration: none; color: var(--bone-2);
  transition: color .25s;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.5em; height: .45em;
  background: var(--lime);
  -webkit-mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .45s var(--ease);
}
.hdr__nav a:hover, .hdr__nav a.is-current { color: var(--bone); }
.hdr__nav a:hover::after, .hdr__nav a.is-current::after { clip-path: inset(0 0 0 0); }
.hdr__end { display: flex; align-items: center; gap: 22px; }

.lang { display: inline-flex; gap: 2px; font-family: var(--f-display); font-weight: 650; font-size: .85rem; }
.lang button {
  position: relative; padding: .45em .55em;
  color: var(--bone-3); transition: color .25s;
}
.lang button[aria-pressed="true"] { color: var(--bone); }
.lang button[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: .4em;
  background: var(--lime);
  -webkit-mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
}

.hdr__menu { display: none; position: relative; width: 44px; height: 44px; }
.hdr__menu i {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--bone);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.hdr__menu i:nth-of-type(1) { top: 17px; }
.hdr__menu i:nth-of-type(2) { top: 26px; right: 16px; }
.menu-open .hdr__menu i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.menu-open .hdr__menu i:nth-of-type(2) { top: 21px; right: 10px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 85;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 6vh) var(--gutter) 40px;
  background: var(--skin);
  clip-path: circle(0% at calc(100% - 42px) 42px);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 42px) 42px); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__nav { display: grid; gap: .1em; }
.menu__nav a {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 9vw, 3.6rem);
  font-variation-settings: "wdth" 112; line-height: 1.12;
  text-decoration: none;
}
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__tel { font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--bone-2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--hdr-h) + 40px);
  padding-bottom: clamp(56px, 9vh, 120px);
  overflow: hidden;
}
.hero__art {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(64vw, 1400px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(0deg, transparent 0, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(0deg, transparent 0, #000 22%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; transform-origin: 70% 40%; }
.hero__paint { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 1rem + 5.1vw, 6.6rem);
  line-height: .9;
  letter-spacing: -.018em;
  font-variation-settings: "wdth" 112;
  max-width: 9.8em;
  margin-bottom: .42em;
  text-wrap: balance;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .w { display: inline-block; font-variation-settings: "wdth" var(--w, 112); }
.hero__lead { max-width: 36em; font-size: var(--t-md); line-height: 1.45; color: var(--bone-2); margin-bottom: 2em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.hero__hint {
  position: absolute; right: calc(var(--gutter) + 96px); bottom: clamp(30px, 4.6vh, 50px); z-index: 2;
  font-family: var(--f-display); font-size: var(--t-xs); font-weight: 500; color: var(--bone-3);
  font-variation-settings: "wdth" 90;
}
@media (hover: none), (pointer: coarse), (max-width: 900px) { .hero__hint { display: none; } }

/* ---------- paint reveal ---------- */
.paint { position: relative; overflow: hidden; background: transparent; }
.paint img { width: 100%; height: 100%; object-fit: cover; }
.paint__cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.js .paint.is-pending img { opacity: 0; }
.paint.is-painted img { opacity: 1; transition: opacity .6s ease .05s; }

/* ---------- manifesto ---------- */
.manifesto { padding-block: clamp(110px, 20vh, 240px) clamp(90px, 14vh, 180px); }
.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 64px;
  align-items: start;
}
.manifesto__text {
  grid-column: 1 / span 10;
  font-family: var(--f-display);
  font-weight: 560;
  font-size: clamp(1.75rem, .9rem + 3vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  font-variation-settings: "wdth" 94;
  text-wrap: pretty;
}
.manifesto__text .mw { display: inline; }
.manifesto__facts { grid-column: 1 / span 5; display: grid; gap: 22px; padding-top: 12px; }
.manifesto__facts li {
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: var(--t-md); line-height: 1.35; color: var(--bone-2);
}
.manifesto__art { grid-column: 7 / span 6; aspect-ratio: 1404 / 936; }

/* ---------- dome ---------- */
.dome__pin {
  position: relative; height: 100vh; height: 100svh;
  display: grid; justify-items: center; align-content: space-between;
  padding: calc(var(--hdr-h) + 5vh) var(--gutter) 6vh;
  overflow: hidden;
}
.dome__circle { position: absolute; inset: 0; clip-path: circle(14% at 50% 60%); }
.dome__circle picture, .dome__circle img { width: 100%; height: 100%; }
.dome__circle img { object-fit: cover; }
.dome__title {
  position: relative; z-index: 2;
  font-size: clamp(2.4rem, .8rem + 5.8vw, 8rem);
  font-variation-settings: "wdth" 142;
  line-height: .86; text-align: center;
  max-width: 8em;
}
.dome__hint {
  position: relative; z-index: 2;
  font-family: var(--f-display); font-size: var(--t-xs); font-weight: 500; color: var(--bone-3);
}
.dome__body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
  padding-block: clamp(90px, 15vh, 180px);
}
.dome__copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.dome__copy p { max-width: 34em; color: var(--bone-2); }
.dome__lead { font-size: var(--t-md); line-height: 1.45; color: var(--bone) !important; }
.dome__uses-title { font-size: var(--t-sm); font-weight: 700; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--bone-3); margin-top: 8px; }
.dome__copy .dashes { grid-template-columns: repeat(2, minmax(0, auto)); column-gap: 36px; margin-bottom: 14px; }
.dome__copy .dashes li { font-size: var(--t-base); color: var(--bone); }
.dome__gallery { position: relative; padding-bottom: 18%; }
.dome__g1 { aspect-ratio: 3 / 2; width: 88%; margin-left: auto; }
.dome__g2 { aspect-ratio: 3 / 2; width: 56%; position: absolute; left: 0; bottom: 0; box-shadow: 0 0 0 10px var(--ink); }

/* ---------- services ---------- */
.services__head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px 6vw; align-items: end;
  padding-top: clamp(80px, 12vh, 150px);
  padding-bottom: clamp(48px, 7vh, 90px);
}
.services__head p { color: var(--bone-2); max-width: 30em; }
.services__pin { position: relative; }
.track { display: grid; gap: 96px; padding-inline: var(--gutter); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.panel__img { aspect-ratio: 4 / 5; }
.panel__body { display: grid; gap: 22px; justify-items: start; align-content: center; }
.panel__body h3 { font-size: var(--t-xl); font-variation-settings: "wdth" 114; }
.panel__body p { color: var(--bone-2); max-width: 30em; }
.panel__body .dashes { margin-block: 4px 8px; }
.services__index { display: none; }

@media (min-width: 1000px) {
  .js .services__pin.is-horizontal { height: 100vh; height: 100svh; overflow: hidden; }
  .js .is-horizontal .track {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 0;
    width: max-content; height: 100%;
    padding: 0 0 6vh;
  }
  .js .is-horizontal .panel {
    width: 100vw; flex: none;
    grid-template-columns: auto minmax(0, 27rem);
    justify-content: center;
    gap: clamp(40px, 5vw, 96px);
    align-items: center;
    padding-inline: var(--gutter);
  }
  .js .is-horizontal .panel__img { height: 70vh; height: 70svh; width: auto; }
  .js .is-horizontal .services__index {
    position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4.5vh;
    display: flex; flex-wrap: wrap; gap: 6px 28px;
    font-family: var(--f-display); font-weight: 600; font-size: .85rem; font-variation-settings: "wdth" 96;
  }
  .services__index button { position: relative; padding: .3em 0; color: var(--bone-3); transition: color .3s; }
  .services__index button:hover { color: var(--bone-2); }
  .services__index button.is-active { color: var(--bone); }
  .services__index button::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -.2em; height: .42em;
    background: var(--lime);
    -webkit-mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
            mask: url("../brand/brush-line.svg") center / 100% 100% no-repeat;
    clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease);
  }
  .services__index button.is-active::after { clip-path: inset(0 0 0 0); }
  .panel__img { max-width: none; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- events (marquees) ---------- */
.events { position: relative; padding-block: clamp(90px, 15vh, 180px) clamp(80px, 12vh, 150px); overflow: hidden; }
.events__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(36px, 6vh, 72px); }
.events__head h2 { font-size: var(--t-xl); }
.events__head p { max-width: 26em; color: var(--bone-2); }
.marquee { display: flex; overflow: hidden; }
.marquee__inner { display: flex; flex: none; will-change: transform; }
.marquee__track { display: flex; flex: none; align-items: center; gap: .32em; padding-right: .32em; }
.ev {
  font-family: var(--f-display);
  font-weight: 820;
  font-size: clamp(2.6rem, 1rem + 6.6vw, 8.6rem);
  font-variation-settings: "wdth" 128;
  line-height: 1.08;
  letter-spacing: -.015em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .3s;
}
.marquee--thin .ev { font-weight: 260; font-variation-settings: "wdth" 56; color: var(--bone-2); }
.ev:hover, .ev:focus-visible { color: var(--lime); }
.marquee .dab { font-size: clamp(2.6rem, 1rem + 6.6vw, 8.6rem); width: .5em; height: .2em; }
.marquee.is-static .marquee__inner { flex-wrap: wrap; }
.marquee.is-static .marquee__track { flex-wrap: wrap; padding-inline: var(--gutter); }

.ev-card {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: clamp(200px, 17vw, 280px); aspect-ratio: 3 / 4;
  pointer-events: none; overflow: hidden;
  opacity: 0; visibility: hidden;
}
.ev-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- on site ---------- */
.onsite { padding-block: clamp(80px, 12vh, 150px); border-top: 1px solid var(--line); }
.onsite__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 6vw; align-items: end; margin-bottom: clamp(36px, 6vh, 64px); }
.onsite__head h2 { grid-row: span 2; }
.onsite__head p { color: var(--bone-2); max-width: 28em; }
.onsite__head .link { justify-self: start; }
.strip {
  display: flex; gap: clamp(16px, 2vw, 32px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: 12px;
  scrollbar-width: none;
  cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging a, .strip.is-dragging img { pointer-events: none; }
.shot { flex: none; scroll-snap-align: start; overflow: visible; }
.shot img { height: clamp(260px, 50vh, 480px); width: auto; user-select: none; -webkit-user-drag: none; }
.shot .paint__cv { height: clamp(260px, 50vh, 480px); }
.shot figcaption { max-width: 30ch; margin-top: 14px; font-size: var(--t-sm); line-height: 1.4; color: var(--bone-2); }

/* ---------- process ---------- */
.process { padding-block: clamp(90px, 15vh, 180px); background: var(--skin); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.process__media { position: sticky; top: calc(var(--hdr-h) + 4vh); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--hdr-h) - 8vh); }
.process__media .paint { position: absolute; inset: 0; }
.process__media .paint.is-hidden { opacity: 0; transition: opacity .45s; }
.process__steps h2 { margin-bottom: clamp(24px, 5vh, 56px); }
.steps-wrap { position: relative; margin-bottom: 48px; }
.steps__line { position: absolute; left: 1.15rem; top: 0; width: 12px; height: 100%; overflow: visible; }
.steps__line path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.step {
  position: relative;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 22px;
  padding-block: clamp(36px, 8vh, 84px);
  color: var(--bone-3);
  transition: color .45s;
}
.step.is-active, .no-js .step { color: var(--bone); }
.step__n {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  font-family: var(--f-display); font-weight: 750; font-size: 1.25rem;
  color: var(--ink); background: var(--bone-3);
  -webkit-mask: url("../brand/brush-b.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-b.svg") center / 100% 100% no-repeat;
  transition: background-color .45s;
}
.step.is-active .step__n { background: var(--gold); }
.step h3 { font-size: var(--t-lg); margin-bottom: 14px; color: inherit; }
.step p { max-width: 32em; color: inherit; opacity: .85; }

/* ---------- brands ---------- */
.brands { padding-block: clamp(70px, 11vh, 130px); overflow: hidden; }
.brands h2 { font-size: var(--t-sm); font-weight: 600; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--bone-3); margin-bottom: 28px; }
.marquee--brands .marquee__track { gap: .55em; padding-right: .55em; }
.marquee--brands span:not(.dab) {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.8rem, 1rem + 3.2vw, 4.2rem);
  font-variation-settings: "wdth" 70;
  white-space: nowrap; color: var(--bone-2);
}
.marquee--brands .dab { font-size: clamp(1.8rem, 1rem + 3.2vw, 4.2rem); }

/* ---------- contact (the red flood) ---------- */
.contact {
  position: relative; overflow: hidden;
  padding-block: clamp(110px, 17vh, 210px) clamp(90px, 14vh, 170px);
  color: var(--bone);
  transition: color .7s ease, background-color .5s ease;
}
.contact.is-flooded { color: var(--ink); background-color: var(--red); }
.contact.is-flooded .contact__paint { opacity: .45; transition: opacity 1.2s ease; }
.contact__paint { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__intro { display: grid; gap: 28px; }
.contact__intro h2 { font-size: clamp(2.4rem, 1rem + 3.7vw, 5.2rem); font-variation-settings: "wdth" 98; }
.contact__intro > p { font-size: var(--t-md); line-height: 1.45; max-width: 26em; }
.direct { display: grid; gap: 12px; }
.direct a {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-display); font-weight: 650; font-size: var(--t-md);
  font-variation-settings: "wdth" 100;
  text-decoration: none;
}
.direct a:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%; }
.social .i { width: 20px; height: 20px; }

.builder { display: grid; gap: 34px; }
.builder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.builder legend, .field > span, .builder__preview-label {
  display: block; margin-bottom: 14px; padding: 0;
  font-family: var(--f-display); font-weight: 700; font-size: var(--t-sm);
  font-variation-settings: "wdth" 100;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; isolation: isolate; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  position: relative; display: inline-block;
  padding: .7em 1.15em;
  border: 1.5px solid currentColor; border-radius: 3px;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1.1;
  font-variation-settings: "wdth" 100;
  transition: color .3s, border-color .3s;
}
.chip span::before {
  content: ""; position: absolute; inset: -5px -9px; z-index: -1;
  background: currentColor;
  -webkit-mask: url("../brand/brush-a.svg") center / 100% 100% no-repeat;
          mask: url("../brand/brush-a.svg") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .45s var(--ease);
}
.chip input:checked + span { border-color: transparent; color: var(--bone); }
.contact:not(.is-flooded) .chip input:checked + span { color: var(--ink); }
.chip input:checked + span::before { clip-path: inset(0 0 0 0); background: var(--ink); }
.contact:not(.is-flooded) .chip input:checked + span::before { background: var(--lime); }
.chip input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 4px; }

.builder__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.field { display: block; }
.field input, .field select {
  width: 100%; min-height: 50px;
  padding: 10px 2px;
  font: 500 1.05rem/1.2 var(--f-display); font-variation-settings: "wdth" 100;
  color: inherit; background: transparent;
  border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 8px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 28px;
}
.field select option { color: #000; background: #fff; }
.field input::placeholder { color: inherit; opacity: .5; }
.field input:focus-visible, .field select:focus-visible { outline: none; border-bottom-width: 3px; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(var(--cal-invert, 1)); opacity: .8; cursor: pointer; }
.contact.is-flooded .field input[type="date"] { --cal-invert: 0; }

.builder__preview {
  padding: 22px 24px;
  background: rgba(0, 0, 0, .1);
  border-left: 3px solid currentColor;
}
.builder__preview p { white-space: pre-line; font-size: var(--t-base); line-height: 1.5; }
.builder .btn { justify-self: start; }
.contact:not(.is-flooded) .btn--ink { --btn-bg: var(--lime); --btn-hover: var(--bone); --btn-fg: var(--ink); }

/* ---------- footer ---------- */
.ftr { padding-block: clamp(70px, 11vh, 120px) 36px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 48px 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.ftr__brand { display: grid; gap: 22px; align-content: start; }
.ftr__logo { display: block; width: clamp(220px, 24vw, 360px); }
.ftr__brand p { max-width: 28em; color: var(--bone-2); font-size: var(--t-sm); }
.ftr__col { display: grid; gap: 12px; align-content: start; justify-items: start; }
.ftr__col h2 { font-size: var(--t-sm); font-weight: 700; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--bone-3); margin-bottom: 6px; }
.ftr__col a:hover { color: var(--bone); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; font-size: var(--t-sm); color: var(--bone-3); }
.ftr__credit { font-family: var(--f-display); font-weight: 600; font-variation-settings: "wdth" 100; text-decoration: none; color: var(--bone-2); transition: color .25s; }
.ftr__credit:hover, .ftr__credit:focus-visible { color: var(--lime); }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 18px;
  background: var(--lime); color: var(--ink);
  border-radius: 999px;
  font-family: var(--f-display); font-weight: 750; font-size: .95rem; font-variation-settings: "wdth" 100;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .55s var(--ease), opacity .4s, gap .45s var(--ease);
}
.fab .i { width: 26px; height: 26px; }
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
.fab:hover, .fab:focus-visible { gap: 10px; }
.fab:hover .fab__label, .fab:focus-visible .fab__label { max-width: 14em; }
.fab.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }
.js .fab.is-waiting { transform: translateY(150%); }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: block; }
  .hdr__end > .lang { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 68px; }
  .hdr__end { gap: 6px; }
  .hdr__end .btn--sm span { display: none; }
  .hdr__end .btn--sm { padding: .85em 1.05em; }

  .hero { justify-content: flex-end; padding-bottom: 44px; }
  .hero__art {
    inset: 0; width: 100%; height: 72%;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }
  .hero__art img { object-position: 66% 30%; }
  .hero__title { max-width: none; }
  .hero__lead { font-size: var(--t-base); }

  .manifesto__text, .manifesto__facts, .manifesto__art { grid-column: 1 / -1; }
  .manifesto__grid { row-gap: 44px; }

  .dome__body { grid-template-columns: minmax(0, 1fr); }
  .dome__copy .dashes { grid-template-columns: minmax(0, 1fr); }

  .services__head, .onsite__head { grid-template-columns: minmax(0, 1fr); }
  .onsite__head h2 { grid-row: auto; }

  .process__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .process__media {
    position: sticky; top: var(--hdr-h); z-index: 2;
    width: 100%; height: 38svh; aspect-ratio: auto; max-height: none;
    box-shadow: 0 24px 24px -8px var(--skin);
  }
  .process__steps { order: 2; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .builder__fields { grid-template-columns: minmax(0, 1fr); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .dome__title { font-size: clamp(2rem, 9.6vw, 2.6rem); font-variation-settings: "wdth" 118; }
  .dome__g1 { width: 100%; }
  .dome__g2 { width: 64%; }
  .step { grid-template-columns: 2.8rem minmax(0, 1fr); gap: 16px; }
  .steps__line { left: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .loader { display: none; }
  .js .paint.is-pending img { opacity: 1; }
}
