@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b0c0c;
  --ink-2: #151616;
  --paper: #f1eee7;
  --white: #fff;
  --red: #b20d1b;
  --red-dark: #8d0814;
  --muted: #62605b;
  --line: rgba(11, 12, 12, 0.15);
  --line-light: rgba(255, 255, 255, 0.18);
  --gutter: clamp(20px, 4vw, 64px);
  --shell: min(1440px, calc(100vw - var(--gutter) * 2));
  --header: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.menu-open { padding-right: var(--menu-scrollbar-compensation, 0px); }
html.menu-open .site-header { padding-right: calc(var(--gutter) + var(--menu-scrollbar-compensation, 0px)); }

::selection { background: var(--red); color: var(--white); }

img,
video,
picture,
canvas { display: block; max-width: 100%; }

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

button,
summary,
a { -webkit-tap-highlight-color: transparent; }

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure,
blockquote { margin: 0; }

ul,
ol { padding: 0; }

h1,
h2,
h3,
h4 {
  font-style: normal;
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

main { min-height: 70vh; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.shell { width: var(--shell); margin-inline: auto; }

.mono,
.kicker,
.footer-label {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker {
  color: var(--red);
  font-size: 0.72rem;
  line-height: 1.3;
}

.kicker-light { color: rgba(255, 255, 255, 0.58); }

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 8px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--white);
  font-weight: 650;
  transition: transform 0.2s;
}

.skip-link:focus { transform: none; }

/* Exact master logo and navigation */
.catalog-conditions { padding-block: 24px; }
.catalog-conditions details { border-block: 1px solid var(--line); padding: 20px 0; }
.catalog-conditions summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.catalog-conditions ul { max-width: 980px; padding-left: 20px; font-size: 16px; line-height: 1.6; }
.catalog-conditions li { margin-top: 12px; }
.shop-dialog-config { padding: 20px clamp(20px, 3vw, 38px); display: grid; gap: 14px; border-block: 1px solid var(--line); background: var(--paper); }
.shop-dialog-config label { display: grid; gap: 6px; min-width: 0; }
.shop-dialog-config label[hidden] { display: none; }
.shop-dialog-config select { width: 100%; min-width: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); font: inherit; font-size: 16px; color: var(--ink); }
.shop-dialog-config p { margin: 0; font-size: 16px; line-height: 1.5; }
.shop-dialog-config small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.shop-dialog-body ul { padding-left: 20px; margin: 0; font-size: 16px; line-height: 1.55; }
.shop-dialog-body li + li { margin-top: 8px; }
.shop-dialog-body section > span { display: block; margin-bottom: 10px; }
.shop-dialog-order { position: sticky; bottom: 0; z-index: 2; background: var(--white); }
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.6vw, 42px);
  height: var(--header);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  position: relative;
  /* Below the continuous progress line, and below the open menu. */
  z-index: 3;
  display: grid;
  height: 100%;
  grid-column: 2;
  place-items: center;
  padding-inline: clamp(18px, 2vw, 30px);
  border-inline: 1px solid rgba(17, 17, 17, 0.11);
  background: var(--white);
}

.brand-asset {
  position: relative;
  display: block;
  width: clamp(144px, 11vw, 160px);
  aspect-ratio: 1500 / 560;
  overflow: hidden;
  background: var(--white);
}

.site-header::after {
  position: absolute;
  /* Paint above the logo so its surface cannot clip or blur this edge. */
  z-index: 4;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  pointer-events: none;
  background: var(--red);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: 0 50%;
}
.desktop-nav,
.header-right,
.header-action { position: relative; z-index: 2; }

.brand-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.castle-mark {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #b20d1b;
}

.castle-mark svg { display: block; width: 100%; height: 100%; shape-rendering: geometricPrecision; }
.castle-tile-track { transform-box: fill-box; transform-origin: center; backface-visibility: hidden; will-change: transform; }
.castle-tile-square { transform-box: fill-box; transform-origin: center; }

.brand-castle {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.brand-asset.is-playing .brand-castle { opacity: 1; }
.brand-asset.is-playing .castle-tile-track-king { animation: castle-square-king 0.64s cubic-bezier(0.32, 0, 0.3, 1) both; }
.brand-asset.is-playing .castle-tile-track-rook { animation: castle-square-rook 0.64s cubic-bezier(0.32, 0, 0.3, 1) both; }
html.is-route-leaving .route-loader-mark .castle-tile-track-king { animation: route-swap-king 0.28s cubic-bezier(0.32, 0, 0.3, 1) 0.025s both; }
html.is-route-leaving .route-loader-mark .castle-tile-track-rook { animation: route-swap-rook 0.28s cubic-bezier(0.32, 0, 0.3, 1) 0.025s both; }
html.is-route-entering .route-loader-mark .castle-tile-track-king { transform: translate(100%, 100%); }
html.is-route-entering .route-loader-mark .castle-tile-track-rook { transform: translate(-100%, -100%); }

@keyframes route-swap-king {
  0% { transform: translate(0, 0); }
  50% { transform: translate(0, 100%); }
  100% { transform: translate(100%, 100%); }
}
@keyframes route-swap-rook {
  0% { transform: translate(0, 0); }
  50% { transform: translate(0, -100%); }
  100% { transform: translate(-100%, -100%); }
}

@keyframes castle-square-king {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(0, 100%); }
  50% { transform: translate(100%, 100%); }
  75% { transform: translate(100%, 0); }
}

@keyframes castle-square-rook {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(0, -100%); }
  50% { transform: translate(-100%, -100%); }
  75% { transform: translate(-100%, 0); }
}

/* Opening lockup: a cinematic castling move resolves into the master square mark. */
.brand-intro { display: none; }

html.has-brand-intro .brand-intro {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 49%, rgba(178, 13, 27, 0.055), transparent 31%),
    var(--white);
  opacity: 1;
  clip-path: inset(0);
  transition: clip-path 0.4s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.2s linear;
}

html.is-brand-intro-active,
html.is-brand-intro-active body { overflow: hidden; }

.brand-intro-stage {
  position: relative;
  width: min(820px, 74vw);
  width: min(820px, 74vw, calc(64svh * 2.6786));
  aspect-ratio: 1500 / 560;
  isolation: isolate;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.22s ease, transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keep the SVG stage sized on mobile browsers without svh/aspect-ratio. */
.brand-intro-stage::before { content: ""; display: block; padding-top: 37.333333%; }

.brand-intro.is-armed .brand-intro-stage {
  opacity: 1;
  transform: none;
}

.brand-intro-vector,
.brand-intro-lockup {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.brand-intro-vector {
  z-index: 2;
  overflow: visible;
  shape-rendering: geometricPrecision;
  transform: translateX(31.333%);
  transform-origin: center;
  transition: transform 0.46s cubic-bezier(0.65, 0, 0.35, 1), filter 0.25s ease;
}

.intro-mark-scene {
  transform: scale(1.12);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.46s cubic-bezier(0.65, 0, 0.35, 1);
}

.intro-mark-frame {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 31.333%;
  display: block;
  width: 37.334%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(178, 13, 27, 0.34);
  opacity: 0;
  box-shadow: 0 22px 54px rgba(11, 12, 12, 0.08);
  transform: scale(1.12);
  transition: left 0.46s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease, transform 0.46s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.intro-mark-frame::before,
.intro-mark-frame::after {
  position: absolute;
  z-index: 2;
  width: 14%;
  height: 14%;
  content: "";
  pointer-events: none;
}

.intro-mark-frame::before { top: -1px; left: -1px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.intro-mark-frame::after { right: -1px; bottom: -1px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); }
.brand-intro.is-armed .intro-mark-frame { opacity: 1; }

.intro-castle-trace,
.intro-mark-glint {
  position: absolute;
  z-index: 3;
  display: block;
  pointer-events: none;
}

.intro-castle-trace {
  top: 49.9%;
  right: 8%;
  left: 8%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--red) 18% 82%, transparent);
  transform: scaleX(0);
  transform-origin: center;
}

.brand-intro.is-castling .intro-castle-trace {
  opacity: 0.86;
  transform: scaleX(1);
  transition: opacity 0.08s linear, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-intro.is-castled .intro-castle-trace {
  opacity: 0;
  transform: scaleX(0.22);
  transition: opacity 0.16s linear, transform 0.18s ease-in;
}

.intro-mark-glint {
  inset: -30% auto -30% -48%;
  width: 23%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-14deg);
}

.brand-intro.is-mark-resolved .intro-mark-glint {
  animation: intro-mark-glint 0.48s cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.intro-mark-base {
  opacity: 0;
  clip-path: inset(49%);
  transform: scale(0.9);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.1s linear, clip-path 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-intro.is-mark-ready .intro-mark-base { opacity: 1; clip-path: inset(0); transform: none; }
.intro-piece {
  opacity: 0;
  filter: drop-shadow(0 7px 12px rgba(11, 12, 12, 0.12));
  transition: opacity 0.18s ease, filter 0.28s ease;
  will-change: transform;
}

.brand-intro.is-figures-ready .intro-piece { opacity: 1; }
.brand-intro.is-mark-resolved .intro-piece { filter: none; }

.brand-intro.is-mark-ready .intro-mark-frame {
  border-color: rgba(178, 13, 27, 0.7);
  box-shadow: 0 26px 64px rgba(11, 12, 12, 0.12), 0 0 0 1px rgba(178, 13, 27, 0.06);
}

.brand-intro.is-lockup-ready .brand-intro-vector { transform: none; }
.brand-intro.is-lockup-ready .intro-mark-scene { transform: scale(1); }
.brand-intro.is-lockup-ready .intro-mark-frame { left: 0; border-color: transparent; opacity: 0; box-shadow: none; transform: scale(1); }

.intro-divider {
  opacity: 0;
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.12s linear, transform 0.28s var(--ease);
}

.brand-intro.is-divider-ready .intro-divider { opacity: 1; transform: none; }

.brand-intro-lockup {
  z-index: 3;
  opacity: 0;
  clip-path: inset(0 58.8% 0 41.2%);
  transform: translateX(-10px);
  transition: opacity 0.12s linear, clip-path 0.48s cubic-bezier(0.16, 1, 0.3, 1), transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-intro.is-wordmark-ready .brand-intro-lockup { opacity: 1; clip-path: inset(0 0 0 41.2%); transform: none; }
html.has-brand-intro .brand-intro.is-complete { opacity: 1; clip-path: inset(0 0 100% 0); pointer-events: none; }

@keyframes intro-mark-glint {
  0% { left: -48%; opacity: 0; }
  18% { opacity: 0.66; }
  78% { opacity: 0.34; }
  100% { left: 128%; opacity: 0; }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.desktop-nav-left { grid-column: 1; justify-self: start; }
.header-right {
  z-index: 1005;
  display: flex;
  grid-column: 3;
  min-width: 0;
  align-items: center;
  justify-self: end;
  gap: clamp(18px, 2vw, 32px);
}
.desktop-nav-right { justify-content: flex-end; }

.desktop-nav a,
.header-action {
  position: relative;
  display: grid;
  min-height: 46px;
  align-content: center;
  padding: 11px 0 6px 14px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.desktop-nav a::before {
  position: absolute;
  top: 3px;
  left: 0;
  content: attr(data-nav-cell);
  color: rgba(17, 17, 17, 0.46);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.48rem;
  font-weight: 540;
  letter-spacing: 0;
  text-transform: lowercase;
  transition: color 0.22s ease, transform 0.22s var(--ease);
}

.desktop-nav a:hover::before,
.desktop-nav a[aria-current="page"]::before {
  color: var(--red);
  transform: translateY(-2px);
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 14px;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-action {
  border-bottom: 1px solid var(--ink);
}

.header-cart {
  position: relative;
  z-index: 1003;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding-left: clamp(14px, 1.4vw, 22px);
  border-left: 1px solid rgba(17, 17, 17, 0.13);
  color: var(--ink);
}

.header-cart-icon {
  position: relative;
  display: block;
  width: 46px;
  height: 36px;
}

.cart-piece-fan { position: absolute; inset: 1px 2px 0; display: block; }
.cart-piece {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: grid;
  width: 25px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: normal;
  line-height: 1;
  transform-origin: 50% 100%;
  transition: transform 0.34s var(--ease), color 0.34s var(--ease), background 0.34s var(--ease);
}
.cart-piece-rook { z-index: 1; color: var(--ink); transform: translateX(-92%) rotate(-14deg); }
.cart-piece-bishop { z-index: 2; bottom: 2px; color: var(--red); transform: translateX(-52%) rotate(0); }
.cart-piece-knight { z-index: 3; color: var(--white); background: var(--ink); transform: translateX(-12%) rotate(14deg); }
.header-cart:hover .cart-piece-rook { transform: translate(-108%, -3px) rotate(-20deg); }
.header-cart:hover .cart-piece-bishop { transform: translate(-52%, -7px) rotate(0); }
.header-cart:hover .cart-piece-knight { transform: translate(4%, -3px) rotate(20deg); }
.header-cart:hover .cart-piece-rook,
.header-cart:hover .cart-piece-knight { color: var(--red); }
.header-cart:hover .cart-piece-knight { background: var(--white); }

.header-cart-icon > b {
  position: absolute;
  top: -6px;
  right: -7px;
  display: grid;
  min-width: 21px;
  height: 21px;
  padding-inline: 5px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: #77736d;
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.24s var(--ease), transform 0.24s var(--ease);
}

.header-cart-label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-cart-copy { display: grid; gap: 2px; }
.header-cart-copy small {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 520;
  line-height: 1;
  white-space: nowrap;
}

.header-cart.has-items .header-cart-icon > b { background: var(--ink); }
.header-cart[aria-current="page"] .header-cart-label,
.header-cart:hover .header-cart-label { color: var(--red); }
.header-cart.is-updated .cart-piece-fan { animation: cart-fan-shuffle 0.64s var(--ease) both; }
.header-cart.is-updated .header-cart-icon > b { animation: cart-badge-pop 0.64s var(--ease) both; }

@keyframes cart-fan-shuffle {
  0%, 100% { transform: translateY(0) rotate(0); }
  38% { transform: translateY(-4px) rotate(-5deg); }
  68% { transform: translateY(-1px) rotate(3deg); }
}

@keyframes cart-badge-pop {
  0%, 100% { transform: scale(1); }
  38% { transform: scale(1.26); }
}

.menu-toggle {
  position: relative;
  z-index: 1005;
  display: inline-flex;
  grid-column: 1;
  width: max-content;
  height: 100%;
  min-width: 100px;
  align-items: center;
  justify-self: start;
  gap: 11px;
  padding: 0 16px 0 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-icon {
  display: grid;
  width: 25px;
  height: 25px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  transform-origin: 50% 50%;
  transition: transform 0.3s var(--ease);
}

.menu-toggle-icon i {
  display: block;
  background: var(--ink);
  transition: background 0.22s ease, transform 0.3s var(--ease);
}
.menu-toggle-icon i:nth-child(2),
.menu-toggle-icon i:nth-child(3) { background: var(--paper); border: 1px solid rgba(17, 17, 17, 0.28); }
.menu-toggle-label { font-size: 0.68rem; font-weight: 680; letter-spacing: 0.075em; text-transform: uppercase; }
.menu-toggle:hover .menu-toggle-icon { transform: rotate(90deg); }
.menu-toggle[aria-expanded="true"] { color: var(--white); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { transform: rotate(45deg) scale(0.86); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i { border: 0; background: var(--white); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(2),
.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(3) { background: var(--ink); }

.mobile-menu {
  --menu-panel-width: min(58vw, 1100px);
  --menu-tile-size: max(min(4.834vw, 91.667px), 8.334dvh);
  position: fixed;
  z-index: 1004;
  inset: 0 auto 0 0;
  display: block;
  width: var(--menu-panel-width);
  height: 100dvh;
  min-height: 0;
  visibility: hidden;
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  pointer-events: none;
  background: transparent;
  box-shadow: 22px 0 52px rgba(11, 12, 12, 0);
  transition: visibility 0s linear 0.34s, box-shadow 0.28s ease;
}

.mobile-menu::-webkit-scrollbar { display: none; }

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  box-shadow: 22px 0 52px rgba(11, 12, 12, 0.13);
  transition-delay: 0s;
}

.menu-board-wipe {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, var(--menu-tile-size));
  grid-auto-rows: var(--menu-tile-size);
  align-content: start;
  overflow: hidden;
}

.menu-board-wipe i {
  display: block;
  background: #f3f0e9;
  opacity: 0;
  transform: scale(0.04);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  transition: transform 0.18s cubic-bezier(0.42, 0, 0.2, 1), opacity 0.12s linear;
}

.mobile-menu.is-open .menu-board-wipe i {
  opacity: 1;
  transform: scale(1.06);
  transition-duration: 0.24s;
  transition-delay: var(--tile-delay);
}

.menu-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  margin: 0;
  padding: calc(var(--header) + clamp(18px, 3vh, 40px)) clamp(24px, 4.5vw, 76px) clamp(24px, 4vh, 52px);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.14s linear;
}

.mobile-menu.is-open .menu-panel {
  opacity: 1;
  transition-delay: 0.14s;
}

.site-header.menu-active .menu-toggle[aria-expanded="true"] { color: var(--ink); }
.site-header.menu-active .menu-toggle[aria-expanded="true"] .menu-toggle-icon i { border: 0; background: var(--ink); }
.site-header.menu-active .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(2),
.site-header.menu-active .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(3) { border: 1px solid rgba(17, 17, 17, 0.28); background: var(--paper); }

.mobile-menu nav { display: grid; width: min(100%, 700px); align-content: center; }
.mobile-menu nav a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: clamp(8px, 1vh, 12px) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.17);
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(calc(-100% - clamp(64px, 10vw, 180px)), 0, 0);
  will-change: transform, opacity;
  transition: color 0.2s ease, opacity 0.18s linear, transform 0.38s var(--ease), filter 0.24s ease;
}
.mobile-menu.is-open nav a { opacity: 1; filter: none; transform: none; transition-delay: calc(0.14s + var(--menu-link-index) * 52ms); }
.mobile-menu nav a > span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; }
.mobile-menu nav a strong { font-size: clamp(1.65rem, 3.25vw, 3.15rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.94; }
.mobile-menu nav a > b { font-size: 1.1rem; font-weight: 400; transition: transform 0.22s var(--ease); }
.mobile-menu nav a:hover,
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.mobile-menu nav a:hover > b { transform: translate(4px, -4px); }

/* Brand route transition */
.route-transition {
  position: fixed;
  z-index: 4000;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  background: var(--white);
  transition: opacity 0.08s linear, visibility 0s linear 0.08s;
}

.route-loader {
  display: grid;
  width: 112px;
  place-items: center;
  gap: 13px;
  opacity: 0;
  transform: translateY(5px) scale(0.96);
  transition: opacity 0.08s linear, transform 0.16s var(--ease);
}

.route-loader-mark {
  width: 76px;
  box-shadow: 0 18px 54px rgba(34, 10, 12, 0.12);
}

.route-loader > span:last-child {
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

html.is-route-leaving .route-transition,
html.is-route-entering .route-transition {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

html.is-route-leaving .route-loader,
html.is-route-entering .route-loader { opacity: 1; transform: none; }

html.is-route-entering .route-transition { animation: route-enter 0.14s 0.04s both; }

@keyframes route-enter { to { opacity: 0; visibility: hidden; } }

/* Buttons */
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 690;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.button b,
.text-link b { font-size: 1rem; font-weight: 400; transition: transform 0.25s var(--ease); }
.button:hover b,
.text-link:hover b { transform: translate(3px, -3px); }

.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: var(--red-dark); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--paper); }
.button-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.button-ghost:hover,
.button-glass:hover { background: var(--white); color: var(--ink); }
.button-glass { border-color: rgba(255, 255, 255, 0.35); background: rgba(11, 12, 12, 0.25); color: var(--white); backdrop-filter: blur(8px); }
.button-outline { border-color: var(--line); }
.button-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.text-link { min-height: auto; padding: 0 0 8px; border-bottom-color: currentColor; }
.red-link { color: var(--red); }

/* Interactive hero */
.home-hero {
  --rain-tail: clamp(140px, 16vh, 180px);
  position: relative;
  z-index: 1;
  height: calc(100svh - var(--header));
  min-height: 680px;
  margin-top: var(--header);
  overflow: visible;
  background: var(--paper);
  color: var(--ink);
}

.hero-rain {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + var(--rain-tail));
  max-width: none;
  opacity: 0.9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--rain-tail)), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - var(--rain-tail)), transparent 100%);
}

.hero-shade {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: calc(100% + var(--rain-tail));
  pointer-events: none;
  background: linear-gradient(90deg, rgba(241, 238, 231, 0.94) 0%, rgba(241, 238, 231, 0.89) 35%, rgba(241, 238, 231, 0.66) 56%, rgba(241, 238, 231, 0.2) 78%, rgba(241, 238, 231, 0.04) 100%), linear-gradient(0deg, rgba(241, 238, 231, 0.9), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  height: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: 24px;
  padding-block: clamp(52px, 7vh, 86px) 28px;
}

.hero-content h1 {
  grid-column: 1 / 9;
  grid-row: 1;
  font-size: clamp(4rem, 7.3vw, 7rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-copy {
  display: grid;
  grid-column: 8 / 13;
  grid-row: 2;
  align-self: end;
  gap: 16px;
  max-width: 590px;
  margin-bottom: clamp(28px, 5vh, 56px);
  color: rgba(11, 12, 12, 0.72);
  font-size: clamp(0.94rem, 1.25vw, 1.12rem);
}

.hero-thesis { color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.hero-thesis strong { color: var(--red); font-weight: 650; }

.hero-actions { display: flex; grid-column: 1 / 9; grid-row: 3; gap: 10px; align-items: center; }

.motion-toggle {
  position: absolute;
  z-index: 6;
  right: var(--gutter);
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(11, 12, 12, 0.66);
  font-size: 0.7rem;
  cursor: pointer;
}

.motion-toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(178, 13, 27, 0.16); }
.motion-toggle.is-paused i { background: var(--ink); }

.home-hero .button-glass { border-color: rgba(11, 12, 12, 0.28); background: rgba(255, 255, 255, 0.72); color: var(--ink); backdrop-filter: blur(8px); }
.home-hero .button-glass:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* Shared sections */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(36px, 8vw, 140px);
  margin-bottom: clamp(54px, 6vw, 88px);
}

.section-head .kicker { grid-column: 1 / -1; margin-bottom: -14px; }
.section-head h2 { max-width: 900px; font-size: clamp(2.7rem, 5vw, 4.7rem); }
.section-head h2,
.product-head h2,
.contact-band h2 { text-wrap: balance; }
.section-head > p:last-child { align-self: end; max-width: 520px; color: var(--muted); font-size: 1.02rem; }
.section-head-light { color: var(--white); }
.section-head-light > p:last-child { color: rgba(255, 255, 255, 0.62); }

.specialties,
.one-off,
.team-preview,
.faq-section,
.services-page,
.tariffs,
.reserve-detail,
.team-page,
.profile,
.contact-page,
.requisites,
.legal-document { padding-block: clamp(78px, 8vw, 122px); }

.specialties { position: relative; z-index: 3; padding-block: clamp(78px, 6.5vw, 96px); }

.specialty-list,
.service-list,
.faq-list { border-bottom: 1px solid var(--line); }

.specialty-row {
  display: grid;
  grid-template-columns: 56px minmax(260px, 0.9fr) minmax(330px, 1.1fr) 24px;
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  min-height: 136px;
  border-top: 1px solid var(--line);
  transition: color 0.28s, padding 0.28s var(--ease);
}

.specialty-row:hover { padding-inline: 12px; color: var(--red); }
.specialty-row .mono { color: var(--muted); font-size: 0.72rem; }
.specialty-row h3 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.specialty-row > div { display: grid; gap: 16px; color: var(--muted); }
.specialty-row small { color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; letter-spacing: 0.055em; text-transform: uppercase; }
.specialty-row > b { font-size: 1.25rem; font-weight: 400; }

/* Flagship product */
.product { padding-block: clamp(82px, 7.5vw, 108px); background: var(--ink); color: var(--white); }
.product-head { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(50px, 10vw, 160px); }
.product-head h2 { margin-top: 20px; font-size: clamp(3rem, 6vw, 5.8rem); }
.product-head > div:last-child { display: grid; align-content: end; gap: 34px; color: rgba(255, 255, 255, 0.7); }
.product-from { color: var(--white); font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; text-transform: uppercase; }
.product-from b { margin-inline: 6px; color: #ff4b59; font-family: "Onest", sans-serif; font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 500; letter-spacing: -0.04em; }

.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(58px, 7vw, 92px); border-block: 1px solid var(--line-light); }
.product-facts span { padding: 24px 0; border-right: 1px solid var(--line-light); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.product-facts span:last-child { border-right: 0; }

.plan-rail { margin-top: 28px; }
.plan-line { position: relative; display: grid; grid-template-columns: 0.7fr 1.2fr 0.8fr 0.45fr; gap: 24px; align-items: center; min-height: 78px; border-bottom: 1px solid var(--line-light); }
.plan-line:first-child { border-top: 1px solid var(--line-light); }
.plan-line > span,
.plan-line > i { color: rgba(255, 255, 255, 0.52); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; }
.plan-line > strong { font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 510; letter-spacing: -0.03em; }
.plan-line > b { font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 500; }
.plan-line > b small { margin-left: 5px; color: rgba(255, 255, 255, 0.48); font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; font-weight: 400; text-transform: uppercase; }
.plan-line-featured::before { position: absolute; top: 0; bottom: 0; left: -12px; width: 3px; content: ""; background: var(--red); }
.plan-line-featured > span { color: #ff4b59; }

.reserve-quote { display: grid; grid-template-columns: 0.35fr 1.25fr 0.7fr; gap: clamp(28px, 5vw, 70px); margin-top: 48px; padding: 34px 0 34px 28px; border-left: 3px solid var(--red); background: rgba(255, 255, 255, 0.03); }
.reserve-quote > span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.reserve-quote p { font-size: clamp(1.35rem, 2.3vw, 2.15rem); font-weight: 480; letter-spacing: -0.03em; line-height: 1.18; }
.reserve-quote small { color: rgba(255, 255, 255, 0.52); line-height: 1.5; }
.product-actions { display: flex; gap: 10px; margin-top: 28px; }

.cost-compare { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; margin-top: 62px; padding-top: 48px; border-top: 1px solid var(--line-light); }
.cost-compare h3 { margin-top: 20px; font-size: clamp(2rem, 3.6vw, 3.6rem); }
.cost-numbers { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.cost-numbers > div:not(.cost-vs) { display: grid; gap: 8px; }
.cost-numbers span,
.cost-numbers small { color: rgba(255, 255, 255, 0.5); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; }
.cost-numbers strong { font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 490; letter-spacing: -0.04em; white-space: nowrap; }
.cost-numbers > div:nth-child(3) strong { color: #ff4b59; }
.cost-vs { color: rgba(255, 255, 255, 0.35); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.cost-numbers > p { grid-column: 1 / -1; max-width: 650px; margin-top: 12px; color: rgba(255, 255, 255, 0.5); font-size: 0.86rem; }

/* One-off accordions */
.service-row { border-top: 1px solid var(--line); }
.service-row summary { display: grid; grid-template-columns: 56px 1fr minmax(300px, 0.78fr) 24px; gap: 30px; align-items: center; min-height: 132px; cursor: pointer; list-style: none; }
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary .mono { color: var(--muted); font-size: 0.7rem; }
.service-row summary h3 { font-size: clamp(1.55rem, 2.7vw, 2.55rem); }
.service-row summary p { color: var(--muted); }
.service-row summary b { font-size: 1.55rem; font-weight: 300; transition: transform 0.3s var(--ease); }
.service-row[open] summary b { transform: rotate(45deg); color: var(--red); }
.service-row-body { display: grid; grid-template-columns: 56px 1fr minmax(300px, 0.78fr) 24px; gap: 30px; padding: 0 0 44px; }
.service-row-body > p { grid-column: 2; color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; }
.service-row-body ul { grid-column: 3; display: grid; gap: 12px; list-style: none; }
.service-row-body li { position: relative; padding-left: 18px; }
.service-row-body li::before { position: absolute; top: 0.7em; left: 0; width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--red); }
.service-row-body small { grid-column: 3; color: var(--muted); }
.one-off > .text-link { margin-top: 36px; }

/* Team */
.advisor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px); }
.advisor-photo { display: block; height: clamp(400px, 40vw, 570px); overflow: hidden; background: #d8d4ce; }
.advisor-photo picture,
.advisor-photo img { width: 100%; height: 100%; }
.advisor-photo img { object-fit: cover; transition: transform 0.7s var(--ease); }
.advisor-card:first-child .advisor-photo img { object-position: 58% 44%; }
.advisor-photo-savva img { object-position: 50% 30% !important; }
.advisor-card:last-child .advisor-photo img { object-position: 50% 26%; }
.advisor-photo:hover img { transform: scale(1.018); }
.advisor-info { display: grid; grid-template-columns: 0.35fr 1fr; gap: 12px 24px; padding-top: 24px; }
.advisor-info > span { grid-row: 1 / 3; color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.advisor-info h3 { font-size: clamp(2rem, 3.7vw, 3.5rem); }
.advisor-info p { max-width: 610px; color: var(--muted); }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 56px 1fr 24px; gap: 24px; align-items: center; min-height: 82px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .mono { color: var(--muted); font-size: 0.68rem; }
.faq-item summary strong { font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 560; }
.faq-item summary b { font-size: 1.4rem; font-weight: 300; transition: transform 0.25s var(--ease); }
.faq-item[open] summary b { transform: rotate(45deg); color: var(--red); }
.faq-item > p { max-width: 850px; padding: 0 40px 30px 80px; color: var(--muted); }
.faq-section > .text-link { margin-top: 34px; }

/* Contact band and footer */
.contact-band { padding-block: clamp(72px, 8vw, 114px); background: var(--red); color: var(--white); }
.contact-band h2 { max-width: 1000px; margin: 0 0 44px; font-size: clamp(2.8rem, 5.7vw, 5.4rem); }
.contact-band .shell > div { display: flex; gap: 10px; }

.site-footer { padding-top: 70px; background: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 0.65fr); gap: 48px; padding-bottom: 70px; }
.footer-main > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-brand { min-width: 0; }
.footer-brand p { max-width: 250px; margin-top: 18px; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.footer-brand img { display: block; width: min(190px, 100%); max-width: 100%; height: auto; aspect-ratio: 1500 / 560; object-fit: contain; object-position: left center; }
.footer-label { margin-bottom: 10px; color: var(--muted); font-size: 0.66rem; }
.footer-main a { font-size: 0.88rem; }
.footer-main a:hover { color: var(--red); }
.footer-meta { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: 40px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.footer-meta p { max-width: 850px; }

/* Inner-page introductions */
.page-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(54px, 10vw, 160px);
  align-items: end;
  margin-top: var(--header);
  padding-block: clamp(92px, 10vw, 154px) clamp(76px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.page-intro h1 { max-width: 930px; margin-top: 22px; font-size: clamp(3.4rem, 6.5vw, 6.4rem); }
.page-intro-copy { display: grid; gap: 28px; color: var(--muted); font-size: 1.05rem; }
.price-intro { color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; text-transform: uppercase; }
.price-intro strong { display: block; margin-top: 6px; color: var(--red); font-family: "Onest", sans-serif; font-size: 2.5rem; font-weight: 520; letter-spacing: -0.04em; }

/* Store */
.service-shop { padding-block: clamp(68px, 8vw, 116px); scroll-margin-top: calc(var(--header) + 14px); }
.shop-heading { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(46px, 9vw, 130px); align-items: end; margin-bottom: 48px; }
.shop-heading h2 { margin-top: 18px; font-size: clamp(2.8rem, 5vw, 5rem); }
.shop-heading > p { max-width: 560px; color: var(--muted); }
.shop-toolbar {
  position: sticky;
  z-index: 30;
  top: var(--header);
  display: grid;
  grid-template-columns: 1fr minmax(230px, 320px);
  gap: 22px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(12px);
}
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-filters button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}
.shop-filters button:hover { border-color: var(--ink); color: var(--ink); }
.shop-filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.shop-search { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; min-height: 42px; padding: 0 12px; border-bottom: 1px solid var(--ink); }
.shop-search span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.63rem; text-transform: uppercase; }
.shop-search input { min-width: 0; padding: 9px 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.shop-result-line { display: flex; align-items: center; justify-content: space-between; padding: 24px 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.67rem; text-transform: uppercase; }
.shop-result-line strong { color: var(--ink); font-weight: 500; }
.shop-result-line b { color: var(--red); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.shop-card { display: grid; min-height: 390px; grid-template-rows: auto 1fr auto; padding: 24px; background: var(--white); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.shop-card:hover { position: relative; z-index: 2; border-color: rgba(178, 13, 27, 0.52); box-shadow: 0 24px 50px rgba(17, 17, 17, 0.1); transform: translateY(-4px); }
.shop-card-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; text-transform: uppercase; }
.shop-card-meta b { color: var(--red); font-weight: 500; }
.shop-card-copy { padding-block: 42px 32px; }
.shop-card-copy > p { margin-bottom: 12px; color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.shop-card-copy > .shop-card-name { margin-bottom: 18px; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.05; }
.shop-card-copy > span { color: var(--muted); font-size: 0.84rem; line-height: 1.55; }
.shop-card-footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.shop-card-footer > div { display: grid; gap: 5px; }
.shop-card-footer strong { font-size: 1.05rem; font-weight: 560; }
.shop-card-footer small { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; text-transform: uppercase; }
.shop-add { display: flex; min-height: 42px; align-items: center; gap: 14px; padding: 9px 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 0.72rem; font-weight: 600; cursor: pointer; transition: background 0.24s var(--ease), color 0.24s var(--ease); }
.shop-add b { color: #ff4b59; font-size: 1.05rem; }
.shop-add:hover,
.shop-add.is-added { border-color: var(--red); background: var(--red); }
.shop-add:hover b,
.shop-add.is-added b { color: var(--white); }
.shop-no-results { padding: 70px 24px; border: 1px dashed var(--line); text-align: center; }
.shop-no-results strong { font-size: 1.4rem; }
.shop-no-results p { margin-top: 8px; color: var(--muted); }

/* How we work */
.work-principles,
.work-steps { padding-block: clamp(78px, 8vw, 122px); }
.work-principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.work-principles-grid article { min-height: 280px; padding: 26px; border-right: 1px solid var(--line); }
.work-principles-grid article:last-child { border-right: 0; }
.work-principles-grid span,
.work-steps li > span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; }
.work-principles-grid h3 { margin: 64px 0 16px; font-size: 1.55rem; }
.work-principles-grid p,
.work-steps p { color: var(--muted); }
.work-steps ol { border-top: 1px solid var(--line); list-style: none; }
.work-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.work-steps li div { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1.3fr); gap: 40px; align-items: baseline; }
.work-steps h3 { font-size: 1.45rem; }

/* Store 2026: compact entry, deep filtering and chess practice stamps */
.store-page .service-shop {
  margin-top: var(--header);
  padding-top: clamp(30px, 4vw, 62px);
}

.shop-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.shop-heading [data-shop-heading] { margin-top: 12px; font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: 0.9; }
.shop-cart-shortcut {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 28px;
  min-width: 220px;
  padding: 18px 0;
  border-block: 1px solid var(--ink);
  transition: color 0.22s var(--ease), padding-inline 0.22s var(--ease);
}
.shop-cart-shortcut span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.shop-cart-shortcut strong { grid-row: 2; font-size: 1.25rem; font-weight: 560; }
.shop-cart-shortcut b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--red); font-size: 1.4rem; font-weight: 400; }
.shop-cart-shortcut:hover { padding-inline: 10px; color: var(--red); }

.shop-toolbar {
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(150px, 0.62fr));
  gap: 10px 14px;
  align-items: stretch;
  padding: 12px;
}
.shop-filters { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.shop-filters button { position: relative; overflow: hidden; }
.shop-filters button::before { position: absolute; inset: auto 0 0; height: 2px; content: ""; background: var(--red); transform: scaleX(0); transition: transform 0.22s var(--ease); }
.shop-filters button:hover::before,
.shop-filters button[aria-pressed="true"]::before { transform: scaleX(1); }
.shop-search,
.shop-select { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); background: var(--white); }
.shop-search { border: 1px solid var(--ink); }
.shop-search span,
.shop-select span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; text-transform: uppercase; }
.shop-search input,
.shop-select select { min-width: 0; width: 100%; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 0.76rem; }
.shop-search:focus-within,
.shop-select:focus-within { border-color: var(--red); box-shadow: inset 0 -2px var(--red); }
.shop-result-line { padding-top: 20px; }
.shop-grid { overflow: visible; }
.shop-card {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
  padding: 24px;
}
.shop-card::before {
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(178, 13, 27, 0.115), transparent 68%);
  transform: translate(calc(var(--card-x, 50%) - 50%), calc(var(--card-y, 50%) - 50%));
  transition: opacity 0.22s;
}
.shop-card:hover::before { opacity: 1; }
.shop-card[data-practice="operations"] { --practice-color: #8b1020; }
.shop-card[data-practice="litigation"] { --practice-color: #171717; }
.shop-card[data-practice="corporate"] { --practice-color: #77634e; }
.shop-practice-stamp {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--practice-color, var(--red)) 58%, transparent);
  background: color-mix(in srgb, var(--practice-color, var(--red)) 8%, white);
  color: var(--practice-color, var(--red));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  box-shadow: inset 0 0 0 5px var(--white);
  transition: color 0.28s var(--ease), background 0.28s var(--ease), transform 0.28s var(--ease);
}
.shop-card:hover .shop-practice-stamp { color: var(--white); background: var(--practice-color, var(--red)); transform: rotate(-6deg) scale(1.04); }
.shop-card-meta { align-items: start; }
.shop-card-meta b { padding-top: 7px; }
.shop-card-copy {
  display: block;
  width: 100%;
  padding: 34px 0 28px;
  border: 0;
  outline-offset: 6px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.shop-card-copy > p { color: var(--practice-color, var(--red)); }
.shop-card-copy > .shop-card-name { transition: color 0.22s var(--ease), transform 0.22s var(--ease); }
.shop-card-copy:hover > .shop-card-name { color: var(--red); transform: translateX(5px); }
.shop-card-copy > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shop-card-copy > i { display: block; margin-top: 20px; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 0.61rem; font-style: normal; text-transform: uppercase; }
.shop-add { min-width: 105px; justify-content: space-between; }

.shop-dialog {
  width: min(840px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 120px rgba(17, 17, 17, 0.32);
}
.shop-dialog::backdrop { background: rgba(12, 12, 12, 0.68); backdrop-filter: blur(7px); }
.shop-dialog[open] { animation: shop-dialog-in 0.24s var(--ease) both; }
@keyframes shop-dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.shop-dialog-close { position: sticky; z-index: 3; top: 16px; float: right; width: 42px; height: 42px; margin: 16px 16px -58px 0; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.shop-dialog-head { padding: clamp(32px, 6vw, 70px); padding-right: 88px; border-bottom: 1px solid var(--line); }
.shop-dialog-head .shop-practice-stamp { --practice-color: var(--red); margin-bottom: 34px; }
.shop-dialog[data-practice="litigation"] .shop-practice-stamp { --practice-color: #171717; }
.shop-dialog[data-practice="corporate"] .shop-practice-stamp { --practice-color: #77634e; }
.shop-dialog-head > p { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.shop-dialog-head h2 { max-width: 650px; margin: 12px 0 24px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.98; }
.shop-dialog-head > strong { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 560; }
.shop-dialog-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.shop-dialog-body section { min-height: 180px; padding: 26px; border-right: 1px solid var(--line); }
.shop-dialog-body section:last-child { border-right: 0; }
.shop-dialog-body span,
.shop-dialog-order label > span { display: block; margin-bottom: 18px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.61rem; text-transform: uppercase; }
.shop-dialog-body p { font-size: 16px; line-height: 1.55; }
.shop-dialog-order { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: end; padding: 26px; }
.shop-dialog-order label > span { margin-bottom: 8px; }
.shop-dialog-order input { width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--line); border-radius: 0; }
.shop-dialog-order small { padding-bottom: 14px; color: var(--muted); }
.shop-dialog-order .button { border: 0; cursor: pointer; }
.shop-dialog-order .button.is-added { background: #196b42; }

/* How we work: animated decision board */
.work-hero {
  --work-x: 0;
  --work-y: 0;
  position: relative;
  min-height: min(860px, 100svh);
  margin-top: var(--header);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.work-hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, rgba(17,17,17,0.98) 0 34%, rgba(17,17,17,0.72) 55%, rgba(17,17,17,0.1)); }
.work-board { position: absolute; inset: 0 0 0 38%; transform: translate(calc(var(--work-x) * -10px), calc(var(--work-y) * -7px)) rotate(-7deg) scale(1.08); transition: transform 0.45s var(--ease); }
.work-board-grid { position: absolute; inset: -10%; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); opacity: 0.56; }
.work-board-grid i { border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.035); }
.work-board-grid i:nth-child(16n + 1), .work-board-grid i:nth-child(16n + 3), .work-board-grid i:nth-child(16n + 5), .work-board-grid i:nth-child(16n + 7), .work-board-grid i:nth-child(16n + 10), .work-board-grid i:nth-child(16n + 12), .work-board-grid i:nth-child(16n + 14), .work-board-grid i:nth-child(16n + 16) { background: rgba(178,13,27,0.42); }
.work-piece { position: absolute; z-index: 2; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.5rem, 9vw, 10rem); line-height: 1; filter: drop-shadow(0 25px 35px rgba(0,0,0,0.4)); }
.work-piece-knight { top: 16%; left: 16%; animation: work-knight 7s var(--ease) infinite; }
.work-piece-bishop { top: 57%; left: 56%; color: #ff4b59; animation: work-bishop 6s var(--ease) 0.6s infinite; }
.work-piece-rook { top: 25%; left: 72%; animation: work-rook 8s var(--ease) 1.1s infinite; }
@keyframes work-knight { 0%, 12%, 100% { transform: translate(0,0); } 28%, 42% { transform: translate(190%, 100%); } 58%, 72% { transform: translate(190%, 300%); } }
@keyframes work-bishop { 0%, 16%, 100% { transform: translate(0,0); } 40%, 64% { transform: translate(-160%,-160%); } }
@keyframes work-rook { 0%, 18%, 100% { transform: translate(0,0); } 40%, 65% { transform: translate(0,205%); } }
.work-trace { position: absolute; z-index: 1; height: 2px; opacity: 0.55; background: linear-gradient(90deg, transparent, #ff4b59, transparent); transform-origin: left; }
.work-trace-a { top: 42%; left: 17%; width: 48%; transform: rotate(31deg); animation: work-trace 3s linear infinite; }
.work-trace-b { top: 72%; left: 36%; width: 42%; transform: rotate(-34deg); animation: work-trace 3.4s linear 0.7s infinite; }
@keyframes work-trace { 0%, 100% { opacity: 0.12; clip-path: inset(0 100% 0 0); } 45%, 70% { opacity: 0.7; clip-path: inset(0); } }
.work-hero-copy { position: relative; z-index: 3; display: grid; align-content: center; min-height: inherit; padding-block: clamp(80px, 10vw, 150px) 120px; }
.work-hero-copy h1 { max-width: 900px; margin: 18px 0 28px; font-size: clamp(4rem, 7vw, 8.2rem); line-height: 0.86; letter-spacing: -0.07em; }
.work-hero-copy > p:not(.kicker) { max-width: 620px; color: rgba(255,255,255,0.64); font-size: 1.02rem; }
.work-hero-copy .button { width: min(250px, 100%); margin-top: 34px; }
.work-signal { position: absolute; z-index: 4; right: var(--gutter); bottom: 28px; display: flex; gap: 16px; align-items: center; color: rgba(255,255,255,0.46); font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; text-transform: uppercase; }
.work-signal b { color: #ff4b59; font-weight: 400; }
.work-route { padding-block: clamp(82px, 9vw, 138px); }
.work-route-intro { display: grid; grid-template-columns: 0.6fr 1.1fr 0.8fr; gap: clamp(28px, 6vw, 90px); align-items: end; margin-bottom: 64px; }
.work-route-intro h2 { font-size: clamp(3rem, 5vw, 5.4rem); line-height: 0.94; }
.work-route-intro > p:last-child { color: var(--muted); }
.work-route-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.work-route-grid article { position: relative; min-height: 310px; padding: 26px; overflow: hidden; border-right: 1px solid var(--line); transition: color 0.3s var(--ease), background 0.3s var(--ease); }
.work-route-grid article:last-child { border-right: 0; }
.work-route-grid article::after { position: absolute; right: -24px; bottom: -54px; content: "♟"; color: rgba(178,13,27,0.06); font-family: Georgia, serif; font-size: 9rem; transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.work-route-grid article:hover { background: var(--ink); color: var(--white); }
.work-route-grid article:hover::after { color: rgba(255,75,89,0.24); transform: translate(-12px,-12px) rotate(-8deg); }
.work-route-grid span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.work-route-grid strong { display: block; margin: 78px 0 18px; font-size: 1.35rem; line-height: 1.15; }
.work-route-grid p { color: var(--muted); font-size: 0.82rem; }
.work-route-grid article:hover p { color: rgba(255,255,255,0.56); }
.work-rule { padding-block: clamp(80px, 9vw, 130px); background: var(--red); color: var(--white); }
.work-rule blockquote { max-width: 1180px; margin: 24px 0 56px; font-size: clamp(3rem, 6.3vw, 7rem); font-weight: 560; letter-spacing: -0.06em; line-height: 0.94; }
.work-rule .shell > div { display: flex; flex-wrap: wrap; gap: 10px; }
.work-rule .shell > div span { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.38); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }

.services-page { padding-top: 24px; }
.service-list-large .service-row summary { min-height: 160px; }

.service-principles { padding-block: clamp(78px, 8vw, 118px); background: var(--ink); color: var(--white); }
.service-principles .shell { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.service-principles h2 { margin-top: 20px; font-size: clamp(2.8rem, 4.8vw, 4.6rem); }
.service-principles ol { list-style: none; }
.service-principles li { display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line-light); }
.service-principles li:last-child { border-bottom: 1px solid var(--line-light); }
.service-principles li span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; }

/* Loyalty program page */
.tariff-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.tariff-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px clamp(20px, 2.8vw, 42px) 38px; border-right: 1px solid var(--line); }
.tariff-card:last-child { border-right: 0; }
.tariff-featured::before { position: absolute; top: -1px; right: 0; left: 0; height: 4px; content: ""; background: var(--red); }
.tariff-top > span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.tariff-top h3 { min-height: 2em; margin: 20px 0; font-size: clamp(1.7rem, 2.8vw, 2.7rem); }
.tariff-top p { color: var(--muted); }
.tariff-top strong { color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: clamp(1.55rem, 2.4vw, 2.3rem); font-weight: 400; }
.tariff-card dl { margin: 32px 0 34px; border-top: 1px solid var(--line); }
.tariff-card dl > div { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.77rem; }
.tariff-card dt { color: var(--muted); }
.tariff-card dd { text-align: right; }
.tariff-card .button { width: 100%; margin-top: auto; }
.tariff-note { max-width: 900px; margin-top: 24px; color: var(--muted); font-size: 0.82rem; }

.inhouse { padding-block: clamp(82px, 8vw, 124px); background: var(--ink); color: var(--white); }
.inhouse .shell { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(54px, 10vw, 150px); }
.inhouse h2 { margin: 20px 0 28px; font-size: clamp(2.5rem, 4.5vw, 4.3rem); }
.inhouse .shell > div:first-child > p:last-child { max-width: 520px; color: rgba(255, 255, 255, 0.55); }
.inhouse-bars { display: grid; align-content: center; gap: 18px; }
.inhouse-bars > div { display: grid; grid-template-columns: 165px 1fr 120px; gap: 20px; align-items: center; }
.inhouse-bars span,
.inhouse-bars b { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; font-weight: 400; text-transform: uppercase; }
.inhouse-bars b { text-align: right; }
.inhouse-bars i { position: relative; height: 8px; background: rgba(255, 255, 255, 0.1); }
.inhouse-bars i::after { position: absolute; inset: 0 auto 0 0; width: var(--bar); content: ""; background: var(--red); }
.inhouse-bars small { color: rgba(255, 255, 255, 0.45); }

.reserve-rules { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.reserve-rules > div { min-height: 250px; padding: 28px; border-right: 1px solid var(--line); }
.reserve-rules > div:last-child { border-right: 0; }
.reserve-rules span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; }
.reserve-rules h3 { margin: 68px 0 16px; font-size: 1.5rem; }
.reserve-rules p { color: var(--muted); }

.reserve-legal-note { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }

.reserve-calculator { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 60px; margin-top: 80px; padding: clamp(30px, 5vw, 70px); background: var(--ink); color: var(--white); }
.calculator-copy h3 { margin: 24px 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.calculator-copy > p:last-child { max-width: 440px; color: rgba(255, 255, 255, 0.5); }
.calculator-ui fieldset { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; border: 1px solid var(--line-light); }
.calculator-ui legend { padding-bottom: 12px; color: rgba(255, 255, 255, 0.52); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; }
.calculator-ui fieldset label { position: relative; }
.calculator-ui fieldset input { position: absolute; opacity: 0; }
.calculator-ui fieldset span { display: grid; min-height: 64px; place-items: center; border-right: 1px solid var(--line-light); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-align: center; cursor: pointer; }
.calculator-ui fieldset label:last-child span { border-right: 0; }
.calculator-ui fieldset input:checked + span { background: var(--red); }
.calculator-ui fieldset input:focus-visible + span { outline: 2px solid var(--white); outline-offset: -4px; }
.range-control,
.select-control { display: grid; gap: 12px; margin-top: 28px; }
.range-control > span,
.select-control > span { color: rgba(255, 255, 255, 0.52); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; }
.range-control output { font-size: 1.75rem; font-weight: 520; }
.range-control input { width: 100%; accent-color: var(--red); }
.select-control select { width: 100%; padding: 16px; border: 1px solid var(--line-light); border-radius: 0; background: var(--ink); }
.calculator-result { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border: 1px solid var(--line-light); }
.calculator-result > div { display: grid; gap: 14px; padding: 22px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.calculator-result > div:nth-child(2) { border-right: 0; }
.calculator-result .result-main { grid-column: 1 / -1; border-right: 0; background: var(--red); }
.calculator-result span { color: rgba(255, 255, 255, 0.52); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.calculator-result strong { font-family: "IBM Plex Mono", monospace; font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 400; }
.calculator-result > p { grid-column: 1 / -1; padding: 16px 22px; color: rgba(255, 255, 255, 0.48); font-size: 0.76rem; }

/* Atomic pricing */
.pricing-method-preview,
.atomic-calculator,
.complexity,
.catalog-intro,
.price-practice,
.commercial,
.reserve-overview,
.reserve-roi,
.reserve-boundaries { padding-block: clamp(78px, 8vw, 122px); }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.method-grid article { min-height: 265px; padding: 28px; border-right: 1px solid var(--line); }
.method-grid article:last-child { border-right: 0; }
.method-grid span,
.commercial-grid > article > span,
.reserve-flow-grid span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; }
.method-grid h3 { margin: 70px 0 16px; font-size: 1.55rem; }
.method-grid p { color: var(--muted); }

.pricing-formula {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr 1.4fr;
  gap: 20px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.64rem, 0.9vw, 0.76rem);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.pricing-formula > span { color: var(--red); }
.pricing-formula > b { color: var(--muted); font-weight: 400; }
.pricing-formula > strong { justify-self: end; color: var(--red); font-weight: 500; }

.atomic-calculator { scroll-margin-top: calc(var(--header) + 18px); }
.atomic-calculator-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(50px, 10vw, 150px); align-items: end; margin-bottom: clamp(48px, 6vw, 78px); }
.atomic-calculator-head h2 { margin-top: 18px; font-size: clamp(2.9rem, 5.5vw, 5.2rem); }
.atomic-calculator-head > p { max-width: 520px; color: var(--muted); }
.atomic-calculator-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(11, 12, 12, 0.08); }
.atomic-controls { display: grid; align-content: start; gap: 28px; padding: clamp(26px, 4.5vw, 58px); background: var(--white); }
.calculator-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.calculator-presets button { min-height: 34px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.61rem; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.calculator-presets button:hover,
.calculator-presets button:focus-visible { border-color: var(--red); background: rgba(178, 13, 27, 0.04); color: var(--red); }
.calculator-field { display: grid; gap: 10px; }
.calculator-field > span,
.calculator-unit > span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; letter-spacing: 0.045em; text-transform: uppercase; }
.calculator-field select,
.calculator-field input { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; outline: none; background: #fff; color: var(--ink); }
.calculator-field select:focus,
.calculator-field input:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(178, 13, 27, 0.1); }
.calculator-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calculator-unit { display: grid; align-content: end; gap: 10px; }
.calculator-unit strong { display: flex; min-height: 54px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); font-weight: 520; }
.calculator-toggle { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); cursor: pointer; }
.calculator-toggle input { width: 20px; height: 20px; accent-color: var(--red); }
.calculator-toggle span { display: grid; gap: 3px; }
.calculator-toggle b { font-size: 0.9rem; font-weight: 590; }
.calculator-toggle small { color: var(--muted); }
.calculator-hint { min-height: 2.8em; color: var(--muted); font-size: 0.78rem; }

.atomic-result { display: grid; align-content: start; padding: clamp(28px, 4.5vw, 58px); background: var(--ink); color: var(--white); }
.atomic-result-line { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.atomic-result-line span,
.atomic-result-total span,
.atomic-result-meta span { color: rgba(255, 255, 255, 0.5); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }
.atomic-result-line strong { font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; font-weight: 400; }
.atomic-result-total { display: grid; gap: 14px; margin-top: 28px; padding: 26px; background: var(--red); }
.atomic-result-total span { color: rgba(255, 255, 255, 0.68); }
.atomic-result-total strong { font-family: "IBM Plex Mono", monospace; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -0.05em; }
.atomic-result-meta { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-light); }
.atomic-result-meta p { display: grid; gap: 9px; padding: 20px 0; }
.atomic-result-meta p + p { padding-left: 20px; border-left: 1px solid var(--line-light); }
.atomic-result-meta b { font-size: 0.86rem; font-weight: 520; }
.atomic-formula { min-height: 3.1em; padding: 20px 0 24px; color: rgba(255, 255, 255, 0.52); font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; }
.atomic-result .button { width: 100%; margin-top: auto; }
.calculator-disclaimer { max-width: 1030px; margin-top: 20px; color: var(--muted); font-size: 0.76rem; }
.calculator-add { border: 0; cursor: pointer; }
.calculator-add.is-added { background: #196b42; }
.calculator-cart-link { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 14px 0 4px; border-bottom: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.62); font-family: "IBM Plex Mono", monospace; font-size: 0.67rem; text-transform: uppercase; }
.calculator-cart-link strong { color: var(--white); font-weight: 500; }

.price-explainer,
.cart-checkout,
.price-document { padding-block: clamp(78px, 8vw, 122px); }
.price-explainer { padding-top: 30px; }
.price-explainer-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.price-explainer-grid article { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); }
.price-explainer-grid article:last-child { border-right: 0; }
.price-explainer-grid span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; }
.price-explainer-grid h3 { margin: 62px 0 16px; font-size: 1.5rem; }
.price-explainer-grid p { color: var(--muted); }

.cart-checkout { scroll-margin-top: calc(var(--header) + 18px); }
.cart-heading { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: clamp(42px, 5vw, 70px); }
.cart-heading h2 { margin-top: 16px; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.cart-heading-total { display: grid; gap: 8px; justify-items: end; padding-bottom: 10px; }
.cart-heading-total span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; text-transform: uppercase; }
.cart-heading-total strong { font-family: "IBM Plex Mono", monospace; font-size: clamp(1.5rem, 2.5vw, 2.4rem); font-weight: 450; }
.cart-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: var(--header);
  padding-block: clamp(22px, 2.7vw, 38px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.inner .page-intro::after {
  position: absolute;
  z-index: -1;
  right: clamp(18px, 8vw, 140px);
  bottom: calc(-0.32em + var(--chess-drift, 0px));
  content: "♞";
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(11rem, 24vw, 25rem);
  line-height: 0.75;
  opacity: 0.028;
  transform: rotate(-7deg);
}
.cart-page-top > div { display: flex; align-items: baseline; gap: 18px; }
.cart-page-top h1 { font-size: clamp(2rem, 3.2vw, 3.4rem); }
.cart-page-top span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.67rem; text-transform: uppercase; white-space: nowrap; }
.cart-page-top span b { color: var(--red); font-weight: 550; }
.cart-page .cart-page-top,
.cart-page .cart-checkout { width: min(960px, var(--shell)); }
.cart-page .cart-checkout { padding-top: clamp(20px, 2.5vw, 36px); }
.cart-page .cart-heading { display: none; }
.cart-layout { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: var(--white); box-shadow: 0 20px 60px rgba(11, 12, 12, 0.04); }
.cart-panel { min-width: 0; }
.cart-empty { display: grid; min-height: 210px; place-content: center; gap: 12px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.cart-empty span { color: var(--ink); font-size: 1.35rem; font-weight: 600; }
.cart-empty p { max-width: 330px; }
.cart-empty a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.cart-items { display: grid; }
.cart-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.cart-item:first-child { border-top: 0; padding-top: 0; }
.cart-item:last-child { border-bottom: 1px solid var(--line); }
.cart-item-index { padding-top: 4px; color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.67rem; }
.cart-item-main h3 { font-size: 1.08rem; line-height: 1.25; }
.cart-item-main > p { margin-top: 5px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; }
.cart-item-price { display: grid; gap: 12px; justify-items: end; align-content: start; }
.cart-item-price strong { white-space: nowrap; font-family: "IBM Plex Mono", monospace; font-size: 0.92rem; font-weight: 520; }
.cart-item-price button,
.cart-clear { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--muted); font-size: 0.7rem; cursor: pointer; }
.cart-item-price button:hover,
.cart-clear:hover { color: var(--red); }
.cart-item-quantity { display: flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--muted); font-size: 0.72rem; }
.cart-item-quantity > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cart-item-quantity input { width: 74px; min-height: 36px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 0; background: var(--white); }
.cart-item-quantity i { font-style: normal; }
.cart-item-fixed { display: inline-block; margin-top: 14px; padding: 7px 10px; background: var(--paper); color: var(--muted); font-size: 0.72rem; }
.cart-clear { margin: 12px 0 0; }
.cart-reserve-toggle { margin-top: 24px; }
.cart-summary { margin-top: 22px; }
.cart-summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.cart-summary .cart-summary-total span { max-width: 220px; color: var(--ink); font-size: 1rem; }
.cart-summary-total strong { white-space: nowrap; font-size: clamp(1.8rem, 3.7vw, 2.8rem); font-weight: 580; letter-spacing: -.05em; line-height: 1.1; }
.cart-discount-summary { display: grid; gap: 8px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-discount-summary > div { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .8rem; }
.cart-discount-summary strong { font-weight: 500; }
.cart-next { margin-top: 20px; }
.cart-steps { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 0 0 12px; padding: 0; list-style: none; }
.cart-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.cart-steps li[aria-current] { color: var(--red); }
.cart-steps span { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: "IBM Plex Mono", monospace; font-size: .57rem; }
.cart-steps li[aria-current] span { background: var(--red); border-color: var(--red); color: var(--white); }
.cart-form-head h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); line-height: 1.2; letter-spacing: -.035em; }
.cart-next > p { max-width: 670px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.cart-form { display: grid; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 24px); }
.cart-form-head { margin-bottom: 4px; }
.cart-form-head h2 { scroll-margin-top: calc(var(--header) + 24px); }
.cart-form-head h2:focus { outline: none; }
.cart-contact-choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.cart-contact-choice legend { padding: 0; font-size: .86rem; font-weight: 550; }
.cart-contact-choice > p { margin: 2px 0 12px; color: var(--muted); font-size: .73rem; }
.cart-form .field { gap: 5px; }
.cart-form .field input, .cart-form .field textarea { padding: 9px 0; }
.cart-form .field input { min-height: 42px; }
.cart-form .field small:empty { display: none; }
.cart-form .field > span i { margin-left: 5px; color: var(--muted); font-family: "Onest", sans-serif; font-size: .67rem; font-style: normal; text-transform: none; }
.cart-consent .form-privacy-note { margin: 10px 0 0; }
.cart-consent .consent-error:empty { display: none; }
.cart-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.cart-form-actions .button { min-width: 270px; cursor: pointer; }
.cart-form-actions button:disabled { opacity: 0.38; cursor: not-allowed; }
.cart-pdf-link { padding: 8px 0; border: 0; background: none; color: var(--muted); font-size: .78rem; cursor: pointer; }
.cart-pdf-link:hover { color: var(--red); }
.cart-pdf-link span { margin-left: 8px; }
.cart-form .form-status:empty { display: none; }
.cart-legal-note { color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.price-document { padding-top: 0; }
.price-document-card { display: grid; grid-template-columns: 1fr auto; gap: clamp(42px, 8vw, 120px); align-items: end; padding: clamp(34px, 6vw, 78px); background: var(--ink); color: var(--white); }
.price-document-card h2 { margin: 18px 0 24px; font-size: clamp(2.7rem, 5vw, 5rem); }
.price-document-card p { max-width: 680px; color: rgba(255, 255, 255, 0.58); }
.price-document-card > div:first-child > span { display: block; margin-top: 24px; color: rgba(255, 255, 255, 0.42); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.price-document-actions { display: grid; gap: 10px; min-width: 285px; }

.pricing-definitions,
.discounts,
.reserve-flow { padding-block: clamp(82px, 8vw, 124px); background: var(--ink); color: var(--white); }
.definition-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line-light); }
.definition-grid article { min-height: 300px; padding: 26px; border-right: 1px solid var(--line-light); }
.definition-grid article:last-child { border-right: 0; }
.definition-grid span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.67rem; }
.definition-grid h3 { margin: 66px 0 16px; font-size: 1.35rem; }
.definition-grid p { color: rgba(255, 255, 255, 0.56); font-size: 0.84rem; }

.complexity { scroll-margin-top: calc(var(--header) + 18px); }
.complexity-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.complexity-signals { display: grid; align-content: start; border-top: 1px solid var(--line); }
.complexity-signals span { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.complexity-signals b { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.67rem; font-weight: 400; }
.complexity-levels { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.complexity-levels article { min-height: 280px; padding: 26px; border-right: 1px solid var(--line); }
.complexity-levels article:last-child { border-right: 0; }
.complexity-levels span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; }
.complexity-levels h3 { margin: 74px 0 16px; font-size: 1.55rem; }
.complexity-levels p { color: var(--muted); font-size: 0.84rem; }

.discount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.discount-grid article { padding: 30px; border: 1px solid var(--line-light); }
.discount-grid article > span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; text-transform: uppercase; }
.discount-grid dl { margin-top: 34px; }
.discount-grid dl > div { display: grid; grid-template-columns: 1fr 1fr; padding: 15px 0; border-top: 1px solid var(--line-light); }
.discount-grid dt { color: rgba(255, 255, 255, 0.52); }
.discount-grid dd { text-align: right; }
.price-examples { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 46px; border-block: 1px solid var(--line-light); }
.price-examples article { min-height: 210px; padding: 22px; border-right: 1px solid var(--line-light); }
.price-examples article:last-child { border-right: 0; }
.price-examples h3 { min-height: 3.5em; font-size: 1rem; }
.price-examples p { margin: 30px 0 12px; color: rgba(255, 255, 255, 0.48); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; }
.price-examples strong { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 1.15rem; font-weight: 400; }

.catalog-intro { padding-bottom: 26px; }
.price-practice { scroll-margin-top: calc(var(--header) + 18px); padding-top: 44px; }
.price-practice + .price-practice { border-top: 1px solid var(--line); }
.price-practice-head { display: grid; grid-template-columns: 68px 1fr; gap: 24px; margin-bottom: 46px; }
.price-practice-head > span { padding-top: 12px; color: var(--red); }
.price-practice-head h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.price-practice-head p { max-width: 720px; margin-top: 18px; color: var(--muted); }
.price-groups { border-bottom: 1px solid var(--line); }
.price-group { border-top: 1px solid var(--line); }
.price-group > summary { display: grid; grid-template-columns: 1fr auto 24px; gap: 24px; align-items: center; min-height: 92px; cursor: pointer; list-style: none; }
.price-group > summary::-webkit-details-marker { display: none; }
.price-group > summary h3 { font-size: clamp(1.35rem, 2.4vw, 2.15rem); }
.price-group > summary span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.price-group > summary b { font-size: 1.45rem; font-weight: 300; transition: transform 0.25s var(--ease); }
.price-group[open] > summary b { transform: rotate(45deg); color: var(--red); }
.price-table { margin-bottom: 32px; border: 1px solid var(--line); }
.price-table-head,
.price-row { display: grid; grid-template-columns: minmax(280px, 1.2fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) minmax(280px, 1fr); }
.price-table-head { background: var(--ink); color: rgba(255, 255, 255, 0.5); font-family: "IBM Plex Mono", monospace; font-size: 0.61rem; letter-spacing: 0.04em; text-transform: uppercase; }
.price-table-head span { padding: 13px 18px; border-right: 1px solid var(--line-light); }
.price-row { border-top: 1px solid var(--line); }
.price-row:first-of-type { border-top: 0; }
.price-row > div { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.price-row > div:last-child,
.price-table-head span:last-child { border-right: 0; }
.price-row h4 { margin-bottom: 8px; font-size: 1rem; }
.price-row p { color: var(--muted); font-size: 0.78rem; line-height: 1.48; }
.price-row > div > span { display: none; }
.price-row > div:nth-child(2) strong { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.79rem; font-weight: 500; }

.commercial-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.commercial-grid article { min-height: 240px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.commercial-grid article:nth-child(3n) { border-right: 0; }
.commercial-grid article:nth-last-child(-n+3) { border-bottom: 0; }
.commercial-grid h3 { margin: 54px 0 14px; font-size: 1.35rem; }
.commercial-grid p { color: var(--muted); font-size: 0.84rem; }
.payment-table { margin-top: 54px; border: 1px solid var(--line); }
.payment-table > div { display: grid; grid-template-columns: 0.7fr 0.65fr 1fr; }
.payment-table > div + div { border-top: 1px solid var(--line); }
.payment-table > div:first-child { background: var(--ink); color: rgba(255, 255, 255, 0.5); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.payment-table > div > * { padding: 15px 18px; border-right: 1px solid var(--line); }
.payment-table > div > *:last-child { border-right: 0; }
.payment-table b { font-weight: 560; }
.payment-table p { color: var(--muted); }

.scenario-pricing { padding-block: clamp(78px, 8vw, 122px); }
.scenario-groups { border-bottom: 1px solid var(--line); }
.scenario-group { border-top: 1px solid var(--line); }
.scenario-group > summary { display: grid; grid-template-columns: 1fr auto 24px; gap: 20px; align-items: center; min-height: 88px; cursor: pointer; list-style: none; }
.scenario-group > summary::-webkit-details-marker { display: none; }
.scenario-group > summary h3 { font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.scenario-group > summary span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.scenario-group > summary b { font-size: 1.4rem; font-weight: 300; transition: transform 0.25s var(--ease); }
.scenario-group[open] > summary b { transform: rotate(45deg); color: var(--red); }
.scenario-group > div { margin-bottom: 28px; border: 1px solid var(--line); }
.scenario-group article { display: grid; grid-template-columns: 1fr minmax(180px, 0.35fr) minmax(260px, 0.65fr); gap: 0; border-top: 1px solid var(--line); }
.scenario-group article:first-child { border-top: 0; }
.scenario-group article > * { padding: 18px; border-right: 1px solid var(--line); }
.scenario-group article > *:last-child { border-right: 0; }
.scenario-group article h4 { margin-bottom: 8px; font-size: 1rem; }
.scenario-group article p { color: var(--muted); font-size: 0.78rem; }
.scenario-group article strong { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; font-weight: 500; }

/* Loyalty program */
.reserve-overview { scroll-margin-top: calc(var(--header) + 18px); }
.reserve-term-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.reserve-term-grid article { display: grid; align-content: space-between; min-height: 160px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reserve-term-grid article:nth-child(4n) { border-right: 0; }
.reserve-term-grid article:nth-last-child(-n+4) { border-bottom: 0; }
.reserve-term-grid span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.reserve-term-grid strong { font-size: clamp(1.15rem, 1.9vw, 1.7rem); font-weight: 520; line-height: 1.18; }
.reserve-nature { max-width: 1000px; margin-top: 28px; padding-left: 22px; border-left: 3px solid var(--red); color: var(--muted); }
.reserve-nature strong { color: var(--ink); }
.reserve-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-light); }
.reserve-flow-grid article { min-height: 245px; padding: 26px; border-right: 1px solid var(--line-light); }
.reserve-flow-grid article:last-child { border-right: 0; }
.reserve-flow-grid span { color: #ff4b59; }
.reserve-flow-grid h3 { margin: 64px 0 14px; font-size: 1.4rem; }
.reserve-flow-grid p { color: rgba(255, 255, 255, 0.55); }

.reserve-roi { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(50px, 10vw, 150px); scroll-margin-top: calc(var(--header) + 18px); }
.reserve-roi-copy h2 { margin: 20px 0 28px; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.reserve-roi-copy > p:last-child { max-width: 520px; color: var(--muted); }
.reserve-roi-ui { padding: clamp(28px, 4vw, 50px); background: var(--ink); color: var(--white); }
.roi-range { display: grid; gap: 18px; }
.roi-range > span { color: rgba(255, 255, 255, 0.5); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.roi-range output { font-family: "IBM Plex Mono", monospace; font-size: clamp(2rem, 4vw, 3.5rem); }
.roi-range input { width: 100%; accent-color: var(--red); }
.roi-result { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; border: 1px solid var(--line-light); }
.roi-result > div { display: grid; gap: 12px; padding: 20px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.roi-result > div:nth-child(2) { border-right: 0; }
.roi-result .roi-result-main { grid-column: 1 / -1; border-right: 0; background: var(--red); }
.roi-result span { color: rgba(255, 255, 255, 0.5); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.roi-result strong { font-family: "IBM Plex Mono", monospace; font-size: clamp(1.35rem, 2.5vw, 2.3rem); font-weight: 400; }
.roi-result > p { grid-column: 1 / -1; padding: 16px 20px; color: rgba(255, 255, 255, 0.5); font-size: 0.76rem; }
.reserve-boundary-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.reserve-boundary-grid article { min-height: 190px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reserve-boundary-grid article:nth-child(2n) { border-right: 0; }
.reserve-boundary-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.reserve-boundary-grid span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; }
.reserve-boundary-grid p { max-width: 650px; margin-top: 44px; color: var(--muted); }

/* Team and profiles */
.team-page { padding-top: 26px; }
.advisor-code { padding-block: clamp(76px, 8vw, 116px); background: var(--ink); color: var(--white); }
.advisor-code .shell { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; }
.advisor-code .kicker { grid-column: 1 / -1; }
.advisor-code h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.advisor-code .shell > div { display: grid; align-content: end; }
.advisor-code .shell > div p { padding: 18px 0; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.68); }
.advisor-code .shell > div p:last-child { border-bottom: 1px solid var(--line-light); }

.profile { display: grid; grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr); gap: clamp(50px, 9vw, 140px); align-items: start; }
.profile-photo { position: sticky; top: calc(var(--header) + 24px); height: min(68vh, 680px); overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; }
.profile-facts { border-top: 1px solid var(--line); }
.profile-facts article { padding: 30px 0 42px; border-bottom: 1px solid var(--line); }
.profile-facts article > span { color: var(--red); font-size: 0.66rem; }
.profile-facts h2 { margin: 20px 0; font-size: clamp(1.9rem, 3.3vw, 3.1rem); }
.profile-facts p,
.profile-facts li { color: var(--muted); }
.profile-facts ul { display: grid; gap: 12px; padding-left: 20px; }
.proof-card { display: grid; grid-template-columns: 118px 1fr; gap: 24px; align-items: center; margin-top: 34px; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.proof-card picture { height: 154px; overflow: hidden; }
.proof-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-card > div { display: grid; gap: 12px; }
.proof-card span,
.proof-card b { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.proof-card p { color: var(--ink); }

/* Contact and form */
.contact-page { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(54px, 10vw, 150px); }
.direct-contact { display: grid; align-content: start; }
.direct-contact .kicker { margin-bottom: 24px; }
.direct-contact > a { display: grid; gap: 5px; padding: 18px 0; border-top: 1px solid var(--line); }
.direct-contact > a:nth-last-of-type(1) { border-bottom: 1px solid var(--line); }
.direct-contact > a span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.direct-contact > a strong { font-size: 1.1rem; font-weight: 520; overflow-wrap: anywhere; }
.direct-contact > p:last-child { margin-top: 22px; color: var(--muted); }
.contact-form-wrap { padding: clamp(28px, 4vw, 54px); background: var(--white); }
.contact-form-wrap > h2 { margin-bottom: 34px; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.lead-form { display: grid; gap: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.field input,
.field textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; background: transparent; resize: vertical; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--red); }
.field small,
.consent-error { min-height: 1em; color: var(--red); font-size: 0.72rem; }
.honeypot { position: absolute; left: -10000px; }
.consent-field { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 0.78rem; }
.consent-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.consent-field a { color: var(--ink); text-decoration: underline; }
.lead-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-status { min-height: 1.4em; color: var(--red); font-size: 0.84rem; }
.form-status.is-success { color: #196b42; }

.requisites { border-top: 1px solid var(--line); }
.requisites > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.requisites article { padding: 28px; border: 1px solid var(--line); }
.requisites article span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.requisites article h3 { margin: 30px 0; font-size: 1.65rem; }
.requisites article p { color: var(--red); font-family: "IBM Plex Mono", monospace; }

/* Legal and 404 */
.template-notice { width: var(--shell); margin: 50px auto 0; padding: 22px 26px; border-left: 3px solid var(--red); background: rgba(178, 13, 27, 0.07); }
.template-notice strong { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; text-transform: uppercase; }
.template-notice p { margin-top: 8px; color: var(--muted); }
.legal-document { max-width: 1040px; }
.legal-document section { display: grid; grid-template-columns: 0.38fr 1fr; gap: 46px; padding: 32px 0; border-top: 1px solid var(--line); }
.legal-document section:last-child { border-bottom: 1px solid var(--line); }
.legal-document h2 { font-size: 1.35rem; line-height: 1.2; }
.legal-document p { color: var(--muted); }
.legal-document mark { padding: 2px 4px; background: rgba(178, 13, 27, 0.1); color: var(--red); }
.not-found { display: flex; min-height: calc(100svh - var(--header)); margin-top: var(--header); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; }
.not-found > span { color: var(--red); }
.not-found h1 { font-size: clamp(3.4rem, 8vw, 7.8rem); }
.not-found p { color: var(--muted); }

.back-to-top {
  position: fixed;
  z-index: 800;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  cursor: pointer;
}

.back-to-top[hidden] { display: none; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s var(--ease) var(--reveal-delay, 0ms), transform 0.65s var(--ease) var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-toolbar { grid-template-columns: 1fr 1fr; }
  .work-route-grid { grid-template-columns: repeat(2, 1fr); }
  .work-route-grid article:nth-child(2) { border-right: 0; }
  .work-route-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .desktop-nav { gap: 12px; }
  .desktop-nav a { padding-left: 11px; font-size: 0.63rem; }
  .desktop-nav a::after { left: 11px; }
  .header-action { display: none; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
  .brand { padding-inline: 16px; }
  .brand-asset { width: 136px; }
  .header-right { gap: 14px; }
  .header-cart-copy { display: none; }
  .hero-content h1 { grid-column: 1 / 10; }
  .hero-copy { grid-column: 7 / 13; }
  .specialty-row { grid-template-columns: 46px minmax(230px, 0.9fr) minmax(280px, 1.1fr) 22px; }
  .cost-compare { grid-template-columns: 1fr; }
  .cost-numbers { max-width: 850px; }
  .reserve-calculator { grid-template-columns: 1fr; }
  .calculator-copy > p:last-child { max-width: 650px; }
}

@media (max-width: 900px) {
  :root { --header: 68px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; padding-inline: 20px; }
  .desktop-nav { display: none; }
  .brand { grid-column: 2; grid-row: 1; padding-inline: 14px; }
  .header-right { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .header-right .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; }
  .menu-toggle-label { display: none; }
  .brand-asset { width: 148px; }
  .header-cart { min-height: 40px; padding-left: 0; border-left: 0; }
  .header-cart-label { display: none; }
  .header-cart-icon { width: 42px; height: 34px; }
  .mobile-menu { --menu-panel-width: 62vw; }
  html.menu-open .site-header { padding-right: calc(20px + var(--menu-scrollbar-compensation, 0px)); }
  .menu-panel { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); gap: 0; padding-block: calc(var(--header) + 24px) 24px; }
  .mobile-menu nav { grid-column: 1; }
  .mobile-menu nav a { grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 10px; padding-block: clamp(8px, 1.1vh, 11px); }
  .mobile-menu nav a strong { font-size: clamp(1.55rem, 7.2vw, 2.65rem); }
  .shop-heading,
  .shop-toolbar { grid-template-columns: 1fr; }
  .shop-filters { grid-column: 1; }
  .work-route-intro { grid-template-columns: 1fr; }
  .work-board { left: 22%; opacity: 0.72; }
  .work-hero::after { background: linear-gradient(90deg, rgba(17,17,17,0.98), rgba(17,17,17,0.62)); }
  .work-principles-grid { grid-template-columns: 1fr; }
  .work-principles-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-principles-grid article:last-child { border-bottom: 0; }
  .work-principles-grid h3 { margin-top: 34px; }
  .work-steps li div { grid-template-columns: 1fr; gap: 8px; }
  .hero-content { grid-template-rows: auto 1fr auto; padding-block: 40px 22px 24px; }
  .hero-content h1 { grid-column: 1 / 12; font-size: clamp(3.7rem, 10vw, 6.5rem); }
  .hero-copy { grid-column: 6 / 13; }
  .hero-actions { grid-column: 1 / 12; }
  .section-head,
  .product-head,
  .page-intro,
  .service-principles .shell,
  .inhouse .shell,
  .advisor-code .shell,
  .profile,
  .contact-page { grid-template-columns: 1fr; }
  .section-head { gap: 28px; }
  .section-head .kicker { margin-bottom: 0; }
  .specialty-row { grid-template-columns: 44px 1fr 24px; min-height: 132px; }
  .specialty-row > div { grid-column: 2 / 3; padding-bottom: 24px; }
  .specialty-row > b { grid-column: 3; grid-row: 1; }
  .product-head { gap: 46px; }
  .plan-line { grid-template-columns: 0.8fr 1.2fr 0.8fr; }
  .plan-line > i { display: none; }
  .reserve-quote { grid-template-columns: 0.35fr 1.65fr; }
  .reserve-quote small { grid-column: 2; }
  .service-row summary { grid-template-columns: 44px 1fr 24px; }
  .service-row summary p { grid-column: 2; padding-bottom: 24px; }
  .service-row summary b { grid-column: 3; grid-row: 1; }
  .service-row-body { grid-template-columns: 44px 1fr 24px; }
  .service-row-body > p,
  .service-row-body ul,
  .service-row-body small { grid-column: 2; }
  .tariff-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .tariff-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .tariff-top h3 { min-height: 0; }
  .reserve-rules { grid-template-columns: repeat(2, 1fr); }
  .reserve-rules > div:nth-child(2) { border-right: 0; }
  .reserve-rules > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .profile-photo { position: relative; top: 0; height: 620px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --header: 62px; }
  body { font-size: 15px; }
  .brand-asset { width: 132px; }
  .mobile-menu { --menu-panel-width: 100vw; --menu-tile-size: max(8.334vw, 8.334dvh); }
  .home-hero { --rain-tail: 130px; min-height: 670px; height: calc(100svh - var(--header)); }
  .hero-shade { background: linear-gradient(180deg, rgba(241, 238, 231, 0.58), rgba(241, 238, 231, 0.72) 58%, rgba(241, 238, 231, 0.92)); }
  .hero-content { display: flex; flex-direction: column; padding-block: 28px 16px; }
  .hero-content h1 { margin-top: 6px; font-size: clamp(3.3rem, 15vw, 4.3rem); line-height: 0.91; }
  .hero-copy { gap: 10px; max-width: 100%; margin: auto 0 18px; font-size: 0.88rem; }
  .hero-thesis { font-size: 0.98rem; }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .button { width: 100%; min-height: 49px; }
  .motion-toggle { top: 18px; right: 18px; bottom: auto; }
  .section-head h2 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .specialties,
  .one-off,
  .team-preview,
  .faq-section,
  .services-page,
  .tariffs,
  .reserve-detail,
  .team-page,
  .profile,
  .contact-page,
  .requisites,
  .legal-document { padding-block: 70px; }
  .specialty-row { grid-template-columns: 32px 1fr 20px; gap: 12px; padding-block: 24px; }
  .specialty-row h3 { font-size: 1.9rem; }
  .specialty-row > div { gap: 10px; padding-bottom: 0; }
  .product { padding-block: 74px; }
  .product-head h2 { font-size: clamp(2.9rem, 13vw, 4rem); }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .product-facts span:nth-child(2) { border-right: 0; }
  .product-facts span:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .plan-line { grid-template-columns: 1fr auto; gap: 8px 14px; padding-block: 18px; }
  .plan-line > span { grid-column: 1; }
  .plan-line > strong { grid-column: 1; }
  .plan-line > b { grid-column: 2; grid-row: 1 / 3; }
  .reserve-quote { grid-template-columns: 1fr; gap: 18px; padding: 28px 18px; }
  .reserve-quote small { grid-column: 1; }
  .product-actions,
  .contact-band .shell > div { display: grid; }
  .product-actions .button,
  .contact-band .button { width: 100%; }
  .cost-compare { margin-top: 64px; padding-top: 52px; }
  .cost-numbers { grid-template-columns: 1fr; }
  .cost-vs { text-align: left; }
  .cost-numbers strong { font-size: 2rem; }
  .service-row summary { grid-template-columns: 30px 1fr 20px; gap: 12px; padding-block: 24px; }
  .service-row summary h3 { font-size: 1.65rem; }
  .service-row-body { grid-template-columns: 30px 1fr 20px; gap: 12px; }
  .advisor-grid { grid-template-columns: 1fr; gap: 54px; }
  .advisor-photo { height: min(125vw, 540px); }
  .advisor-info { grid-template-columns: 1fr; }
  .advisor-info > span { grid-row: auto; }
  .advisor-info h3 { font-size: 2.4rem; }
  .faq-item summary { grid-template-columns: 32px 1fr 20px; gap: 12px; min-height: 76px; }
  .faq-item > p { padding: 0 18px 26px 44px; }
  .contact-band h2 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-meta { grid-template-columns: 1fr; }
  .page-intro { gap: 38px; padding-block: 72px 64px; }
  .page-intro h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .service-principles { padding-block: 70px; }
  .service-principles .shell { gap: 44px; }
  .tariff-card { padding-inline: 18px; }
  .inhouse-bars > div { grid-template-columns: 112px 1fr; gap: 12px; }
  .inhouse-bars b { grid-column: 2; }
  .reserve-rules { grid-template-columns: 1fr; }
  .reserve-rules > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .reserve-rules h3 { margin-top: 38px; }
  .reserve-legal-note { grid-template-columns: 1fr; gap: 10px; }
  .reserve-calculator { gap: 44px; margin-top: 60px; padding: 28px 16px; }
  .calculator-ui fieldset { grid-template-columns: 1fr; }
  .calculator-ui fieldset span { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .calculator-ui fieldset label:last-child span { border-bottom: 0; }
  .calculator-result { grid-template-columns: 1fr; }
  .calculator-result > div { border-right: 0; }
  .calculator-result .result-main { grid-column: 1; }
  .profile-photo { height: min(128vw, 570px); }
  .proof-card { grid-template-columns: 82px 1fr; gap: 16px; }
  .proof-card picture { height: 112px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 18px; }
  .requisites > div:last-child { grid-template-columns: 1fr; }
  .legal-document section { grid-template-columns: 1fr; gap: 14px; }
  .route-loader { width: 92px; }
  .route-loader-mark { width: 64px; }
  .back-to-top { width: 38px; height: 38px; }
}

@media (max-width: 1120px) {
  .definition-grid { grid-template-columns: repeat(3, 1fr); }
  .definition-grid article { border-bottom: 1px solid var(--line-light); }
  .definition-grid article:nth-child(3) { border-right: 0; }
  .definition-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .price-examples { grid-template-columns: repeat(3, 1fr); }
  .price-examples article { border-bottom: 1px solid var(--line-light); }
  .price-examples article:nth-child(3) { border-right: 0; }
  .price-examples article:nth-last-child(-n+2) { border-bottom: 0; }
  .reserve-roi { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .atomic-calculator-head,
  .atomic-calculator-grid,
  .complexity-grid { grid-template-columns: 1fr; }
  .method-grid,
  .commercial-grid,
  .reserve-term-grid,
  .reserve-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid article:nth-child(2),
  .reserve-flow-grid article:nth-child(2) { border-right: 0; }
  .method-grid article:nth-child(-n+2),
  .reserve-flow-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .atomic-calculator-head { gap: 28px; }
  .atomic-result { min-height: 560px; }
  .definition-grid { grid-template-columns: repeat(2, 1fr); }
  .definition-grid article:nth-child(3) { border-right: 1px solid var(--line-light); }
  .definition-grid article:nth-child(2n) { border-right: 0; }
  .definition-grid article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .definition-grid article:last-child { border-bottom: 0; }
  .complexity-levels { max-width: 820px; }
  .price-examples { grid-template-columns: repeat(2, 1fr); }
  .price-examples article:nth-child(3) { border-right: 1px solid var(--line-light); }
  .price-examples article:nth-child(2n) { border-right: 0; }
  .price-examples article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .price-examples article:last-child { border-bottom: 0; }
  .price-table-head { display: none; }
  .price-row { grid-template-columns: repeat(2, 1fr); }
  .price-row > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .price-row > div:nth-child(3) { border-right: 0; }
  .price-row > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .price-row > div > span { display: block; margin-bottom: 8px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; text-transform: uppercase; }
  .commercial-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .commercial-grid article:nth-child(2n) { border-right: 0; }
  .commercial-grid article:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .commercial-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .reserve-term-grid article:nth-child(4n) { border-right: 1px solid var(--line); }
  .reserve-term-grid article:nth-child(2n) { border-right: 0; }
  .reserve-term-grid article:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .reserve-term-grid article:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 680px) {
  .pricing-method-preview,
  .atomic-calculator,
  .complexity,
  .catalog-intro,
  .price-practice,
  .commercial,
  .reserve-overview,
  .reserve-roi,
  .reserve-boundaries { padding-block: 70px; }
  .pricing-formula { grid-template-columns: auto 1fr; gap: 8px 14px; align-items: start; }
  .pricing-formula > span { grid-row: 1 / 5; }
  .pricing-formula > b { display: none; }
  .pricing-formula > strong { grid-column: 2; justify-self: start; margin-top: 8px; }
  .method-grid,
  .definition-grid,
  .discount-grid,
  .price-examples,
  .commercial-grid,
  .reserve-term-grid,
  .reserve-flow-grid,
  .reserve-boundary-grid { grid-template-columns: 1fr; }
  .method-grid article,
  .definition-grid article,
  .price-examples article,
  .commercial-grid article,
  .reserve-term-grid article,
  .reserve-flow-grid article,
  .reserve-boundary-grid article { min-height: auto; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .definition-grid article,
  .price-examples article,
  .reserve-flow-grid article { border-bottom-color: var(--line-light); }
  .method-grid article:last-child,
  .definition-grid article:last-child,
  .price-examples article:last-child,
  .commercial-grid article:last-child,
  .reserve-term-grid article:last-child,
  .reserve-flow-grid article:last-child,
  .reserve-boundary-grid article:last-child { border-bottom: 0; }
  .method-grid h3,
  .definition-grid h3,
  .reserve-flow-grid h3 { margin-top: 38px; }
  .calculator-presets { display: grid; grid-template-columns: 1fr; }
  .calculator-field-row,
  .atomic-result-meta,
  .complexity-levels,
  .roi-result { grid-template-columns: 1fr; }
  .atomic-controls,
  .atomic-result { padding: 24px 16px; }
  .atomic-result { min-height: 0; }
  .atomic-result-meta p + p { padding-left: 0; border-top: 1px solid var(--line-light); border-left: 0; }
  .complexity-levels article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .complexity-levels article:last-child { border-bottom: 0; }
  .complexity-levels h3 { margin-top: 38px; }
  .price-examples h3 { min-height: 0; }
  .price-practice-head { grid-template-columns: 36px 1fr; gap: 10px; }
  .price-group > summary { grid-template-columns: 1fr 20px; gap: 12px; padding-block: 20px; }
  .price-group > summary span { grid-column: 1; grid-row: 2; }
  .price-group > summary b { grid-column: 2; grid-row: 1; }
  .price-row { grid-template-columns: 1fr; }
  .price-row > div { grid-column: 1 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .price-row > div:last-child { border-bottom: 0; }
  .payment-table { overflow-x: auto; }
  .payment-table > div { min-width: 590px; }
  .roi-result > div { border-right: 0; }
  .roi-result .roi-result-main { grid-column: 1; }
}

@media (max-width: 680px) {
  .scenario-pricing { padding-block: 70px; }
  .scenario-group > summary { grid-template-columns: 1fr 20px; gap: 10px; padding-block: 18px; }
  .scenario-group > summary span { grid-column: 1; grid-row: 2; }
  .scenario-group > summary b { grid-column: 2; grid-row: 1; }
  .scenario-group article { grid-template-columns: 1fr; }
  .scenario-group article > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-group article > *:last-child { border-bottom: 0; }
}

@media (max-width: 1050px) {
  .price-document-card { grid-template-columns: 1fr; align-items: start; }
  .price-document-actions { min-width: 0; max-width: 430px; }
}

@media (max-width: 760px) {
  .service-shop { padding-block: 58px 72px; }
  .shop-heading { margin-bottom: 32px; }
  .shop-heading [data-shop-heading] { font-size: clamp(3.4rem, 14vw, 5rem); }
  .shop-toolbar { position: relative; top: auto; gap: 14px; padding: 12px; }
  .shop-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .shop-filters button { padding-inline: 10px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { min-height: 350px; padding: 20px; }
  .shop-card-copy { padding-block: 34px 26px; }
  .shop-card-footer { align-items: center; }
  .shop-add span { display: none; }
  .shop-add b { font-size: 1.25rem; }
  .shop-cart-shortcut { min-width: 0; width: 100%; }
  .shop-dialog-head { padding: 28px 66px 28px 22px; }
  .shop-dialog-body { grid-template-columns: 1fr; }
  .shop-dialog-body section { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .shop-dialog-body section:last-child { border-bottom: 0; }
  .shop-dialog-order { grid-template-columns: 110px 1fr; padding: 22px; }
  .shop-dialog-order .button { grid-column: 1 / -1; }
  .work-hero { min-height: 740px; }
  .work-board { inset: 0 0 0 2%; opacity: 0.62; }
  .work-hero-copy { padding-block: 80px 120px; }
  .work-hero-copy h1 { font-size: clamp(3.6rem, 15vw, 5.6rem); }
  .work-signal { right: 20px; left: 20px; justify-content: space-between; gap: 5px; }
  .work-route-grid { grid-template-columns: 1fr; }
  .work-route-grid article { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-route-grid article:last-child { border-bottom: 0; }
  .work-route-grid strong { margin-top: 52px; }
  .work-principles,
  .work-steps { padding-block: 70px; }
  .work-steps li { grid-template-columns: 40px 1fr; }
  .cart-page-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding-block: 18px; }
  .cart-page-top > div { display: contents; }
  .cart-page-top h1 { grid-column: 1 / -1; font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .cart-page-top .text-link { grid-column: 2; grid-row: 2; padding-block: 4px; white-space: nowrap; }
  .price-explainer,
  .cart-checkout,
  .price-document { padding-block: 70px; }
  .price-explainer { padding-top: 10px; }
  .price-explainer-grid { grid-template-columns: 1fr; }
  .price-explainer-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .price-explainer-grid article:last-child { border-bottom: 0; }
  .price-explainer-grid h3 { margin-top: 36px; }
  .cart-checkout { padding-bottom: 70px; }
  .cart-heading { grid-template-columns: 1fr; align-items: start; }
  .cart-heading-total { justify-items: start; }
  .cart-layout { padding: 20px 16px; }
  .cart-summary-total { gap: 14px; flex-wrap: wrap; }
  .cart-summary .cart-summary-total span { max-width: 150px; font-size: .87rem; }
  .cart-steps { gap: 8px 14px; }
  .cart-steps li { gap: 5px; font-size: .69rem; }
  .cart-steps span { width: 21px; height: 21px; font-size: .5rem; }
  .cart-form-actions .button { width: 100%; min-width: 0; }
  .cart-item { grid-template-columns: 26px minmax(0, 1fr); }
  .cart-item-price { grid-column: 2; grid-row: 2; grid-template-columns: 1fr auto; justify-items: start; align-items: center; }
  .cart-form-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cart-pdf-link { text-align: left; }
  .price-document { padding-top: 0; }
  .price-document-card { padding: 34px 22px; }
  .price-document-actions { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  .specialty-row:hover { padding-inline: 0; color: inherit; }
}

@media (max-width: 640px) {
  .brand-intro-stage { width: 90vw; width: min(90vw, calc(58svh * 2.6786)); }
  .intro-mark-scene,
  .intro-mark-frame { transform: scale(1.5); }
  .brand-intro.is-lockup-ready .intro-mark-scene,
  .brand-intro.is-lockup-ready .intro-mark-frame { transform: scale(1); }
}

@media (max-width: 420px) {
  .brand-intro-stage { width: 94vw; width: min(94vw, calc(58svh * 2.6786)); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}

/* Stable work-page composition */
.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 46vw);
  grid-template-rows: minmax(620px, 1fr) auto;
  min-height: 760px;
  padding: 0;
}
.work-hero::after { display: none; }
.work-hero-copy.shell {
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(76px, 8vw, 128px) clamp(34px, 5vw, 82px) 62px var(--gutter);
}
.work-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 5.8vw, 6.8rem);
  line-height: 0.9;
}
.work-hero-copy > p:not(.kicker) { max-width: 570px; }
.work-board {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: min(610px, calc(46vw - 54px));
  aspect-ratio: 1;
  margin: 36px 34px 36px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 1;
  transform: none;
  transition: none;
}
.work-board-grid { inset: 0; opacity: 0.78; transform: none; }
.work-board-grid i { border-color: rgba(255, 255, 255, 0.08); }
.work-piece { font-size: clamp(3.8rem, 6vw, 7.2rem); }
.work-piece-knight { top: 12%; left: 12%; }
.work-piece-bishop { top: 58%; left: 57%; }
.work-piece-rook { top: 22%; left: 70%; }
.work-signal {
  position: static;
  z-index: 3;
  grid-column: 1;
  grid-row: 2;
  justify-content: flex-start;
  margin: 0 var(--gutter);
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.work-route-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr);
  align-items: start;
}
.work-route-intro .kicker { grid-column: 1; }
.work-route-intro h2 { grid-column: 1; }
.work-route-intro > p:last-child { grid-column: 2; grid-row: 1 / 3; padding-top: 34px; }

@media (max-width: 1100px) {
  .work-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 42vw); }
  .work-board { width: min(520px, calc(42vw - 30px)); margin-right: 22px; }
  .work-hero-copy h1 { font-size: clamp(3.5rem, 6vw, 5.6rem); }
}

@media (max-width: 760px) {
  .work-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }
  .work-hero-copy.shell {
    grid-column: 1;
    grid-row: 1;
    padding: 66px 20px 42px;
  }
  .work-hero-copy h1 { max-width: 620px; font-size: clamp(3.25rem, 14vw, 5rem); }
  .work-board {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% - 40px);
    max-width: 560px;
    margin: 0 auto 30px;
  }
  .work-piece { font-size: clamp(3.3rem, 16vw, 6rem); }
  .work-signal {
    grid-column: 1;
    grid-row: 3;
    justify-content: space-between;
    margin: 0 20px;
    padding-bottom: 24px;
  }
  .work-route-intro { grid-template-columns: 1fr; }
  .work-route-intro .kicker,
  .work-route-intro h2,
  .work-route-intro > p:last-child { grid-column: 1; grid-row: auto; }
  .work-route-intro > p:last-child { padding-top: 0; }
}

/* Falling chess hero on the work page */
.work-rain-hero {
  --rain-tail: clamp(110px, 14vh, 160px);
  position: relative;
  display: block;
  height: calc(100svh - var(--header));
  min-height: 690px;
  overflow: visible;
  background: var(--paper);
  color: var(--ink);
}
.work-rain-hero .work-board { display: none; }
.work-rain-hero .hero-rain { z-index: 1; opacity: 0.94; }
.work-rain-shade {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: calc(100% + var(--rain-tail));
  pointer-events: none;
  background: linear-gradient(90deg, rgba(241, 238, 231, 0.96) 0%, rgba(241, 238, 231, 0.88) 42%, rgba(241, 238, 231, 0.54) 68%, rgba(241, 238, 231, 0.08) 100%), linear-gradient(0deg, rgba(241, 238, 231, 0.92), transparent 34%);
}
.work-rain-hero .work-hero-copy.shell {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100% - (var(--gutter) * 2), var(--max));
  max-width: var(--max);
  min-height: 100%;
  align-content: center;
  margin-inline: auto;
  padding: clamp(64px, 8vh, 96px) 0 116px;
}
.work-rain-hero .work-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(4rem, 7vw, 7.4rem);
  line-height: 0.88;
}
.work-rain-hero .work-hero-copy > p:not(.kicker) { max-width: 610px; color: rgba(17, 17, 17, 0.64); }
.work-rain-hero .kicker-light { color: var(--red); }
.work-rain-hero .button-light { width: min(250px, 100%); border-color: var(--ink); background: var(--ink); color: var(--white); }
.work-rain-hero .button-light:hover { border-color: var(--red); background: var(--red); }
.work-rain-hero .work-signal {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 28px;
  left: var(--gutter);
  display: flex;
  width: auto;
  justify-content: flex-end;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  color: rgba(17, 17, 17, 0.54);
}
.work-rain-hero .motion-toggle { bottom: 76px; }

@media (max-width: 760px) {
  .work-rain-hero { --rain-tail: 110px; min-height: 680px; height: calc(100svh - var(--header)); }
  .work-rain-shade { background: linear-gradient(180deg, rgba(241, 238, 231, 0.62), rgba(241, 238, 231, 0.8) 58%, rgba(241, 238, 231, 0.96)); }
  .work-rain-hero .work-hero-copy.shell { width: calc(100% - 40px); padding: 62px 0 116px; }
  .work-rain-hero .work-hero-copy h1 { font-size: clamp(3.35rem, 15vw, 5rem); }
  .work-rain-hero .work-signal { right: 20px; bottom: 22px; left: 20px; justify-content: space-between; }
  .work-rain-hero .motion-toggle { top: 18px; right: 20px; bottom: auto; }
}

/* Refined scale and page compositions */
:root {
  --gutter: clamp(20px, 3.2vw, 50px);
  --shell: min(1320px, calc(100vw - var(--gutter) * 2));
}

body { font-size: 15px; }
.button,
.text-link { min-height: 46px; padding-inline: 19px; }
.page-intro { gap: clamp(42px, 7vw, 104px); padding-block: clamp(68px, 7vw, 102px) clamp(62px, 6vw, 88px); }
.page-intro h1 { max-width: 860px; font-size: clamp(3.15rem, 5.5vw, 5.35rem); }
.page-intro-copy { font-size: 0.96rem; }
.section-head { gap: clamp(34px, 6vw, 96px); margin-bottom: clamp(42px, 5vw, 66px); }
.section-head h2 { font-size: clamp(2.5rem, 4.3vw, 4.05rem); }
.specialties,
.one-off,
.team-preview,
.faq-section,
.services-page,
.tariffs,
.reserve-detail,
.team-page,
.contact-page,
.requisites,
.legal-document { padding-block: clamp(62px, 6vw, 90px); }
.product { padding-block: clamp(68px, 6vw, 88px); }
.product-head { gap: clamp(44px, 7vw, 104px); }
.product-head h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.product-facts { margin-top: clamp(44px, 5vw, 64px); }
.plan-line { min-height: 70px; }
.faq-item summary { min-height: 72px; }
.site-footer { padding-top: 56px; }
.footer-main { padding-bottom: 54px; }

/* Home: balanced first screen and immediate, factual offer */
.home-hero {
  --rain-tail: clamp(112px, 14vh, 150px);
  height: min(760px, calc(100svh - var(--header)));
  min-height: 600px;
}
.hero-content { padding-block: clamp(40px, 5.5vh, 64px) 26px; }
.hero-content h1 { grid-column: 1 / 8; font-size: clamp(3.7rem, 6.15vw, 6.15rem); }
.hero-copy { grid-column: 8 / 13; align-self: center; margin: 38px 0 0; font-size: clamp(0.88rem, 1.05vw, 1rem); }
.hero-actions { grid-column: 8 / 13; justify-content: flex-start; }
.home-hero .motion-toggle { bottom: 25px; }

/* Main hero: modeled white and black chess pieces, falling independently. */
.home-hero[data-rain-mode="sculptural"] .hero-rain { opacity: 1; }
.home-hero[data-rain-mode="sculptural"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(241, 238, 231, 0.84) 0%, rgba(241, 238, 231, 0.64) 34%, rgba(241, 238, 231, 0.24) 62%, rgba(241, 238, 231, 0.06) 100%),
    linear-gradient(0deg, rgba(241, 238, 231, 0.7), transparent 34%);
}

.home-offer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 58px;
  border-bottom: 1px solid var(--line);
}
.home-offer a {
  position: relative;
  display: grid;
  min-height: 154px;
  align-content: space-between;
  padding: 20px 22px 22px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(241, 238, 231, 0.72);
  backdrop-filter: blur(4px);
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
}
.home-offer a:last-child { border-right: 1px solid var(--line); }
.home-offer strong { color: var(--red); font-size: clamp(1.75rem, 2.8vw, 2.75rem); font-weight: 560; letter-spacing: -0.05em; }
.home-offer span { max-width: 190px; color: var(--muted); font-size: 0.76rem; line-height: 1.35; }
.home-offer b { position: absolute; top: 22px; right: 20px; font-size: 1rem; font-weight: 400; }
.home-offer a:hover { color: var(--white); background: var(--red); }
.home-offer a:hover strong,
.home-offer a:hover span { color: inherit; }
.home .specialties { padding-top: 72px; }
.team-preview .advisor-photo { height: clamp(350px, 34vw, 500px); }

/* Original Matrix-style chess rain, now used as the Team hero */
.team-rain-hero {
  --rain-tail: clamp(100px, 13vh, 140px);
  position: relative;
  height: min(720px, calc(100svh - var(--header)));
  min-height: 580px;
  margin-top: var(--header);
  overflow: visible;
  background: var(--paper);
}
.team-rain-hero .hero-rain { z-index: 1; opacity: 0.92; }
.team-rain-shade {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: calc(100% + var(--rain-tail));
  pointer-events: none;
  background: linear-gradient(90deg, rgba(241, 238, 231, 0.97) 0%, rgba(241, 238, 231, 0.88) 42%, rgba(241, 238, 231, 0.48) 70%, rgba(241, 238, 231, 0.05) 100%), linear-gradient(0deg, rgba(241, 238, 231, 0.93), transparent 34%);
}
.team-hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  height: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: 20px;
  padding-block: 58px 32px;
}
.team-hero-content .kicker { grid-column: 1 / -1; }
.team-hero-content h1 { grid-column: 1 / 9; align-self: center; font-size: clamp(3.8rem, 6.5vw, 6.5rem); line-height: 0.89; }
.team-hero-facts { display: grid; grid-column: 8 / 13; grid-row: 3; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.team-hero-facts span { display: grid; gap: 5px; padding: 15px 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 0.66rem; line-height: 1.25; }
.team-hero-facts span:last-child { border-right: 0; }
.team-hero-facts b { color: var(--ink); font-size: 1rem; font-weight: 560; }
.team-rain-hero .motion-toggle { bottom: 31px; }
.team-page { position: relative; z-index: 4; padding-top: 70px; }
.team-page-heading { display: grid; grid-template-columns: 0.34fr 1fr; gap: 32px; align-items: start; margin-bottom: 52px; }
.team-page-heading h2 { font-size: clamp(2.5rem, 4.4vw, 4.2rem); }
.team-page .advisor-photo { height: clamp(390px, 35vw, 520px); }
.advisor-code { padding-block: clamp(64px, 6vw, 88px); }
.advisor-code h2 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }

/* Cohesive partner profile pages */
.partner-profile { margin-top: var(--header); }
.partner-profile-hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(340px, 0.83fr) minmax(0, 1.17fr);
  align-items: stretch;
  padding-block: 42px 56px;
}
.partner-profile-photo { min-height: 560px; overflow: hidden; background: #d8d4ce; }
.partner-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 59% 43%; }
.partner-profile-photo-savva img { object-position: 50% 30%; }
.partner-profile-copy { display: grid; align-content: space-between; padding: 20px 0 0 clamp(38px, 5vw, 72px); border-block: 1px solid var(--line); }
.partner-profile-copy > div:first-child { display: grid; align-content: start; }
.partner-back { justify-self: start; margin-bottom: 74px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.partner-back:hover { color: var(--red); }
.partner-profile-copy h1 { max-width: 720px; margin: 18px 0 26px; font-size: clamp(3.6rem, 5.6vw, 5.8rem); line-height: 0.9; }
.partner-lead { max-width: 690px; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.16rem); }
.partner-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.partner-summary span { display: grid; gap: 6px; min-height: 92px; align-content: center; padding: 14px 18px; border-right: 1px solid var(--line); color: var(--muted); font-size: 0.67rem; line-height: 1.35; }
.partner-summary span:first-child { padding-left: 0; }
.partner-summary span:last-child { border-right: 0; }
.partner-summary b { color: var(--red); font-size: 1.05rem; font-weight: 560; }
.partner-profile-detail { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(46px, 8vw, 120px); padding-block: clamp(66px, 7vw, 100px); }
.partner-profile-detail h2 { max-width: 560px; margin-top: 18px; font-size: clamp(2.55rem, 4.4vw, 4.2rem); }
.partner-focus { border-top: 1px solid var(--line); }
.partner-focus article { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.partner-focus span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; }
.partner-focus p { font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.3; }
.partner-training { padding-block: clamp(66px, 7vw, 96px); background: var(--ink); color: var(--white); }
.partner-training .shell { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(46px, 8vw, 120px); }
.partner-training h2 { margin-top: 18px; font-size: clamp(2.55rem, 4.4vw, 4.2rem); }
.partner-training ol { border-top: 1px solid var(--line-light); list-style: none; }
.partner-training li { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.72); }
.partner-training li span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; }
.partner-proof { padding-block: 54px 72px; }
.partner-proof .proof-card { max-width: 620px; margin: 0 0 0 auto; }

/* Store: denser catalogue with calmer hierarchy */
.store-page .service-shop { padding-top: 32px; padding-bottom: 78px; }
.shop-heading { margin-bottom: 28px; }
.shop-heading [data-shop-heading] { font-size: clamp(3rem, 5vw, 5rem); }
.shop-cart-shortcut { min-width: 200px; padding-block: 14px; }
.shop-toolbar { gap: 8px 10px; padding: 10px; }
.shop-filters { gap: 6px; padding-bottom: 8px; }
.shop-filters button { min-height: 36px; padding: 7px 11px; font-size: 0.66rem; }
.shop-search,
.shop-select { min-height: 40px; }
.shop-result-line { padding: 16px 0 11px; }
.shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-card { min-height: 334px; padding: 18px; }
.shop-practice-stamp { width: 44px; height: 44px; box-shadow: inset 0 0 0 4px var(--white); font-size: 1.65rem; }
.shop-card-copy { padding: 24px 0 20px; }
.shop-card-copy > p { margin-bottom: 9px; font-size: 0.58rem; }
.shop-card-copy > .shop-card-name { margin-bottom: 12px; font-size: clamp(1.25rem, 1.55vw, 1.58rem); }
.shop-card-copy > span { font-size: 0.78rem; -webkit-line-clamp: 2; }
.shop-card-copy > i { margin-top: 13px; font-size: 0.56rem; }
.shop-card-footer { gap: 12px; padding-top: 15px; }
.shop-card-footer strong { font-size: 0.96rem; }
.shop-add { min-width: 94px; min-height: 38px; padding: 7px 10px; font-size: 0.66rem; }

/* Sculptural rain remains readable behind the work-page copy */
.work-rain-hero { height: min(720px, calc(100svh - var(--header))); min-height: 610px; }
.work-rain-hero .hero-rain { opacity: 1; }
.work-rain-shade { background: linear-gradient(90deg, rgba(241, 238, 231, 0.98) 0%, rgba(241, 238, 231, 0.9) 37%, rgba(241, 238, 231, 0.58) 62%, rgba(241, 238, 231, 0.06) 100%), linear-gradient(0deg, rgba(241, 238, 231, 0.94), transparent 32%); }
.work-rain-hero .work-hero-copy.shell { padding-block: 58px 104px; }
.work-rain-hero .work-hero-copy h1 { font-size: clamp(3.7rem, 6.2vw, 6.25rem); }
.work-route { padding-block: clamp(66px, 7vw, 94px); }
.work-route-grid article { min-height: 300px; }

@media (max-width: 1320px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .home-offer { grid-template-columns: repeat(2, 1fr); }
  .home-offer a:nth-child(2) { border-right: 1px solid var(--line); }
  .team-hero-content h1 { grid-column: 1 / 11; }
  .team-hero-facts { grid-column: 6 / 13; }
  .partner-profile-hero { min-height: 0; grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); }
  .partner-profile-photo { min-height: 520px; }
  .partner-summary { grid-template-columns: 1fr; }
  .partner-summary span { min-height: 0; padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-summary span:last-child { border-bottom: 0; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 14px; }
  .page-intro { grid-template-columns: 1fr; gap: 28px; padding-block: 52px 60px; }
  .page-intro h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); }
  .home-hero { height: calc(100svh - var(--header)); min-height: 610px; }
  .hero-content { padding-block: 24px 18px; }
  .hero-content h1 { font-size: clamp(3.15rem, 14vw, 4.15rem); }
  .hero-copy { margin-top: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .home-offer { grid-template-columns: 1fr 1fr; padding-top: 42px; }
  .home-offer a { min-height: 138px; padding: 16px; }
  .home-offer span { font-size: 0.69rem; }
  .home-offer b { top: 17px; right: 15px; }
  .section-head { margin-bottom: 38px; }
  .team-rain-hero { height: calc(100svh - var(--header)); min-height: 620px; }
  .team-rain-shade { background: linear-gradient(180deg, rgba(241, 238, 231, 0.7), rgba(241, 238, 231, 0.83) 58%, rgba(241, 238, 231, 0.97)); }
  .team-hero-content { display: flex; flex-direction: column; padding-block: 34px 22px; }
  .team-hero-content h1 { margin-top: auto; font-size: clamp(3.15rem, 14vw, 4.6rem); }
  .team-hero-facts { grid-template-columns: 1fr; width: 100%; margin-top: auto; }
  .team-hero-facts span { grid-template-columns: 54px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .team-hero-facts span:last-child { border-bottom: 0; }
  .team-rain-hero .motion-toggle { top: 18px; right: 20px; bottom: auto; }
  .team-page-heading { grid-template-columns: 1fr; gap: 14px; }
  .team-page .advisor-photo { height: min(116vw, 500px); }
  .partner-profile-hero { grid-template-columns: 1fr; padding-block: 20px 44px; }
  .partner-profile-photo { min-height: 0; height: min(112vw, 510px); }
  .partner-profile-copy { padding: 30px 0 0; border-top: 0; }
  .partner-back { margin-bottom: 42px; }
  .partner-profile-copy h1 { font-size: clamp(3.2rem, 14vw, 4.5rem); }
  .partner-summary { margin-top: 42px; }
  .partner-profile-detail,
  .partner-training .shell { grid-template-columns: 1fr; gap: 42px; }
  .partner-profile-detail { padding-block: 58px; }
  .partner-training { padding-block: 58px; }
  .partner-proof .proof-card { max-width: none; }
  .store-page .service-shop { padding-block: 24px 64px; }
  .shop-heading [data-shop-heading] { font-size: clamp(2.9rem, 13vw, 4.25rem); }
  .shop-toolbar { position: relative; top: auto; }
  .shop-filters { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { min-height: 310px; }
  .work-rain-hero { min-height: 630px; height: calc(100svh - var(--header)); }
  .work-rain-hero .work-hero-copy.shell { padding-block: 54px 112px; }
  .work-rain-hero .work-hero-copy h1 { font-size: clamp(3.15rem, 14vw, 4.75rem); }
}

/* September 2026: direct product architecture and true 3D hero */
.status-quote { display: grid; grid-template-columns: 0.35fr 1.25fr 0.7fr; gap: clamp(28px, 5vw, 70px); margin-top: 48px; padding: 34px 0 34px 28px; border-left: 3px solid var(--red); background: rgba(255, 255, 255, 0.03); }
.status-quote > span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.status-quote p { font-size: clamp(1.35rem, 2.3vw, 2.15rem); font-weight: 480; letter-spacing: -0.03em; line-height: 1.18; }
.status-quote small { color: rgba(255, 255, 255, 0.52); line-height: 1.5; }

.home-hero[data-rain-mode="sculptural"] .hero-rain { filter: none; }
.home-hero[data-rain-mode="sculptural"] .hero-shade {
  background: linear-gradient(90deg, rgba(241, 238, 231, 0.9) 0%, rgba(241, 238, 231, 0.68) 31%, rgba(241, 238, 231, 0.22) 60%, rgba(241, 238, 231, 0.03) 100%), linear-gradient(0deg, rgba(241, 238, 231, 0.54), transparent 32%);
}

/* How we work: follow one task through two different billing models. */
.work-budget-hero { margin-top: var(--header); background: var(--ink); color: var(--white); }
.work-budget-hero > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  min-height: min(720px, calc(100svh - var(--header)));
  padding-block: clamp(56px, 7vw, 100px);
}
.work-budget-statement h1 {
  max-width: 12ch;
  margin: 22px 0 28px;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.work-budget-statement h1 em { color: #ff6a75; font-style: normal; }
.work-budget-statement > p:last-child { max-width: 53ch; color: rgba(255,255,255,.76); font-size: 1.0625rem; line-height: 1.6; }
.work-budget-purpose { min-width: 0; display: grid; gap: 24px; padding-left: clamp(28px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.22); }
.work-budget-purpose p { max-width: 46ch; margin: 0; color: rgba(255,255,255,.74); font-size: 1rem; line-height: 1.6; }
.work-budget-purpose .work-purpose-lead { color: var(--white); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.25; font-weight: 500; letter-spacing: -.025em; }
.work-comparison, .work-scope > .shell { padding-block: clamp(56px, 7vw, 100px); }
.work-section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 76px); align-items: end; margin-bottom: clamp(34px, 5vw, 64px); }
.work-section-heading h2 { margin-top: 18px; font-size: clamp(2.2rem, 3.7vw, 3.8rem); letter-spacing: -.045em; line-height: 1.04; }
.work-section-heading-single { grid-template-columns: minmax(0, 1fr); }
.work-section-heading-single h2 { margin-top: 0; }
.work-section-heading > p { max-width: 47ch; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.work-compare-labels, .work-compare-row { display: grid; grid-template-columns: minmax(110px, .32fr) repeat(2, minmax(0, 1fr)); }
.work-compare-labels { border-bottom: 1px solid var(--ink); font: .875rem "IBM Plex Mono", monospace; }
.work-compare-labels > * { padding: 18px clamp(22px, 3vw, 42px); }
.work-compare-labels > span:first-child { padding-left: 0; color: var(--muted); }
.work-compare-labels > span:nth-child(2) { display: flex; align-items: center; background: #e3e1dc; color: #555550; }
.work-compare-labels > strong { display: flex; align-items: center; background: var(--white); color: var(--red); font-weight: 500; border-left: 3px solid var(--red); }
.work-compare-logo { display: block; width: 138px; max-width: 100%; height: auto; }
.work-compare-row { border-bottom: 1px solid var(--line); }
.work-compare-stage { display: flex; flex-direction: column; gap: 22px; padding: 28px 18px 28px 0; font-size: .875rem; font-weight: 500; line-height: 1.4; }
.work-compare-stage > span { color: var(--red); font: 1.25rem "IBM Plex Mono", monospace; }
.work-compare-cell { min-width: 0; padding: 28px clamp(22px, 3vw, 42px) 34px; }
.work-compare-cell h4 { margin: 0 0 16px; font-size: clamp(1.25rem, 1.65vw, 1.7rem); font-weight: 520; letter-spacing: -.025em; line-height: 1.2; }
.work-compare-cell p { max-width: 54ch; font-size: 1rem; line-height: 1.6; }
.work-compare-risk { border-left: 1px solid #d0cec7; background: #e3e1dc; color: #5d5d58; }
.work-compare-risk h4 { color: #51514d; font-weight: 450; }
.work-compare-mental { background: var(--white); border-left: 3px solid var(--red); }
.work-compare-mental h4 { color: var(--red); }
.work-compare-mental p { color: #242523; }
.work-cell-label { display: none; }
.work-compare-conclusion { display: grid; grid-template-columns: minmax(110px, .32fr) minmax(0, 2fr); gap: 0; margin-top: 34px; padding-block: 22px; }
.work-compare-conclusion > span { padding-right: 18px; color: var(--red); font: .875rem "IBM Plex Mono", monospace; }
.work-compare-conclusion p { max-width: 55ch; padding-left: clamp(22px, 3vw, 42px); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.4; letter-spacing: -.025em; }
.work-scope { border-top: 1px solid var(--line); background: var(--white); }
.work-scope-list { border-top: 1px solid var(--ink); }
.work-scope-list article { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); padding-block: 28px; border-bottom: 1px solid var(--line); }
.work-scope-list article > span { color: var(--red); font: .875rem "IBM Plex Mono", monospace; }
.work-scope-list h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2; }
.work-scope-list p { max-width: 68ch; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.work-scope-list p + p { margin-top: 16px; }
.work-scope-example { min-width: 0; padding: clamp(20px, 2.5vw, 36px); border-left: 3px solid var(--red); background: var(--paper); }
.work-example-label { display: block; margin-bottom: 20px; color: var(--red); font: 500 .875rem/1.4 "IBM Plex Mono", monospace; letter-spacing: .035em; text-transform: uppercase; }
.work-scope-example + p { margin-top: 24px; }
.work-budget-close { background: var(--ink); color: var(--white); }
.work-budget-close > .shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(52px, 6vw, 84px); }
.work-budget-close h2 { margin-top: 18px; font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.05; letter-spacing: -.04em; }
.work-budget-close p { max-width: 56ch; color: rgba(255,255,255,.74); font-size: 1rem; line-height: 1.6; }
.work-budget-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.work-budget-actions .text-link { font-size: .875rem; }

@media (max-width: 1000px) {
  .work-budget-hero > .shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .work-budget-statement h1 { max-width: 17ch; }
  .work-budget-purpose { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .work-budget-purpose p { max-width: 65ch; }
  .work-section-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .work-section-heading > p { max-width: 65ch; }
  .work-compare-labels, .work-compare-row { grid-template-columns: 100px repeat(2, minmax(0, 1fr)); }
  .work-compare-labels > *, .work-compare-cell { padding-inline: 20px; }
}
@media (max-width: 700px) {
  .work-budget-statement h1 { font-size: clamp(2.45rem, 10.5vw, 3.8rem); }
  .work-budget-purpose { gap: 20px; }
  .work-compare-labels { display: none; }
  .work-compare-list { border-top: 1px solid var(--ink); }
  .work-compare-row { grid-template-columns: minmax(0, 1fr); padding-bottom: 20px; }
  .work-compare-stage { flex-direction: row; align-items: baseline; gap: 16px; padding: 24px 0 18px; }
  .work-compare-cell { padding: 24px; }
  .work-compare-risk { border-left: 0; }
  .work-cell-label { display: block; margin-bottom: 16px; font: .875rem "IBM Plex Mono", monospace; }
  .work-compare-mental .work-cell-label { color: var(--red); }
  .work-compare-conclusion { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
  .work-compare-conclusion p { padding-left: 0; }
  .work-scope-list article { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .work-budget-close > .shell { grid-template-columns: minmax(0, 1fr); }
}

/* Store: navigable catalogue instead of a wall of cards. */
.store-page .service-shop { padding-top: 46px; }
.store-page .shop-heading { align-items: start; margin-bottom: 38px; }
.shop-heading > div > p:last-child { max-width: 640px; margin-top: 24px; color: var(--muted); }
.shop-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: clamp(24px, 3vw, 42px); align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header) + 16px); z-index: 5; display: grid; gap: 18px; padding: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); }
.shop-sidebar .shop-search { display: grid; grid-template-columns: 1fr; gap: 3px; min-height: 0; padding: 0 0 10px; border: 0; border-bottom: 1px solid var(--ink); }
.shop-filters { display: grid; gap: 3px; }
.shop-filters button { display: grid; min-height: 52px; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.shop-filters button::before { display: none; }
.shop-filters button i { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); font-family: Georgia, serif; font-size: 1.1rem; font-style: normal; }
.shop-filters button span { font-size: 0.72rem; font-weight: 580; line-height: 1.15; }
.shop-filters button b { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.61rem; font-weight: 400; }
.shop-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.shop-filters button[aria-pressed="true"] i { border-color: rgba(255, 255, 255, 0.3); color: #ff4b59; }
.shop-filters button[aria-pressed="true"] b { color: rgba(255, 255, 255, 0.52); }
.shop-reset { justify-self: start; padding: 6px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--muted); font-size: 0.69rem; cursor: pointer; }
.shop-catalog { min-width: 0; }
.shop-catalog .shop-toolbar { position: sticky; top: var(--header); z-index: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; }
.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shop-card { min-height: 320px; padding: 21px; }
.shop-card-copy { padding: 20px 0 18px; }
.shop-card-copy > .shop-card-name { font-size: clamp(1.25rem, 1.65vw, 1.7rem); }
.shop-card-copy > span { -webkit-line-clamp: 3; }
.shop-card-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.shop-card-quick em { padding: 5px 7px; border: 1px solid var(--line); color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.55rem; font-style: normal; line-height: 1.25; }
.shop-configure { background: var(--white); color: var(--ink); }
.shop-configure b { color: var(--red); }
.shop-dialog { width: min(900px, calc(100vw - 34px)); }
.shop-dialog-head { padding-block: 44px 34px; }
.shop-dialog-head h2 { max-width: 700px; font-size: clamp(2.25rem, 4vw, 3.8rem); }
.shop-dialog-body section { min-height: 0; border-bottom: 1px solid var(--line); }
.shop-dialog-body section > span { font-size: 14px; line-height: 1.4; }
.shop-dialog-order { position: sticky; bottom: 0; z-index: 2; grid-template-columns: minmax(220px, 260px) 1fr auto; background: var(--white); box-shadow: 0 -18px 30px rgba(17, 17, 17, 0.06); }
.shop-dialog-order label { min-width: 0; }
.shop-dialog-quantity-field > .shop-quantity-stepper { display: grid; grid-template-columns: 42px minmax(68px, 1fr) 42px; }
.shop-quantity-stepper button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.shop-quantity-stepper input { border-inline: 0; text-align: center; appearance: textfield; }
.shop-quantity-stepper input::-webkit-inner-spin-button { appearance: none; }

/* MENTAL STATUS: free loyalty, shown as a rising client hierarchy. */
.status-hero { margin-top: var(--header); background: var(--ink); color: var(--white); }
.status-hero > .shell { display: grid; min-height: 420px; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 8vw, 110px); align-items: center; padding-block: clamp(44px, 5vw, 72px); }
.status-hero h1 { margin: 20px 0 28px; font-size: clamp(4rem, 7vw, 7rem); line-height: 0.86; }
.status-hero h1 em { color: #ff4b59; font-style: normal; }
.status-hero p:not(.kicker) { max-width: 670px; color: rgba(255, 255, 255, 0.64); font-size: 1rem; }
.status-hero .button { margin-top: 36px; }
.status-hero dl { border-top: 1px solid rgba(255, 255, 255, 0.23); }
.status-hero dl > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; min-height: 102px; border-bottom: 1px solid rgba(255, 255, 255, 0.23); }
.status-hero dt { color: rgba(255, 255, 255, 0.7); font-size: .875rem; }
.status-hero dd { color: #ff4b59; font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 580; }
.status-overview, .status-terms, .status-boundaries, .status-actions { padding-block: clamp(76px, 8vw, 118px); }
.status-overview .section-head > div { display: grid; gap: 18px; min-width: 0; }
.status-overview .section-head .kicker { margin: 0; }
.status-overview .section-head h2 { margin: 0; line-height: 1.05; }
.status-level-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.status-level { position: relative; display: grid; min-height: 310px; align-content: start; padding: 24px; overflow: hidden; border-right: 1px solid var(--line); }
.status-level:last-child { border-right: 0; }
.status-level > span, .status-term-grid span, .status-boundaries article span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.status-level h3 { max-width: 180px; margin-top: 62px; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 0.95; }
.status-level p { margin-top: 12px; color: var(--muted); font-size: 0.72rem; }
.status-level strong { margin-top: auto; color: var(--red); font-size: clamp(3.2rem, 5vw, 5.7rem); line-height: 0.82; }
.status-level small { margin-top: 9px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; text-transform: uppercase; }
.status-piece { position: absolute; top: 16px; right: 18px; display: grid; justify-items: center; pointer-events: none; }
.status-piece i {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  font-style: normal;
  line-height: 0.8;
  filter: drop-shadow(0 10px 8px rgba(17, 17, 17, 0.12));
  transform: translateY(4px) rotate(-4deg);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.status-piece small { margin: 8px 0 0; color: var(--muted); font-size: 0.52rem; letter-spacing: 0.08em; }
.status-level:hover .status-piece i { filter: drop-shadow(0 14px 10px rgba(17, 17, 17, 0.2)); transform: translateY(-3px) rotate(2deg) scale(1.04); }
.status-level-elite { background: var(--red); color: var(--white); }
.status-level-elite > span, .status-level-elite strong { color: var(--white); }
.status-level-elite p, .status-level-elite small { color: rgba(255, 255, 255, 0.68); }
.status-level-elite .status-piece i { color: var(--white); filter: drop-shadow(0 12px 8px rgba(0, 0, 0, 0.22)); }
.status-lifecycle { background: var(--ink); color: var(--white); }
.status-lifecycle > .shell { padding-block: clamp(56px, 7vw, 100px); }
.status-lifecycle header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 18px 48px; align-items: end; margin-bottom: 40px; }
.status-lifecycle header > .kicker { grid-column: 1 / -1; }
.status-lifecycle h2 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.04em; }
.status-lifecycle header > p:last-child { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.6; }
.status-lifecycle-clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-light); }
.status-lifecycle-clients article { padding: clamp(24px, 3vw, 40px); }
.status-lifecycle-clients article + article { border-left: 1px solid var(--line-light); background: rgba(255,255,255,.04); }
.status-lifecycle-example > span { display: block; margin-bottom: 22px; color: #ff8a92; font: .875rem "IBM Plex Mono", monospace; }
.status-lifecycle-example h3 { margin-bottom: 18px; font-size: clamp(1.4rem, 2.1vw, 2rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.status-lifecycle-example p { max-width: 75ch; color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.6; }
.status-lifecycle-timeline article { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line-light); }
.status-lifecycle-timeline article > span { padding-top: 4px; margin: 0; }
.status-lifecycle-note { max-width: 92ch; margin-top: 28px; color: rgba(255,255,255,.62); font-size: .875rem; line-height: 1.6; }
@media (max-width: 800px) {
  .status-lifecycle header, .status-lifecycle-clients, .status-lifecycle-timeline article { grid-template-columns: minmax(0, 1fr); }
  .status-lifecycle header { gap: 20px; }
  .status-lifecycle-clients article + article { border-left: 0; border-top: 1px solid var(--line-light); }
  .status-lifecycle-timeline article { gap: 18px; }
}
.status-mechanic { padding-block: clamp(78px, 8vw, 118px); background: var(--ink); color: var(--white); }
.status-mechanic header { display: grid; grid-template-columns: 0.35fr 1fr; margin-bottom: 52px; }
.status-mechanic h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 0.95; }
.status-mechanic-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(255, 255, 255, 0.2); }
.status-mechanic-grid article { min-height: 250px; padding: 24px; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.status-mechanic-grid article:last-child { border-right: 0; }
.status-mechanic-grid span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; }
.status-mechanic-grid h3 { margin: 66px 0 14px; font-size: 1.35rem; }
.status-mechanic-grid p { color: rgba(255, 255, 255, 0.56); font-size: 0.82rem; }
.status-terms { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(50px, 9vw, 130px); }
.status-page .status-overview, .status-page .status-terms { padding-block: clamp(44px, 5vw, 76px); }
.status-page .status-terms { border-top: 1px solid var(--line); }
.status-page .status-level p, .status-page .status-level small, .status-page .status-term-grid span { font-size: .875rem; }
.status-page .status-level strong { padding-top: 28px; }
.status-page .status-term-grid article { gap: 20px; min-width: 0; }
.status-summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.status-terms > div:first-child h2 { margin: 18px 0 24px; font-size: clamp(2.7rem, 4.8vw, 4.5rem); }
.status-terms > div:first-child > p:last-child { max-width: 520px; color: var(--muted); }
.status-term-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.status-term-grid article { display: grid; min-height: 155px; align-content: space-between; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-term-grid article:nth-child(2n) { border-right: 0; }
.status-term-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.status-term-grid strong { max-width: 280px; font-size: 1.05rem; font-weight: 540; line-height: 1.25; }
.status-spend { background: var(--red); color: var(--white); }
.status-spend > .shell { display: grid; grid-template-columns: repeat(2, 1fr); }
.status-spend article { display: grid; min-height: 390px; align-content: start; padding: clamp(36px, 5vw, 70px); border-right: 1px solid rgba(255, 255, 255, 0.28); }
.status-spend article:last-child { border-right: 0; }
.status-spend span { font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.status-spend strong { margin: 60px 0 26px; font-size: clamp(4.5rem, 9vw, 9rem); line-height: 0.75; }
.status-spend p { max-width: 520px; color: rgba(255, 255, 255, 0.72); }
.status-referral { background: var(--ink); color: var(--white); }
.status-referral > .shell:first-child { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(46px, 8vw, 120px); align-items: center; padding-block: clamp(78px, 9vw, 128px) 52px; }
.status-referral-copy h2 { max-width: 780px; margin: 18px 0 26px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.94; }
.status-referral-copy > p:not(.kicker) { max-width: 700px; color: rgba(255, 255, 255, 0.66); }
.status-referral-copy ul { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.status-referral-copy li { max-width: 700px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.76); font-size: 0.8rem; }
.status-referral-compact > .shell:first-child { padding-block: clamp(44px, 5vw, 76px); gap: clamp(32px, 6vw, 88px); }
.status-referral-compact .status-referral-copy h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin-bottom: 0; }
.status-referral-benefit > strong { display: block; margin-bottom: 24px; color: #ff6a75; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; }
.status-referral-benefit p { max-width: 54ch; margin-bottom: 16px; color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.6; }
.status-referral-benefit .text-link { margin-top: 12px; }
.status-referral-example { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); background: var(--paper); color: var(--ink); }
.status-referral-example > p { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.status-referral-example h3 { max-width: 520px; margin: 15px 0 42px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.status-referral-example > div:not(.status-referral-route) { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 14px 0; border-top: 1px solid var(--line); }
.status-referral-example > div span { color: var(--muted); font-size: 0.76rem; }
.status-referral-example > div strong { font-size: 1rem; }
.status-referral-example > .status-referral-total { margin-top: 10px; border-color: var(--red); }
.status-referral-example > .status-referral-total strong { color: var(--red); font-size: 1.45rem; }
.status-referral-route { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 42px; }
.status-referral-route i { position: relative; height: 1px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 15px); }
.status-referral-route i::after { position: absolute; top: -4px; right: 0; width: 9px; height: 9px; border-top: 1px solid var(--red); border-right: 1px solid var(--red); content: ""; transform: rotate(45deg); }
.status-referral-example .status-referral-route .status-referral-piece { color: var(--red); font-family: Georgia, serif; font-size: 4rem; line-height: 0.8; animation: status-piece-breathe 3.4s ease-in-out infinite; }
.status-referral-piece svg { display: block; width: 62px; height: 62px; }
.status-referral-client { display: grid; width: 52px; aspect-ratio: 1; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; }
.status-example-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding-bottom: clamp(78px, 9vw, 128px); background: rgba(255, 255, 255, 0.2); }
.status-example { min-height: 220px; padding: clamp(26px, 4vw, 44px); background: #1a1918; }
.status-example > span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.status-example h3 { margin: 38px 0 14px; font-size: clamp(1.6rem, 3vw, 2.8rem); }
.status-example p { max-width: 590px; color: rgba(255, 255, 255, 0.58); font-size: 0.82rem; }
@keyframes status-piece-breathe { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
.status-boundaries { border-top: 1px solid var(--line); }
.status-boundaries > header { display: grid; grid-template-columns: 0.35fr 1fr; margin-bottom: 52px; }
.status-boundaries h2 { font-size: clamp(2.6rem, 4.7vw, 4.4rem); }
.status-boundaries > div { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.status-boundaries article { min-height: 180px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-boundaries article:nth-child(2n) { border-right: 0; }
.status-boundaries article:nth-last-child(-n+2) { border-bottom: 0; }
.status-boundaries article p { max-width: 590px; margin-top: 42px; color: var(--muted); }
.status-actions { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; border-top: 1px solid var(--line); }
.status-actions h2 { margin: 18px 0 22px; font-size: clamp(2.7rem, 4.8vw, 4.5rem); }
.status-actions p { max-width: 620px; color: var(--muted); }
.status-actions > div:last-child { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.legal-status-table { margin: 20px 0 30px; border: 1px solid var(--line); }
.legal-status-table > div { display: grid; grid-template-columns: 40px 1.1fr 1fr 80px; gap: 16px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.legal-status-table > div:last-child { border-bottom: 0; }
.legal-status-table span { color: var(--muted); }
.legal-status-table b { color: var(--red); text-align: right; }
.legal-status-piece { color: var(--red); font-family: Georgia, serif; font-size: 2rem; font-style: normal; line-height: 1; text-align: center; }
.legal-status-table strong small { display: block; margin-top: 4px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.52rem; font-weight: 400; text-transform: uppercase; }
.status-rules-example { display: grid; grid-template-columns: minmax(180px, 0.65fr) 1.35fr; gap: 34px; padding: 20px 0; border-top: 1px solid var(--line); }
.status-rules-example:last-child { border-bottom: 1px solid var(--line); }
.status-rules-example strong { font-size: 1rem; }
.status-rules-example p { margin: 0 !important; }

/* One quiet interaction language across content pages. */
.motion-surface { --tilt-x: 0deg; --tilt-y: 0deg; --light-x: 50%; --light-y: 50%; position: relative; isolation: isolate; transform-style: preserve-3d; transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease); }
.motion-surface::after { position: absolute; z-index: 3; inset: 0; content: ""; opacity: 0; pointer-events: none; background: radial-gradient(circle 170px at var(--light-x) var(--light-y), rgba(178, 13, 27, 0.12), transparent 72%); transition: opacity 0.22s ease; }
.motion-surface.is-pointer-active { z-index: 2; box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08); transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-3px); }
.motion-surface.is-pointer-active::after { opacity: 1; }
.reveal.motion-surface:not(.is-visible) { transform: translateY(28px); }

/* Team: editorial profiles and a task map. */
.team-profit-hero .team-hero-content > p:not(.kicker) { grid-column: 8 / 13; grid-row: 2; align-self: center; max-width: 520px; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.team-profit-hero .team-hero-content h1 { grid-column: 1 / 8; }
.team-editorial { padding-block: clamp(78px, 8vw, 120px); }
.team-editorial > header { display: grid; grid-template-columns: 0.34fr 1fr; gap: 30px; margin-bottom: 64px; }
.team-editorial > header h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.team-editorial-person { display: grid; min-height: 540px; grid-template-columns: 0.86fr 1.14fr; margin-bottom: 24px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.team-editorial-person picture { min-height: 520px; overflow: hidden; background: #dedbd4; }
.team-editorial-person img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.45s var(--ease), transform 0.7s var(--ease); }
.team-editorial-savva img { object-position: 50% 30%; }
.team-editorial-person > div { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(34px, 5vw, 70px); }
.team-editorial-person > div > span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; text-transform: uppercase; }
.team-editorial-person h3 { margin: 44px 0 18px; font-size: clamp(2.5rem, 4.3vw, 4.3rem); line-height: 0.95; }
.team-editorial-person p { max-width: 610px; color: var(--muted); }
.team-editorial-person ul { display: grid; width: 100%; gap: 0; margin: 34px 0; padding: 0; list-style: none; }
.team-editorial-person li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.8rem; }
.team-editorial-person > div > b { margin-top: auto; font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; font-weight: 500; text-transform: uppercase; }
.team-editorial-person:hover img { filter: grayscale(0); transform: scale(1.025); }
/* Mirror the column sizes together with their contents: the portrait keeps
   the same share of the card as Savva's, rather than taking the text column. */
.team-editorial-person-reverse { grid-template-columns: 1.14fr 0.86fr; }
.team-editorial-person-reverse picture { grid-column: 2; }
.team-editorial-person-reverse > div { grid-column: 1; grid-row: 1; }
.team-task-map { padding-block: clamp(78px, 8vw, 112px); background: var(--ink); color: var(--white); }
.team-task-map header { display: grid; grid-template-columns: 0.34fr 1fr; gap: 30px; margin-bottom: 54px; }
.team-task-map h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.team-task-map .shell > div { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, 0.2); }
.team-task-map article { min-height: 245px; padding: 24px; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.team-task-map article:last-child { border-right: 0; }
.team-task-map article span { color: #ff4b59; font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; }
.team-task-map article h3 { margin: 64px 0 14px; font-size: 1.3rem; }
.team-task-map article p { color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; }
.partner-manifesto { background: var(--red); color: var(--white); }
.partner-manifesto .shell { display: grid; grid-template-columns: 0.26fr 1fr; gap: 30px; padding-block: clamp(60px, 7vw, 100px); }
.partner-manifesto span { font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; text-transform: uppercase; }
.partner-manifesto blockquote { max-width: 1050px; font-size: clamp(1.8rem, 3.35vw, 3.25rem); font-weight: 470; letter-spacing: -0.04em; line-height: 1.12; }

/* Home: live top-down chess analysis. The board remains mathematically square. */
.analysis-hero {
  --analysis-light: #e7e2d8;
  --analysis-dark: #8b8780;
  --analysis-frame: #111212;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.analysis-hero::before,
.analysis-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.analysis-hero::before {
  background:
    linear-gradient(90deg, rgba(11, 12, 12, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 12, 12, 0.035) 1px, transparent 1px);
  background-position: calc(100% - var(--gutter)) 50%;
  background-size: 44px 44px;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 47%, #000 68%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0 47%, #000 68%, #000 100%);
}

.analysis-hero::after {
  background:
    radial-gradient(circle at 77% 49%, rgba(255, 255, 255, 0.74), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(11, 12, 12, 0.075), transparent 42%);
  opacity: 0.9;
}

.analysis-hero .hero-shade {
  z-index: 3;
  height: 100%;
  background:
    linear-gradient(90deg, var(--paper) 0 37%, rgba(241, 238, 231, 0.96) 43%, rgba(241, 238, 231, 0.66) 50%, rgba(241, 238, 231, 0.12) 58%, transparent 66%),
    linear-gradient(0deg, var(--paper) 0, rgba(241, 238, 231, 0.12) 9%, transparent 20%);
}

.analysis-hero .hero-content {
  position: absolute;
  z-index: 4;
  inset: 0;
  isolation: isolate;
}

.analysis-hero .hero-content h1 {
  grid-column: 1 / 7;
  max-width: 7.1em;
  font-size: clamp(3.55rem, 5.8vw, 5.85rem);
  letter-spacing: -0.066em;
  text-shadow: none;
}

.analysis-hero .hero-copy { grid-column: 1 / 6; margin: 24px 0 30px; }
.analysis-hero .hero-actions { grid-column: 1 / 7; }
.analysis-hero .analysis-motion-toggle {
  z-index: 7;
  top: 50%;
  right: calc(clamp(var(--gutter), 5vw, 92px) + clamp(390px, 36vw, 540px) + 18px);
  bottom: auto;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(11, 12, 12, 0.28);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 24px rgba(11, 12, 12, 0.08);
  color: var(--ink);
  transform: translateY(-50%);
  backdrop-filter: blur(9px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.analysis-motion-toggle:hover {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11, 12, 12, 0.14);
}

.analysis-motion-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.analysis-motion-toggle i {
  position: relative;
  width: 14px;
  height: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.analysis-motion-toggle i::before,
.analysis-motion-toggle i::after {
  position: absolute;
  top: 0;
  width: 4px;
  height: 16px;
  content: "";
  background: var(--red);
}

.analysis-motion-toggle i::before { left: 1px; }
.analysis-motion-toggle i::after { right: 1px; }

.analysis-hero .analysis-motion-toggle.is-paused i {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--red);
  background: transparent;
  box-shadow: none;
  transform: translateX(1px);
}

.analysis-motion-toggle.is-paused i::before,
.analysis-motion-toggle.is-paused i::after { content: none; }

.analysis-motion-toggle:disabled { opacity: 0.48; cursor: default; }

.analysis-stage {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  opacity: 1;
  contain: layout paint;
  transition: opacity 0.32s ease;
}

.analysis-stage[data-ready="false"],
.analysis-stage[aria-busy="true"],
.analysis-stage.is-fallback { opacity: 0; }

.analysis-console {
  position: absolute;
  top: 50%;
  right: clamp(var(--gutter), 5vw, 92px);
  display: grid;
  width: clamp(390px, 36vw, 540px);
  min-width: 0;
  gap: 11px;
  transform: translateY(-50%);
}

.analysis-board-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  justify-self: end;
  min-width: 0;
  padding: clamp(7px, 0.72vw, 11px);
  overflow: hidden;
  border: 1px solid rgba(11, 12, 12, 0.34);
  border-radius: 2px;
  background: var(--analysis-frame);
  box-shadow: 0 28px 64px rgba(11, 12, 12, 0.16), 0 5px 14px rgba(11, 12, 12, 0.12);
  contain: layout paint;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.analysis-stage.is-pointer-active .analysis-board-shell {
  border-color: rgba(178, 13, 27, 0.72);
  box-shadow: 0 30px 72px rgba(11, 12, 12, 0.19), 0 0 0 1px rgba(178, 13, 27, 0.16);
}

.analysis-stage[data-pointer="active"] .analysis-board-shell {
  border-color: rgba(178, 13, 27, 0.72);
  box-shadow: 0 30px 72px rgba(11, 12, 12, 0.19), 0 0 0 1px rgba(178, 13, 27, 0.16);
}

.analysis-board {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--analysis-light);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  contain: strict;
}

.analysis-squares,
.analysis-pieces,
.analysis-arrows,
.analysis-scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.analysis-squares {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  overflow: hidden;
  background: var(--analysis-light);
}

.analysis-square {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--analysis-light);
}

.analysis-square:nth-child(16n + 2),
.analysis-square:nth-child(16n + 4),
.analysis-square:nth-child(16n + 6),
.analysis-square:nth-child(16n + 8),
.analysis-square:nth-child(16n + 9),
.analysis-square:nth-child(16n + 11),
.analysis-square:nth-child(16n + 13),
.analysis-square:nth-child(16n + 15),
.analysis-square.is-dark,
.analysis-square[data-tone="dark"] { background: var(--analysis-dark); }

.analysis-square.is-light,
.analysis-square[data-tone="light"] { background: var(--analysis-light); }

.analysis-square::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: rgba(178, 13, 27, 0.2);
  box-shadow: inset 0 0 0 2px rgba(178, 13, 27, 0.55);
  transition: opacity 0.2s ease;
}

.analysis-square.is-calculation-path::before,
.analysis-square.is-calculation-candidate::before {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  content: attr(data-analysis-depth);
  background: rgba(11, 12, 12, 0.72);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.42rem;
  line-height: 1;
  box-shadow: 0 2px 7px rgba(11, 12, 12, 0.22);
  animation: analysis-depth-node 0.22s var(--ease) both;
}

.analysis-square.is-calculation-candidate::before {
  border-color: rgba(178, 13, 27, 0.66);
  background: rgba(255, 255, 255, 0.9);
  color: var(--red);
}

.analysis-square.is-calculation-origin::after {
  opacity: 0.62;
  background: rgba(11, 12, 12, 0.12);
  box-shadow: inset 0 0 0 2px rgba(11, 12, 12, 0.58);
}

.analysis-square.is-calculation-target::after {
  opacity: 1;
  background: rgba(178, 13, 27, 0.2);
  box-shadow: inset 0 0 0 2px rgba(178, 13, 27, 0.8), inset 0 0 20px rgba(178, 13, 27, 0.16);
}

.analysis-square.is-logo-result {
  z-index: 5;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(178, 13, 27, 0.9), 0 0 26px rgba(178, 13, 27, 0.48);
  animation: analysis-logo-square 0.62s cubic-bezier(0.18, 0.82, 0.2, 1) both;
}

.analysis-square.is-logo-result::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  content: "";
  background: var(--red) url("/assets/images/logo-mark.svg") center / 100% 100% no-repeat;
  box-shadow: none;
  animation: analysis-logo-mark 0.62s cubic-bezier(0.18, 0.82, 0.2, 1) both;
}

.analysis-square.is-logo-result::after {
  z-index: 3;
  opacity: 1;
  background: linear-gradient(115deg, transparent 14%, rgba(255, 255, 255, 0.72) 48%, transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.46);
  animation: analysis-logo-sheen 0.62s ease-out both;
}

.analysis-square.is-source::after,
.analysis-square.is-target::after,
.analysis-square.is-candidate::after,
.analysis-square[data-active="true"]::after { opacity: 1; }
.analysis-square.is-candidate::after { opacity: 0.46; box-shadow: inset 0 0 0 1px rgba(178, 13, 27, 0.5); }

.analysis-pieces {
  z-index: 3;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.analysis-pieces.is-active { opacity: 1; }

.analysis-piece {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 12.5%;
  height: 12.5%;
  padding: 0.72%;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px rgba(11, 12, 12, 0.24));
  will-change: transform, opacity;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s ease, filter 0.2s ease;
}

.analysis-piece.is-considered { filter: drop-shadow(0 0 5px rgba(178, 13, 27, 0.72)); }
.analysis-piece.is-leaving { opacity: 0; }
.analysis-piece.is-logo-resolved {
  opacity: 0 !important;
  filter: blur(7px) drop-shadow(0 0 8px rgba(178, 13, 27, 0.42));
  transform-origin: center;
}

.analysis-arrows {
  z-index: 4;
  display: block;
  max-width: none;
  overflow: hidden;
  pointer-events: none;
}

.analysis-arrows path,
.analysis-arrows line,
.analysis-arrows polyline {
  fill: none;
  stroke: rgba(11, 12, 12, 0.62);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 0.2s ease, stroke 0.2s ease;
}

.analysis-arrows marker path,
.analysis-arrows .is-primary,
.analysis-arrows [data-priority="primary"] { fill: var(--red); stroke: var(--red); }
.analysis-arrows #analysis-arrow-head path { fill: rgba(11, 12, 12, 0.66); stroke: none; }
.analysis-arrows #analysis-arrow-head-key path { fill: var(--red); stroke: none; }
.analysis-arrows .is-secondary,
.analysis-arrows [data-priority="secondary"] { opacity: 0.52; stroke-dasharray: 5 7; }
.analysis-arrows .is-drawing { stroke-dasharray: 8 9; animation: analysis-route 0.72s linear infinite; }
.analysis-arrows .analysis-arrow-calculation { transition: opacity 0.1s linear, stroke 0.16s ease, stroke-width 0.16s ease; }
.analysis-arrows .is-current-calculation { filter: drop-shadow(0 0 2px rgba(178, 13, 27, 0.42)); }

.analysis-scan {
  z-index: 2;
  top: -32%;
  bottom: auto;
  height: 34%;
  opacity: 0.68;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.13) 74%, rgba(178, 13, 27, 0.46) 98%, transparent);
  mix-blend-mode: screen;
  animation: analysis-scan 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.analysis-stage.is-calculating .analysis-scan {
  opacity: 0.88;
  animation-duration: 1.12s;
}

.analysis-stage.is-calculation-hold .analysis-board-shell {
  border-color: rgba(178, 13, 27, 0.56);
  box-shadow: 0 30px 72px rgba(11, 12, 12, 0.17), 0 0 0 1px rgba(178, 13, 27, 0.12);
}

.analysis-board-files {
  position: absolute;
  z-index: 7;
  right: clamp(7px, 0.72vw, 11px);
  bottom: clamp(7px, 0.72vw, 11px);
  left: clamp(7px, 0.72vw, 11px);
  display: grid;
  height: 13px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.46rem;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(11, 12, 12, 0.72);
  text-transform: uppercase;
  pointer-events: none;
}

.analysis-cursor {
  position: absolute;
  z-index: 6;
  top: var(--analysis-pointer-y, var(--cursor-y, 50%));
  left: var(--analysis-pointer-x, var(--cursor-x, 50%));
  width: 34px;
  height: 34px;
  border: 1px solid rgba(178, 13, 27, 0.86);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.16s ease, transform 0.2s var(--ease);
}

.analysis-cursor::before,
.analysis-cursor::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: var(--red);
  transform: translate(-50%, -50%);
}
.analysis-cursor::before { width: 8px; height: 1px; }
.analysis-cursor::after { width: 1px; height: 8px; }
.analysis-stage.is-pointer-active .analysis-cursor { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.analysis-stage[data-pointer="active"] .analysis-cursor { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.analysis-readout {
  display: grid;
  min-height: 43px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 8px 11px;
  overflow: hidden;
  border: 1px solid rgba(11, 12, 12, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(11, 12, 12, 0.62);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.59rem;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.analysis-index {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-right: 13px;
  border-right: 1px solid rgba(11, 12, 12, 0.14);
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}

.analysis-readout > div,
.analysis-readout > p { display: grid; min-width: 0; gap: 2px; }
.analysis-readout > div strong,
.analysis-readout > div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analysis-readout > div small { opacity: 0.72; font-size: 0.53rem; }
.analysis-readout > p { justify-items: end; margin: 0; text-align: right; }
.analysis-readout > p span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: rgba(11, 12, 12, 0.5);
  white-space: nowrap;
}

.analysis-readout > p span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(11, 12, 12, 0.54);
  border-radius: 50%;
  content: "";
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.36);
}

.analysis-stage[data-turn="black"] .analysis-readout > p span::before {
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(11, 12, 12, 0.08);
}
.analysis-readout strong,
.analysis-readout b { color: var(--ink); font-weight: 560; }
.analysis-readout > p b { color: var(--red); white-space: nowrap; }

@keyframes analysis-scan {
  0%, 8% { transform: translateY(0); opacity: 0; }
  16% { opacity: 0.64; }
  76% { opacity: 0.64; }
  88%, 100% { transform: translateY(390%); opacity: 0; }
}

@keyframes analysis-route {
  to { stroke-dashoffset: -17; }
}

@keyframes analysis-depth-node {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes analysis-logo-square {
  0% { transform: scale(0.7) rotate(-4deg); filter: saturate(0.2); }
  54% { transform: scale(1.08) rotate(0); filter: saturate(1); }
  100% { transform: scale(1); filter: saturate(1); }
}

@keyframes analysis-logo-mark {
  0%, 18% { opacity: 0; clip-path: inset(50%); transform: scale(0.72); }
  62% { opacity: 1; clip-path: inset(0); transform: scale(1.05); }
  100% { opacity: 1; clip-path: inset(0); transform: scale(1); }
}

@keyframes analysis-logo-sheen {
  from { transform: translateX(-145%); }
  to { transform: translateX(145%); }
}

/* Direct contact page: the form is the first meaningful screen. */
.contact-page-direct { margin-top: var(--header); padding-top: clamp(58px, 7vw, 98px); }
.contact-page-direct .contact-form-wrap > h1 { margin-bottom: 34px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.93; }
.requisites article > a { margin-top: 10px; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; }
.requisites article > a:hover { color: var(--red); }

/* Published legal texts use nested blocks for readable paragraphs. */
.legal-document section > div { display: grid; gap: 12px; }
.legal-document a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .analysis-console { right: max(22px, var(--gutter)); width: clamp(360px, 36vw, 430px); }
  .analysis-hero .analysis-motion-toggle { right: calc(max(22px, var(--gutter)) + clamp(360px, 36vw, 430px) + 18px); }
  .analysis-hero .hero-shade { background: linear-gradient(90deg, var(--paper) 0 39%, rgba(241, 238, 231, 0.96) 46%, rgba(241, 238, 231, 0.65) 54%, rgba(241, 238, 231, 0.1) 64%, transparent 71%); }
  .analysis-hero .hero-content h1 { grid-column: 1 / 7; font-size: clamp(3.25rem, 6.1vw, 5rem); }
  .analysis-hero .hero-copy { grid-column: 1 / 6; }
  .analysis-hero .hero-actions { grid-column: 1 / 7; }
  .difference-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .difference-ledger { max-width: 760px; }
  .difference-principle-grid, .status-mechanic-grid, .team-task-map .shell > div { grid-template-columns: repeat(2, 1fr); }
  .difference-principle-grid article:nth-child(2), .status-mechanic-grid article:nth-child(2), .team-task-map article:nth-child(2) { border-right: 0; }
  .difference-principle-grid article:nth-child(-n+2), .status-mechanic-grid article:nth-child(-n+2), .team-task-map article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .status-mechanic-grid article:nth-child(-n+2), .team-task-map article:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, 0.2); }
  .shop-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .status-hero > .shell { grid-template-columns: 1fr 0.72fr; }
  .status-level-grid { grid-template-columns: repeat(2, 1fr); }
  .status-level { border-bottom: 1px solid var(--line); }
  .status-level:nth-child(2n) { border-right: 0; }
  .status-level:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 760px) {
  .analysis-hero { height: auto; min-height: 850px; }
  .analysis-hero::before {
    background-size: 36px 36px;
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(180deg, transparent 0 40%, #000 58%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0 40%, #000 58%, #000 100%);
  }
  .analysis-hero::after { opacity: 0.56; }
  .analysis-hero .hero-shade { background: linear-gradient(180deg, var(--paper) 0 36%, rgba(241, 238, 231, 0.98) 43%, rgba(241, 238, 231, 0.42) 50%, transparent 60% 94%, rgba(241, 238, 231, 0.68) 100%); }
  .analysis-hero .hero-content { display: flex; flex-direction: column; justify-content: flex-start; padding-block: 22px 458px; }
  .analysis-hero .hero-content h1 { max-width: 8.2em; margin-top: 0; font-size: clamp(2.8rem, 12.6vw, 3.85rem); }
  .analysis-hero .hero-copy { max-width: 94%; margin: 15px 0 13px; font-size: 0.82rem; }
  .analysis-hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .analysis-hero .hero-actions .button { flex: 1 1 0; min-height: 45px; padding-inline: 12px; font-size: 0.61rem; }
  .analysis-console { top: auto; right: auto; bottom: 22px; left: 50%; width: min(calc(100vw - 32px), 402px); gap: 8px; transform: translateX(-50%); }
  .analysis-board-shell { padding: 6px; box-shadow: 0 18px 42px rgba(11, 12, 12, 0.17); }
  .analysis-readout { min-height: 38px; padding: 6px 8px; font-size: 0.53rem; }
  .analysis-cursor { display: none; }
  .analysis-hero .analysis-motion-toggle {
    top: auto;
    right: auto;
    bottom: calc(min(calc(100vw - 32px), 402px) + 78px);
    left: max(16px, calc(50% - min(calc(100vw - 32px), 402px) / 2));
    transform: none;
  }
  .contact-page-direct { padding-top: 48px; }
  .status-quote { grid-template-columns: 1fr; gap: 18px; padding: 26px 18px; }
  .difference-hero-grid { min-height: 0; padding-block: 64px 100px; }
  .difference-statement h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .difference-ledger > div { grid-template-columns: 1fr auto; min-height: 92px; }
  .difference-ledger strong { grid-column: 1 / -1; padding-bottom: 14px; }
  .difference-principles > header, .status-mechanic header, .status-boundaries > header, .team-editorial > header, .team-task-map header { grid-template-columns: 1fr; gap: 18px; }
  .difference-principle-grid, .status-mechanic-grid, .team-task-map .shell > div, .status-level-grid, .status-term-grid, .status-boundaries > div { grid-template-columns: 1fr; }
  .difference-principle-grid article, .status-mechanic-grid article, .team-task-map article, .status-level, .status-term-grid article, .status-boundaries article { min-height: auto; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .status-mechanic-grid article, .team-task-map article { border-bottom-color: rgba(255, 255, 255, 0.2) !important; }
  .difference-principle-grid article:last-child, .status-mechanic-grid article:last-child, .team-task-map article:last-child, .status-level:last-child, .status-term-grid article:last-child, .status-boundaries article:last-child { border-bottom: 0 !important; }
  .difference-principle-grid h3, .status-mechanic-grid h3, .team-task-map article h3 { margin-top: 34px; }
  .difference-paths > .shell { grid-template-columns: 1fr; }
  .difference-paths article { min-height: 430px; padding: 44px 20px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .shop-heading { grid-template-columns: 1fr; gap: 24px; }
  .shop-cart-shortcut { justify-self: stretch; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: relative; top: auto; }
  .shop-filters { grid-template-columns: 1fr 1fr; }
  .shop-catalog .shop-toolbar { position: relative; top: auto; grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-dialog-order { grid-template-columns: 1fr; }
  .shop-dialog-order .button { grid-column: 1; }
  .status-hero > .shell, .status-terms, .status-actions, .status-referral > .shell:first-child { grid-template-columns: 1fr; }
  .status-hero h1 { font-size: clamp(3.8rem, 16vw, 5.3rem); }
  .status-hero dl { margin-top: 24px; }
  .status-spend > .shell { grid-template-columns: 1fr; }
  .status-spend article { min-height: 330px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
  .status-spend article:last-child { border-bottom: 0; }
  .status-example-grid { grid-template-columns: 1fr; }
  .status-actions > div:last-child { justify-content: flex-start; }
  .legal-status-table > div { grid-template-columns: 34px 1fr auto; }
  .legal-status-table span { grid-column: 2 / -1; grid-row: 2; }
  .status-rules-example { grid-template-columns: 1fr; gap: 10px; }
  .team-profit-hero .team-hero-content > p:not(.kicker) { grid-column: 1 / -1; grid-row: auto; margin-top: 24px; }
  .team-editorial-person, .team-editorial-person-reverse { grid-template-columns: 1fr; }
  .team-editorial-person picture, .team-editorial-person-reverse picture { grid-column: 1; grid-row: 1; min-height: 430px; }
  .team-editorial-person > div, .team-editorial-person-reverse > div { grid-column: 1; grid-row: 2; }
  .partner-manifesto .shell { grid-template-columns: 1fr; gap: 22px; }
}

/* Match the people, not the source canvases: equal head size and eye line.
   Savva's wider shot includes substantially more empty space above his head. */
.home .team-preview .advisor-photo {
  position: relative;
  background: #a29f9c;
  --portrait-height: 100%;
  --portrait-top: 0%;
  --portrait-offset-x: -50%;
}
.home .team-preview .advisor-photo-savva {
  --portrait-height: 144%;
  --portrait-top: -18.6%;
  --portrait-offset-x: -55%;
}
.home .team-preview .advisor-photo picture {
  display: block;
  position: absolute;
  inset: auto;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  transform: translateY(-50%);
  transform-origin: 50% 30%;
  transition: transform 0.7s var(--ease);
}
.home .team-preview .advisor-photo img {
  position: absolute;
  left: 50%;
  top: var(--portrait-top);
  width: auto;
  height: var(--portrait-height);
  max-width: none;
  object-fit: contain;
  object-position: center bottom !important;
  transform: translateX(var(--portrait-offset-x));
}
/* A shared 4:5 reference frame covers both cards without exposing the grey
.home .team-preview .advisor-photo:hover picture { transform: translateY(-50%) scale(1.018); }

/* The homepage introduces the store's working model, not a second price list. */
.home .store-principles { min-width: 0; }
.home .store-principle {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  padding-block: clamp(18px, 2.5svh, 26px);
  border-bottom: 1px solid var(--line-light);
}
.home .store-principle:first-child { border-top: 1px solid var(--line-light); }
.home .store-principle > span {
  padding-top: 4px;
  color: #ff6a75;
  font: 0.875rem "IBM Plex Mono", monospace;
}
.home .store-principle h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 510;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.home .store-principle p {
  max-width: 55ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}
.home .product-facts span { font-size: 0.875rem; }

.js .home main > section:not(.home-hero) .reveal {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 28px, 0) scale(0.995);
  transition:
    opacity 0.72s var(--ease) var(--reveal-delay, 0ms),
    filter 0.72s var(--ease) var(--reveal-delay, 0ms),
    transform 0.86s var(--ease) var(--reveal-delay, 0ms);
}

.js .home main > section:not(.home-hero) .reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Homepage viewport fit: every desktop chapter reads as one balanced screen. */
@media (min-width: 901px) {
  .home { --home-screen: calc(100svh - var(--header)); }

  .home main > .specialties,
  .home main > .product,
  .home main > .team-preview,
  .home main > .faq-section {
    min-height: var(--home-screen);
    scroll-margin-top: var(--header);
  }

  .home main > .specialties,
  .home main > .team-preview,
  .home main > .faq-section {
    display: grid;
    align-content: center;
    padding-block: clamp(32px, 5svh, 64px);
  }

  .home .section-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: clamp(32px, 6vw, 88px);
    margin-bottom: clamp(24px, 4svh, 48px);
  }

  .home .section-head h2 {
    font-size: clamp(2.35rem, min(4vw, 6.5svh), 3.85rem);
    line-height: 0.96;
  }

  .home .section-head > p:last-child {
    justify-self: end;
    font-size: clamp(0.88rem, min(1.05vw, 1.85svh), 1rem);
  }

  .home .specialty-row {
    grid-template-columns: 46px minmax(230px, 0.9fr) minmax(300px, 1.1fr) 22px;
    min-height: clamp(92px, 14svh, 128px);
  }

  .home .specialty-row h3 {
    font-size: clamp(1.55rem, min(2.8vw, 4.3svh), 2.75rem);
    line-height: 1;
  }

  .home .specialty-row > div { gap: clamp(8px, 1.5svh, 14px); }

  .home main > .product {
    display: grid;
    align-items: center;
    padding-block: clamp(28px, 4.5svh, 52px);
  }

  .home .product > .shell {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    grid-template-areas:
      "head rail"
      "facts rail"
      "actions status";
    column-gap: clamp(32px, 5vw, 76px);
    row-gap: clamp(13px, 2.2svh, 24px);
    align-items: start;
  }

  .home .product-head {
    grid-area: head;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2svh, 20px);
  }

  .home .product-head h2 {
    margin-top: 8px;
    font-size: clamp(2.45rem, min(4.25vw, 6.5svh), 4rem);
    line-height: 0.95;
  }

  .home .product-head > div:last-child {
    gap: clamp(10px, 1.8svh, 18px);
    align-content: start;
    font-size: 1rem;
  }

  .home .product-head > div:last-child > p { max-width: 480px; }
  .home .product-from b { font-size: clamp(1.8rem, min(2.5vw, 4.4svh), 2.7rem); }

  .home .product-facts {
    grid-area: facts;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .home .product-facts span {
    display: grid;
    min-height: clamp(38px, 6.5svh, 58px);
    place-items: center;
    padding: 8px 10px;
    font-size: 0.875rem;
  }

  .home .product-facts span:nth-child(2) { border-right: 0; }
  .home .product-facts span:nth-child(-n + 2) { border-bottom: 1px solid var(--line-light); }

  .home .plan-rail {
    grid-area: rail;
    align-self: center;
    margin-top: 0;
  }

  .home .plan-line {
    grid-template-columns: 32px minmax(190px, 1fr) minmax(170px, 0.78fr) minmax(120px, 0.56fr);
    gap: clamp(10px, 1.4vw, 20px);
    min-height: clamp(54px, 8.5svh, 68px);
  }

  .home .plan-line > strong {
    font-size: clamp(1.15rem, min(1.65vw, 3.15svh), 1.65rem);
    line-height: 1.08;
  }

  .home .plan-line > b {
    font-size: clamp(1rem, min(1.32vw, 2.65svh), 1.32rem);
    white-space: nowrap;
  }

  .home .status-quote {
    grid-area: status;
    grid-template-columns: minmax(92px, 0.28fr) minmax(0, 1fr);
    gap: clamp(8px, 1.5svh, 14px) clamp(14px, 2vw, 28px);
    margin-top: 0;
    padding: clamp(14px, 2.5svh, 24px) clamp(12px, 1.5vw, 22px);
  }

  .home .status-quote p {
    font-size: clamp(1.02rem, min(1.55vw, 2.8svh), 1.45rem);
    line-height: 1.2;
  }

  .home .status-quote small {
    grid-column: 2;
    font-size: clamp(0.7rem, min(0.78vw, 1.35svh), 0.78rem);
    line-height: 1.4;
  }

  .home .product-actions {
    grid-area: actions;
    align-self: end;
    margin-top: 0;
  }

  .home .product-actions .button {
    min-height: clamp(42px, 6.4svh, 48px);
    padding-inline: clamp(14px, 1.5vw, 20px);
  }

  .home .team-preview .advisor-grid { gap: clamp(24px, 3vw, 44px); }
  .home .team-preview .advisor-card {
    display: grid;
    height: clamp(400px, 58svh, 600px);
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    overflow: hidden;
    border-block: 1px solid var(--line);
  }

  .home .team-preview .advisor-photo {
    width: 100%;
    height: 100%;
  }

  .home .team-preview .advisor-info {
    grid-template-columns: 1fr;
    gap: clamp(8px, 1.4svh, 12px);
    align-content: end;
    min-width: 0;
    padding: clamp(18px, 2.4svh, 26px) clamp(16px, 1.5vw, 24px);
    border-left: 1px solid var(--line);
  }

  .home .team-preview .advisor-info > span { grid-row: auto; }

  .home .team-preview .advisor-info h3 {
    font-size: clamp(1.6rem, min(2.3vw, 4svh), 2.5rem);
    line-height: 1;
  }

  .home .team-preview .advisor-info p {
    font-size: clamp(0.875rem, 0.95vw, 1rem);
    line-height: 1.4;
  }

  .home .faq-item summary { min-height: clamp(54px, 8.2svh, 72px); }
  .home .faq-section > .text-link { margin-top: clamp(18px, 3svh, 30px); }
}

/* Give portraits the visual weight of the neighbouring homepage chapters.
   On narrower screens move captions below rather than squeezing the image. */
@media (min-width: 701px) and (max-width: 1100px) {
  .home .team-preview .advisor-card {
    display: grid;
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
  .home .team-preview .advisor-photo { height: clamp(400px, 58svh, 560px); }
  .home .team-preview .advisor-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 22px 0;
    border-left: 0;
  }
  .home .team-preview .advisor-info > span { grid-row: auto; }
  .home .team-preview .advisor-info h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
  .home .team-preview .advisor-info p { font-size: 0.9375rem; }
}

@media (max-width: 700px) {
  .home main > .specialties,
  .home main > .team-preview,
  .home main > .faq-section { padding-block: clamp(48px, 13vw, 64px); }

  .home main > .product { padding-block: clamp(52px, 14vw, 70px); }
  .home .section-head { gap: 20px; margin-bottom: 32px; }
  .home .section-head h2 { font-size: clamp(2.15rem, 10.6vw, 3.2rem); }
  .home .product-head { gap: 28px; }
  .home .product-head h2 { font-size: clamp(2.55rem, 12vw, 3.65rem); }
  .home .product-facts { margin-top: 38px; }
  .home .advisor-grid { gap: 46px; }
  .home .advisor-photo { height: min(142vw, 680px); }
  .home .faq-item summary { min-height: 68px; }
}

/* The wooden WebGL scene shares the legal-move clock with the SVG fallback. */
.analysis-stage[data-renderer="loading"] { visibility: hidden; }
.analysis-hero .hero-content { pointer-events: none; }
.analysis-hero .hero-content :is(h1, .hero-copy, .hero-actions) { pointer-events: auto; }
.analysis-webgl {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  image-rendering: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.analysis-hero.has-analysis-3d {
  --analysis-hero-height: min(860px, calc(100svh - var(--header)));
  --analysis-scene-size: min(70vw, 1300px);
  --analysis-scene-right: calc(var(--analysis-scene-size) * -0.09);
  --analysis-scene-ratio: 1.34;
  height: var(--analysis-hero-height);
  overflow: hidden;
}
.analysis-hero.has-analysis-3d .hero-shade { background: none; }
.analysis-hero.has-analysis-3d::before {
  z-index: 3;
  background: linear-gradient(90deg, var(--paper) 0 32%, rgba(241, 238, 231, 0.98) 37%, rgba(241, 238, 231, 0.64) 42%, transparent 50%);
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.has-analysis-3d .analysis-console {
  top: 52%;
  right: var(--analysis-scene-right);
  width: var(--analysis-scene-size);
  gap: 0;
}
.analysis-hero.has-analysis-3d .analysis-stage .analysis-board-shell {
  aspect-ratio: var(--analysis-scene-ratio);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  contain: layout;
}
.is-webgl-ready .analysis-webgl { opacity: 1; }
.is-webgl-ready :is(.analysis-board, .analysis-board-files) { display: none; pointer-events: none; }
.has-analysis-3d .analysis-readout {
  position: absolute;
  z-index: 5;
  right: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  bottom: 24px;
  width: min(46vw, 680px);
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(241, 238, 231, 0.94);
  box-shadow: none;
  backdrop-filter: none;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}
.has-analysis-3d .analysis-readout > div small { font-size: 0.75rem; }
.analysis-hero.has-analysis-3d .analysis-motion-toggle {
  top: auto;
  right: calc(max(var(--gutter), (100vw - var(--shell)) / 2) + min(46vw, 680px) + 12px);
  bottom: 36px;
  transform: none;
}
@media (min-width: 761px) {
  .has-analysis-3d .hero-copy { max-width: min(35vw, 470px); }
  .has-analysis-3d .hero-content h1 { max-width: min(37vw, 7.1em); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .analysis-hero.has-analysis-3d { --analysis-scene-size: 70vw; }
  .has-analysis-3d .analysis-readout {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px 12px;
  }
  .has-analysis-3d .analysis-readout > p { grid-column: 2; justify-items: start; text-align: left; }
}
@media (max-width: 760px) {
  .analysis-hero.has-analysis-3d {
    --analysis-scene-size: min(104vw, 540px);
    --analysis-scene-ratio: 1.08;
    height: auto;
    min-height: 0;
  }
  .analysis-hero.has-analysis-3d::before {
    background: linear-gradient(180deg, var(--paper) 0 29%, rgba(241, 238, 231, 0.72) 37%, transparent 46%);
  }
  .has-analysis-3d .analysis-console { top: auto; right: auto; bottom: 96px; }
  .analysis-hero.has-analysis-3d .hero-content {
    position: relative;
    inset: auto;
    height: auto;
    padding-bottom: calc(var(--analysis-scene-size) / 1.08 + 112px);
  }
  .has-analysis-3d .analysis-readout {
    right: var(--gutter);
    bottom: 18px;
    width: calc(100% - var(--gutter) * 2 - 54px);
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
    margin: 0;
    padding: 8px 10px;
  }
  .has-analysis-3d .analysis-readout > p {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
  .analysis-hero.has-analysis-3d .analysis-motion-toggle {
    right: auto;
    bottom: 38px;
    left: var(--gutter);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .brand-intro,
  .brand-castle { display: none !important; }
  .header-cart.is-updated .cart-piece-fan,
  .header-cart.is-updated .header-cart-icon > b { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .home main > section:not(.home-hero) .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .status-referral-piece { animation: none; }
  .motion-surface,
  .motion-surface.is-pointer-active { transform: none !important; }
  .analysis-hero::before { opacity: 0.14; }
  .analysis-hero::after { opacity: 0.48; }
  .analysis-stage,
  .analysis-piece { transition: none; }
  .analysis-scan,
  .analysis-cursor,
  .analysis-hero [data-analysis-toggle] { display: none; }
  .analysis-arrows .is-drawing { animation: none; }
}
/* Exact variant prices and optional long-form product copy. */
.shop-card-level { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 0 16px; }
.shop-card-level > span { font-size: 14px; color: var(--muted); }
.shop-card-level select { width: 100%; min-width: 0; padding: 9px 28px 9px 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: 14px; }
.shop-card-context { margin: 0 0 16px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.shop-card-copy { padding-block: 20px 16px; }
.shop-card-title { min-width: 0; margin: 0; font: inherit; }
.shop-card-copy > .shop-card-name { display: block; overflow: visible; color: var(--ink); -webkit-line-clamp: unset; font-weight: 520; letter-spacing: -0.045em; }
.shop-dialog-quantity-field { min-width: 0; }
.shop-dialog-quantity-field > label { display: block; margin-bottom: 8px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 14px; }
.shop-card-footer strong { font-size: clamp(20px, 1.7vw, 26px); font-variant-numeric: tabular-nums; }
.shop-card-footer small { font-size: 12px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.shop-card-copy > i { font-size: 14px; text-transform: none; }
.shop-description-toggle { border-bottom: 1px solid var(--line); }
.shop-description-toggle > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.shop-description-toggle > summary::-webkit-details-marker { display: none; }
.shop-description-toggle > summary b { font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.shop-description-toggle[open] > summary b { transform: rotate(45deg); }
.shop-description-toggle .shop-dialog-body { border-top: 1px solid var(--line); border-bottom: 0; }
.shop-description-toggle[open] .shop-dialog-body { animation: shop-details-in .2s ease both; }
.shop-complexity-help summary { font-size: 14px; cursor: pointer; color: var(--muted); }
.shop-complexity-help p { padding-top: 10px; }
.footer-meta { font-size: 14px; line-height: 1.6; }
.footer-meta p { max-width: 960px; margin: 0; }
@keyframes shop-details-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .shop-description-toggle[open] .shop-dialog-body { animation: none; } .shop-description-toggle > summary b { transition: none; } }

/* Audit: readable legal copy, predictable grids and visible keyboard focus. */
.team-editorial-person picture { position: relative; aspect-ratio: 4 / 5; min-height: 0; }
.team-editorial-person img { position: absolute; left: 50%; top: 0; width: auto; max-width: none; height: 100%; object-fit: contain; transform: translateX(-50%); }
.team-editorial-savva img { height: 144%; top: -18.6%; transform: translateX(-55%); }
.team-editorial-person:hover img { filter: grayscale(.2); }
.team-editorial-person:hover:not(.team-editorial-savva) img { transform: translateX(-50%); }
.team-editorial-savva:hover img { transform: translateX(-55%); }
.status-rules > section { display: block; }
.status-rules > section > h2 { margin-bottom: 18px; }
.status-rules > section > p { max-width: 80ch; }
.status-rules > section > p + p { margin-top: 14px; }
.status-rules .legal-status-table { margin-bottom: 20px; }
.status-level-elite p, .status-level-elite small,
.cart-summary-total span { color: rgba(255,255,255,.88); }
.price-document-card small { color: rgba(255,255,255,.7); }
.price-document-card > div { min-width: 0; }
.price-document-card > div:first-child > span { color: rgba(255,255,255,.7); }
:is(.product, .price-document-card, .work-budget-close, .status-hero, .status-referral) :focus-visible { outline-color: #fff; }
.button:focus-visible { outline: 2px solid var(--ink); box-shadow: 0 0 0 5px #fff; }
.form-field-hint, .form-privacy-note { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
.field > span:first-child { font-size: 12px; }
.form-privacy-note { margin: 10px 0 20px; }
.form-privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-mode-note { margin: 0 0 22px; padding: 14px 16px; border-left: 2px solid var(--red); background: var(--paper); font-size: 14px; line-height: 1.6; }
[data-form-mode="live"] .form-mode-note { display: none; }
@media (max-width: 760px) {
  .price-document-card { grid-template-columns: minmax(0, 1fr); }
  .price-document-card h2 { font-size: clamp(1.8rem, 7vw, 2.7rem); overflow-wrap: anywhere; }
  .price-document-actions .button { min-width: 0; padding-inline: 14px; white-space: normal; }
  .team-hero-content { display: flex; flex-direction: column; }
  .team-hero-content > p { margin-block: 22px; }
  .team-hero-facts { margin-top: 24px; }
  .legal-document h2 { overflow-wrap: anywhere; }
}

/* Quiet navigation: separate home, consistent sizing and rhythm for every section. */
.mobile-menu{--menu-panel-width:min(460px,100vw);--menu-tile-size:max(38.334px,8.334dvh)}
.menu-panel{display:block;padding:calc(var(--header) + 30px) 42px 28px;overflow-y:auto;overscroll-behavior:contain}
.mobile-menu nav{display:flex;flex-direction:column;align-items:stretch;width:100%}
.mobile-menu nav a{display:flex;align-items:center;min-height:58px;padding:12px 0;border:0;text-decoration:none}
.mobile-menu nav a strong{font-size:27px;line-height:1.25;font-weight:450;letter-spacing:-.035em}
.mobile-menu nav a.menu-home-link{padding:12px 0 24px;margin-bottom:24px;border-bottom:1px solid #17171726}
.mobile-menu nav a.menu-home-link strong{font-size:19px;letter-spacing:-.02em}
.mobile-menu nav a.menu-secondary-start{margin-top:0}
.mobile-menu nav a:hover,.mobile-menu nav a[aria-current="page"]{color:var(--red)}
.mobile-menu nav a:focus-visible{outline:2px solid var(--red);outline-offset:5px;border-radius:2px}
@media(max-width:600px){.menu-panel{padding:calc(var(--header) + 24px) 28px 24px}.mobile-menu nav a strong{font-size:25px}}
@media(max-height:650px){.menu-panel{padding-top:calc(var(--header) + 12px)}.mobile-menu nav a{min-height:48px;padding-block:9px}.mobile-menu nav a.menu-home-link{padding-bottom:12px;margin-bottom:12px}.mobile-menu nav a strong{font-size:23px}}
