/* ===== tokens.css ===== */
/* ==========================================================================
   AVELaunch Books — design tokens
   Source of truth: WEBSITE_DESIGN (Figma), page "Dekstop"
   Handoff document v1.0, 7 September 2026, sections 6 and 7
   No colour value may be written anywhere outside this file.
   ========================================================================== */

:root {
  /* --- 6.2 Primitive palette ------------------------------------------- */
  --rich-black-1:      #0B1424;  /* body text, inverse surfaces, 3px strokes */
  --rich-black-2:      #E8EDF5;
  --rich-black-3:      #C7D2E3;  /* 1px hairline, vertical grid lines       */
  --rich-black-4:      #93A3BD;
  --rich-black-5:      #5D6C86;  /* secondary text                          */
  --rich-black-6:      #08101D;
  --rich-black-7:      #050A14;

  --space-cadet-1:     #1B2A57;
  --space-cadet-2:     #EEF2FA;
  --space-cadet-3:     #CBD6EC;
  --space-cadet-4:     #9BAED3;
  --space-cadet-5:     #657BA8;
  --space-cadet-6:     #142042;
  --space-cadet-7:     #0D162D;

  --vista-blue-1:      #7C9EC7;  /* brand surface                           */
  --vista-blue-2:      #F3F7FC;  /* spelled "Vista Vlue 2" in the file      */
  --vista-blue-3:      #DCE8F5;
  --vista-blue-4:      #B7CBE3;
  --vista-blue-5:      #93B1D3;

  --columbia-blue-1:   #C2E6F9;
  --columbia-blue-2:   #FCFEFF;
  --columbia-blue-3:   #EEF8FD;
  --columbia-blue-4:   #D9EEF9;
  --columbia-blue-5:   #CBE8FA;

  --amber-1:           #F2BB16;
  --amber-2:           #F9E08A;
  --amber-3:           #F7CD52;
  --amber-4:           #E0A800;  /* accent: buttons, underlines, active     */

  --editorial-white-1: #F8F7F4;
  --editorial-white-2: #FFFFFF;
  --editorial-white-3: #FDFBF8;
  --editorial-white-4: #EEEAE3;  /* page background                         */

  /* --- 6.3 Semantic layer ----------------------------------------------
     Reference map from the file. The layout binds to primitives, exactly
     as the Figma layers do, so this layer stays a dictionary of roles.     */
  --surface-page:       var(--editorial-white-4);
  --surface-brand:      var(--vista-blue-1);
  --surface-accent:     var(--amber-4);
  --surface-inverse:    var(--rich-black-1);
  --content-primary:    var(--rich-black-1);
  --content-secondary:  var(--rich-black-5);
  --content-on-inverse: var(--editorial-white-4);
  --content-accent:     var(--amber-4);
  --content-on-accent:  var(--rich-black-1);
  --content-on-brand:   var(--rich-black-1);
  --border-strong:      var(--rich-black-1);   /* 3px */
  --border-hairline:    var(--rich-black-3);   /* 1px */
  --border-accent:      var(--amber-4);        /* 3px */
  --action-fill:        var(--amber-4);
  --action-fill-hover:  rgba(255, 255, 255, 0); /* no fill on hover        */
  --action-border-hover: var(--amber-4);

  /* --- 4.1 Grid ---------------------------------------------------------
     1440 reference · 12 columns · Stretch · margin 50 · gutter 25
     Working area 1340. Column width is derived, never written down.       */
  --layout-reference: 1440px;
  --layout-margin:    50px;
  --header-top:       0px;    /* 2026-10-27, client: no strip above the desktop header (was 50 in the file, then 20) */
  --layout-gutter:    25px;
  --layout-content:   1340px;
  --layout-floor:     1200px;   /* lower bound of the desktop layout       */

  /* --- 4.1 Vertical lines ----------------------------------------------
     Seven lines, step 180 of 1440 = 12.5 % of the window.
     THIS IS THE ONLY PLACE THE POSITIONS EXIST. Both layers — the page
     layer under the content and the header layer over its blurred
     background — read them from here. Writing them twice is what makes
     the two layers drift apart at the header edge.                        */
  --line-step:  12.5%;
  --line-width: 1px;
  --line-color: var(--rich-black-3);

  /* --- 8 Effects --------------------------------------------------------
     One effect on the whole site: BACKGROUND_BLUR 50 on the header plate. */
  --header-blur: 25px;
  --header-plate: rgb(238 234 227 / 0.75);
  --header-height: 61px;

  /* --- Motion ----------------------------------------------------------- */
  --t-fast: 150ms;
  --t-base: 300ms;
}

/* ===== base.css ===== */
/* ==========================================================================
   AVELaunch Books — fonts, typography scale, grid, vertical lines, layout
   intent tags. Handoff sections 4, 5, 7, 15.
   ========================================================================== */

/* --- 15.1 Fonts. Served from our own domain, never a third party. -------- */
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/mulish-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/mulish-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/mulish-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Comforter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/comforter-latin-400-normal.woff2") format("woff2");
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: var(--layout-floor);
  background: var(--surface-page);
  color: var(--content-primary);
  font-family: "Mulish", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* 9. Keyboard focus is visible on every interactive element: white plate,
   3px accent stroke — the decision taken for the form fields, applied site
   wide because the component sets carry no separate focus variant.        */
:focus-visible {
  outline: 3px solid var(--border-accent);
  outline-offset: 2px;
}

/* 2026-10-15, designer's desktop review of 13 Oct, items 10 and 18: fields
   stay Editorial White 4 #EEEAE3 in every state; focus adds only the 3 px
   Amber 4 #E0A800 outline. The tablet hand-off of 13 Oct: Editorial White 4
   is the only white. So on the desktop layer focus no longer paints a plate
   of pure white (#FFFFFF, --editorial-white-2) — it used to here, and as an
   element-type match it won over every input's own fill. The plate is kept
   below 1280 only, so the tablet and mobile layers, which have no focus
   rule of their own and inherited this one, behave exactly as before; that
   is their brief to change, not this one. A block that sets its own focus
   fill (sections/main/s15.css) still wins on specificity. */
@media (max-width: 1279.98px) {
  :focus-visible {
    background-color: var(--editorial-white-2);
  }
}

/* --- 7.3 Heading trim ---------------------------------------------------
   Headings in the file sit on the cap height, not on the line box. Without
   the trim every heading drops a few pixels and the spacing above it reads
   larger than the macket.                                                  */
.u-trim {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* --- 7.2 Type styles ----------------------------------------------------
   Letter spacing comes from Figma as a percentage of the type size, so it
   is written in em and never converted to pixels. Line height is Auto in
   every style, which is line-height: normal, not 100 %.                    */
.t-heading-accent       { font-family: "Comforter", cursive; font-weight: 400; font-size: 100px; letter-spacing: 0; text-transform: uppercase; }
.t-heading-accent-small { font-family: "Comforter", cursive; font-weight: 400; font-size: 100px; letter-spacing: 0; }
.t-heading              { font-weight: 1000; font-size: 50px; letter-spacing: 0.1em;  text-transform: uppercase; }
.t-heading-wide         { font-weight: 1000; font-size: 50px; letter-spacing: 0.06em; text-transform: uppercase; }
.t-heading-wide-light   { font-weight: 200;  font-size: 50px; letter-spacing: 0.06em; text-transform: uppercase; }
.t-subheading           { font-weight: 400;  font-size: 25px; letter-spacing: 0;      text-transform: uppercase; }
.t-intro                { font-weight: 400;  font-size: 25px; letter-spacing: 0; }
.t-intro-black          { font-weight: 1000; font-size: 25px; letter-spacing: 0;      text-transform: uppercase; }
.t-intro-black-wide     { font-weight: 1000; font-size: 25px; letter-spacing: 0.1em;  text-transform: uppercase; }
.t-base                 { font-weight: 400;  font-size: 15px; letter-spacing: 0; }
.t-base-black           { font-weight: 1000; font-size: 15px; letter-spacing: 0; }
.t-base-italic          { font-weight: 400;  font-size: 15px; font-style: italic; }
.t-base-down-black      { font-weight: 1000; font-size: 15px; text-transform: lowercase; }
.t-base-up              { font-weight: 400;  font-size: 15px; text-transform: uppercase; }
.t-base-up-black        { font-weight: 1000; font-size: 15px; text-transform: uppercase; }
.t-base-up-black-wide   { font-weight: 1000; font-size: 15px; letter-spacing: 0.1em;  text-transform: uppercase; }
.t-label                { font-weight: 400;  font-size: 25px; letter-spacing: 0.1em;  text-transform: uppercase; }
.t-label-wide           { font-weight: 400;  font-size: 25px; letter-spacing: 0.6em;  text-transform: uppercase; }
.t-label-big            { font-weight: 200;  font-size: 100px; text-transform: uppercase; }
.t-label-big-black      { font-weight: 1000; font-size: 100px; text-transform: uppercase; }

.u-secondary { color: var(--content-secondary); }
.u-accent    { color: var(--content-accent); }

/* 2026-10-27: the designer ships one carousel chevron (Arrow1.svg →
   assets/icon-arrow-prev.svg?v=b0bd3895, pointing left). A next arrow is the same file
   mirrored. */
.u-flip-x    { transform: scaleX(-1); }

/* --- 4.1 / 4.2 Working area ---------------------------------------------
   Above 1440 the working area holds at 1340 and centres; the margins grow.
   Between 1200 and 1440 the margin stays 50, the gutter stays 25, the
   columns narrow. Type sizes do not change.                               */
.container {
  width: min(var(--layout-content), 100% - var(--layout-margin) * 2);
  margin-inline: auto;
}

/* 12-column helper. The column width is derived from the grid, never set. */
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--layout-gutter);
}

/* --- 5.1 Intent tags ----------------------------------------------------
   Five values cover all thirty-nine hand-composed blocks. Where Auto Layout
   in the file disagrees with the tag, the tag wins.                        */

/* fluid — lives inside the working area and narrows with it. Default. */
.is-fluid { width: 100%; }

/* flow — a row of equal elements that wraps when it stops fitting.
   The gap equals the gutter. The count per row is not fixed.              */
.is-flow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--layout-gutter);
}
.is-flow > * { flex: 1 1 var(--flow-basis, 430px); min-width: 0; }

/* bleed:both — runs the full window width both sides. Text and cards
   inside stay in the working area.                                        */
.is-bleed-both {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* bleed:left / bleed:right — out past one margin only, never both.
   --bleed-stop is the macket coordinate of the edge that stays put,
   expressed as a share of the working area.

   The box stops growing at the reference frame. It used to run to the window
   edge (`margin-left: calc(50% - 50vw)`), which at 1440 made it exactly the
   macket's 1340 — every share inside is a share of 1340, so the composition
   was right there and only there. At 1920 the same box became 1580 and the
   photograph, the cards and the text stretched with it: the "block drifts
   left" the comments report, eighteen times over. Pinned to the frame, the
   proportions inside are the macket's at any width.

   What is supposed to keep running off the edge is the fill, not the
   composition — an amber slab, a coloured band. That is `.u-bleed-fill-left`
   below, on the fill itself. */
.is-bleed-left {
  width: calc(100% - var(--bleed-stop, 0%)
              + (var(--layout-reference) - var(--layout-content)) / 2);
  margin-left: calc((var(--layout-content) - var(--layout-reference)) / 2);
  margin-right: 0;
}
/* Mirror image: for bleed:right the stop is the LEFT inset, so it stays a
   margin and the width comes off the same side. */
.is-bleed-right {
  width: calc(100% - var(--bleed-stop, 0%)
              + (var(--layout-reference) - var(--layout-content)) / 2);
  margin-right: calc((var(--layout-content) - var(--layout-reference)) / 2);
  margin-left: var(--bleed-stop, 0%);
}

/* The fill carries on to the window edge from wherever it stops. It paints a
   viewport's worth sideways and the page clips it, so no width has to be
   worked out. `background: inherit` so the fill's own colour is the only
   place a colour is written. */
.u-bleed-fill-left::before,
.u-bleed-fill-right::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  background: inherit;
}
.u-bleed-fill-left::before  { right: 100%; }
.u-bleed-fill-right::after  { left: 100%; }

/* --- 4.0 The frame ------------------------------------------------------
   Everything positioned from --line-step is positioned inside this box, and
   nothing else is: the macket's 1440 frame, centred, shrinking with the
   window below 1440 and holding still above it. Before this existed, the
   line layer was `inset: 0` on the page, so --line-step read as 12.5 % of
   the WINDOW: at 1440 the lines landed on 180 · 360 · … · 1260 exactly, and
   at 1920 they spread to a 240 step and left the working area behind. Same
   for the header's menu, which took its cells from the same percentage.
   One box, one source, so the page layer and the header layer cannot drift
   apart at any width.                                                      */
.u-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--layout-reference));
  transform: translateX(-50%);
}

/* --- 4.1 Vertical lines -------------------------------------------------
   One component, two placements. Positions are read from --line-step in
   tokens.css and exist nowhere else, so the page layer and the header layer
   cannot drift apart.                                                      */
.gridlines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--layout-reference));
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.gridlines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--line-width);
  background: var(--line-color);
  left: calc(var(--n) * var(--line-step));
}

/* The page layer sits under every section, the full height of the document.
   The header is the one exception: it keeps its own sticky positioning and
   rides above, because it draws its own copy of the lines over its plate. */
/* Bleeding blocks are drawn past the window edge on purpose — an amber band
   that runs off the left, a roller whose next card is cut by the right. The
   page clips them at the window. `clip` and not `hidden`: hidden would make
   this a scroll container and the pinned header would stop pinning. */
.page {
  position: relative;
  overflow-x: clip;
}
.page > .gridlines { z-index: 0; }

/* 2026-10-15, designer's desktop review of 13 Oct, item 1 ("no lines").
   The layer was present on all 27 pages at 180 · 360 · … · 1260 of the 1440
   frame and showed on the page ground for 30–85 % of each page's height (the
   rest is opaque section fills, which cover it in the file too — Main 1:3,
   `BackgroundLines` 73:593 sits under `Sections + footer`). What was missing
   is the strip above the header: the header's 50 margin-top collapses
   through `.page`, so `.page` — and the layer with `top: 0` — began at y 50
   and the 0–50 strip had no lines, where the file draws `UpperLines`
   152:1612. The layer now starts at the top of the document. Desktop only:
   the tablet and mobile layers hide this header, so nothing collapses
   there. */
@media (min-width: 1280px) {
  .page > .gridlines { top: calc(-1 * var(--header-top)); }
}
.page > *:not(.gridlines):not(.site-header):not(.site-up) { position: relative; z-index: 1; }
.page > .site-header { z-index: 2; }

/* Skip link — visible only once it takes focus. */
.skip-link {
  position: absolute;
  left: var(--layout-margin);
  top: 0;
  z-index: 10;
  transform: translateY(-200%);
  padding: 12px 25px;
  background: var(--editorial-white-2);
  color: var(--content-primary);
  font-weight: 1000;
  font-size: 15px;
  text-transform: uppercase;
  transition: transform var(--t-fast);
}
.skip-link:focus-visible { transform: translateY(0); }

/* --- Vertical rhythm between the blocks ---------------------------------
   The file stacks the screen's blocks on a fixed rhythm, and it is defined
   here once rather than inside each section: a section owns its own height,
   never the air around it.

   Read off the Main screen (1:3): the header's box ends at 111 and the first
   block starts at 180; every neighbouring pair of blocks sits 150 apart; the
   footer sits 100 below the last one.

   150 is only the Main screen's number. Services runs 150 · 100 · 0, How It
   Works runs 100 below its halfway point, and the gap under the header is a
   different number on every screen. So the default lives here and a block
   that departs from it writes its own value once, in the markup, as
   `style="--gap: 100px"` on the <section> — the measured Figma number, next
   to the block it belongs to, still not a margin the section sets on itself.

   The FAQ on Main carries `--gap: 0`: its full-width blue fill is meant to
   start exactly where the founder block above it ends.                      */
:root {
  --block-gap: 150px;
  --block-gap-first: 69px;   /* header box 111 → first block 180 */
  --block-gap-footer: 100px;
}

main > section + section  { margin-top: var(--gap, var(--block-gap)); }
main > section:first-child { margin-top: var(--gap, var(--block-gap-first)); }
.page > .site-footer { margin-top: var(--gap-footer, var(--block-gap-footer)); }

/* --- 13.3 Anchors -------------------------------------------------------
   Smooth scroll that accounts for the pinned header, so the target block
   does not hide underneath it.                                            */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-height) + 50px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Below the 1200 floor ------------------------------------------------
   The design stops at 1200: below that there is no narrower composition to
   fall back to, and `min-width` on its own gave a horizontal scrollbar — the
   headline cut off the left edge, half the hero off the right. A window at
   900 is not a phone; it is a laptop or a half-screen window, and a page you
   have to scroll sideways to read is broken in the only sense that matters.

   So the page keeps its 1200 layout and is scaled down to fit the window.
   Everything stays in proportion and simply reads smaller. This is not a
   narrow layout and it is no substitute for one — it is what the site does
   until a narrow composition is drawn.

   The scale itself cannot be written here: `zoom` needs a plain ratio, and
   no CSS expression turns a viewport width into one — dividing 100vw by 1200
   yields a length, which `zoom` rejects. So it is set by the small inline
   script the build puts at the top of every <body>, and `zoom` rather than
   `transform: scale()` because a transform would make the pinned header and
   the scroll-to-top control position against the transformed box instead of
   the window, and both would come unstuck.                                 */

/* An inline link inside body copy. The site has no underlines anywhere, so
   a link in the middle of a sentence has to be told apart some other way:
   it carries the accent colour and a 1px rule that thickens on hover. */
.u-link-inline {
  color: var(--content-accent);
  border-bottom: 1px solid currentColor;
  transition: border-bottom-width var(--t-fast), color var(--t-fast);
}
.u-link-inline:hover,
.u-link-inline:focus-visible {
  border-bottom-width: 3px;
}

/* 2026-11-02, client: a text link that keeps the colour of the words around
   it, so it reads on the page, on Vista Blue and on Amber plates alike — the
   privacy line under every form (js/forms.js) and "Read the story →" on the
   author cards. Same shape as .u-link-inline: a 1px rule under the words
   that thickens on hover and focus. Not in Figma. */
.u-link-text {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness var(--t-fast);
}
.u-link-text:hover,
.u-link-text:focus-visible {
  text-decoration-thickness: 3px;
}

/* 2026-11-02, client: "Result" on the author cards (business b6/t4/m5,
   wellness w5/t4/m5) was an amber or outlined box that looked like a
   button. It is a label now: the word in Base Up Black Wide, Rich Black 1,
   after a short Amber 4 rule. No plate, no box, not focusable, not a link.
   The span inside carries u-trim (a flex item is a block box). Not in Figma,
   which draws the box. */
.c-result-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--content-primary);
}
.c-result-label::before {
  content: "";
  flex: 0 0 25px;
  height: 3px;
  background: var(--border-accent);
}
.c-result-more { margin: 0; color: var(--content-primary); }

/* 2026-10-27, client: the counters (js/stats.js). Digits keep one width while
   they count, and the "+" hangs outside the number so the number itself is
   what sits on the centre line (it looked off-centre with the "+" counted). */
.stat-n { font-variant-numeric: tabular-nums; }
.stat-wrap { position: relative; display: inline-block; }
/* 2026-10-27, client: centring the digits alone looked off the other way;
   the group sits between the two — shifted left by about half the "+" so
   the eye reads number and sign as centred. */
.stat-wrap:has(.stat-plus) { left: -0.17em; }
.stat-plus { position: absolute; left: 100%; top: 0; }

/* 2026-11-02, founders: the logo cursor of 2026-10-27 is gone — amber on
   amber buttons, and visitors could not tell what was clickable. The native
   cursor is back; anything clickable shows the pointing hand. */
a, button, [role="button"], label, summary, select,
[data-open-form], .is-tappable { cursor: pointer; }
/* A text field inside a clickable label keeps the text caret. */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
textarea { cursor: text; }

/* --- Pull quote --------------------------------------------------------
   2026-10-27, client ("make the quote a quote"): the founder's quote on
   Main, About, For business experts and For wellness experts read like a
   heading (Intro Black, all caps, as Figma 998:11862 and its siblings draw
   it). It now speaks the site's own quote language, the one from the case
   pages' "In their own words" band (case.css .s-case-quote__*, caset.css
   .tb-cases-6__*): the amber opening mark in Label Big Black, the words in
   Intro beside it, the attribution under the words. The words are italic,
   as the quotes in Client Voices are (main/s7). The mobile reading of the
   same pattern is in m-base.css (.c-quote--m).

     <figure class="c-quote">
       <p class="c-quote__mark t-label-big-black u-trim" aria-hidden="true">“</p>
       <blockquote class="c-quote__words"><p class="t-intro u-trim">…</p></blockquote>
       <figcaption class="c-quote__by t-base-up-black u-trim">— Name</figcaption>
     </figure>                                                              */
.c-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--layout-gutter);
  row-gap: var(--layout-gutter);
  align-items: start;
  text-align: left;
  /* 2026-10-27, client: more air between the quote and what is around it. */
  margin-block: 30px;
}
.c-quote__mark {
  grid-row: 1 / span 2;
  color: var(--content-accent);
}
.c-quote__words {
  grid-column: 2;
  font-style: italic;
}
.c-quote__by {
  grid-column: 2;
  color: var(--content-secondary);
}

/* 2026-10-27, client: the pull-quote types itself out (js/quote.js). The
   letters are hidden, not removed, so the quote keeps its size from the
   start; the attribution fades in when the last letter is down. */
.c-quote.is-typing .c-quote__ch { opacity: 0; }
.c-quote.is-typing .c-quote__ch.is-on { opacity: 1; }
.c-quote.is-typing .c-quote__by { opacity: 0; transition: opacity 500ms ease; }
.c-quote.is-typing .c-quote__by.is-on { opacity: 1; }

/* ===== header.css ===== */
/* ==========================================================================
   Site header — Figma component set 504:2789, instance 20:1973 on Main.
   Load AFTER css/base.css.

   Full window width, 61px tall, pinned to the top of the window. Three
   layers, bottom to top:

     1. the plate  — Editorial White 4 at 75 % over a background blur
                     (Figma "Rectangle 13", 1440 x 61)
     2. the lines  — the page's own .gridlines component, drawn a second
                     time so the seven lines sit OVER the plate
     3. the logo and the menu

   Geometry: the seven lines and the seven menu cells are the same seven
   positions. They are read from --line-step in tokens.css and appear
   nowhere else, so the page's line layer and the header's cannot drift.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  /* Starts one strip down; the page's own lines show in that strip. The file
     draws it 50 (one page margin); 20 since 2026-10-27, the client's call
     after the designer's answer that the strip and its lines must stay. */
  margin-top: var(--header-top);
}

/* base.css pins every child of .page with `position: relative` at a higher
   weight than a single class, so the sticky behaviour is restated here at
   matching specificity. Width stays `auto` — the header must measure the
   same box as .page, not 100vw, or the scrollbar would offset its lines by
   a few pixels against the page's. */
.page > .site-header {
  position: sticky;
  z-index: 10;
}

/* --- 1. The plate ------------------------------------------------------- */
.site-header__plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--header-plate);
  -webkit-backdrop-filter: blur(var(--header-blur));
  backdrop-filter: blur(var(--header-blur));
}

/* --- 2. The lines -------------------------------------------------------
   The only modifier the shared component needs: it is lifted above the
   plate. The page layer keeps z-index 0 and stays under the content, so
   what shows inside the header is this crisp set at full strength, never
   the page's set dimmed and blurred through the translucent plate.       */
.site-header__lines {
  z-index: 1;
}

/* --- 3. Logo ------------------------------------------------------------ */
/* The macket's margin measured from the frame, not from the window: above
   1440 the frame centres, and a logo pinned to the window edge would sit
   240 away from the menu that starts at the frame's first line. */
.site-header__logo {
  position: absolute;
  z-index: 2;
  left: calc(max(0px, (100% - var(--layout-reference)) / 2) + var(--layout-margin));
  top: 50%;
  transform: translateY(-50%);
}

/* 15px tall, the wordmark's own ratio gives the width (107.45 in the
   macket). Fixed to the window margin, not to a share of the width. */
.site-header__logo img {
  width: auto;
  height: 15px;
}

/* --- 3. Menu ------------------------------------------------------------
   Each cell's line is at --n * --line-step; the label sits one gutter to
   the right of it. The cell width (150 in the macket) is never needed —
   the next cell is placed from the next line, not from this one's edge.  */
/* The frame box, not the window: the cells are placed from --line-step and
   the lines they belong to are now anchored to the macket's 1440 frame
   (base.css §4.0). Window-wide, the menu spread with the window and left
   its own lines behind above 1440. */
.site-header__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--layout-reference));
  transform: translateX(-50%);
  z-index: 2;
  /* The nav box covers the whole header, including the logo. It is
     transparent but would still take the clicks, so it is made inert and
     only the menu items themselves are given back to the pointer. */
  pointer-events: none;
}

.site-header__item {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: auto;
  left: calc(var(--n) * var(--line-step) + var(--layout-gutter));
}

.site-header__link {
  white-space: nowrap;
  transition: color var(--t-fast);
}

/* Active page. The five variants in the set carry no other difference at
   this height, so one rule covers Main, Services, Process, Results and
   About. Styled off the attribute so the markup cannot drift from it. */
.site-header__link[aria-current="page"],
.site-header__link:hover,
.site-header__link:focus-visible {
  color: var(--content-accent);
}

/* 2026-10-27, desktop review 20 Oct item 14 ("the header does not show which
   section the visitor is on"). Read from every Dekstop frame's Header
   instance: the bar label of the section is Amber 4 (Button_text prop=hov
   colour, 2:385) on the section's own pages AND on its sub-pages —
   Discovery Sprint 504:3358 → Services; Free Resources 521:2838 / 818:6803
   and the three cases → Results; FAQ 521:3179 and Contact 521:3200 → About.
   The exact-page link already gets aria-current from build.py; the sub-pages
   only marked their own link in the (closed) sub-row, so nothing showed in
   the bar. The page's sub-nav group (data-subnav, from pages.json) now marks
   its owner too. The rows stay closed: the client ruled on 08 Oct that the
   header never opens by itself, although the frames draw it open.        */
.site-header[data-subnav="services"] .site-header__link[data-opens="services"],
.site-header[data-subnav="results"]  .site-header__link[data-opens="results"],
.site-header[data-subnav="about"]    .site-header__link[data-opens="about"] {
  color: var(--content-accent);
}

/* --- 4. The sub-navigation ----------------------------------------------
   Three of the five header variants in the set are 113 tall instead of 61:
   Services (966:7456), Results (521:2698) and About (521:3038). The extra
   52 is a second row of links that hangs under the item that owns it —
   All services / Discovery Sprint under Services, Author Stories / Free
   Resources under Results, Our Team & Story / FAQ / Contact under About.

   Each sub-item sits on the SAME seven positions as the bar above it, one
   gutter right of its line. The plate under the row is the bar's own plate,
   grown by 52 across the full width, with the seven lines carried down
   through it (Figma "Group 75") — see item 12 below, 2026-10-15. Until then
   the plate covered only the group's own columns and the rest was bare.

   The block is a child of the <li> that opens it, so :hover and
   :focus-within on that item are the entire interaction — no script, and
   the pointer can travel down into the row without losing the hover
   because it never leaves the <li>'s subtree.

   It is an OVERLAY, not flow: on Services the hero deliberately starts at
   110 and runs up behind the whole header. A page whose first block is
   meant to start below the open row writes that into its own --gap.     */
/* The row is a frame box, not a window-wide one: every piece inside it —
   plate, rule, line copy, labels — is placed from --line-step, and the line
   copy is now anchored to the macket's 1440 frame (base.css §4.0). If this
   row stayed window-wide the plate would sit at 12.5 % of the window while
   the lines sat on the frame, and above 1440 they would come apart. */
.site-header__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(100%, var(--layout-reference));
  transform: translateX(-50%);
  height: 52px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast) ease, visibility var(--t-fast);
  /* The nav box above is inert so it cannot swallow clicks meant for the
     page; this row is its own box and takes its own. */
  pointer-events: auto;
}

/* The block is a sibling of the menu, not a child of the item that opens it:
   the item is itself absolutely positioned, so a descendant would be laid
   out against that one narrow cell instead of across the header. :has()
   carries the relationship instead.

   Three states, in this order, and the order is the whole logic:

     1. a page that belongs to a group holds that group's row open;
     2. the moment the pointer or the caret lands on ANY opening item, every
        row closes — otherwise the page's own row and the hovered one draw
        on top of each other in the same 52px strip, which is what the
        header did on all seven section pages;
     3. the row belonging to what is actually being pointed at opens.

   Step 3 also keeps the row open while the pointer is inside it, so
   travelling down from the label into the links does not close it. */

/* 1 — REMOVED 2026-10-08 at the client's request. The page used to hold
   its own group's row open (Services, Results, About). The client: the
   header must never open by itself — only under the pointer or the caret,
   which is what the Figma component's open variants (set 504:2789) are.
   The current page is still marked in the bar (aria-current, amber). */

/* 2 — anything being pointed at or tabbed to closes all of them first */
.site-header:has(.site-header__link[data-opens]:hover) .site-header__sub,
.site-header:has(.site-header__link[data-opens]:focus-visible) .site-header__sub,
.site-header:has(.site-header__sub:hover) .site-header__sub,
.site-header:has(.site-header__sub:focus-within) .site-header__sub {
  opacity: 0;
  visibility: hidden;
}

/* 3 — and only the one being pointed at opens */
.site-header:has(.site-header__link[data-opens="services"]:hover) .site-header__sub[data-group="services"],
.site-header:has(.site-header__link[data-opens="services"]:focus-visible) .site-header__sub[data-group="services"],
.site-header:has(.site-header__sub[data-group="services"]:hover) .site-header__sub[data-group="services"],
.site-header:has(.site-header__sub[data-group="services"]:focus-within) .site-header__sub[data-group="services"],
.site-header:has(.site-header__link[data-opens="results"]:hover) .site-header__sub[data-group="results"],
.site-header:has(.site-header__link[data-opens="results"]:focus-visible) .site-header__sub[data-group="results"],
.site-header:has(.site-header__sub[data-group="results"]:hover) .site-header__sub[data-group="results"],
.site-header:has(.site-header__sub[data-group="results"]:focus-within) .site-header__sub[data-group="results"],
.site-header:has(.site-header__link[data-opens="about"]:hover) .site-header__sub[data-group="about"],
.site-header:has(.site-header__link[data-opens="about"]:focus-visible) .site-header__sub[data-group="about"],
.site-header:has(.site-header__sub[data-group="about"]:hover) .site-header__sub[data-group="about"],
.site-header:has(.site-header__sub[data-group="about"]:focus-within) .site-header__sub[data-group="about"] {
  opacity: 1;
  visibility: visible;
}

/* 2026-10-15, designer's review of 13 Oct, item 12 — the open header is one
   block. The group's own piece of the plate and its own clipped copy of the
   lines used to be drawn here, column by column; the rest of the 52 strip was
   bare and the page scrolled visibly under it. The file draws the open
   variants (Services 966:7456, Results 521:2698, About 521:3038) as one
   1440 x 113 "Rectangle 13" under bar and row together, with all seven lines
   carried down ("Group 75"). So: the bar's plate grows by the row whenever
   any group is open, and one line layer (.site-header__row) runs through
   the row at all seven positions. Only the rule (Line 39) and the links stay
   per group. */
.site-header__plate {
  transition: bottom var(--t-fast) ease;
}

.site-header__row {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 52px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast) ease, visibility var(--t-fast);
}

.site-header:has(.site-header__link[data-opens]:hover) .site-header__plate,
.site-header:has(.site-header__link[data-opens]:focus-visible) .site-header__plate,
.site-header:has(.site-header__sub:hover) .site-header__plate,
.site-header:has(.site-header__sub:focus-within) .site-header__plate {
  bottom: -52px;
}
.site-header:has(.site-header__link[data-opens]:hover) .site-header__row,
.site-header:has(.site-header__link[data-opens]:focus-visible) .site-header__row,
.site-header:has(.site-header__sub:hover) .site-header__row,
.site-header:has(.site-header__sub:focus-within) .site-header__row {
  opacity: 1;
  visibility: visible;
}

/* 2026-11-11 — touch. Client: «на планшеті у горизонтальному вʼю не
   відкриваються підменю у хедері». A tablet in landscape (1024 and up) gets
   this layer, and js/touch-hover.js turns every :hover rule off after a
   touch, so nothing above could open the rows by finger. js/header-touch.js
   marks the tapped group on the header (data-touch-open; first tap opens,
   second tap on the same label follows its link, a touch outside closes).
   Drawn exactly like the hovered state: the group's row, the plate grown by
   52, the line layer, the label in amber. Placed after the rules above on
   purpose: same weight (0,4,0), so the later rule wins over step 2. */
.site-header[data-touch-open="services"] .site-header__sub[data-group="services"],
.site-header[data-touch-open="results"]  .site-header__sub[data-group="results"],
.site-header[data-touch-open="about"]    .site-header__sub[data-group="about"],
.site-header[data-touch-open] .site-header__row {
  opacity: 1;
  visibility: visible;
}
.site-header[data-touch-open] .site-header__plate {
  bottom: -52px;
}
.site-header[data-touch-open="services"] .site-header__link[data-opens="services"],
.site-header[data-touch-open="results"]  .site-header__link[data-opens="results"],
.site-header[data-touch-open="about"]    .site-header__link[data-opens="about"] {
  color: var(--content-accent);
}

/* Figma "Line 39": 1px at y 62, i.e. the first pixel of this row, spanning
   exactly the group's columns. */
.site-header__sub-rule {
  position: absolute;
  top: 1px;
  height: var(--line-width);
  left: calc(var(--from) * var(--line-step));
  width: calc(var(--span) * var(--line-step) + var(--line-width));
  background: var(--line-color);
  z-index: 2;
}

.site-header__submenu {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Macket: label baseline at y 76 within the 113 header, i.e. 15 into this
   row; same one-gutter offset from the line as the bar above. */
.site-header__subitem {
  position: absolute;
  top: 15px;
  left: calc(var(--n) * var(--line-step) + var(--layout-gutter));
  pointer-events: auto;
}

/* Sentence case, Base Regular — the one place on the site where a menu
   label is not set in capitals. */
.site-header__sublink {
  white-space: nowrap;
  transition: color var(--t-fast);
}

.site-header__sublink[aria-current="page"],
.site-header__sublink:hover,
.site-header__sublink:focus-visible {
  color: var(--content-accent);
}

/* ===== footer.css ===== */
/* ==========================================================================
   Site footer — Figma symbol 152:1464, instance 966:8527.
   Load AFTER css/base.css.

   Full window width, 415 tall in the macket, Vista Blue 1. The fill is
   opaque, so it covers the page's vertical line layer — the macket shows
   no lines inside the footer.

   Vertical rhythm, read off the macket (footer top = 0):

        50  logo, 15 tall
        83  hairline, full working area
        98  tagline          |  50   Company / Services / Contact headings
       134  social icons     |  98   first link of each column
       184  Barcelona office | 289   last link of the Services column
       339  hairline
       354  legal links and copyright
       415  foot

   The right-hand link block starts level with the logo, so the first
   hairline crosses it. That is why the two halves are one grid with fixed
   rows rather than two stacked blocks: the rules span both columns while
   the link block spans the rows above and below the first of them.
   ========================================================================== */

.site-footer {
  background: var(--vista-blue-1);
  padding-block: var(--layout-margin);
  min-height: 415px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  /* logo band · hairline · body · hairline · bottom bar */
  grid-template-rows: 33px var(--line-width) 255px var(--line-width) auto;
}

/* --- Logo --------------------------------------------------------------- */
.site-footer__logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.site-footer__logo img {
  width: auto;
  height: 15px;
}

/* --- Hairlines ---------------------------------------------------------- */
.site-footer__rule {
  grid-column: 1 / -1;
  margin: 0;
  border: 0;
  height: var(--line-width);
  background: var(--rich-black-1);
}
.site-footer__rule--top    { grid-row: 2; }
.site-footer__rule--bottom { grid-row: 4; }

/* --- Left half: tagline, socials, office -------------------------------- */
.site-footer__brand {
  grid-column: 1;
  grid-row: 3;
}

.site-footer__tagline { margin-top: 14px; }

.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--layout-gutter);
  margin-top: var(--layout-gutter);
}

.site-footer__office {
  display: block;
  font-style: normal;
  margin-top: var(--layout-gutter);
}
.site-footer__office span { display: block; }

/* --- Right half: three link columns -------------------------------------
   Spans from the logo band down past the first hairline, exactly as in the
   macket. 169 wide each, 50 apart — two gutters.                          */
.site-footer__nav {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: start;
  display: flex;
  gap: calc(var(--layout-gutter) * 2);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 169px;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
  align-items: start;
}

/* 2026-10-15, designer's desktop review of 13 Oct, item 11: "after the
   Discovery Sprint link the rule follows at once; 50 between them, as in
   the macket" (footer 152:1464 — last Services link ends at 289, rule at
   339). The links carry `.u-trim` but are inline <a>, and text-box-trim does
   nothing on an inline box (CLAUDE.md trap), so each link kept its 19 px
   line box instead of its 11 px cap height: six of them pushed the column
   48 px down and left 2 px above the rule. Blockified, the trim applies and
   the column ends at 289 again. Same for the legal row, which made the
   footer 423 tall instead of 415. */
.site-footer__list a,
.site-footer__legal a {
  display: block;
}

/* --- Bottom bar --------------------------------------------------------- */
.site-footer__bottom {
  grid-column: 1 / -1;
  grid-row: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--layout-gutter);
  margin-top: 14px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--layout-gutter);
}

.site-footer__copy {
  text-align: right;
  white-space: nowrap;
}

/* --- Links -------------------------------------------------------------- */
.site-footer a {
  transition: color var(--t-fast);
}
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--content-accent);
}

/* --- The reduced footer — Figma `Footer_min` 917:7587, 1440 x 319 --------
   Used by the two paid-traffic landing pages. Same brand block, same legal
   row, same hairline; the three site-map columns are replaced by "Contact"
   and two ways to reach us, and the second hairline is gone.

   Measured from the symbol: logo 50,50 · rule y 83 · tagline y 98 · social
   y 134 · office y 184 · legal row and copyright y 258. With the 50 page
   padding those become a 33 logo band, the rule, a 160 body and the bottom
   bar — 319 in total.                                                     */
.site-footer--min {
  min-height: 319px;
}

.site-footer--min .site-footer__grid {
  /* logo band · hairline · body · bottom bar */
  grid-template-rows: 33px var(--line-width) 160px auto;
}

/* "Contact" sits on the logo's line, hard right. */
.site-footer--min .site-footer__contact {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}

/* WhatsApp and the address share the tagline's line, right aligned. */
.site-footer--min .site-footer__reach {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: start;
  display: flex;
  gap: 50px;
  margin-top: 14px;
}

.site-footer--min .site-footer__reach a {
  transition: color var(--t-fast);
}
.site-footer--min .site-footer__reach a:hover,
.site-footer--min .site-footer__reach a:focus-visible {
  color: var(--content-accent);
}

/* The bottom bar moves up one row, since there is no second hairline. */
.site-footer--min .site-footer__bottom {
  grid-row: 4;
}

/* ===== up.css ===== */
/* ==========================================================================
   Scroll-to-top control — `Button_form` 657:4075, macket 50,235 · 61 × 72.
   Load AFTER css/base.css.

   Fixed to the window at the page margin, at the same y the file draws it,
   so it sits in the empty strip left of the first vertical line and clear of
   the header. The label is set on its side reading bottom to top, which is
   what makes the box taller than it is wide.
   ========================================================================== */

.site-up {
  position: fixed;
  left: var(--layout-margin);
  /* The file draws this at y 235 — a static position on a page that does not
     scroll. As a floating control at the same coordinate it sits on top of
     whatever band happens to be passing: the Services list on the homepage
     runs its blue fill from the page margin, and the button covered the first
     row's line. So it keeps the file's x and moves to the foot of the window,
     out of the reading column and where a back-to-top control is looked for. */
  bottom: var(--layout-margin);
  z-index: 11;                      /* over the header's 10 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border: 0;
  background: var(--action-fill);
  color: var(--content-on-accent);
  box-shadow: inset 0 0 0 3px var(--action-fill);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--t-base) ease,
              background-color var(--t-fast) ease,
              box-shadow var(--t-fast) ease;
}

/* `hidden` is removed by the script; `data-shown` is what fades it in, so
   the control is never a dead button and never a flash on load. */
.site-up[data-shown] { opacity: 1; }

.site-up__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);        /* reads bottom to top, as in the file */
  white-space: nowrap;
}

/* pas → hov on Button_form: the fill empties, the amber stroke stays, and
   the box does not change size because the stroke is drawn inside. */
.site-up:hover,
.site-up:focus-visible {
  background: var(--action-fill-hover);
  box-shadow: inset 0 0 0 3px var(--action-border-hover);
}

/* 2026-10-15, designer's desktop review of 13 Oct, item 2 (and item 3 of the
   28 Sep review): "at the top, directly under the header, as in the macket;
   it should read as a bookmark". Main 1:3 draws `Button_form` 657:4066 at
   x 50 of the frame, 61 x 72, its top 52 below the header's foot (header
   50–111, button 163–235). The 52 is exactly the open sub-navigation row,
   so the bookmark hangs from the header and an open row never covers it.
   With the header pinned its foot is at 61, so the top is 61 + 52 = 113.
   Same x rule as the header's logo: 50 from the 1440 frame, not from the
   window. The tablet layer did the same on 14 Oct (css/t-header.css).
   Supersedes the move to the window's foot recorded above. Desktop only:
   the mobile layer restyles this element and stays as it is. */
@media (min-width: 1280px) {
  .site-up {
    left: calc(max(0px, (100% - var(--layout-reference)) / 2) + var(--layout-margin));
    top: calc(var(--header-height) + 52px);
    bottom: auto;
    width: 61px;
    height: 72px;
    padding: 0;
  }
}

/* 2026-10-27, designer's answer to our question "кнопка UP" (Q&A of 20 Oct):
   the bookmark stays where it is; "on hover over yellow it changes its
   colour to white (EEEAE3) where possible". The Button_form hov variant
   empties the fill, which over an Amber 4 band (TrustLine, the yellow form
   blocks) leaves an amber ring on amber — the button disappears. So on
   desktop the hovered and keyboard-focused button is filled Editorial
   White 4; the 3 px amber ring stays. On the page ground (also Editorial
   White 4) this looks exactly like the old empty fill, so only the case
   over yellow changes. Mouse only for hover, as the brief asks; the tablet
   press state lives in css/t-header.css and is not changed here. */
@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  .site-up:hover {
    background: var(--editorial-white-4);
  }
}
@media (min-width: 1280px) {
  .site-up:focus-visible {
    background: var(--editorial-white-4);
  }
}

/* 2026-10-27, designer's answer (UP over yellow): where the button sits on
   an Amber 4 surface it turns Editorial White 4 by itself, the amber ring
   kept — js/up.js sets [data-on-amber]. Desktop and tablet only. */
@media (min-width: 768px) {
  .site-up.site-up[data-on-amber] {
    background: var(--editorial-white-4);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }
}

/* 2026-11-04, client («давай» to the UP fixes): while a call to action lies under it, the button steps aside
   (js/up.js sets [data-over-control]) and the tap reaches the page. */
.site-up.site-up[data-shown][data-over-control] {
  opacity: 0;
  pointer-events: none;
}

/* ===== consent.css ===== */
/* ==========================================================================
   Cookie consent banner — partials/consent.html, behaviour in js/track.js
   Not in the Figma file (added 2026-10-08). Everything here is a token or a
   type style the site already has: page ground, the 3 px Rich Black 1 rule,
   the Amber 4 action and ring, 15 px type, the 25 / 50 spacing steps.

   Desktop: copy left, three buttons right; the settings panel opens below
   across the full working area. Phone: one column, buttons share a row.

   The banner sits outside .page, so base.css's z-index pin (`.page > *` at
   1, specificity 0,4,0) does not reach it and a plain number is enough.
   ========================================================================== */

.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  max-height: 100vh;
  overflow-y: auto;
  background: var(--surface-page);
  border-top: 3px solid var(--border-strong);
  color: var(--content-primary);
}
.consent[hidden],
.consent [hidden] { display: none !important; }

.consent__inner {
  box-sizing: border-box;
  width: min(100%, var(--layout-reference));
  margin-inline: auto;
  padding: 25px var(--layout-margin);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 50px;
  row-gap: 25px;
}

.consent__copy { display: grid; gap: 10px; max-width: 80ch; }
.consent__title,
.consent__text { margin: 0; }
.consent__text { line-height: 1.5; }
.consent__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.consent__actions { display: flex; gap: 15px; }

.consent__btn {
  min-width: 150px;
  min-height: 44px;
  padding: 0 25px;
  border: 3px solid var(--border-accent);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  color: var(--content-on-accent);
  cursor: pointer;
  transition: background-color var(--t-fast);
}
.consent__btn--fill { background: var(--action-fill); }
.consent__btn--fill:hover { background: var(--action-fill-hover); }
.consent__btn--line:hover { background: var(--action-fill); }
.consent__btn--text {
  min-width: 0;
  padding: 0 10px;
  border-color: transparent;
  text-decoration: underline;
  text-decoration-color: var(--border-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.consent__btn--text:hover { border-color: var(--border-accent); }
.consent__btn:focus-visible,
.consent__box:focus-visible {
  outline: 3px solid var(--border-strong);
  outline-offset: 3px;
}

/* Settings panel: spans both columns under the copy and the buttons. */
.consent__panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 15px;
  justify-items: start;
  padding-top: 25px;
  border-top: 1px solid var(--border-hairline);
}
.consent__row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 15px;
  align-items: start;
  max-width: 80ch;
  cursor: pointer;
}
.consent__label { display: grid; gap: 5px; line-height: 1.5; }
.consent__box {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--amber-4);
  cursor: pointer;
}
.consent__box:disabled { cursor: default; }

/* Phone: one column; the three buttons share the row. */
@media (max-width: 767.98px) {
  .consent__inner {
    grid-template-columns: 1fr;
    row-gap: 15px;
    padding: 15px 25px calc(15px + env(safe-area-inset-bottom));
  }
  .consent__actions { gap: 10px; }
  .consent__btn { flex: 1; min-width: 0; padding: 0 10px; }
  .consent__panel { padding-top: 15px; }
  .consent__panel .consent__btn { width: 100%; }
}

/* 2026-11-04 (live from main, merged into dev) — Tetiana Lipatova's cookie edits, Marketing
   thread of 02.11, her reply of 03.11 20:00, and the web-pages playbook rule
   «consent banner on mobile: a strip, not a wall» (under 15% of the viewport;
   the hero headline stays visible). Overrides the 2026-10-08 phone layout.
   - The three buttons look the same at every width: same size, colour, type
     and contrast (before: Accept filled, Reject outlined, Settings a text link).
   - Phone: the banner is a strip of at most 90 px when closed — one sentence,
     the title kept for screen readers only, three equal buttons of 34 px.
     Each button's touch area still reaches 44 px tall through ::after
     (CONTRACT_MOBILE §5: invisible area, nothing visible moves). */
.consent__actions .consent__btn { background: transparent; }
.consent__actions .consent__btn:hover { background: var(--action-fill); }

@media (max-width: 767.98px) {
  .consent__inner {
    row-gap: 5px;
    padding: 6px 15px calc(6px + env(safe-area-inset-bottom));
  }
  .consent__copy { gap: 0; }
  .consent__title {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .consent__text { font-size: 13px; line-height: 1.3; }
  .consent__actions { gap: 8px; }
  .consent__actions .consent__btn {
    position: relative;
    flex: 1 1 0;
    min-height: 34px;
    padding: 0 6px;
    border-width: 2px;
    font-size: 13px;
  }
  .consent__actions .consent__btn::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -5px; bottom: -6px;
  }
  .consent__panel { padding-top: 10px; gap: 10px; }
  .consent__panel .consent__text,
  .consent__panel .t-base { font-size: 13px; }
}

/* ===== call-popup.css ===== */
/* "Book a call" popup (2026-10-27, client request; partials/call-popup.html,
   js/call-popup.js). Not in the Figma file: built from the site's tokens.
   The widget brings its own styles (/assets/booking/booking.css, loaded on the
   first open); this file is only the dialog shell, so every page stays light.

   Stacking: the dialog is opened with showModal(), so it sits in the browser's
   top layer, above every z-index on the page, including the `.page > *` pin
   in base.css (0,4,0) and the consent banner (30). The dialog lives in <body>,
   outside .page, so that pin never applies to it. Where showModal() is missing
   the script opens it as a plain fixed box (.is-fallback) at z-index 40:
   above the consent banner and the menus (20), and the same weight the
   Greenlight page gives its own modal.

   The dialog fills the window and scrolls by itself; the box is centred in
   it. A click on the dialog outside the box is a click on the backdrop. */
.call-popup {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 32px 16px;
  border: 0;
  background: transparent;
  color: var(--content-primary);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.call-popup:not([open]) { display: none; }
.call-popup[open] {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.call-popup::backdrop { background: rgb(11 20 36 / 0.72); }   /* Rich Black 1 at 72 %, as on the Greenlight modal */
.call-popup.is-fallback { background: rgb(11 20 36 / 0.72); }

.call-popup__box {
  position: relative;
  width: 100%;
  max-width: 820px;          /* the widget's own max width (booking.css .avl) */
  margin: auto 0;
  padding: 64px 56px 44px;
  background: var(--surface-page);   /* Editorial White 4 */
  color: var(--content-primary);     /* Rich Black 1 */
  border: 1px solid var(--border-hairline);
}

/* Close: the site's amber square button (Base Up Black buttons, css/base.css
   action tokens): amber fill and a 3 px amber frame; on hover the fill goes
   and the frame stays. The cross is two 20 × 2 bars, as in the menus. */
.call-popup__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 3px solid var(--action-fill);
  background: var(--action-fill);
  color: var(--content-on-accent);
  cursor: pointer;
  transition: background 0.15s;
}
.call-popup__close:hover { background: var(--action-fill-hover); }
.call-popup__close:focus-visible { outline: 2px solid var(--content-primary); outline-offset: 2px; }
.call-popup__close span { position: relative; display: block; width: 20px; height: 20px; }
.call-popup__close span::before,
.call-popup__close span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.call-popup__close span::before { transform: rotate(45deg); }
.call-popup__close span::after  { transform: rotate(-45deg); }

.call-popup__loading { margin: 0; color: var(--content-secondary); }

/* 2026-11-02, form audit: the required-field stars and the «* Required fields»
   line that /call (sections/call/k1.css) and the product pages carry since
   27–29 Oct. The dialog holds the same widget on every other page and had
   neither. Rules copied from k1.css; the shared widget is untouched. */
.call-popup #avl-booking .avl-field:has(input[required]) > span::after,
.call-popup #avl-booking .avl-fieldset legend::after { content: " *"; color: #9B1C1C; font-weight: 1000; }
.call-popup #avl-booking[data-step="contacts"] .avl-who::after { content: "* Required fields"; display: block; margin-top: 8px; font-size: 13px; color: rgba(11, 20, 36, .72); }

/* The page under the dialog does not scroll. A classic scrollbar's width is
   kept as padding so nothing shifts (the same pair as the tablet menu). */
html.is-call-popup-open {
  overflow: hidden;
  padding-right: var(--call-sbw, 0px);
}

/* Phone width: the dialog is the whole screen. */
@media (max-width: 767.98px) {
  .call-popup { padding: 0; }
  .call-popup__box {
    max-width: none;
    min-height: 100%;
    margin: 0;
    padding: 64px 16px 32px;
    border: 0;
  }
}

/* ===== forms.css ===== */
/* ==========================================================================
   Form fields — required star, "* Required fields" line, inline errors
   (2026-11-02, pre-release form audit). Behaviour in js/forms.js. Not in the
   Figma file: the macket's forms have one status line and no field errors.

   The star and its colour are the product pages' (products/authority,
   sections/call/k1.css: " *" in #9B1C1C, the booking widget's --avl-err),
   so every form on the site marks required fields the same way.

   Most of the site's forms sit on Vista Blue 1 (#7C9EC7). That red on it is
   3.0 : 1 — enough for the star and a rule (non-text, 3 : 1), not for 15 px
   words (4.5 : 1). So the note and the messages are Rich Black 1 (6.8 : 1),
   and the red marks a message as an error with a 3 px rule at its left, the
   booking widget's own error mark (/assets/booking/booking.css, .avl-err).
   ========================================================================== */

:root { --form-error: #9B1C1C; }

.f-req::after {
  content: " *";
  color: var(--form-error);
  font-weight: 1000;
}

/* "* Required fields": the form's last line (2026-11-03, client: «"*" і
   пояснення вниз»; js/forms.js arrange). A footnote, so it takes the privacy
   line's size and its distance: 15 from the line above, the form's own gap
   taken off (--f-gap). In a grid it spans every column. */
.f-note {
  display: block;
  grid-column: 1 / -1;
  align-self: stretch;
  margin: calc(15px - var(--f-gap, 0px)) 0 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  color: var(--content-primary);
}

/* Desktop: the status and privacy lines in the button's row, right of the
   button (2026-11-03, client: «текст під кнопкою винести праворуч від кнопки
   в ряд»). The row centres them on the button's height; on Contact and FAQ
   WhatsApp keeps the right end. The selectors carry form[data-ave-form] so
   they outrank each block's own margins for its status line. */
form[data-ave-form] .f-row {
  display: flex;
  align-items: center;
  gap: var(--layout-gutter);
}
form[data-ave-form] .f-side {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
form[data-ave-form] .f-side > [role="status"] {
  margin: 0;
}

/* Tablet, the same row: the button takes its label's width instead of the
   form's, and the reply line reads as on the desktop (Base Up). */
.is-t form[data-ave-form] .f-row {
  flex-direction: row;
}
.is-t form[data-ave-form] .f-row > [type="submit"] {
  flex: 0 0 auto;
  width: auto;
  padding-left: 25px;
  padding-right: 25px;
}
.is-t form[data-ave-form] .f-side > :not(.f-privacy) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px var(--layout-gutter);
  margin: 0;
  padding: 0;
}
.is-t form[data-ave-form] .f-side .t-base:not(.f-privacy) {
  text-transform: uppercase;
}
.is-t form[data-ave-form] [data-f-prompt]:not([data-f-prompt-on]) {
  display: none;
}
.is-t form[data-ave-form] .f-lead {
  display: contents;
}

.f-error {
  display: block;
  margin-top: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--form-error);
  color: var(--content-primary);
  font-weight: 1000;
  line-height: 1.3;
}
/* After the button of a one-row form (js/forms.js): a row of its own. */
.f-error--row {
  flex: 1 0 100%;
  grid-column: 1 / -1;
  margin-top: 0;
}

/* The privacy line under every form (2026-11-02, client; js/forms.js). Not
   in Figma. Small type, the colour of the form's own words: Rich Black 1 on
   the Vista Blue and Amber plates and on the light page, which is what the
   forms already set. The link is .u-link-text (css/base.css). In a flex or
   grid form it takes a row of its own across every column.

   One distance on every form: 15 from the line above it
   (--f-privacy-space; a block may set its own, as the guides do for
   Figma's 25). The form's own row gap would add to the margin, so
   js/forms.js writes that gap into --f-gap and the margin takes it off. */
.f-privacy {
  display: block;
  flex: 0 0 auto;
  grid-column: 1 / -1;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin: calc(var(--f-privacy-space, 15px) - var(--f-gap, 0px)) 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: inherit;
}

/* iOS Safari zooms the page into any field set under 16 px when it takes
   focus, and does not zoom back. The site's field type is 15 px (t-base), so
   fields are 16 px wherever a phone or tablet can show them: the tablet and
   mobile layers, and any touch screen. On the mobile layer a single-line
   field is also brought to the 44 px touch target (CONTRACT_MOBILE.md). */
@media (max-width: 1279.98px), (hover: none) and (pointer: coarse) {
  input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  textarea:not([hidden]) {   /* the :not()s outweigh the 15 px type classes */
    font-size: 16px;
  }
}
@media (max-width: 767.98px) {
  form[data-ave-form] input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
    min-height: 44px;
  }
}

/* 2026-11-04, client (phone review): «поле Your Idea … зробити fixed, і коли людина вводить більше
   тексту, просто додавати скрол». Every lead form's text area keeps its
   drawn size; longer text scrolls inside it. */
form[data-ave-form] textarea {
  resize: none;
  overflow-y: auto;
}

/* 2026-11-04, client (tablet photos): «відступ між першим, другим та третім
   блоком велика». Every tablet lead form: Name | Email, Your idea and the
   button row stand 25 apart (the idea field was 50 under the email row). */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .is-t form[data-ave-form] .tb-form__fields { row-gap: var(--t-gap); }
  .is-t form[data-ave-form] [class*="__field"]:not(.tb-form__field):has(> textarea) { margin-top: var(--t-gap); }   /* the grid forms (Contact, FAQ) space it by row-gap */
}

/* ===== main/s11.css ===== */
/* ==========================================================================
   Section 11 — "OUR TEAM".  Figma node 152:1620, 1440 x 1099.
   Two behaviours in one block, exactly as the handoff tags it:
     · the block itself is bleed:both — the roller runs the full window width
       and clips, so the card after the last visible one is cut by the edge;
     · the row of four cards under "HOW WE WORK WITH AUTHORS" is flow — it
       wraps as soon as four no longer fit.
   The roller is a managed list. The cards are built in sections/s11.js from
   a data array, so the list takes more than the eight people in the macket.
   ========================================================================== */

.s-s11 {
  /* The macket's grid, expressed against the live window, so the roller —
     which is outside the working area — can still line its first card up
     with the left margin and land the fourth card's edge on the right one. */
  --s11-work: min(var(--layout-content), 100vw - var(--layout-margin) * 2);
  --s11-side: calc((100vw - var(--s11-work)) / 2);
  --s11-col:  calc((var(--s11-work) - var(--layout-gutter) * 11) / 12);
  --s11-card: calc(var(--s11-col) * 3 + var(--layout-gutter) * 2);  /* 316 */
}

/* --- "OUR" written over "TEAM", centred on the window ------------------- */
.s-s11 .s-s11__lockup {
  display: grid;
  justify-items: center;
  text-align: center;
}

.s-s11 .s-s11__lockup > * {
  grid-area: 1 / 1;
}

.s-s11 .s-s11__script {
  color: var(--amber-4);
  white-space: nowrap;
  z-index: 1;                  /* the handwriting sits over the Mulish word */
}

.s-s11 .s-s11__word {
  margin-top: 50px;
  color: var(--rich-black-1);
}

.s-s11 .s-s11__sub {
  margin: var(--layout-gutter) auto 0;
  max-width: 700px;
  text-align: center;
  color: var(--rich-black-1);
}

/* --- Roller ------------------------------------------------------------- */
.s-s11 .s-s11__roller {
  margin-top: var(--layout-gutter);
  padding-block: var(--layout-gutter);
}

.s-s11 .s-s11__viewport {
  overflow: hidden;
}

.s-s11 .s-s11__track {
  display: flex;
  align-items: center;
  gap: var(--layout-gutter);
  padding-left: var(--s11-side);
  transform: translate3d(var(--s11-shift, 0px), 0, 0);
  transition: transform var(--t-base) ease;
  will-change: transform;
}

.s-s11 .s-s11__card {
  position: relative;
  flex: 0 0 var(--s11-card);
  aspect-ratio: 316 / 450;
}

.s-s11 .s-s11__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The amber block is a 150 x 150 square on a 316 x 450 card. */
.s-s11 .s-s11__plate {
  position: absolute;
  left: 0;
  top: 0;
  width: 47.4684%;
  height: 33.3333%;
  background: var(--amber-4);
}

.s-s11 .s-s11__meta {
  position: absolute;
  left: 7.9114%;               /* 25  / 316 */
  top: 5.5556%;                /* 25  / 450 */
  width: 84.1772%;             /* 266 / 316 — the widest thing it holds, the quote */
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--rich-black-1);
}

/* The name and the role sit in a 166 column in BOTH states — only the quote
   uses the full 266. Letting them have the quote's width ran "project
   manager" and "lead generation specialist" out past the 150 amber plate in
   the passive state, over the photograph. */
.s-s11 .s-s11__name {
  width: 62.4060%;             /* 166 / 266 */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Hover: the Team_cards Hov variant ----------------------------------
   The amber block grows from its 150 x 150 corner to the whole 316 x 450
   card, the photograph goes behind it, and the person's line and their
   social link appear. The quote and the link are always in the markup —
   hidden by opacity, not by display — so the card does not reflow and the
   link stays reachable from the keyboard.                                  */
.s-s11 .s-s11__card {
  --s11-plate-w: 47.4684%;     /* 150 / 316 */
  --s11-plate-h: 33.3333%;     /* 150 / 450 */
}

/* 2026-11-04, client: «і те і інше … людина може бути з мишкою і пальцем одночасно»: a tap opens the card too (.is-active, s11.js), next to the mouse hover. */
.s-s11 .s-s11__card:hover,
.s-s11 .s-s11__card:focus-within,
.s-s11 .s-s11__card.is-active {
  --s11-plate-w: 100%;
  --s11-plate-h: 100%;
}

.s-s11 .s-s11__plate {
  width: var(--s11-plate-w);
  height: var(--s11-plate-h);
  transition: width var(--t-base) ease, height var(--t-base) ease;
}

.s-s11 .s-s11__quote {
  margin-top: 65px;            /* macket: role at 67, quote at 153 */
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}

.s-s11 .s-s11__social {
  position: absolute;
  left: 7.9114%;               /* 25 / 316 */
  top: 88.8889%;               /* 400 / 450 */
  display: block;
  opacity: 0;
  transition: opacity var(--t-fast) ease;
}

.s-s11 .s-s11__card:hover .s-s11__quote,
.s-s11 .s-s11__card:focus-within .s-s11__quote,
.s-s11 .s-s11__card:hover .s-s11__social,
.s-s11 .s-s11__card:focus-within .s-s11__social,
.s-s11 .s-s11__card.is-active .s-s11__quote,
.s-s11 .s-s11__card.is-active .s-s11__social {
  opacity: 1;
  transition-delay: 120ms;     /* let the plate arrive first */
}

/* --- Counter and next arrow -------------------------------------------- */
.s-s11 .s-s11__pager {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 21.213px;
  margin-top: var(--layout-gutter);
}

.s-s11 .s-s11__counter {
  color: var(--amber-4);
}

/* In the macket the arrow sits 115 px to the right of the counter's centre
   line, not on a grid line, so the offset is kept as a distance.          */
.s-s11 .s-s11__next {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(115px, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity var(--t-fast) ease;
}

.s-s11 .s-s11__next:hover,
.s-s11 .s-s11__prev:hover {
  opacity: 0.6;
}

/* 2026-10-15, review 13 Oct item 8: the back arrow. In Home_S11_Roller_2
   (115:940) the back chevron 115:731 ends at x 615.2, i.e. 104.8 left of
   the counter's centre line, while the next chevron 115:732 starts 115
   right of it. The same asset family as the next arrow, mirrored by the
   file itself (icon-arrow-prev.svg). */
.s-s11 .s-s11__prev {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-105px - 100%), -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity var(--t-fast) ease;
}

/* The arrows are flex boxes, so the hidden attribute needs saying out loud. */
/* 2026-10-27, desktop review 20 Oct item 7: both chevrons are inline SVG of
   Main_S11_Arrows Pas (115:577) as the file exports it — 12.728 x 21.213,
   two 15 px lines, 3 px, butt ends — the same glyph and size as every other
   desktop carousel. They replace 13 x 21 PNGs. Colour from tokens.        */
.s-s11 .s-s11__prev svg,
.s-s11 .s-s11__next svg {
  display: block;
}
.s-s11 .s-s11__prev path,
.s-s11 .s-s11__next path {
  stroke: var(--rich-black-1);
}

.s-s11 .s-s11__next[hidden],
.s-s11 .s-s11__prev[hidden] {
  display: none;
}

/* --- Lede, six columns against the right margin ------------------------ */
.s-s11 .s-s11__lede {
  width: 49.0299%;             /* 657 / 1340 */
  margin-left: auto;
  margin-top: var(--layout-gutter);
  color: var(--rich-black-1);
}

.s-s11 .s-s11__label {
  margin-top: 50px;
  color: var(--rich-black-1);
}

/* --- "How we work with authors" — flow, wraps when four stop fitting ---- */
.s-s11 .s-s11__how {
  /* 2026-11-04, client (Redmi Pad Pro landscape, 1280): «чому розтягується блок? чому вони тоді не поруч ідуть?» — the row keeps its cards side by side at every desktop width; each card takes an equal share instead of wrapping the last one onto a stretched row of its own. */
  --flow-basis: calc((100% - var(--layout-gutter) * 3) / 4 - 0.1px);
  margin-top: var(--layout-gutter);
}

.s-s11 .s-s11__how-card {
  display: flex;
  border: 3px solid var(--rich-black-1);
  padding: var(--layout-gutter) var(--layout-gutter) 50px;
}

/* 2026-10-15, review 13 Oct item 9: hover state of the four cards. The
   review names the set Main_S3_Card, but these four are instances of
   Main_S11_Card (120:1106 · 120:1111 · 120:1115 · 120:1119), and its Hov
   variant 120:1084 changes one thing: the 3px stroke goes from Rich Black 1
   to Amber 4. Main_S3_Card is the stat tile set, whose hover is item 5.
   Pointer devices only. */
@media (hover: hover) and (pointer: fine) {
  .s-s11 .s-s11__how-card {
    transition: border-color var(--t-fast) linear;
  }
  .s-s11 .s-s11__how-card:hover {
    border-color: var(--amber-4);
  }
}

.s-s11 .s-s11__how-in {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
  width: 100%;
  color: var(--rich-black-1);
}

/* 2026-10-27, client ("where is the grammar?"): the role keeps its own
   capitals — "Founder / COO", "Head of Product" — instead of the lowercase
   of Base Down Black; weight and size stay the style's. */
.s-s11 .s-s11__role { text-transform: none; }

/* 2026-10-27, client ("the role is cut off"): with its own capitals the role
   is wider and ran past the 150 amber plate at 1280. It now wraps inside the
   plate: 150 less 25 padding each side = 100 of the card, of the 166 column. */
.s-s11 .s-s11__role { max-width: 60.25%; }

/* 2026-10-27, client: the person's line reads as a quote — a large Rich
   Black opening mark (the pull-quote's, base.css .c-quote__mark, sized for
   the card), italic — and sits in the middle of the open card, not under
   the role. The meta column now spans the card's height (25 in at top and
   bottom) so the quote can be centred in it. */
.s-s11 .s-s11__meta { bottom: 5.5556%; }            /* 25 / 450 */
.s-s11 .s-s11__quote {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  font-style: italic;
}
.s-s11 .s-s11__quote::before {
  content: "\201C";
  display: block;
  margin-bottom: 15px;
  font-weight: 1000;
  font-style: normal;
  font-size: 80px;
  line-height: 0.6;
  height: 0.45em;
  overflow: hidden;
}

/* ===== main/s6.css ===== */
/* ==========================================================================
   Section 6 — How it works
   Figma: Main / node 1344:8263, instance of How_it_works_main (66:554).
   The component carries seven stacked variants (00–06); here it is one arc
   with the steps as data. The arc never moves: the stops ride it, the open
   step always sits at the arc's rightmost point.

   Macket coordinates are 1440-wide frame coordinates. The stage below is the
   1340 working area, so every macket x is written here as x − 50.
   Arc: Figma "Ellipse 7", 1150 box at (−442, −25) with a 1px stroke, i.e.
   centre (83, 550) and radius 574.5 in stage coordinates.
   ========================================================================== */

.s-s6 {
  position: relative;
  height: 1100px;
  overflow: hidden;
  background: var(--surface-brand);
}

.s-s6__stage {
  position: relative;
  height: 100%;
}

/* --- Heading ------------------------------------------------------------
   "HOW" (Comforter) is laid over "IT WORKS" and paints above it, so it comes
   first in the DOM and is lifted with z-index rather than reordered.       */
.s-s6__accent {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: 0;
  white-space: nowrap;
  color: var(--editorial-white-4);
}

.s-s6__title {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  color: var(--content-on-brand);
}

/* --- The arc ------------------------------------------------------------
   Static. Clipped by the section on the left, top and bottom.             */
.s-s6__arc {
  position: absolute;
  top: -25px;
  left: -492px;
  pointer-events: none;
}

/* Stroke colours live here, not on the SVG: var() is a CSS value and does
   not resolve inside an XML presentation attribute.                        */
.s-s6__arc circle {
  stroke: var(--editorial-white-4);
}

/* --- The dial -----------------------------------------------------------
   Each stop is a zero-size origin at the circle centre, rotated by its
   offset from the open step. Its children then sit on the local x axis,
   which is the radius, so a child at x = 574.5 lands on the arc and one at
   x = 631.5 lands the 57px further out that the macket puts the numerals.
   The open step is offset 0, so it is not rotated at all.                 */
.s-s6__dial {
  position: absolute;
  inset: 0;
}

.s-s6__stop {
  position: absolute;
  top: 550px;
  left: 83px;
  width: 0;
  height: 0;
  display: none;
  transform: rotate(var(--s6-angle, 0deg));
}

.s-s6__stop[data-offset="-2"] { display: block; --s6-angle: -60deg; }
.s-s6__stop[data-offset="-1"] { display: block; --s6-angle: -30deg; }
.s-s6__stop[data-offset="0"]  { display: block; --s6-angle:   0deg; }
.s-s6__stop[data-offset="1"]  { display: block; --s6-angle:  30deg; }
.s-s6__stop[data-offset="2"]  { display: block; --s6-angle:  60deg; }

.s-s6__bullet {
  position: absolute;
  top: 0;
  left: 574.5px;
  margin: -7.5px 0 0 -7.5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--editorial-white-4);
}

.s-s6__stop[data-offset="0"] .s-s6__bullet {
  background: var(--rich-black-1);
}

.s-s6__num {
  position: absolute;
  top: 0;
  left: 631.5px;
  margin: -17.5px 0 0 -31.5px;
  width: 63px;
  height: 35px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--editorial-white-4);
  cursor: pointer;
}

.s-s6__stop[data-offset="0"] .s-s6__num {
  color: var(--content-on-brand);
  cursor: default;
}

/* --- The open step ------------------------------------------------------
   In the macket the title's cap box is centred on the arc point and the body
   sits 25 below it, whether the title runs to one line or two. Centring the
   title alone and taking the body out of flow reproduces that without
   measuring either of them.                                                */
.s-s6__steps {
  position: absolute;
  top: 550px;
  right: 0;
  left: 771px;
}

.s-s6__step {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: translateY(-50%);
}

.s-s6__step[hidden] { display: none; }

.s-s6__steptitle {
  color: var(--content-on-brand);
}

.s-s6__stepbody {
  position: absolute;
  top: calc(100% + 25px);
  left: 0;
  width: 100%;
  max-width: 366px;
  color: var(--content-on-brand);
}

/* --- Chevrons -----------------------------------------------------------
   The pair occupies 500–625; with only one button left it right-aligns to
   625, which is where the macket puts the lone chevron on steps 00 and 06. */
.s-s6__nav {
  position: absolute;
  top: 525px;
  left: 500px;
  display: flex;
  justify-content: flex-end;
  gap: var(--layout-gutter);
  width: 125px;
}

.s-s6__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--action-fill);
  box-shadow: inset 0 0 0 3px var(--action-fill);
  cursor: pointer;
  transition: background-color var(--t-base), box-shadow var(--t-base);
}

.s-s6__chev[hidden] { display: none; }

.s-s6__chev:hover {
  background: var(--action-fill-hover);
  box-shadow: inset 0 0 0 3px var(--action-border-hover);
}

.s-s6__chev path {
  stroke: var(--content-on-accent);
}

.s-s6__chev--prev svg { transform: rotate(180deg); }

/* --- Call to action ------------------------------------------------------ */
.s-s6__cta {
  position: absolute;
  top: 989px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  white-space: nowrap;
  color: var(--content-on-accent);
  background: var(--action-fill);
  box-shadow: inset 0 0 0 3px var(--action-fill);
  transition: background-color var(--t-base), box-shadow var(--t-base);
}

.s-s6__cta:hover {
  background: var(--action-fill-hover);
  box-shadow: inset 0 0 0 3px var(--action-border-hover);
}

/* ===== main/s7.css ===== */
/* ==========================================================================
   Section 7 — Client voices
   Figma: Main / node 152:1617 "Section 7 [flow]", 1340 × 572.
   Card component Main_S7_Card (76:696), variants Pas (76:695) and Hov
   (76:694). Three cards of 430 on the flow gutter of 25 — the full working
   area — so the row is .is-flow with the card width as its basis.
   ========================================================================== */

.s-s7 {
  position: relative;
}

/* --- Heading block ------------------------------------------------------
   572 = 178 (this block) + 394 (the cards). The three lines are centred on
   the working area; "CLIENT" is laid over "VOICES" and paints above it, so
   it comes first in the DOM and is lifted with z-index.                    */
.s-s7__head {
  position: relative;
  height: 178px;
}

.s-s7__accent {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--content-accent);
}

.s-s7__title {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 544px;
  text-align: center;
  color: var(--content-primary);
}

.s-s7__sub {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--content-primary);
}

/* The clip path lives in a zero-size <svg> and must not take up any room. */
.s-s7__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --- Cards --------------------------------------------------------------- */
.s-s7__cards {
  /* 2026-11-04, client (Redmi Pad Pro landscape, 1280): «чому розтягується блок? чому вони тоді не поруч ідуть?» — the row keeps its cards side by side at every desktop width; each card takes an equal share instead of wrapping the last one onto a stretched row of its own. */
  --flow-basis: calc((100% - var(--layout-gutter) * 2) / 3 - 0.1px);
}

.s-s7__card {
  position: relative;
  height: 394px;
  background: var(--surface-brand);
  transition: background-color var(--t-base);
}

/* Main_S7_Card / Hov — the plate turns amber, nothing else moves. */
.s-s7__card:hover {
  background: var(--surface-accent);
}

/* --- Portrait -----------------------------------------------------------
   A 125 × 226 window at (25, 25) cut to the irregular outline of the file's
   vector mask (76:680), with the 235 × 242 photograph sitting behind it at
   (−57, −13) so the crop lands where the macket puts it.                   */
.s-s7__portrait {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 125px;
  height: 226px;
  overflow: hidden;
}

.s-s7__portrait img {
  /* The export from Figma already carries the mask: the cut is baked into the
     file and the area outside it is the card's own Vista Blue, so the shape
     needs no clip-path here and cannot drift from the design. */
  display: block;
  width: 125px;
  height: 226px;
}

/* --- Card text ----------------------------------------------------------
   Content box 380 wide from the top edge at 126. The name and role sit in a
   230 column pushed to the right edge of that box; the quote runs its full
   width, 84 below.                                                          */
.s-s7__body {
  position: absolute;
  top: 126px;
  right: 25px;
  left: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 84px;
  color: var(--content-on-brand);
}

.s-s7__who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--layout-gutter);
  /* 2026-11-04: at 1280 the card is ~377 wide, and a fixed 230 ran under the
     portrait (body-relative 0–125). The column takes what is right of the
     portrait plus 20, never more than the file's 230. */
  width: min(230px, 100% - 145px);
  max-width: 100%;
}

.s-s7__name,
.s-s7__role {
  width: 100%;
}

.s-s7__quote {
  width: 100%;
}

/* ===== main/s13.css ===== */
/* ==========================================================================
   Section 13 — FAQ accordion
   Figma: node 966:9237 "Section 13", 1440 x 758, Dekstop / Main
   Card component: Main_S13_Card, component set node 125:1398
   (NOT FAQ_S2_Card 657:3677 and NOT FAQ_S4_Card 657:4100 — see s13.assets.md)
   ========================================================================== */

/* Full-window Vista Blue 1 fill. 100 top and bottom: 100 + 558 + 100 = 758. */
.s-s13 {
  background: var(--vista-blue-1);
  padding-block: 100px;
}

/* The block is 885 = eight columns with their gutters, centred in the working
   area: two columns and a gutter on each side (2 + 8 + 2 = 12).              */
.s-s13__grid {
  row-gap: var(--layout-gutter);
}
.s-s13__intro,
.s-s13__list {
  grid-column: 3 / span 8;
}

/* --- Heading ------------------------------------------------------------
   The Comforter word lies over the Mulish heading in one grid cell. The
   heading sits 50 down inside the 85-tall group; the accent starts at 0.  */
.s-s13__intro {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
  text-align: center;
}
.s-s13__title {
  display: grid;
  font: inherit;
}
.s-s13__title > * {
  grid-area: 1 / 1;
  width: 100%;
}
.s-s13__title-main {
  margin-top: 50px;
}
.s-s13__title-accent {
  color: var(--editorial-white-4);
}

/* --- Rows ---------------------------------------------------------------
   Collapsed row is 61: 25 + cap height 11 + 25. Gap between rows 25.      */
.s-s13__list {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
}
.s-s13__item {
  background: var(--editorial-white-4);
}
.s-s13__question {
  font: inherit;
}
.s-s13__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--layout-gutter);
  width: 100%;
  padding: 25px 25px 25px 50px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.s-s13__label {
  color: var(--content-primary);
}

/* The chevron is Main_S11_Arrows: a 45-degree rule, 21.213 x 10.607.      */
.s-s13__chevron {
  flex: 0 0 auto;
  width: 21.213px;
  height: 10.607px;
  transition: transform var(--t-base) ease;
}
.s-s13__item.is-open .s-s13__chevron {
  transform: rotate(180deg);
}

/* --- Panel --------------------------------------------------------------
   Animated on grid-template-rows so the real content height is measured
   instead of guessed with a max-height. visibility keeps the collapsed
   answer out of the accessibility tree once the transition has finished. */
.s-s13__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) ease;
}
.s-s13__panel-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear var(--t-base);
}
.s-s13__item.is-open .s-s13__panel {
  grid-template-rows: 1fr;
}
.s-s13__item.is-open .s-s13__panel-inner {
  visibility: visible;
  transition-delay: 0s;
}

/* Open row: 25 + question + 50 + answer + 50 = 166 for a two-line answer.
   25 of the 50 between question and answer is the trigger's own bottom
   padding, which is what keeps the collapsed row at 61; the other 25 is
   here. The answer column is 607 wide — 228 stays empty on the right.    */
.s-s13__answer {
  padding: 25px 228px 50px 50px;
  color: var(--content-primary);
}

/* ===== landing-full/lf1.css.css ===== */
/* ==========================================================================
   Article landing (full) — block 1, the hero
   Figma node 411:1498 "Section 1 [bleed:both]", 1440 x 721, with the photo
   group `Hero photo` 444:3933 that the file keeps beside it on the frame.
   Intent tag: bleed:both. The hairlines run to the window edge; the photo,
   its outline and the amber box sit on the 1440 frame (`.s-lf1__frame`,
   min(100%, 1440) and centred — the one source --line-step is a share of);
   the copy sits on the same frame, from the fourth vertical line to the
   working area's right edge.

   The macket composes the block absolutely: the decoration is a fixed 721
   stage, and only the copy is in flow (see Frame 70 below). Layers, bottom to top, as in the file: the outline plate, the photo, the
   seven vertical lines (drawn again over the photo, as main/s2 does), the
   five hairlines, the amber box, the copy.
   ========================================================================== */

.s-lf1 {
  position: relative;
}

.s-lf1__stage {
  position: relative;
}

.s-lf1__frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--layout-reference));
  transform: translateX(-50%);
  pointer-events: none;
}

/* --- Hero photo 293:1346 --------------------------------------------------
   710 x 721 at the frame's left edge. The file's bitmap is 1024 x 801 and is
   drawn stretched into the slot (fill, not cover), exactly as the file draws
   it; 1024 is the largest the file holds, so the slot gets 1.44x / 1.11x
   rather than 2x (CLAUDE.md, "Photos ship at 2x": a 2x export of a smaller
   original adds weight, not detail). Black and white, as in the file.      */
.s-lf1__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 710px;
  height: 721px;
  max-width: none;
  object-fit: fill;
}

/* --- Mask group 301:1395 --------------------------------------------------
   `Rectangle 94` 301:1394: Amber 4, 569 x 751 at 65,9 — cut off by the
   block's foot at 721. Its mask is the photograph itself (the file's mask
   bitmap is the photo's alpha at 2x; the alpha of landing-hero.webp matches
   it to 0.3 / 255 on average), placed 5 right of the photo: -60, -9 in the
   plate's own coordinates. So no second file is shipped for the outline.  */
.s-lf1__outline {
  position: absolute;
  top: 9px;
  left: 65px;
  width: 569px;
  height: 712px;
  background: var(--amber-4);
  -webkit-mask: url("/assets/landing-hero.webp?v=b845840c") -60px -9px / 710px 721px no-repeat;
  mask: url("/assets/landing-hero.webp?v=b845840c") -60px -9px / 710px 721px no-repeat;
}

/* The seven lines over the photo: the page layer lies under every section,
   and the file draws `BackgroundLines` above the photo. Same component,
   same --line-step, so they cannot drift from the page's own set.         */
.s-lf1__lines {
  z-index: 1;
}

/* --- Group 60 293:1235 ----------------------------------------------------
   Five horizontal hairlines at y 0 · 180 · 360 · 540 · 720, full window. */
.s-lf1__rules {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.s-lf1__rules span {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--line-width);
  background: var(--border-hairline);
}

.s-lf1__rules span:nth-child(1) { top: 0; }
.s-lf1__rules span:nth-child(2) { top: 180px; }
.s-lf1__rules span:nth-child(3) { top: 360px; }
.s-lf1__rules span:nth-child(4) { top: 540px; }
.s-lf1__rules span:nth-child(5) { top: 720px; }

/* --- Rectangle 92 293:1347 ------------------------------------------------
   180 → 721 at 1440: from the first vertical line across three steps, plus
   the 1px stroke, which lands on the fourth line. The whole block tall.   */
.s-lf1__frame--top {
  z-index: 1;
}

.s-lf1__box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--line-step);
  width: calc(var(--line-step) * 3 + var(--line-width));
  border: var(--line-width) solid var(--amber-4);
}

/* --- Frame 70 293:1338 ----------------------------------------------------
   657 wide from x 733 to the working area's right edge (1390), the buttons'
   foot at y 688, 33 above the block's. Written as 12 past the fourth
   vertical line, so below 1440 the copy never runs under the amber box.
   The copy is the one part in flow: it stands on that 33 and the stage is
   at least 721, so at 1440 its top lands at y 100 as in the file. Below
   1440 the column narrows and the heading takes more lines; the copy grows
   upward first, and once it would pass 40 under the header the block grows
   downward instead (about 60 at 1280) — the photo, the lines and the
   hairlines keep their 721.
   `Frame 69` stacks its four lines 25 apart; the buttons follow 25 below. */
.s-lf1__stage {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 721px;
}

.s-lf1__frame--copy {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-inline: auto;
  padding: 40px 0 33px;
  transform: none;
}

.s-lf1__frame:not(.s-lf1__frame--copy) {
  height: 721px;
}

.s-lf1__copy {
  margin-left: calc(var(--line-step) * 4 + 12px);
  margin-right: var(--layout-margin);
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
  color: var(--content-primary);
  pointer-events: auto;
}

.s-lf1__text {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
}

.s-lf1__text h1 {
  font-family: inherit;
}

.s-lf1__actions {
  display: flex;
  gap: var(--layout-gutter);
}

/* Button_form, two variants: filled and outlined. 61 tall — 25 + cap 11 +
   25 — and as wide as the label. Hover: the fill empties to its amber
   stroke; the outline turns amber. */
.s-lf1__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  white-space: nowrap;
  color: var(--content-on-accent);
  transition: background-color var(--t-base), box-shadow var(--t-base), color var(--t-base);
}

.s-lf1__btn > span {
  display: block;
}

.s-lf1__btn--fill {
  background: var(--action-fill);
  box-shadow: inset 0 0 0 3px var(--action-fill);
}

.s-lf1__btn--line {
  background: none;
  box-shadow: inset 0 0 0 3px var(--border-strong);
  color: var(--content-primary);
}

.s-lf1__btn--fill:hover,
.s-lf1__btn--fill:focus-visible {
  background: var(--action-fill-hover);
  box-shadow: inset 0 0 0 3px var(--action-border-hover);
}

.s-lf1__btn--line:hover,
.s-lf1__btn--line:focus-visible {
  box-shadow: inset 0 0 0 3px var(--action-border-hover);
  color: var(--content-accent);
}

/* ===== results/stories.css.css ===== */
/* ==========================================================================
   Author Stories — the filtered index.  Intent tag: fluid.
   Figma: Books 769:5448 / 782:5554 / 782:5606 and Quote 782:5831 / 972:9264.
   Macket 1403 -> 6354 on the unfiltered frame.

   The grid runs macket 139..1301: 1162 wide, centred on the window, which
   inside the 1340 working area is an inset of 89 on each side. Three cards
   of 354 with 50 between them make exactly that 1162.
   ========================================================================== */

.s-stories .s-stories__grid {
  margin-inline: 6.6418%;                     /* 89 / 1340 */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* 50 between the rows of cards; the quote bands add their own 50 top and
     bottom on top of it, which is the 100 the macket shows around them.   */
  gap: 50px;
  align-items: start;
  /* 2026-10-27, client ("why a hole here, if books follow?"): a row cut short
     by a quote band is filled with the next books instead of left empty. */
  grid-auto-flow: row dense;
}

/* --- Card, component Book 769:5415 -------------------------------------- */
.s-stories .s-stories__book {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
}
.s-stories .s-stories__book[hidden] {
  display: none;
}

/* Picture: the 595 x 842 page block of a printed book, 354 x 501 at the
   reference width.                                                         */
.s-stories .s-stories__cover {
  position: relative;
  display: block;
  aspect-ratio: 595 / 842;
}
.s-stories .s-stories__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Variant Hov (769:5413): a 3px accent stroke inside the edge of the
   picture. Drawn as an outline so it lies over the photograph the way the
   Figma border does, and pulled in by its own width so nothing moves.
   :focus-within brings it to the keyboard on the three cards that link. */
.s-stories .s-stories__book:hover .s-stories__cover,
.s-stories .s-stories__book:focus-within .s-stories__cover {
  outline: 3px solid var(--amber-4);
  outline-offset: -3px;
}

.s-stories .s-stories__info {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
}
.s-stories .s-stories__title,
.s-stories .s-stories__note {
  color: var(--rich-black-1);
}

/* --- Quote band ----------------------------------------------------------
   A full-row item of the grid that runs the whole window width. The macket
   pads it 100 top and bottom and 164 each side, and the inner measure is
   1112: two columns of 455 with a hairline centred in the 202 between them. */
.s-stories .s-stories__quote {
  grid-column: 1 / -1;
  margin-block: 50px;                         /* 50 + the grid's 50 = 100 */
  padding-block: 100px;
  background: var(--vista-blue-1);
}
.s-stories .s-stories__quote[hidden] {
  display: none;
}

.s-stories .s-stories__quote-inner {
  /* 164 of side air at the reference width, and the measure never grows
     past the 1112 of the macket on a wider window.                        */
  width: min(1112px, 100% - 22.7778vw);       /* 2 x 164 / 1440 */
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-stories .s-stories__quote-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 202px;
  min-height: 324px;
}
/* Figma "Line 71": one hairline down the middle of the 202, the full 324 of
   the row.                                                                 */
.s-stories .s-stories__quote-row::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--line-width);
  background: var(--border-hairline);
}

.s-stories .s-stories__quote-row--names {
  min-height: 0;
}
.s-stories .s-stories__quote-row--names::before {
  content: none;
}

.s-stories .s-stories__quote-col {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0;
}
.s-stories .s-stories__words {
  color: var(--editorial-white-4);
}

/* --- Nothing matched ----------------------------------------------------
   Figma 788:6887 on the wellness / framework & strategy frame: the message
   sits 150 below the menu and leaves 100 above the block that follows, so
   the row keeps the screen's rhythm with no cards in it.                   */
.s-stories .s-stories__empty {
  grid-column: 1 / -1;
  padding-block: 150px 100px;
  color: var(--vista-blue-1);
  text-align: center;
}
.s-stories .s-stories__empty[hidden] {
  display: none;
}

/* The count is announced, not shown — the picture has no counter. */
.s-stories .s-stories__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ===== main/s5.css.css ===== */
/* ==========================================================================
   Section 5 — "When your expertise is bigger than your visibility…"
   Figma node 152:1616 · "Section 5 [flow]" · 1340 x 613
   Card component: Main_S5_Card, node 55:142 (variants S5_Card/Pas, /Hov)
   Intent tag: flow. The three cards are one row that wraps when it stops
   fitting; nothing bleeds, so the whole section lives in the working area.
   ========================================================================== */

.s-s5 {
  position: relative;
  /* The section box starts at the cap top of the handwritten "WHEN"; the
     Mulish headline begins 50 lower. */
  padding-top: 50px;
}

.s-s5__inner {
  display: flex;
  flex-direction: column;
}

/* --- Headline -------------------------------------------------------------
   Macket: headline cap top at y 50, flush left, full 1340 wide, broken after
   "YOUR EXPERTISE". The handwritten "WHEN" is live text in Comforter, amber,
   laid over it with its cap top at y 0 and its left edge on the working area. */
.s-s5__head {
  position: relative;
}

.s-s5__title {
  display: block;
}

.s-s5__accent {
  position: absolute;
  top: -50px;
  left: 0;
  white-space: nowrap;
}

/* --- Subheading -----------------------------------------------------------
   Macket: 430 wide at x 910 — the last four columns of the grid, so it stays
   pinned to the right edge of the working area as the columns narrow.        */
.s-s5__subrow {
  margin-top: var(--layout-gutter);
}

.s-s5__sub {
  grid-column: 9 / span 4;
}

/* --- Cards ----------------------------------------------------------------
   Macket: three 430 cards at y 322 with the 25 gutter between them, which is
   the full 1340 across. Main_S5_Card carries a hover variant that swaps the
   brand surface for the accent.                                              */
.s-s5__cards {
  /* 2026-11-04, client (Redmi Pad Pro landscape, 1280): «чому розтягується блок? чому вони тоді не поруч ідуть?» — the row keeps its cards side by side at every desktop width; each card takes an equal share instead of wrapping the last one onto a stretched row of its own. */
  --flow-basis: calc((100% - var(--layout-gutter) * 2) / 3 - 0.1px);
  margin-top: 100px;
}

.s-s5__card {
  padding: 25px;
  background: var(--vista-blue-1);
  transition: background-color var(--t-base) linear;
}

.s-s5__card:hover {
  background: var(--amber-4);
}

/* Macket: the body sits 43 below the title on the cap height, which is the
   gutter once the cap trim is applied, and is indented 50 inside the card. */
.s-s5__card-body {
  margin-top: var(--layout-gutter);
  padding-left: 50px;
}

/* --- Closing line ---------------------------------------------------------
   Macket: 884 wide, flush left — eight columns of the grid.                  */
.s-s5__closerow {
  margin-top: 100px;
}

.s-s5__close {
  grid-column: 1 / span 8;
}

/* ===== services/s2.css.css ===== */
/* ==========================================================================
   Section 2 — "Compare the formats"
   Figma: Services / node 449:4122 "Section 2", 1440 x 1087, absolute y 1228.

   Vertical budget, read off the file:
     0    heading block  (Comforter over Mulish, 85) ............... 85
     110  subheading, two lines ................................... 49
     184  full-window rule, 3px, centred on the coordinate
     209  compare table ......................................... 842
     1076 closing note ........................................... 11
   85 + 25 + 49 + 23.5 + 3 + 23.5 + 842 + 25 + 11 = 1087.

   The table is a real table: eleven rows of six columns, the first column a
   row header. The row fills run the full window width (449:4014 and its
   siblings are 1440 wide) while the text stays on the working area's grid,
   so the fill lives on the <tr> and the margins live in the end cells'
   padding.
   ========================================================================== */

/* --- Heading ------------------------------------------------------------ */
.s-s2__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--layout-gutter);
  text-align: center;
}

.s-s2__title {
  display: grid;
  width: 100%;
  max-width: 708px;
  font: inherit;
}

.s-s2__title > * {
  grid-area: 1 / 1;
  width: 100%;
}

.s-s2__title-main {
  margin-top: 50px;
  color: var(--content-primary);
}

.s-s2__title-accent {
  color: var(--content-accent);
  z-index: 1;                  /* the handwriting paints over the Mulish word */
}

.s-s2__sub {
  width: 100%;
  max-width: 885px;
  color: var(--content-primary);
}

/* --- The rule -----------------------------------------------------------
   Line 29, 3px Rich Black 1, centred on y 184 and running the full window.
   Half of its weight falls either side of that coordinate, which is why the
   air above and below it is 23.5 and not 25.                               */
.s-s2__rule {
  height: 3px;
  margin-block: 23.5px;
  background: var(--border-strong);
}

/* --- Table --------------------------------------------------------------
   The table sits on the working area, so the page margin stays 50 at every
   width, and the six content columns of 202.5 stand on the 25 gutter:
   6 x 202.5 + 5 x 25 = 1340. The gutter is 12.5 of padding on each side of
   a cell, dropped on the two outer edges, which makes the column boxes
   215 / 227.5 / 227.5 / 227.5 / 227.5 / 215.

   Those are written as percentages of the table and not as calc(): under
   table-layout: fixed Chrome silently drops a column width that mixes a
   percentage with a length and falls back to six equal columns.            */
.s-s2__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
}

/* table-layout: fixed takes its columns from the first row's cells. */
.s-s2__row--head > * {
  width: 16.9776%;             /* 227.5 / 1340 */
}

.s-s2__row--head > *:first-child,
.s-s2__row--head > *:last-child {
  width: 16.0448%;             /* 215 / 1340 */
}

.s-s2__table th,
.s-s2__table td {
  position: relative;
  padding: 25px 12.5px;
  vertical-align: middle;
  color: var(--content-primary);
}

.s-s2__table th:first-child,
.s-s2__table td:first-child {
  padding-left: 0;
}

.s-s2__table th:last-child,
.s-s2__table td:last-child {
  padding-right: 0;
}

/* The header row has no fill, so the 25 the file puts between it and the
   first band (the table is 842 = 61 + 25 + 756) is carried as its own bottom
   padding rather than by a spacer row.                                     */
.s-s2__table .s-s2__row--head > * {
  padding-bottom: 50px;
}

/* The label column reads left; every format column reads centred. */
.s-s2__label {
  text-align: left;
}

/* Alternating bands. Row 1 (Price) carries the fill, and every other row
   after it — Rich black/3 on the page's Editorial White 4. The rows in the
   file are 1440 wide while their text sits on the working area, so the fill
   is painted by the row itself as a band that runs to both window edges and
   the table stays on the grid. It is drawn behind the row's own text but
   still inside the section's layer, so the page background never covers it. */
.s-s2__table tbody tr {
  position: relative;
}

.s-s2__table tbody tr:nth-child(odd)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--rich-black-3);
}

/* --- Yes / no marks -----------------------------------------------------
   The glyphs are decoration; the meaning is the text next to them, which is
   read out and never shown. In the file the check sits in an 18-tall box
   against the dash's 11, which is what makes those rows 68 instead of 61,
   so the box is given here rather than left to whichever font happens to
   supply U+2713.                                                           */
.s-s2__cell--mark {
  line-height: 0;
}

.s-s2__yes,
.s-s2__no {
  display: inline-block;
}

.s-s2__yes {
  height: 18px;
  line-height: 18px;
}

.s-s2__no {
  height: 11px;
  line-height: 11px;
}

/* Read by a screen reader, never shown — the row fill must stay unbroken. */
.s-s2__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* --- Closing note ------------------------------------------------------- */
.s-s2__note {
  margin-top: var(--layout-gutter);
  text-align: right;
  color: var(--content-primary);
}

/* 2026-10-27, client ("we removed the lines here"): the page's grid lines
   showed through the light rows. The even rows now carry the page colour as
   a band too, so the whole table sits on solid fills and no line crosses it. */
.s-s2__table tbody tr:nth-child(even)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--surface-page);
}

/* ===== main/s15.css.css ===== */
/* ==========================================================================
   Section 15 — "Your book starts here" contact form
   Figma: node 966:9240 "Section 15", 885 x 796, centred in the working area.
   Form component: Main_S14_Form, instance 966:8472, component set 1356:8297
   with the four states Default 152:994, Loading 1356:8298, Error 1356:8324,
   Send 1356:8351. Field plate: Main_S14_Form_text_card, set 144:914.
   ========================================================================== */

/* The heading block is 885 = eight columns with their gutters, centred:
   two columns and a gutter each side. The form is 657 = six columns, also
   centred, so it starts one column plus a gutter inside the heading.      */
.s-s15__grid {
  row-gap: 50px;
}
.s-s15__title {
  grid-column: 3 / span 8;
}
.s-s15__form {
  grid-column: 4 / span 6;
}

/* --- Heading ------------------------------------------------------------
   The Comforter word lies over the Mulish heading in one grid cell. The
   heading sits 50 down inside the 85-tall group; the accent starts at 0.  */
.s-s15__title {
  display: grid;
  justify-items: center;
  text-align: center;
  font: inherit;
}
.s-s15__title > * {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 617px;
}
.s-s15__title-main {
  margin-top: 50px;
}
.s-s15__title-accent {
  color: var(--amber-4);
}

/* --- Form ---------------------------------------------------------------
   50 + 420 fields + 25 + 61 button + 44 + 11 status + 50 = 661.           */
.s-s15__form {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
  padding: 50px 25px;
  background: var(--vista-blue-1);
}
.s-s15__fields {
  display: flex;
  flex-direction: column;
  gap: var(--layout-gutter);
}
.s-s15__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s-s15__label {
  color: var(--content-on-brand);
}

/* --- Plates -------------------------------------------------------------
   Editorial White 4 plate, no border in the resting state. 15 of padding
   all round: 15 + cap height 11 + 15 = 41 for the two single-line fields. */
.s-s15__plate {
  width: 100%;
  border: 0;
  background: var(--editorial-white-4);
  color: var(--content-primary);
}
.s-s15__input {
  height: 41px;
  padding: 0 15px;
}
.s-s15__textarea {
  height: 225px;
  padding: 15px;
  resize: vertical;
}
.s-s15__plate::placeholder {
  color: var(--vista-blue-1);
  opacity: 1;
}

/* 2026-10-15, review 13 Oct item 10 — overrides the Act variants of
   Main_S14_Form_text_card (144:911, 808:6438, 144:910), which draw a white
   plate: the field stays Editorial White 4 in every state, and focus adds
   one thing only, a 3px Amber 4 stroke. The stroke is drawn inside the
   plate edge (outline-offset −3), as the Act variants place it, so the
   field does not grow. This also replaces base.css's white focus plate and
   its 2px-off ring for these fields, and covers plain :focus, so a mouse
   click gives the same single stroke as the keyboard. Autofill and
   validity styling are neutralised: Chromium paints autofilled fields its
   own blue and Firefox rings :user-invalid red, either of which reads as a
   second outline or as a glow.                                            */
.s-s15__plate {
  -webkit-appearance: none;
          appearance: none;
  border-radius: 0;
  box-shadow: none;
}
.s-s15__plate:focus,
.s-s15__plate:focus-visible {
  outline: 3px solid var(--border-accent);
  outline-offset: -3px;
  background-color: var(--editorial-white-4);
  box-shadow: none;
}
.s-s15__plate:-webkit-autofill,
.s-s15__plate:-webkit-autofill:hover,
.s-s15__plate:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--content-primary);
  box-shadow: inset 0 0 0 1000px var(--editorial-white-4);
}
.s-s15__plate:user-invalid {
  box-shadow: none;
}

/* --- Actions ------------------------------------------------------------ */
.s-s15__actions {
  display: flex;
  align-items: center;
  gap: var(--layout-gutter);
}
.s-s15__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border: 0;
  background: var(--action-fill);
  color: var(--content-on-accent);
  cursor: pointer;
  transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
/* The label is trimmed to its cap height, so 25 + 11 + 25 gives the 61 of
   the macket. It carries the trim rather than the button because only a
   flex item is a block container of its own text.                        */
.s-s15__submit-label {
  white-space: nowrap;
}
.s-s15__submit:hover:not([disabled]) {
  background: var(--action-fill-hover);
  box-shadow: inset 0 0 0 3px var(--action-border-hover);
}

/* The Loading variant leaves the button looking exactly as it does at rest,
   so nothing is restyled here — it is only made unusable.                 */
.s-s15__submit[disabled] {
  cursor: progress;
}

/* --- Status line --------------------------------------------------------
   At rest the reassurance line stands alone on the left. In the three other
   states the state word takes the left and the message takes the right.   */
/* 25 of the 44 between the button row and the status line comes from the
   form's own gap, the remaining 19 from here.                            */
.s-s15__status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--layout-gutter);
  margin-top: 19px;
  color: var(--content-on-brand);
}
.s-s15__message {
  text-align: right;
}
.s-s15__hint[hidden],
.s-s15__state[hidden],
.s-s15__message[hidden] {
  display: none;
}

/* ===== call/k1.css.css ===== */
/* Call booking block, desktop layer. Spacing and width only; the widget carries its own Site 2026 styles
   (/assets/booking/booking.css). The card's sides sit on lines 2 and 6 of the 1440 frame
   (25 % and 75 %, so half the frame wide: 720 at 1440). Top gap: the shared first-block gap. */
main > .k-call { position: relative; z-index: 1; }
main > .k-call .avl { max-width: calc(min(100%, var(--layout-reference, 1440px)) * .5); }
.k-call__noscript { max-width: 720px; margin: 0 auto; }

/* 2026-10-29 (Oksana Kudria): required-field stars and the «* Required fields» line, the same as on
   /products/greenlight/ and /products/authority/ (rules copied from there; --fs-fine is page-local there, so its 13px is written out; Tetiana Lipatova's list 28.10 point 2).
   «Reschedule or cancel» in every booking email opens this page, and a visitor whose booking fails to load
   sees the booking form here, so it must look the same. Not in Figma. Applies to all three layers: the
   widget is one element moved between slots, and this stylesheet is loaded at every width. */
#avl-booking .avl-field:has(input[required]) > span::after,#avl-booking .avl-fieldset legend::after{content:" *";color:#9B1C1C;font-weight:1000}
#avl-booking[data-step="contacts"] .avl-who::after{content:"* Required fields";display:block;margin-top:8px;font-size:13px;color:rgba(11,20,36,.72)}

/* ===== ghostwriting/page.css.css ===== */
/* ==========================================================================
   Ghostwriting landing — what the borrowed site blocks do not carry.
   Everything else on the page is the site's own stylesheet set (tokens, base,
   header, footer, the borrowed blocks' css). Values here are the site's
   tokens and the borrowed blocks' own measures; nothing new is invented
   except where a comment says the site has no counterpart.
   ========================================================================== */

/* --- The book wall (NO site counterpart) -----------------------------------
   Every cover the site has, in four staggered rows (3 · 4 · 3 · 3 = 13), laid on
   an Amber 4 plate. Built from the tokens: covers at the Book card's 595 / 842,
   the 25 flow gutter, the plate where lf1's amber outline sits (65, 9 ·
   569 wide). Used in the desktop hero (here), the tablet and mobile heroes
   (t-page.css, m-page.css). */
.gw-wall {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--gw-wall-gap, 15px);
}
.gw-wall__plate {
  position: absolute;
  background: var(--amber-4);
}
.gw-wall__row {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--gw-wall-colgap, var(--gw-wall-gap, 15px));
}
.gw-wall__row img {
  display: block;
  flex: 0 0 auto;
  width: var(--gw-cover, 118px);
  height: auto;
  aspect-ratio: 595 / 842;
  object-fit: cover;
  background: var(--rich-black-3);
}

/* Desktop hero: the wall IS lf1's Amber 4 plate (65, 9 · 569 × 712 in the 710 × 721 picture slot), filled by
   four staggered rows (3 · 4 · 3 · 3). The plate's height decides the cover: 25 above and below, 12 between
   rows, so (712 − 50 − 36) / 4 = 156.5 tall at the Book card's 595 / 842 → 110.6 wide. Covers in a row stand
   on the site's 25 gutter, so the widest row (4) is 517 of the 569: about 25 on every side. */
.gw-wall--hero {
  position: absolute;
  top: 9px;
  left: 65px;
  width: 569px;
  height: 712px;
  padding: 25px;
  --gw-wall-gap: 12px;
  --gw-wall-colgap: 25px;
  --gw-cover: calc((712px - 50px - 3 * 12px) / 4 * 595 / 842);
}
.gw-wall--hero .gw-wall__plate { inset: 0; }

/* --- Hero copy: the two lines under the button (brief §3) ----------------- */
.s-lf1__copy .gw-note,
.s-lf1__copy .gw-proof {
  color: var(--content-primary);
}
.s-lf1__copy .gw-proof {
  padding-top: var(--layout-gutter);
  border-top: 3px solid var(--border-strong);
}

/* --- Books: the carousel (see sections/ghostwriting/wall.html for what it is built on) ----------------------
   The Author Stories card (results/stories.css) on a scroll-snap track, --gw-per cards a page. The pager is
   Main_S11_Roller's (main/s11.css .s-s11__pager): the counter in Amber 4, the chevrons 115 right and 105
   left of its centre line, each in a 44 × 44 button. The 8 below the track keep the trimmed note's ink and
   are given back, so the strip is no vertical scroller (CLAUDE.md, «sideways strip»). */
.gw-roller { --gw-per: 4; --gw-gap: 50px; margin-top: 75px; }
.gw-roller__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--gw-per) - 1) * var(--gw-gap)) / var(--gw-per));
  column-gap: var(--gw-gap);
  align-items: start;
  margin: 0 0 -8px;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gw-roller__track::-webkit-scrollbar { display: none; }
.gw-roller__track > li { min-width: 0; scroll-snap-align: start; }
.gw-roller__track:focus-visible { outline: 3px solid var(--amber-4); outline-offset: 6px; }
.gw-roller__pager {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 50px;
}
.gw-roller__count { color: var(--amber-4); }
.gw-roller__prev,
.gw-roller__next {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity var(--t-fast) ease;
}
.gw-roller__next { transform: translate(calc(115px - 15.6px), -50%); }   /* chevron's left edge 115 right of centre */
.gw-roller__prev { transform: translate(calc(-105px - 28.4px), -50%); }  /* chevron's right edge 105 left of centre */
.gw-roller__prev:hover,
.gw-roller__next:hover { opacity: 0.6; }
.gw-roller__prev svg,
.gw-roller__next svg { display: block; }
.gw-roller__prev path,
.gw-roller__next path { stroke: var(--rich-black-1); }
.gw-roller__prev[aria-disabled="true"],
.gw-roller__next[aria-disabled="true"] { visibility: hidden; }

/* --- The Services table with three and with seven columns ------------------
   s2.css sets six columns by percentages of the head row's cells (227.5 and
   215 of 1340). Three columns: the label column keeps 215, the two others
   share the rest. Seven: label 190, six formats share the rest. */
.gw-vs .s-s2__row--head > *,
.gw-vs .s-s2__row--head > *:last-child { width: 41.9776%; }        /* 562.5 / 1340 */
.gw-vs .s-s2__row--head > *:first-child { width: 16.0448%; }       /* 215 / 1340 */
.gw-prices .s-s2__row--head > *,
.gw-prices .s-s2__row--head > *:last-child { width: 14.1791%; }    /* 190 / 1340 */
.gw-prices .s-s2__row--head > *:first-child { width: 14.9254%; }   /* 200 / 1340 */
.gw-prices .s-s2__table td,
.gw-prices .s-s2__table th { vertical-align: top; }
.gw-vs .s-s2__table td { text-align: left; }
.gw-vs .s-s2__format { text-align: left; }

/* Button_form under a table: centred, 50 below, as the home page's s9 button. */
.gw-actions {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}


/* --- Under the team: the numbers line and the last line. */
.gw-tail .gw-tail__nums { grid-column: 1 / -1; }
.gw-tail .gw-tail__last { grid-column: 1 / span 8; margin-top: 50px; }

/* --- Booking: the lockup 50 above the widget, the note 25 under it. */
.gw-book .s-s15__grid { margin-bottom: 50px; }
.gw-book__note {
  margin-top: 25px;
  text-align: center;
  color: var(--content-primary);
}
.gw-book .k-slot .avl { margin-inline: auto; }
/* The section heading already says «Book a free 30-minute call»: the widget's own heading on the time step is
   kept for screen readers only (kept from the first version of this page). */
#avl-booking[data-step="time"] .avl-head .avl-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Required fields, as on Greenlight and /call (call/k1.css carries the contacts-first line): a red star on each,
   «* Required fields» on top of the time-first form (Tetiana Lipatova, 28.10 and 09.11). */
#avl-booking .avl-tf .avl-tf-form::before { content: "* Required fields"; display: block; margin: -4px 0 12px; font-size: 13px; color: rgba(11, 20, 36, .72); }

/* --- «Voice / in every chapter» and «Who / we write for» (Tetiana Lipatova, 2026-11-11: «текст нерівномірний,
   ламає»). The lockup is the home page's s5 one as it is (script on the heading). The cards: title and description on one left edge (s5 indents the description 50), and the
      descriptions start on one line across the row however many lines a title takes — each card spans the
      grid's two rows (subgrid), so the cards are equal in height too. */
.gw-voice .s-s5__cards { margin-top: 75px; }
.gw-voice .s-s5__cards {
  display: grid;
  grid-template-columns: repeat(var(--gw-cols, 3), minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: var(--layout-gutter);
}
.gw-voice .s-s5__card {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: var(--layout-gutter);
}
.gw-voice .s-s5__card-body { margin-top: 0; padding-left: 0; }
/* «Who we write for»: the voice block's layout (gw-voice) with two cards. */
.gw-fit .s-s5__cards { --gw-cols: 2; }

/* The logo is a button here (back to the top): no button chrome, the logo's own box and place. */
button.gw-logo { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
button.gw-logo img { display: block; }

/* «Also included»: one item a line, each starting with «+ ». */
.gw-item { display: block; }

/* Headings (Tetiana Lipatova, 2026-11-11): script word on the H2 exactly as on the home page (the site's own
   lockups, untouched), a 2–3 word H2, then a one-sentence description 25 under it in the site's subheading. */
.gw-voice .gw-voice__sub { margin-top: var(--layout-gutter); }
.gw-books .s-s2__head, .gw-vs .s-s2__head, .gw-prices .s-s2__head { gap: var(--layout-gutter); }
.gw-nw { white-space: nowrap; }   /* a phrase that stays whole; the tablet table lets it wrap (t-page.css) */
.gw-book .gw-book__sub { text-align: center; color: var(--content-primary); margin-top: calc(-1 * var(--layout-gutter)); margin-bottom: 50px; }

/* One «free, no obligation» line on the page: the description under «Book / a free call» (Tetiana Lipatova,
   2026-11-11). The widget's own copies are dropped: tf_n3 and tf_note are overridden in data-text; the time
   step's sub-line and the price note (an empty override falls back to the default) are hidden here. */
#avl-booking[data-step="time"] .avl-tf > .avl-sub,
#avl-booking .avl-tf-note { display: none; }
/* «Book / a free 30-minute call» before the team: the heading is longer than s2's 708 box, so the box widens to
   keep it on one line and the script word on its first line, as on every other lockup here. */
.gw-cta .s-s2__title { max-width: 1000px; }
.gw-cta .s-s2__title-accent { align-self: start; }

/* --- The blue booking block before the team (2026-11-11): the #book block on a Vista Blue 1 band, the window
   wide, 100 above and below, as the home page's FAQ band (main/s13.css); the script word Editorial White 4 there,
   as s13's «faq». */
main > .k-call.gw-blue { background: var(--surface-brand); padding-block: 100px; }
.gw-blue .s-s15__title-accent { color: var(--editorial-white-4); }
/* The widget on blue: only what the blue breaks. Grey hints (#5D6C86, #3A4458: 1.9 and 3.6 : 1 on Vista Blue 1)
   and error text (#9B1C1C, 3.0 : 1 — CLAUDE.md: Rich Black 1 on the blue plates) turn Rich Black 1; the day and
   time buttons and the disabled «Next» (amber at 45 % turned olive over the blue) stand on Editorial White 4
   plates, as the FAQ rows on the home page's blue band do. Selected day / time keep their dark / amber fill. */
.gw-blue .avl { --avl-muted: var(--rich-black-1); --avl-err: var(--rich-black-1); }
.gw-blue .avl-tf { --tf-muted: var(--rich-black-1); }
.gw-blue .avl-tf-day:not(.sel),
.gw-blue .avl-tf-time:not(.sel),
.gw-blue .avl-tf-chips button:not([aria-pressed="true"]) { background: var(--editorial-white-4); }
.gw-blue .avl-tf .avl-btn:disabled { opacity: 1; background: var(--editorial-white-4); color: var(--rich-black-5); }

/* --- The booking skeleton (Tetiana Lipatova, 2026-11-11: «форма завантажувалася довго. додай скелетон, щоб
   людина розуміла що там»). The widget's own loading state is the step-1 heading and a line «Loading free
   times…», and the slot jumps by ~250 when the days arrive. In every booking slot: the shapes of the real step 1
   at its measured places (1440 and 390: kicker 0, label 68, days 94·44, time zone 154, times 180·44, Next 248·52,
   300 tall), Rich Black 3 plates on the page ground, Editorial White 4 on the blue band (Editorial White 4 IS
   the page ground, so it would not show there), a gentle pulse, none with reduced motion. page.js marks the
   widget data-gw-loading while it is empty or loading its free times; then the widget is hidden and the skeleton
   shown, and the other way round the moment the real step renders. Without JavaScript nothing shows. */
.gw-skel { display: none; position: relative; height: 300px; margin-inline: auto; --sk: var(--rich-black-3); }
html.gw-js .gw-skel { display: block; }
.gw-blue .gw-skel { --sk: var(--editorial-white-4); }
.k-slot:has(> #avl-booking:not([data-gw-loading])) > .gw-skel { display: none; }
#avl-booking[data-gw-loading] { display: none; }
.gw-skel__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gw-skel i { position: absolute; display: block; background: var(--sk); animation: gw-pulse 1.4s ease-in-out infinite; }
.gw-skel__bar--kicker { top: 1px; left: 0; width: 96px; height: 12px; }
.gw-skel__rule { top: 30px; left: 0; right: 0; height: 1px !important; }
.gw-skel__bar--label { top: 71px; left: 0; width: 112px; height: 12px; }
.gw-skel__bar--zone { top: 157px; left: 0; width: 168px; height: 12px; }
.gw-skel__row { position: absolute; left: 0; right: 0; display: flex; gap: 8px; }
.gw-skel__row i { position: static; flex: 1 1 0; height: 44px; }
.gw-skel__row--days { top: 94px; }
.gw-skel__row--times { top: 180px; }
.gw-skel__btn { top: 248px; left: 0; right: 0; height: 52px; }
@keyframes gw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .gw-skel i { animation: none; } }

/* --- «Book / a free call», both booking blocks (Tetiana Lipatova, 2026-11-11: «Так, підніми»): the script
   stands above the heading, its strokes at most touching the cap line; s15 sets the heading 50 down. */
.gw-book .s-s15__title-main { margin-top: 95px; }
.gw-book .s-s15__title-accent { align-self: start; }

/* === Every lockup: the script word ABOVE its heading (Tetiana Lipatova, 2026-11-11: «Так, підніми» for the booking
   lockups, then «правки до мобайл» for all of them). The script stands on its own line and the heading follows at
   the depth of the script's lowest stroke below its baseline (13–14 px at 100 px, 20 for «Prices», 29 for «faq»'s
   q), plus 2 — so the strokes at most touch the top of the capitals. This sheet loads on the ghostwriting pages
   only; the borrowed home-page lockups (s6, s7, s13 and their tablet / phone twins) change here, not at home. === */
.gw-books .s-s2__title, .gw-vs .s-s2__title, .gw-prices .s-s2__title {
  display: flex; flex-direction: column; align-items: center; gap: var(--gw-lock-gap, 16px);
}
.gw-prices .s-s2__title { --gw-lock-gap: 22px; }
.gw-books .s-s2__title-main, .gw-vs .s-s2__title-main, .gw-prices .s-s2__title-main { margin-top: 0; }
.s-s5.gw-voice { padding-top: 0; }
.gw-voice .s-s5__head { display: flex; flex-direction: column; gap: 16px; }
.gw-voice .s-s5__accent { position: static; }
.s-s13__title { display: flex; flex-direction: column; gap: 31px; }
.s-s13__title-accent { order: -1; }
.s-s13__title-main { margin-top: 0; }
/* The two absolutely placed home lockups: the script's trimmed box is 75 tall, so the heading moves to 75 + 16
   under the script's top, and what follows it by the same amount. */
.s-s6 .s-s6__title { top: 141px; }
.s-s7 .s-s7__title { top: 91px; }
.s-s7 .s-s7__sub { top: 151px; }
.s-s7 .s-s7__head { height: 219px; }

/* ===== t-base.css ===== */
/* ==========================================================================
   Tablet foundation — Figma page "Tablet" (1826:8397), 36 frames 1024 wide.
   Added 2026-10-08. Load AFTER every desktop stylesheet and before the
   mobile ones. See CONTRACT_TABLET.md.

   Three layers now share one set of URLs:
     below 768        mobile   (`is-m` blocks, css/m-*.css)
     768 – 1279.98    tablet   (`is-t` blocks, this file and css/t-*.css)
     1280 and up      desktop  (every other block)
   Decided with the client 2026-10-08: tablet from 768 to 1279. Until then
   the desktop layer started at 1024 and was scaled down by `zoom` between
   1024 and 1199; from 1280 up the desktop never needs that.

   Like the mobile layer this is an overlay: every rule is inside the tablet
   media query, so at 1280 and up the desktop layer is untouched.
   ========================================================================== */

/* --- Layer bounds, 2026-10-15 — tablet hand-off §3.3 -----------------------
   "768 and 1280 as variables in one place; moving a bound must be a change
   of one number." CSS cannot put a custom property inside a media query, so
   the ONE place is tools/build.py: BP_TABLET = 768, BP_DESKTOP = 1280. The
   build rewrites, in every stylesheet it emits, the four media-query forms
   (min-width: 768px) (max-width: 767.98px) (max-width: 1279.98px)
   (min-width: 1280px) and the two values below from those constants, and
   prints every other width bound it meets (a block's own step inside a
   layer, such as 899.98, is allowed but listed). The sources keep the literal numbers so a file still reads on
   its own. Scripts read the bounds from these two properties (js/t-menu.js).
   Lives here and not in css/tokens.css so the desktop-only build stays
   byte-identical. */
:root {
  --bp-tablet:  768px;
  --bp-desktop: 1280px;
}

@media (min-width: 768px) and (max-width: 1279.98px) {

  /* --- Grid -------------------------------------------------------------
     Frame 1024 · margin 50 · working area 924 · three columns of 308.
     `BackgroundLines` (1826:20016 on Main_t): four lines at x 50, 358, 666
     and 974, the full height of the screen. Between 768 and 1024 the
     working area stretches with the window and the 50 margins hold; above
     1024 it stops at 924 and centres. Nothing scales.

     2026-10-15, tablet hand-off §3.2 (designer, 13 Oct 2026) — OVERRIDES
     CONTRACT_TABLET §4 ("margins stay 50"): below 1024 the side margins
     shrink from 50 toward 25 first, and only then does the working area
     shrink. So the area is 924 from 974 up (margins 25 at 974, 50 at 1024),
     and below 974 it is the window minus 25 + 25 (718 at 768). Above 1024
     the area stays 924, centred. `--t-margin` is that live margin and every
     consumer — .container, the page lines, the header's menu panel, the UP
     control, the footer and the blocks that bleed by `-1 * --t-margin` —
     reads it, so they move together. `--t-sbw` is the classic scrollbar's
     width, written by js/t-menu.js (0 with overlay scrollbars, i.e. on every
     tablet), so that 100vw means the same width as 100 % of the page. */
  :root {
    --t-reference: 1024px;
    --t-margin-min: 25px;
    --t-margin-max: 50px;
    --t-content:   924px;
    --t-margin:    clamp(var(--t-margin-min),
                         (100vw - var(--t-sbw, 0px) - var(--t-content)) / 2,
                         var(--t-margin-max));

    /* Spacing steps used by the tablet frames: the same five as the rest of
       the file, plus 100 between sections. */
    --t-gap-tight: 10px;
    --t-gap-mid:   15px;
    --t-gap:       25px;
    --t-gap-block: 50px;
    --t-gap-big:   75px;
    --t-gap-section: 100px;

    /* Header: logo at y 58, menu button at y 50, rule at y 108. */
    /* 2026-11-04, client (tablet photos, Redmi Pad Pro): «хедер дуже високий, треба зменшити»: the macket's top 50 is the device status bar; on a real tablet the
       browser bar is already above the page. 108 -> 60, as on mobile (89 -> 50). */
    --t-header-h:  60px;

    --t-tap:       44px;
  }

  body {
    min-width: 0;          /* the desktop floor is 1200 */
    overflow-x: clip;
  }

  .container {
    width: min(100% - var(--t-margin) * 2, var(--t-content));
    margin-inline: auto;
  }

  /* The page's line layer: four lines instead of seven, on the working area
     instead of the 1440 frame. */
  .page > .gridlines {
    width: min(100% - var(--t-margin) * 2, var(--t-content));
  }
  .page > .gridlines i:nth-child(n + 5) { display: none; }
  .page > .gridlines i { left: calc((var(--n) - 1) * (100% - var(--line-width)) / 3); }

  /* Touch targets, as on mobile: the area grows from the centre to 44 and
     never moves what is drawn. */
  .t-tap { position: relative; }
  .t-tap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width:  max(100%, var(--tap-w, var(--t-tap)));
    height: max(100%, var(--tap-h, var(--t-tap)));
  }

  :target { scroll-margin-top: calc(var(--t-header-h) + var(--t-gap)); }

  /* Keyboard focus — tablet hand-off §15 and §6, 2026-10-15. A visible ring
     on every interactive element: the 3 px Amber 4 stroke base.css already
     draws, on an Editorial White 4 plate instead of base.css's Editorial
     White 2 — "Editorial white / 4 is the only white; add no new white"
     (§6, §12.1). Anchor scrolling stays smooth through base.css
     (`html { scroll-behavior: smooth }`, off under prefers-reduced-motion). */
  :focus-visible {
    outline: 3px solid var(--border-accent);
    outline-offset: 2px;
    background-color: var(--editorial-white-4);
  }
}

/* ==========================================================================
   Layer switch. A page carries all three sets of blocks; each layer hides the
   other two. Tablet blocks are marked `is-t`, mobile ones `is-m`.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .page > main > section:not(.is-t) { display: none; }
  /* Sections+footer on every tablet frame: 50 under the header rule, 100
     between sections. A screen that differs sets --gap-t on the block. */
  .page > main > .is-t:first-child,
  .page > main > section:not(.is-t) + .is-t { margin-top: var(--t-gap-block); }
  .page > main > .is-t + .is-t { margin-top: var(--gap-t, var(--t-gap-section)); }
}
@media (max-width: 767.98px), (min-width: 1280px) {
  .page > main > .is-t { display: none; }
}

/* ==========================================================================
   Accordion chevrons — hover and press. 2026-10-27, designer's answer
   (tablet question 7, hand-off §9.1): the chevron in the rows of FAQ_*_t,
   Service_cards_t (the FAQ rows of Services and Discovery Sprint) and
   How_it_works_full_t takes the Hov of `Main_S11_Arrows` 1826:18090 —
   Rich Black 1 → Amber 4 — while its row is hovered with a real pointer,
   and while it is pressed on touch. Written once for the layer: every
   tablet accordion row is a button with aria-expanded holding the chevron
   file (/assets/chevron-down.png?v=d31a804b, or t-process-chevron.svg on How it works).
   The drawing is moved out of the image's box and the box is painted Amber 4
   through the file's own shape, so the turn (open / closed) still applies.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  .page .is-t button[aria-expanded]:hover img[src$="chevron-down.png"],
  .page .is-t button[aria-expanded]:hover img[src$="t-process-chevron.svg"] {
    object-position: 0 -9999px;
    background-color: var(--amber-4);
    -webkit-mask: no-repeat center / 100% 100%;
            mask: no-repeat center / 100% 100%;
  }
  .page .is-t button[aria-expanded]:hover img[src$="chevron-down.png"] {
    -webkit-mask-image: url("/assets/chevron-down.png?v=d31a804b");
            mask-image: url("/assets/chevron-down.png?v=d31a804b");
  }
  .page .is-t button[aria-expanded]:hover img[src$="t-process-chevron.svg"] {
    -webkit-mask-image: url("/assets/t-process-chevron.svg?v=99a9df03");
            mask-image: url("/assets/t-process-chevron.svg?v=99a9df03");
  }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  .page .is-t button[aria-expanded]:active img[src$="chevron-down.png"],
  .page .is-t button[aria-expanded]:active img[src$="t-process-chevron.svg"] {
    object-position: 0 -9999px;
    background-color: var(--amber-4);
    -webkit-mask: no-repeat center / 100% 100%;
            mask: no-repeat center / 100% 100%;
  }
  .page .is-t button[aria-expanded]:active img[src$="chevron-down.png"] {
    -webkit-mask-image: url("/assets/chevron-down.png?v=d31a804b");
            mask-image: url("/assets/chevron-down.png?v=d31a804b");
  }
  .page .is-t button[aria-expanded]:active img[src$="t-process-chevron.svg"] {
    -webkit-mask-image: url("/assets/t-process-chevron.svg?v=99a9df03");
            mask-image: url("/assets/t-process-chevron.svg?v=99a9df03");
  }
}

/* 2026-11-04, client (tablet photos 15:09): «при тапі не з'являється цитата»: the quote plate over a team portrait (main t9.js, about t3.js). */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .tq-wrap { position: relative; display: block; cursor: pointer; }
  .tq-wrap > img { display: block; }
  .tq {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--t-gap-mid, 15px);
    background: var(--surface-accent);
    color: var(--content-on-accent);
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    transition: opacity var(--t-base) ease;
    pointer-events: none;
  }
  .tq-wrap.is-on .tq { opacity: 1; }
}

/* ===== t-header.css ===== */
/* ==========================================================================
   Tablet header and menu — partials/t-header.html, js/t-menu.js.
   Figma: Logo_header 1826:20036, Menu_T 1826:20065 (Pas / Act), Line 54.
   Inside the tablet query; nothing here exists below 768 or at 1280 and up.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  /* The desktop header and footer are not part of the tablet frames; the
     tablet has its own. The UP control is shared and restyled below. */
  .page > .site-header,
  .page > .site-footer { display: none; }

  /* UP — Figma `Button_form` 1826:21402: 61 wide, 72 tall, label on its
     side, hanging from the header rule at x 50, y 110 on every tablet frame
     (measured on the frame renders, 2026-10-14). OVERRIDE of the earlier
     tablet build, which sent it to the foot of the window as the desktop and
     mobile layers do: the file — and the designer's review, item 3 — put it
     directly under the header, reading as a bookmark. It stays fixed there
     while the sticky header stays on screen; shown once a screen has been
     scrolled (js/up.js). */
  .site-up {
    left: max(var(--t-margin), (100% - var(--t-reference)) / 2 + var(--t-margin));
    top: calc(var(--t-header-h) + 2px);
    bottom: auto;
    width: 61px;
    height: 72px;
    padding: 0;
  }

  /* 2026-10-27, designer's answer (all pages, question 3: UP control): "on
     hover over the yellow it changes its colour to white (EEEAE3)". On the
     tablet the hover (mouse or trackpad only, hand-off §9.1) and the press
     (touch, while the finger is down) fill the button with Editorial White 4
     and keep the 3 px Amber 4 stroke inside, so it stays visible over an
     Amber 4 band, where up.css's transparent hover made it vanish. On touch
     the shared up.css :hover would stick after a tap, so without a fine
     pointer the resting drawing is restored. Keyboard focus takes the same
     white plate (hand-off §6: Editorial White 4 is the only white). */
  .site-up:hover,
  .site-up:focus-visible {
    background: var(--action-fill);
    box-shadow: inset 0 0 0 3px var(--action-fill);
  }
  .site-up:focus-visible,
  .site-up:active {
    background: var(--editorial-white-4);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }

  .t-header[hidden],
  .t-footer[hidden] { display: block; }   /* `hidden` is for the no-CSS case */

  /* base.css pins `.page > *:not(.gridlines):not(.site-header):not(.site-up)`
     at `position: relative; z-index: 1` — specificity 0,4,0. `.page >
     .t-menu` is only 0,2,0 and loses both properties, which put the menu in
     the flow under the header. The repeated class lifts each rule to 0,5,0;
     it is a weight, not a typo. */
  .page > .t-header.t-header.t-header.t-header { position: sticky; top: 0; z-index: 10; }
  .page > .t-menu.t-menu.t-menu.t-menu         { position: fixed;  z-index: 20; }

  .t-header {
    height: var(--t-header-h);
  }
  /* 2026-10-15, tablet hand-off §8: "no effects at all — zero shadows and
     zero blurs on all 37 screens; the tablet header has no background blur,
     it is solid." The plate was the desktop's 75 % Editorial White 4 with a
     25 px backdrop blur; on the tablet it is solid Editorial White 4. */
  .t-header__plate {
    position: absolute;
    inset: 0;
    background: var(--surface-page);
  }
  /* The solid plate would hide the page lines, but Main_t draws
     `BackgroundLines` (1826:20016) from y 0, through the header (sampled on
     the frame render, 2026-10-15: Rich Black 3 at x 50 · 358 · 666 · 974
     for y 0–107). The plate draws its own copy, in the same box and the
     same positions as `.page > .gridlines` in css/t-base.css: a 1 px line
     at background-position 0 / ⅓ / ⅔ / 100 % lands at (n − 1)(100 % − 1px)/3,
     which is exactly the page layer's formula. */
  .t-header__plate::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100% - var(--t-margin) * 2, var(--t-content));
    --t-line: linear-gradient(var(--line-color), var(--line-color));
    background:
      var(--t-line) 0       0 / var(--line-width) 100% no-repeat,
      var(--t-line) 33.333% 0 / var(--line-width) 100% no-repeat,
      var(--t-line) 66.667% 0 / var(--line-width) 100% no-repeat,
      var(--t-line) 100%    0 / var(--line-width) 100% no-repeat;
  }

  /* Logo 179 × 25, centred, top at 58. */
  .t-header__logo {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 13px;                           /* was 58: the header lost its status-bar band */
    transform: translateX(-50%);
    line-height: 0;
  }
  .t-header__logo img { width: 179px; height: 25px; }

  /* Menu_T Pas: 70 × 40 at y 50, flush with the right edge of the 1024
     frame — which is the window's edge below 1024 and the frame's above. */
  .t-header__toggle {
    position: absolute;
    z-index: 2;
    top: 5px;                            /* was 50 */
    right: max(0px, (100% - var(--t-reference)) / 2);
    width: 70px;
    height: 40px;
    padding: 10px;
    border: 0;
    background: var(--surface-page);
    display: grid;
    place-items: center start;
    cursor: pointer;
  }
  .t-header__bars,
  .t-header__bars::before,
  .t-header__bars::after {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--content-primary);
  }
  .t-header__bars { position: relative; }
  .t-header__bars::before,
  .t-header__bars::after { content: ""; position: absolute; left: 0; }
  .t-header__bars::before { top: -8px; }
  .t-header__bars::after  { top:  8px; }

  /* Line 54: 2 px Rich Black at y 108–109, the width of the frame
     (measured on the frame renders, 2026-10-14; the earlier build drew the
     1 px grid line in Rich Black 3, which nearly vanished). */
  .t-header__rule {
    position: absolute;
    left: 50%;
    bottom: -2px;                         /* y 108–109, under the 108 header */
    transform: translateX(-50%);
    width: min(100%, var(--t-reference));
    margin: 0;
    border: 0;
    border-top: 2px solid var(--content-primary);
  }

  /* --- Menu_T Act -------------------------------------------------------
     A panel 1024 wide whose close button lands where the menu button was
     (y 50), so the X replaces the bars in place. Taller than the window on
     a short screen, it scrolls on its own. */
  .t-menu {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--t-reference));
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface-page);
    border-bottom: 2px solid var(--border-strong);
  }
  /* 2026-10-27, designer's answer (tablet question 1, Menu_T Act 1826:20071):
     "the panel stretches to the full height and width of the page; a tap
     outside the links does nothing." OVERRIDES the 1024 x 758 panel above:
     it now covers the whole window (inset 0, 100dvh), so no part of the page
     shows under it at 768 x 1024 or wider than 1024. The content keeps the
     file's places: 50 of padding on top puts the close button at y 50, where
     the menu button was, and the links stay on the 924 working area. The
     Act frame's 2 px Rich Black 1 rule at its foot is dropped: the panel's
     foot is now the window's edge. Taps on the empty panel close nothing
     (js/t-menu.js closes only on a link, the close button, the menu button
     or Escape). */
  .t-menu {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    box-sizing: border-box;
    padding-top: 5px;                    /* close lands where the menu button is (was 50) */
    border-bottom: 0;
  }
  .t-menu[hidden] { display: none; }

  /* 2026-10-15, hand-off §10.1: the page under the open menu does not
     scroll (js/t-menu.js sets the class). The panel keeps its own scroll.
     A classic scrollbar's width is kept as padding so nothing shifts. */
  html.is-t-menu-open {
    overflow: hidden;
    padding-right: var(--t-sbw, 0px);
  }

  .t-menu__inner {
    width: min(100% - var(--t-margin) * 2, var(--t-content));
    margin-inline: auto;
    padding-bottom: var(--t-gap-block);
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
  }

  .t-menu__head {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .t-menu__close {
    width: 45px;
    height: 40px;
    padding: 10px 12px 10px 13px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .t-menu__close span {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
  }
  .t-menu__close span::before,
  .t-menu__close span::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 9px;
    width: 24px;
    height: 2px;
    background: var(--content-primary);
  }
  .t-menu__close span::before { transform: rotate(45deg); }
  .t-menu__close span::after  { transform: rotate(-45deg); }

  .t-menu__rule {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 2px solid var(--border-strong);
  }

  /* Nine links, 25 apart; from the second on, a hairline 15 above. */
  .t-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
  }
  .t-menu__list li + li {
    padding-top: var(--t-gap-mid);
    border-top: var(--line-width) solid var(--line-color);
  }
  .t-menu__list a {
    display: block;           /* u-trim needs a block box */
    width: fit-content;
    color: var(--content-primary);
    text-decoration: none;
  }

  .t-menu__foot {
    margin-top: calc(var(--t-gap-big) - var(--t-gap));
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
  }

  /* Button_form_m in the tablet menu: full width, 25 padding, the label
     trimmed to its cap height — 15 + 50 = 65 high. */
  .t-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 65px;
    padding: 25px;
    color: var(--content-primary);
    text-decoration: none;
    text-align: center;
  }
  .t-btn--fill { background: var(--action-fill); }
  .t-btn--line { border: 3px solid var(--border-strong); padding: 22px; }
}

@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  /* 2026-10-27, the UP hover on a real pointer — see the block above. */
  .site-up:hover {
    background: var(--editorial-white-4);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }
}

/* Above the tablet range and below it the tablet chrome does not exist. The
   script removes `hidden` unconditionally, so this has to say it. */
@media (max-width: 767.98px), (min-width: 1280px) {
  .t-header, .t-menu, .t-footer { display: none !important; }
}

/* ===== t-footer.css ===== */
/* ==========================================================================
   Tablet footer — partials/t-footer.html, Figma `Footer_t` 1899:15330.
   1024 × 335 in the file; the ground runs the full window, the 924 column
   centres. Inside the tablet query only.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .page > .t-footer {
    margin-top: var(--t-gap-section);     /* Sections+footer: 100 */
    background: var(--surface-brand);
  }

  .t-footer__inner {
    width: min(100% - var(--t-margin) * 2, var(--t-content));
    margin-inline: auto;
    padding-block: var(--t-gap-block);
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    color: var(--content-primary);
  }

  .t-footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--t-gap);
  }
  .t-footer__logo { line-height: 0; }
  .t-footer__logo img { width: 179px; height: 25px; }
  .t-footer__tagline {
    display: block;
    margin: 0;
    max-width: 608px;
    text-align: right;
  }

  .t-footer__rule {
    width: 100%;
    margin: 0;
    border: 0;
    border-top: 2px solid var(--border-strong);
  }

  .t-footer__middle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--t-gap);
  }
  .t-footer__left {
    width: min(450px, 60%);
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
  }

  .t-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--t-gap);
    height: 25px;
  }
  .t-footer__social a { display: block; line-height: 0; }

  /* Three lines set solid: the file's paragraph has no gap between them.
     One block box trimmed to cap height at the top and the baseline at the
     foot, as Figma trims the paragraph — a flex column would leave the trim
     with nothing to act on and the footer 12 px taller than Footer_t's 335
     (found 2026-10-12). */
  .t-footer__office {
    font-style: normal;
    display: block;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }
  .t-footer__office span { display: block; line-height: normal; }

  .t-footer__reach,
  .t-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  .t-footer__reach {
    flex-direction: column;
    align-items: flex-end;
    gap: var(--t-gap);
  }
  /* The two lines sit on a 36 step (cap height + 25), so 44-tall touch
     areas overlapped by 8; 36 keeps them edge to edge (CONTRACT_TABLET §6,
     2026-10-14). */
  .t-footer__reach a { --tap-h: 36px; }
  .t-footer__legal {
    justify-content: flex-end;
    gap: var(--t-gap);
  }
  .t-footer a {
    display: block;            /* u-trim needs a block box */
    color: inherit;
    text-decoration: none;
  }
  .t-footer__legal a { color: var(--content-on-inverse); }   /* Editorial White 4 */
  /* 2026-10-15, hand-off §15: the focus plate is Editorial White 4
     (css/t-base.css), the same as these links' text — on focus the text
     turns Rich Black 1 so it stays readable inside the ring. */
  .t-footer__legal a:focus-visible { color: var(--content-primary); }
}

/* ===== ghostwriting/main/t9.css ===== */
/* ==========================================================================
   Tablet Section 9 — Figma 1875:9378. Our team.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .tb-main-9__lede {
    margin-top: var(--t-gap);
    text-align: center;
  }

  .tb-main-9__roller { margin-top: var(--t-gap-block); }

  /* One page per screen width of the working area; swipe with snap. */
  .tb-main-9__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    align-items: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    /* A scroller clips both axes: room for the last line's descenders,
       given back underneath so the pager stays 50 below. */
    padding-bottom: var(--t-gap-tight);
    margin-bottom: calc(-1 * var(--t-gap-tight));
  }
  .tb-main-9__track::-webkit-scrollbar { display: none; }
  .tb-main-9__page {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .tb-main-9__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));   /* 2026-11-04, client (tablet photos #4): «чи є сенс отак 6 кубиків, чи можна 4 як на десктопі і свайпом?» — 4 a page, one row, swipe and arrows (was 3 × 2) */
    gap: var(--t-gap-block) var(--t-gap);
  }
  .tb-main-9__person {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    text-align: center;
  }
  .tb-main-9__person img {
    width: 100%;
    height: auto;
    aspect-ratio: 291.33 / 414;
    object-fit: cover;
    margin-bottom: 0;
  }

  /* Pager: 50 · 292 · 50, centred, 50 under the grid. */
  .tb-main-9__pager {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--t-gap-block);
  }
  .tb-main-9__count {
    width: 292px;
    text-align: center;
  }
  .tb-main-9__arrow {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--action-fill);
    cursor: pointer;
  }
  .tb-main-9__arrow img { width: 11px; height: auto; }

  /* Frame 666: the lede in the right column, 50 under the pager. */
  .tb-main-9__about {
    width: calc((100% - var(--t-gap)) / 2);
    margin: var(--t-gap-block) 0 0 auto;
  }
  .tb-main-9__label { margin-top: var(--t-gap-block); }

  .tb-main-9__how {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--t-gap);
    margin-top: var(--t-gap);
  }
  .tb-main-9__how-card {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    padding: var(--t-gap) var(--t-gap) var(--t-gap-block);
    /* The 3px stroke is drawn inside and takes no room, as in the file
       (179 tall, not 185). */
    box-shadow: inset 0 0 0 3px var(--border-strong);
  }

  /* 2026-10-27, designer's answer (tablet question 5, carousels —
     Team_block_t 1875:9165, the Insights articles, every tablet carousel):
     "hide the arrows at the ends", not dim them. The arrow keeps its slot
     (visibility, not display) so the counter does not jump sideways, and a
     hidden arrow is out of the tab order and the touch layer. */
  .tb-main-9__arrow[aria-disabled="true"],
  .tb-main-9__arrow[disabled] { visibility: hidden; }

}

/* === 2026-10-27, desktop component sets in the tablet frames ===
   Designer's answer (tablet question 7): their hover follows hand-off §9.1 —
   the desktop Hov drawing, only with a real pointer (hover: hover and
   pointer: fine), and the same drawing as the pressed state on touch while
   the finger is down (:active). Nothing is reachable only by hover. */
@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  /* Main_S11_Card, Hov 120:1084 (desktop sections/main/s11.css): the 3px
     stroke turns from Rich Black 1 to Amber 4; nothing else changes. */
  .page .is-t .tb-main-9__how-card:hover { box-shadow: inset 0 0 0 3px var(--amber-4); }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  /* Main_S11_Card, Hov 120:1084 (desktop sections/main/s11.css): the 3px
     stroke turns from Rich Black 1 to Amber 4; nothing else changes. */
  .page .is-t .tb-main-9__how-card:active { box-shadow: inset 0 0 0 3px var(--amber-4); }
}

/* 2026-10-27, client ("where is the grammar?"): team roles keep their own
   capitals — "Founder / COO", "Head of Product" — not Base Down Black's
   lowercase. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .page .is-t .tb-main-9__person .t-base-down-black { text-transform: none; }
}

/* ===== ghostwriting/main/t4.css ===== */
/* ==========================================================================
   Tablet Section 4 — Figma 1843:13893. How it works.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .tb-main-4 {
    position: relative;
    padding-block: var(--t-gap-block);
    background: var(--surface-brand);
    color: var(--content-on-brand);
    overflow: clip;
  }

  /* Ellipse 7: a circle of radius 496.5 centred on the top-left corner of
     the block; the block clips everything but the quarter the file shows.
     A 1px stroke, drawn rather than exported. */
  .tb-main-4__arc {
    position: absolute;
    left: -496.5px;
    top: -496.5px;
    width: 993px;
    height: 993px;
    border: var(--line-width) solid var(--content-on-inverse);
    border-radius: 50%;
    pointer-events: none;
  }
  .tb-main-4 > .container { position: relative; }

  .tb-main-4__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--t-gap);
    align-items: start;
  }
  .tb-main-4__intro {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
  }

  .tb-main-4__steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--t-gap);
    margin-top: var(--t-gap-block);
  }
  .tb-main-4__step {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap-mid);
    min-height: 106px;
    padding: var(--t-gap);
    background: var(--surface-page);
    color: var(--content-primary);
  }
  .tb-main-4__row {
    display: flex;
    align-items: center;
    gap: var(--t-gap-mid);
  }
  .tb-main-4__row > span { display: block; }
  .tb-main-4__num { color: var(--surface-brand); }

  .tb-main-4__cta { margin-top: var(--t-gap); }

}

/* ===== ghostwriting/main/t5.css ===== */
/* ==========================================================================
   Tablet Section 5 — Figma 1843:14048. Client voices.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .tb-main-5__lede {
    margin-top: var(--t-gap);
    text-align: center;
  }

  .tb-main-5__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--t-gap);
    margin-top: var(--t-gap-block);
  }
  .tb-main-5__card {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    min-height: 330px;
    padding: var(--t-gap) var(--t-gap) var(--t-gap) 24px;
    background: var(--surface-brand);
    color: var(--content-on-brand);
  }

  /* Group 100: the portrait at the top right, the two-line name ending on
     the portrait's bottom edge (45 + 30 = 75). `wrap-reverse` keeps that
     at 1024 and, where the card is too narrow for both side by side (768),
     lifts the portrait onto its own line above the name instead of letting
     the name run under it. */
  /* 2026-11-04, client (tablet photos #6): «чому фото зверху імені і прізвище, а не збоку … ім'я, прізвище ліворуч, фото праворуч». The name (first over last, as on mobile) stays left and the
     portrait right at every tablet width; on a narrow card the portrait
     shrinks instead of moving above the name. */
  .tb-main-5__top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;   /* 2026-11-04, client (tablet photos 15:09): «ім'я, прізвище … центрувати відносно до фото» */
    justify-content: space-between;
    gap: var(--t-gap-mid) var(--t-gap-tight);
  }
  .tb-main-5__name {
    flex: 1 1 auto;
    min-width: min-content;
  }
  .tb-main-5__avatar {
    flex: 0 1 75px;
    min-width: 48px;
    width: 75px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }

}

/* ===== ghostwriting/main/t11.css ===== */
/* ==========================================================================
   Tablet Section 11 — Figma 1875:9730 / FAQ_1_t 1875:9623. FAQ accordion.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .tb-main-11 {
    padding-block: var(--t-gap-block);
    background: var(--surface-brand);
    color: var(--content-on-brand);
  }

  .tb-main-11__list {
    display: grid;
    gap: var(--t-gap);
    margin-top: var(--t-gap-block);
  }
  .tb-main-11__item {
    background: var(--surface-page);
    color: var(--content-primary);
  }

  /* The whole row is the trigger: 25 of padding round an 11-tall label,
     61 tall closed. The chevron (21 × 11) sits at the right. */
  .tb-main-11__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--t-gap);
    width: 100%;
    padding: var(--t-gap);
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
  }
  .tb-main-11__q > span { display: block; }
  .tb-main-11__chev {
    flex: none;
    width: 21px;
    height: 11px;          /* Main_S11_Arrows turned: 21.2 × 10.6 */
    object-fit: contain;
    transition: transform var(--t-base);
  }
  .tb-main-11__item.is-open .tb-main-11__chev { transform: rotate(180deg); }

  .tb-main-11__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--t-base);
  }
  .tb-main-11__item.is-open .tb-main-11__panel { grid-template-rows: 1fr; }
  .tb-main-11__panel-in { overflow: hidden; }
  /* 2026-10-15: a closed answer is out of reach — no tab stop and no tap on
     the link clipped inside it, which overlapped the next question's row
     (hand-off §5). Hidden after the closing animation. */
  .tb-main-11__item:not(.is-open) .tb-main-11__panel-in { visibility: hidden; transition: visibility 0s var(--t-base); }
  /* Act: the answer 50 under the question; the trigger already carries 25. */
  .tb-main-11__a { padding: var(--t-gap) var(--t-gap) var(--t-gap); }

  @media (prefers-reduced-motion: reduce) {
    .tb-main-11__panel,
    .tb-main-11__chev { transition: none; }
  }

  /* 2026-10-15 — tablet hand-off §5: `u-link-inline` (base.css) is a 20-tall
     inline link whose underline is a border, so padding would move it. The
     tap area grows instead with a transparent 44-tall layer centred on the
     link; nothing drawn moves. */
  .tb-main-11 .u-link-inline { position: relative; }
  .tb-main-11 .u-link-inline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: var(--t-tap);
    transform: translateY(-50%);
  }
}

/* ===== ghostwriting/landing-full/t1.css.css ===== */
/* ==========================================================================
   Article landing (full) tablet — block 1, hero.
   Figma: `Article_landing_full_t` 1998:27728 / "Section 1" 1998:27738,
   1024 x 998. Measures in t1.html.

   This file also carries the vocabulary the page's six blocks share — the
   heading lockup and the two `Button_form` variants — written once here
   rather than copied into six stylesheets.
   ========================================================================== */
/* 2026-10-15, tablet hand-off §17.2: the pictures here are WebP at no more than twice their largest slot, as the other layers serve them; they were PNG/JPEG. */

@media (min-width: 768px) and (max-width: 1279.98px) {

  /* ======================================================================
     Shared: the heading lockup — Figma `Group 110` / `Group 113`.
     Comforter 100 ("Heading Accent") and Mulish 50 ("Heading", 10 %) share
     one cell; the script is drawn over the word and the word hangs 27 below
     the top of the group. Centred by default, left-aligned in block 3.
     ====================================================================== */
  .tb-lock {
    display: grid;
    font: inherit;
    text-align: center;
  }
  .tb-lock > * { grid-area: 1 / 1; }
  .tb-lock__script {
    z-index: 1;
    pointer-events: none;
  }
  .tb-lock__word { margin-top: 27px; }
  .tb-lock--left { text-align: left; }

  /* ======================================================================
     Shared: `Button_form`, 61 tall — 25 of padding round the label's 11 cap
     height. `--fill` is the Amber 4 plate, `--line` the 3px Rich Black 1
     stroke drawn inset, so both measure the same. No hover state (§6). [superseded 2026-10-15: hover/press per hand-off §9.1, see the block at the end of the page's shared stylesheet]
     ====================================================================== */
  .tb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--t-gap);
    border: 0;
    background: var(--action-fill);
    color: var(--content-on-accent);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }
  .tb-btn--line {
    background: none;
    color: var(--content-primary);
    box-shadow: inset 0 0 0 3px var(--border-strong);
  }
  /* The trim sits on the label; a flex item is blockified, so it bites. */
  .tb-btn > span { display: block; }

  /* ======================================================================
     Block 1
     ====================================================================== */

  /* `Sections` sits at y 133 under a rule at 108: 25, not the layer's 50.
     `.tb-…` + `.is-t` outranks `.page > main > .is-t:first-child`.
     2026-11-02: the page now carries desktop blocks (lf1…), so this block
     follows them and the second selector is the one that applies — the
     same 25, unchanged (as business/t1.css does). */
  .page > main > .tb-landing-full-1.is-t:first-child,
  .page > main > section:not(.is-t) + .tb-landing-full-1.is-t { margin-top: var(--t-gap); }

  /* The row runs from the frame's left edge (50 left of the working area)
     to the working area's right edge: 974 at 1024. The copy keeps its 449;
     below 1024 the photograph's column narrows and crops the cut-out from
     both sides rather than scaling it. */
  .tb-landing-full-1__row {
    display: grid;
    grid-template-columns: minmax(0, 525px) minmax(0, 449px);
    justify-content: space-between;
    align-items: center;
    margin-left: calc(var(--t-margin) * -1);
  }

  .tb-landing-full-1__photo {
    position: relative;
    height: 801px;
    overflow: clip;
  }
  /* Both layers are placed by the same rule so they crop together: 525 wide,
     held at 60 % of the spare width so the face stays in the window. */
  .tb-landing-full-1__outline,
  .tb-landing-full-1__image {
    position: absolute;
    top: 0;
    left: calc((100% - 525px) * 0.6);
    width: 525px;
    max-width: none;
  }
  /* `Rectangle 94` 1998:27130: Amber 4, from y 10 to the frame's foot, masked
     by `Hero photo` 1998:27129 (525 x 801). */
  .tb-landing-full-1__outline {
    height: 801px;
    background: var(--amber-4);
    -webkit-mask: url("/assets/t-landing-hero-outline.webp?v=848de9a1") 0 0 / 525px 801px no-repeat;
    mask: url("/assets/t-landing-hero-outline.webp?v=848de9a1") 0 0 / 525px 801px no-repeat;
    clip-path: inset(10px 0 0 0);
  }
  /* `Hero photo` 1998:27131, 525 x 800: the exported bitmap is stored at
     1024 x 801 and drawn squeezed to 525 x 800, as in the file. */
  .tb-landing-full-1__image {
    height: 800px;
    object-fit: fill;
  }

  .tb-landing-full-1__copy {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    color: var(--content-primary);
  }

  /* `Vector 11`: 2px Amber 4, the whole window wide. */
  .tb-landing-full-1__rule {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    border: 0;
    border-top: 2px solid var(--amber-4);
  }

  .tb-landing-full-1__actions {
    display: grid;
    gap: var(--t-gap);
    margin-top: var(--t-gap-block);
  }

}

/* === Tablet hover / press — hand-off §9.1 (added 2026-10-15) ===
   Replaces CONTRACT_TABLET §6 "no hover states": the tablet hand-off of
   13 Oct 2026, §9.1, gives every Components_Tablet set (1826:17360) that has
   a Hov variant its hover — only where the device has a real pointer — and
   uses the same drawing as the pressed state on touch: shown while the
   finger is down (:active), gone on release, never sticky; nothing is
   reachable only by hover. Disabled and aria-disabled controls take
   neither. Written once per page (this file is in every bundle of the
   page); the selectors carry `.page .is-t` so a block's own later rule
   cannot outweigh them. Sets with a Hov variant that are not here:
   Logo_header (tablet header, css/t-header.css — not this layer of
   files) and any set this page does not use. */
@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  /* Button_form 1826:17361 — Pas (Amber 4 plate) → hov: no fill, a 3px Amber 4 stroke inside */
  .page .is-t .tb-btn--fill:not(:disabled):not([aria-disabled="true"]):hover,
  .page .is-t .tb-btn:not(.tb-btn--line):not(.tb-btn--fill):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: var(--action-fill-hover);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }

  /* Button_form, outlined instance (stroke drawn as an inset shadow) → Amber 4 */
  .page .is-t .tb-btn--line:not(:disabled):not([aria-disabled="true"]):hover {
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }

  /* Arrow_graphic_button_m 1826:17405 — Pas 1826:17410 (Amber 4 disc) → Hov 1826:17417: no fill, a 3px Rich Black 1 ring, the chevron unchanged */
  .page .is-t .tb-landing-full-5__arrow:not(:disabled):not([aria-disabled="true"]):hover {
    background-color: transparent;
    box-shadow: inset 0 0 0 3px var(--rich-black-1);
  }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  /* The same drawings as the pressed state, on touch and pointer alike. */
  .page .is-t .tb-btn--fill:not(:disabled):not([aria-disabled="true"]):active,
  .page .is-t .tb-btn:not(.tb-btn--line):not(.tb-btn--fill):not(:disabled):not([aria-disabled="true"]):active {
    background-color: var(--action-fill-hover);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }
  .page .is-t .tb-btn--line:not(:disabled):not([aria-disabled="true"]):active {
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }
  .page .is-t .tb-landing-full-5__arrow:not(:disabled):not([aria-disabled="true"]):active {
    background-color: transparent;
    box-shadow: inset 0 0 0 3px var(--rich-black-1);
  }
}

/* ===== ghostwriting/main/t1.css.css ===== */
/* ==========================================================================
   Tablet Section 1 — Figma 1826:21580. Hero, counters, trust line.
   Also home of the two patterns every Main_t section repeats, so they are
   written once: the Group 110 lockup and Button_form. They are scoped to
   the tablet query like everything else here.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  /* --- Shared: Group 110 lockup -----------------------------------------
     The Comforter word and the Heading line share one cell; the heading
     opens 27 under the script's cap (mt 27 in every Group 110 on Main_t),
     and the script is drawn on top. Centred unless the block says left. */
  .tb-main__lockup {
    display: grid;
    text-align: center;
  }
  .tb-main__lockup > * { grid-area: 1 / 1; }
  .tb-main__script {
    position: relative;
    z-index: 1;
    pointer-events: none;
  }
  .tb-main__title { margin-top: 27px; }
  .tb-main__lockup--left { text-align: left; }
  .tb-main__script--light { color: var(--content-on-inverse); }

  /* --- Shared: Button_form ----------------------------------------------
     61 tall (25 of padding round an 11-tall trimmed label), full width of
     its column. Fill: Amber 4. Line: 3px Rich black 1 stroke drawn inside. */
  .tb-main__btn {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 61px;
    padding: var(--t-gap);
    border: 0;
    text-align: center;
    color: var(--content-primary);
    cursor: pointer;
  }
  .tb-main__btn > span { display: block; }
  .tb-main__btn--fill { background: var(--action-fill); color: var(--content-on-accent); }
  .tb-main__btn--line {
    background: none;
    box-shadow: inset 0 0 0 3px var(--border-strong);
  }

  /* --- Section 1 ---------------------------------------------------------- */

  /* Group 90: 633 × 449.6, right edge of the working area, top-left radius
     150. Below 683 of working area it takes the whole width and keeps the
     macket's ratio. */
  .tb-main-1__video {
    position: relative;
    width: min(633px, 100%);
    margin-left: auto;
    aspect-ratio: 16 / 9;   /* 2026-10-27, client: the plate takes the video's own shape, as on desktop; was 633 / 449.57 */
    border-top-left-radius: 150px;
    overflow: hidden;
  }
  .tb-main-1__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Group 87, 89.9 × 89.9, centred on the plate. */
  .tb-main-1__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  /* 2026-10-27: one inline SVG (Group 122, 1796:13270, as the desktop) in
     place of the ring and arrow PNGs; the arrow PNG was stretched and
     nudged 6 px, so it sat off centre. Colours from tokens. */
  .tb-main-1__play-icon  { display: block; width: 90px; height: 90px; }
  .tb-main-1__play-ring  { fill: var(--editorial-white-4); }
  .tb-main-1__play-arrow { fill: var(--rich-black-1); }

  /* 2026-11-02, founders: our own <video> (s2.js) fills the plate, so the
     plate's radius clips it. The pause and sound discs (s2.css) are 40 here,
     with the 44 touch area of .t-tap, 15 in from the plate's corner. */
  .tb-main-1__media { background: var(--rich-black-1); }
  .tb-main-1__video {
    --video-btn: 40px;
    --video-inset: 15px;
    --video-gap: 10px;
  }

  /* Group 110, 50 under the plate, flush left. */
  .tb-main-1__head {
    margin-top: var(--t-gap-block);
    text-align: left;
  }

  /* Frame 624, 50 lower: 450 | 449, the right column opened by Line 55
     (2px Rich black 1, the full 197 height of the row). */
  .tb-main-1__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--t-gap);
    margin-top: var(--t-gap-block);
  }
  .tb-main-1__lead,
  .tb-main-1__aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--t-gap);
  }
  .tb-main-1__aside {
    border-left: 2px solid var(--border-strong);
    padding-left: 23px;   /* 25 from the line's centre */
  }

  /* Frame 241 + the wide card: 2 × 2 at 15, then one full row 15 lower.
     Each Main_S3_Card is 111 tall: number and label 25 apart, centred. */
  .tb-main-1__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--t-gap-mid);
    margin-top: var(--t-gap-big);
  }
  .tb-main-1__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--t-gap);
    min-height: 111px;
    padding: 0 var(--t-gap);   /* 111 holds 72 of content centred */
    background: var(--surface-brand);
    color: var(--content-on-brand);
    text-align: center;
  }
  .tb-main-1__stat--wide { grid-column: 1 / -1; }

  /* TrustLine: full window, 50 under the counters. */
  .tb-main-1__trust {
    margin-top: var(--t-gap-block);
    padding: var(--t-gap) var(--t-margin);
    background: var(--surface-accent);
  }
  .tb-main-1__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--t-gap) 85px;
    max-width: var(--t-content);
    margin-inline: auto;
  }
  .tb-main-1__logo {
    width: var(--w);
    height: 54px;
  }
  .tb-main-1__logo a,
  .tb-main-1__logo > span { display: block; }
  .tb-main-1__logo img {
    width: var(--w);
    height: auto;
    margin-top: var(--dy);
  }

}

/* === Tablet hover / press — hand-off §9.1 (added 2026-10-15) ===
   Replaces CONTRACT_TABLET §6 "no hover states": the tablet hand-off of
   13 Oct 2026, §9.1, gives every Components_Tablet set (1826:17360) that has
   a Hov variant its hover — only where the device has a real pointer — and
   uses the same drawing as the pressed state on touch: shown while the
   finger is down (:active), gone on release, never sticky; nothing is
   reachable only by hover. Disabled and aria-disabled controls take
   neither. Written once per page (this file is in every bundle of the
   page); the selectors carry `.page .is-t` so a block's own later rule
   cannot outweigh them. Sets with a Hov variant that are not here:
   Logo_header (tablet header, css/t-header.css — not this layer of
   files) and any set this page does not use. */
@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  /* Button_form 1826:17361 — Pas (Amber 4 plate) → hov: no fill, a 3px Amber 4 stroke inside */
  .page .is-t .tb-main__btn--fill:not(:disabled):not([aria-disabled="true"]):hover {
    background-color: var(--action-fill-hover);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }

  /* Button_form, outlined instance (stroke drawn as an inset shadow) → Amber 4 */
  .page .is-t .tb-main__btn--line:not(:disabled):not([aria-disabled="true"]):hover {
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }

  /* Arrow_graphic_button_m 1826:17405 — Pas 1826:17410 (Amber 4 disc) → Hov 1826:17417: no fill, a 3px Rich Black 1 ring, the chevron unchanged */
  .page .is-t .tb-main-9__arrow:not(:disabled):not([aria-disabled="true"]):hover {
    background-color: transparent;
    box-shadow: inset 0 0 0 3px var(--rich-black-1);
  }

  /* Icons_m 1826:17366 — Pas Rich Black 1 → Hov Amber 4. The icons are PNG
     files, so the drawing is moved out of its own box (object-position) and
     the box is painted Amber 4 through the icon's own shape (mask). */
  .page .is-t a:hover > img[src$="icon-instagram.svg"],
  .page .is-t a:hover > img[src$="icon-linkedin.svg"],
  .page .is-t a:hover > img[src$="icon-youtube.svg"] {
    object-position: 0 -9999px;
    background-color: var(--amber-4);
    -webkit-mask: no-repeat center / 100% 100%;
    mask: no-repeat center / 100% 100%;
  }
  .page .is-t a:hover > img[src$="icon-instagram.svg"] { -webkit-mask-image: url("/assets/icon-instagram.svg?v=ba19c3a4"); mask-image: url("/assets/icon-instagram.svg?v=ba19c3a4"); }
  .page .is-t a:hover > img[src$="icon-linkedin.svg"] { -webkit-mask-image: url("/assets/icon-linkedin.svg?v=6f2a7162"); mask-image: url("/assets/icon-linkedin.svg?v=6f2a7162"); }
  .page .is-t a:hover > img[src$="icon-youtube.svg"] { -webkit-mask-image: url("/assets/icon-youtube.svg?v=7b69b5e3"); mask-image: url("/assets/icon-youtube.svg?v=7b69b5e3"); }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  /* The same drawings as the pressed state, on touch and pointer alike. */
  .page .is-t .tb-main__btn--fill:not(:disabled):not([aria-disabled="true"]):active {
    background-color: var(--action-fill-hover);
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }
  .page .is-t .tb-main__btn--line:not(:disabled):not([aria-disabled="true"]):active {
    box-shadow: inset 0 0 0 3px var(--action-border-hover);
  }
  .page .is-t .tb-main-9__arrow:not(:disabled):not([aria-disabled="true"]):active {
    background-color: transparent;
    box-shadow: inset 0 0 0 3px var(--rich-black-1);
  }
  .page .is-t a:active > img[src$="icon-instagram.svg"],
  .page .is-t a:active > img[src$="icon-linkedin.svg"],
  .page .is-t a:active > img[src$="icon-youtube.svg"] {
    object-position: 0 -9999px;
    background-color: var(--amber-4);
    -webkit-mask: no-repeat center / 100% 100%;
    mask: no-repeat center / 100% 100%;
  }
  .page .is-t a:active > img[src$="icon-instagram.svg"] { -webkit-mask-image: url("/assets/icon-instagram.svg?v=ba19c3a4"); mask-image: url("/assets/icon-instagram.svg?v=ba19c3a4"); }
  .page .is-t a:active > img[src$="icon-linkedin.svg"] { -webkit-mask-image: url("/assets/icon-linkedin.svg?v=6f2a7162"); mask-image: url("/assets/icon-linkedin.svg?v=6f2a7162"); }
  .page .is-t a:active > img[src$="icon-youtube.svg"] { -webkit-mask-image: url("/assets/icon-youtube.svg?v=7b69b5e3"); mask-image: url("/assets/icon-youtube.svg?v=7b69b5e3"); }
}

/* === 2026-10-27, desktop component sets in the tablet home frame ===
   Designer's answer (tablet question 7): hover per hand-off §9.1 — the
   desktop Hov drawing only with a real pointer, the same drawing as the
   pressed state on touch. Main_S3_Card Hov 27:2202: the counter tile on
   Amber 4. TrustLine Hov (260:691 …): the mark in Editorial White 4, painted
   through the PNG's own shape. Same rules as sections/business/t1.css. */
@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  .page .is-t .tb-main-1__stat:hover { background: var(--amber-4); }
  .page .is-t .tb-main-1__logo:hover img {
    object-position: 0 -9999px;
    background-color: var(--editorial-white-4);
    -webkit-mask: no-repeat 0 0 / 100% 100%;
            mask: no-repeat 0 0 / 100% 100%;
  }
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-forbes.svg"] { -webkit-mask-image: url("/assets/s2-logo-forbes.svg?v=c22ce1ee"); mask-image: url("/assets/s2-logo-forbes.svg?v=c22ce1ee"); }
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-ingramspark.png"] { -webkit-mask-image: url("/assets/s2-logo-ingramspark.png?v=70ed1f58"); mask-image: url("/assets/s2-logo-ingramspark.png?v=70ed1f58"); }
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-new-york-times.svg"] { -webkit-mask-image: url("/assets/s2-logo-new-york-times.svg?v=f94105cf"); mask-image: url("/assets/s2-logo-new-york-times.svg?v=f94105cf"); }
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-barnes-and-noble.svg"] { -webkit-mask-image: url("/assets/s2-logo-barnes-and-noble.svg?v=e3d816ce"); mask-image: url("/assets/s2-logo-barnes-and-noble.svg?v=e3d816ce"); }
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-bbc.svg"] { -webkit-mask-image: url("/assets/s2-logo-bbc.svg?v=9bf20b52"); mask-image: url("/assets/s2-logo-bbc.svg?v=9bf20b52"); }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  .page .is-t .tb-main-1__stat:active { background: var(--amber-4); }
  .page .is-t .tb-main-1__logo:active img {
    object-position: 0 -9999px;
    background-color: var(--editorial-white-4);
    -webkit-mask: no-repeat 0 0 / 100% 100%;
            mask: no-repeat 0 0 / 100% 100%;
  }
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-forbes.svg"] { -webkit-mask-image: url("/assets/s2-logo-forbes.svg?v=c22ce1ee"); mask-image: url("/assets/s2-logo-forbes.svg?v=c22ce1ee"); }
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-ingramspark.png"] { -webkit-mask-image: url("/assets/s2-logo-ingramspark.png?v=70ed1f58"); mask-image: url("/assets/s2-logo-ingramspark.png?v=70ed1f58"); }
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-new-york-times.svg"] { -webkit-mask-image: url("/assets/s2-logo-new-york-times.svg?v=f94105cf"); mask-image: url("/assets/s2-logo-new-york-times.svg?v=f94105cf"); }
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-barnes-and-noble.svg"] { -webkit-mask-image: url("/assets/s2-logo-barnes-and-noble.svg?v=e3d816ce"); mask-image: url("/assets/s2-logo-barnes-and-noble.svg?v=e3d816ce"); }
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-bbc.svg"] { -webkit-mask-image: url("/assets/s2-logo-bbc.svg?v=9bf20b52"); mask-image: url("/assets/s2-logo-bbc.svg?v=9bf20b52"); }
}

/* 2026-10-27: the two new press marks take the same hover / press as the others. */
@media (min-width: 768px) and (max-width: 1279.98px) and (hover: hover) and (pointer: fine) {
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-elearning-industry.png"] { -webkit-mask-image: url("/assets/s2-logo-elearning-industry.png?v=8b67b256"); mask-image: url("/assets/s2-logo-elearning-industry.png?v=8b67b256"); }
  .page .is-t .tb-main-1__logo:hover img[src$="s2-logo-lten.png"] { -webkit-mask-image: url("/assets/s2-logo-lten.png?v=a3bb2fac"); mask-image: url("/assets/s2-logo-lten.png?v=a3bb2fac"); }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-elearning-industry.png"] { -webkit-mask-image: url("/assets/s2-logo-elearning-industry.png?v=8b67b256"); mask-image: url("/assets/s2-logo-elearning-industry.png?v=8b67b256"); }
  .page .is-t .tb-main-1__logo:active img[src$="s2-logo-lten.png"] { -webkit-mask-image: url("/assets/s2-logo-lten.png?v=a3bb2fac"); mask-image: url("/assets/s2-logo-lten.png?v=a3bb2fac"); }
}

/* 2026-10-27, client: the press band is a marquee (see t1.js). Gaps become
   each mark's right margin so both halves are the same width; stops under
   the pointer; still with reduced motion. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .page .is-t .tb-main-1__trust { overflow: hidden; }
  .page .is-t .tb-main-1__logos.is-marquee {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    margin-inline: 0;
    gap: 0;
    animation: tb-main-1-marquee 80s linear infinite;
  }
  .page .is-t .tb-main-1__logos.is-marquee > li { flex: 0 0 auto; margin-right: 85px; }
  .page .is-t .tb-main-1__trust:hover .tb-main-1__logos.is-marquee { animation-play-state: paused; }
  @keyframes tb-main-1-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (min-width: 768px) and (max-width: 1279.98px) and (prefers-reduced-motion: reduce) {
  .page .is-t .tb-main-1__logos.is-marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .page .is-t .tb-main-1__logos.is-marquee > li[aria-hidden="true"] { display: none; }
}

/* ===== ghostwriting/results/t2.css.css ===== */
/* ==========================================================================
   Author Stories tablet — block 2, the filter and the filtered index.
   Figma: `Frame 758` 1941:14980, `Books` 1940:14852 / 1941:14921 /
   1941:14960, `Quote` 1941:14920 / 1941:14946. Card `Author_case_t`
   (`Book`, 1860:14383).

     filter    `Frame 545` / `Frame 544`: label column 153 (the label plus
               the gap the file leaves before the first button), buttons 25
               apart on both axes, the label centred on its rows; 50 between
               the two groups
     button    `Autors_Filter_Button`: 25 padding, 3 stroke inside the box,
               Base Up Black — 67 tall. Pas is Rich Black 3 stroke; the chosen
               one is the Rich Black 1 plate. No hover state (contract §6). [superseded 2026-10-15: hover/press per hand-off §9.1, see the block at the end of the page's shared stylesheet]
     grid      50 under the filter; 3 x minmax(0, 1fr), 25 / 50 gaps
     card      picture 595:842, then 25, then author (Base Up Black Wide,
               Amber 4), title (Intro Black), note (Base), 25 apart
     quote     Vista Blue 1, 50 padding; two columns 450 / 449 with 25
               between; mark (Label Big Black, Amber 4) 50 above the words
               (Intro, Editorial White 4); names 75 under the taller column,
               Base Up Black Wide, Amber 4. 100 clear of the cards: the grid's
               50 plus 50 of its own.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  /* --- Filter -----------------------------------------------------------
     2026-11-02, client ("the filters are too big"): the Insights chip
     pattern (sections/insights/s1.css `.ins-chip`, bt2.css): 1px Rich
     Black 1 stroke, 13 / 10 padding round a 13 trimmed cap, 8 apart, the
     row label small and inline in its own max-content column. Was a 153
     column with 3px-stroked 25-padded buttons (Frame 545 / 544). */
  .tb-results-2__filters {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: var(--t-gap);
    row-gap: 12px;
    align-items: center;
  }
  .tb-results-2__group { display: contents; }
  .tb-results-2__label { font-size: 12px; white-space: nowrap; align-self: start; margin-top: 14px; }
  .tb-results-2__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .tb-results-2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 10px;
    border: 1px solid var(--rich-black-1);
    background: transparent;
    color: var(--rich-black-1);
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
  }
  .tb-results-2__btn > span { display: block; white-space: nowrap; font-size: 13px; }
  .tb-results-2__btn:hover,
  .tb-results-2__btn:focus-visible { background: var(--rich-black-3); }
  .tb-results-2__btn[aria-pressed="true"],
  .tb-results-2__btn[aria-pressed="true"]:hover {
    background: var(--rich-black-1);
    color: var(--editorial-white-4);
  }
  /* The shared focus ring lays a white plate under the focused element; on
     the chosen button that would wipe out the black. */
  .tb-results-2__btn[aria-pressed="true"]:focus-visible { background: var(--rich-black-1); }

  /* --- Grid ------------------------------------------------------------- */
  .tb-results-2__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--t-gap);
    row-gap: var(--t-gap-block);
    align-items: start;
    margin-top: var(--t-gap-block);   /* 50 under the filter chips */
  }
  /* Reflow: below 900 a third of the working area is narrower than the
     longest title word in Intro Black ("CONVERSATIONS", about 230), and
     type never scales, so the grid drops to two columns there. */
  @media (max-width: 899.98px) {
    .tb-results-2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .tb-results-2__book { min-width: 0; }
  .tb-results-2__book[hidden] { display: none; }

  /* Three of the thirteen books have a case page; there the whole card is
     one link, far past 44 on both axes. */
  .tb-results-2__card {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    color: inherit;
    text-decoration: none;
  }
  .tb-results-2__cover { aspect-ratio: 595 / 842; }
  .tb-results-2__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tb-results-2__info {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    overflow-wrap: break-word;
  }
  .tb-results-2__title,
  .tb-results-2__note { color: var(--rich-black-1); }

  /* --- Quote band ------------------------------------------------------- */
  .tb-results-2__quote {
    grid-column: 1 / -1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-block: var(--t-gap-block);
    padding-block: var(--t-gap-block);
    background: var(--vista-blue-1);
  }
  .tb-results-2__quote[hidden] { display: none; }

  /* Two columns on the working area; each figure spans two rows of a
     subgrid so both names sit on one line 75 under the taller quote. */
  .tb-results-2__quote-row {
    width: min(100% - var(--t-margin) * 2, var(--t-content));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    column-gap: var(--t-gap);
    row-gap: var(--t-gap-big);
  }
  .tb-results-2__quote-col {
    grid-row: span 2;
    display: grid;
    grid-template-rows: subgrid;
    margin: 0;
  }
  .tb-results-2__body {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap-block);
  }
  .tb-results-2__words { margin: 0; }
  .tb-results-2__mark { margin: 0; }
  .tb-results-2__words p { color: var(--editorial-white-4); }

  /* --- Nothing matched --------------------------------------------------
     Figma 1941:17705: Intro Black Wide, Vista Blue 1, centred; the frame
     leaves 300 between the filter and the line and 300 between the line and
     the next block. The grid's own 50 and the next block's 100 are already
     there, so the line carries 250 above and 200 below. */
  .tb-results-2__empty {
    grid-column: 1 / -1;
    display: block;
    padding-top: 250px;
    padding-bottom: 200px;
    color: var(--vista-blue-1);
    text-align: center;
  }
  .tb-results-2__empty[hidden] { display: none; }

  /* The count is announced, not shown — the frame has no counter. */
  .tb-results-2__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

}

/* 2026-10-27: a filter with no books under the other choice is hidden (t2.js). */
.tb-results-2__btn[hidden] { display: none !important; }

/* ===== ghostwriting/main/t3.css.css ===== */
/* ==========================================================================
   Tablet Section 3 — Figma 1843:8964. Why a book is an asset.
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .tb-main-3__lede {
    margin-top: var(--t-gap);
    text-align: center;
  }

  .tb-main-3__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--t-gap);
    margin-top: var(--t-gap-block);
  }
  .tb-main-3__card {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap-mid);
    min-height: 144px;
    padding: var(--t-gap);
    background: var(--surface-brand);
    color: var(--content-on-brand);
  }

  .tb-main-3__close {
    margin-top: var(--t-gap);
    text-align: center;
  }

}

/* ===== ghostwriting/services/t2.css.css ===== */
/* ==========================================================================
   Services tablet, block 2 — Figma "Section 2" 1910:17965, the comparison
   table. Head in the working area; the table runs the full window and its
   rows keep the page margin (50, or the centred working area above 1024)
   as their side padding, so the label column lines up with the page.

   Six columns of 133 at 1024, 25 apart; at 768 they come to 90 and the
   longer values wrap, which the rows absorb (they centre vertically).
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1279.98px) {

  .tb-services-2 {
    --tb-s2-margin: max(var(--t-margin), (100% - var(--t-content)) / 2);
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
  }

  .tb-services-2__head {
    display: flex;
    flex-direction: column;
    gap: var(--t-gap);
    text-align: center;
  }

  /* "Group 110" 1909:16867: "the formats" 27 below the top, "Compare" in
     Comforter painted over it, both centred; 75 tall. */
  .tb-services-2__lockup {
    display: grid;
    justify-items: center;
    min-height: 75px;
    margin: 0;
    font: inherit;
  }
  .tb-services-2__lockup > * { display: block; grid-area: 1 / 1; }
  .tb-services-2__word   { margin-top: 27px; color: var(--content-primary); }
  .tb-services-2__script { color: var(--content-accent); z-index: 1; }

  .tb-services-2__sub { margin: 0; color: var(--content-primary); }

  .tb-services-2__table {
    display: block;
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-brand);
    color: var(--content-primary);
  }
  .tb-services-2__table > thead,
  .tb-services-2__table > tbody { display: block; }

  .tb-services-2__row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: var(--t-gap);
    align-items: center;
    padding: var(--t-gap) var(--tb-s2-margin);
  }
  .tb-services-2__table > tbody > .tb-services-2__row:nth-child(odd) {
    background: var(--rich-black-3);
  }

  .tb-services-2__row > th,
  .tb-services-2__row > td {
    display: block;
    padding: 0;
    font-style: normal;
  }
  .tb-services-2__format,
  .tb-services-2__cell { text-align: center; }
  .tb-services-2__label { text-align: left; }
  /* 2026-10-14: in the header row the format names hang from the top — a
     one-line name (PRIME BOOK, ICON BOOK) sits on the first line of the
     two-line ones, not centred ~9 px lower — to match the header row of
     "Section 2" 1910:17965. */
  .tb-services-2__row--head { align-items: start; }

  /* The ticks are Mulish ExtraBlack 25 — "Intro Black" — in the file. */
  .tb-services-2__cell--mark { line-height: normal; }

  .tb-services-2__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ===== ghostwriting/call/t1.css.css ===== */
/* Call booking, tablet layer (768–1279.98): the card spans the working area, lines 1 to 4. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  main > .k-call--t { padding: 0 var(--layout-margin, 50px); }
  main > .k-call--t .avl { max-width: none; }
}

/* ===== ghostwriting/ghostwriting/t-page.css.css ===== */
/* Ghostwriting landing — tablet layer (768–1279.98): what the borrowed tablet blocks do not carry. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  /* The book wall under the button (no site counterpart, see page.css): 560 wide at most, centred, 25 on every
     side inside the plate. */
  .gw-wall--t {
    --gw-wall-gap: 10px;
    --gw-wall-colgap: 25px;
    --gw-cover: calc((100% - 3 * 25px) / 4);
    max-width: 560px;
    margin: var(--t-gap-block) auto 0;
    padding: 25px;
  }
  .gw-wall--t .gw-wall__plate { inset: 0; }
  /* The rule and the button 25 under the copy, as t1 spaces its row from the rule. */
  .tb-landing-full-1 .gw-t-copy + .tb-landing-full-1__rule { margin-top: var(--t-gap); }
  .tb-landing-full-1 .gw-t-note,
  .tb-landing-full-1 .gw-t-proof { margin-top: var(--t-gap); color: var(--content-primary); }
  .tb-landing-full-1 .gw-t-proof { padding-top: var(--t-gap); border-top: 3px solid var(--border-strong); }

  /* Books: the carousel (page.css), three Results tablet cards a page. */
  .gw-books-t .gw-roller { --gw-per: 3; --gw-gap: var(--t-gap); margin-top: var(--t-gap-block); }
  .gw-books-t .gw-roller__pager { margin-top: var(--t-gap-block); }

  /* The Services tablet table with three and with seven columns (t2.css has six). */
  .gw-vs-t .tb-services-2__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr); }
  .gw-vs-t .tb-services-2__format, .gw-vs-t .tb-services-2__cell { text-align: left; }
  .gw-prices-t .tb-services-2__row { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--t-gap-mid); align-items: start; }
  .gw-prices-t > .container:last-child { margin-top: var(--t-gap); }

  /* Under the team. */
  .gw-tail-t .container > :first-child { text-align: center; }


  /* Booking: the widget across the working area (call/t1.css), the note 25 under it. */
  .gw-book-t .gw-book__note { text-align: center; }
}

/* «Will it sound like you?» (2026-11-11, see page.css): the script word on its own line,
   descriptions on one line across the row (subgrid), equal cards. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .gw-voice-t .tb-main-3__cards { grid-template-rows: auto auto; }
  .gw-voice-t .tb-main-3__card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: var(--t-gap-mid);
  }
}
@media (min-width: 768px) and (max-width: 1279.98px) {
  .gw-fit-t .tb-main-3__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Prices at portrait tablet (768–1023): cards, 2 a row to 899, 3 from 900 (owner, 2026-11-11). The phone
   card's content and look (services/m2.html: Rich Black 3 plate, 25 padding, name over label | value rows
   with a hairline between), equal heights in a row. From 1024 the table, as before. No site counterpart at
   this width: built from the tokens and the phone card's measures. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .gw-tcards { display: none; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .gw-prices-t .tb-services-2__table { display: none; }
  .gw-tcards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--t-gap);
    width: min(100% - 2 * var(--t-margin), var(--t-content));
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  .gw-tcard { display: flex; flex-direction: column; gap: var(--t-gap); padding: var(--t-gap); background: var(--rich-black-3); color: var(--content-primary); }
  .gw-tcard__name { margin: 0; font: inherit; }
  .gw-tcard__rows { margin: 0; }
  .gw-tcard__row { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: var(--t-gap-mid); padding: var(--t-gap-mid) 0; border-top: var(--line-width) solid var(--rich-black-1); }
  .gw-tcard__row dd { margin: 0; text-align: right; }
  .gw-tcard .tb-services-2__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1023.98px) {
  .gw-tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .gw-prices-t .tb-services-2__table .gw-nw { white-space: normal; }
}
/* The blue booking block (see page.css): the band of the home page's tablet FAQ (main/t11.css). */
@media (min-width: 768px) and (max-width: 1279.98px) {
  main > .k-call--t.gw-blue { background: var(--surface-brand); padding-block: var(--t-gap-block); }
  .gw-blue .tb-services-2__script { color: var(--editorial-white-4); }
}
/* «Book / a free call», both booking blocks (2026-11-11, «Так, підніми»): the script above the heading. */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .gw-book-t .tb-services-2__word { margin-top: 92px; }
  .gw-book-t .tb-services-2__script { align-self: start; }
}
/* Every lockup: the script word above its heading (see page.css). */
@media (min-width: 768px) and (max-width: 1279.98px) {
  .tb-main__lockup,
  .gw-books-t .tb-services-2__lockup, .gw-vs-t .tb-services-2__lockup, .gw-prices-t .tb-services-2__lockup {
    display: flex; flex-direction: column; align-items: center; gap: var(--gw-lock-gap, 16px);
  }
  .tb-main__lockup--left { align-items: flex-start; }
  .gw-prices-t .tb-services-2__lockup { --gw-lock-gap: 22px; }
  .tb-main-11 .tb-main__lockup { --gw-lock-gap: 31px; }
  .tb-main__title,
  .gw-books-t .tb-services-2__word, .gw-vs-t .tb-services-2__word, .gw-prices-t .tb-services-2__word { margin-top: 0; }
}

/* ===== m-base.css ===== */
/* ==========================================================================
   Mobile foundation — Figma page "Mobile", hand-off document v1.0.
   Load AFTER every desktop stylesheet. See CONTRACT_MOBILE.md.

   The whole file is one media query. Below 768 this layer overrides the
   desktop layer; at 768 and up not a single rule here applies, so the
   desktop layout is untouched byte for byte.

   Why an overlay rather than two wrapped halves: the desktop CSS is live and
   already verified. Wrapping it would rewrite every one of its rules to prove
   a layout that is not changing. This way the desktop bytes stay as they are
   and the mobile layer states only its differences.
   ========================================================================== */

@media (max-width: 767.98px) {

  /* --- 3.1 Grid ---------------------------------------------------------
     402 reference · 6 columns · Stretch · margin 25 · gutter 25
     Working area 352. Column 37.83 is derived and written nowhere.        */
  :root {
    --m-reference: 402px;
    --m-margin:    25px;
    --m-gutter:    25px;
    --m-content:   352px;   /* at the reference width                      */
    --m-max:       430px;   /* the column stops growing here (3.2)         */

    /* 4. Three gaps carry 94 % of 3 010 Auto Layout nodes. */
    --m-gap-tight: 10px;
    --m-gap-mid:   15px;
    --m-gap:       25px;
    --m-gap-block: 50px;
    --m-gap-big:   75px;

    /* 9.1 Header: logo at y 59, rule at y 89 in the macket, whose top 44 is the
       phone's status bar. 2026-11-04, client (phone review): «прибрати відступ на хедері на всіх
       сторінках» — on a real phone the browser bar is already above the page,
       so the band is gone: the bar is 50, burger at 5, logo at 17. */
    --m-header-h:  50px;

    /* 5.2 Touch targets grow from the centre toward this. */
    --m-tap:       44px;
  }

  /* --- 3.2 Reflow -------------------------------------------------------
     The desktop floor is 1200 and it is what puts a horizontal scrollbar on
     a phone. Below the breakpoint there is no floor: the page is as wide as
     the window and never wider.                                           */
  body {
    min-width: 0;
    overflow-x: clip;
  }

  /* Working area. Below 430 it stretches with the window and the 25 margins
     hold; above 430 it stops at 380 and centres, and the window fills with
     the page ground. Nothing scales — sizes and spacing are the macket's.  */
  .container {
    width: min(100% - var(--m-margin) * 2, calc(var(--m-max) - var(--m-margin) * 2));
    margin-inline: auto;
  }

  /* 6 columns, not 12. A block that asked for the desktop grid gets the
     mobile one without having to know which layer it is in.               */
  .grid12 {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--m-gutter);
  }

  /* --- Intent tags ------------------------------------------------------
     `flow` on mobile is a single column: two 430-basis children side by side
     cannot fit 352. Bleed keeps its meaning — the full window, which above
     430 is wider than the column.                                          */
  .is-flow { display: block; }
  .is-flow > * + * { margin-top: var(--m-gap); }

  .is-bleed-left,
  .is-bleed-right,
  .is-bleed-both,
  .m-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
  }

  /* --- 3.1 Background lines ---------------------------------------------
     Unlike desktop, where the line layer spans the page, `BackgroundLines`
     on mobile is 352 wide and starts below the header — it lives inside the
     working area. The desktop layer's seven lines at 12.5 % of the window
     are wrong here and are switched off; each screen draws its own set
     inside its own container.                                              */
  .page > .gridlines { display: none; }

  /* --- 5.6 Touch targets ------------------------------------------------
     The area grows from the centre of the element toward 44 on each axis,
     independently, and never moves or resizes what is drawn. Where a
     neighbour is closer than 44, the block sets --tap-h (or --tap-w) to
     twice the half-gap for EVERY item in that row, so the row is even under
     the thumb (5.3).

     ::after and not padding: padding would move the element.               */
  .m-tap { position: relative; }
  .m-tap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width:  max(100%, var(--tap-w, var(--m-tap)));
    height: max(100%, var(--tap-h, var(--m-tap)));
  }

  /* An indicator is not a target: carousel dots and arrows show that more
     exists, they do not move anything (5.7).                               */
  .m-indicator { pointer-events: none; }

  /* --- 7 Type -----------------------------------------------------------
     Eleven of the twelve mobile styles are the desktop values unchanged —
     the 15 and 25 sizes are the same file-wide. Only the Comforter accent
     differs, and it differs by half: 50 on mobile against 100 on desktop.
     The styles are named "… Mobile" in Figma for exactly this reason.      */
  .t-heading-accent,
  .t-heading-accent-small { font-size: 50px; }

  /* 7.2 The one style with no desktop counterpart: the numeral on the error
     page. 500 is the size, not a typo.                                     */
  .t-404 {
    font-family: "Comforter", cursive;
    font-weight: 400;
    font-size: 500px;
    letter-spacing: 0.05em;
  }

  /* --- 3.2 Long pages ---------------------------------------------------
     Screens run to 14 382. Smooth anchor scrolling has to clear the pinned
     header or the target lands underneath it.                              */
  :target { scroll-margin-top: calc(var(--m-header-h) + var(--m-gap)); }

  /* --- 12 Form fields in focus (2026-10-27) -----------------------------
     Mobile review 20 Oct, items 6 and 9: on every page a field in focus
     keeps the Editorial White 4 ground of the page — never #FFFFFF — and
     shows one 3 px Amber 4 stroke on its own edge. base.css paints the white
     on every `:focus-visible` below 1280 and puts the ring 2 px off the
     edge, which over a coloured form plate reads as a double outline. This
     overrides CONTRACT_MOBILE §12 ("white ground"); the designer's review is
     newer. Block rules that set their own focus state carry the same values. */
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    background-color: var(--editorial-white-4);
    outline: 3px solid var(--border-accent);
    outline-offset: 0;
  }

}

/* ==========================================================================
   Layer switch. A page carries both sets of blocks; each layer hides the
   other's. The mobile blocks are marked `is-m` by the screen that writes
   them; everything else in <main> is the desktop layer.

   The second query is the only rule in this file that applies at 768 and up,
   and it can only hide blocks that a desktop-only build never emits — so the
   desktop layer is still untouched.
   ========================================================================== */
@media (max-width: 767.98px) {
  .page > main > section:not(.is-m) { display: none; }
  .page > main > .is-m + .is-m { margin-top: var(--gap-m, var(--m-gap-big)); }
  .page > main > .is-m:first-child { margin-top: 0; }
}
@media (min-width: 768px) {
  .page > main > .is-m { display: none; }
}

/* --- Pull quote, mobile (2026-10-27, client) -----------------------------
   The founder's quote on the four mobile pages, read as the case pages'
   mobile quote band reads (casem.css .s-cam6__*): the opening mark on its
   own line, Mulish Regular 75 in Amber (the file's measurement, no style
   in the file), the words in Base italic, the attribution under them, all
   centred as every mobile founder block is. Desktop and tablet: base.css. */
@media (max-width: 767.98px) {
  .c-quote.c-quote--m {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--m-gap-mid);
    text-align: center;
  }
  .c-quote--m .c-quote__mark {
    grid-row: auto;
    font-weight: 400;
    font-size: 75px;
    /* Trimmed to the cap, the box is 53 tall but the mark's ink is only its
       top 16 (measured 2026-10-27); without this the words sat 52 under the
       ink instead of 15. The box is cut to the ink (0.22em = 16.5 of 75);
       the empty part of the line overflows invisibly. */
    height: 0.22em;
  }
  .c-quote--m .c-quote__words,
  .c-quote--m .c-quote__by { grid-column: auto; }

  /* 2026-11-04, client (phone review): «Show filters» / «Hide filters» on Results and Insights
     (sections/results/m2, sections/insights/bm1). A chip-like button with a
     chevron; the panel under it opens on tap. */
  .f-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid var(--rich-black-1);
    background: transparent;
    color: var(--rich-black-1);
    cursor: pointer;
  }
  .f-toggle > span { font-size: 13px; }
  /* The chevron is its own span: .m-tap already owns ::after (the 44 touch area). */
  .f-toggle__chev {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--t-base) ease;
  }
  .f-toggle[aria-expanded="true"] .f-toggle__chev { transform: translateY(2px) rotate(-135deg); }
  .f-panel { margin-top: var(--m-gap-mid); }
  .f-panel[hidden] { display: none; }
}

/* ===== m-header.css ===== */
/* ==========================================================================
   Mobile header and menu — Figma `Menu_mob` 1244:11197.
   Inside the mobile media query; nothing here exists at 768 and up.
   ========================================================================== */

@media (max-width: 767.98px) {

  /* The desktop header and its three sub-rows do not appear on a phone: the
     mobile menu is an overlay with its own, flatter list. */
  .page > .site-header { display: none; }

  .m-header[hidden] { display: block; }   /* `hidden` is for the no-CSS case */

  .m-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--m-header-h);            /* 89 — the rule sits on the edge   */
  }
  /* 2026-10-27 · mobile review 20 Oct, items 7 and 8. `base.css` pins
     `.page > *:not(.gridlines):not(.site-header):not(.site-up)` at
     `position: relative` with weight 0,4,0, and the 0,2,0 rules here lost to
     it: the header scrolled away with the page (item 7) and the overlay
     opened in the flow under the burger instead of over the window (item 8).
     The selectors below carry 0,5,0, the same cure the tablet header uses. */
  .page > .m-header.m-header.m-header.m-header.m-header { position: sticky; top: 0; z-index: 10; }
  .page > .m-menu.m-menu.m-menu.m-menu.m-menu          { position: fixed; inset: 0; z-index: 20; }

  /* 8. The one effect in the whole mobile version. */
  .m-header__plate {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--header-plate);
    -webkit-backdrop-filter: blur(var(--header-blur));
    backdrop-filter: blur(var(--header-blur));
  }

  /* Logo at 25,59. Its touch area reaches 44 on the vertical — the room is
     there, and nothing else is near it. */
  .m-header__logo {
    position: absolute;
    z-index: 2;
    left: var(--m-margin);
    top: 17px;                           /* was 59: header without the status-bar band */
    --tap-w: 107px;
  }
  .m-header__logo img { width: auto; height: 15px; }

  /* The button at 332,49 is 70 × 40 in the file: wide enough across, four
     pixels short down. The area takes the full 44 on both axes; the nearest
     other target is the logo, 200 away. */
  .m-header__toggle {
    position: absolute;
    z-index: 2;
    right: var(--m-margin);
    top: 5px;                            /* was 49 */
    width: 45px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  /* Three bars drawn in CSS, as the file draws them — not an exported icon. */
  .m-header__bars,
  .m-header__bars::before,
  .m-header__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--content-primary);
  }
  .m-header__bars { position: relative; }
  .m-header__bars::before,
  .m-header__bars::after { content: ""; position: absolute; left: 0; }
  .m-header__bars::before { top: -6px; }
  .m-header__bars::after  { top:  6px; }

  /* Line 54 at y 89, 352 wide — inside the working area, not edge to edge. */
  .m-header__rule {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(100% - var(--m-margin) * 2, calc(var(--m-max) - var(--m-margin) * 2));
    margin: 0;
    border: 0;
    border-top: var(--line-width) solid var(--line-color);
  }

  /* --- The overlay ------------------------------------------------------
     402 × 830 in the file, anchored under the header. On a real phone it
     takes the window, because a fixed height would leave the page showing
     under it on a tall screen and cut the buttons off on a short one.     */
  .page > .m-header { position: sticky; z-index: 10; }
  .page > .m-menu   { position: fixed;  z-index: 20; }

  .m-menu {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: var(--surface-page);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .m-menu[hidden] { display: none; }

  .m-menu__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-block: 5px var(--m-gap-block);   /* close lands where the burger is (was 49) */
  }

  /* Close at 332,0 · 45 × 40 with a 20 × 20 glyph, then the rule at y 40. */
  .m-menu__head { position: relative; height: 40px; }

  .m-menu__close {
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .m-menu__close span,
  .m-menu__close span::before,
  .m-menu__close span::after { display: block; }
  .m-menu__close span {
    position: relative;
    width: 20px;
    height: 20px;
  }
  .m-menu__close span::before,
  .m-menu__close span::after {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 2px;
    background: var(--content-primary);
  }
  .m-menu__close span::before { transform: rotate(45deg); }
  .m-menu__close span::after  { transform: rotate(-45deg); }

  .m-menu__rule,
  .m-menu__list li + li {
    border: 0;
    border-top: var(--line-width) solid var(--line-color);
  }
  .m-menu__rule { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; }
  /* 2026-10-27 · review 20 Oct, item 8 ("all elements as in the file"):
     Line 55 1244:11210 under the cross is Rich Black 1 in the Act variant;
     only the rules between the items are Rich Black 3. */
  .m-menu__rule { border-top-color: var(--content-primary); }

  /* Nine items on a 41 step: the label sits 15 below its own rule, the row is
     26 tall. 41 between centres is under 44, so by 5.2 every area takes half
     the gap on each side — 41 — and by 5.3 every item in the list takes the
     same one, so the first and last are not larger than the rest. */
  .m-menu__list { margin-top: var(--m-gap); }
  .m-menu__list li { padding-bottom: 15px; }
  /* 15 above the label and 15 below gives a 42 step, not the file's 41: in
     Figma the rule is a zero-height line, in CSS it is a real pixel. The
     padding above absorbs it so the step lands on 41 exactly. */
  .m-menu__list li + li { padding-top: 14px; }
  .m-menu__list a { display: block; --tap-h: 41px; }

  /* The two calls to action and the address, at the foot of the overlay.
     `margin-top: auto` pins them down however tall the window is, which is
     what the file's fixed 646 does on a 830 frame. */
  .m-menu__foot {
    margin-top: auto;
    padding-top: var(--m-gap-big);
    display: grid;
    justify-items: center;
    gap: var(--m-gap-mid);
  }

  .m-menu__foot .m-btn {
    display: grid;
    place-items: center;
    width: 253px;
    max-width: 100%;
    height: 41px;
    text-align: center;
  }
  .m-menu__foot .m-btn--fill {
    background: var(--action-fill);
    color: var(--content-on-accent);
  }
  .m-menu__foot .m-btn--line {
    box-shadow: inset 0 0 0 3px var(--border-strong);
    color: var(--content-primary);
  }

  .m-menu__mail { margin-top: calc(var(--m-gap-block) + 6px); }
  .m-menu__mail a { --tap-h: 44px; }

  /* While the overlay is open the page underneath does not scroll. */
  body.is-m-menu-open { overflow: hidden; }

}

/* The mobile chrome exists in the markup at every width; only the media query
   keeps it off the desktop layer. `hidden` is removed by the script as soon
   as it runs, so without this the header renders twice at 768 and up. */
@media (min-width: 768px) {
  .m-header, .m-menu, .m-footer { display: none !important; }
}

/* ===== m-footer.css ===== */
/* ==========================================================================
   Mobile footer — Figma `Footer_m` 1774:15900, 402 × 449.
   Inside the mobile media query; nothing here exists at 768 and up.
   ========================================================================== */

@media (max-width: 767.98px) {

  .page > .site-footer { display: none; }
  .m-footer[hidden] { display: block; }

  /* The file leaves 75 between the last block and the footer. The desktop
     layer sets its own gap on .site-footer, which is hidden down here, so
     this one has to be stated. */
  .page > .m-footer { margin-top: var(--m-gap-big); }

  .m-footer {
    background: var(--surface-brand);
    color: var(--content-on-brand);
    text-align: center;
  }

  /* The block runs edge to edge; the content keeps the 25 margins. */
  .m-footer__inner { padding-block: var(--m-gap) var(--m-gap-block); }

  .m-footer__logo {
    display: inline-block;
    --tap-h: 44px;
    --tap-w: 107px;
  }
  .m-footer__logo img { width: auto; height: 15px; }

  /* Three groups. The file sets them 10 apart, not 25: `Frame 481` runs
     logo 15 · 10 · group 169 · 10 · group 62 · 10 · group 98 = 374, which
     with the 25 above and 50 below is the footer's 449. The 25 that stood
     here was what made the block 46 too tall on all 37 screens. */
  .m-footer__group { margin-top: var(--m-gap-tight); }
  .m-footer__rule {
    margin: 0 0 var(--m-gap-mid);
    border: 0;
    border-top: var(--line-width) solid var(--content-on-brand);
  }

  /* Two lines, 30 tall in the file: 11 a line on a 19 step. */
  .m-footer__tagline { margin-inline: auto; max-width: 30ch; line-height: 19px; }

  /* Three marks on a 50 step: 50 between centres clears 44, so each area is
     the full 44 × 44 and they still do not touch. */
  .m-footer__social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: var(--m-gap);
  }
  .m-footer__social a { display: block; }

  /* `text-box-trim` only takes effect on a block box: a bare <span> inside a
     grid is still inline, the trim is ignored, and the line keeps its full
     leading. Every trimmed label here is blockified for that reason — the
     same trap that put 202px of drift into the FAQ.
     Figma writes the three address lines on an 18 step from a 49-tall box. */
  .m-footer__office span { display: block; }
  .m-footer__office {
    display: grid;
    gap: 7px;
    margin-top: var(--m-gap);
    font-style: normal;
  }

  /* 5.3 — one row, one size. The step is 36 in the file, so every link in
     both lists takes a 36 band: the rows stay even under the thumb and no
     two areas meet. This is the floor the contract records at §5.4.        */
  .m-footer__reach,
  .m-footer__legal {
    display: grid;
    gap: 25px;
  }
  /* `block`, not `inline-block`: an inline-block still sits in a line box, so
     the <li> keeps the full leading even after the label itself is trimmed and
     the row measures 19 where the file measures 11. */
  .m-footer__reach a,
  .m-footer__legal a {
    display: block;
    --tap-h: 36px;
  }

  .m-footer__legal a { color: var(--content-on-inverse); }

}

/* ===== m-up.css ===== */
/* ==========================================================================
   Mobile "up" control — Figma `Button_form` 41 × 52, drawn at 25,143 on all
   37 screens. Contract §9.2.
   ========================================================================== */

@media (max-width: 767.98px) {

  /* The desktop control is 61 × 72 and sits at the desktop margin; the mobile
     one is its own size at its own place, so the shared element is restyled
     rather than duplicated. */
  .site-up { position: relative; }
  .site-up::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width:  max(100%, var(--tap-w, var(--m-tap)));
    height: max(100%, var(--tap-h, var(--m-tap)));
  }

  .site-up {
    position: fixed;
    left: var(--m-margin);
    bottom: var(--m-margin);
    padding: 0;
    width: 41px;
    height: 52px;

    /* 5.5 — three pixels short across. The room is there: the nearest other
       target is the footer, and on a scrolled page nothing sits beside it. */
    --tap-w: 44px;
    --tap-h: 52px;
  }

  /* The file draws it at y 143, under the header. As a floating control it
     keeps the file's x and moves to the foot of the window, out of the
     reading column — the same decision as on desktop, and for the same
     reason: at 143 it would sit on whatever band is passing under it. */

  .site-up__label { font-size: 15px; }

}

/* ===== ghostwriting/main/m10.css ===== */
/* ==========================================================================
   Mobile Section 10 — Figma 1244:14231. Our team, and how we work.
   ========================================================================== */

@media (max-width: 767.98px) {

  .s-m10__head {
    display: grid;
    text-align: center;
  }
  /* Group 89 / 90: the script and the title share one cell, so the
     lockup is as tall as whichever is taller — the Comforter word, or
     the offset plus the title. That is the file's own rule and it needs
     no measured height. */
  .s-m10__head > * { grid-area: 1 / 1; }
  .s-m10__script {
    z-index: 1;
    pointer-events: none;
  }
  .s-m10__title { margin-top: var(--m-gap-mid); }

  .s-m10__sub {
    margin-top: var(--m-gap-mid);
    text-align: center;
  }

  /* The roller stays inside the working area — the file's pages are 352, the
     width of the column, not of the window. */
  .s-m10__roller { margin-top: var(--m-gap); }

  .s-m10__track {
    display: flex;
    gap: var(--m-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  /* 2026-11-04, client (phone, About): «кубіки з фото різні по розміру».
     The track was 4 px taller inside than out (the trimmed last line of
     text), so a slanted swipe also scrolled it up and cut 4 px off the top
     row. No vertical scroll now; 8 px of room below, given back by the
     margin, so nothing under the track moves. Same fix on About m3, Main
     m7 and m10, landing-full m5 and FAQ m1. */
  .s-m10__track { overflow-y: hidden; padding-bottom: 8px; margin-bottom: -8px; }
  .s-m10__track::-webkit-scrollbar { display: none; }

  .s-m10__page {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  /* Frame 374: 163.5 + 25 + 163.5 = 352, rows on the same 25. */
  .s-m10__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--m-gutter);
  }
  /* The portraits are the desktop layer's 316 × 450 files; the macket crops
     them square and frames the head, so the crop is biased to the top rather
     than centred. */
  .s-m10__person img {
    width: 100%;
    aspect-ratio: 163.5 / 164;
    object-fit: cover;
    object-position: 50% 22%;
  }
  .s-m10__name { margin-top: var(--m-gap-mid); }
  .s-m10__role { margin-top: var(--m-gap-mid); }

  .s-m10__dots {
    display: flex;
    justify-content: center;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap-mid);
  }
  .s-m10__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rich-black-3);
  }
  .s-m10__dots span.is-on { background: var(--content-primary); }

  .s-m10__lede  { margin-top: var(--m-gap-block); }
  .s-m10__label {
    margin-top: var(--m-gap-block);
    text-align: center;
  }

  /* Frame 363 / 377 / 378 / 379 — the file equalises the four cards on the
     tallest. `1fr` rows do the same from the content, so a longer line still
     grows the row instead of being cut. */
  .s-m10__how {
    display: grid;
    gap: var(--m-gap-mid);
    grid-auto-rows: 1fr;
    margin-top: var(--m-gap);
  }
  .s-m10__how-card {
    display: grid;
    align-content: start;
    gap: var(--m-gap-mid);
    padding: var(--m-gap);
    /* 2026-10-27 · mobile review 20 Oct, item 5: the cards are Rich Black 3,
       not the Vista Blue 1 brand surface. */
    background: var(--rich-black-3);
    color: var(--content-primary);
  }

  /* 2026-11-04, client (phone review): the quote over the portrait, on tap (m10.js). */
  .s-m10__photo {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .s-m10__quote {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--m-gap-mid);
    /* 2026-11-04, client (phone review): «при тапі на фото команди все фото заливається жовтим і цитата на весь квадратик» — Main and About alike: the About card's Amber 4 plate and Base type. */
    background: var(--surface-accent);
    color: var(--content-on-accent);
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    transition: opacity var(--t-base) ease;
    pointer-events: none;
  }
  .s-m10__photo[aria-expanded="true"] .s-m10__quote { opacity: 1; }
}

/* ===== ghostwriting/main/m5.css ===== */
/* ==========================================================================
   Mobile Section 5 — Figma 1244:14120. How it works, six steps.
   ========================================================================== */

@media (max-width: 767.98px) {

  .s-m5 {
    position: relative;
    background: var(--surface-brand);
    color: var(--content-on-brand);
    padding-block: var(--m-gap) var(--m-gap-block);
    overflow: hidden;
  }

  /* Ellipse 20 — a full ellipse centred on the block's top left corner,
     radii 244.5 × 279.85. The block clips it, so only the quarter the macket
     shows survives. Drawn, not exported: it is a 1px stroke, not a picture. */
  .s-m5__arc {
    position: absolute;
    left: -244.5px;
    top: -279.85px;
    width: 489px;
    height: 559.7px;
    border: var(--line-width) solid var(--content-on-inverse);
    border-radius: 50%;
    pointer-events: none;
  }

  .s-m5 > .container { position: relative; z-index: 1; }

  .s-m5__head {
    display: grid;
  }
  /* Group 89 / 90: the script and the title share one cell, so the
     lockup is as tall as whichever is taller — the Comforter word, or
     the offset plus the title. That is the file's own rule and it needs
     no measured height. */
  .s-m5__head > * { grid-area: 1 / 1; }
  .s-m5__script {
    z-index: 1;
    color: var(--content-on-inverse);
    pointer-events: none;
  }
  .s-m5__title { margin-top: var(--m-gap-mid); }

  .s-m5__lede  { margin-top: var(--m-gap-mid); }
  .s-m5__claim { margin-top: var(--m-gap); }

  /* Frame 280…285 — 352 × 125 on Editorial white, 25 of padding, 15 between. */
  .s-m5__steps {
    display: grid;
    gap: var(--m-gap-mid);
    grid-auto-rows: 1fr;
    margin-top: var(--m-gap);
  }
  .s-m5__step {
    display: grid;
    align-content: start;
    gap: var(--m-gap-mid);
    padding: var(--m-gap);
    background: var(--surface-page);
    color: var(--content-primary);
  }

  /* Frame 278: the numeral is 18 wide and the name opens at 33 — a 15 gap. */
  .s-m5__row {
    display: flex;
    gap: var(--m-gap-mid);
  }
  .s-m5__num {
    flex: 0 0 18px;
    color: var(--vista-blue-1);
  }

  .s-m5__foot {
    margin-top: var(--m-gap-mid);
    text-align: center;
  }
  .s-m5__cta {
    display: inline-grid;
    place-items: center;
    min-height: 61px;
    padding-inline: var(--m-gap);
    background: var(--action-fill);
    color: var(--content-on-accent);
    text-align: center;
  }

}

/* ===== ghostwriting/main/m6.css ===== */
/* ==========================================================================
   Mobile Section 6 — Figma 1244:14170. Client voices, swipe carousel.
   ========================================================================== */

@media (max-width: 767.98px) {

  .s-m6__head {
    display: grid;
    text-align: center;
  }
  /* Group 89 / 90: the script and the title share one cell, so the
     lockup is as tall as whichever is taller — the Comforter word, or
     the offset plus the title. That is the file's own rule and it needs
     no measured height. */
  .s-m6__head > * { grid-area: 1 / 1; }
  .s-m6__script {
    z-index: 1;
    pointer-events: none;
  }
  .s-m6__title { margin-top: var(--m-gap-mid); }

  /* The row is as wide as the window and stops growing at 430, where the
     page column stops too. The card is 276 in the macket and never wider
     than the working area, so a 320 screen keeps its 25 margins. */
  .s-m6__roller {
    --m6-card: min(276px, calc(100vw - var(--m-margin) * 2));
    margin-top: var(--m-gap);
    width: min(100vw, var(--m-max));
    margin-inline: auto;
  }

  /* Scroll-snap and nothing else: no autoplay, no wrap, no switcher. */
  .s-m6__track {
    display: flex;
    align-items: stretch;
    gap: var(--m-gutter);
    padding-inline: calc((min(100vw, var(--m-max)) - var(--m6-card)) / 2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .s-m6__track::-webkit-scrollbar { display: none; }

  .s-m6__card {
    flex: 0 0 var(--m6-card);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    padding: var(--m-gap);
    background: var(--surface-brand);
    color: var(--content-on-brand);
  }

  /* Rectangle 140, 75 × 75, hard against the card's right edge; the name sits
     on the picture's bottom line. */
  .s-m6__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--m-gap-tight);
    min-height: 75px;
  }
  .s-m6__avatar {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    object-fit: cover;
  }

  .s-m6__role  { margin-top: var(--m-gap); }
  .s-m6__quote { margin-top: var(--m-gap); }

  /* Group 98: three 10px marks on a 25 step, 15 under the row. 5.7 — an
     indicator is not a target and takes no touch area. */
  .s-m6__dots {
    display: flex;
    justify-content: center;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap-mid);
  }
  .s-m6__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rich-black-3);
  }
  .s-m6__dots span.is-on { background: var(--content-primary); }

}

/* ===== ghostwriting/main/m12.css ===== */
/* ==========================================================================
   Mobile Section 12 — Figma 1244:14281. FAQ accordion.
   ========================================================================== */

@media (max-width: 767.98px) {

  .s-m12 {
    background: var(--surface-brand);
    color: var(--content-on-brand);
    padding-block: var(--m-gap);
  }

  .s-m12__head {
    display: grid;
    text-align: center;
  }
  /* Group 89 / 90: the script and the title share one cell, so the
     lockup is as tall as whichever is taller — the Comforter word, or
     the offset plus the title. That is the file's own rule and it needs
     no measured height. */
  .s-m12__head > * { grid-area: 1 / 1; }
  .s-m12__script {
    z-index: 1;
    color: var(--content-on-inverse);
    pointer-events: none;
  }
  .s-m12__title { margin-top: var(--m-gap-mid); }

  .s-m12__list {
    display: grid;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap);
  }
  .s-m12__item {
    background: var(--surface-page);
    color: var(--content-primary);
  }

  /* The row is the whole card: 352 wide, 25 of padding, so the collapsed item
     is 61 — or 80 where the question runs to two lines. Far more than the 44
     the touch rule asks for, and the next row is 15 away. */
  /* The label is blockified: `text-box-trim` trims a block container's first
     and last line, and does nothing on an inline box — an inline label put a
     full 19 line box in a row the file draws 11 tall. */
  .s-m12__q > span { display: block; }

  .s-m12__q {
    display: block;
    width: 100%;
    padding: var(--m-gap);
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
  }

  /* Height driven by the answer, never a fixed value: `0fr` to `1fr` measures
     the content and cannot cut a longer answer off. */
  .s-m12__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--t-base);
  }
  .s-m12__item.is-open .s-m12__panel { grid-template-rows: 1fr; }
  .s-m12__panel-in { overflow: hidden; }

  /* The trigger already carries 25 under the question, so the answer needs
     only its own 25 at the foot. */
  .s-m12__a { padding: 0 var(--m-gap) var(--m-gap); }

  @media (prefers-reduced-motion: reduce) {
    .s-m12__panel { transition: none; }
  }

}

/* ===== ghostwriting/landing-full/m1.css.css ===== */
/* ==========================================================================
   Article landing (full) mobile — block 1, hero.
   Figma: `Article_landing_full_m` 1586:13052 / "Section 1" 1586:13061,
   352 x 772, top 104.

     photo    352 x 355, inside the working area, with a 352 hairline on its
              bottom edge (`Line 55` 1586:13063)
     lockup   25 under the rule
     copy     three lines, 15 apart
     buttons  25 under the copy, 15 apart, the full 352 wide

   This file also carries the vocabulary the screen's six blocks share — the
   heading lockup and the two `Button_form` variants. They are one component
   each in the file, so they are written once here rather than copied into six
   stylesheets.

   The whole file is one media query; nothing here exists at 768 and up.
   ========================================================================== */

@media (max-width: 767.98px) {

  /* ======================================================================
     Shared (lm- : landing mobile; m- is taken by the shared mobile layer)

     The heading lockup — Figma `Group 89` / `Group 90`.
     Comforter 50 and Mulish 25 share one cell and the script is drawn over
     the word. The group is as tall as whichever is taller, which is the
     file's own rule and needs no measured height; the word hangs 15 below
     the top of it. `Group 90` insets the word 6 from the left, which is what
     the 10 % tracking on the last letter takes back — the blocks that use it
     set `--lm-lock-inset`.
     ====================================================================== */
  .lm-lock {
    display: grid;
    font: inherit;
    text-align: center;
  }
  .lm-lock > * { grid-area: 1 / 1; }
  .lm-lock__script {
    z-index: 1;
    pointer-events: none;
  }
  .lm-lock__word {
    margin-top: var(--m-gap-mid);
    margin-left: var(--lm-lock-inset, 0px);
  }
  .lm-lock--left { text-align: left; }

  /* ======================================================================
     Shared: `Button_form`, 61 tall.
     25 of padding + the label's 11 cap height + 25 = 61, so the height comes
     from the label and a two-line label gives 80 by itself. `--fill` is the
     Amber 4 plate, `--line` the 3px Rich Black 1 stroke with no fill; the
     stroke is drawn inset so both measure the same and the label never moves.
     No hover state: touch has none (§9).
     ====================================================================== */
  .lm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--m-gap);
    border: 0;
    background: var(--action-fill);
    color: var(--content-on-accent);
    text-align: center;
    cursor: pointer;
  }
  .lm-btn--line {
    background: none;
    color: var(--content-primary);
    box-shadow: inset 0 0 0 3px var(--border-strong);
  }
  /* The trim belongs on the label, not on the flex box around it — which is
     where the component puts it too: the plate is the frame, the cap height
     sits on the text node inside. A flex item is blockified, so it bites. */
  .lm-btn > span { display: block; }

  /* ======================================================================
     Block 1
     ====================================================================== */

  /* This page carries no desktop blocks, so the hero is `main`'s first child
     and m-base.css sets its margin to 0. The file puts `Sections` at 104
     against a header that occupies 89, so the opening gap is 15. The selector
     carries `.is-m` on purpose: it has to outrank
     `.page > main > .is-m:first-child`. */
  .page > main > .s-lfm1.is-m:first-child { margin-top: var(--m-gap-mid); }

  .s-lfm1 { position: relative; }

  /* --- 3.1 Background lines --------------------------------------------
     `BackgroundLines` 1586:13053: four lines at 0, 33.33, 66.67 and 100 per
     cent of the working area — Figma x 25 · 142.33 · 259.67 · 377 on the 402
     macket — starting under the header and running the length of the screen.
     One layer for the whole page, drawn here and positioned against <main>,
     which base.css has already made the nearest positioned ancestor.       */
  .s-lfm1__lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }
  .s-lfm1__lines > .container { position: relative; height: 100%; }
  .s-lfm1__lines i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--line-width);
    background: var(--line-color);
  }
  .s-lfm1__lines i:nth-child(1) { left: 0; }
  .s-lfm1__lines i:nth-child(2) { left: 33.333%; }
  .s-lfm1__lines i:nth-child(3) { left: 66.667%; }
  .s-lfm1__lines i:nth-child(4) { right: 0; }

  /* The cut-out sits on the page ground; the file gives it no plate. */
  .s-lfm1__figure { aspect-ratio: 352 / 355; }
  .s-lfm1__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* `Line 55` sits on the photograph's bottom edge — no gap. */
  .s-lfm1__rule {
    margin: 0;
    border: 0;
    border-top: var(--line-width) solid var(--rich-black-1);
  }

  .s-lfm1__stamp  { margin-top: var(--m-gap); text-align: center; } /* 2026-11-03: topic · date · reading time */
  .s-lfm1__head   { margin-top: var(--m-gap); }
  .s-lfm1__kicker,
  .s-lfm1__body,
  .s-lfm1__claim  { margin-top: var(--m-gap-mid); text-align: center; }

  .s-lfm1__actions {
    display: grid;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap);
  }

}

/* ===== ghostwriting/results/m3.css.css ===== */
/* ==========================================================================
   Author Stories mobile — block 3, the filtered index.
   Figma: `Books` 1244:14788 / 1244:14806 / 1244:14822 and `Quote`
   1244:14795 / 1244:14811. Card component `Book` 1244:11317, Pas.

     grid      two columns; the macket puts the cards at x 0 and 188 of the
               352 and makes each 164, which is a 3-column span of the
               6-column grid on either side of one 25 gutter
     rows      25 apart; the row is as tall as its taller card, which is why
               the file's row heights differ from group to group
     card      picture, then 15, then the three lines 15 apart
     picture   the 595 x 842 page block of a printed book
     quote     402 wide — the full window — 25 of padding, 75 clear above and
               below, which is the grid's 25 plus 50 of its own

   Type on the card is not the desktop card's: the author's name is Base
   Black here, sentence case, where desktop runs it uppercase and wide.
   ========================================================================== */

@media (max-width: 767.98px) {

  .s-rm3__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--m-gutter);
    row-gap: var(--m-gap);
    align-items: start;
  }

  .s-rm3__book { min-width: 0; }
  .s-rm3__book[hidden] { display: none; }

  /* --- 5.7 One link, one area -------------------------------------------
     Three of the thirteen books have a case page. Where they do, the whole
     card is one <a> and `m-tap` resolves to the card's own bounds, which are
     164 x 367 and over — far past 44 on both axes, so nothing grows and the
     25 and 25 between cards survive untouched. The picture and the three
     lines get no area of their own.                                        */
  .s-rm3__card {
    display: flex;
    flex-direction: column;
    gap: var(--m-gap-mid);
  }

  .s-rm3__cover {
    position: relative;
    aspect-ratio: 595 / 842;
  }
  .s-rm3__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .s-rm3__info {
    display: flex;
    flex-direction: column;
    gap: var(--m-gap-mid);
  }
  .s-rm3__title,
  .s-rm3__note { color: var(--rich-black-1); }

  /* --- The quote band ---------------------------------------------------
     A full-row item of the grid that runs the whole window. 50 of its own
     above and below on top of the grid's 25 makes the 75 the macket shows.
     Inside: 25 of padding, then the mark, the words and the name 50 apart,
     with a hairline 50 under the first block and 50 above the second.      */
  .s-rm3__quote {
    grid-column: 1 / -1;
    margin-block: var(--m-gap-block);
    padding-block: var(--m-gap-block);   /* 2026-11-04, client (phone review): 50, was 25 — the band ended tight under the name */
    background: var(--vista-blue-1);
  }
  .s-rm3__quote[hidden] { display: none; }

  .s-rm3__quote > .container {
    display: flex;
    flex-direction: column;
    gap: var(--m-gap-block);
  }

  .s-rm3__quote-col {
    display: flex;
    flex-direction: column;
    gap: var(--m-gap);   /* mark, words, name 25 apart (was 50: «всередині багато спейсу») */
    margin: 0;
  }

  .s-rm3__quote-rule {
    margin: 0;
    border: 0;
    border-top: var(--line-width) solid var(--border-hairline);
  }

  /* The opening mark is the one text node on this screen bound to no style
     in the file — the twelve mobile styles stop at 50 and the file draws
     this glyph at 75, Mulish Regular, Amber 4. The class carries the family,
     the weight and the colour; the size is the file's measurement and is
     written here, next to the note that says why.                          */
  .s-rm3__mark { font-size: 75px; margin-bottom: -0.45em; }   /* 2026-11-04: the glyph fills only the top of its 75 px line; the words come up under it */

  .s-rm3__words { color: var(--editorial-white-4); }

  /* --- Nothing matched --------------------------------------------------
     Figma 1244:15051 on the wellness / framework & strategy frame: the
     `Books` frame keeps a 150-tall box with the line centred in it, so the
     screen holds its rhythm with no cards in it.                           */
  .s-rm3__empty {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 150px;
    color: var(--vista-blue-1);
    text-align: center;
  }
  .s-rm3__empty[hidden] { display: none; }

  /* The count is announced, not shown — the macket has no counter. */
  .s-rm3__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

}

/* ===== ghostwriting/main/m4.css.css ===== */
/* ==========================================================================
   Mobile Section 4 — Figma 1244:14100. Authority · Clients · Legacy.
   ========================================================================== */

@media (max-width: 767.98px) {

  /* Group 89: script at the block's top left, title 15 lower and under it. */
  .s-m4__head {
    display: grid;
  }
  /* Group 89 / 90: the script and the title share one cell, so the
     lockup is as tall as whichever is taller — the Comforter word, or
     the offset plus the title. That is the file's own rule and it needs
     no measured height. */
  .s-m4__head > * { grid-area: 1 / 1; }
  .s-m4__script {
    z-index: 1;
    pointer-events: none;
  }
  .s-m4__title { margin-top: var(--m-gap-mid); }

  .s-m4__lede { margin-top: var(--m-gap-mid); }

  /* Frame 273 / 274 / 275 — 352 × 125, 25 of padding, 15 between them. */
  .s-m4__cards {
    display: grid;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap);
  }
  .s-m4__card {
    display: grid;
    gap: var(--m-gap-mid);
    padding: var(--m-gap);
    background: var(--surface-brand);
    color: var(--content-on-brand);
  }

  .s-m4__close { margin-top: var(--m-gap); }

}

/* ===== ghostwriting/services/m1.css.css ===== */
/* ==========================================================================
   Services mobile — block 1, hero.
   Figma: `Services_m` 1244:14340 / "Section 1" 1244:14350, 402 x 562.

     photo        402 x 325, full window, at the top of the block
     copy         352 working area, 25 under the photo
     line 1       "FORMATS." with the script "Five" drawn over it; the Mulish
                  word sits 15 down and 6 in from the left of the 352 box
     line 2       15 under line 1, the same lockup aligned right
     lede         15 under line 2, centred

   This file also carries the vocabulary the screen's seven blocks share —
   the heading lockup, the button and the pale plate. They are one component
   each in the file (`Group 89`, `Button_form`, the Rich Black 3 card), so
   they are written once here rather than copied into seven stylesheets.

   The whole file is one media query; nothing here exists at 768 and up.
   ========================================================================== */

@media (max-width: 767.98px) {

  /* ======================================================================
     Shared (sm- : services mobile; m- is taken by the shared mobile layer)
     The heading lockup — Figma `Group 89` / `Group 90`
     Comforter 50 and Mulish 25 share one cell and the script is drawn over
     the word. The group is as tall as the script's cap height, 38; the word
     hangs 15 below the top of it and is inset 6 from the left, which is what
     the 10 % tracking on the last letter takes back.
     ====================================================================== */
  .sm-lockup { display: grid; gap: var(--m-gap-mid); font: inherit; text-align: center; }
  .sm-lockup__line { display: grid; }
  .sm-lockup__line > * { grid-area: 1 / 1; }
  .sm-lockup__word { margin-top: var(--m-gap-mid); margin-left: 6px; }
  .sm-lockup__script { color: var(--content-accent); }
  .sm-lockup--left  { text-align: left; }
  .sm-lockup--right { text-align: right; }

  /* ======================================================================
     Shared: `Button_form`, 61 tall.
     25 of padding + the label's 11 cap height + 25 = 61, so the height comes
     from the label and a two-line label gives the 80 the file draws on card
     four. The width is the label plus its padding, except where the macket
     stretches it across the working area.
     ====================================================================== */
  .sm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--m-gap);
    border: 0;
    background: var(--action-fill);
    color: var(--content-on-accent);
    text-align: center;
    cursor: pointer;
  }
  .sm-btn--full { display: flex; width: 100%; }
  /* The Act variant of the toggle: no fill, a 3px Rich Black 1 stroke. */
  .sm-btn--ghost {
    background: none;
    color: var(--content-primary);
    box-shadow: inset 0 0 0 3px var(--border-strong);
  }

  /* ======================================================================
     Shared: the pale plate — Rich Black 3, 25 of padding all round.
     The carousel card, the open service card, the FAQ row and the three
     start cards are all this one surface.
     ====================================================================== */
  .sm-plate {
    background: var(--rich-black-3);
    color: var(--content-primary);
    padding: var(--m-gap);
  }

  /* ======================================================================
     Block 1
     ====================================================================== */

  /* The block sits 15 under the header rule — Figma y 104 against the 89 the
     header occupies. The number is in the markup, next to the block it
     belongs to; see m1.html for why it is written as `--gap`. */
  .s-m1 { display: flow-root; }

  /* --- 3.1 Background lines --------------------------------------------
     `BackgroundLines` 1244:14341: four lines at 0, 33.33, 66.67 and 100 per
     cent of the working area — Figma x 25 · 142.33 · 259.67 · 377 on the 402
     macket — starting under the header and running the length of the screen.
     The file draws one continuous set, so one layer is drawn here and
     positioned against <main>, which base.css has already made the nearest
     positioned ancestor. z-index -1 keeps it under every plate and word.   */
  .s-m1__lines {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
  }
  .s-m1__lines > .container { position: relative; height: 100%; }
  .s-m1__lines i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--line-width);
    background: var(--line-color);
  }
  .s-m1__lines i:nth-child(1) { left: 0; }
  .s-m1__lines i:nth-child(2) { left: 33.333%; }
  .s-m1__lines i:nth-child(3) { left: 66.667%; }
  .s-m1__lines i:nth-child(4) { right: 0; }

  /* --- The photograph ---------------------------------------------------
     Full window below 430. Above it the window is wider than the design ever
     gets, so the picture stops at the 430 column and centres with the rest of
     the page instead of stretching to a size the macket does not have.      */
  .s-m1__photo {
    width: 100%;
    max-width: var(--m-max);
    margin-inline: auto;
    height: auto;
  }

  .s-m1__copy { margin-top: var(--m-gap); }
  .s-m1__lede { margin-top: var(--m-gap-mid); text-align: center; }

}

/* ===== ghostwriting/services/m2.css.css ===== */
/* ==========================================================================
   Services mobile — block 2, compare the formats.
   Figma: "Section 2" 1244:14366, 352 x 877; carousel `Services_Section_2_m`
   1244:12111, five positions, 352 x 709 (728 on position 2 — one value wraps
   to a second line, which is height from content, not a second size).

     head         lockup + 3-line caption, both centred
     rule         1px Rich Black 1, 15 under the head, the full 352
     carousel     15 under the rule; card 352 wide, 25 of padding
     dots         15 under the card, five 10s on a 25 step, centred
     note         25 under the dots

   Card rows: label 101 and value 201 of the 302 inside the plate, the value
   right-aligned, a hairline 15 under each row and none under the last.
   ========================================================================== */

@media (max-width: 767.98px) {

  .s-m2__sub { margin-top: var(--m-gap-mid); text-align: center; }

  .s-m2__rule {
    margin: var(--m-gap-mid) 0 0;
    border: 0;
    border-top: var(--line-width) solid var(--rich-black-1);
  }

  /* --- 11 The carousel --------------------------------------------------
     Swipe, with scroll-snap doing the landing. No autoplay and no wrap: the
     track simply ends, as the file's five positions do.                    */
  .s-m2__carousel { margin-top: var(--m-gap-mid); }

  .s-m2__track {
    display: flex;
    gap: var(--m-gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .s-m2__track::-webkit-scrollbar { display: none; }
  .s-m2__slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* --- The card ---------------------------------------------------------
     `sm-plate` carries the Rich Black 3 ground and the 25 padding.          */
  .s-m2__name {
    display: flex;
    align-items: baseline;
    gap: var(--m-gap-tight);
    font: inherit;
  }
  .s-m2__format { flex: 1 1 auto; min-width: 0; }
  .s-m2__num {
    flex: 0 0 auto;
    color: var(--vista-blue-1);
  }

  /* 50 between the name and the first row — the one place on this screen the
     rhythm opens wider than 25. */
  .s-m2__rows {
    display: grid;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap-block);
  }

  /* The hairline is drawn rather than bordered so it adds no height: the row
     box stays label + 15, and the 15 grid gap lands the next row exactly
     where the file puts it. */
  .s-m2__row {
    position: relative;
    display: grid;
    grid-template-columns: 101fr 201fr;
    align-items: start;
    padding-bottom: var(--m-gap-mid);
  }
  .s-m2__row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--line-width);
    background: var(--rich-black-1);
  }
  .s-m2__row:last-child { padding-bottom: 0; }
  .s-m2__row:last-child::after { content: none; }

  .s-m2__row dt { min-width: 0; }
  .s-m2__row dd { margin: 0; min-width: 0; text-align: right; }

  .s-m2__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* --- The dots --------------------------------------------------------- */
  .s-m2__dots {
    display: flex;
    justify-content: center;
    gap: var(--m-gap-mid);
    margin-top: var(--m-gap-mid);
  }
  .s-m2__dots i {
    width: var(--m-gap-tight);
    height: var(--m-gap-tight);
    border-radius: 50%;
    background: var(--rich-black-3);
  }
  .s-m2__dots i.is-on { background: var(--rich-black-1); }

  .s-m2__note { margin-top: var(--m-gap); text-align: center; }

}

/* ===== ghostwriting/call/m1.css.css ===== */
/* Call booking, mobile layer (below 768): 16 px gutters; the widget is one column by itself. */
@media (max-width: 767.98px) {
  main > .k-call--m { padding: 0 16px; }
  /* 2026-10-23: the desktop card rule (k1.css, half the frame) also matched here and left the widget 179 px wide on a 390 px phone. */
  main > .k-call--m .avl { max-width: none; }
}

/* ===== ghostwriting/ghostwriting/m-page.css.css ===== */
/* Ghostwriting landing — mobile layer (below 768): what the borrowed mobile blocks do not carry. */
@media (max-width: 767.98px) {
  /* Hero copy: landing-full m1 spaces its lines 15 apart; the H1 is the variant's sentence, not a lockup. */
  .s-lfm1 .gw-m-h1 { margin-top: var(--m-gap-mid); }
  .s-lfm1 .s-lfm1__body,
  .s-lfm1 .s-lfm1__claim,
  .s-lfm1 .gw-m-note,
  .s-lfm1 .gw-m-proof { margin-top: var(--m-gap-mid); color: var(--content-primary); }
  .s-lfm1 .s-lfm1__actions { margin-top: var(--m-gap); }
  .s-lfm1 .s-lfm1__actions .lm-btn { width: 100%; }
  .s-lfm1 .gw-m-proof { padding-top: var(--m-gap-mid); border-top: 2px solid var(--border-strong); }

  /* The book wall under the copy (no site counterpart, see page.css): four covers in the widest row, every row inside the plate, 15 on each side. */
  .gw-wall--m {
    --gw-wall-gap: 8px;
    --gw-cover: calc((100% - 3 * 8px) / 4);
    margin-top: var(--m-gap-block);
    padding: 15px;
  }
  .gw-wall--m .gw-wall__plate { inset: 0; }

  /* Lockups: the script word over the first line of the word, as Services m2. */
  .gw-m-lock .sm-lockup__word { margin-left: 0; }
  /* Books: the carousel (page.css), two Results phone cards a page. */
  .gw-books-m .gw-roller { --gw-per: 2; --gw-gap: var(--m-gutter); margin-top: var(--m-gap); }
  .gw-books-m .gw-roller__pager { margin-top: var(--m-gap); }
  .gw-m-actions { margin-top: var(--m-gap); }
  .gw-m-actions .lm-btn { width: 100%; }

  .gw-tail-m .s-m4__close { margin-top: var(--m-gap-mid); }
  .gw-book-m .gw-book__note { margin-top: var(--m-gap); text-align: center; }
  .gw-book-m .sm-lockup { margin-bottom: var(--m-gap); }
}

/* landing-full m1 centres its lines (stamp, kicker, body, claim): the H1 and the two lines under the button
   follow it. */
@media (max-width: 767.98px) {
  .s-lfm1 .gw-m-h1,
  .s-lfm1 .gw-m-note,
  .s-lfm1 .gw-m-proof { text-align: center; }
}

@media (max-width: 767.98px) {
  .gw-vs-m .s-m2__sub { margin-top: var(--m-gap-mid); text-align: center; }
}
@media (max-width: 767.98px) {
  .gw-prices-m .s-m2__sub { margin-top: var(--m-gap-mid); text-align: center; }
}
@media (max-width: 767.98px) {
  .gw-books-m .gw-m-sub { margin-top: var(--m-gap-mid); text-align: center; }
}
@media (max-width: 767.98px) {
  .gw-book-m .gw-m-sub { margin: 0 0 var(--m-gap); text-align: center; }
}
@media (max-width: 767.98px) {
  .gw-m-lock .sm-lockup__script { align-self: start; }
}
/* The blue booking block (see page.css): the band of the home page's phone FAQ (main/m12.css). */
@media (max-width: 767.98px) {
  main > .k-call--m.gw-blue { background: var(--surface-brand); padding-block: var(--m-gap-block); }
  .gw-blue .sm-lockup__script { color: var(--editorial-white-4); }
}
/* 2026-11-11, Tetiana Lipatova («Так, підніми»): in both booking blocks on the phone the script «Book» sat
   across «a free call». The word drops below the script, so the script reads above the heading. */
@media (max-width: 767.98px) {
  .gw-book-m .gw-m-lock .sm-lockup__word { margin-top: 46px; }
}
/* Every lockup: the script word above its heading (see page.css), phone depths (7 px at 50 px, 10 «Prices»,
   15 «FAQ»), plus 2. */
@media (max-width: 767.98px) {
  .gw-books-m .sm-lockup__line, .gw-vs-m .sm-lockup__line, .gw-prices-m .sm-lockup__line {
    display: flex; flex-direction: column-reverse; align-items: center; gap: var(--gw-lock-gap, 9px);
  }
  .gw-prices-m .sm-lockup__line { --gw-lock-gap: 12px; }
  .gw-books-m .sm-lockup__word, .gw-vs-m .sm-lockup__word, .gw-prices-m .sm-lockup__word { margin-top: 0; }
  .gw-voice-m .s-m4__head, .s-m5__head, .s-m6__head, .s-m12__head { display: flex; flex-direction: column; gap: var(--gw-lock-gap, 9px); }
  .s-m12__head { --gw-lock-gap: 17px; }
  .gw-voice-m .s-m4__title, .s-m5__title, .s-m6__title, .s-m12__title { margin-top: 0; }
}
/* The script word takes its heading's alignment (2026-11-11): these headings are centred, so is the script
   (the shared .gw-m-lock rule pins it to the start for the grid lockups of the booking blocks). */
@media (max-width: 767.98px) {
  .gw-books-m .sm-lockup__script, .gw-vs-m .sm-lockup__script, .gw-prices-m .sm-lockup__script { align-self: center; }
}
