/* ==========================================================================
   PREPRODUCTION - design system ported from the Altrum template
   Structure:
   01 Tokens
   02 Reset & base typography
   03 Layout primitives
   04 Buttons
   05 Navigation
   06 Hero / CTA banner
   07 About
   08 Services
   09 Cases
   10 FAQ
   11 Footer
   12 Loader & motion utilities
   13 Responsive - 991 / 767 / 479
   ========================================================================== */

/* 01 - TOKENS ============================================================= */

/* Random Grotesque, Spacious width (RandomMaerks) - 2026-10-07 swapped in for
   the Standard cut. Same weight map as before: every font-weight in this file
   keeps its value. Spacious has no ExtraBold, so Bold also answers 800 (as the
   Standard cut did) and 900 now gets the real Black. Book is the 400. */
@font-face { font-family: "Random Grotesque"; src: url("../fonts/RG-SpaciousLight.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Random Grotesque"; src: url("../fonts/RG-SpaciousBook.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Random Grotesque"; src: url("../fonts/RG-SpaciousMedium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Random Grotesque"; src: url("../fonts/RG-SpaciousSemibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Random Grotesque"; src: url("../fonts/RG-SpaciousBold.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Random Grotesque"; src: url("../fonts/RG-SpaciousBlack.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* palette */
  /* Client-specified: the canvas is true black and every surface that lifts off
     it - section panels, the menu, the masks - is the same #0E0E0E. One value
     for all of them, so no surface reads as a second colour; the step off the
     canvas is deliberately slight. */
  --c-dark:        #000000;   /* page canvas          */
  --c-panel:       #0e0e0e;   /* lifted panel surface */
  --c-panel-deep:  #0e0e0e;   /* menu / mask surface  */
  --c-warm:        #fcf5ef;   /* primary ink on dark  */
  --c-accent:      #810304;   /* burgundy - single accent */
  --c-cool:        #d3e5ef;   /* secondary, quiet text */

  --c-ink:         var(--c-warm);
  --c-muted:       rgb(211 229 239 / .55);
  --c-muted-soft:  rgb(211 229 239 / .35);
  --c-hairline:    rgb(252 245 239 / .15);
  --c-hairline-2:  rgb(252 245 239 / .30);

  /* type */
  --font-primary: "Random Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  --font-h1:      9rem;
  --font-h2:      3rem;
  --font-h3:      1.9rem;
  --font-h4:      1.4rem;
  --font-h5:      1.2rem;
  --font-h6:      .75rem;
  --font-body:    16px;
  --font-work:    1rem;
  --font-field:   .8rem;

  --page-title:   4rem;
  --work-title:   14rem;
  --cta-title:    6rem;
  --thumb-title:  2.2rem;

  --lh-tight:     1.1;
  --lh-tighter:   .85;
  --lh-para:      1.3;

  /* metrics */
  --container:    1400px;
  --side-pad:     2%;
  --radius-lg:    50px;
  --radius-md:    20px;
  --radius-sm:    14px;
  --radius-xs:    10px;

  --div-xs:       10px;
  --div-s:        30px;
  --div-m:        50px;
  /* The space a section puts between itself and the block on the other side of
     it. `.section` spends it as padding; the footer's plus row, which opens a
     block without being a section, takes it as a top margin - so a join reads
     the same whether or not a `<section>` happens to sit on both sides of it. */
  --block-gap:    150px;
  /* The lead-in under the footer's plus row - see `.plus-row`. */
  --plus-band:    50px;
  --div-l:        60px;
  --div-xl:       70px;
  --div-xxl:      100px;

  /* motion - ported 1:1 from the Altrum IX3 timelines.
     Webflow ease ids map to GSAP curves: 1 power1.in, 2 power1.out,
     3 power1.inOut, 8 power3.out, 30 sine.inOut. The menu wedge uses the
     template CustomEase "M0,160 C112,160 32,0 160,0". */
  --ease:         cubic-bezier(.5, 1, .89, 1);    /* power1.out  - default */
  --ease-in:      cubic-bezier(.11, 0, .5, 0);    /* power1.in            */
  --ease-inout:   cubic-bezier(.45, 0, .55, 1);   /* power1.inOut         */
  --ease-out3:    cubic-bezier(.25, 1, .5, 1);    /* power3.out           */
  --ease-sine:    cubic-bezier(.37, 0, .63, 1);   /* sine.inOut           */
  --ease-menu:    cubic-bezier(.7, 0, .2, 1);     /* template CustomEase  */
  --ease-thumb:   cubic-bezier(.32, .94, .6, 1);  /* a-252/a-253 mask slide */

  --dur:          .3s;    /* hover default            */
  --dur-xs:       .2s;    /* icon / number rolls      */
  --dur-s:        .25s;   /* text rolls               */
  --dur-l:        .4s;    /* line wipes               */
  --dur-menu:     .6s;    /* menu panel               */
  --dur-thumb:    .5s;    /* service hover thumbnail  */
}

/* 02 - RESET & BASE TYPOGRAPHY =========================================== */

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: var(--c-dark);
  color: var(--c-ink);
  font-family: var(--font-primary);
  font-size: var(--font-body);
  font-weight: var(--fw-500);
  line-height: var(--lh-tight);
  letter-spacing: -.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--fw-600); }
h1 { font-size: var(--font-h1); line-height: var(--lh-tight); font-weight: var(--fw-500); }
h2 { font-size: var(--font-h2); line-height: var(--lh-tight); }
h3 { font-size: var(--font-h3); }

p {
  margin: 0 0 10px;
  opacity: .7;
  font-size: var(--font-work);
  line-height: var(--lh-para);
  letter-spacing: -.5px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; border: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--c-accent); color: var(--c-warm); }

:focus-visible {
  outline: 2px solid var(--c-cool);
  outline-offset: 3px;
  border-radius: 2px;
}

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 03 - LAYOUT PRIMITIVES ================================================= */

.container {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 11;
  padding: var(--block-gap) var(--side-pad);
  background-color: var(--c-dark);
}
.section--clients   { padding-bottom: var(--div-m); }
/* The gap under "©Обрані роботи" is this padding alone - the strip of cases
   below carries none of its own - so it was reading as a full section break
   between the title and the work it titles. */
.section--cases-top { padding-top: 150px; padding-bottom: var(--div-s); }
.section--cases     { padding: 0; overflow: hidden; }
.section--flush-top { padding-top: 0; }
/* Enough to lift the last line off the bottom edge, and no more. The desktop
   footer ends on the contact column - mail, phone, copyright beside it - and
   the sticky column's box finished exactly at the page bottom, so that column
   read as cut off rather than as finished. This is a margin, not a gap to a
   next block; anything section-sized here is scrollable emptiness under a line
   that reads as an ending, which is what the 80px at <=991px was. There the
   copyright moves to the end of the footer and is the page's last line, so it
   stays flush - see the touch block. */
.section--footer    { padding-top: 0; padding-bottom: var(--div-s); }

.panel {
  padding: 60px;
  border-radius: var(--radius-xs);
  background-color: var(--c-panel);
}

.divider-xs  { height: var(--div-xs); }
.divider-s   { height: var(--div-s); }
.divider-m   { height: var(--div-m); }
.divider-xl  { height: var(--div-xl); }
.divider-xxl { height: var(--div-xxl); }
.margin-30   { margin-top: var(--div-s); }

/* section eyebrow row: the label opens it, the edition closes it opposite.
   This was a six column grid with the edition parked in column 4 - middle of
   the row, opposite nothing - and the arrow alone at the right edge. The
   relationship the row wants is two ends of one line, which a fixed column
   count cannot hold across breakpoints, so it is a flex row instead.

   `order` is what makes one rule serve every section: the about row writes the
   edition before the label in the markup, the other five write it after, and
   ordering them here means neither the markup nor a variant class has to care.
   The auto margin on the label is what pushes everything past it to the far
   end, so the edition sits against the right edge with the arrow trailing it -
   a right cluster answering the plus-and-label cluster on the left. */
.title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--c-hairline);
}
.title-row__label   { order: 0; margin-right: auto; }
/* The services row lost its label, and with it the element that was pushing
   the edition and the arrow to the far side. Nothing else changes: the two
   survivors keep their own order. */
.title-row--bare    { justify-content: flex-end; }
.title-row__edition { order: 1; }
.title-row__mark    { order: 2; }

.title-flex {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Type scale, the same in every block:
   1. .top-text      - block name and ©Розділ NN: small caps line
   2. .title-section - the block heading: large, caps
   3. .title-md      - a lead line under the heading
   4. item titles    - client / service / FAQ question / case names
   5. body text */
.top-text {
  margin-bottom: 0;
  font-size: .8125rem;
  font-weight: var(--fw-500);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.top-text--muted { opacity: .5; }

.plus {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  opacity: .7;
  transition: opacity var(--dur) var(--ease);
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background-color: currentColor;
  transform: translateY(-50%);
}
.plus::after { transform: translateY(-50%) rotate(90deg); }
.plus--quiet { opacity: .4; }

.mark-arrow {
  width: 11px;
  height: 11px;
  opacity: .5;
}

.title-lg {
  margin: 0;
  font-size: var(--work-title);
  line-height: var(--lh-tighter);
  letter-spacing: -7px;
}
.title-section {
  width: 100%;
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: var(--fw-600);
  line-height: var(--lh-tighter);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.title-section__count {
  position: relative;
  top: -10px;
  left: 10px;
  color: rgb(252 245 239 / .45);
  font-size: var(--font-h3);
  font-weight: var(--fw-500);
  letter-spacing: -1px;
  vertical-align: super;
}
.title-md {
  font-size: var(--page-title);
  font-weight: var(--fw-600);
  line-height: var(--lh-tight);
  letter-spacing: -.08vw;
}
.title-md--top { margin-top: var(--div-s); }
/* The footer claim sits in half a grid column under the logo, not across a
   full section like the FAQ heading, so it drops one step down the scale.
   `--font-h2` is redeclared at 991 / 767 / 479 too, so it keeps stepping. */
.title-md--footer { font-size: var(--font-h2); }

.grid-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-title--4 { grid-template-columns: repeat(4, 1fr); align-items: end; }
.grid-title--4 > .title-section { grid-column: 1 / 4; }
.grid-title--4 > .footer-card { grid-column: 4 / 5; }

.sticky-col {
  position: sticky;
  top: 100px;
  max-width: 90%;
}

.body-text {
  color: rgb(252 245 239 / .70);
  font-size: var(--font-work);
  font-weight: var(--fw-500);
  line-height: var(--lh-para);
  letter-spacing: -.7px;
}
.body-text--lg { font-size: var(--font-h4); }

/* 04 - BUTTONS =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--font-work);
  cursor: pointer;
}
.btn__arrow {
  width: 9px;
  height: 9px;
  opacity: .55;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn__labels {
  position: relative;
  height: 19px;
  overflow: hidden;
  letter-spacing: -.5px;
}
.btn__label {
  display: block;
  transition: transform var(--dur-s) var(--ease);
}
.btn__label .ch {
  display: inline-block;
  transition: transform var(--dur-s) var(--ease);
  transition-delay: calc(var(--i) * var(--stagger, 0s));
}
.btn__label.is-split { transform: none !important; }
/* i-aac5a765 is disabled on touch breakpoints; gating on hover capability
   also stops the roll sticking after a tap. */
@media (hover: hover) {
  .btn:hover .btn__label { transform: translateY(-101%); }
  .btn:hover .btn__label.is-split .ch { transform: translateY(-101%); }
}
.btn:hover .btn__arrow { opacity: 1; transform: translate(2px, -2px); }

.btn--lead .btn__labels { order: -1; }

.btn--fill {
  padding: 13px 22px 13px 20px;
  border-radius: 60px;
  background-color: var(--c-accent);
  color: var(--c-warm);
}
.btn--fill .btn__arrow { opacity: .8; }
.btn--fill:hover { background-color: #9a0405; }

/* 05 - NAVIGATION ======================================================== */

.nav-blur {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 110px;
  pointer-events: none;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  -webkit-mask-image: linear-gradient(#000 50%, transparent 100%);
  mask-image: linear-gradient(#000 50%, transparent 100%);
}

.nav-root {
  position: fixed;
  inset: 0 0 auto;
  z-index: 999;
}

.navbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  place-items: center stretch;
  gap: 10px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 30px var(--side-pad);
}

.logo {
  position: relative;
  z-index: 20;   /* above .menu-panel (10), same tier as .nav-tail */
  display: flex;
  align-items: center;
}
.logo__img {
  display: block;
  width: auto;
  height: 28px;
  transition: opacity .4s var(--ease);
}
.logo:hover .logo__img { opacity: .72; }
.logo--footer .logo__img { height: 42px; }

/* Animated footer wordmark - it replaces the still image in the footer at every
   width. The clip is the mark rendered on absolute black, so `screen` drops the
   black against whatever the footer is painted with, the same composite the
   loader uses. */
.logo__motion {
  display: none;
  width: auto;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* The footer wordmark plays; the still image steps aside for it. Height is set
   from the clip's own geometry rather than copied from the image: the resolved
   frame fills 286 of the video's 368 rows, so 54px of video draws the mark at
   the same 42px the still one did.

   The background colour is what makes `screen` work. `.logo` carries
   `z-index: 20`, which makes it a stacking context, and a blend mode only
   reaches the backdrop inside its own stacking context - against an empty one
   the clip's black stayed black and the mark sat in a visible box. Painting the
   link with the page colour it is sitting on gives the blend the same backdrop
   it would have had without the isolation.

   The swap itself is gated on `html.js`, because the clip is started - and its
   poster attached - from script. Without script the still image has to stay, so
   it is what the rule hides rather than something CSS hides on its own. */
.logo--footer {
  background-color: var(--c-dark);
  isolation: isolate;
}
html.js .logo--footer .logo__img { display: none; }
html.js .logo--footer .logo__motion { display: block; height: 54px; }

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  grid-column: 2 / 4;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: var(--font-work);
}
.nav-link__mask {
  position: relative;
  height: 19px;
  padding-bottom: 3px;
  overflow: hidden;
}
.nav-link__text {
  display: block;
  font-size: var(--font-work);
  font-weight: var(--fw-500);
  letter-spacing: -.5px;
  transition: transform var(--dur-s) var(--ease) .1s;
}
/* Fallback for un-split text (no JS): the whole label rolls as one block. */
.nav-link:hover .nav-link__text,
.nav-link.is-active .nav-link__text { transform: translateY(-101%); }

/* Split-char version - Altrum rolls each glyph with a .15s spread. */
.nav-link__text .ch {
  display: inline-block;
  transition: transform var(--dur-s) var(--ease);
  transition-delay: calc(.1s + var(--i) * var(--stagger, 0s));
}
.nav-link__text.is-split { transform: none !important; }
.nav-link:hover .nav-link__text.is-split .ch,
.nav-link.is-active .nav-link__text.is-split .ch { transform: translateY(-101%); }

.nav-link__rule {
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 1px;
  background-color: var(--c-hairline-2);
}
.nav-link__rule { overflow: hidden; }
.nav-link__rule::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  height: 1px;
  background-color: var(--c-ink);
  transform: translateX(-110%);
  transition: transform var(--dur) var(--ease) .1s;
}
.nav-link:hover .nav-link__rule::after,
.nav-link.is-active .nav-link__rule::after { transform: translateX(0); }

.nav-link__count {
  margin-top: -6px;
  margin-left: 3px;
  opacity: .6;
  font-size: var(--font-h6);
}

.nav-tail {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.burger {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger__lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50px;
  height: 15px;
}
.burger__line {
  width: 100%;
  height: 2px;
  background-color: var(--c-ink);
  transition: transform var(--dur-xs) var(--ease);
}
/* Altrum fires the line move at position .2 of the .6s menu timeline and
   converges them into one bar - there is no rotation in the template. */
.is-menu-open .burger__line { transition-delay: .2s; }
.is-menu-open .burger__line:first-child { transform: translateY(6px); }
.is-menu-open .burger__line:last-child  { transform: translateY(-6px); }

.menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 10;
  display: flex;
  width: 40vw;
  height: 100vh;
  height: 100dvh;
  transform: translateX(100%);
  transition: transform var(--dur-menu) var(--ease);
  visibility: hidden;
}
.is-menu-open .menu-panel { transform: translateX(0); visibility: visible; }

.menu-panel__skew {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  width: 100px;
  height: 100%;
  overflow: hidden;
  transition: width var(--dur-menu) var(--ease-menu);
}
.is-menu-open .menu-panel__skew { width: 0; }
.menu-panel__skew::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 235%;
  height: 150%;
  background-color: var(--c-panel-deep);
  transform: skew(0deg, -85deg) translate(0, -50%);
}

.menu-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 15vh 5.2vw 40px;
  background-color: var(--c-panel-deep);
  overflow-y: auto;
}

.menu-list { display: flex; flex-direction: column; gap: 3px; }

.menu-link {
  display: block;
  width: 100%;
  font-size: var(--font-h2);
  letter-spacing: -2px;
}
.menu-link__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 6px 0;
  overflow: hidden;
}
.menu-link__arrow {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  opacity: .6;
}
.menu-link__text { display: block; }

/* The template disables this whole hover timeline below 992px
   (i-5e278336: dont-animate on medium/small/tiny), and hides the arrow with
   it - so the arrow and the resting label offset are desktop-only. */
@media (hover: hover) and (min-width: 992px) {
  .menu-link__arrow {
    opacity: 0;
    transform: translateY(-5px) rotate(40deg) scale(.6);
    transition: transform var(--dur-xs) var(--ease-sine), opacity var(--dur-xs) var(--ease-sine);
  }
  .menu-link:hover .menu-link__arrow {
    opacity: .6;
    transform: translateY(0) rotate(0deg) scale(1);
    transition-delay: .31s;
  }

  /* At rest the label sits over the (invisible) arrow; on hover it slides
     right by exactly the arrow + gap so the arrow springs into the gap. */
  .menu-link__text {
    transform: translateX(-28px);
    transition: transform var(--dur) var(--ease-in);
  }
  .menu-link:hover .menu-link__text { transform: translateX(0); }
}
.menu-link__num {
  position: absolute;
  inset: auto 0 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 21px;
  height: 14px;
  opacity: .35;
  font-size: var(--font-work);
  letter-spacing: -.5px;
  overflow: hidden;
}
.menu-link__num span {
  line-height: var(--lh-tighter);
  font-weight: var(--fw-500);
  transition: transform var(--dur-xs) var(--ease-in);
}
/* The number roll is part of the same desktop-only timeline; at <=479px the
   .menu-link__num box is 9px tall, so a -14px roll would overshoot it. */
@media (hover: hover) and (min-width: 992px) {
  .menu-link:hover .menu-link__num span { transform: translateY(-14px); }
}

/* `.button-big-line` in the template is a div; this one is a span inside an
   anchor, so it needs `display: block` or the 1px height and 100% width are
   dropped on the floor as inline metrics and no rule is painted at all. */
.menu-link__rule {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 2px;
  background-color: rgb(252 245 239 / .18);
}
/* The template fills this line with its own ink colour; here it draws in the
   burgundy accent, the same signal `.social:hover` and an open `.faq-item`
   already use for the active state. */
.menu-link__rule::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  height: 1px;
  background-color: var(--c-accent);
  transition: width var(--dur-l) var(--ease-in);
}
.menu-link:hover .menu-link__rule::after { width: 100%; transition-delay: .1s; }

.menu-foot { display: flex; flex-direction: column; gap: 15px; }

.social-row { display: flex; align-items: center; gap: 6px; }
.social {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background-color: rgb(252 245 239 / .09);
  transition: background-color var(--dur) var(--ease);
}
.social:hover { background-color: var(--c-accent); }
.social svg { width: 17px; height: 17px; }

.copyright {
  opacity: .4;
  font-weight: var(--fw-500);
}
/* Two elements, one line: see the note beside them in index.html. Desktop
   shows the one that sits beside the phone number, touch layouts show the one
   at the end of the footer. */
.copyright--bottom { display: none; }

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  background-color: rgb(0 0 0 / .35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity var(--dur) var(--ease);
}
.is-menu-open .page-veil { opacity: 1; pointer-events: auto; }

/* 06 - HERO / CTA BANNER ================================================= */

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* `contain` leaves slack wherever the viewport ratio is not the frame's 3:2.
     Sampled off the photograph's own corners so the letterbox reads as more of
     the same dark set rather than as a seam against the page ground. */
  background-color: #090a0c;
}
/* ...and the same frame, blown past the edges and blurred out, fills that
   slack with the set's own light instead of a flat field. It is a second <img>
   on the identical src/srcset/sizes rather than a CSS background, so the
   browser serves it out of the resource it has already picked for the
   photograph - the spill costs a paint and no second request. */
.hero__spill {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(48px) brightness(.5);
  transform: scale(1.12);
}
/* The master is now the full 3:2 frame straight off the camera - nothing is
   cropped out of it, so the model, the chair and both lamp heads are always
   whole. `contain` is what holds that promise at every viewport: `cover` would
   start trimming the moment the window ratio left 1.5, and on a phone it took
   the frame down to a vertical strip of the corset. The slack the fit leaves
   over is spent at the top, where the wordmark sits, so the photograph stays
   anchored to the bottom edge of the section. */
.hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Read this through the flip below: the box is laid out left-anchored and
     then mirrored about its own centre, so the picture lands against the
     RIGHT edge of the section. That is what holds the model clear of the
     wordmark on a wide monitor, where the copy keeps to a 1400px measure
     while the photograph keeps growing with the viewport.

     Vertically it is weighted towards the bottom but not pinned to it. This
     only bites when the window is narrower than the frame's 1.5 - 992x800,
     1024x768 and the like - because that is the only case where `contain`
     leaves vertical slack at all; at 1280x720 or 1440x900 the fit is
     height-bound and this value does nothing. Pinned at 100% the model was
     pushed down far enough that the second row of the service band crossed
     her chin. 72% hands a quarter of the slack back to the bottom edge, where
     the blurred spill covers it, and lifts her clear. */
  object-position: 0% 72%;
  opacity: .84;
  /* Flipped, not cropped. In the original frame the model sits just right of
     centre, which is exactly where the second line of the name lands - her
     face took the type across it. Mirroring moves her to the far side of the
     frame, past the end of the longest line, and costs the photograph
     nothing: the set is symmetrical, two lamps and a chair. */
  transform: scaleX(-1);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .5;
  background-image: radial-gradient(circle, transparent 18%, rgb(0 0 0 / .55));
}
.hero__content {
  /* .hero__media is z-index:auto, so its children (image 1, vignette 2,
     blinds 3) stack directly inside .hero. The entry transform below makes
     this element a stacking context of its own, which lands at z-index 0 -
     under all three - so the vignette tinted the copy. Name the layer. */
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 120px var(--side-pad) var(--div-m);
}
/* The name and the service band are one block at the top of the frame; the
   claim row keeps the floor. `space-between` cannot express that now that the
   content has three children rather than two - it would park the services
   halfway down the photograph. */
.hero__c-bottom { margin-top: auto; }

.hero__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  place-items: end stretch;
  gap: 10px;
}
/* Three rows now: dateline, name, service band. The dateline used to share
   row 1 with the wordmark and sit at the top of it, which worked while the
   name was one line - the second line grew up into it and the type crossed. */
.hero__wordmark { grid-area: 2 / 1 / 3 / 5; }
.hero__services { margin-top: var(--div-s); }

/* ta-c69ae8a1 lifts the navbar and the whole hero block as one flat piece.
   The wordmark is the one element that does not just ride that: main.js
   splits it into glyphs and each one rolls up out of a clip on its own
   delay, so the name resolves letter by letter after the block has landed.
   Only the bottom edge is clipped - `overflow: hidden` would also cut the
   wordmark horizontally, and at 9.15vw it very nearly fills its grid area.
   The padding moves that bottom clip line clear of the round letterforms
   that `line-height: .85` parks on the box edge; the matching negative
   margin hands the original height back so the grid placement is unchanged. */
/* Two lines means two clips: one on the whole block would let the glyphs of
   "FULL-SERVICE" roll up straight through "PRODUCTION" on their way in, since
   the only cut line would be at the very bottom of the heading. Clipping each
   line at its own baseline keeps every roll-up inside its own row. */
.hero__wordmark.is-split .wordmark__line {
  padding-bottom: .14em;
  margin-bottom: -.14em;
  clip-path: inset(-100vh -100vw 0 -100vw);
}
.hero__wordmark .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(160%);
  transition: transform .75s var(--ease-out3), opacity .75s var(--ease-out3);
  transition-delay: calc(.12s + var(--i) * var(--stagger, 0s));
}
html.is-booted .hero__wordmark .ch {
  opacity: 1;
  transform: none;
}
.hero__since {
  grid-area: 1 / 1 / 2 / 3;
  place-self: start end;
  padding-right: 20%;
  margin-bottom: 12px;
  opacity: .7;
}

.wordmark {
  margin: 0;
  font-size: clamp(2.2rem, 9.15vw, 12.6rem);
  font-weight: var(--fw-500);
  line-height: var(--lh-tighter);
  letter-spacing: -.05em;
  white-space: nowrap;
}
/* The hero name is two words on two lines now, and each one has to stay
   unbroken on its own row - `white-space: nowrap` on the block alone would
   run them together. The line box is declared here rather than inherited so
   the roll-up clip in .hero__wordmark has a known height per line. */
.wordmark__line {
  display: block;
  white-space: nowrap;
}
/* Two lines cost roughly twice the height of the single name that used to sit
   here, so the type scale comes down to keep the block inside the top third of
   the frame instead of running across the model. .92 rather than the .85 the
   one-line wordmark used: at .85 the cap height overruns its own line box, and
   the per-line clip that drives the roll-up then shears the bottom off
   "PRODUCTION". */
.hero__wordmark {
  font-size: clamp(2.2rem, 8vw, 10.4rem);
  line-height: .92;
  text-transform: uppercase;
}
.wordmark__tm {
  position: relative;
  top: .12em;
  font-size: .28em;
  vertical-align: top;
}

/* The hero services read as one spread band under the name rather than a
   numbered column in the corner: a single wrapping flex row justified to both
   gutters, so it fills the measure on a desktop and folds into two balanced
   rows on a phone without any per-breakpoint list surgery. */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-tags__item {
  font-size: var(--font-work);
  font-weight: var(--fw-600);
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Desktop only: the band breaks into the two rows the phone comp lays out -
   three labels on the upper line, four on the lower - instead of running as
   one justified line. The free scatter that sat here briefly is gone: the
   brief is "aligned, one higher and the next lower", not "placed by hand".

   A twelve-column grid rather than a wrapping flex, because the break has to
   land after the third label at every width. Flex would need a 100%-wide
   spacer item to force it, and that spacer eats a second `row-gap` on its own
   zero-height row. Spans of 4 fill the first line with three, spans of 3 fill
   the second with four, and `justify-self` spreads each line from gutter to
   gutter the way the comp has it. */
@media screen and (min-width: 992px) {
  /* The block sits on the left of the frame rather than spanning it, so the
     measure is capped - but never under 580px. The second row puts its widest
     label, PHOTO PRODUCTION, in a three-column cell, i.e. a quarter of the
     measure; below 580px that cell is narrower than the word and the label
     runs into CATALOG next to it. */
  .hero__services {
    max-width: max(40%, 580px);
    margin-top: var(--div-s);
  }
  .service-tags {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 0;
    row-gap: 12px;
  }
  /* Every label flush to the left edge of its own cell, so the two rows read
     as columns down the left of the frame instead of being pushed apart to
     the gutters. */
  .service-tags__item {
    justify-self: start;
    font-size: .75rem;
  }
  .service-tags__item:nth-child(-n+3) { grid-column: span 4; }
  .service-tags__item:nth-child(n+4)  { grid-column: span 3; }
}

.service-list { display: flex; flex-direction: column; }
.service-list__item {
  display: flex;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px dotted rgb(252 245 239 / .35);
  font-size: var(--font-work);
  font-weight: var(--fw-600);
}
.service-list__item:last-child { border-bottom: 0; }
.service-list__num {
  margin-top: 1px;
  color: var(--c-muted);
  font-size: var(--font-h6);
}

.hero__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.hero__claim { grid-area: 1 / 1 / 2 / 3; }
.hero__plus--a { grid-area: 1 / 2 / 2 / 3; justify-self: center; }
.hero__plus--b { grid-area: 1 / 3 / 2 / 4; justify-self: center; }
.hero__card    { grid-area: 1 / 4 / 2 / 5; }

.claim { display: flex; flex-direction: column; }
.claim__lead {
  margin: 0;
  opacity: .59;
  font-size: var(--font-h3);
  font-weight: var(--fw-600);
  line-height: var(--lh-tight);
}
/* The mask has to be exactly one line box. The old `height: 39px` plus
   `padding: 3px 0` clipped at the padding box (39px) while a line is only
   33.4px, so a ~6px window onto the neighbouring line stayed open - visible
   as a strip of stray ascenders under the lead, and as two stacked lines
   mid-rotation. Deriving both the mask and the lines from the same
   font-size x line-height keeps them locked together at every breakpoint. */
.claim {
  --claim-line: calc(var(--font-h3) * var(--lh-tight));
}
.claim__rotator {
  display: flex;
  flex-direction: column;
  height: var(--claim-line);
  overflow: hidden;
}
.claim__line {
  flex: 0 0 var(--claim-line);
  height: var(--claim-line);
  font-size: var(--font-h3);
  font-weight: var(--fw-600);
  line-height: var(--lh-tight);
  transition: transform .9s var(--ease);
}

/* contact card - shared by hero and footer */
.contact-card {
  position: relative;
  display: flex;
  gap: 10px;
  width: 100%;
  min-height: 100px;
  padding: 10px;
  font-size: var(--font-work);
  letter-spacing: -.4px;
}
.contact-card__glass {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius-xs);
  background-color: rgb(252 245 239 / .10);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
.contact-card__photo {
  flex: 0 0 auto;
  width: 65px;
}
.contact-card__photo img {
  width: 65px;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.contact-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 0;
}
.contact-card__rotator {
  --card-line: calc(var(--font-field) * var(--lh-tight));
  height: var(--card-line);
  overflow: hidden;
}
.contact-card__rotator span {
  display: block;
  height: var(--card-line);
  font-size: var(--font-field);
  line-height: var(--lh-tight);
  opacity: .61;
  transition: transform .9s var(--ease);
}
.contact-card__name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 36px;
}
.contact-card__role {
  opacity: .61;
  font-size: var(--font-field);
}
.contact-card__go {
  position: absolute;
  inset: 5px 5px auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: var(--c-ink);
  color: var(--c-dark);
  overflow: hidden;
}
.contact-card__go svg {
  width: 11px;
  height: 11px;
  transition: transform var(--dur) var(--ease);
}
.contact-card:hover .contact-card__go svg { transform: translate(14px, -14px); }

.contact-card__slots {
  position: absolute;
  inset: auto 10px 15px auto;
  display: flex;
  justify-content: space-between;
  width: 29px;
  height: 12px;
}
.contact-card__slot {
  position: relative;
  width: 3px;
  height: 100%;
  background-color: rgb(252 245 239 / .30);
  overflow: hidden;
}
.contact-card__slot--on { background-color: var(--c-accent); }

/* 07 - CLIENTS =========================================================== */

/* An ordinary section on the page flow, not a 300vh sticky scene: everything
   it has to say is on screen the moment it arrives. The top padding is the
   section rhythm; the bottom is half of it, because the services block below
   carries its own full lead-in and two full gaps read as a hole. */
.about {
  position: relative;
  z-index: 11;
  padding: var(--block-gap) var(--side-pad) calc(var(--block-gap) / 2);
  background-color: var(--c-dark);
}

/* Asymmetric on purpose: the photograph takes the narrower side so the panel
   keeps enough measure for three categories to sit on one line each. */
/* The block heading sits above the photo and the panel, across the full
   container like every other section's, so it takes the same size. */
.about__head {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}
.about__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--div-s);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.about__media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.about__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__panel {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: var(--radius-md);
  background-color: var(--c-panel);
}
/* No rule over the eyebrow here. Everywhere else on the page `.title-row` opens
   a section against the page ground and the hairline is what separates it from
   whatever sat above; inside this panel it had the panel's own top edge 40px
   over it doing the same job, so the two read as a double line. */
.about__panel .title-row {
  padding-top: 0;
  border-top: 0;
}

/* Hairlines rather than three boxes: the categories are one list read top to
   bottom, and boxing each of them would put a second frame inside the panel
   that is already framing them. The first rule is the one under the eyebrow
   row, so the list opens the same way it divides. */
.clients {
  flex: 1 1 auto;
  margin: var(--div-s) 0 0;
  padding: 0;
  list-style: none;
}
.client {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: baseline;
  column-gap: var(--div-s);
  padding: 26px 0;
  border-top: 1px solid var(--c-hairline);
}
.client:last-child { padding-bottom: 6px; }
/* The eyebrow row moved out above the panel, so the list opens at the
   panel's top edge - no rule or gap over the first category. */
.clients { margin-top: 0; }
.client:first-child { padding-top: 0; border-top: 0; }

.client__num {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--c-muted);
  font-size: var(--font-h6);
  font-weight: var(--fw-600);
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* Both sizes are declared here rather than taken from --font-h3/--font-h5.
   Those two tokens cross over below 480px - h3 drops to 1.1rem while h5 stays
   at 1.2rem - so the category name came out smaller than the sentence under
   it and the hierarchy read backwards on a phone. */
.client__name {
  margin: 0;
  font-size: clamp(1.375rem, 3.2vw, 1.9rem);
  font-weight: var(--fw-600);
  line-height: var(--lh-tight);
  letter-spacing: -.7px;
}
.client__body {
  margin: 0;
  color: rgb(252 245 239 / .70);
  font-size: clamp(.9375rem, 1.4vw, 1.125rem);
  line-height: var(--lh-para);
  letter-spacing: -.4px;
}

.about__cta { margin-top: var(--div-s); }

/* 08 - SERVICES ========================================================== */

.services-list { position: relative; }

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr .65fr;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px dotted rgb(252 245 239 / .20);
}

.service-row__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.service-row__title-wrap { display: flex; gap: 10px; }
.service-row__num {
  margin-top: 1px;
  color: var(--c-muted);
  font-size: var(--font-h6);
}
.service-row__title {
  margin: 0;
  font-size: var(--thumb-title);
  line-height: 1;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  /* a-252-n-7/n-8 move the title on opacity alone - the template never
     shifts it sideways, so neither do we. */
  transition: opacity var(--dur-thumb) ease, color var(--dur) var(--ease);
}

/* a-252 "Client Hover In": pointing at one row fades every other title back,
   so the hovered service is the only thing holding attention. */
@media (hover: hover) and (min-width: 992px) {
  .services-list:hover .service-row__title { opacity: .1; }
  .services-list .service-row:hover .service-row__title { opacity: 1; }
}

.service-row__text {
  max-width: 370px;
  overflow: hidden;
}

/* a-252-n-9 parks the row description below its own clip as the initial
   state and a-252-n-10 slides it up over 400ms while the row is hovered.
   Touch and the 991 breakpoint never run a-252, so the copy stays put. */
@media (hover: hover) and (min-width: 992px) {
  .service-row__text .body-text {
    transform: translateY(100%);
    transition: transform var(--dur-l) ease;
  }
  .service-row:hover .service-row__text .body-text { transform: translateY(0); }
}

.service-row__plus { justify-self: end; }
.service-row:hover .plus { opacity: 1; }

/* The frame itself never fades. a-252-n / a-253-n-4 flip it between
   `display: none` and `display: block`, and main.js drives its Y from the
   pointer (a-251). The reveal is the counter-slide inside it. */
/* 2:3, the ratio the masters come off the camera at, so the thumbnail can
   show each frame whole rather than trimming a fifth of its height (and on
   srv-01, which is the one landscape in the set, nearly half its width). */
.service-thumb {
  position: fixed;
  top: 24vh;
  left: 75vw;
  z-index: 90;
  width: 15vh;
  height: 22.5vh;
  border-radius: 6px;
  overflow: hidden;
  pointer-events: none;
  display: none;
}
.service-thumb.is-shown { display: block; }

/* Parked state (a-252 group 1, used as the initial state): the mask sits a
   full height above its frame and the image a full height below the mask,
   so the two cancel out and the photo is not displaced - it is uncovered. */
.service-thumb__mask {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--c-panel-deep);
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform var(--dur-thumb) var(--ease-thumb);
}
.service-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateY(100%);
  transition: transform var(--dur-thumb) var(--ease-thumb);
}
.service-thumb.is-visible .service-thumb__mask,
.service-thumb.is-visible img { transform: translateY(0); }

/* a-253 does not reverse the entry - it carries both layers on through in
   the direction they were already travelling, then snaps them back parked. */
.service-thumb.is-out .service-thumb__mask { transform: translateY(100%); }
.service-thumb.is-out img { transform: translateY(-100%); }
.service-thumb.is-reset .service-thumb__mask,
.service-thumb.is-reset img { transition: none; }

/* 09 - CASES ============================================================= */

.case {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case__card {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--c-dark);
  overflow: hidden;
}

.case__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.case__link:focus-visible { outline: 2px solid var(--c-warm); outline-offset: -6px; }
/* The frame is a span inside a button now rather than a div inside a div. */
.case__frame { display: block; }

.case__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* a-247 "Card Grow" scales this image between 3 and 1 and rotates it +/-8deg,
   so it has to sit flush in the frame - the old 110% parallax headroom would
   read as a permanent crop offset under a 3x scale. The template puts no
   hover state on a work card at all, so there is none here either. */
/* The frames come off the camera as 2:3 portraits (the jewellery still as a
   3:2), and a 16:9 window onto one of those kept about a third of its height -
   enough to cut the beauty cover off across the model's eyes. The master is
   now the full frame and the card shows all of it, standing on the card's own
   charcoal. The hero's blurred spill was tried here and dropped: three of the
   six covers are shot on a white cyc, and a blown-up blur of one of those
   fills the card with pale grey and takes the white title with it. */
.case__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* The flat 15% wash is the overall grade; the gradient under it lifts only
   the bottom third, where the year and title sit. Three of the six covers are
   shot on a white cyc, and on those the metadata is white type on white
   backdrop without it. */
.case__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to top, rgb(0 0 0 / .62), rgb(0 0 0 / 0) 38%),
    linear-gradient(rgb(0 0 0 / .15), rgb(0 0 0 / .15));
}

/* Above the scrim. .case__card is sticky, so it is the stacking context every
   z-index inside the card resolves against - the shade's 2 would otherwise
   paint straight over this row, which sits at the default auto. */
.case__meta {
  position: absolute;
  z-index: 3;
  inset: auto 0 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  max-width: 90%;
  margin-inline: auto;
}
.case__year {
  display: flex;
  gap: 1px;
  font-size: var(--font-h5);
}
.case__title {
  margin: -7px 0 0;
  font-size: var(--font-h2);
  font-weight: var(--fw-600);
  letter-spacing: -2px;
}
/* Says the card opens something, and how much is behind it. Sits on the
   baseline of the title rather than under it - the meta row is already the
   only piece of copy on a full-viewport photograph. */
.case__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  opacity: .65;
  font-size: var(--font-h6);
  font-weight: var(--fw-600);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity var(--dur) var(--ease);
}
.case__open svg { width: 10px; height: 10px; }
.case__link:hover .case__open { opacity: 1; }

/* 09b - WORK GALLERY ===================================================== */

/* One dialog, two presentations. From 992px up it is a drawer against the
   right edge - the card stays visible on the left, which is the point: the
   reader is still inside the case they clicked. Below that it is a bottom
   sheet, because a side drawer on a phone is a full-screen overlay with extra
   steps. The viewer is a third layer over both. */
/* Above .nav-root (999) and its veil (998) - the dialog covers the page, the
   fixed navbar included - and below .intro (9999), which owns the screen while
   the page is still booting. */
.work {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.work[hidden] { display: none; }

.work__veil {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: rgb(0 0 0 / .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity var(--dur-menu) var(--ease-menu);
}
.work.is-open .work__veil { opacity: 1; }

.work__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(760px, 52vw);
  background-color: var(--c-panel);
  transform: translateX(100%);
  transition: transform var(--dur-menu) var(--ease-menu);
}
.work.is-open .work__panel { transform: none; }
.work__panel:focus { outline: 0; }

.work__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 0 0 auto;
  padding: 34px 34px 22px;
  border-bottom: 1px solid var(--c-hairline);
}
.work__heading { margin-right: auto; }
.work__eyebrow {
  margin: 0 0 8px;
  color: var(--c-muted);
  font-size: var(--font-h6);
  font-weight: var(--fw-600);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.work__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: var(--fw-600);
  line-height: var(--lh-tight);
  letter-spacing: -.7px;
}
/* The phone sheet's drag handle. Absolute so it centres on the sheet rather
   than taking a slot in the header row, and gone entirely on a desktop where
   the panel is not draggable. */
.work__grab { display: none; }

.work__close {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--c-hairline-2);
  border-radius: 999px;
  background: none;
  color: var(--c-ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.work__close svg { width: 14px; height: 14px; }
.work__close:hover { background-color: rgb(252 245 239 / .1); }

/* Pinterest-style: CSS columns, not grid. The frames are 2:3 portraits with a
   few 3:2 landscapes and the point is that the tiles keep their own heights -
   a grid would either crop them to a row or leave the row as tall as its
   tallest tile. `break-inside` is what keeps a tile whole across a column
   boundary. */
/* The scroller and the multicol box have to be two different elements. A
   multicol container with a definite block size does not overflow downwards -
   it opens further column boxes to the side, so putting `overflow-y: auto` and
   `column-count` on one element gives you a grid that scrolls sideways out of
   the panel. The scroll lives here; the columns live on the child. */
.work__grid {
  flex: 1 1 auto;
  padding: 24px 34px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.work__columns {
  column-count: 3;
  column-gap: 10px;
}
.work__tile {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xs);
  background: none;
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.work__tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s var(--ease-out3), opacity var(--dur) var(--ease);
}
.work__tile:hover img { transform: scale(1.04); }
.work__tile:focus-visible { outline: 2px solid var(--c-warm); outline-offset: 2px; }

/* The detail layer. Its own fixed sheet rather than a swap inside the grid, so
   the grid keeps its scroll position underneath and the reader lands back
   exactly where they left. */
.work__viewer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4vh 4vw;
  background-color: rgb(0 0 0 / .97);
}
.work__viewer[hidden] { display: none; }
.work__shot {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-xs);
}
.work__counter {
  position: absolute;
  inset: auto 0 18px;
  margin: 0;
  color: var(--c-muted);
  font-size: var(--font-h6);
  font-weight: var(--fw-600);
  letter-spacing: .08em;
  text-align: center;
}
.work__nav {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0;
  border: 1px solid var(--c-hairline-2);
  border-radius: 999px;
  background-color: rgb(0 0 0 / .4);
  color: var(--c-ink);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.work__nav:hover { background-color: rgb(252 245 239 / .14); }
.work__nav svg { width: 14px; height: 14px; }
.work__nav--prev { left: 16px; }
.work__nav--next { right: 16px; }
.work__close--viewer {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: rgb(0 0 0 / .4);
}

/* The page behind a dialog does not scroll. Set on <html> by the script. */
html.is-work-open { overflow: hidden; }

/* 10 - FAQ =============================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.faq-item {
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

.faq-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid rgb(252 245 239 / .20);
  color: var(--c-ink);
  font-size: var(--font-h5);
  font-weight: var(--fw-600);
  letter-spacing: -.6px;
  text-align: left;
  transition: border-color var(--dur) var(--ease);
}
.faq-item__head:hover { border-bottom-color: var(--c-hairline-2); }
.faq-item.is-open .faq-item__head { border-bottom-color: var(--c-accent); }

.faq-item__label {
  display: flex;
  align-items: center;
  gap: 11px;
}

.faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}
.faq-item__icon span {
  position: absolute;
  width: 100%;
  height: 1.5px;
  background-color: var(--c-ink);
  transition: transform var(--dur-xs) var(--ease);
}
.faq-item__icon span:last-child { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon span:last-child { transform: rotate(0deg); }

.faq-item__body {
  height: 0;
  overflow: hidden;
  transition: height var(--dur) var(--ease);
}
.faq-item__inner {
  padding: 15px 60px 15px 0;
  /* a-255: the body slides 5px and fades in 200ms after the height starts;
     a-256 reverses it, fading out first and collapsing the height after. */
  opacity: 0;
  transform: translateY(5px);
  transition: opacity var(--dur-xs) var(--ease), transform var(--dur) var(--ease);
}
.faq-item.is-open .faq-item__inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .2s;
}
.faq-item__inner p {
  margin: 0;
  opacity: .7;
  font-size: var(--font-work);
  line-height: var(--lh-para);
}
.faq-item__inner p + p { margin-top: 10px; }

/* 11 - FOOTER ============================================================ */

.plus-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  /* The row opens the footer's lower block - wordmark, contacts, menu - and
     closes the contacts panel above it. So the space over it is a join between
     two blocks and takes the page's block rhythm, the same as every other
     join; the space under it is only the row's lead-in to the wordmark it
     announces, and stays short. Splitting one band 80/20 between the two, as
     this did, made the join the smaller half of a gap it should have set. */
  margin-block: var(--block-gap) calc(var(--plus-band) * .4);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.footer-menu { width: 100%; }
.footer-contacts { display: flex; flex-direction: column; gap: 5px; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.footer-card { align-self: end; }

/* 12 - LOADER & MOTION UTILITIES ========================================= */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--c-dark);
  /* The mark blends against this fill, so the blend group has to stop here
     rather than reaching through to whatever is painted behind the loader. */
  isolation: isolate;
}
.intro {
  transition: transform .7s var(--ease-inout);
}
.intro.is-done {
  pointer-events: none;
  transform: translateY(-100%);
}

/* ta-c69ae8a1: navbar and hero content rise 10vw into place once the loader
   has cleared. `.is-booted` is set by main.js at the end of the intro. */
/* Pre-hidden only when scripting is on, mirroring the template's
   `html.w-mod-js:not(.w-mod-ix3)` guard - without JS the page renders solid. */
html.js .nav-root,
html.js .hero__content {
  opacity: 0;
  transform: translateY(10vw);
  transition: opacity .8s var(--ease-out3), transform .8s var(--ease-out3);
}
html.is-booted .nav-root,
html.is-booted .hero__content {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.js .nav-root,
  html.js .hero__content { opacity: 1; transform: none; transition: none; }
}
.intro__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(560px, 82vw);
  /* No bottom margin. The old 9vh lift existed because the mark sat high in a
     full 16:9 frame, so the letterbox dragged the group's centre down below
     it; the frame is now cropped to the mark, the box centres on the artwork
     itself, and the correction would double-count. It also tied the
     composition to viewport height - the mark drifted as the window changed
     size, which the crop removes. */
}

/* The master is a chrome wordmark rendered on pure black (sampled: the frame
   corners are exactly 0,0,0, and 93.6% of all pixels in the cut are). `screen`
   leaves a backdrop untouched wherever the source is black, so the mark reads
   as if it were composited onto the page canvas - no black rectangle, no
   letterbox seam around the video.

   The clip is cropped to the mark's union bounding box across all 55 frames
   (399,277 +1120x400 out of the 1920x1080 master), so the mark now fills 95.8%
   of the frame width instead of 55.9%. The element is therefore only a little
   wider than the mark itself, and its own width - not the stage's - sets how
   large the mark draws. 58.32% of the stage reproduces the previous 313px
   rendered width exactly. */
.intro__mark {
  display: block;
  width: 58.32%;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* With the dead black gone the meta block sits below the frame normally
   instead of being pulled back up through the letterbox. 4.05% of the stage
   width restores the 29px that used to separate the mark from the words.
   Percentage margins resolve against the stage width. */
.intro__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  /* Held near the resolved mark's own width so the rule reads as its
     underline rather than as a separate full-width element. */
  width: 62%;
  margin-top: 4.05%;
}

.intro__words {
  display: flex;
  flex-direction: column;
  height: 20px;
  overflow: hidden;
}
.intro__word {
  margin: 0;
  opacity: .55;
  font-size: var(--font-work);
  font-weight: var(--fw-500);
  line-height: 20px;
  letter-spacing: -.5px;
  transition: transform .5s var(--ease-out3);
}

/* Same fill-from-the-left rule the footer menu uses on hover, run once on
   load: the hairline is the rest state, the accent is the progress. */
.intro__bar {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: var(--c-hairline);
  overflow: hidden;
}
.intro__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--c-accent);
}

@media (prefers-reduced-motion: reduce) {
  .intro__word { transition: none; }
  .intro__bar-fill { transition: none !important; }
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease);
}
.reveal-line.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .reveal,
  .reveal-line > span { opacity: 1; transform: none; }
}

/* 13 - RESPONSIVE ======================================================== */

@media screen and (max-width: 991px) {
  :root {
    --font-h1:    5.5rem;
    --font-h2:    2rem;
    --font-h6:    .7rem;
    --work-title: 6.5rem;
    --page-title: 3rem;
    --cta-title:  3rem;
    --div-xl:     50px;
    --div-xxl:    50px;
  }

  /* One rhythm for the whole touch layout: 80px between any two blocks,
     wherever they meet. Every join is paid for by the section above it, and
     the section below opens flush - the alternative, 80px on both sides, adds
     up to 160 at the seam. The cases title was the one join still doing that;
     the other three already sat at 80 because the lower section happened to
     carry `--flush-top` or a zeroed top of its own.

     `padding-bottom` here is only ever the gap to whatever follows. Where a
     section closes the page or runs straight into its own continuation, it is
     zero, and where a title belongs to the block under it - the cases title
     over its card stack - it is the shorter 40px on purpose. */
  :root { --block-gap: 80px; }
  .section { padding-top: var(--block-gap); padding-bottom: var(--block-gap); }
  .section--clients   { padding-bottom: 80px; }
  .section--cases-top { padding-top: 0; padding-bottom: 40px; }
  .section--cases     { padding-top: 0; padding-bottom: 80px; }
  .section--services  { padding-bottom: 80px; }
  .section--flush-top { padding-top: 0; }
  .section--footer    { padding-top: 0; padding-bottom: 0; }
  .panel { padding: 30px; }
  .sticky-col { max-width: 95%; }
  .divider-m { height: var(--div-s); }
  :root { --plus-band: 30px; }

  /* The label roll is two stacked copies of the same text inside a one-line
     mask. The mask height used to be hardcoded per breakpoint (19/15/17px)
     while the label itself is font-size x line-height, so the two drifted
     apart and a 1-3px strip of the second copy stayed visible under the
     first - the "second text showing through" on touch layouts. Both are now
     derived from the same line box: `1lh` is exactly the element's own line
     height, and the calc is the fallback for engines without the `lh` unit.
     Line-height is raised to 1.25 here so the box also clears the descenders
     of "д" / "ц" / "щ" that 1.1 was shaving. */
  .btn__labels {
    line-height: 1.25;
    height: calc(1em * 1.25);
    height: 1lh;
  }

  /* Same class of bug on the section titles: the mask is exactly one line box
     at line-height .85, which is shorter than the glyphs themselves, so the
     descender of "Щ" in "Що ми робимо" was cut off. Opening the mask at the
     bottom and pulling the same amount back off the margin gives the ink room
     without moving anything in the flow; the hidden start of the wipe is
     pushed from 105% to 130% so the line still parks fully out of sight. */
  .reveal-line {
    padding-bottom: .18em;
    margin-bottom: -.18em;
  }
  .reveal-line > span { transform: translateY(130%); }
  .reveal-line.is-in > span { transform: none; }

  .title-section { font-size: var(--font-h1); }
  .grid-title--4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--div-s);
  }
  .grid-title--4 > .title-section,
  .grid-title--4 > .footer-card { grid-column: auto; }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8vh;
    padding: 1% var(--side-pad);
  }
  .nav-menu { display: none; }
  .nav-blur { height: 57px; }
  .menu-panel { width: 90vw; }

  .hero { height: 700px; }
  .hero__content { padding-top: 78px; padding-bottom: 20px; }
  .hero__plus--a,
  .hero__plus--b { display: none; }
  .hero__claim { grid-area: 1 / 1 / 2 / 4; }
  .hero__card { max-width: 300px; justify-self: end; }
  .contact-card__role { font-size: var(--font-h6); }
  .hero__since { margin-bottom: 20px; }
  /* Held at 12px from 768 to 991 so all seven labels stay on one justified
     line: 78 characters at roughly .64em each plus six 10px gaps measures
     660px, against the 707px a 768px tablet leaves inside the gutters. Any
     larger and the row wraps with "AI CONTENT" alone on the second line. */
  .service-tags { gap: 8px 10px; }
  .service-tags__item { font-size: var(--font-h6); }

  /* The photograph goes above the panel rather than beside it: at two columns
     the panel's measure drops far enough that every category name wraps. */
  .about__inner { grid-template-columns: 1fr; row-gap: 0; }
  /* 4:3 against the frame's own 3:2 - `cover` takes the trim off the white
     studio margin either side of the model, never off her. 16:9 would have
     taken it off the height instead and cut the frame across her. */
  .about__media { aspect-ratio: 4 / 3; }
  /* Stacked, the two stop being neighbours and become one object: the panel is
     pulled up over the bottom of the frame so its rounded corners cut into the
     photograph instead of a strip of page ground sitting between them. It is
     already later in the grid than the media, so it paints on top without a
     z-index; `position: relative` is only here to give the negative margin a
     box that cannot be painted into by the frame's own overflow clip. */
  .about__panel {
    position: relative;
    margin-top: -36px;
    padding: 32px;
  }

  .service-row { grid-template-columns: 1.1fr 1fr auto; }
  .service-row__title { font-size: var(--font-h3); line-height: var(--lh-tight); }
  .service-thumb,
  .service-thumb.is-shown { display: none; }

  /* Bottom sheet from here down: a side drawer on a narrow screen is a
     full-screen overlay with extra steps, and the thumb is at the bottom of
     the phone, not at its right edge. 88dvh rather than 100 so the card the
     reader came from still shows above the sheet - the same reason the drawer
     stops at 52vw on a desktop. */
  .work__panel {
    inset: auto 0 0;
    width: 100%;
    height: 88dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }
  .work__head { padding: 26px 22px 18px; }
  .work__grab {
    position: absolute;
    top: 10px;
    left: 50%;
    display: block;
    width: 42px;
    height: 4px;
    margin-left: -21px;
    border-radius: 999px;
    background-color: var(--c-hairline-2);
  }
  .work__grid { padding: 18px 22px 32px; }
  /* Two columns on the sheet: at three, a 2:3 frame in a 390px phone is 110px
     wide and stops being a photograph. */
  .work__columns { column-count: 2; }
  .work__nav--prev { left: 10px; }
  .work__nav--next { right: 10px; }

  .case__card { height: 60vh; padding: var(--side-pad) var(--side-pad) 0; }
  .case__title { letter-spacing: -.7px; }
  .case__meta { inset: auto 0 30px; }
  .copyright--inline { display: none; }
  .copyright--bottom {
    display: block;
    grid-column: 1 / -1;
  }

  .faq-grid { display: flex; flex-direction: column; gap: 40px; }
  .footer-bottom { display: flex; flex-direction: column; gap: var(--div-xs); }
  .footer-card { width: 100%; max-width: 340px; margin-right: auto; }
}

@media screen and (max-width: 767px) {
  :root {
    --font-h1:    4rem;
    --work-title: 7rem;
    --page-title: 3rem;
    --font-h6:    .75rem;
    --radius-lg:  26px;
  }

  .logo__img { height: 24px; }
  .logo--footer .logo__img { height: 34px; }
  /* Same 286/368 ratio as the base rule, against the 34px mark this width asks
     for rather than the 42px one. */
  html.js .logo--footer .logo__motion { height: 44px; }

  .section { padding-inline: 4%; }
  .body-text--lg { font-size: var(--font-work); }
  .sticky-col { position: relative; top: 0; }

  .navbar { padding-inline: 4%; }
  .btn { font-size: var(--font-field); }
  .menu-link__arrow { display: none; }

  /* Phone hero, back to the arrangement that stood before today's rebuild:
     the photograph is the full-bleed backdrop again and the copy rides over
     it - dateline and name at the top, the service band under them, claim and
     contact card stacked on the floor of a fixed 800px section. */
  .hero { height: 800px; }
  .hero__content { padding-inline: 4%; }
  /* `cover` rather than the desktop `contain`: as a backdrop the box is
     narrower than the frame at every handset width, so there is no letterbox
     for the spill to fill and the fit crops sideways instead. Pinned to the
     top edge - the slack here is always vertical, and the headroom above the
     model is the one thing the frame cannot spare.

     Horizontally the window is taken off centre and the result mirrored, which
     between them park the model on the right half of the screen. The name is
     left-aligned and two lines deep on a phone, and a centred crop put her
     head directly under the second of them. */
  .hero__spill { display: none; }
  .hero__image {
    object-fit: cover;
    object-position: 50% 0;
    transform: scaleX(-1);
  }
  /* Column-reverse: the dateline sits last in the markup and has to read above
     the name, the way the desktop grid places it. */
  .hero__top {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-top: 20px;
  }
  /* The band drops out of the top block and sits on the claim instead: the
     `auto` moves off .hero__c-bottom and onto the row above it, so the free
     space in the column opens between the name and the band rather than
     between the band and the claim. */
  .hero__c-mid { margin-top: auto; margin-bottom: var(--div-s); }
  .hero__c-bottom { margin-top: 0; }
  /* Capped so a fourth label can never reach the first row: at 11px the four
     widest ones plus their gaps measure 413px, so a 400px measure sends
     PHOTO PRODUCTION down where the comp has it. Below 430px the column is
     narrower than the cap anyway and this does nothing; above it the band
     reads as the same left-anchored block the desktop keeps. */
  .hero__services { margin-top: 0; width: 100%; max-width: 400px; }
  /* The seven labels have to settle as 3 + 4 - never 3 + 3 with a stranded
     "AI CONTENT" on a third line. The binding row is the second one: at 11px
     its four labels plus three gaps measure 337px, which clears a 390px
     handset and fails a 320px one. Tying both the type and the column gap to
     the viewport holds the split at every width instead of at one: the second
     row then needs about 30.5x the type size, and 2.9vw keeps that under the
     92% of the screen the gutters leave - with the caps holding 11px/10px
     from roughly 380px up, where there is room for it. */
  .service-tags { gap: 7px clamp(7px, 2.4vw, 10px); }
  .service-tags__item { font-size: clamp(9px, 2.9vw, 11px); }
  .hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--div-s);
  }
  .hero__card { max-width: 340px; }
  .hero__since { padding-right: 0; margin-bottom: 0; }
  .wordmark { font-size: clamp(2.4rem, 11.5vw, 7rem); }
  .hero__wordmark { font-size: clamp(1.9rem, 10.2vw, 4.4rem); }

  .work__head { padding: 24px 18px 16px; }
  .work__title { font-size: 1.5rem; }
  .work__grid { padding: 16px 18px 28px; }
  .work__columns { column-gap: 8px; }
  .work__tile { margin-bottom: 8px; }
  .work__viewer { padding: 2vh 3vw; }
  .work__shot { max-height: 84vh; }

  .about { padding-top: var(--block-gap); }
  .about__panel { padding: 26px 22px 30px; }
  /* One column: at this width the name and the body cannot share a row
     without the name wrapping to three lines. */
  .client {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 22px 0;
  }

  .service-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .service-row__text { width: 100%; max-width: none; margin-right: auto; }
  .service-row__plus { display: none; }

  .case__card { height: 500px; }

  .footer-grid { display: flex; flex-direction: column; gap: 40px; }
  .footer-menu { width: 100%; }
}

@media screen and (max-width: 479px) {
  :root {
    --font-h1:      2.5rem;
    --font-h2:      1.9rem;
    --font-h3:      1.1rem;
    --font-work:    1.1rem;
    --work-title:   5rem;
    --page-title:   1.9rem;
    --cta-title:    2.3rem;
    --thumb-title:  1.4rem;
    --div-xl:       30px;
    --radius-lg:    18px;
  }

  /* The 50px override that used to sit here is gone: the 80px rhythm set at
     991px runs all the way down. */
  .panel { padding: 20px 15px; }
  .divider-m { height: 20px; }
  :root { --plus-band: 20px; }
  .title-section { font-size: var(--font-h2); }
  .title-section__count { top: -1px; left: 9px; font-size: var(--font-body); }
  /* The row used to stack into a column here, which put the edition under the
     label where it read as a second line of it. Dropping the arrow leaves two
     short items, and they fit on one line down to 320px - so the row keeps the
     arrangement it has at every other width. */
  .title-row { gap: 12px; }
  .title-row__mark { display: none; }

  .menu-panel { width: 89vw; }
  .menu-panel__body {
    justify-content: center;
    gap: var(--div-l);
    padding-block: 7vh;
  }
  /* 9px was under the 10.2px line box the digits actually occupy, so the
     bottom of "01".."05" was shaved off. Matching the mask to the same
     line-height the spans use keeps the digits whole and still shows only
     one of the two stacked copies. */
  .menu-link__num {
    font-size: var(--font-h6);
    line-height: var(--lh-tighter);
    height: calc(1em * var(--lh-tighter));
    height: 1lh;
  }

  .hero { height: 700px; }

  .about__panel { padding: 22px 18px 26px; }
  .client { padding: 20px 0; }

  .case__card { height: 400px; }
  .case__meta { inset: auto 0 24px; }
  /* At --font-h2 the longer names broke onto a second line inside the card and
     the year sat orphaned against the first of them. One step down puts five
     of the six back on a single line, which is how the card is composed. */
  .case__title { font-size: 1.6rem; }
  .case__year  { font-size: var(--font-work); }

  .faq-item__head { gap: 15px; font-size: var(--font-work); }
  .faq-item__icon { width: 24px; height: 24px; }
  .faq-item__inner { padding-right: 0; }
}

/* The animated wordmark is decoration, not information - the still mark says
   exactly the same thing. When motion is unwelcome, the footer keeps the
   image and the clip never loads. */
@media screen and (prefers-reduced-motion: reduce) {
  /* Carries the same `html.js` prefix as the rule it is undoing - without it
     the swap above wins on specificity and both marks end up hidden. */
  html.js .logo--footer .logo__img { display: block; }
  html.js .logo--footer .logo__motion { display: none; }
}

/* "Проєкт реалізували" credit (alpha-credit.js) - pinned to the left edge
   instead of the script's default centring. */
[data-ad-credit-slot] { grid-column: 1 / -1; width: 100%; text-align: left; }
[data-ad-credit-slot] .ad-credit-row { justify-content: flex-start !important; margin-left: 0; }

/* Brand film between "Наші клієнти" and "Послуги" - full container width,
   16:9, the same corner radius as the photo above it. */
.brand-film {
  position: relative;
  z-index: 11;
  padding: 0 var(--side-pad);
  background-color: var(--c-dark);
}
/* The clients block closes on half a section gap; the services block below
   takes the same half, so the film sits with equal air on both sides. */
.brand-film + .section--services { padding-top: calc(var(--block-gap) / 2); }
.brand-film__frame {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--c-panel);
}
.brand-film__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .brand-film { padding-inline: 4%; }
}

/* 2026-10-05 - TYPE HIERARCHY ============================================
   Nearly everything is set in caps now, so weight and size have to carry the
   hierarchy on their own:
   1. block headings (.title-section)           - largest, ExtraBold
   2. sub-headings (item / case / FAQ titles)    - caps, Bold, a clear step down
   3. supporting copy (body, answers, buttons)   - caps, Regular, small
   Caps need air, so the negative tracking the mixed-case copy used is
   replaced with a small positive one on levels 2-3. Email addresses stay as
   written. */
:root {
  --fw-700: 700;
  --fw-800: 800;
}

body { text-transform: uppercase; }
.btn[href="mailto:hello@preproduction.studio"] .btn__label { text-transform: none; }

/* 1 - block headings */
.title-section {
  font-weight: var(--fw-800);
  letter-spacing: -.035em;
}
.title-section__count { font-weight: var(--fw-500); letter-spacing: 0; }

/* section eyebrow: small and light, so it no longer competes with the heading */
.top-text { font-size: .75rem; font-weight: var(--fw-500); letter-spacing: .1em; }

/* 2 - sub-headings */
.title-md {
  font-size: calc(var(--page-title) * .72);
  font-weight: var(--fw-700);
  letter-spacing: -.01em;
}
.title-md--footer { font-size: calc(var(--font-h2) * .8); }
.client__name,
.service-row__title,
.case__title,
.work__title,
.claim__lead,
.claim__line {
  font-weight: var(--fw-700);
  letter-spacing: -.01em;
}
.client__name { font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.service-row__title { font-size: calc(var(--thumb-title) * .85); }
.faq-item__head {
  font-size: 1rem;
  font-weight: var(--fw-700);
  letter-spacing: 0;
  line-height: 1.2;
}

/* 3 - supporting copy */
.body-text,
.client__body,
.faq-item__inner p {
  font-size: .875rem;
  font-weight: var(--fw-400);
  line-height: 1.45;
  letter-spacing: .02em;
}
.body-text--lg { font-size: .9375rem; }
.faq-item__inner p { opacity: .65; }
.client__num,
.service-row__num,
.case__open,
.work__eyebrow,
.work__counter { font-weight: var(--fw-500); }
.btn { font-size: .8125rem; }
.btn__labels { letter-spacing: .04em; }
.nav-link__text { font-size: .8125rem; letter-spacing: .04em; }
.service-tags__item { font-weight: var(--fw-500); letter-spacing: .06em; }
.contact-card { letter-spacing: .02em; }
.copyright { font-weight: var(--fw-400); letter-spacing: .04em; }

@media screen and (max-width: 991px) {
  .service-row__title { font-size: calc(var(--font-h3) * .85); }
}
@media screen and (max-width: 767px) {
  .btn { font-size: .75rem; }
}
@media screen and (max-width: 479px) {
  /* The block heading had dropped to 1.9rem here - the same size as a case
     title - which is exactly where the page ran together into one mass. */
  .title-section { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .client__name { font-size: 1.15rem; }
  .faq-item__head { font-size: .9375rem; }
  .body-text,
  .client__body,
  .faq-item__inner p { font-size: .8125rem; }
  .body-text--lg { font-size: .875rem; }
  .title-md { font-size: 1.35rem; }
  .title-md--footer { font-size: 1.25rem; }
}

/* 2026-10-05 - CASES ON PHONES ===========================================
   The cards were sticky boxes of a fixed 400/500px height with the cover
   letterboxed (`contain`) inside, so each cover came out a different width
   and the next card's title slid over the previous photograph. On phones the
   cards now stand in a plain column: every frame is the full container width
   at one 2:3 ratio (the ratio the covers are shot at), filled edge to edge. */
@media screen and (max-width: 767px) {
  .section--cases { padding-inline: 4%; }
  .case + .case { margin-top: 14px; }
  .case__card {
    position: relative;
    height: auto;
    padding: 0;
  }
  .case__frame {
    height: auto;
    aspect-ratio: 2 / 3;
  }
  .case__image { object-fit: cover; }
  .case__meta { inset: auto 0 22px; }
}

/* The rotating claim is one fixed line box; in caps the longest line needs a
   step down so it still fits on a phone without wrapping out of its mask. */
.claim {
  --claim-size: calc(var(--font-h3) * .82);
  --claim-line: calc(var(--claim-size) * var(--lh-tight));
}
.claim__lead,
.claim__line { font-size: var(--claim-size); white-space: nowrap; }

/* Buttons don't inherit text-transform, so the FAQ questions stayed in mixed
   case. The heading mask also clipped the breve of "Й" at a .85 line-height. */
button { text-transform: inherit; }
.reveal-line { padding-top: .14em; margin-top: -.14em; }
.case__open { white-space: nowrap; }
@media screen and (max-width: 479px) {
  .service-row__title { font-size: 1.05rem; }
}

/* Rolling labels (nav links, buttons) are two stacked copies of the text under
   a mask. The masks were fixed at 19px (+3px padding on the nav) while the
   caps pass made the labels smaller, so the top of the second copy showed as
   a "reflection" under every label. Each mask is now exactly one line box of
   its own text, and the nav's gap to the underline lives inside that line box
   instead of in padding the clip didn't cover. */
.nav-link__mask {
  height: 1.6em;
  padding-bottom: 0;
  font-size: .8125rem;
}
.nav-link__text {
  font-size: 1em;
  line-height: 1.6;
  height: 1.6em;
}
.btn__labels {
  line-height: 1.3;
  height: 1.3em;
}
.btn__label { height: 1.3em; }

/* The contacts panel ("Поговоримо") was removed, so the plus row now opens the
   footer directly under the FAQ section, which already pays the block gap -
   its own top margin would double the join. */
.section--footer > .plus-row:first-child { margin-top: 0; }

/* Instagram handle stays as written, like an email address. */
.btn[href*="instagram.com/base.age"] .btn__label { text-transform: none; }

/* 2026-10-06 - Random Grotesque runs narrower than Inter, so at the sizes
   tuned for Inter the supporting copy read a step too small. */
.body-text,
.client__body,
.faq-item__inner p { font-size: .975rem; letter-spacing: .03em; }
.body-text--lg { font-size: 1.05rem; }
.btn { font-size: .9rem; }
.nav-link__mask { font-size: .875rem; }
.top-text { font-size: .8125rem; }
.case__open { font-size: .8125rem; }
@media screen and (max-width: 767px) {
  .btn { font-size: .875rem; }
}
@media screen and (max-width: 479px) {
  .body-text,
  .client__body,
  .faq-item__inner p { font-size: .9rem; }
  .body-text--lg { font-size: .95rem; }
  .faq-item__head { font-size: 1rem; }
}

/* 2026-10-07 - PHONES: the two-line hero name read as two separate lines at
   .92 - Random Grotesque sits low in its box, so the gap between
   "FULL-SERVICE" and "PRODUCTION" looked wider than the comp. The per-line
   clip still has its .14em of padding below the caps, so nothing is shorn.
   Supporting copy was too thin and dim to read on a phone screen. */
@media screen and (max-width: 767px) {
  .hero__wordmark { line-height: .8; }
  .body-text,
  .client__body {
    color: rgb(252 245 239 / .80);
    font-weight: var(--fw-500);
    letter-spacing: .5px;
  }
}

/* 2026-10-07 - HERO NAME in RG Spacious: set Bold, and the hyphen in
   "FULL-SERVICE" no longer welds the two words. main.js splits the name into
   one inline-block per glyph, so the font's own kerning never reaches the
   hyphen - its sidebearings are given here instead. The L side gets the
   smaller one: the open counter above the L's foot already reads as space. */
.hero__wordmark { font-weight: var(--fw-700); }
.hero__wordmark .wordmark__line:first-child .ch:nth-child(5) { margin: 0 .07em 0 .05em; }
