/*
 * PAYA LSF — mobile design (phones + tablets held upright)
 *
 * Loaded only for: (max-width: 920px), (orientation: portrait) and (max-width: 1366px)
 * (media attribute in functions.php), so nothing here can reach the desktop.
 *
 * Page styles are printed inline after this file, so every rule here starts
 * with `html body` to outrank the page rule it replaces: mirror that rule's
 * selector after the prefix (e.g. `.payalsf-home .home-hero h1` →
 * `html body .payalsf-home .home-hero h1`).
 *
 * Scale used throughout (app-like, 414px iPhone as the reference):
 *   title 30 · section title 24 · lead 15 · body 14 · caption 12
 *   side gutter 20 · stack gap 12/16/24 · radius 14/18/24 · tap targets ≥ 44
 */

/* ── Tap feedback ────────────────────────────────────────────────────────────
   The browser's tap highlight is off (Chrome paints it blue, as a sharp
   rectangle, and only over the text of inline links). A light gray wash in the
   control's own shape replaces it: the pp-press script in functions.php. */
html, html body, html body * { -webkit-tap-highlight-color: transparent; }


/* ── Home · hero ───────────────────────────────────────────────────────────
   Full-screen video with a soft dark fade at the bottom, and one stack pinned
   to the bottom like an app's welcome screen: pill → title → lead → stats
   strip → two equal buttons. The desktop's floating glass boxes and hairlines
   are flattened out of the way. */
html body .home-hero {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0;
  padding: 96px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}
html body .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, color-mix(in oklch, var(--home-ink) 78%, transparent) 0%, color-mix(in oklch, var(--home-ink) 45%, transparent) 38%, transparent 70%);
}
/* the two wrappers stop shaping layout; their children join one column */
html body .home-hero .home-hero__notes,
html body .home-hero .home-hero__inner,
html body .home-hero .home-hero__side { display: contents; }
html body .home-hero .home-hero__rule { display: none; }
html body .home-hero .home-hero__frost {
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html body .home-hero .home-hero__badge,
html body .home-hero .home-hero__title,
html body .home-hero .home-hero__lead,
html body .home-hero .home-stats,
html body .home-hero .home-hero__actions { position: relative; z-index: 2; }

html body .home-hero .home-hero__notes .home-hero__badge {
  order: 1;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--home-surface) 16%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  line-height: 1.4;
}
html body .home-hero .home-hero__title { order: 2; }
html body .payalsf-home .home-hero h1 {
  max-width: none;
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  letter-spacing: 0;
}
html body .payalsf-home.is-ltr .home-hero h1 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; }
html body .home-hero .home-hero__lead {
  order: 3;
  max-width: 34ch;
  margin-top: 10px;
  color: color-mix(in oklch, var(--home-surface) 86%, transparent);
  font-size: 15px;
  line-height: 1.75;
}
/* stats: one frosted strip, three equal cells */
html body .home-hero .home-stats.home-hero__note {
  order: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 20px 0 0;
  padding: 12px 4px;
  border: 1px solid color-mix(in oklch, var(--home-surface) 18%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--home-surface) 12%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html body .home-hero .home-stats.home-hero__note .home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
  text-align: center;
}
html body .home-hero .home-stats.home-hero__note .home-stat + .home-stat { border-inline-start: 1px solid color-mix(in oklch, var(--home-surface) 20%, transparent); }
html body .home-hero .home-stats.home-hero__note .home-stat b { font-size: 18px; line-height: 1.2; }
html body .home-hero .home-stats.home-hero__note .home-stat span { color: color-mix(in oklch, var(--home-surface) 78%, transparent); font-size: 11px; line-height: 1.4; }
/* actions: two equal buttons, 48px tall */
html body .home-hero .home-hero__actions {
  order: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 32px; /* a small gap between the text and the buttons */
}
html body .home-hero .home-hero__actions .home-btn {
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 15px;
}
html body .home-hero .home-hero__actions .home-btn--ghost {
  border-color: color-mix(in oklch, var(--home-surface) 35%, transparent);
  background: color-mix(in oklch, var(--home-surface) 12%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ── Home · who we are ─────────────────────────────────────────────────────
   One sheet, no boxes inside boxes. Order: intro → 2×2 figures → quote with
   the three principles as a sideways swipe. Tags become one swipeable row. */
html body .home-scroll-over > .home-about {
  min-height: 0;
  padding: 28px 0 32px;
  border-radius: 24px 24px 0 0;
}
html body .home-about .home-wrap { display: flex; flex-direction: column; gap: 24px; width: auto; margin: 0; padding: 0 20px; }
html body .home-about .home-about__grid { display: contents; }
html body .home-about .home-hero__frost {
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html body .home-about .home-about__intro { order: 1; }
html body .home-about .home-about__method { order: 2; }
html body .home-about .home-about__card { order: 3; }

html body .home-about .home-about__intro .home-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .payalsf-home .home-about h2 { max-width: none; font-size: 24px; line-height: 1.45; }
html body .payalsf-home.is-ltr .home-about h2 { line-height: 1.2; }
html body .home-about .home-about__intro .home-lead { max-width: none; margin-top: 10px; font-size: 14px; line-height: 1.9; }
html body .home-about .home-about__intro .home-about__label { margin-top: 18px; font-size: 12px; }
/* tags: a single row you swipe sideways, edge to edge */
html body .home-about .home-about__tags {
  flex-wrap: nowrap;
  gap: 8px;
  margin: 10px -20px 0;
  padding: 0 20px 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
html body .home-about .home-about__tags::-webkit-scrollbar { display: none; }
html body .home-about .home-about__tags li { flex: none; padding: 7px 12px; font-size: 13px; white-space: nowrap; scroll-snap-align: start; }
html body .home-about .home-about__intro .home-about__link { margin-top: 16px; font-size: 14px; }

/* figures: compact 2×2 tiles */
html body .home-about .home-about__method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
html body .home-about .home-about__method li,
html body .home-about .home-about__method li + li,
html body .home-about .home-about__method li:nth-child(n) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid color-mix(in oklch, var(--home-surface) 22%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--home-ink) 22%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
html body .home-about .home-about__ic { width: 34px; height: 34px; border-radius: 10px; }
html body .home-about .home-about__ic svg { width: 18px; height: 18px; }
html body .payalsf-home .home-about .home-about__fig b { font-size: 22px; }
html body .home-about .home-about__fig small { font-size: 12px; line-height: 1.5; }

/* quote + principles: the quote on its own, principles as small swipe cards */
html body .home-about .home-about__card { display: block; }
html body .home-about .home-about__quote { font-size: 17px; line-height: 1.8; }
html body .payalsf-home.is-ltr .home-about .home-about__quote { line-height: 1.5; }
html body .home-about .home-about__principles {
  display: flex;
  gap: 10px;
  margin: 16px -20px 0;
  padding: 0 20px 4px;
  border-top: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
html body .home-about .home-about__principles::-webkit-scrollbar { display: none; }
html body .home-about .home-about__principles li {
  flex: 0 0 78%;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid color-mix(in oklch, var(--home-surface) 22%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--home-ink) 22%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  scroll-snap-align: start;
}
html body .home-about .home-about__principles h3 { font-size: 15px; }
html body .home-about .home-about__principles p { margin-top: 4px; font-size: 13px; line-height: 1.8; }

/* one-line buttons (English is longer) and swipe rows that start on the gutter */
html body .home-hero .home-hero__actions .home-btn { gap: 6px; white-space: nowrap; }
html body .payalsf-home.is-ltr .home-hero .home-hero__actions .home-btn { font-size: 14px; }
html body .home-hero .home-hero__actions .home-btn svg { width: 14px; height: 14px; flex: none; }
html body .home-about .home-about__tags,
html body .home-about .home-about__principles { scroll-padding-inline: 20px; }

/* ── Header + drawer fixes ───────────────────────────────────────────────── */
/* the base theme paints every button red on hover/focus; keep ours as designed */
html body .payalsf-siteheader .payalsf-siteheader__burger:hover,
html body .payalsf-siteheader .payalsf-siteheader__burger:focus,
html body .payalsf-siteheader .payalsf-siteheader__burger:active {
  border-color: color-mix(in srgb, var(--white) 20%, transparent);
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
}
/* close: a plain back arrow (←, the way the drawer leaves), no circle */
html body .payalsf-siteheader .payalsf-drawer__close,
html body .payalsf-siteheader .payalsf-drawer__close:hover,
html body .payalsf-siteheader .payalsf-drawer__close:focus,
html body .payalsf-siteheader .payalsf-drawer__close:active {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--white);
}
html body .payalsf-siteheader .payalsf-drawer__close svg { width: 22px; height: 22px; stroke-width: 2; }
/* language switch: right under the brand block, above Home (clear of Safari's bottom bar) */
html body .payalsf-siteheader .payalsf-drawer__brand { order: 1; }
html body .payalsf-siteheader .payalsf-drawer__lang { order: 2; margin: 16px 16px 4px; }
html body .payalsf-siteheader .payalsf-drawer__nav { order: 3; padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* ── Home · hero: stay clear of Safari's bottom toolbar (it floats over the page) */
html body .home-hero { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* ── Home · principles: a short list instead of a hidden sideways swipe */
html body .home-about .home-about__principles {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 4px 16px;
  overflow: visible;
  border: 1px solid color-mix(in oklch, var(--home-surface) 22%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--home-ink) 22%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
html body .home-about .home-about__principles li {
  flex: none;
  flex-direction: row;
  gap: 12px;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html body .home-about .home-about__principles li + li { border-top: 1px solid color-mix(in oklch, var(--home-surface) 18%, transparent); }
html body .home-about .home-about__principles .home-about__num { padding-top: 2px; font-size: 12px; }
/* a little darker glass so white text holds over bright photo areas */
html body .home-about .home-about__principles,
html body .home-about .home-about__method li,
html body .home-about .home-about__method li + li,
html body .home-about .home-about__method li:nth-child(n) { background: color-mix(in oklch, var(--home-ink) 34%, transparent); }
/* the page's opaque background starts where the first sheet ends (it can be
   taller than one screen on phones), so the whole sheet stays over the video */
html body .home-scroll-over::before { top: var(--sheet-h, 100svh); }

/* ── Home · who we are, compressed ─────────────────────────────────────────
   Phones only: the quote card is left out (the section's least essential
   part; desktop keeps it), the intro is held to 3 lines (the link under it
   leads to the full story), tags wrap as small chips instead of a sideways
   row that could start part-cut, and the figure tiles put the icon beside
   the number. */
html body .home-about .home-about__card { display: none; }
html body .home-about .home-about__intro .home-lead {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
html body .home-about .home-about__tags {
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  overflow: visible;
}
html body .home-about .home-about__tags li { padding: 5px 10px; font-size: 12px; }
html body .home-about .home-about__intro .home-about__label { margin-top: 14px; }
html body .home-about .home-about__intro .home-about__link { margin-top: 14px; }
html body .home-about .home-wrap { gap: 20px; }
html body .home-about .home-about__method li,
html body .home-about .home-about__method li + li,
html body .home-about .home-about__method li:nth-child(n) {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
}
html body .home-about .home-about__ic { flex: none; width: 32px; height: 32px; }
html body .payalsf-home .home-about .home-about__fig b { font-size: 19px; }
html body .home-about .home-about__fig small { font-size: 11px; line-height: 1.4; }
/* stronger frost on phones: the sheet is shorter than the screen here, so the
   hero's own text sits right behind it and must blur away, not show through */
html body .home-scroll-over > .home-about {
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

/* ── Home · selected work ──────────────────────────────────────────────────
   The desktop stage (background photo swap + ring of thumbs, hover-driven)
   is replaced by a swipeable row of tall photo cards, each a link to its
   project. The next card peeks in and dots show the position, so the swipe
   is obvious. Title and "All projects" sit above the row. */
html body .home-work-sec {
  height: auto;
  padding: 36px 0 32px;
  overflow: visible;
  background: var(--home-ink);
}
html body .home-work-sec .home-work-sec__bgs,
html body .home-work-sec .home-work,
html body .home-work-sec .home-work-sec__details { display: none; }
html body .home-work-sec .home-work-sec__info {
  position: static;
  width: auto;
  padding: 0 20px;
  overflow: visible;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
html body .home-work-sec .home-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .payalsf-home .home-work-sec h2 { color: var(--home-surface); font-size: 24px; line-height: 1.45; }
html body .payalsf-home.is-ltr .home-work-sec h2 { line-height: 1.2; }
html body .home-work-m { display: block; }
html body .home-work-m__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 20px 0;
  color: color-mix(in oklch, var(--home-surface) 85%, transparent);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}
html body .home-work-m__all svg { width: 14px; height: 14px; }
html body .home-work-m__track {
  display: flex;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  list-style: none;
}
html body .home-work-m__track::-webkit-scrollbar { display: none; }
html body .home-work-m__track li { flex: 0 0 74%; scroll-snap-align: start; }
html body .home-work-m__card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: color-mix(in oklch, var(--home-surface) 8%, transparent);
  color: var(--home-surface);
  text-decoration: none;
}
html body .home-work-m__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html body .home-work-m__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklch, var(--home-ink) 88%, transparent) 0%, color-mix(in oklch, var(--home-ink) 30%, transparent) 42%, transparent 65%);
}
html body .home-work-m__body {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
html body .home-work-m__chip {
  margin-bottom: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--home-surface) 20%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
}
html body .home-work-m__body b { font-size: 17px; line-height: 1.4; }
html body .home-work-m__body small { color: color-mix(in oklch, var(--home-surface) 78%, transparent); font-size: 12px; }
html body .home-work-m__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
html body .home-work-m__dots i { width: 6px; height: 6px; border-radius: 999px; background: color-mix(in oklch, var(--home-surface) 30%, transparent); transition: width .25s, background-color .25s; }
html body .home-work-m__dots i.is-on { width: 18px; background: var(--home-surface); }
html body .home-work-m__all svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Home · news & events ──────────────────────────────────────────────────
   Same layout, app sizes: 24px title, a compact event card, tighter rows. */
html body .home-news { padding-block: 36px; }
html body .home-news .home-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .home-news .home-news__head { gap: 8px; margin-bottom: 16px; }
html body .home-news .home-news__head .home-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .payalsf-home .home-news .home-news__head h2 { font-size: 24px; line-height: 1.45; }
html body .payalsf-home.is-ltr .home-news .home-news__head h2 { line-height: 1.2; }
html body .home-news .home-news__all { font-size: 14px; }
html body .home-news .home-news__all svg { width: 14px; height: 14px; }
html body .home-news .home-news__grid { gap: 12px; }
/* event card */
html body .home-news .home-news__lead { gap: 10px; padding: 18px; border-radius: 20px; }
html body .home-news .home-news__live { padding: 3px 10px; font-size: 11px; }
html body .home-news .home-news__left { font-size: 12px; }
html body .home-news .home-news__date { gap: 8px; margin-top: 6px; }
html body .home-news .home-news__date b { font-size: 40px; }
html body .home-news .home-news__date span { font-size: 14px; }
html body .payalsf-home .home-news .home-news__lead h3 { font-size: 15px; line-height: 1.7; }
html body .home-news .home-news__place { font-size: 12px; }
html body .home-news .home-news svg,
html body .home-news .home-news__place svg { width: 14px; height: 14px; }
html body .home-news .home-news__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; }
html body .home-news .home-news__btn { justify-content: center; min-height: 40px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
html body .home-news .home-news__btn svg { width: 14px; height: 14px; }
/* news rows */
html body .home-news .home-news__wire a,
html body .home-news .home-news__wire a:hover,
html body .home-news .home-news__wire a:focus { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 4px; }
html body .home-news .home-news__when { padding-inline-end: 12px; }
html body .home-news .home-news__when b { font-size: 20px; }
html body .home-news .home-news__when span { font-size: 10px; }
html body .home-news .home-news__meta { margin-bottom: 4px; font-size: 11px; }
html body .home-news .home-news__wire strong { font-size: 14px; line-height: 1.7; }
/* the current card's progress line (drawn by front-page.php's script) */
html body .home-work-m__ring { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
html body .home-work-m__ring path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
html body .home-work-m__track li { transition: opacity .35s; }
html body .home-work-m__track li:not(.is-current) { opacity: .72; }

/* news rows: day, month, year on three lines */
html body .home-news .home-news__when > span > span { display: block; margin: 0; }
html body .home-news .home-news__when > span > span + span { margin-top: 1px; }

/* ── Home · build process: smaller title, photo block at 90% of its height */
html body .home-build .home-build__head { margin-bottom: 14px; }
html body .home-build .home-build__head .home-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .payalsf-home .home-build .home-head h2 { font-size: 24px; line-height: 1.45; }
html body .payalsf-home.is-ltr .home-build .home-head h2 { line-height: 1.2; }
@media (max-width: 720px) {
  html body .home-build .home-build__media { height: 30.6svh; }
}
/* no full-screen minimum on phones: the section is as tall as its content */
html body .home-build .home-build__stage { min-height: 0; padding-block: 36px 28px; }

/* ── Home · why LSF ────────────────────────────────────────────────────────
   Eight stacked cards become one grouped list (like the build steps above
   it): small icon, title, two-line text, hairlines between rows. */
html body .home-why { padding-block: 36px; }
html body .home-why .home-wrap,
html body .home-svc .home-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .home-why .home-head,
html body .home-svc .home-head { margin-bottom: 16px; }
html body .home-why .home-head .home-eyebrow,
html body .home-svc .home-head .home-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .payalsf-home .home-why .home-head h2,
html body .payalsf-home .home-svc .home-head h2 { font-size: 24px; line-height: 1.45; }
html body .payalsf-home.is-ltr .home-why .home-head h2,
html body .payalsf-home.is-ltr .home-svc .home-head h2 { line-height: 1.2; }
html body .home-why .home-head .home-lead,
html body .home-svc .home-head .home-lead { margin-top: 8px; font-size: 14px; line-height: 1.85; }
html body .home-why .home-why__grid {
  display: block;
  padding: 4px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--home-surface);
}
html body .home-why .home-why__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: start;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
html body .home-why .home-why__item + .home-why__item { border-top: 1px solid var(--color-border); }
html body .home-why .home-why__ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; }
html body .home-why .home-why__ic svg { width: 17px; height: 17px; }
html body .payalsf-home .home-why .home-why__k { margin: 0; font-size: 15px; line-height: 1.5; }
html body .home-why .home-why__item p {
  grid-column: 2;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* ── Home · services ───────────────────────────────────────────────────────
   The hover-driven photo collage is dropped; each service is a list row with
   a photo thumb, name, one line and an arrow, tapping through to its page. */
html body .home-svc { padding-block: 36px; }
html body .home-svc .home-head { text-align: start; }
html body .home-svc .home-head .home-lead { margin-inline: 0; }
html body .home-svc .home-svc__photos { display: none; }
html body .home-svc .home-svc__body { display: block; }
html body .home-svc .home-svc__list,
html body .home-svc .home-svc__list:is(ul) {
  display: block;
  width: auto;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--home-surface);
}
html body .home-svc .home-svc__list li + li { border-top: 1px solid var(--color-border); }
html body .home-svc .home-svc__row,
html body .home-svc .home-svc__row:hover,
html body .home-svc .home-svc__row:focus {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 2px 12px;
  padding: 10px 0;
  opacity: 1;
  color: var(--home-ink);
}
html body .home-svc .home-svc__thumb { display: block; grid-row: span 2; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--color-border); }
html body .home-svc .home-svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
html body .home-svc .home-svc__bar { display: none; }
html body .home-svc .home-svc__name { grid-column: 2; }
html body .home-svc .home-svc__title { color: var(--home-ink); font-size: 15px; line-height: 1.4; }
html body .home-svc .home-svc__role { grid-column: 2; margin: 0; padding: 0; font-size: 12px; letter-spacing: 0; text-transform: none; }
/* the arrow: drawn with borders, pointing in the reading direction */
html body .home-svc .home-svc__row::after {
  content: "";
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-foreground);
  border-inline-end: 2px solid var(--color-foreground);
  transform: rotate(45deg);
}
html body .payalsf-home:not(.is-ltr) .home-svc .home-svc__row::after { transform: rotate(-45deg); }

/* ── Related articles (shared box: home, services, service + project pages) ─
   Three tall photo cards become compact rows in one panel, like Services:
   photo thumb, title (up to 2 lines), reading time, arrow. */
html body .pa { width: auto; margin: 0; padding: 36px 20px; }
html body .pa .pa__head { gap: 6px; margin-bottom: 14px; }
html body .pa .pa__eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .pa .pa__title { font-size: 24px; line-height: 1.45; }
html body .pa[dir="ltr"] .pa__title { line-height: 1.2; }
html body .pa .pa__all { font-size: 14px; }
html body .pa .pa__list {
  display: block;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: oklch(1 0 0);
}
html body .pa .pa__list li + li { border-top: 1px solid var(--color-border); }
html body .pa .pa__list a,
html body .pa .pa__list a:hover,
html body .pa .pa__list a:focus {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  height: auto;
  min-height: 88px;
  padding: 12px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
html body .pa .pa__list b {
  grid-column: 2;
  grid-row: 1;
  padding: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
html body .pa .pa__media { position: static; grid-column: 1; grid-row: 1; width: 64px; height: 64px; aspect-ratio: auto; border-radius: 12px; }
html body .pa .pa__media img,
html body .pa .pa__media .payalsf-noimg { position: absolute; inset: auto; top: 12px; width: 64px; height: 64px; border-radius: 12px; }
html body .pa .pa__media::after { display: none; }
html body .pa .pa__list a:hover .pa__media img { transform: none; }
/* reading time + arrow under the title */
html body .pa .pa__list small {
  position: absolute;
  inset-inline: 76px 0;
  bottom: 12px;
  padding: 0;
  color: var(--color-foreground);
  font-size: 12px;
  font-weight: var(--font-weight);
}
html body .pa .pa__list small svg { width: 14px; height: 14px; color: var(--navy-900); }

/* ── Home · FAQ: same accordion, app sizes ─────────────────────────────────── */
/* the 2-line clamp must not show a third line inside padding: space it with margin */
html body .pa .pa__list b { margin-bottom: 22px; padding: 0; }

/* FAQ: the open question sits on a very light tint */
  margin-inline: -12px;
  padding-inline: 12px;
  border-radius: 14px;
  background: color-mix(in oklch, var(--home-navy) 5%, transparent);
}

/* ── Footer (every page) ───────────────────────────────────────────────────
   Smaller heading and button; logo and PAYA LSF side by side; Pages and
   Services in two columns, contact details full width below; no hover
   effects (on touch they only stick after a tap). */
html body .payalsf-projects-cta { --fade: 0px; padding-top: 9vh; padding-bottom: calc(clamp(4rem, 19vw, 17rem) * .45); -webkit-mask-image: none; mask-image: none; } /* no top fade; 4vh of space plus 5vh more */
html body .payalsf-projects-cta .payalsf-projects-shell { width: calc(100% - 40px); }
html body .payalsf-projects-cta__inner { gap: 12px; }
html body .payalsf-projects-cta h2 { font-size: 22px; line-height: 1.5; letter-spacing: 0; }
html body .payalsf-projects-cta.is-ltr h2 { line-height: 1.2; letter-spacing: -.02em; }
html body .payalsf-projects-cta__inner > div:last-child > p { margin-bottom: 14px; font-size: 14px; line-height: 1.8; }
html body .payalsf-projects-cta .payalsf-projects-button { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
html body .payalsf-projects-cta .payalsf-projects-button svg { width: 15px; height: 15px; }

html body .payalsf-projects-cta__nav {
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  margin-top: 28px;
  padding-top: 24px;
}
html body .payalsf-projects-cta__brand,
html body .payalsf-projects-cta__nav > .payalsf-projects-cta__col:last-child:nth-child(4) { grid-column: 1 / -1; }
html body .payalsf-projects-cta__home { display: inline-flex; align-items: center; gap: 10px; }
html body .payalsf-projects-cta__logo { height: 36px; margin: 0; }
html body .payalsf-projects-cta__wordmark { font-size: 20px; line-height: 1; }
html body .payalsf-projects-cta__brand p { margin-top: 10px; font-size: 13px; line-height: 1.8; }
html body .payalsf-projects-cta__col h3 { margin-bottom: 10px; font-size: 12px; }
html body .payalsf-projects-cta__col ul { gap: 8px; }
html body .payalsf-projects-cta__col a,
html body .payalsf-projects-cta__col li { font-size: 13px; }
html body .payalsf-projects-cta__legal { margin-top: 24px; }
html body .payalsf-projects-cta__copy { font-size: 11px; }
/* "Contact the designer" gets its own row under the copyright */
html body .payalsf-projects-cta__legal { flex-wrap: wrap; }
html body .payalsf-projects-cta__legal .payalsf-designer { order: 3; margin: 8px 0 0; font-size: 11px; }

/* no hover effects */
html body .payalsf-projects-cta__col a:hover,
html body .payalsf-projects-editorial.is-ltr .payalsf-projects-cta__col a:hover { transform: none; color: var(--navy-200); }
html body .payalsf-projects-cta .payalsf-projects-button:hover,
html body .payalsf-projects-cta .payalsf-projects-button--light:hover { transform: none; box-shadow: none; background: var(--white); color: var(--navy-900); }
html body .payalsf-projects-cta .payalsf-projects-button:hover svg { transform: none; }
html body .payalsf-projects-cta__home:hover .payalsf-projects-cta__wordmark { color: var(--white); }

/* ══ Projects page ═══════════════════════════════════════════════════════════ */

/* ── hero: same treatment as the home hero ── */
html body .pj-hero { padding: 96px 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
html body .pj-hero .pj-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .pj-hero .pj-hero__inner { gap: 16px; }
html body .pj-hero .pj-eyebrow { margin: 0 0 8px; font-size: 12px; }
html body .pj .pj-hero h1 { font-size: 30px; line-height: 1.3; }
html body .pj.is-ltr .pj-hero h1 { font-size: 32px; line-height: 1.15; }
html body .pj-hero .pj-hero__lead { max-width: none; margin-top: 10px; font-size: 15px; line-height: 1.75; }
html body .pj-hero .pj-hero__bar { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 0; border-top: 0; }
html body .pj-hero .pj-hero__counts {
  order: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 12px 4px;
  border: 1px solid color-mix(in oklch, var(--pj-surface) 18%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--pj-surface) 12%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html body .pj-hero .pj-hero__counts div,
html body .pj-hero .pj-hero__counts div + div { display: flex; flex-direction: column; align-items: center; padding: 0 6px; text-align: center; }
html body .pj-hero .pj-hero__counts div + div { border-inline-start: 1px solid color-mix(in oklch, var(--pj-surface) 20%, transparent); }
html body .pj-hero .pj-hero__counts dd { font-size: 18px; }
html body .pj-hero .pj-hero__counts dt { font-size: 11px; }
html body .pj-hero .pj-now { order: 2; width: auto; margin: 0; }
html body .pj-hero .pj-now__title { font-size: 16px; }
html body .pj-hero .pj-btn { order: 3; justify-content: center; min-height: 48px; border-radius: 14px; font-size: 15px; }

/* ── section titles (shared) ── */
html body .pj .pj-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .pj .pj-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .pj .pj-story__head h2,
html body .pj .pj-cmp__head h2,
html body .pj .pj-proof__head h2,
html body .pj .pj-reel__top h2 { margin: 0; font-size: 24px; line-height: 1.45; letter-spacing: 0; }
html body .pj.is-ltr .pj-story__head h2,
html body .pj.is-ltr .pj-cmp__head h2,
html body .pj.is-ltr .pj-proof__head h2,
html body .pj.is-ltr .pj-reel__top h2 { line-height: 1.2; }

/* ── featured story: compact chapter cards with «read more» ── */
html body .pj-story { padding-block: 36px; }
html body .pj .pj-story__head { margin-bottom: 16px; }
html body .pj .pj-story__ch {
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
html body .pj .pj-story__inline { margin: 0 0 12px; aspect-ratio: 16 / 10; border-radius: 16px; }
html body .pj .pj-story__num { font-size: 12px; }
html body .pj .pj-story__ch h3 { margin: 4px 0 8px; font-size: 17px; line-height: 1.55; }
html body .pj .pj-story__body { max-height: calc(14px * 1.9 * 3); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
html body .pj .pj-story__ch.is-open .pj-story__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
html body .pj .pj-story__body p { margin: 0 0 8px; font-size: 14px; line-height: 1.9; }
html body .pj .pj-story__more {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--pj-surface);
  color: var(--pj-navy);
  font: inherit;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
}
html body .pj .pj-story__more:hover,
html body .pj .pj-story__more:focus { background: var(--pj-surface); color: var(--pj-navy); border-color: var(--color-border); }
html body .pj .pj-story__close { margin-top: 4px; padding: 16px; border-radius: 18px; }
html body .pj .pj-story__close blockquote { font-size: 16px; line-height: 1.8; }
html body .pj .pj-story__link { margin-top: 10px; font-size: 14px; }

/* ── frame → finished: same slider, app sizes ── */
html body .pj-cmp { padding-block: 36px; }
html body .pj .pj-cmp__head { gap: 12px; margin-bottom: 14px; }
html body .pj .pj-cmp__head p:not(.pj-eyebrow) { margin-top: 8px; font-size: 14px; line-height: 1.85; }
html body .pj .pj-cmp__tabs { gap: 6px; }
html body .pj .pj-cmp__tab { min-height: 36px; padding: 0 12px; font-size: 13px; }
html body .pj .pj-cmp__stage { aspect-ratio: 4 / 3; border-radius: 16px; }

/* ── archive: filter chips + a 2-column grid of photo cards (tap opens) ── */
html body .pj-reel {
  height: auto;
  min-height: 0;
  padding: 36px 0;
  overflow: visible;
  background: var(--pj-navy);
}
html body .pj-reel .pj-reel__bgs,
html body .pj-reel .pj-reel__wash,
html body .pj-reel .pj-pblur,
html body .pj-reel .pj-reel__grain,
html body .pj-reel .pj-reel__head,
html body .pj-reel .pj-reel__rail,
html body .pj-reel .pj-reel__cursor,
html body .pj-reel .pj-reel__hint { display: none; }
html body .pj-reel .pj-reel__top {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 0 20px;
  color: var(--pj-surface);
}
html body .pj-reel .pj-reel__top h2 { color: var(--pj-surface); }
html body .pj-reel .pj-reel__chips { flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; overflow: visible; }
html body .pj-reel .pj-reel__chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
html body .pj-reel .pj-reel__strip { position: static; height: auto; margin-top: 16px; direction: inherit; }
html body .pj-reel .pj-reel__track,
html body .pj:not(.is-ltr) .pj-reel .pj-reel__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: auto;
  padding: 0 20px;
  direction: inherit;
  transform: none;
  transition: none;
  cursor: auto;
}
html body .pj-reel .pj-reel__card,
html body .pj-reel .pj-reel__card.is-active {
  width: auto;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  transition: none;
}
html body .pj-reel .pj-reel__card[hidden] { display: none; }
html body .pj-reel .pj-reel__card img { position: absolute; inset: 0; }
html body .pj-reel .pj-reel__card-empty { position: absolute; inset: 0; height: 100%; }
html body .pj-reel .pj-reel__dim,
html body .pj-reel .pj-reel__card.is-active .pj-reel__dim { opacity: 1; background: linear-gradient(to top, color-mix(in oklch, var(--pj-black) 82%, transparent), transparent 60%); }
html body .pj-reel .pj-reel__cap {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--pj-surface);
}
html body .pj-reel .pj-reel__cap b { font-size: 14px; line-height: 1.45; }
html body .pj-reel .pj-reel__cap small { color: color-mix(in oklch, var(--pj-surface) 78%, transparent); font-size: 11px; }

/* ── in numbers: compact tiles; the photo fact full width, the rest 2-up ── */
html body .pj-proof { padding-block: 36px; }
html body .pj .pj-proof__head { gap: 8px; margin-bottom: 14px; }
html body .pj .pj-proof__lead { font-size: 14px; line-height: 1.85; }
html body .pj .pj-proof__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
html body .pj .pj-proof__item,
html body .pj .pj-proof__link { padding: 14px; border-radius: 16px; }
html body .pj .pj-proof__item:hover { transform: none; box-shadow: none; }
html body .pj .pj-proof__item.is-feature { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; padding: 16px; }
html body .pj .pj-proof__n { font-size: 28px; }
html body .pj .pj-proof__item.is-feature .pj-proof__n { font-size: 40px; }
html body .pj .pj-proof__u { font-size: 14px; }
html body .pj .pj-proof__c { margin-top: 4px; font-size: 12px; line-height: 1.6; }
html body .pj .pj-proof__cta { grid-column: 1 / -1; }
html body .pj .pj-proof__link { min-height: 52px; font-size: 14px; }
/* in numbers: the three small facts in one row, the link as a slim bar */
html body .pj .pj-proof__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
html body .pj .pj-proof__item { gap: 8px; justify-content: flex-start; padding: 12px 10px; }
html body .pj .pj-proof__item:not(.is-feature) .pj-proof__top { display: none; }
html body .pj .pj-proof__item:not(.is-feature) .pj-proof__n { font-size: 24px; }
html body .pj .pj-proof__item:not(.is-feature) .pj-proof__u { font-size: 12px; }
html body .pj .pj-proof__item:not(.is-feature) .pj-proof__c { font-size: 11px; line-height: 1.55; }
html body .pj .pj-proof__cta { padding: 0; }
html body .pj .pj-proof__link { flex-direction: row; align-items: center; height: auto; min-height: 52px; padding: 0 16px; font-size: 15px; }
html body .pj .pj-proof__link:hover { background: var(--pj-navy); color: var(--pj-surface); }
html body .pj .pj-proof__link:hover .pj-proof__arrow { transform: none; background: transparent; color: inherit; }

/* ══ Services page ═══════════════════════════════════════════════════════════ */

html body .sv .sv-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .sv .sv-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .sv .sv-head { gap: 8px; margin-bottom: 16px; }
html body .sv .sv-head h2 { margin: 0; font-size: 24px; line-height: 1.45; letter-spacing: 0; }
html body .sv.is-ltr .sv-head h2 { line-height: 1.2; }
html body .sv .sv-head p:not(.sv-eyebrow) { margin: 0; font-size: 14px; line-height: 1.8; }

/* ── hero: same treatment as the home hero ── */
html body .sv-hero { padding: 96px 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
html body .sv-hero .sv-hero__inner { gap: 16px; }
html body .sv .sv-hero h1 { font-size: 30px; line-height: 1.3; }
html body .sv.is-ltr .sv-hero h1 { font-size: 32px; line-height: 1.15; }
html body .sv-hero .sv-hero__lead { max-width: none; margin-top: 10px; font-size: 15px; line-height: 1.75; }
html body .sv-hero .sv-hero__bar { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 0; border-top: 0; }
html body .sv-hero .sv-hero__principles,
html body .sv-hero .sv-hero__principles:is(ul) {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 0;
  padding: 12px 4px;
  border: 1px solid color-mix(in oklch, var(--sv-surface) 18%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--sv-surface) 12%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html body .sv-hero .sv-hero__principles li,
html body .sv-hero .sv-hero__principles li + li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 6px; border: 0; text-align: center; }
html body .sv-hero .sv-hero__principles li:nth-child(even) { border-inline-start: 1px solid color-mix(in oklch, var(--sv-surface) 20%, transparent); }
html body .sv-hero .sv-hero__principles b { font-size: 15px; }
html body .sv-hero .sv-hero__principles span { font-size: 11px; line-height: 1.45; }
html body .sv-hero .sv-now { order: 2; width: auto; margin: 0; }
html body .sv-hero .sv-now__title { font-size: 16px; }
html body .sv-hero .sv-btn { order: 3; justify-content: center; min-height: 48px; border-radius: 14px; font-size: 15px; }

/* ── service list: filter chips + tappable rows with a photo (big panels dropped) ── */
html body .sv-list { padding-block: 36px; }
html body .sv .sv-head__count { font-size: 12px; }
html body .sv .sv-chips { flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; overflow: visible; }
html body .sv .sv-chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
html body .sv .sv-stage { display: none; }
html body .sv .sv-index {
  display: block;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--sv-surface);
  list-style: none;
}
html body .sv .sv-index li[hidden] { display: none; }
html body .sv .sv-index li + li { border-top: 1px solid var(--color-border); }
html body .sv .sv-index a,
html body .sv .sv-index li.is-active a,
html body .sv .sv-index a:hover {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  color: var(--sv-ink);
}
html body .sv .sv-index__num { display: none; }
html body .sv .sv-index__thumb { position: relative; display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--color-border); }
html body .sv .sv-index__thumb img { width: 100%; height: 100%; object-fit: cover; }
html body .sv .sv-index__t { display: block; font-size: 15px; line-height: 1.4; }
html body .sv .sv-index__c { display: block; margin-top: 2px; font-size: 12px; }
html body .sv .sv-index a svg { width: 16px; height: 16px; opacity: 1; transform: none; color: var(--color-foreground); }

/* ── deliverables: one grouped list ── */
html body .sv-deliver { padding-block: 36px; }
html body .sv .sv-tiles {
  display: block;
  margin: 0;
  padding: 4px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--sv-surface);
}
html body .sv .sv-tile {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 0;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
html body .sv .sv-tile + .sv-tile { border-top: 1px solid var(--color-border); }
html body .sv .sv-tile__top { display: block; }
html body .sv .sv-tile__num { display: none; }
html body .sv .sv-tile__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
html body .sv .sv-tile__icon svg { width: 17px; height: 17px; }
html body .sv .sv-tile h3 { margin: 0; font-size: 15px; line-height: 1.5; }
html body .sv .sv-tile p { margin: 2px 0 0; font-size: 13px; line-height: 1.8; }

/* ── engagement: a 3-part switch showing one model at a time ── */
html body .sv-engage { padding-block: 36px; }
html body .sv .sv-mtabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 14px;
  background: color-mix(in oklch, var(--sv-navy) 7%, transparent);
}
html body .sv .sv-mtabs button,
html body .sv .sv-mtabs button:hover,
html body .sv .sv-mtabs button:focus {
  min-height: 40px;
  padding: 0 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sv-ink);
  font: inherit;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  white-space: normal;
}
html body .sv .sv-mtabs button[aria-selected="true"] { background: var(--sv-surface); color: var(--sv-navy); box-shadow: 0 2px 8px -2px rgba(16,42,67,.22); }
html body .sv .sv-models { display: block; margin: 0; }
html body .sv .sv-model { display: none; padding: 18px; border-radius: 20px; }
html body .sv .sv-model.is-shown { display: block; }
html body .sv .sv-model__top { margin-bottom: 8px; }
html body .sv .sv-model__num { font-size: 12px; }
html body .sv .sv-model__tag { padding: 3px 10px; font-size: 11px; }
html body .sv .sv-model h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.45; }
html body .sv .sv-model__desc { font-size: 14px; line-height: 1.85; }
html body .sv .sv-model__pts { gap: 6px; margin: 12px 0; }
html body .sv .sv-model__pts li { font-size: 13px; }
html body .sv .sv-model .sv-link { font-size: 14px; }
html body .sv .sv-cov { margin-top: 12px; padding: 16px; border-radius: 20px; }
html body .sv .sv-cov h3 { margin: 0 0 10px; font-size: 15px; }
html body .sv .sv-cov__name { font-size: 13px; }
html body .sv .sv-cov__range { font-size: 11px; }

/* ── FAQ: same as home (closed by default, one open on a light tint) ── */
html body .sv .sv-index a::before { display: none; }
html body .sv .sv-index li.is-active a { padding-inline-start: 0; }
html body .sv .sv-index li.is-active a svg { color: var(--color-foreground); }

/* ══ About page ══════════════════════════════════════════════════════════════ */

html body .ab .ab-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .ab .ab-sec { padding-block: 36px; }
html body .ab .ab-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .ab .ab-head { gap: 8px; margin-bottom: 16px; }
html body .ab .ab-head h2,
html body .ab .ab-spec h2,
html body .ab .ab-lsf h2,
html body .ab .ab-intro h2 { margin: 0; font-size: 24px; line-height: 1.45; letter-spacing: 0; }
html body .ab.is-ltr .ab-head h2,
html body .ab.is-ltr .ab-lsf h2,
html body .ab.is-ltr .ab-intro h2 { line-height: 1.2; }
html body .ab .ab-head p { font-size: 14px; line-height: 1.85; }

/* ── hero: same treatment as the home hero ── */
html body .ab-hero { padding: 96px 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
html body .ab .ab-hero h1 { font-size: 30px; line-height: 1.3; }
html body .ab.is-ltr .ab-hero h1 { font-size: 32px; line-height: 1.15; }
html body .ab-hero .ab-hero__lead { max-width: none; margin-top: 10px; font-size: 15px; line-height: 1.75; }
html body .ab-hero .ab-hero__lead--more { margin-top: 6px; font-size: 13px; line-height: 1.8; }
html body .ab-hero .ab-hero__slogan { margin-top: 12px; font-size: 15px; }
html body .ab-hero .ab-hero__mark { margin-bottom: 10px; font-size: 40px; }
html body .ab-hero .ab-hero__bar { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 0; border-top: 0; }
html body .ab-hero .ab-hero__status { order: 1; align-self: flex-start; font-size: 12px; }
html body .ab-hero .ab-hero__counts {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 12px 4px;
  border: 1px solid color-mix(in oklch, var(--ab-surface) 18%, transparent);
  border-radius: 18px;
  background: color-mix(in oklch, var(--ab-surface) 12%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html body .ab-hero .ab-hero__counts > div,
html body .ab-hero .ab-hero__counts > div + div { display: flex; flex-direction: column; align-items: center; padding: 0 6px; border: 0; text-align: center; }
html body .ab-hero .ab-hero__counts > div + div { border-inline-start: 1px solid color-mix(in oklch, var(--ab-surface) 20%, transparent); }
html body .ab-hero .ab-hero__counts dd { font-size: 18px; }
html body .ab-hero .ab-hero__counts dt { font-size: 11px; }
html body .ab-hero .ab-hero__actions { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html body .ab-hero .ab-hero__actions > a { justify-content: center; min-height: 48px; border-radius: 14px; font-size: 15px; white-space: nowrap; }

/* ── company introduction: heading, two paragraphs, three stacked cards ── */
html body .ab .ab-intro__grid { gap: 12px; }
html body .ab .ab-intro__lead { font-size: 15px; line-height: 1.9; }
html body .ab .ab-intro__body { margin-top: 10px; font-size: 14px; line-height: 1.9; }
html body .ab .ab-intro__cards { gap: 12px; margin-top: 24px; }
html body .ab .ab-intro__card { gap: 12px; padding: 20px; border-radius: 18px; }
html body .ab .ab-intro__card h3 { font-size: 17px; }
html body .ab .ab-intro__card ul { gap: 8px; padding-top: 12px; }
html body .ab .ab-intro__card li { font-size: 13px; }

/* About us · company story (template-parts/about-company.php) */
html body .ab .ac-sec { padding-block: 36px; }
html body .ab .ac-sec + .ac-sec { padding-top: 0; }
html body .ab .ac-head,
html body .ab .ac-diff,
html body .ab .ac-mv,
html body .ab .ac-ceo,
html body .ab .ac-cta__box { grid-template-columns: 1fr; gap: 12px; }
html body .ab .ac-head h2 { font-size: 24px; line-height: 1.45; letter-spacing: 0; }
html body .ab.is-ltr .ac-head h2 { line-height: 1.2; }
html body .ab .ac-head { margin-bottom: 16px; }
html body .ab .ac-prose p,
html body .ab .ac-head > p { font-size: 14px; line-height: 1.9; }
html body .ab .ac-card { padding: 16px; border-radius: 18px; }
html body .ab .ac-prose--cols { columns: 1; }
html body .ab .ac-time { grid-template-columns: 1fr; gap: 0; padding-top: 16px; }
html body .ab .ac-time li { padding: 0 0 14px; padding-inline-start: 22px; }
html body .ab .ac-time li::before { top: 6px; bottom: 0; inset-inline: 5px auto; width: 2px; height: auto; }
html body .ab .ac-time li:last-child::before { display: none; }
html body .ab .ac-time li::after { top: 2px; width: 12px; height: 12px; }
html body .ab .ac-time b { font-size: 16px; }
html body .ab .ac-time span { margin-top: 2px; font-size: 13px; }
html body .ab .ac-fields { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
html body .ab .ac-fields .ab-intro__card p { padding-top: 12px; font-size: 13px; }
html body .ab .ac-diff { margin-bottom: 36px; }
html body .ab .ac-diff h2 { font-size: 28px; line-height: 1.35; }
html body .ab .ac-diff h2 + p { font-size: 15px; }
html body .ab .ac-diff blockquote { padding: 16px; border-radius: 16px; font-size: 15px; }
/* the five stages: one column, circles at the start edge, the line runs straight down between them */
html body .ab .ac-step,
html body .ab .ac-step:nth-child(even) { width: 100%; flex-direction: row; gap: 14px; text-align: start; }
html body .ab .ac-step + .ac-step { margin-top: 28px; }
html body .ab .ac-step__c { width: 60px; height: 60px; }
html body .ab .ac-step__c b { font-size: 18px; }
html body .ab .ac-step h3 { font-size: 16px; }
html body .ab .ac-step p { font-size: 13px; line-height: 1.8; }
html body .ab .ac-traits,
html body .ab .ac-uses { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
html body .ab .ac-uses { margin-top: 0; }
html body .ab .ac-traits li { padding: 12px; border-radius: 16px; }
html body .ab .ac-traits b { font-size: 14px; }
html body .ab .ac-traits p { font-size: 12.5px; line-height: 1.75; }
html body .ab .ac-use { border-radius: 16px; }
html body .ab .ac-use__body { padding: 10px 12px 12px; }
html body .ab .ac-use b { font-size: 13.5px; }
html body .ab .ac-use p { font-size: 12px; line-height: 1.75; }
html body .ab .ac-mv h3 { margin-bottom: 10px; font-size: 18px; }
html body .ab .ac-mv .ac-card p { font-size: 13.5px; line-height: 1.9; }
html body .ab .ac-ceo { margin-top: 12px; padding: 20px; border-radius: 20px; gap: 16px; }
html body .ab .ac-ceo blockquote { font-size: 20px; line-height: 1.6; }
html body .ab .ac-ceo__by { margin-top: 14px; gap: 12px; }
html body .ab .ac-ceo__photo { width: 72px; height: 72px; }
html body .ab .ac-ceo__text p { font-size: 13.5px; line-height: 1.9; }
html body .ab .ac-cta__box { padding: 20px; border-radius: 20px; }
html body .ab .ac-cta h2 { font-size: 20px; line-height: 1.5; }
html body .ab .ac-cta p { font-size: 14px; }
html body .ab .ac-cta__actions { justify-content: flex-start; }

/* ── in numbers: the spec sheet ── */
html body .ab .ab-spec__sheet { padding: 6px 16px; border-radius: 20px; }
html body .ab .ab-spec__row { padding-block: 11px; }
html body .ab .ab-spec__row dt { font-size: 13px; }
html body .ab .ab-spec__row dd { font-size: 14px; }

/* ── credentials: small seals side by side, compact list ── */
html body .ab .ab-creds__list li { padding-block: 10px; }
html body .ab .ab-creds__list b,
html body .ab .ab-creds__list strong { font-size: 15px; }
html body .ab .ab-creds__list span:not(.ab-creds__n) { font-size: 12px; }

/* ── approach (fast / light / precise / economical) ── */
html body .ab-claim,
html body .ab-claim:hover { gap: 4px 12px; padding-block: 10px; }
html body .ab-claim__w { font-size: 28px; }
html body .ab-claim:hover .ab-claim__w { transform: none; }
html body .ab-claim__v { font-size: 17px; }
html body .ab-claim__c { font-size: 12px; }
html body .ab .ab-claims__quote { margin-top: 16px; font-size: 15px; line-height: 1.8; }

/* ── what is LSF ── */
html body .ab .ab-lsf__grid { gap: 16px; }
html body .ab .ab-lsf__def { font-size: 15px; line-height: 1.85; }
html body .ab .ab-lsf__body p { font-size: 14px; line-height: 1.9; }
html body .ab .ab-lsf__hint,
html body .ab .ab-lsf__tag { font-size: 12px; }
html body .ab .ab-why__list { gap: 0; padding: 4px 16px; border: 1px solid var(--color-border); border-radius: 20px; background: var(--ab-surface); }
html body .ab .ab-why__list li { padding: 12px 0; border: 0; }
html body .ab .ab-why__list li + li { border-top: 1px solid var(--color-border); }
html body .ab .ab-why__list b { font-size: 15px; }
html body .ab .ab-why__list span { font-size: 13px; }

/* ── seven steps: smaller swipe cards ── */
html body .ab .ab-steps__list { gap: 10px; }
html body .ab .ab-step { flex-basis: 78%; padding: 14px; border-radius: 18px; }
html body .ab .ab-step__inline { aspect-ratio: 16 / 10; margin-bottom: 10px; border-radius: 12px; }
html body .ab .ab-step__n { font-size: 14px; }
html body .ab .ab-step h3 { margin: 2px 0 6px; font-size: 18px; }
html body .ab .ab-step p { font-size: 13px; line-height: 1.8; }


/* ── built work: compact carousel ── */
html body .ab .ab-cf__title { font-size: 18px; }
html body .ab .ab-cf__meta { font-size: 13px; }
html body .ab .ab-cf__hint { font-size: 11px; }
/* why-LSF facts: two columns in one panel, no row dividers */
html body .ab .ab-why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 16px; }
html body .ab .ab-why__list li,
html body .ab .ab-why__list li + li { padding: 0; border: 0; }
html body .ab-hero .ab-hero__actions > .ab-link,
html body .ab-hero .ab-hero__actions > .ab-link:hover {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in oklch, var(--ab-surface) 35%, transparent);
  background: color-mix(in oklch, var(--ab-surface) 12%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ab-surface);
  text-decoration: none;
}

/* ══ News & events page ══════════════════════════════════════════════════════ */

html body .nw .nw-wrap { width: auto; margin: 0; padding-inline: 20px; }
html body .nw .nw-eyebrow { margin: 0 0 6px; font-size: 12px; }
/* masthead */
html body .nw-top { padding-block: 96px 20px; }
html body .nw .nw-top__grid { gap: 16px; }
html body .nw .nw-top h1 { font-size: 28px; line-height: 1.4; letter-spacing: 0; }
html body .nw.is-ltr .nw-top h1 { line-height: 1.15; letter-spacing: -0.02em; }
html body .nw .nw-top__lead { margin-top: 8px; font-size: 14px; line-height: 1.85; }
html body .nw .nw-next { padding: 16px; border-radius: 18px; }
html body .nw .nw-next__when { font-size: 16px; }
html body .nw .nw-next b { font-size: 14px; line-height: 1.7; }
html body .nw .nw-next span.nw-next__place { font-size: 12px; }
html body .nw .nw-next .nw-link { margin-top: 10px; font-size: 14px; }
/* featured entry: a short plate when there's no photo */
html body .nw .nw-lead-card { border-radius: 20px; }
html body .nw .nw-lead-card__media { min-height: 0; }
html body .nw .nw-plate { gap: 10px; min-height: 150px; padding: 16px; }
html body .nw .nw-plate__src { max-width: none; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
html body .nw .nw-plate__kind,
html body .nw .nw-plate__date { font-size: 11px; }
html body .nw .nw-lead-card__body { gap: 8px; padding: 16px; }
html body .nw .nw-lead-card__meta { gap: 6px; font-size: 12px; }
html body .nw .nw-lead-card h2 { font-size: 19px; line-height: 1.55; }
html body .nw.is-ltr .nw-lead-card h2 { line-height: 1.3; }
html body .nw .nw-lead-card p {
  font-size: 13px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
html body .nw .nw-lead-card .nw-link { font-size: 14px; }
/* section heads */
html body .nw .nw-head { gap: 10px; margin-bottom: 12px; }
html body .nw .nw-head h2 { font-size: 20px; }
/* upcoming events */
html body .nw .nw-events { gap: 10px; }
html body .nw .nw-event { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 18px; }
html body .nw .nw-event__date { min-width: 0; padding: 8px 4px; border-radius: 14px; }
html body .nw .nw-event__d { font-size: 22px; }
html body .nw .nw-event__m { font-size: 11px; }
html body .nw .nw-event h3 { font-size: 15px; line-height: 1.6; }
html body .nw .nw-event__place { font-size: 12px; }
html body .nw .nw-event__row { gap: 6px; margin-top: 10px; }
html body .nw .nw-btn { min-height: 36px; padding: 0 12px; font-size: 12px; }
/* archive rows */
html body .nw .nw-arch { padding-block: 28px 36px; }
html body .nw .nw-chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
html body .nw .nw-year { margin: 16px 0 4px; font-size: 12px; }
html body .nw .nw-row > a,
html body .nw .nw-row > a:hover,
html body .nw .nw-row > a:focus { padding: 12px 2px; }
html body .nw .nw-row__date { font-size: 12px; }
html body .nw .nw-row__t { font-size: 15px; line-height: 1.6; }
html body .nw .nw-row__s {
  font-size: 13px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* ══ Articles page ═══════════════════════════════════════════════════════════ */

html body .ai .ai-wrap { width: auto; margin: 0; padding-inline: 20px; }
html body .ai .ai-eyebrow { margin: 0 0 6px; font-size: 12px; }
/* masthead */
html body .ai-top { padding-block: 96px 20px; }
html body .ai .ai-top__grid { gap: 16px; }
html body .ai .ai-top h1 { font-size: 28px; line-height: 1.4; }
html body .ai.is-ltr .ai-top h1 { line-height: 1.15; }
html body .ai .ai-top__lead { margin-top: 8px; font-size: 14px; line-height: 1.85; }
html body .ai .ai-start { padding: 16px; border-radius: 18px; }
html body .ai .ai-start__t { font-size: 14px; line-height: 1.75; }
html body .ai .ai-start .ai-link { margin-top: 10px; font-size: 14px; }
/* featured article */
html body .ai .ai-lead-card { border-radius: 20px; }
html body .ai .ai-lead-card__media { min-height: 0; aspect-ratio: 16 / 10; }
html body .ai .ai-lead-card__body { gap: 8px; padding: 16px; }
html body .ai .ai-lead-card__meta { gap: 6px; font-size: 12px; }
html body .ai .ai-lead-card h2 { font-size: 19px; line-height: 1.6; }
html body .ai.is-ltr .ai-lead-card h2 { line-height: 1.3; }
html body .ai .ai-lead-card p {
  font-size: 13px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
html body .ai .ai-lead-card .ai-link { font-size: 14px; }
/* all articles: chips wrap (no cut-off row), compact rows */
html body .ai .ai-sec { padding-block: 28px 36px; }
html body .ai .ai-head { gap: 10px; margin-bottom: 12px; }
html body .ai .ai-head h2 { font-size: 20px; }
html body .ai .ai-chips { flex-wrap: wrap; gap: 6px; width: auto; margin: 0; padding: 0; overflow: visible; }
html body .ai .ai-chip { min-height: 34px; padding: 0 12px; font-size: 13px; }
html body .ai .ai-row > a,
html body .ai .ai-row > a:hover,
html body .ai .ai-row > a:focus { gap: 6px 12px; padding: 12px 2px; }
html body .ai .ai-row__min { font-size: 12px; }
html body .ai .ai-row__min b { font-size: 16px; }
html body .ai .ai-row__t { font-size: 15px; line-height: 1.6; }
html body .ai .ai-row__s {
  font-size: 13px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
html body .ai .ai-row .ai-tag { font-size: 11px; }

/* ══ Contact page ════════════════════════════════════════════════════════════ */

html body .ct .ct-wrap { width: auto; margin: 0; padding-inline: 20px; }
html body .ct .ct-eyebrow { font-size: 12px; }
/* hero band */
html body .ct-band { min-height: 0; padding: 96px 0 28px; }
html body .ct .ct-band__inner { gap: 14px; }
html body .ct .ct-band h1 { font-size: 28px; line-height: 1.4; letter-spacing: 0; }
html body .ct.is-ltr .ct-band h1 { line-height: 1.15; letter-spacing: -0.02em; }
html body .ct .ct-band__lead { font-size: 14px; line-height: 1.85; }
html body .ct .ct-band__notes { gap: 6px 14px; font-size: 12px; }
/* the side column is not sticky on phones: it simply follows the form
   (stuck, it covered the form while filling it in) */
html body .ct .ct-aside,
html body .ct .ct-aside.is-live { position: static; top: auto; bottom: auto; z-index: auto; gap: 10px; }
html body .ct .ct-aside.is-live .ct-brief { padding: 16px; box-shadow: none; }
html body .ct .ct-aside.is-live .ct-next-h,
html body .ct .ct-aside.is-live .ct-next { display: revert; }
html body .ct .ct-grid { gap: 12px; }
/* form */
html body .ct .ct-card { padding: 6px 16px 18px; border-radius: 20px; }
html body .ct .ct-step { padding-top: 18px; }
html body .ct .ct-step legend { gap: 8px; margin-bottom: 10px; font-size: 16px; }
html body .ct .ct-step legend span { font-size: 12px; }
html body .ct .ct-step legend small { font-size: 11px; }
html body .ct .ct-pills { gap: 6px; }
html body .ct .ct-pill span { padding: 7px 12px; font-size: 13px; }
html body .ct .ct-opts { gap: 8px; }
html body .ct .ct-opt span { padding: 12px; border-radius: 14px; }
html body .ct .ct-opt b { font-size: 14px; }
html body .ct .ct-opt small { font-size: 12px; }
html body .ct .ct-fields { gap: 10px; }
html body .ct .ct-field > span { font-size: 13px; }
/* 16px keeps iPhone Safari from zooming in when a field is tapped */
html body .ct .ct-field input,
html body .ct .ct-field select,
html body .ct .ct-field textarea { min-height: 46px; padding: 10px 12px; border-radius: 12px; font-size: 16px; }
html body .ct .ct-field textarea { min-height: 110px; }
html body .ct .ct-send { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }
html body .ct .ct-send .ct-btn { justify-content: center; min-height: 48px; border-radius: 14px; font-size: 15px; }
html body .ct .ct-send p { font-size: 12px; text-align: center; }
/* summary + direct contact */
html body .ct .ct-brief { border-radius: 20px; }
html body .ct .ct-brief__text { min-height: 0; font-size: 15px; line-height: 1.7; }
html body .ct .ct-brief__text.is-empty { font-size: 13px; }
html body .ct .ct-direct { padding: 14px 16px; border-radius: 20px; }
html body .ct .ct-direct dl { gap: 8px; }
html body .ct .ct-direct dt { font-size: 12px; }
html body .ct .ct-direct dd { font-size: 14px; }
html body .ct .ct-social { font-size: 13px; }
html body .ct .ct-certs { padding: 10px 12px; border-radius: 14px; font-size: 11px; }
/* more: FAQ + recent projects */
html body .ct .ct-more { gap: 20px; padding-block: 28px 36px; }
html body .ct .ct-more h2 { font-size: 20px; }
html body .ct .ct-recent { gap: 8px; }
html body .ct .ct-recent a { border-radius: 14px; }

/* projects: the round arrow in the "in numbers" link bar, smaller */
html body .pj .pj-proof__arrow { width: 32px; height: 32px; }
html body .pj .pj-proof__arrow svg { width: 14px; height: 14px; }

/* ── About refinements ── */

/* approach (fast / light / precise / economical): smaller and shorter */
html body .ab .ab-sec.ab-claims { padding-block: 28px; }
html body .ab .ab-claims .ab-head p { font-size: 13px; line-height: 1.8; -webkit-line-clamp: 3; line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
html body .ab-claim,
html body .ab-claim:hover { gap: 2px 10px; padding-block: 7px; }
html body .ab-claim__w { font-size: 22px; }
html body .ab-claim__v { font-size: 15px; }
html body .ab-claim__c { margin-top: 0; font-size: 11px; }
html body .ab-claim__go { padding: 5px 9px; }
html body .ab .ab-claims__quote { margin-top: 12px; font-size: 14px; }

/* auto-advancing rows: the traced line on the current card */
html body .ab .ab-step { position: relative; }
html body .ab .ab-ring { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
html body .ab .ab-ring path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
html body .ab .ab-step:not(.is-current) .ab-ring path { stroke-dashoffset: 100 !important; }
/* projects "in numbers" link: the arrow circle centred in the navy bar, no turn */
html body .pj .pj-proof__link { align-items: center; }
html body .pj .pj-proof__arrow { align-self: center; }
html body .pj.pj .pj-proof__link:hover .pj-proof__arrow,
html body .pj.pj:not(.is-ltr) .pj-proof__link:hover .pj-proof__arrow { transform: none; background: transparent; color: inherit; }

/* About · the wall: shown open, as a still picture (no scroll animation) */
html body .ab .ab-lsf__fig { position: static; margin: 4px 0 0; }
html body .ab .ab-wall { position: static; width: 100%; max-width: 380px; margin: 0 auto; }
html body .ab .ab-lsf__hint { display: none; } /* "layers open as you scroll" no longer applies */
/* the wall sits right after the explanation it illustrates, before «چرا LSF؟» */
html body .ab .ab-lsf__grid { display: flex; flex-direction: column; gap: 0; }
html body .ab .ab-lsf__grid > div:first-child { display: contents; }
html body .ab .ab-lsf__grid > div:first-child > * { order: 1; }
html body .ab .ab-lsf__fig { order: 2; margin: 18px 0 20px; }
html body .ab .ab-lsf__grid > div:first-child > .ab-why { order: 3; }
html body .ab .ab-lsf__fig { align-self: stretch; width: 100%; } /* full width, so the wall can centre in it */

/* ── Architectural design service · studio fields (template-parts/studio-fields.php):
   smaller cards in a swipe row; cards that aren't current show only a small title ── */
html body .st .st-panels { height: 440px; margin-inline: -20px; padding: 0 20px; scroll-padding-inline: 20px; }
html body .st .st-panel,
html body .st .st-panel.is-open { flex-basis: 80%; border-radius: 18px; }
html body .st .st-panel__body { padding: 16px; }
html body .st .st-panel h3,
html body .st .st-panel:not(.is-open) h3 { font-size: 18px; line-height: 1.45; }
html body .st .st-panel__sub { font-size: 13px; }
html body .st .st-panel__text { font-size: 13px; line-height: 1.8; }
html body .st .st-panel__pills li { font-size: 11px; }
html body .st .st-panel:not(.is-current) h3 { font-size: 14px; line-height: 1.5; }
html body .st .st-panel:not(.is-current) .st-panel__sub,
html body .st .st-panel:not(.is-current) .st-panel__more { display: none; }

/* ══ Magazine (page-magazine.php) ════════════════════════════════════════════
   App-scale masthead with the glance card, the three sections as stacked
   cards, the latest list with small photos. */
html body .mg .mg-wrap { width: auto; margin: 0; padding: 0 20px; }
html body .mg .mg-eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .mg .mg-top { padding: 96px 0 24px; }
html body .mg .mg-top__grid { gap: 16px; }
html body .mg .mg-top h1 { font-size: 30px; line-height: 1.35; }
html body .mg.is-ltr .mg-top h1 { font-size: 32px; line-height: 1.15; }
html body .mg .mg-top__lead { margin-top: 10px; font-size: 15px; line-height: 1.8; }
html body .mg .mg-glance { padding: 16px; border-radius: 20px; }
html body .mg .mg-glance dd { font-size: 22px; }
html body .mg .mg-glance dt { font-size: 11px; }
html body .mg .mg-glance dl div + div { padding-inline-start: 10px; }
html body .mg .mg-glance__new { margin-top: 14px; padding-top: 12px; }
html body .mg .mg-glance__new b { font-size: 14px; }
html body .mg .mg-desks { gap: 14px; }
html body .mg .mg-desk { border-radius: 20px; }
html body .mg .mg-desk:hover, html body .mg .mg-desk:focus-within { transform: none; }
html body .mg .mg-desk__media { height: 220px; }
html body .mg .mg-desk__num { top: 12px; inset-inline-start: 16px; font-size: 11px; }
html body .mg .mg-desk__cat { top: 10px; inset-inline-end: 10px; font-size: 11px; }
html body .mg .mg-desk__over { inset-inline: 16px; bottom: 14px; }
html body .mg .mg-desk h2 { font-size: 22px; }
html body .mg .mg-desk__stats dd { font-size: 17px; }
html body .mg .mg-desk__stats dt { font-size: 10.5px; }
html body .mg .mg-desk__body { padding: 16px; }
html body .mg .mg-desk__sum { font-size: 13px; }
html body .mg .mg-desk__label { margin: 14px 0 6px; font-size: 11px; }
html body .mg .mg-desk__rows a { gap: 12px; padding-block: 10px; }
html body .mg .mg-desk__rows a span { font-size: 14px; line-height: 1.65; }
html body .mg .mg-desk__rows a small { font-size: 11px; }
html body .mg .mg-desk .mg-btn { min-height: 48px; margin-top: 14px; border-radius: 14px; font-size: 15px; }
html body .mg .mg-latest { padding-block: 36px; }
html body .mg .mg-latest__top { gap: 8px; margin-bottom: 12px; }
html body .mg .mg-latest h2 { font-size: 24px; line-height: 1.45; }
html body .mg.is-ltr .mg-latest h2 { line-height: 1.2; }
html body .mg .mg-latest__top .mg-link { font-size: 13px; }
html body .mg .mg-feed a { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-block: 12px; }
html body .mg .mg-feed__go { display: none; }
html body .mg .mg-feed b { font-size: 14px; line-height: 1.7; }
html body .mg .mg-feed__meta { margin-bottom: 4px; font-size: 11px; }
html body .mg .mg-tag { font-size: 10.5px; }

/* ══ About LSF (page-about-us.php, 'lsf' view) ═══════════════════════════════
   News-page scale: masthead, the chapters card, the featured card; the wall
   drawing before its layer list; the nine reasons two-up. */
html body .lv .lv-top { padding: 96px 20px 20px; }
html body .lv .lv-top__grid { gap: 16px; }
html body .ab.lv .lv-top h1 { font-size: 28px; line-height: 1.4; }
html body .ab.lv.is-ltr .lv-top h1 { line-height: 1.15; }
html body .lv .lv-top__lead { margin-top: 8px; font-size: 14px; line-height: 1.85; }
html body .lv .lv-next { padding: 16px; border-radius: 18px; }
html body .lv .lv-glance { margin-top: 16px; border-radius: 18px; aspect-ratio: 4 / 3; }
html body .lv .lv-glance__row { padding: 12px 4px; }
html body .lv .lv-glance__row a { padding-inline: 8px; }
html body .lv .lv-glance__row b { font-size: 22px; }
html body .lv .lv-glance__row span { font-size: 11px; line-height: 1.5; }
html body .lv .lv-next__when { font-size: 18px; }
html body .lv .lv-next a { padding-block: 10px; font-size: 14px; }
html body .lv .lv-sec { padding-bottom: 36px; }
html body .lv .lv-lead { border-radius: 20px; }
html body .lv .lv-lead__media { min-height: 0; aspect-ratio: 16 / 10; }
html body .lv .lv-lead__media .lv-tile { top: 12px; inset-inline-start: 12px; min-width: 64px; }
html body .lv .lv-tile b { font-size: 18px; }
html body .lv .lv-tile span { font-size: 10.5px; }
html body .lv .lv-lead__body { gap: 8px; padding: 16px; }
html body .lv .lv-lead__meta { gap: 6px; font-size: 12px; }
html body .ab.lv .lv-lead h2 { font-size: 21px; line-height: 1.55; }
html body .lv .lv-lead p { font-size: 14px; line-height: 1.9; }
html body .lv .lv-head { gap: 8px; margin-bottom: 14px; }
html body .ab.lv .lv-head h2 { font-size: 22px; line-height: 1.45; }
html body .lv .lv-head p { font-size: 14px; line-height: 1.85; }
html body .lv .lv-wall { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; }
html body .lv .lv-wall__fig { order: -1; margin: 0; }
html body .lv .lv-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; width: 100%; border-top: 0; }
html body .lv .lv-layers li { gap: 8px; padding-block: 10px; border-top: 1px solid var(--color-border); border-bottom: 0; }
html body .lv .lv-layers b { font-size: 13px; }
html body .lv .lv-why { grid-template-columns: 1fr 1fr; gap: 10px; }
html body .lv .lv-why__item { grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 12px; border-radius: 16px; }
html body .lv .lv-why__item .lv-tile { justify-self: start; min-width: 0; aspect-ratio: auto; padding: 6px 12px; border-radius: 10px; }
html body .lv .lv-why__item .lv-tile b { font-size: 15px; }
html body .lv .lv-why__item p { font-size: 12.5px; line-height: 1.75; }
/* steps row: the tile follows the card that is current */
html body .lv .ab-step.is-active .ab-step__n { background: color-mix(in oklch, var(--ab-navy) 8%, transparent); color: var(--ab-navy); }
html body .lv .ab-step.is-current .ab-step__n { background: var(--ab-navy); color: var(--ab-surface); }
html body .lv .ab-step__n { width: 40px; font-size: 14px; }
/* About LSF guide chapters (template-parts/lsf-guide.php) */
html body .lv .lv-card { padding: 16px; border-radius: 20px; }
html body .lv .lv-prose p { font-size: 14px; line-height: 1.9; }
html body .lv .lv-prose--cols { columns: 1; }
html body .lv .lv-time { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
html body .lv .lv-time li { padding: 0 0 16px; padding-inline-start: 22px; }
html body .lv .lv-time li::before { top: 6px; bottom: 0; inset-inline: 5px auto; width: 2px; height: auto; }
html body .lv .lv-time li:last-child::before { display: none; }
html body .lv .lv-time li::after { top: 2px; width: 12px; height: 12px; }
html body .lv .lv-time b { font-size: 15px; }
html body .lv .lv-time p { margin-top: 4px; font-size: 13px; line-height: 1.85; }
html body .lv .lv-parts,
html body .lv .lv-uses { grid-template-columns: 1fr 1fr; gap: 10px; }
html body .lv .lv-part,
html body .lv .lv-use { gap: 6px; padding: 12px; border-radius: 16px; }
html body .lv .lv-part svg { width: 52px; height: 52px; margin-bottom: 4px; }
html body .lv .lv-part b,
html body .lv .lv-use b { font-size: 14px; line-height: 1.5; }
html body .lv .lv-part p,
html body .lv .lv-use p { font-size: 12.5px; line-height: 1.75; }
html body .lv .lv-notes { grid-template-columns: 1fr; gap: 10px; }
html body .lv .lv-note { padding: 16px; border-radius: 20px; }
html body .ab.lv .lv-note h2 { margin-bottom: 10px; font-size: 19px; line-height: 1.5; }
html body .lv .lv-note p { font-size: 14px; line-height: 1.9; }
html body .lv .lv-topics { grid-template-columns: 1fr; }
html body .lv .lv-topics li { padding-block: 12px; }
html body .lv .lv-topics b { font-size: 14px; }
html body .lv .lv-topics p { font-size: 13px; line-height: 1.8; }
html body .lv .lv-callout { margin-top: 16px; font-size: 14px; }
html body .lv .lv-table-wrap { border-radius: 16px; }
html body .lv .lv-table { font-size: 12.5px; }
html body .lv .lv-table th,
html body .lv .lv-table td { padding: 10px 8px; }
html body .lv .lv-table-note { font-size: 12.5px; line-height: 1.8; }
html body .lv .lv-sign { margin-top: 16px; padding: 20px 16px; border-radius: 20px; font-size: 19px; }

/* ── Services · Architecture Studio feature (template-parts/studio-zoom.php) ── */
html body .sz .sz-intro { width: auto; margin: 0; padding: 72px 20px 28px; gap: 14px; }
html body .sz .sz-eyebrow { font-size: 12px; }
html body .sz .sz-intro h2 { font-size: 28px; line-height: 1.4; }
html body .sz .sz-intro p { font-size: 14px; }
html body .sz .sz-facts dd { font-size: 22px; }
html body .sz .sz-end { padding-block: 24px calc(96px + env(safe-area-inset-bottom, 0px)); }
html body .sz .sz-end__inner { width: auto; margin: 0; padding: 0 20px; gap: 16px; }
html body .sz .sz-end h3 { font-size: 28px; }
html body .sz .sz-end li { font-size: 11px; }
html body .sz .sz-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
html body .sz .sz-btn { min-height: 48px; border-radius: 14px; font-size: 15px; }

/* ── FAQ (template-parts/faq.php, every page): the Services page's phone rules ── */
html body .fq { padding-block: 36px; }
html body .fq .fq__grid { width: auto; margin: 0; padding: 0 20px; gap: 16px; }
html body .fq .fq__eyebrow { margin: 0 0 6px; font-size: 12px; }
html body .fq .fq__intro h2 { margin: 0; font-size: 24px; line-height: 1.45; letter-spacing: 0; }
html body .fq.is-ltr .fq__intro h2 { line-height: 1.2; }
html body .fq .fq__intro p:not(.fq__eyebrow) { font-size: 14px; line-height: 1.85; }
html body .fq .fq__intro .fq__link { margin-top: 12px; font-size: 14px; }
html body .fq .fq__item { transition: background-color .25s; }
html body .fq .fq__item summary { gap: 10px; padding-block: 14px; }
html body .fq .fq__num { min-width: 20px; font-size: 11px; }
html body .fq .fq__q { font-size: 15px; line-height: 1.6; }
html body .fq .fq__toggle { width: 26px; height: 26px; }
html body .fq .fq__a { padding: 0 0 14px; }
html body .fq .fq__a p { font-size: 14px; line-height: 1.9; }
html body .fq .fq__item[open] { margin-inline: -12px; padding-inline: 12px; border-radius: 14px; background: color-mix(in oklch, var(--fq-navy) 5%, transparent); }
