/*
Theme Name: wp-content.ru by 320px
Theme URI: https://wp-content.ru/
Author: 320px team
Author URI: https://320px.ru/
Description: Lightweight bilingual hybrid theme for wp-content.ru.
Version: 0.6.3
Requires at least: 7.1
Requires PHP: 8.1
Text Domain: wp-content-320
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("assets/fonts/golos-text.woff2") format("woff2"); font-style: normal; font-weight: 400 900; font-display: swap; }

:root {
  --canvas: #f4f3ee; --canvas-deep: #e8e9e4; --surface: #fffef9;
  --ink: #10202b; --ink-soft: #1c303d; --muted: #52626c;
  --line: #c7cecd; --line-soft: rgba(82, 98, 108, .2);
  --action: #3157f6; --action-dark: #193dcc; --action-soft: #e0e7ff;
  --signal: #008f80; --signal-dark: #006a60; --signal-soft: #d9efeb;
  --accent: #ef684f; --warning: #885000; --warning-soft: #fff0d3;
  --error: #9d2734; --error-soft: #fbe4e7; --success: #116b46; --success-soft: #dff1e8;
  --focus: #ffb51b; --shell: min(1320px, calc(100% - 64px)); --reading: 680px;
  --section: clamp(96px, 11vw, 168px); --radius-s: 14px; --radius-m: 28px; --radius-l: 48px;
  --shadow-soft: 0 14px 44px rgba(16, 32, 43, .08); --shadow-deep: 0 34px 90px rgba(16, 32, 43, .16);
  --scroll-progress: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 8% -8%, rgba(49, 87, 246, .09), transparent 34rem), var(--canvas); font: 400 1rem/1.7 "Golos Text", Arial, sans-serif; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin-top: 0; font-family: "Geologica", Arial, sans-serif; letter-spacing: -.045em; text-wrap: pretty; }
h1 { font-size: clamp(2.55rem, 3.75vw, 3.25rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 2.5vw, 2.3rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1.16; }
p { max-width: 68ch; }
.heading--long { font-size: clamp(2.35rem, 3.7vw, 3.25rem); line-height: 1.07; }
.heading--xlong { font-size: clamp(2.08rem, 3.2vw, 2.9rem); line-height: 1.1; }
.section h2.heading--long { font-size: clamp(1.82rem, 2.25vw, 2.2rem); line-height: 1.13; }
.section h2.heading--xlong { font-size: clamp(1.68rem, 2vw, 2rem); line-height: 1.16; }
.card-title--long { font-size: clamp(1.15rem, 1.45vw, 1.5rem); }
.card-title--xlong { font-size: clamp(1.05rem, 1.25vw, 1.32rem); line-height: 1.22; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 8px; padding: 10px 14px; color: #fff; background: var(--ink); transition: top 140ms ease; }
.skip-link:focus { top: 8px; }

/* Command-bar header. */
.site-header { position: sticky; z-index: 80; top: 12px; width: min(1380px, calc(100% - 24px)); margin-inline: auto; background: rgba(255, 254, 249, .86); border: 1px solid rgba(82, 98, 108, .24); border-radius: 22px; box-shadow: 0 10px 34px rgba(16, 32, 43, .07); backdrop-filter: blur(18px) saturate(135%); transition: background 180ms ease, box-shadow 180ms ease; }
.site-header[data-scrolled="true"] { background: rgba(255, 254, 249, .96); box-shadow: 0 18px 54px rgba(16, 32, 43, .13); }
.site-header::after { position: absolute; right: 20px; bottom: -1px; left: 20px; height: 2px; background: linear-gradient(90deg, var(--action), var(--signal), var(--accent)); border-radius: 999px; content: ""; transform: scaleX(var(--scroll-progress)); transform-origin: left; }
.site-header__inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark { position: relative; font: 790 1.38rem/1 "Geologica", Arial, sans-serif; letter-spacing: -.07em; }
.brand__mark::after { position: absolute; right: -8px; bottom: 1px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 0 rgba(239, 104, 79, .35); content: ""; animation: brand-pulse 3.2s ease-out infinite; }
.brand__descriptor { padding-left: 13px; color: var(--muted); border-left: 1px solid var(--line); font: .66rem/1.35 ui-monospace, monospace; letter-spacing: .02em; }
.site-nav { justify-self: end; }
.site-nav ul { display: flex; gap: 23px; margin: 0; padding: 0; list-style: none; }
.site-nav a, .language-link { position: relative; font-size: .92rem; text-decoration: none; }
.site-nav a::after, .language-link::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--action); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after, .language-link:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-link { color: var(--muted); font: .74rem/1 ui-monospace, monospace; }
.menu-toggle { display: none; min-width: 46px; min-height: 46px; align-items: center; justify-content: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.button, .wp-block-button__link { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; color: #fff; background: var(--action); border: 1px solid var(--action); border-radius: 999px; box-shadow: 0 10px 28px rgba(49, 87, 246, .25); font-weight: 750; text-decoration: none; cursor: pointer; transition: background 170ms ease, box-shadow 170ms ease, transform 170ms ease; }
.button::after, .wp-block-button__link::after { margin-left: 9px; content: "↗"; transition: transform 170ms ease; }
.button:hover, .wp-block-button__link:hover { background: var(--action-dark); box-shadow: 0 15px 36px rgba(49, 87, 246, .3); transform: translateY(-2px); }
.button:hover::after, .wp-block-button__link:hover::after { transform: translate(2px, -2px); }
.text-link { display: inline-flex; align-items: center; color: var(--action-dark); font-weight: 750; }
.text-link::after { margin-left: 9px; content: "→"; transition: transform 170ms ease; }
.text-link:hover::after { transform: translateX(4px); }

/* Hero and interactive diagnostic field. */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero { min-height: min(880px, calc(100vh - 74px)); padding-block: clamp(76px, 9vw, 132px); }
.hero::before, .page-hero::before { position: absolute; z-index: -2; inset: 0; background-image: radial-gradient(rgba(82, 98, 108, .19) .75px, transparent .75px); background-size: 18px 18px; mask-image: linear-gradient(90deg, #000, transparent 78%); content: ""; }
.hero::after, .page-hero::after { position: absolute; z-index: -1; width: min(760px, 56vw); aspect-ratio: 1; top: -38%; right: -16%; background: conic-gradient(from 140deg, rgba(49, 87, 246, .12), rgba(0, 143, 128, .11), rgba(239, 104, 79, .08), rgba(49, 87, 246, .12)); border: 1px solid rgba(49, 87, 246, .13); border-radius: 48% 52% 41% 59% / 54% 42% 58% 46%; content: ""; animation: ambient-shape 22s ease-in-out infinite alternate; }
.hero__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: clamp(58px, 8vw, 124px); }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { max-width: 22ch; margin-bottom: 28px; }
.hero__lead { max-width: 54ch; margin: 0 0 32px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.27rem); line-height: 1.62; }
.hero-directions { display: grid; gap: 0; margin: 0 0 34px; border-top: 1px solid var(--line); }
.hero-directions a { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 2px 12px; padding: 15px 42px 15px 0; border-bottom: 1px solid var(--line); transition: color 180ms ease, padding 180ms ease; }
.hero-directions a::after { position: absolute; top: 50%; right: 8px; color: var(--action); content: "→"; transform: translateY(-50%); transition: transform 180ms ease; }
.hero-directions a:hover, .hero-directions a:focus-visible { padding-left: 8px; color: var(--action-dark); }
.hero-directions a:hover::after, .hero-directions a:focus-visible::after { transform: translate(5px, -50%); }
.hero-directions span { grid-row: 1 / 3; color: var(--signal-dark); font: .66rem/1.4 ui-monospace, monospace; letter-spacing: .06em; }
.hero-directions strong { min-width: 0; font: 700 .98rem/1.25 "Geologica", Arial, sans-serif; }
.hero-directions small { min-width: 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.eyebrow, .index-label { display: inline-flex; width: fit-content; align-items: center; gap: 9px; margin: 0 0 21px; font: .69rem/1.35 ui-monospace, monospace; letter-spacing: .075em; text-transform: uppercase; }
.eyebrow { padding: 8px 12px; color: var(--ink-soft); background: rgba(255, 254, 249, .76); border: 1px solid rgba(82, 98, 108, .25); border-radius: 999px; box-shadow: 0 8px 28px rgba(16, 32, 43, .045); backdrop-filter: blur(10px); }
.eyebrow::before { width: 7px; height: 7px; flex: 0 0 auto; background: var(--accent); border-radius: 50%; content: ""; }
.eyebrow--signal::before { background: var(--signal); }
.audit-field { --field-x: 0px; --field-y: 0px; position: relative; min-width: 0; color: #f5f8fa; background: #101f2a; border-radius: 28px 86px 28px 86px; box-shadow: var(--shadow-deep); overflow: hidden; transform: translate3d(var(--field-x), var(--field-y), 0) rotate(.35deg); transition: transform 240ms ease-out; }
.audit-field::before { position: absolute; z-index: 3; inset: -35%; background: conic-gradient(from 0deg, transparent 0 42%, rgba(49, 87, 246, .16) 48%, transparent 54% 73%, rgba(0, 143, 128, .12) 79%, transparent 86%); mix-blend-mode: screen; pointer-events: none; content: ""; animation: field-spin 22s linear infinite; }
.audit-field::after { position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: inherit; pointer-events: none; content: ""; }
.audit-field__stage { position: relative; z-index: 1; min-height: 520px; overflow: hidden; }
.audit-field__stage::before { position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle at 50% 46%, transparent 0 12%, rgba(8, 20, 30, .12) 36%, rgba(8, 20, 30, .7) 100%), linear-gradient(180deg, rgba(8, 20, 30, .12), rgba(8, 20, 30, .58)); content: ""; }
.audit-field__art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 49% center; filter: saturate(.92) contrast(1.04); transform: scale(1.025); transition: transform 900ms cubic-bezier(.2, .75, .2, 1); }
.audit-field:hover .audit-field__art { transform: scale(1.065); }
.audit-field__paths { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(172, 190, 201, .25); stroke-width: 1.5; }
.audit-field__paths circle { stroke-dasharray: 5 8; animation: orbit-dash 24s linear infinite; }
.audit-path { stroke-dasharray: 6 8; transition: stroke 260ms ease, stroke-width 260ms ease; }
[data-active-layer="wordpress"] .audit-path--1, [data-active-layer="seo"] .audit-path--2, [data-active-layer="interface"] .audit-path--3, [data-active-layer="data"] .audit-path--4 { stroke: #6f8aff; stroke-width: 3; animation: path-flow 1.2s linear infinite; }
.audit-field__beam { position: absolute; width: 240px; height: 240px; top: 50%; left: 50%; background: conic-gradient(from 250deg, transparent 0 72%, rgba(0, 143, 128, .22) 87%, transparent 100%); border-radius: 50%; transform: translate(-50%, -50%); animation: beam-sweep 9s linear infinite; }
.audit-field__core { position: absolute; z-index: 2; top: 50%; left: 50%; width: 114px; height: 114px; display: grid; place-content: center; text-align: center; background: rgba(19, 48, 108, .78); border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%; box-shadow: 0 0 0 16px rgba(49, 87, 246, .09), 0 25px 60px rgba(0, 0, 0, .28); backdrop-filter: blur(12px); transform: translate(-50%, -50%); }
.audit-field__core span { color: #cfdaff; font: .66rem/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.audit-field__core strong { margin-top: 7px; font: 720 1.02rem/1.1 "Geologica", Arial, sans-serif; }
.audit-node { position: absolute; z-index: 4; width: 148px; min-height: 78px; padding: 12px 17px; color: #eaf0f3; text-align: left; background: rgba(9, 25, 36, .68); border: 1px solid rgba(224, 235, 241, .26); border-radius: 999px; box-shadow: 0 14px 35px rgba(0, 0, 0, .18); backdrop-filter: blur(14px); cursor: pointer; transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.audit-node > span { display: block; margin-bottom: 7px; color: #8fa4b0; font: .62rem/1 ui-monospace, monospace; }
.audit-node strong, .audit-node small { display: block; }
.audit-node strong { font: 690 1rem/1.15 "Geologica", Arial, sans-serif; }
.audit-node small { margin-top: 4px; color: #b4c1c8; font-size: .64rem; line-height: 1.25; }
.audit-node.is-active { color: #fff; background: rgba(38, 67, 150, .86); border-color: rgba(133, 159, 255, .75); box-shadow: 0 0 0 5px rgba(49, 87, 246, .12), 0 20px 44px rgba(0, 0, 0, .28); transform: translateY(-4px); }
.audit-node.is-active small, .audit-node.is-active > span { color: #d8e0ff; }
.audit-node--1 { top: 34px; left: 28px; } .audit-node--2 { top: 48px; right: 27px; }
.audit-node--3 { bottom: 34px; left: 25px; } .audit-node--4 { right: 28px; bottom: 45px; }
.audit-readout { position: relative; z-index: 4; min-height: 134px; display: grid; grid-template-columns: 110px minmax(120px, .55fr) 1fr; align-items: start; gap: 24px; padding: 25px 30px 22px; background: rgba(7, 21, 30, .92); border-top: 1px solid rgba(255, 255, 255, .12); }
.audit-readout > span { color: #91a5b0; font: .65rem/1.4 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.audit-readout b { color: #91a8ff; font-weight: 700; }
.audit-readout > strong { font: 680 1.28rem/1.2 "Geologica", Arial, sans-serif; }
.audit-readout p { margin: 0; color: #b8c5cc; font-size: .88rem; line-height: 1.55; }

/* Wide editorial page hero. */
.page-hero { padding-block: clamp(90px, 10vw, 148px); }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(18px, 2.5vw, 38px); align-items: end; }
.page-hero .eyebrow { grid-column: 1 / 7; }
.page-hero h1 { grid-column: 1 / 9; max-width: 22ch; margin: 0; }
.page-hero .hero__lead { grid-column: 9 / 13; max-width: 38ch; margin: 0 0 6px; color: var(--muted); font-size: clamp(1.03rem, 1.4vw, 1.2rem); line-height: 1.62; }
.page-hero--visual .eyebrow { grid-column: 1 / 7; }
.page-hero--visual h1 { grid-column: 1 / 8; max-width: 22ch; }
.page-hero--visual .hero__lead { grid-column: 1 / 7; max-width: 54ch; margin-top: 26px; }
.page-hero__visual { position: relative; grid-column: 8 / 13; grid-row: 1 / 5; min-height: 420px; align-self: stretch; margin: -34px 0; border-radius: 80px 24px 80px 24px; box-shadow: var(--shadow-deep); overflow: hidden; transform: rotate(.65deg); }
.page-hero__visual::after { position: absolute; inset: 0; background: linear-gradient(145deg, transparent 42%, rgba(49, 87, 246, .15)); border: 1px solid rgba(255, 255, 255, .28); border-radius: inherit; content: ""; }
.page-hero__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(.2, .75, .2, 1); }
.page-hero__visual:hover img { transform: scale(1.045); }
.draft-badge { grid-column: 9 / 13; max-width: 520px; margin: 18px 0 0; padding: 11px 14px; color: var(--warning); background: var(--warning-soft); border-left: 4px solid var(--warning); border-radius: 0 12px 12px 0; font-weight: 700; }

/* Editorial content rail. */
.entry-content { counter-reset: content-section; overflow: clip; }
.section { position: relative; isolation: isolate; padding-block: var(--section); counter-increment: content-section; }
.section::before { position: absolute; z-index: -1; width: min(650px, 48vw); aspect-ratio: 1; right: -23%; bottom: -42%; background: radial-gradient(circle, rgba(49, 87, 246, .065), transparent 66%); border-radius: 50%; content: ""; }
.section:nth-child(even) { background: rgba(232, 233, 228, .65); }
.section:nth-child(3n)::before { right: auto; left: -24%; background: radial-gradient(circle, rgba(0, 143, 128, .065), transparent 66%); }
.section > .shell { position: relative; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); column-gap: clamp(52px, 7vw, 108px); align-items: start; }
.section > .shell::before { position: absolute; top: -14px; left: -4px; color: rgba(82, 98, 108, .17); content: counter(content-section, decimal-leading-zero); font: 620 clamp(4.5rem, 8vw, 8.5rem)/1 "Geologica", Arial, sans-serif; letter-spacing: -.08em; pointer-events: none; }
.section > .shell > .eyebrow { z-index: 1; grid-column: 1; grid-row: 1; margin-top: 50px; }
.section > .shell > h2 { z-index: 1; grid-column: 1; grid-row: 2 / span 20; max-width: 18ch; margin: 0; }
.section > .shell > :not(.eyebrow):not(h2) { grid-column: 2; }
.section > .shell > p:not(.eyebrow), .section > .shell > ul { width: min(100%, var(--reading)); }
.section-lead { margin: 0 0 34px; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.26rem); line-height: 1.62; }

/* Legal pages read as continuous documents, not a sequence of content cards. */
.page-hero--document { padding-block: clamp(66px, 7vw, 104px) clamp(46px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero--document::after { display: none; }
.page-hero--document .page-hero__inner { display: block; width: min(880px, calc(100% - 64px)); }
.page-hero--document .eyebrow { margin-bottom: 18px; }
.page-hero--document h1 { max-width: 24ch; margin-bottom: 0; }
.page-hero--document .hero__lead { max-width: 66ch; margin: 22px 0 0; }
.page-hero--document .draft-badge { max-width: 66ch; margin-top: 22px; }
.entry-content--document { width: min(880px, calc(100% - 64px)); margin-inline: auto; padding-block: clamp(52px, 7vw, 86px) clamp(86px, 10vw, 132px); overflow: visible; counter-reset: none; }
.entry-content--document .section,
.entry-content--document .section:nth-child(even) { padding: 0; background: transparent; counter-increment: none; }
.entry-content--document .section + .section { margin-top: clamp(34px, 5vw, 54px); }
.entry-content--document .section::before,
.entry-content--document .section::after,
.entry-content--document .section > .shell::before { display: none; }
.entry-content--document .section > .shell,
.entry-content--document .section:nth-child(even) > .shell { display: block; width: 100%; }
.entry-content--document .section > .shell > .eyebrow,
.entry-content--document .section:nth-child(even) > .shell > .eyebrow { margin: 0 0 10px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
.entry-content--document .section > .shell > .eyebrow::before { width: 6px; height: 6px; }
.entry-content--document .section > .shell > h2,
.entry-content--document .section > .shell > h2.heading--long,
.entry-content--document .section > .shell > h2.heading--xlong,
.entry-content--document .section:nth-child(even) > .shell > h2 { max-width: 38ch; margin: 0 0 16px; font-size: clamp(1.42rem, 1.8vw, 1.72rem); line-height: 1.25; letter-spacing: -.025em; }
.entry-content--document .section > .shell > :not(.eyebrow):not(h2),
.entry-content--document .section:nth-child(even) > .shell > :not(.eyebrow):not(h2) { width: 100%; max-width: 76ch; }
.entry-content--document p:not(.eyebrow) { margin: 0 0 13px; line-height: 1.72; }
.entry-content--document .proof-list { display: block; margin: 10px 0 0; padding-left: 1.35rem; list-style: disc; }
.entry-content--document .proof-list li { padding: 4px 0 4px 5px; border: 0; line-height: 1.67; }
.entry-content--document .proof-list li::before { display: none; }
.entry-content--document code { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }

@media (min-width: 961px) {
  .section:nth-child(even):not(.section--clients):not(.section--ecosystem) > .shell { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
  .section:nth-child(even):not(.section--clients):not(.section--ecosystem) > .shell::before { right: -4px; left: auto; }
  .section:nth-child(even):not(.section--clients):not(.section--ecosystem) > .shell > .eyebrow,
  .section:nth-child(even):not(.section--clients):not(.section--ecosystem) > .shell > h2 { grid-column: 2; }
  .section:nth-child(even):not(.section--clients):not(.section--ecosystem) > .shell > :not(.eyebrow):not(h2) { grid-column: 1; }
}

/* Service decision rows. */
.section--services .card-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 16px; border-top: 1px solid var(--line); }
.section--services .ledger-card { position: relative; min-height: 0; display: grid; grid-template-columns: 76px minmax(180px, .72fr) minmax(240px, 1.28fr); align-items: center; gap: 20px; padding: 25px 18px 25px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; overflow: visible; transition: padding 200ms ease; }
.section--services .ledger-card::before { position: absolute; inset: 7px -12px; z-index: -1; background: linear-gradient(90deg, var(--action-soft), transparent 82%); border-radius: 18px; opacity: 0; content: ""; transition: opacity 200ms ease; }
.section--services .ledger-card:hover { padding-left: 12px; }
.section--services .ledger-card:hover::before { opacity: 1; }
.section--services .index-label { grid-column: 1; grid-row: 1; margin: 0; color: var(--signal-dark); }
.section--services .ledger-card h3 { grid-column: 2; grid-row: 1; margin: 0; }
.section--services .ledger-card p:last-child { grid-column: 3; grid-row: 1; margin: 0; color: var(--muted); }
.section--services .ledger-card h3 a { text-decoration-color: transparent; }
.section--services .ledger-card h3 a:hover { color: var(--action-dark); text-decoration-color: currentColor; }

/* Open editorial notes: no repeated boxed-card treatment. */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.ledger-card { position: relative; min-width: 0; padding: clamp(27px, 3vw, 40px) 12px clamp(27px, 3vw, 40px) 0; background: transparent; border: 0; border-top: 2px solid var(--line); border-radius: 0; box-shadow: none; overflow: visible; transition: border-color 200ms ease, transform 200ms ease; }
.ledger-card::after { position: absolute; width: 8px; height: 8px; top: -5px; right: 0; background: var(--signal); border-radius: 50%; content: ""; transition: box-shadow 200ms ease, transform 200ms ease; }
.ledger-card:nth-child(2n) { border-radius: 0; }
.ledger-card:hover { border-color: var(--action); box-shadow: none; transform: translateX(7px); }
.ledger-card:hover::after { box-shadow: 0 0 0 7px rgba(0, 143, 128, .13); transform: scale(1.15); }
.ledger-card h3 { max-width: 20ch; margin: 0 0 14px; }
.ledger-card p:last-child { margin-bottom: 0; color: var(--muted); }
.index-label { padding: 6px 10px; color: var(--signal-dark); background: var(--signal-soft); border-radius: 999px; }

/* Service rows deliberately stay open and flat after the generic card rules. */
.section--services .card-grid .ledger-card,
.section--services .card-grid .ledger-card:nth-child(2n) { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; overflow: visible; transform: none; }
.section--services .card-grid .ledger-card::after { display: none; }
.section--services .card-grid .ledger-card:hover { border-color: var(--line); box-shadow: none; transform: none; }

/* Client constellation. */
.section--clients { color: #f4f7f8; background: radial-gradient(circle at 12% 15%, rgba(49, 87, 246, .38), transparent 30rem), radial-gradient(circle at 90% 88%, rgba(0, 143, 128, .3), transparent 34rem), #10202b !important; overflow: hidden; }
.section--clients::before { width: 720px; right: -14%; bottom: -48%; background: transparent; border: 1px solid rgba(255, 255, 255, .1); animation: ambient-shape 18s ease-in-out infinite alternate; }
.section--clients::after { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, .045) 48%, transparent 54%); content: ""; transform: translateX(-100%); }
.section--clients.is-current::after { animation: signal-sweep 2.4s ease-out both; }
.section--clients > .shell::before { color: rgba(255, 255, 255, .13); }
.section--clients .eyebrow { color: #f1f5f6; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.section--clients h2 { color: #fff; }
.section--clients .section-lead { color: #c0cdd3; }
.section--clients .card-grid { grid-column: 1 / -1 !important; display: grid; width: 100%; max-width: none !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 32px; margin-top: clamp(58px, 8vw, 100px); }
.section--clients .ledger-card { min-height: 0; padding: 0 0 28px; color: #fff; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; transform: none; }
.section--clients .ledger-card::after { display: none; }
.section--clients .ledger-card:nth-child(3n + 2) { transform: translateY(44px); }
.project-preview { position: relative; aspect-ratio: 16 / 10; margin: 0 0 24px; background: #182a36; border-radius: 20px 64px 20px 20px; box-shadow: 0 24px 62px rgba(0, 0, 0, .28); overflow: hidden; }
.project-preview__link { display: block; width: 100%; height: 100%; }
.project-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 700ms cubic-bezier(.2, .75, .2, 1), filter 300ms ease; }
.project-preview figcaption { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; color: #e7eef1; background: rgba(8, 23, 32, .82); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; backdrop-filter: blur(12px); font: .61rem/1.2 ui-monospace, monospace; letter-spacing: .03em; }
.ledger-card:hover .project-preview img { filter: saturate(1.06); transform: scale(1.045); }
.section--clients .ledger-card h3 { font-size: clamp(1.35rem, 1.75vw, 1.75rem); }
.section--clients .ledger-card h3 a { text-decoration: none; transition: color 180ms ease, padding 180ms ease; }
.section--clients .ledger-card h3 a:hover { padding-left: 8px; color: #9fb2ff; }
.section--clients .ledger-card p:last-child { color: #b9c7ce; }
.section--clients .index-label { color: #bdeee6; background: transparent; padding: 0; }

/* Own-project system. */
.section--ecosystem { background: linear-gradient(145deg, rgba(224, 231, 255, .78), rgba(217, 239, 235, .74)) !important; }
.section--ecosystem .card-grid { grid-column: 1 / -1 !important; position: relative; width: 100%; max-width: none !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 58px); margin-top: clamp(60px, 8vw, 100px); }
.section--ecosystem .card-grid::before { position: absolute; top: 50%; right: 12%; left: 12%; height: 2px; background: linear-gradient(90deg, var(--action), var(--signal), var(--accent)); content: ""; opacity: .4; }
.section--ecosystem .ledger-card { min-height: 0; padding: 0 0 24px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.section--ecosystem .ledger-card:nth-child(2) { border-radius: 0; transform: translateY(-24px); }
.section--ecosystem .ledger-card:nth-child(3) { border-radius: 0; }
.section--ecosystem .ledger-card::after { display: none; }
.section--ecosystem .project-preview { box-shadow: 0 24px 60px rgba(16, 32, 43, .16); }
.section--ecosystem .ledger-card:nth-child(2) .project-preview { border-radius: 64px 20px 20px; }
.section--ecosystem .ledger-card:nth-child(3) .project-preview { border-radius: 20px 20px 64px; }
.section--ecosystem .ledger-card:hover { transform: translateY(-7px); }
.section--ecosystem .ledger-card:nth-child(2):hover { transform: translateY(-31px); }

.proof-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.proof-list li { position: relative; padding: 19px 20px 19px 48px; border-bottom: 1px solid var(--line); }
.proof-list li:first-child { border-top: 1px solid var(--line); }
.proof-list li::before { position: absolute; top: 25px; left: 8px; width: 18px; height: 10px; border-bottom: 2px solid var(--signal); border-left: 2px solid var(--signal); content: ""; transform: rotate(-45deg); }
.proof-list a { color: var(--action-dark); overflow-wrap: anywhere; }
.proof-list a:hover, .entry-content p a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Exact product captures form one continuous walkthrough, not a card wall. */
.audit-tour { grid-column: 1 / -1 !important; display: grid; gap: clamp(48px, 7vw, 92px); width: 100%; max-width: none !important; margin-top: clamp(42px, 6vw, 76px); }
.audit-tour__item { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); align-items: center; gap: clamp(28px, 5vw, 74px); margin: 0; }
.audit-tour__item:nth-child(even) { grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); }
.audit-tour__item:nth-child(even) .audit-tour__frame { grid-column: 2; grid-row: 1; border-radius: 22px 72px 22px 22px; transform: rotate(.35deg); }
.audit-tour__item:nth-child(even) figcaption { grid-column: 1; grid-row: 1; }
.audit-tour__frame { position: relative; min-width: 0; background: #e5e8e7; border: 1px solid rgba(82, 98, 108, .28); border-radius: 72px 22px 22px; box-shadow: var(--shadow-deep); overflow: hidden; transform: rotate(-.35deg); }
.audit-tour__frame::before { position: absolute; z-index: 2; top: 12px; left: 16px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 15px 0 0 var(--focus), 30px 0 0 var(--signal); content: ""; }
.audit-tour__frame img { width: 100%; height: auto; transition: transform 700ms cubic-bezier(.2, .75, .2, 1); }
.audit-tour__item:hover .audit-tour__frame img { transform: scale(1.015); }
.audit-tour figcaption { min-width: 0; }
.audit-tour figcaption span { display: block; margin-bottom: 15px; color: var(--signal-dark); font: .68rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.audit-tour figcaption strong { display: block; font: 720 clamp(1.28rem, 1.8vw, 1.72rem)/1.18 "Geologica", Arial, sans-serif; letter-spacing: -.035em; }
.audit-tour figcaption p { margin: 13px 0 0; color: var(--muted); line-height: 1.6; }
.closing { position: relative; margin: 24px; padding-block: clamp(78px, 10vw, 138px); color: #fff; background: radial-gradient(circle at 86% 10%, rgba(49, 87, 246, .7), transparent 33%), radial-gradient(circle at 66% 125%, rgba(0, 143, 128, .5), transparent 36%), var(--ink); border-radius: var(--radius-l); overflow: hidden; }
.closing::before { position: absolute; width: 390px; height: 390px; right: -100px; top: -170px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 46% 54% 38% 62%; content: ""; animation: ambient-shape 17s ease-in-out infinite alternate-reverse; }
.closing .shell { position: relative; z-index: 1; }
.closing h2 { max-width: 17ch; margin: 0 0 22px; }
.closing p { color: #cbd5da; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* Forms. */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(100%, 880px); margin-top: 30px; padding: clamp(26px, 4vw, 50px); background: rgba(255, 254, 249, .82); border: 1px solid var(--line-soft); border-radius: 36px; box-shadow: var(--shadow-soft); }
.form-field { display: grid; align-content: start; gap: 8px; }
.form-field:nth-of-type(4), .form-consent, .contact-form > .button { grid-column: 1 / -1; }
.form-field label, .form-consent label { font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #8d999f; border-radius: 12px; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--action); outline: 3px solid var(--focus); outline-offset: 1px; }
.field-help { margin: 0; color: var(--muted); font-size: .9rem; }
.form-consent { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 12px; }
.form-consent input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--action); }
.form-consent label { font-weight: 400; } .form-consent a { color: var(--action-dark); }
.form-field--honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-form > .button { justify-self: start; }
.form-notice { width: min(100%, 880px); margin: 24px 0; padding: 17px 20px; border-left: 4px solid; border-radius: 0 14px 14px 0; }
.form-notice p { margin: 0; }
.form-notice--success { color: var(--success); background: var(--success-soft); border-color: var(--success); }
.form-notice--notify_failed { color: var(--warning); background: var(--warning-soft); border-color: var(--warning); }
.form-notice--invalid, .form-notice--failed, .form-notice--rate_limited { color: var(--error); background: var(--error-soft); border-color: var(--error); }

.site-footer { padding-block: 80px 32px; color: #edf2f4; background: #0c1821; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(32px, 6vw, 84px); }
.footer-brand p { color: #b8c5cb; }
.footer-column h2 { margin: 0 0 18px; font: 700 .75rem/1.3 ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; }
.footer-column ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-column a { color: #dbe3e7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 58px; padding-top: 24px; color: #91a1a9; border-top: 1px solid #30404a; font-size: .8rem; }
.footer-consent { padding: 0; color: #dbe3e7; background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.analytics-consent { position: fixed; z-index: 120; right: 18px; bottom: 18px; left: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(24px, 5vw, 72px); width: min(1120px, calc(100% - 36px)); margin-inline: auto; padding: clamp(22px, 3vw, 34px); color: #edf2f4; background: rgba(12, 24, 33, .97); border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px 58px 26px 26px; box-shadow: 0 28px 80px rgba(0, 0, 0, .32); backdrop-filter: blur(18px); }
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 7px 0 12px; color: #fff; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.analytics-consent p { margin: 0; color: #c0cdd3; font-size: .92rem; line-height: 1.55; }
.analytics-consent p + p { margin-top: 8px; }
.analytics-consent a { color: #bfcaff; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent__label { color: #9fe3d9 !important; font: .67rem/1.3 ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 14px; }
.analytics-consent__decline { min-height: 46px; padding: 10px 14px; color: #edf2f4; background: transparent; border: 1px solid #65747c; border-radius: 999px; font-weight: 700; cursor: pointer; }

@keyframes brand-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 104, 79, .42); } 70%, 100% { box-shadow: 0 0 0 9px rgba(239, 104, 79, 0); } }
@keyframes ambient-shape { from { border-radius: 48% 52% 41% 59% / 54% 42% 58% 46%; transform: translate3d(0, 0, 0) rotate(0deg); } to { border-radius: 61% 39% 55% 45% / 39% 58% 42% 61%; transform: translate3d(-28px, 24px, 0) rotate(11deg); } }
@keyframes field-spin { to { transform: rotate(1turn); } }
@keyframes orbit-dash { to { stroke-dashoffset: -160; } }
@keyframes path-flow { to { stroke-dashoffset: -28; } }
@keyframes beam-sweep { to { transform: translate(-50%, -50%) rotate(1turn); } }
@keyframes signal-sweep { from { transform: translateX(-100%); } to { transform: translateX(120%); } }
@keyframes reveal-in { from { opacity: .01; filter: blur(6px); transform: translateY(26px); } to { opacity: 1; filter: none; transform: none; } }
.reveal-item.is-visible { animation: reveal-in 620ms cubic-bezier(.2, .75, .25, 1) both; }

@media (max-width: 1160px) {
  .brand__descriptor { display: none; }
  .hero__layout { grid-template-columns: 1fr; gap: 64px; }
  .hero h1 { max-width: 22ch; }
  .audit-field { width: min(100%, 760px); margin-inline: auto; }
  .audit-node { width: 138px; }
  .section > .shell { grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr); column-gap: 56px; }
}

@media (max-width: 960px) {
  :root { --shell: min(100% - 40px, 1320px); --section: clamp(82px, 12vw, 126px); }
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; padding: 22px 20px; background: rgba(255, 254, 249, .98); border: 1px solid var(--line-soft); border-radius: 20px; box-shadow: var(--shadow-soft); }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { width: var(--shell); margin: auto; flex-direction: column; align-items: flex-start; }
  .header-actions { justify-self: end; }
  .hero { min-height: 0; } .audit-field { width: min(100%, 720px); }
  .page-hero__inner { display: block; }
  .page-hero h1 { max-width: 24ch; margin-bottom: 24px; }
  .page-hero .hero__lead { max-width: 58ch; }
  .page-hero--visual .hero__lead { margin-top: 24px; }
  .page-hero__visual { min-height: 340px; margin: 40px 0 0; border-radius: 58px 20px 58px 20px; transform: none; }
  .draft-badge { margin-top: 18px; }
  .section > .shell { grid-template-columns: 1fr; }
  .section > .shell > .eyebrow, .section > .shell > h2, .section > .shell > :not(.eyebrow):not(h2) { grid-column: 1; grid-row: auto; }
  .section > .shell > .eyebrow { margin-top: 44px; }
  .section > .shell > h2 { max-width: none; margin-bottom: 38px; }
  .section > .shell > p:not(.eyebrow), .section > .shell > ul { width: min(100%, var(--reading)); }
  .section--services .card-grid { width: 100%; }
  .section--clients .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section--ecosystem .card-grid { grid-template-columns: 1fr; gap: 22px; }
  .section--ecosystem .card-grid::before { top: 10%; bottom: 10%; left: 50%; width: 2px; height: auto; }
  .section--ecosystem .ledger-card { width: min(100%, 640px); min-height: 0; margin-inline: auto; border-radius: 0; }
  .section--ecosystem .ledger-card:nth-child(2), .section--ecosystem .ledger-card:nth-child(2):hover { transform: none; }
  .audit-tour__item, .audit-tour__item:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .audit-tour__item:nth-child(even) .audit-tour__frame, .audit-tour__item:nth-child(even) figcaption { grid-column: 1; grid-row: auto; }
  .audit-tour__item:nth-child(even) figcaption { order: 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 30px, 1320px); --section: 82px; }
  h1 { font-size: 2.16rem; line-height: 1.05; } h1.heading--long { font-size: 1.86rem; line-height: 1.09; } h1.heading--xlong { font-size: 1.58rem; line-height: 1.14; }
  h2 { font-size: 1.76rem; line-height: 1.1; } .section h2.heading--long { font-size: 1.58rem; line-height: 1.14; } .section h2.heading--xlong { font-size: 1.4rem; line-height: 1.18; }
  .site-header { top: 7px; width: calc(100% - 14px); border-radius: 17px; }
  .site-header__inner { min-height: 66px; gap: 9px; } .header-actions { gap: 9px; }
  .header-cta { max-width: 125px; min-height: 42px; padding: 8px 12px; font-size: .78rem; text-align: center; } .header-cta::after { display: none; }
  .language-link { font-size: .68rem; } .menu-toggle { min-width: 42px; min-height: 42px; }
  .hero { padding-block: 68px 86px; } .hero h1 { max-width: none; margin-bottom: 22px; } .hero__lead { font-size: 1.02rem; }
  .hero-directions a { padding-block: 14px; }
  .audit-field { padding: 0; border-radius: 20px 52px 20px 52px; } .audit-field::after { border-radius: inherit; }
  .audit-field__stage { min-height: 410px; } .audit-field__paths { transform: scale(.94); }
  .audit-field__core { width: 104px; height: 104px; } .audit-field__core strong { font-size: .86rem; }
  .audit-node { width: 122px; min-height: 76px; padding: 11px 14px; border-radius: 999px; } .audit-node strong { font-size: .86rem; } .audit-node small { font-size: .61rem; }
  .audit-node--1 { top: 20px; left: 14px; } .audit-node--2 { top: 30px; right: 13px; } .audit-node--3 { bottom: 22px; left: 13px; } .audit-node--4 { right: 14px; bottom: 32px; }
  .audit-readout { min-height: 0; grid-template-columns: 68px 1fr; gap: 10px 15px; padding: 22px 17px 18px; } .audit-readout p { grid-column: 1 / -1; }
  .page-hero { padding-block: 74px 86px; } .page-hero__inner { display: block; } .page-hero h1 { max-width: none; margin-bottom: 24px; } .page-hero .hero__lead { max-width: 58ch; } .page-hero__visual { min-height: 250px; margin: 36px 0 0; border-radius: 42px 16px 42px 16px; transform: none; } .draft-badge { margin-top: 18px; }
  .page-hero--document { padding-block: 60px 42px; } .page-hero--document .page-hero__inner, .entry-content--document { width: min(100% - 30px, 880px); } .page-hero--document h1 { margin-bottom: 0; } .page-hero--document .hero__lead { margin-top: 18px; } .entry-content--document { padding-block: 48px 84px; } .entry-content--document .section + .section { margin-top: 38px; }
  .section > .shell::before { top: -5px; left: 0; font-size: 4.3rem; } .section > .shell > .eyebrow { margin-top: 34px; } .section > .shell > h2 { max-width: none; margin-bottom: 30px; }
  .section--services .ledger-card { grid-template-columns: 52px 1fr; gap: 8px 14px; padding: 22px 4px; }
  .section--services .index-label { grid-column: 1; grid-row: 1 / 3; align-self: start; margin-top: 3px; }
  .section--services .ledger-card h3 { grid-column: 2; grid-row: 1; } .section--services .ledger-card p:last-child { grid-column: 2; grid-row: 2; }
  .card-grid { grid-template-columns: 1fr; } .ledger-card { padding: 25px 0; border-radius: 0; }
  .section--clients .card-grid { grid-template-columns: 1fr; gap: 42px; margin-top: 50px; } .section--clients .ledger-card, .section--clients .ledger-card:nth-child(3n + 2) { min-height: 0; padding: 0 0 20px; transform: none; } .section--clients .ledger-card h3 { font-size: 1.75rem; }
  .project-preview { margin-bottom: 20px; border-radius: 16px 46px 16px 16px; }
  .audit-tour { gap: 54px; margin-top: 38px; }
  .audit-tour__frame, .audit-tour__item:nth-child(even) .audit-tour__frame { border-radius: 34px 14px 14px; transform: none; }
  .closing { margin: 10px; padding-block: 72px; border-radius: 30px; } .closing h2 { max-width: none; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; border-radius: 24px; }
  .form-field, .form-field:nth-of-type(4), .form-consent, .contact-form > .button { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; }
  .analytics-consent { right: 8px; bottom: 8px; left: 8px; width: calc(100% - 16px); grid-template-columns: 1fr; border-radius: 22px 42px 22px 22px; }
  .analytics-consent__actions { justify-content: flex-start; }
}

@media (max-width: 380px) {
  :root { --shell: min(100% - 24px, 1320px); }
  h1 { font-size: 2.04rem; } h1.heading--long { font-size: 1.78rem; } h1.heading--xlong { font-size: 1.52rem; }
  .header-cta { max-width: 108px; padding-inline: 9px; font-size: .72rem; }
  .audit-node { width: 112px; } .audit-field__core { width: 94px; height: 94px; }
  .page-hero--document .page-hero__inner, .entry-content--document { width: min(100% - 24px, 880px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .audit-field { transform: none; } .ledger-card:hover, .button:hover, .wp-block-button__link:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .closing, .audit-field, .button, .wp-block-buttons, .analytics-consent { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .page-hero, .section { padding-block: 24pt; background: #fff !important; }
  .page-hero__inner, .section > .shell { display: block; }
  .page-hero h1, .section > .shell > h2 { max-width: none; margin-bottom: 14pt; }
  .section > .shell::before, .section::before, .section::after { display: none; }
  .card-grid { display: block; }
  .ledger-card, .section--clients .ledger-card, .section--ecosystem .ledger-card { min-height: 0; margin-bottom: 12pt; padding: 12pt; color: #000; background: #fff; border: 1px solid #bbb; border-radius: 0; box-shadow: none; }
  .section--clients .ledger-card p:last-child { color: #333; }
  .proof-list li { break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; }
}
