/*
Theme Name: Kudosoft
Theme URI: https://kudosoft.com/
Author: Kudosoft
Author URI: https://kudosoft.com/
Description: Custom one-page WordPress theme built from the Kudosoft "AI systems, engineered for the real world" design. Ships the complete home page, plus page, post, archive, search and 404 templates. All styling lives in this one stylesheet, so the header, buttons, sections and footer are identical on every page you add.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kudosoft
Tags: one-column, custom-menu, custom-logo, featured-images, block-styles, wide-blocks, editor-style, translation-ready
*/

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   01. Design tokens, base and global components (buttons, links, eyebrows,
       section shells) - everything new pages inherit automatically
   02. Header, mega menus and the mobile menu
   03. Home page sections (hero -> final call to action)
   04. Footer
   05. Motion preferences
   06. Responsive breakpoints (1320 / 1180 / 980 / 760 / 520 px)
   07. WordPress layer: admin bar, menu driven footer, page and post headers,
       long-form content, blog components, search, 404 and comments
   ========================================================================== */

/* ==========================================================================
   DESIGN SYSTEM + PAGE STYLES
   --------------------------------------------------------------------------
   Generated from styles.css - the single source of truth for the design.
   Do not edit by hand: change styles.css and re-run build/rebuild-style.js.
   ========================================================================== */

/* ============================================================
   KUDOSOFT — AI systems, engineered for the real world
   Design system + page styles
   ============================================================ */

:root {
  --paper: #f7f5ef;
  --paper-soft: #fffdf8;
  --paper-deep: #efece2;
  --paper-deeper: #e7e3d6;
  --ink: #20252d;
  --ink-soft: #1a1f27;
  --ink-raise: #2a303a;
  --ink-panel: #20252d;
  --ink-deep: #161a20;
  --muted: #5f5a52;
  --muted-light: #6b665d;
  --line: rgba(32, 37, 45, 0.14);
  --line-strong: rgba(32, 37, 45, 0.25);
  --line-light: rgba(247, 245, 239, 0.15);
  --line-light-soft: rgba(247, 245, 239, 0.08);
  --signal: #f2c14e;
  --signal-deep: #8a6a2f;
  --signal-ink: #20252d;
  --signal-mid: #b3934f;
  --blue: #94a6ff;
  --rust: #d65e3b;
  --rust-deep: #b0472b;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1480px, calc(100vw - 80px));
  --header-h: 72px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper-deep);
}

::-webkit-scrollbar-thumb {
  background: #8a857a;
  border: 3px solid var(--paper-deep);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-panel);
}

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

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

button,
input,
summary {
  font: inherit;
}

button {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.98;
  text-wrap: balance;
}

h2 em,
h3 em,
h1 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.022em;
}

svg {
  fill: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--ink-panel);
  color: var(--paper);
  border-radius: 100px;
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: clamp(92px, 9vw, 152px) 0;
  scroll-margin-top: 90px;
}

.mono {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.085em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--signal-deep);
  box-shadow: 0 0 0 3px rgba(138, 106, 47, 0.12);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(138, 106, 47, 0.4);
  border-radius: inherit;
  animation: signalPulse 3.2s ease-out infinite;
}

.eyebrow--light {
  color: rgba(247, 245, 239, 0.47);
}

.eyebrow--light .eyebrow-dot {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(198, 167, 107, 0.12);
}

.emphasis-line {
  color: var(--ink) !important;
  font-weight: 600;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(46px, 5.5vw, 76px);
}

.section-head-title h2 {
  max-width: 880px;
  margin-top: 26px;
  font-size: clamp(2.8rem, 4.55vw, 4.65rem);
  line-height: 0.94;
}

.section-head-copy {
  justify-self: end;
  width: min(100%, 530px);
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.section-head-copy p + p {
  margin-top: 13px;
}

.section-head-copy .text-link,
.section-head-copy .button {
  margin-top: 26px;
}

.cap-card,
.product-card {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- Buttons + text links ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 7px 7px 7px 20px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--ink-panel);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.button-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}

.button-icon svg {
  width: 13px;
  height: 13px;
}

.button:hover {
  background: #2c2f35;
  transform: translateY(-2px);
}

.button:hover .button-icon {
  transform: rotate(45deg);
}

.button--header {
  margin-left: 18px;
  padding-left: 17px;
  font-size: 11.5px;
}

.button--header .button-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
}

.button--dark {
  background: var(--ink-panel);
  color: var(--paper);
}

.button--light {
  background: var(--paper);
  color: var(--ink);
}

.button--light .button-icon {
  background: var(--signal);
  color: var(--ink);
}

.button--light:hover {
  background: var(--signal);
  color: var(--ink);
}

.button--light:hover .button-icon {
  background: var(--ink-panel);
  color: var(--signal);
}

.button--outline-light {
  background: transparent;
  border-color: rgba(247, 245, 239, 0.27);
  color: var(--paper);
}

.button--outline-light .button-icon {
  background: var(--blue);
  color: var(--ink);
}

.button--outline-light:hover {
  background: rgba(247, 245, 239, 0.08);
  border-color: rgba(247, 245, 239, 0.5);
}

.button--signal {
  background: var(--signal);
  color: var(--ink);
}

.button--signal .button-icon {
  background: var(--ink-panel);
  color: var(--signal);
}

.button--signal:hover {
  background: var(--paper);
  color: var(--ink);
}

.button--signal:hover .button-icon {
  background: var(--ink-panel);
  color: var(--signal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.text-link span {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  transition: transform 0.35s var(--ease);
}

.text-link::after {
  content: "";
  position: absolute;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.text-link--light {
  color: var(--paper);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  transition: gap 0.3s var(--ease);
}

.text-cta svg {
  width: 14px;
  height: 14px;
}

.text-cta:hover {
  gap: 15px;
}

.text-cta--light {
  color: rgba(247, 245, 239, 0.76);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand-mark {
  width: 23px;
  height: 25px;
  margin-top: 2px;
  overflow: visible;
}

.brand-word {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.25;
}

.brand-reg {
  margin-top: 3px;
  margin-left: -4px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
}

.nav-menu {
  position: relative;
}

.nav-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 11px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-trigger:hover {
  color: var(--muted);
}

.chevron {
  width: 11px;
  height: 11px;
  margin-top: 1px;
  transition: transform 0.3s var(--ease);
}

.nav-menu:hover .chevron,
.nav-menu:focus-within .chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  width: 360px;
  padding: 9px;
  border: 1px solid rgba(32, 37, 45, 0.13);
  border-radius: 17px;
  background: var(--paper-soft);
  box-shadow: 0 26px 60px -16px rgba(32, 37, 45, 0.23),
    0 2px 6px rgba(32, 37, 45, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transform-origin: top left;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease),
    transform 0.35s var(--ease);
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown--products {
  left: 50%;
  width: 566px;
  transform: translate(-50%, 8px);
}

.nav-menu:hover .nav-dropdown--products,
.nav-menu:focus-within .nav-dropdown--products {
  transform: translate(-50%, 0);
}

.nav-dropdown--company {
  left: auto;
  right: 0;
  width: 326px;
  transform-origin: top right;
}

.dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.dropdown-head .mono {
  font-size: 8.5px;
}

.dropdown-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.dropdown-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-deep);
}

.dropdown-index {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-light);
}

.dropdown-links {
  padding: 6px 0;
}

.dropdown-links a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 17px;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.25s ease;
}

.dropdown-links a:hover {
  background: var(--paper-deep);
}

.dropdown-num {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-light);
}

.dropdown-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-copy strong {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.dropdown-copy small {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--muted);
}

.dropdown-links svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--muted-light);
  transition: transform 0.3s var(--ease), color 0.25s ease;
}

.dropdown-links a:hover svg {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.dropdown-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  padding: 11px 10px 8px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.dropdown-foot:hover {
  color: var(--ink);
}

.dropdown-foot span {
  font-size: 12px;
}

.product-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 11px 4px 7px;
}

.product-menu-grid > a {
  display: flex;
  flex-direction: column;
  padding: 15px;
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f0e8;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.product-menu-grid > a:hover {
  background: #eae6db;
  border-color: rgba(32, 37, 45, 0.22);
}

.product-menu-logo {
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.product-menu-logo--operative {
  color: #252b45;
}

.product-menu-logo--operative span {
  margin-left: 2px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0;
  vertical-align: super;
  color: var(--rust);
}

.product-menu-logo--blogcite {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.product-menu-logo--blogcite span {
  color: var(--rust);
}

.product-menu-meta {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.product-menu-grid strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.menu-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 17px;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.menu-explore span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink);
}

.company-links {
  padding: 5px 0;
}

.company-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  column-gap: 12px;
  padding: 11px 10px;
  border-radius: 9px;
  transition: background 0.25s ease;
}

.company-links a:hover {
  background: var(--paper-deep);
}

.company-links a > span:first-child {
  font-size: 12.5px;
  font-weight: 600;
}

.company-links small {
  grid-column: 1;
  margin-top: 1px;
  font-size: 10.5px;
  color: var(--muted);
}

.company-links a > span:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted-light);
  font-size: 12px;
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0 9px 14px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 18px;
}

.mobile-menu-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink-panel);
  transition: transform 0.3s var(--ease);
}

.mobile-menu[open] .mobile-menu-icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.mobile-menu[open] .mobile-menu-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  padding: 12px 18px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -22px rgba(32, 37, 45, 0.3);
}

.mobile-group {
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-group p {
  margin-bottom: 8px;
  color: var(--muted);
}

.mobile-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.mobile-group a span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.mobile-group--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.mobile-group--two-col p {
  grid-column: 1 / -1;
}

.mobile-group--two-col a {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.mobile-cta {
  margin-top: 22px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.3vw, 74px) 0 0;
  scroll-margin-top: 90px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 167, 107, 0.2), transparent 67%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(32, 37, 45, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(32, 37, 45, 0.055) 1px, transparent 1px);
  background-size: 94px 94px;
  mask-image: linear-gradient(to bottom, transparent 1%, rgba(0, 0, 0, 0.75) 30%, transparent 94%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 1%, rgba(0, 0, 0, 0.75) 30%, transparent 94%);
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.93fr);
  gap: clamp(36px, 4.7vw, 82px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 25px;
}

.hero-eyebrow {
  color: var(--muted);
}

.hero h1 {
  max-width: 790px;
  margin-top: clamp(24px, 2.6vw, 36px);
  font-size: clamp(3.45rem, 5.28vw, 5.9rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.066em;
}

.hero h1 em {
  color: #625a4c;
}

.hero-action {
  position: relative;
  display: inline;
  background-image: linear-gradient(transparent 76%, var(--signal) 76%, var(--signal) 94%, transparent 94%);
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-support {
  max-width: 568px;
  margin-top: clamp(26px, 2.7vw, 38px);
  color: #55534c;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  line-height: 1.65;
}

.hero-support p + p {
  margin-top: 10px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  margin-top: 34px;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 40px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-footnote .mono {
  font-size: 7.5px;
  letter-spacing: 0.06em;
}

.hero-footnote i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-light);
}

.hero-demo-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}

.hero-demo-annotation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-light);
}

.hero-demo-annotation .mono {
  font-size: 7px;
  letter-spacing: 0.09em;
}

.hero-demo-annotation > span:last-child:not(.mono) {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-demo-annotation--top {
  padding: 0 3px 10px;
}

.hero-demo-annotation--bottom {
  padding: 12px 3px 0;
}

.annotation-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.demo-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: #20252d;
  color: #eeeade;
  box-shadow: 0 35px 65px -30px rgba(22, 26, 32, 0.65),
    0 0 0 1px rgba(32, 37, 45, 0.04);
}

.demo-window::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 167, 107, 0.65), transparent);
  pointer-events: none;
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
  background: rgba(255, 255, 255, 0.018);
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 234, 222, 0.66);
  white-space: nowrap;
}

.demo-brand b {
  color: var(--signal);
  font-weight: 400;
}

.demo-brand-mark {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(198, 167, 107, 0.08);
}

.demo-tag {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(198, 167, 107, 0.28);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: var(--signal);
  background: rgba(198, 167, 107, 0.06);
}

.demo-dots {
  display: flex;
  gap: 4px;
}

.demo-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(247, 245, 239, 0.24);
}

.demo-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px;
}

.demo-request {
  padding: 13px 14px 12px;
  border: 1px solid rgba(247, 245, 239, 0.09);
  border-left: 2px solid var(--signal);
  border-radius: 9px;
  background: #2a303a;
}

.demo-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-label-row .mono {
  font-size: 6.8px;
  letter-spacing: 0.09em;
  color: rgba(238, 234, 222, 0.43);
}

.demo-time {
  color: rgba(238, 234, 222, 0.26) !important;
}

.demo-request p {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: #f3f0e8;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.request-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(238, 234, 222, 0.53);
}

.request-meta svg {
  width: 8px;
  height: 8px;
}

.demo-engine {
  padding: 2px 2px 0;
}

.demo-running {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
  color: var(--signal);
}

.demo-running i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 7px rgba(198, 167, 107, 0.8);
  animation: dotBlink 2.2s ease-in-out infinite;
}

.demo-steps {
  margin-top: 6px;
  border-top: 1px solid rgba(247, 245, 239, 0.07);
}

.demo-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 3px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.07);
  opacity: 0;
  transform: translateY(4px);
  animation: stepReveal 0.55s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--step) * 0.14s);
  transition: background 0.25s ease;
}

.demo-step:hover {
  background: rgba(247, 245, 239, 0.03);
}

.step-check {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(198, 167, 107, 0.24);
  border-radius: 50%;
  background: rgba(198, 167, 107, 0.07);
  color: var(--signal);
}

.step-check svg {
  width: 9px;
  height: 9px;
}

.step-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.step-copy strong {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(243, 240, 232, 0.9);
}

.step-copy small {
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.015em;
  color: rgba(238, 234, 222, 0.34);
}

.step-meta {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  color: rgba(238, 234, 222, 0.28);
}

.demo-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--signal);
  color: var(--ink);
  opacity: 0;
  animation: statusReveal 0.6s var(--ease) 1.4s forwards;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-panel);
  box-shadow: 0 0 0 3px rgba(32, 37, 45, 0.12);
}

.status-left strong {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.status-count {
  padding: 2px 5px;
  border: 1px solid rgba(32, 37, 45, 0.2);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 6.5px;
}

.status-output {
  font-size: 6.4px !important;
  letter-spacing: 0.05em;
  color: rgba(32, 37, 45, 0.6);
}

.demo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 15px;
  border-top: 1px solid rgba(247, 245, 239, 0.07);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.06em;
  color: rgba(238, 234, 222, 0.27);
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(44px, 5vw, 70px);
  padding: 17px 0 19px;
  border-top: 1px solid var(--line);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.hero-scroll:hover {
  color: var(--ink);
}

.scroll-line {
  position: relative;
  display: block;
  width: 47px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-panel);
  transform: translateX(-100%);
  animation: scrollLine 4s ease-in-out infinite;
}

.hero-scroll .mono,
.hero-meta-right .mono {
  font-size: 7px;
  letter-spacing: 0.08em;
}

.hero-meta-right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-light);
}

.meta-cross {
  position: relative;
  width: 10px;
  height: 10px;
}

.meta-cross::before,
.meta-cross::after {
  content: "";
  position: absolute;
  background: var(--line-strong);
}

.meta-cross::before {
  top: 5px;
  left: 0;
  width: 10px;
  height: 1px;
}

.meta-cross::after {
  top: 0;
  left: 5px;
  width: 1px;
  height: 10px;
}

/* ============================================================
   CAPABILITY STRIP
   ============================================================ */

.capability-strip {
  position: relative;
  background: var(--ink-panel);
  color: var(--paper);
  padding: 27px 0;
}

.capability-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 167, 107, 0.45), transparent);
  opacity: 0.5;
}

.capability-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 40px;
}

.strip-heading {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: rgba(247, 245, 239, 0.5);
}

.strip-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.strip-list li {
  position: relative;
  padding: 0 20px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #ebe7db;
  white-space: nowrap;
}

.strip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
  transform: translateY(-50%);
  opacity: 0.55;
}

.strip-list li:first-child {
  padding-left: 0;
}

.strip-list li:first-child::before {
  display: none;
}

/* ============================================================
   04 · TECHNOLOGY SHOWCASE
   ============================================================ */

.showcase {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.section-head--showcase .section-head-copy {
  padding-bottom: 7px;
}

.section-head--showcase .section-head-copy p:nth-child(2) {
  margin-top: 8px;
}

.systems-lab {
  display: grid;
  grid-template-columns: minmax(340px, 0.83fr) minmax(0, 1.17fr);
  gap: 22px;
  align-items: stretch;
}

.system-controls {
  border-top: 1px solid var(--line);
  align-self: start;
}

.system-controls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 3px 14px;
  color: var(--muted-light);
}

.system-controls-head .mono {
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.system-option {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.system-option label {
  display: block;
  padding: 18px 14px 18px 16px;
  cursor: pointer;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.system-option label:hover {
  background: rgba(239, 236, 226, 0.42);
}

.system-option-top {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
}

.system-num {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-light);
}

.system-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.system-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.system-indicator::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--ink-panel);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}

.system-desc {
  display: block;
  margin-top: 7px;
  padding-left: 38px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #4b4943;
}

.system-detail {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-left: 38px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.3s ease, margin 0.3s ease;
}

.system-radio:checked + label {
  background: var(--paper-deep);
}

.system-radio:checked + label .system-number,
.system-radio:checked + label .system-num {
  color: var(--ink);
}

.system-radio:checked + label .system-indicator {
  border-color: var(--signal-deep);
  background: var(--signal);
}

.system-radio:checked + label .system-indicator::after {
  transform: scale(0);
}

.system-radio:checked + label .system-detail {
  max-height: 100px;
  margin-top: 9px;
  opacity: 1;
}

.system-radio:focus-visible + label {
  outline: 2px solid var(--ink);
  outline-offset: -3px;
}

.orchestration-map {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: var(--radius-lg);
  background: #20252d;
  color: var(--paper);
  box-shadow: 0 26px 50px -34px rgba(32, 37, 45, 0.55);
}

.map-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.09);
  background: rgba(255, 255, 255, 0.016);
}

.map-topbar .mono {
  font-size: 7.5px;
  color: rgba(247, 245, 239, 0.6);
}

.map-mode {
  color: var(--signal) !important;
}

.mode-readout {
  display: none;
}

.map-canvas {
  position: relative;
  flex: 1;
  min-height: 545px;
  overflow: hidden;
  background-image: linear-gradient(to right, rgba(247, 245, 239, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 239, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(198, 167, 107, 0.065), transparent 55%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
}

.map-canvas::before,
.map-canvas::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.map-canvas::before {
  inset: 14px;
  border: 1px solid rgba(247, 245, 239, 0.045);
  border-radius: 12px;
}

.map-canvas::after {
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(247, 245, 239, 0.035);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wire {
  fill: none;
  stroke: rgba(247, 245, 239, 0.17);
  stroke-width: 0.18;
  stroke-dasharray: 1.2 2.2;
  vector-effect: non-scaling-stroke;
  animation: wireFlow 24s linear infinite;
  transition: stroke 0.35s ease, opacity 0.35s ease;
}

.wire--review {
  stroke: rgba(198, 167, 107, 0.13);
}

.map-node {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 5px;
  align-items: center;
  gap: 8px;
  width: 158px;
  padding: 9px 10px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 8px;
  background: rgba(32, 37, 45, 0.92);
  backdrop-filter: blur(9px);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease,
    transform 0.35s var(--ease);
}

.map-node:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 245, 239, 0.25);
}

.node-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 6px;
  color: rgba(247, 245, 239, 0.62);
}

.node-icon svg {
  width: 13px;
  height: 13px;
}

.node-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.node-copy strong {
  overflow: hidden;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(247, 245, 239, 0.86);
}

.node-copy small {
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.48);
}

.node-light {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(247, 245, 239, 0.28);
}

.map-node--intent {
  top: 8%;
  left: 4%;
}

.map-node--research {
  top: 7%;
  right: 3%;
}

.map-node--data {
  top: 44%;
  left: 1.5%;
}

.map-node--analysis {
  top: 44%;
  right: 1.5%;
}

.map-node--validation {
  bottom: 8%;
  left: 7%;
}

.map-node--output {
  bottom: 7%;
  right: 6%;
}

.map-engine {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 194px;
  height: 194px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.engine-orbit {
  position: absolute;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 50%;
}

.engine-orbit--one {
  inset: 0;
  border-style: dashed;
  animation: orbitSpin 32s linear infinite;
}

.engine-orbit--two {
  inset: 20px;
  border-color: rgba(198, 167, 107, 0.18);
  animation: orbitSpinReverse 24s linear infinite;
}

.engine-core {
  position: absolute;
  inset: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(198, 167, 107, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(198, 167, 107, 0.12), transparent 65%),
    #2a303a;
  box-shadow: 0 0 35px rgba(198, 167, 107, 0.08), inset 0 0 25px rgba(198, 167, 107, 0.035);
  text-align: center;
}

.engine-glyph {
  font-family: var(--serif);
  font-size: 29px;
  font-style: italic;
  line-height: 0.9;
  color: var(--signal);
}

.engine-core strong {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 6.3px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: rgba(247, 245, 239, 0.75);
}

.engine-core small {
  font-family: var(--mono);
  font-size: 5.4px;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.29);
}

.engine-label {
  position: absolute;
  font-size: 5.6px;
  letter-spacing: 0.08em;
  color: rgba(247, 245, 239, 0.3);
}

.engine-label--top {
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
}

.engine-label--right {
  top: 50%;
  right: -19px;
  transform: translateY(-50%) rotate(90deg);
}

.engine-label--bottom {
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.engine-label--left {
  top: 50%;
  left: -19px;
  transform: translateY(-50%) rotate(-90deg);
}

.map-note {
  position: absolute;
  z-index: 2;
  color: rgba(247, 245, 239, 0.21);
  font-size: 5.8px;
  letter-spacing: 0.07em;
}

.map-note--top {
  top: 13px;
  right: 14px;
}

.map-note--bottom {
  bottom: 13px;
  left: 14px;
}

.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 18px;
  border-top: 1px solid rgba(247, 245, 239, 0.09);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.055em;
  color: rgba(247, 245, 239, 0.56);
}

.map-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

/* active map states driven by capability radios */

.systems-lab:has(#mode-understand:checked) .mode-readout--understand,
.systems-lab:has(#mode-plan:checked) .mode-readout--plan,
.systems-lab:has(#mode-execute:checked) .mode-readout--execute,
.systems-lab:has(#mode-evaluate:checked) .mode-readout--evaluate {
  display: inline;
}

.systems-lab:has(#mode-understand:checked) .wire--intent,
.systems-lab:has(#mode-plan:checked) .wire--intent,
.systems-lab:has(#mode-plan:checked) .wire--research,
.systems-lab:has(#mode-plan:checked) .wire--analysis,
.systems-lab:has(#mode-execute:checked) .wire--research,
.systems-lab:has(#mode-execute:checked) .wire--data,
.systems-lab:has(#mode-evaluate:checked) .wire--validation,
.systems-lab:has(#mode-evaluate:checked) .wire--output,
.systems-lab:has(#mode-evaluate:checked) .wire--review {
  stroke: rgba(198, 167, 107, 0.7);
  opacity: 1;
}

.systems-lab:has(#mode-understand:checked) .map-node--intent,
.systems-lab:has(#mode-plan:checked) .map-engine,
.systems-lab:has(#mode-execute:checked) .map-node--data,
.systems-lab:has(#mode-execute:checked) .map-node--research,
.systems-lab:has(#mode-evaluate:checked) .map-node--validation,
.systems-lab:has(#mode-evaluate:checked) .map-node--output {
  border-color: rgba(198, 167, 107, 0.46);
  box-shadow: 0 0 0 1px rgba(198, 167, 107, 0.08), 0 10px 28px rgba(0, 0, 0, 0.24);
}

.systems-lab:has(#mode-understand:checked) .map-node--intent .node-light,
.systems-lab:has(#mode-execute:checked) .map-node--data .node-light,
.systems-lab:has(#mode-execute:checked) .map-node--research .node-light,
.systems-lab:has(#mode-evaluate:checked) .map-node--validation .node-light,
.systems-lab:has(#mode-evaluate:checked) .map-node--output .node-light {
  box-shadow: 0 0 10px rgba(198, 167, 107, 0.75);
}

.systems-lab:has(#mode-plan:checked) .engine-core {
  border-color: var(--signal);
  box-shadow: 0 0 42px rgba(198, 167, 107, 0.14), inset 0 0 28px rgba(198, 167, 107, 0.06);
}

/* ============================================================
   05 · CORE CAPABILITIES
   ============================================================ */

.core-capabilities {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.capability-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 15px;
}

.cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  padding: clamp(24px, 2.8vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cap-card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cap-card-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.cap-card-eyebrow .mono {
  font-size: 7.5px;
  letter-spacing: 0.06em;
  color: var(--muted-light);
}

.cap-chip {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.055em;
  line-height: 1.2;
  color: var(--muted);
}

.cap-card h3 {
  max-width: 580px;
  margin-top: 24px;
  font-size: clamp(2rem, 2.7vw, 2.8rem);
  line-height: 0.99;
}

.cap-card-copy > p {
  max-width: 510px;
  margin-top: 15px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
}

.cap-card-copy > p + p {
  margin-top: 8px;
}

.cap-card .text-link {
  margin-top: 23px;
}

.cap-card--agents {
  grid-column: span 7;
  min-height: 680px;
  border-color: rgba(247, 245, 239, 0.08);
  background: #2a303a;
  color: var(--paper);
}

.cap-card--agents .cap-card-eyebrow .mono,
.cap-card--agents .cap-card-copy > p {
  color: rgba(247, 245, 239, 0.5);
}

.cap-card--agents .cap-chip {
  border-color: rgba(247, 245, 239, 0.16);
  color: rgba(247, 245, 239, 0.6);
}

.cap-card--agents h3 {
  color: var(--paper);
}

.cap-card--agents h3 em {
  color: var(--signal);
}

.cap-card--orchestration {
  grid-column: span 5;
  min-height: 680px;
  background: #efece2;
}

.cap-card--automation {
  grid-column: span 5;
  min-height: 600px;
  background: var(--paper-soft);
}

.cap-card--product {
  grid-column: span 7;
  min-height: 600px;
  border-color: rgba(32, 37, 45, 0.08);
  background: var(--signal);
}

.cap-card--product .cap-card-copy > p {
  color: rgba(32, 37, 45, 0.69);
}

.cap-card--product .cap-chip {
  border-color: rgba(32, 37, 45, 0.2);
  color: rgba(32, 37, 45, 0.64);
}

.cap-card--product .cap-card-eyebrow .mono {
  color: rgba(32, 37, 45, 0.52);
}

.agent-visual {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 34px;
}

.agent-ui {
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: 13px;
  background: #2a303a;
}

.agent-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
}

.agent-ui-head > div {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.8);
}

.agent-ui-head small {
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.5);
}

.ui-orb {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(198, 167, 107, 0.95), rgba(198, 167, 107, 0.15) 60%, transparent 72%);
  border: 1px solid rgba(198, 167, 107, 0.3);
}

.ui-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  color: var(--signal);
}

.ui-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  animation: dotBlink 2s ease-in-out infinite;
}

.agent-prompt {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.07);
  background: rgba(198, 167, 107, 0.025);
}

.agent-prompt .mono {
  font-size: 6px;
  color: rgba(247, 245, 239, 0.52);
}

.agent-prompt p {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: rgba(247, 245, 239, 0.93);
}

.agent-task-list {
  padding: 3px 11px;
}

.agent-task {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.065);
  font-size: 9.5px;
  color: rgba(247, 245, 239, 0.66);
}

.agent-task:last-child {
  border-bottom: 0;
}

.agent-task small {
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 239, 0.52);
}

.task-check {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: var(--signal);
  border: 1px solid rgba(198, 167, 107, 0.18);
  background: rgba(198, 167, 107, 0.06);
}

.task-check svg {
  width: 8px;
  height: 8px;
}

.task-check--loader {
  border-color: rgba(198, 167, 107, 0.38);
  border-top-color: transparent;
  animation: tinySpin 1.3s linear infinite;
}

.agent-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-top: 1px solid rgba(247, 245, 239, 0.07);
}

.agent-tools .mono {
  margin-right: 4px;
  font-size: 5.8px;
  color: rgba(247, 245, 239, 0.52);
}

.agent-tools > span:not(.mono) {
  padding: 3px 6px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 5.6px;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.58);
}

.agent-tools .tool-muted {
  color: rgba(247, 245, 239, 0.22);
}

.agent-transcript {
  margin: 0 12px 12px;
  padding: 9px 11px;
  border-left: 1px solid var(--signal);
  background: rgba(198, 167, 107, 0.05);
}

.agent-transcript .mono {
  font-size: 5.6px;
  color: rgba(198, 167, 107, 0.65);
}

.agent-transcript p {
  margin-top: 4px;
  font-size: 8.5px;
  line-height: 1.45;
  color: rgba(247, 245, 239, 0.56);
}

.agent-visual .visual-label {
  margin-top: 9px;
  color: rgba(247, 245, 239, 0.26);
}

.visual-label {
  display: flex;
  justify-content: flex-end;
  margin-top: 9px;
  font-size: 6.2px;
  letter-spacing: 0.09em;
  color: var(--muted-light);
}

.visual-label--dark {
  color: var(--muted-light);
}

.network-visual {
  position: relative;
  width: 100%;
  height: 342px;
  margin-top: auto;
  padding-top: 14px;
}

.network-grid {
  position: absolute;
  inset: 14px 0 0;
  opacity: 0.65;
  background-image: radial-gradient(rgba(32, 37, 45, 0.19) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
}

.network-lines {
  position: absolute;
  inset: 14px 0 0;
  width: 100%;
  height: calc(100% - 14px);
}

.network-lines path {
  fill: none;
  stroke: rgba(32, 37, 45, 0.27);
  stroke-width: 0.7;
  stroke-dasharray: 3 5;
}

.network-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 41px;
  padding: 6px 8px;
  border: 1px solid rgba(32, 37, 45, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  backdrop-filter: blur(6px);
}

.network-node strong {
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.network-node small {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 5.2px;
  letter-spacing: 0.03em;
  color: var(--muted-light);
}

.network-node--center {
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 104px;
  height: 104px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(32, 37, 45, 0.4);
  background: var(--ink-panel);
  color: var(--paper);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgba(32, 37, 45, 0.16);
}

.network-core {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  line-height: 0.8;
  color: var(--signal);
}

.network-node--center strong {
  margin-top: 5px;
  color: rgba(247, 245, 239, 0.75);
}

.network-node--center small {
  color: rgba(247, 245, 239, 0.35);
}

.network-node--a {
  top: 14%;
  left: 11%;
}

.network-node--b {
  top: 14%;
  right: 11%;
}

.network-node--c {
  bottom: 13%;
  left: 11%;
}

.network-node--d {
  right: 11%;
  bottom: 13%;
}

.network-node--e {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.network-label {
  position: absolute;
  right: 0;
  bottom: -1px;
  font-size: 6.2px;
  letter-spacing: 0.075em;
  color: var(--muted-light);
}

.cap-card--automation .automation-visual {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  padding-top: 24px;
}

.compare-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 9px;
  font-size: 6.2px;
  color: var(--muted-light);
}

.compare-head span:last-child {
  color: var(--ink);
}

.compare-lane {
  position: relative;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.compare-lane + .compare-lane {
  margin-top: 8px;
}

.compare-lane--before {
  background: rgba(239, 236, 226, 0.36);
}

.compare-lane--after {
  border-color: var(--ink);
  background: var(--ink-panel);
  color: var(--paper);
}

.lane-label {
  display: block;
  margin-bottom: 10px;
  font-size: 5.8px;
  color: var(--muted-light);
}

.compare-lane--after .lane-label {
  color: rgba(247, 245, 239, 0.34);
}

.lane-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.lane-step {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.025em;
  color: var(--muted);
}

.compare-lane--after .lane-step {
  border-color: rgba(247, 245, 239, 0.15);
  background: rgba(247, 245, 239, 0.07);
  color: rgba(247, 245, 239, 0.7);
}

.compare-lane--after .lane-step--signal {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.lane-arrow {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted-light);
}

.compare-lane--after .lane-arrow {
  color: rgba(247, 245, 239, 0.28);
}

.lane-loop,
.lane-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.025em;
  color: var(--muted-light);
}

.lane-status {
  color: rgba(247, 245, 239, 0.45);
}

.lane-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.compare-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  font-size: 5.8px;
  color: var(--muted-light);
}

.product-visual {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 34px;
}

.mini-app {
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 13px;
  background: #20252d;
  color: var(--paper);
  box-shadow: 0 20px 34px -25px rgba(32, 37, 45, 0.5);
}

.mini-app-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
}

.mini-app-logo {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.mini-app-logo span {
  color: var(--signal);
}

.mini-app-crumb {
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 239, 0.31);
}

.mini-app-avatar {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: auto;
  border: 1px solid rgba(247, 245, 239, 0.14);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 5.8px;
  color: rgba(247, 245, 239, 0.5);
}

.mini-app-body {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  min-height: 325px;
}

.mini-app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding-top: 15px;
  border-right: 1px solid rgba(247, 245, 239, 0.07);
}

.mini-app-rail > span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.1);
}

.mini-app-rail .rail-active {
  background: var(--signal);
}

.mini-app-main {
  padding: 15px;
}

.mini-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mini-app-head .mono {
  font-size: 5.6px;
  color: rgba(247, 245, 239, 0.3);
}

.mini-app-head h4 {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: rgba(247, 245, 239, 0.92);
}

.mini-app-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 5.4px;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.mini-app-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.mini-app-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 13px;
  padding: 9px 10px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-left: 1px solid var(--signal);
  border-radius: 5px;
  background: rgba(247, 245, 239, 0.03);
}

.mini-app-prompt span:first-child {
  font-size: 8.5px;
  line-height: 1.4;
  color: rgba(247, 245, 239, 0.58);
}

.prompt-send {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-size: 9px;
}

.mini-app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.mini-result-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  min-height: 78px;
  border: 1px solid rgba(247, 245, 239, 0.09);
  border-radius: 5px;
  background: rgba(247, 245, 239, 0.025);
}

.mini-result-card .mono {
  font-size: 5.3px;
  color: rgba(198, 167, 107, 0.64);
}

.mini-result-card strong {
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(247, 245, 239, 0.68);
}

.mini-result-card small {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 5.2px;
  color: rgba(247, 245, 239, 0.28);
}

.mini-app-action {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(247, 245, 239, 0.07);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.015em;
  color: rgba(247, 245, 239, 0.33);
}

.app-check {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(198, 167, 107, 0.25);
  border-radius: 50%;
  color: var(--signal);
}

.app-check svg {
  width: 7px;
  height: 7px;
}

.product-visual .visual-label {
  color: rgba(32, 37, 45, 0.44);
}

/* ============================================================
   06 · PRODUCTS
   ============================================================ */

.products {
  position: relative;
  overflow: hidden;
  background: var(--ink-panel);
  color: var(--paper);
  border-bottom: 1px solid rgba(247, 245, 239, 0.1);
}

.products-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 84% 8%, rgba(148, 166, 255, 0.1), transparent 33%),
    radial-gradient(circle at 9% 82%, rgba(198, 167, 107, 0.055), transparent 27%),
    linear-gradient(to right, rgba(247, 245, 239, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 239, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 110px 110px, 110px 110px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.products .section-head {
  position: relative;
  z-index: 1;
}

.section-head--products .section-head-copy {
  color: rgba(247, 245, 239, 0.48);
}

.products .section-head-copy p {
  color: rgba(247, 245, 239, 0.48);
}

.product-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  min-height: 690px;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: var(--radius-xl);
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 3.9vw, 54px);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.product-meta .mono {
  font-size: 7.5px;
  letter-spacing: 0.065em;
  color: rgba(247, 245, 239, 0.34);
}

.product-category {
  padding: 4px 8px;
  border: 1px solid rgba(247, 245, 239, 0.17);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 6.6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.6);
}

.product-logo {
  display: flex;
  align-items: center;
  margin-top: 44px;
  font-size: clamp(1.9rem, 2.75vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1;
}

.product-logo sup {
  margin-left: 3px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.02em;
  vertical-align: super;
  color: var(--blue);
}

.operative-mark {
  position: relative;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  flex: 0 0 27px;
}

.operative-mark i {
  position: absolute;
  display: block;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.operative-mark i:nth-child(1) {
  inset: 0 8px;
}

.operative-mark i:nth-child(2) {
  inset: 8px 0;
}

.operative-mark i:nth-child(3) {
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 0;
  background: var(--blue);
  transform: translate(-50%, -50%);
}

.operative-mark--small {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  flex-basis: 16px;
}

.operative-mark--small i:nth-child(1) {
  inset: 0 5px;
}

.operative-mark--small i:nth-child(2) {
  inset: 5px 0;
}

.operative-mark--small i:nth-child(3) {
  width: 3px;
  height: 3px;
}

.product-card--operative {
  background: #151922;
}

.product-card--operative h3 {
  max-width: 540px;
  margin-top: 20px;
  font-size: clamp(2rem, 2.9vw, 2.95rem);
  line-height: 0.99;
}

.product-card--operative h3 em {
  color: var(--blue);
}

.product-card--operative .product-copy > p {
  max-width: 510px;
  margin-top: 17px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(247, 245, 239, 0.49);
}

.product-card--operative .product-copy > p + p {
  margin-top: 8px;
}

.product-benefit {
  width: 100%;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid rgba(247, 245, 239, 0.13);
}

.product-benefit .mono {
  font-size: 6.5px;
  letter-spacing: 0.075em;
  color: rgba(247, 245, 239, 0.29);
}

.product-benefit p {
  max-width: 460px;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: rgba(247, 245, 239, 0.78);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}

.product-note {
  font-family: var(--mono);
  font-size: 6.8px;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 239, 0.3);
}

.product-visual-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 38px);
  background: radial-gradient(circle at 60% 35%, rgba(148, 166, 255, 0.12), transparent 54%),
    rgba(9, 12, 17, 0.28);
}

.product-card--operative .product-visual-wrap {
  border-left: 1px solid rgba(247, 245, 239, 0.09);
}

.product-visual-wrap .visual-label {
  color: rgba(247, 245, 239, 0.28);
}

.operative-screen {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(148, 166, 255, 0.23);
  border-radius: 14px;
  background: #0b0f17;
  box-shadow: 0 28px 55px -25px rgba(0, 0, 0, 0.7);
}

.os-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.09);
  background: rgba(255, 255, 255, 0.02);
}

.os-logo {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.06em;
  color: rgba(247, 245, 239, 0.9);
}

.os-logo sup {
  margin-left: 2px;
  font-family: var(--mono);
  font-size: 4.5px;
  font-weight: 400;
  vertical-align: super;
  color: var(--blue);
}

.os-crumb {
  padding-left: 12px;
  border-left: 1px solid rgba(247, 245, 239, 0.1);
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.03em;
  color: rgba(247, 245, 239, 0.3);
}

.os-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border: 1px solid rgba(148, 166, 255, 0.35);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 5.5px;
  color: var(--blue);
}

.os-body {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 139px;
  min-height: 480px;
}

.os-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding-top: 15px;
  border-right: 1px solid rgba(247, 245, 239, 0.07);
}

.os-rail > span {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 2px;
}

.os-rail .os-rail-active {
  border-color: rgba(148, 166, 255, 0.6);
  background: rgba(148, 166, 255, 0.4);
}

.os-canvas {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px;
}

.os-canvas-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.os-canvas-head .mono {
  font-size: 5.5px;
  color: rgba(247, 245, 239, 0.29);
}

.os-canvas-head strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: rgba(247, 245, 239, 0.84);
}

.os-run {
  font-size: 5.3px;
  color: rgba(148, 166, 255, 0.7);
}

.os-graph {
  position: relative;
  flex: 1;
  min-height: 296px;
  margin: 8px 0;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.075);
  border-radius: 8px;
  background-color: rgba(247, 245, 239, 0.018);
  background-image: radial-gradient(rgba(148, 166, 255, 0.19) 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}

.os-graph > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.os-graph > svg path {
  fill: none;
  stroke: rgba(148, 166, 255, 0.27);
  stroke-width: 0.8;
  stroke-dasharray: 3 5;
}

.os-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 94px;
  padding: 7px 8px;
  border: 1px solid rgba(247, 245, 239, 0.11);
  border-radius: 5px;
  background: rgba(13, 18, 27, 0.9);
  backdrop-filter: blur(5px);
}

.os-node small {
  font-family: var(--mono);
  font-size: 4.9px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.3);
}

.os-node strong {
  margin-top: 3px;
  font-size: 7.2px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(247, 245, 239, 0.66);
}

.os-node-dot {
  width: 4px;
  height: 4px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 7px rgba(148, 166, 255, 0.55);
}

.os-node--research {
  top: 13%;
  left: 2.5%;
}

.os-node--analysis {
  top: 13%;
  right: 2.5%;
}

.os-node--crm {
  bottom: 11%;
  left: 4%;
}

.os-node--report {
  right: 4%;
  bottom: 11%;
}

.os-orchestrator {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(148, 166, 255, 0.5);
  border-radius: 50%;
  background: #111725;
  box-shadow: 0 0 25px rgba(148, 166, 255, 0.1);
  transform: translate(-50%, -50%);
}

.os-orchestrator span {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 0.7;
  color: var(--blue);
}

.os-orchestrator strong {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(247, 245, 239, 0.7);
}

.os-orchestrator small {
  font-family: var(--mono);
  font-size: 4.3px;
  color: rgba(247, 245, 239, 0.28);
}

.os-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 166, 255, 0.24);
  border-radius: 5px;
  background: rgba(148, 166, 255, 0.045);
}

.os-command > span:first-child {
  font-size: 7.3px;
  line-height: 1.35;
  color: rgba(247, 245, 239, 0.51);
}

.os-send {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border-radius: 50%;
  background: var(--blue);
  color: #10141c;
  font-size: 8px;
}

.os-log {
  min-width: 0;
  padding: 13px 11px;
  border-left: 1px solid rgba(247, 245, 239, 0.07);
}

.os-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.07);
}

.os-log-head .mono {
  font-size: 5.2px;
  color: rgba(247, 245, 239, 0.32);
}

.os-log-head i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.os-log-row {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(247, 245, 239, 0.055);
}

.os-log-row > span {
  font-family: var(--mono);
  font-size: 4.8px;
  color: rgba(247, 245, 239, 0.22);
}

.os-log-row p {
  font-size: 5.9px;
  line-height: 1.3;
  color: rgba(247, 245, 239, 0.47);
}

.os-log-row small {
  font-family: var(--mono);
  font-size: 4.4px;
  color: rgba(247, 245, 239, 0.2);
}

.os-log-row--done small {
  color: rgba(148, 166, 255, 0.6);
}

.os-log-row--active {
  background: rgba(148, 166, 255, 0.05);
}

.os-log-row--active small {
  color: var(--blue);
}

.os-log-foot {
  padding-top: 10px;
  font-size: 4.8px;
  color: rgba(247, 245, 239, 0.22);
}

/* Blogcite product */

.product-card--blogcite {
  background: #eae6db;
  color: var(--ink);
  border-color: rgba(32, 37, 45, 0.12);
}

.product-card--blogcite .product-meta .mono {
  color: var(--muted);
}

.product-card--blogcite .product-category {
  border-color: rgba(32, 37, 45, 0.18);
  color: var(--muted);
}

.product-logo--blogcite {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.product-logo--blogcite span {
  color: var(--rust);
}

.product-card--blogcite h3 {
  max-width: 520px;
  margin-top: 15px;
  font-size: clamp(2rem, 2.9vw, 2.9rem);
  line-height: 0.99;
}

.product-card--blogcite h3 em {
  color: var(--rust);
}

.product-card--blogcite .product-copy > p {
  max-width: 510px;
  margin-top: 17px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #5f5b53;
}

.product-card--blogcite .product-copy > p + p {
  margin-top: 8px;
}

.product-card--blogcite .product-benefit {
  border-top-color: rgba(32, 37, 45, 0.15);
}

.product-card--blogcite .product-benefit .mono {
  color: var(--muted);
}

.product-card--blogcite .product-benefit p {
  color: #3b3a35;
}

.product-card--blogcite .product-note {
  color: var(--muted);
}

.product-card--blogcite .product-visual-wrap {
  border-right: 1px solid rgba(32, 37, 45, 0.1);
  background: radial-gradient(circle at 35% 38%, rgba(214, 94, 59, 0.1), transparent 57%),
    rgba(255, 253, 248, 0.3);
}

.product-card--blogcite .product-visual-wrap .visual-label {
  color: var(--muted);
}

.blogcite-screen {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(32, 37, 45, 0.18);
  border-radius: 14px;
  background: #f8f6f0;
  color: var(--ink);
  box-shadow: 0 28px 45px -32px rgba(32, 37, 45, 0.4);
}

.bc-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(32, 37, 45, 0.11);
  background: rgba(255, 255, 255, 0.35);
}

.bc-logo {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.bc-logo span {
  color: var(--rust);
}

.bc-nav {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.bc-nav span {
  color: var(--ink);
}

.bc-avatar {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: auto;
  border: 1px solid rgba(32, 37, 45, 0.22);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 5.5px;
}

.bc-body {
  display: grid;
  grid-template-columns: 123px minmax(0, 1fr);
  min-height: 490px;
}

.bc-sidebar {
  display: flex;
  flex-direction: column;
  padding: 14px 11px;
  border-right: 1px solid rgba(32, 37, 45, 0.1);
  background: rgba(239, 236, 226, 0.55);
}

.bc-sidebar > .mono {
  margin-bottom: 13px;
  font-size: 5.2px;
  color: var(--muted-light);
}

.bc-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 6px;
  border-radius: 4px;
  font-size: 6.5px;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.bc-nav-item i {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(32, 37, 45, 0.24);
  border-radius: 1px;
}

.bc-nav-item--active {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-weight: 600;
}

.bc-nav-item--active i {
  border-color: var(--rust);
  background: var(--rust);
}

.bc-sidebar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(32, 37, 45, 0.12);
}

.bc-sidebar-foot .mono {
  width: 100%;
  font-size: 4.8px;
  color: var(--muted-light);
}

.bc-sidebar-foot strong {
  font-size: 6px;
  font-weight: 600;
}

.bc-online {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-mid);
}

.bc-main {
  min-width: 0;
  padding: 15px;
}

.bc-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bc-main-head .mono {
  font-size: 5.4px;
  color: var(--muted-light);
}

.bc-main-head h4 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.bc-status {
  padding: 3px 6px;
  border: 1px solid rgba(32, 37, 45, 0.18);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 4.7px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.bc-pipeline {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  padding: 8px 9px;
  border: 1px solid rgba(32, 37, 45, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.bc-pipe {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 5.3px;
  letter-spacing: 0.025em;
  color: var(--muted-light);
}

.bc-pipe i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(32, 37, 45, 0.2);
}

.bc-pipe--done,
.bc-pipe--active {
  color: var(--ink);
}

.bc-pipe--done i {
  background: var(--signal-mid);
}

.bc-pipe--active i {
  background: var(--rust);
}

.bc-pipeline b {
  color: rgba(32, 37, 45, 0.28);
  font-size: 7px;
  font-weight: 400;
}

.bc-article-list {
  margin-top: 12px;
  border-top: 1px solid rgba(32, 37, 45, 0.1);
}

.bc-article {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 10px 3px;
  border-bottom: 1px solid rgba(32, 37, 45, 0.09);
}

.bc-article-num {
  font-family: var(--mono);
  font-size: 5.3px;
  color: var(--muted-light);
}

.bc-article strong {
  display: block;
  overflow: hidden;
  font-size: 7.2px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-article small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 4.7px;
  letter-spacing: 0.02em;
  color: var(--muted-light);
}

.bc-score {
  font-family: var(--mono);
  font-size: 4.5px;
  letter-spacing: 0.03em;
  color: var(--muted-light);
}

.bc-pill {
  padding: 3px 5px;
  border: 1px solid rgba(32, 37, 45, 0.12);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 4.4px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.bc-pill--done {
  border-color: rgba(179, 147, 79, 0.25);
  color: var(--rust-deep);
}

.bc-pill--active {
  border-color: rgba(214, 94, 59, 0.3);
  color: var(--rust-deep);
}

.bc-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 6px;
  margin-top: 12px;
}

.bc-mini-board {
  padding: 8px;
  border: 1px solid rgba(32, 37, 45, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.26);
}

.bc-mini-board .mono {
  font-size: 4.4px;
  color: var(--muted-light);
}

.bc-mini-board strong {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 6.2px;
  font-weight: 600;
}

.bc-mini-board--accent {
  border-color: rgba(214, 94, 59, 0.18);
  background: rgba(214, 94, 59, 0.055);
}

.bc-mini-board--accent i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rust);
}

/* ============================================================
   07 · BUSINESS APPLICATIONS
   ============================================================ */

.applications {
  background: var(--paper);
}

.application-tabbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-tabbar label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 91px;
  padding: 16px 16px 17px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.application-tabbar label:last-of-type {
  border-right: 0;
}

.application-tabbar label .mono {
  font-size: 7px;
  color: var(--muted-light);
  transition: color 0.3s ease;
}

.application-tabbar label strong {
  max-width: 160px;
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.application-tabbar label:hover {
  background: rgba(239, 236, 226, 0.5);
}

.application-tabbar:has(#uc-saas:checked) label[for="uc-saas"],
.application-tabbar:has(#uc-ops:checked) label[for="uc-ops"],
.application-tabbar:has(#uc-research:checked) label[for="uc-research"],
.application-tabbar:has(#uc-growth:checked) label[for="uc-growth"] {
  background: var(--ink-panel);
  color: var(--paper);
}

.application-tabbar:has(#uc-saas:checked) label[for="uc-saas"] .mono,
.application-tabbar:has(#uc-ops:checked) label[for="uc-ops"] .mono,
.application-tabbar:has(#uc-research:checked) label[for="uc-research"] .mono,
.application-tabbar:has(#uc-growth:checked) label[for="uc-growth"] .mono {
  color: var(--signal);
}

.application-radio:focus-visible + label {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

.application-panel {
  display: none;
  min-height: 565px;
  margin-top: 22px;
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #efece2;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.applications-tabs:has(#uc-saas:checked) .application-panel--saas,
.applications-tabs:has(#uc-ops:checked) .application-panel--ops,
.applications-tabs:has(#uc-research:checked) .application-panel--research,
.applications-tabs:has(#uc-growth:checked) .application-panel--growth {
  display: grid;
  animation: panelIn 0.45s var(--ease) both;
}

.application-copy {
  align-self: center;
}

.application-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.application-kicker .mono {
  font-size: 7px;
  letter-spacing: 0.065em;
  color: var(--muted);
}

.application-tag {
  padding: 4px 7px;
  border: 1px solid rgba(32, 37, 45, 0.17);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 0.045em;
  color: var(--muted);
}

.application-copy h3 {
  max-width: 500px;
  margin-top: 23px;
  font-size: clamp(2.25rem, 3.35vw, 3.4rem);
  line-height: 0.98;
}

.application-copy > p {
  max-width: 470px;
  margin-top: 19px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.application-examples {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  max-width: 450px;
}

.application-examples li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: #45443e;
}

.application-examples li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-deep);
}

.application-visual {
  position: relative;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 15px;
  background-color: #20252d;
  background-image: radial-gradient(circle at 50% 50%, rgba(198, 167, 107, 0.05), transparent 60%),
    linear-gradient(to right, rgba(247, 245, 239, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 239, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 38px 38px, 38px 38px;
  color: var(--paper);
}

.app-visual-note {
  position: absolute;
  right: 13px;
  bottom: 11px;
  font-size: 5.5px;
  letter-spacing: 0.08em;
  color: rgba(247, 245, 239, 0.25);
}

/* SaaS visual */

.app-visual--saas {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.flow-window {
  width: min(100%, 420px);
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.13);
  border-radius: 10px;
  background: #2a303a;
  box-shadow: 0 22px 40px -25px rgba(0, 0, 0, 0.75);
}

.flow-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.035em;
  color: rgba(247, 245, 239, 0.42);
}

.flow-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 5.2px;
  color: var(--signal);
}

.flow-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.flow-body {
  padding: 15px;
}

.flow-prompt {
  position: relative;
  padding: 11px 33px 11px 12px;
  border: 1px solid rgba(198, 167, 107, 0.22);
  border-radius: 5px;
  background: rgba(198, 167, 107, 0.035);
}

.flow-prompt .mono {
  font-size: 5.3px;
  color: rgba(198, 167, 107, 0.62);
}

.flow-prompt p {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(247, 245, 239, 0.86);
}

.flow-send {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-size: 9px;
  transform: translateY(-50%);
}

.flow-steps {
  margin-top: 12px;
  border-top: 1px solid rgba(247, 245, 239, 0.07);
}

.flow-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.07);
  font-size: 8px;
  color: rgba(247, 245, 239, 0.56);
}

.flow-num {
  font-family: var(--mono);
  font-size: 5.3px;
  color: rgba(247, 245, 239, 0.24);
}

.flow-step small {
  font-family: var(--mono);
  font-size: 5px;
  color: rgba(247, 245, 239, 0.23);
}

.flow-step--done small {
  color: rgba(198, 167, 107, 0.55);
}

.flow-step--active {
  color: rgba(247, 245, 239, 0.83);
}

.flow-result {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(247, 245, 239, 0.09);
  border-radius: 5px;
  background: rgba(247, 245, 239, 0.03);
}

.flow-result-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
}

.flow-result-icon svg {
  width: 11px;
  height: 11px;
}

.flow-result strong {
  display: block;
  font-size: 7.5px;
  font-weight: 600;
  color: rgba(247, 245, 239, 0.75);
}

.flow-result small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 5.1px;
  color: rgba(247, 245, 239, 0.3);
}

/* Ops visual */

.app-visual--ops {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 30px 22px;
}

.ops-doc {
  position: relative;
  padding: 14px;
  min-height: 232px;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: 8px;
  background: #2a303a;
}

.ops-doc > .mono {
  font-size: 5.3px;
  color: rgba(247, 245, 239, 0.28);
}

.ops-doc > strong {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(247, 245, 239, 0.8);
}

.doc-lines {
  margin-top: 14px;
}

.doc-lines span {
  display: block;
  width: 100%;
  height: 4px;
  margin-bottom: 5px;
  border-radius: 3px;
  background: rgba(247, 245, 239, 0.09);
}

.doc-lines span.short {
  width: 62%;
}

.doc-field {
  position: absolute;
  padding: 4px 6px;
  border: 1px solid rgba(198, 167, 107, 0.24);
  border-radius: 3px;
  background: rgba(198, 167, 107, 0.07);
}

.doc-field span {
  display: block;
  font-family: var(--mono);
  font-size: 4.4px;
  color: rgba(198, 167, 107, 0.55);
}

.doc-field strong {
  display: block;
  margin-top: 2px;
  font-size: 5.7px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.65);
}

.doc-field--a {
  top: 47%;
  left: 8%;
}

.doc-field--b {
  top: 64%;
  left: 8%;
}

.doc-field--c {
  right: 8%;
  bottom: 11%;
}

.ops-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--signal);
}

.ops-connector span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.65;
}

.ops-connector span:nth-child(2) {
  opacity: 0.35;
}

.ops-connector span:nth-child(3) {
  opacity: 1;
}

.ops-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ops-card {
  padding: 11px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 6px;
  background: rgba(247, 245, 239, 0.025);
}

.ops-card .mono {
  font-size: 4.8px;
  color: rgba(247, 245, 239, 0.27);
}

.ops-card strong {
  display: block;
  margin-top: 4px;
  font-size: 7.2px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.67);
}

.ops-card small {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 4.6px;
  color: rgba(247, 245, 239, 0.26);
}

.ops-card--accent {
  border-color: rgba(198, 167, 107, 0.25);
  background: rgba(198, 167, 107, 0.05);
}

.ops-card--accent small {
  color: rgba(198, 167, 107, 0.5);
}

/* Research visual */

.app-visual--research {
  min-height: 430px;
}

.research-source {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 124px;
  padding: 11px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 6px;
  background: rgba(32, 37, 45, 0.92);
}

.research-source .mono {
  font-size: 4.7px;
  color: rgba(247, 245, 239, 0.25);
}

.research-source strong {
  margin-top: 4px;
  font-size: 7.7px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.67);
}

.research-source small {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 4.6px;
  color: rgba(247, 245, 239, 0.23);
}

.research-source--one {
  top: 13%;
  left: 4%;
}

.research-source--two {
  top: 42%;
  left: 4%;
}

.research-source--three {
  bottom: 13%;
  left: 4%;
}

.research-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.research-wires path {
  fill: none;
  stroke: rgba(198, 167, 107, 0.23);
  stroke-width: 0.8;
  stroke-dasharray: 3 5;
  animation: wireFlow 18s linear infinite;
}

.research-engine {
  position: absolute;
  top: 50%;
  left: 48%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(198, 167, 107, 0.33);
  border-radius: 50%;
  background: #2a303a;
  transform: translate(-50%, -50%);
}

.research-engine .mono {
  font-size: 4.1px;
  color: rgba(247, 245, 239, 0.28);
}

.research-engine strong {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.8;
  color: var(--signal);
}

.research-engine small {
  font-family: var(--mono);
  font-size: 4.5px;
  color: rgba(247, 245, 239, 0.25);
}

.research-report {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 151px;
  padding: 12px;
  border: 1px solid rgba(247, 245, 239, 0.16);
  border-radius: 6px;
  background: #f3f0e8;
  color: var(--ink);
  transform: translateY(-50%);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6);
}

.report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.report-top .mono {
  font-size: 4.3px;
  color: var(--muted);
}

.report-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-mid);
}

.research-report > strong {
  display: block;
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.report-lines {
  margin-top: 10px;
}

.report-lines span {
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 4px;
  border-radius: 2px;
  background: rgba(32, 37, 45, 0.12);
}

.report-lines span.short {
  width: 63%;
}

.report-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(32, 37, 45, 0.1);
  font-family: var(--mono);
  font-size: 4.3px;
  color: var(--muted);
}

/* Growth visual */

.app-visual--growth {
  display: flex;
  flex-direction: column;
  padding: 21px;
}

.growth-cluster {
  position: relative;
  flex: 1;
  min-height: 300px;
}

.growth-cluster > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.growth-cluster > svg path {
  fill: none;
  stroke: rgba(198, 167, 107, 0.23);
  stroke-width: 0.7;
  stroke-dasharray: 3 5;
}

.cluster-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(198, 167, 107, 0.32);
  border-radius: 50%;
  background: #2a303a;
  transform: translate(-50%, -50%);
  text-align: center;
}

.cluster-center .mono {
  font-size: 4.5px;
  color: rgba(247, 245, 239, 0.27);
}

.cluster-center strong {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(247, 245, 239, 0.8);
}

.cluster-node {
  position: absolute;
  z-index: 2;
  padding: 5px 7px;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: 100px;
  background: rgba(32, 37, 45, 0.88);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.02em;
  color: rgba(247, 245, 239, 0.46);
}

.cluster-node--a {
  top: 19%;
  left: 10%;
}

.cluster-node--b {
  top: 19%;
  right: 8%;
}

.cluster-node--c {
  bottom: 18%;
  left: 10%;
}

.cluster-node--d {
  right: 9%;
  bottom: 18%;
}

.growth-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  border-top: 1px solid rgba(247, 245, 239, 0.09);
  padding-top: 12px;
}

.growth-step {
  position: relative;
  padding: 7px;
  border: 1px solid rgba(247, 245, 239, 0.09);
  border-radius: 4px;
  background: rgba(247, 245, 239, 0.025);
}

.growth-step .mono {
  font-size: 4.4px;
  color: rgba(247, 245, 239, 0.23);
}

.growth-step strong {
  display: block;
  margin-top: 4px;
  font-size: 6.2px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.45);
}

.growth-step > i {
  position: absolute;
  top: 7px;
  right: 6px;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(247, 245, 239, 0.22);
  border-radius: 50%;
}

.growth-step--done > i {
  border-color: var(--signal);
  background: var(--signal);
}

.growth-step--active {
  border-color: rgba(198, 167, 107, 0.28);
  background: rgba(198, 167, 107, 0.05);
}

.growth-step--active strong {
  color: rgba(247, 245, 239, 0.78);
}

.growth-step--active > i {
  border-color: var(--signal);
}

.applications-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.applications-footer p {
  color: var(--muted);
  font-size: 12.5px;
}

.app-disclaimer {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ============================================================
   08 · ENGINEERING
   ============================================================ */

.engineering {
  color: var(--paper);
  background: #20252d;
  border-bottom: 1px solid rgba(247, 245, 239, 0.1);
}

.engineering-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(247, 245, 239, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 239, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 74% 30%, rgba(198, 167, 107, 0.055), transparent 35%);
  background-size: 92px 92px, 92px 92px, 100% 100%;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.engineering .shell {
  position: relative;
  z-index: 1;
}

.section-head--engineering {
  align-items: start;
}

.section-head--engineering .section-head-copy {
  color: rgba(247, 245, 239, 0.49);
}

.section-head--engineering .emphasis-line {
  color: rgba(247, 245, 239, 0.84) !important;
}

.section-head--engineering .button {
  margin-top: 31px;
}

.architecture-panel {
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(247, 245, 239, 0.025);
}

.architecture-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 17px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.1);
}

.architecture-topbar .mono {
  font-size: 6.9px;
  color: rgba(247, 245, 239, 0.34);
}

.architecture-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.architecture-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  animation: dotBlink 2.8s ease-in-out infinite;
}

.architecture-body {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 145px;
  gap: 22px;
  padding: 24px;
}

.architecture-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-top: 25px;
}

.architecture-rail .mono {
  margin-bottom: 8px;
  font-size: 5.8px;
  letter-spacing: 0.075em;
  color: rgba(247, 245, 239, 0.24);
}

.rail-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 8px;
  border: 1px solid rgba(247, 245, 239, 0.08);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.02em;
  color: rgba(247, 245, 239, 0.42);
}

.rail-tag svg {
  width: 9px;
  height: 9px;
  color: rgba(198, 167, 107, 0.58);
}

.architecture-rail--right {
  text-align: right;
}

.architecture-rail--right .rail-tag {
  justify-content: flex-end;
}

.rail-signal {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 5.2px;
  color: rgba(198, 167, 107, 0.45);
}

.rail-signal i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
}

.architecture-layers {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.layer-io {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 5px;
  font-size: 5.1px;
  letter-spacing: 0.07em;
  color: rgba(247, 245, 239, 0.25);
}

.layer-io i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 245, 239, 0.16), rgba(198, 167, 107, 0.24), rgba(247, 245, 239, 0.16));
}

.layer-io--bottom {
  margin-top: 2px;
}

.layer {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 6px;
  background: rgba(247, 245, 239, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}

.layer:hover {
  border-color: rgba(247, 245, 239, 0.22);
  background: rgba(247, 245, 239, 0.055);
  transform: translateX(2px);
}

.layer-index {
  font-size: 6.3px;
  color: rgba(247, 245, 239, 0.24);
}

.layer-copy {
  min-width: 0;
}

.layer-copy strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(247, 245, 239, 0.85);
}

.layer-copy small {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  line-height: 1.3;
  color: rgba(247, 245, 239, 0.31);
}

.layer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.layer-tags span {
  padding: 3px 5px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 4.7px;
  letter-spacing: 0.025em;
  color: rgba(247, 245, 239, 0.35);
}

.layer--runtime {
  border-color: rgba(198, 167, 107, 0.31);
  background: rgba(198, 167, 107, 0.055);
  box-shadow: 0 0 26px rgba(198, 167, 107, 0.035);
}

.layer--runtime .layer-copy strong {
  color: var(--paper);
}

.layer--runtime .layer-copy small {
  color: rgba(247, 245, 239, 0.47);
}

.layer--runtime .layer-tags span {
  border-color: rgba(198, 167, 107, 0.2);
  color: rgba(198, 167, 107, 0.7);
}

.layer-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 11px;
}

.layer-connector i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(247, 245, 239, 0.22);
}

.layer-connector span {
  width: 1px;
  height: 11px;
  background: linear-gradient(rgba(247, 245, 239, 0.18), rgba(198, 167, 107, 0.24));
}

.architecture-caption {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 17px;
  border-top: 1px solid rgba(247, 245, 239, 0.1);
  background: rgba(247, 245, 239, 0.018);
}

.architecture-caption .mono {
  font-size: 5.9px;
  color: rgba(247, 245, 239, 0.24);
}

.architecture-caption p {
  max-width: 600px;
  font-size: 9.5px;
  line-height: 1.5;
  color: rgba(247, 245, 239, 0.39);
}

.engineering-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 245, 239, 0.14);
  margin-top: 42px;
}

.engineering-pillar {
  padding: 21px 20px 0 0;
  border-right: 1px solid rgba(247, 245, 239, 0.1);
}

.engineering-pillar:not(:first-child) {
  padding-left: 20px;
}

.engineering-pillar:last-child {
  border-right: 0;
}

.pillar-num {
  display: block;
  margin-bottom: 20px;
  font-size: 6.2px;
  letter-spacing: 0.05em;
  color: rgba(198, 167, 107, 0.59);
}

.engineering-pillar h3 {
  max-width: 220px;
  font-size: 16px;
  line-height: 1.18;
  letter-spacing: -0.032em;
  color: rgba(247, 245, 239, 0.84);
}

.engineering-pillar p {
  max-width: 230px;
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(247, 245, 239, 0.34);
}

/* ============================================================
   09 · SELECTED WORK
   ============================================================ */

.work {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.work-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
}

.work-disclaimer .mono {
  flex: 0 0 auto;
  padding-top: 1px;
  font-size: 6.5px;
  color: var(--ink);
}

.dossier {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.dossier--featured {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  background: #fbf9f4;
}

.dossier-copy {
  padding: clamp(30px, 3.8vw, 48px);
}

.dossier-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.dossier-category {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 6.2px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink);
}

.dossier-label {
  font-size: 6.2px;
  letter-spacing: 0.045em;
  color: var(--muted-light);
}

.dossier h3 {
  max-width: 600px;
  margin-top: 22px;
  font-size: clamp(2rem, 2.9vw, 2.9rem);
  line-height: 1;
}

.dossier h3 em {
  color: #524f48;
}

.dossier-spec {
  margin-top: 25px;
}

.dossier-spec > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.dossier-spec dt {
  font-family: var(--mono);
  font-size: 6.3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.dossier-spec dd {
  max-width: 540px;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.study-note {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.study-note summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0 2px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.study-note summary::-webkit-details-marker {
  display: none;
}

.study-plus {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  transition: transform 0.3s var(--ease);
}

.study-note[open] .study-plus {
  transform: rotate(45deg);
}

.study-note-body {
  padding: 12px 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.study-note-body p + p {
  margin-top: 8px;
}

.study-note-body strong {
  color: var(--ink);
  font-weight: 600;
}

.dossier-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.5vw, 34px);
}

.dossier-visual--trace {
  background: #20252d;
  border-left: 1px solid rgba(32, 37, 45, 0.1);
}

.dossier-visual .visual-label {
  color: rgba(247, 245, 239, 0.27);
}

.trace-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.11);
  border-radius: 12px;
  background: #2a303a;
}

.trace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
}

.trace-top .mono {
  font-size: 5.6px;
  color: rgba(247, 245, 239, 0.28);
}

.trace-tag {
  padding: 3px 5px;
  border: 1px solid rgba(198, 167, 107, 0.22);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 4.6px;
  letter-spacing: 0.04em;
  color: rgba(198, 167, 107, 0.64);
}

.trace-request {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
  background: rgba(247, 245, 239, 0.02);
}

.trace-request .mono {
  font-size: 4.8px;
  color: rgba(247, 245, 239, 0.25);
}

.trace-request p {
  margin-top: 4px;
  font-size: 8.7px;
  line-height: 1.4;
  color: rgba(247, 245, 239, 0.63);
}

.trace-rail {
  padding: 4px 12px;
}

.trace-row {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(247, 245, 239, 0.06);
}

.trace-row:last-child {
  border-bottom: 0;
}

.trace-dot {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(247, 245, 239, 0.13);
  border-radius: 50%;
  color: rgba(247, 245, 239, 0.24);
}

.trace-dot svg {
  width: 8px;
  height: 8px;
}

.trace-row--done .trace-dot {
  border-color: rgba(198, 167, 107, 0.26);
  background: rgba(198, 167, 107, 0.07);
  color: var(--signal);
}

.trace-row--active .trace-dot {
  border-color: var(--signal);
}

.trace-row--active .trace-dot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  animation: dotBlink 1.8s ease-in-out infinite;
}

.trace-row strong {
  display: block;
  font-size: 7.4px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.6);
}

.trace-row small {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 4.7px;
  color: rgba(247, 245, 239, 0.23);
}

.trace-row > .mono {
  font-size: 4.8px;
  color: rgba(247, 245, 239, 0.18);
}

.trace-output {
  margin: 4px 12px 12px;
  padding: 11px;
  border: 1px solid rgba(198, 167, 107, 0.2);
  border-radius: 6px;
  background: rgba(198, 167, 107, 0.04);
}

.trace-output > .mono {
  font-size: 4.6px;
  color: rgba(198, 167, 107, 0.55);
}

.trace-output-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.trace-output-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  background: var(--signal);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--ink);
}

.trace-output-head strong {
  display: block;
  font-size: 7.6px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.7);
}

.trace-output-head small {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 4.5px;
  color: rgba(247, 245, 239, 0.25);
}

.trace-output-lines {
  display: flex;
  gap: 4px;
  margin-top: 9px;
}

.trace-output-lines span {
  display: block;
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.1);
}

.trace-output-lines span.short {
  flex: 0.6;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.dossier--compact {
  display: flex;
  flex-direction: column;
  min-height: 690px;
  background: #fbf9f4;
}

.dossier--compact .dossier-copy--compact {
  padding: 30px;
}

.dossier--compact .dossier-visual {
  flex: 1;
  min-height: 330px;
  padding: 24px;
}

.dossier--compact .dossier-copy {
  flex: 0 0 auto;
}

.dossier--compact h3 {
  margin-top: 19px;
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
}

.dossier--compact .dossier-spec {
  margin-top: 19px;
}

.dossier--compact .dossier-spec > div {
  padding: 9px 0;
}

.dossier--compact .dossier-spec dd {
  font-size: 10.5px;
  line-height: 1.5;
}

.dossier--compact .text-link {
  margin-top: 20px;
}

.dossier-visual--pipeline {
  background: #e9e5d9;
  border-bottom: 1px solid var(--line);
}

.pipeline-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 45, 0.14);
  border-radius: 10px;
  background: #faf8f3;
  box-shadow: 0 16px 30px -24px rgba(32, 37, 45, 0.35);
}

.pipe-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(32, 37, 45, 0.1);
}

.pipe-top .mono {
  font-size: 5.4px;
  color: var(--muted);
}

.pipe-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 4.7px;
  letter-spacing: 0.04em;
  color: var(--rust-deep);
}

.pipe-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal-mid);
}

.pipe-flow {
  padding: 12px;
}

.pipe-stage {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 4px;
  align-items: center;
  column-gap: 7px;
  margin-bottom: 6px;
  padding: 9px;
  border: 1px solid rgba(32, 37, 45, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
}

.pipe-stage > .mono {
  grid-row: 1 / span 2;
  font-size: 4.7px;
  color: var(--muted-light);
}

.pipe-stage strong {
  grid-column: 2;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.2;
}

.pipe-stage small {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 4.4px;
  color: var(--muted-light);
}

.pipe-stage > i {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(32, 37, 45, 0.2);
  border-radius: 50%;
}

.pipe-stage--done > i {
  border-color: var(--signal-mid);
  background: var(--signal-mid);
}

.pipe-stage--active {
  border-color: rgba(214, 94, 59, 0.3);
  background: rgba(214, 94, 59, 0.05);
}

.pipe-stage--active > i {
  border-color: var(--rust);
  background: var(--rust);
}

.pipe-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid rgba(32, 37, 45, 0.1);
}

.pipe-footer .mono {
  font-size: 4.7px;
  color: var(--muted-light);
}

.pipe-chain {
  color: var(--rust-deep);
  font-size: 10px;
}

.dossier--dark {
  background: #2a303a;
  color: var(--paper);
  border-color: rgba(247, 245, 239, 0.11);
}

.dossier--dark .dossier-category {
  border-color: rgba(247, 245, 239, 0.16);
  color: rgba(247, 245, 239, 0.67);
}

.dossier--dark .dossier-label,
.dossier--dark .dossier-spec dt,
.dossier--dark .dossier-spec dd {
  color: rgba(247, 245, 239, 0.34);
}

.dossier--dark .dossier-spec > div {
  border-top-color: rgba(247, 245, 239, 0.11);
}

.dossier--dark h3 {
  color: var(--paper);
}

.dossier--dark h3 em {
  color: var(--signal);
}

.dossier--dark .dossier-spec dd {
  color: rgba(247, 245, 239, 0.45);
}

.dossier--dark .dossier-spec dt {
  color: rgba(247, 245, 239, 0.29);
}

.dossier-visual--extract {
  border-bottom: 1px solid rgba(247, 245, 239, 0.1);
  background: #20252d;
}

.extract-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 239, 0.11);
  border-radius: 10px;
  background: #2a303a;
}

.extract-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
}

.extract-top .mono {
  font-size: 5.2px;
  color: rgba(247, 245, 239, 0.27);
}

.extract-tag {
  padding: 3px 5px;
  border: 1px solid rgba(247, 245, 239, 0.13);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 4.4px;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.4);
}

.extract-body {
  display: grid;
  grid-template-columns: 1fr 23px 1fr;
  align-items: center;
  gap: 6px;
  padding: 15px 12px;
}

.extract-doc {
  position: relative;
  padding: 12px;
  min-height: 160px;
  border: 1px solid rgba(247, 245, 239, 0.1);
  border-radius: 5px;
  background: rgba(247, 245, 239, 0.025);
}

.extract-doc .mono {
  font-size: 4.5px;
  color: rgba(247, 245, 239, 0.24);
}

.extract-doc-lines {
  margin-top: 14px;
}

.extract-doc-lines span {
  display: block;
  width: 100%;
  height: 3px;
  margin-bottom: 5px;
  border-radius: 2px;
  background: rgba(247, 245, 239, 0.1);
}

.extract-doc-lines span.short {
  width: 62%;
}

.extract-highlight {
  position: absolute;
  height: 12px;
  border: 1px solid rgba(198, 167, 107, 0.3);
  border-radius: 2px;
  background: rgba(198, 167, 107, 0.06);
}

.extract-highlight--a {
  top: 49%;
  left: 12%;
  width: 48%;
}

.extract-highlight--b {
  top: 64%;
  left: 12%;
  width: 34%;
}

.extract-arrow {
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--signal);
}

.extract-fields {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.extract-fields > .mono {
  margin-bottom: 2px;
  font-size: 4.3px;
  color: rgba(247, 245, 239, 0.24);
}

.extract-field {
  padding: 6px 7px;
  border: 1px solid rgba(247, 245, 239, 0.09);
  border-radius: 3px;
}

.extract-field span {
  display: block;
  font-family: var(--mono);
  font-size: 4.2px;
  color: rgba(247, 245, 239, 0.23);
}

.extract-field strong {
  display: block;
  margin-top: 2px;
  font-size: 5.7px;
  font-weight: 500;
  color: rgba(198, 167, 107, 0.65);
}

.extract-field--review {
  border-color: rgba(214, 94, 59, 0.25);
  background: rgba(214, 94, 59, 0.05);
}

.extract-field--review strong {
  color: #e8977b;
}

.extract-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid rgba(247, 245, 239, 0.08);
}

.extract-foot .mono {
  font-size: 4.3px;
  color: rgba(247, 245, 239, 0.24);
}

.extract-status {
  font-family: var(--mono);
  font-size: 4.3px;
  letter-spacing: 0.03em;
  color: rgba(198, 167, 107, 0.56);
}

.work-footnote {
  margin-top: 24px;
  text-align: right;
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

/* ============================================================
   10 · PHILOSOPHY
   ============================================================ */

.philosophy {
  position: relative;
  overflow: hidden;
  background: #efebe1;
  border-bottom: 1px solid var(--line);
}

.philosophy-mark {
  position: absolute;
  top: 7%;
  right: -6%;
  font-family: var(--serif);
  font-size: clamp(28rem, 47vw, 46rem);
  font-style: italic;
  line-height: 0.68;
  color: rgba(32, 37, 45, 0.035);
  pointer-events: none;
  user-select: none;
}

.philosophy .shell {
  position: relative;
  z-index: 1;
}

.section-head--philosophy .section-head-copy {
  color: #57544c;
}

.philosophy-body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.philosophy-quote {
  position: sticky;
  top: 116px;
  padding-top: 19px;
  border-top: 1px solid var(--line-strong);
}

.quote-mark {
  display: block;
  height: 42px;
  font-family: var(--serif);
  font-size: 76px;
  line-height: 0.7;
  color: var(--signal-deep);
}

.philosophy-quote p {
  max-width: 430px;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 3.55vw, 3.75rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
}

.philosophy-quote p em {
  color: #4e4b44;
}

.philosophy-quote cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 6.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.principles {
  border-top: 1px solid var(--line-strong);
}

.principle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 17px;
  column-gap: 14px;
  align-items: start;
  padding: 24px 0 25px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.principle:hover {
  padding-left: 8px;
}

.principle-num {
  padding-top: 4px;
  font-size: 7px;
  color: var(--muted);
}

.principle h3 {
  grid-column: 2;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.principle p {
  grid-column: 2;
  max-width: 520px;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.principle-mark {
  grid-column: 3;
  grid-row: 1;
  color: var(--muted-light);
  font-size: 13px;
  transition: color 0.3s ease, transform 0.35s var(--ease);
}

.principle:hover .principle-mark {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.philosophy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.philosophy-footer > .mono {
  font-size: 6.8px;
  color: var(--muted);
}

/* ============================================================
   11 · INSIGHTS
   ============================================================ */

.insights {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.insight-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  min-height: 490px;
  border-radius: var(--radius-xl);
  background: #2a303a;
  color: var(--paper);
}

.insight-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 52px);
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.insight-meta .dossier-category {
  border-color: rgba(247, 245, 239, 0.16);
  color: rgba(247, 245, 239, 0.65);
}

.insight-meta > .mono {
  font-size: 6.1px;
  color: rgba(247, 245, 239, 0.3);
}

.insight-feature h3 {
  max-width: 540px;
  margin-top: 27px;
  font-size: clamp(2.2rem, 3.25vw, 3.3rem);
  line-height: 0.98;
}

.insight-feature h3 em {
  color: var(--signal);
}

.insight-feature-copy > p {
  max-width: 480px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(247, 245, 239, 0.43);
}

.insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 24px;
}

.insight-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(247, 245, 239, 0.12);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.36);
}

.insight-coming {
  margin-top: auto;
  padding-top: 31px;
  font-size: 6.4px;
  letter-spacing: 0.075em;
  color: rgba(198, 167, 107, 0.58);
}

.insight-diagram {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-left: 1px solid rgba(247, 245, 239, 0.09);
  background-color: #20252d;
  background-image: radial-gradient(circle at 50% 48%, rgba(198, 167, 107, 0.08), transparent 48%),
    linear-gradient(to right, rgba(247, 245, 239, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 239, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

.diagram-grid {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(247, 245, 239, 0.05);
  border-radius: 50%;
}

.insight-diagram > svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(84%, 530px);
  height: auto;
  transform: translate(-50%, -50%);
}

.insight-diagram > svg path {
  fill: none;
  stroke: rgba(247, 245, 239, 0.16);
  stroke-width: 0.8;
}

.insight-diagram > svg path:last-child {
  stroke: rgba(198, 167, 107, 0.26);
  animation: wireFlow 18s linear infinite;
}

.diagram-label {
  position: absolute;
  top: 17px;
  left: 18px;
  font-size: 5.5px;
  color: rgba(247, 245, 239, 0.25);
}

.diagram-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(198, 167, 107, 0.4);
  border-radius: 50%;
  background: #2a303a;
  transform: translate(-50%, -50%);
}

.diagram-core span {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 0.8;
  color: var(--signal);
}

.diagram-core small {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 4.5px;
  letter-spacing: 0.04em;
  color: rgba(247, 245, 239, 0.35);
}

.diagram-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 95px;
  padding: 8px;
  border: 1px solid rgba(247, 245, 239, 0.11);
  border-radius: 5px;
  background: rgba(32, 37, 45, 0.9);
}

.diagram-node .mono {
  font-size: 4.5px;
  color: rgba(247, 245, 239, 0.24);
}

.diagram-node strong {
  margin-top: 3px;
  font-size: 7.2px;
  font-weight: 500;
  color: rgba(247, 245, 239, 0.67);
}

.diagram-node small {
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 4.5px;
  color: rgba(247, 245, 239, 0.24);
}

.diagram-node--a {
  top: 11%;
  left: 12%;
}

.diagram-node--b {
  top: 11%;
  right: 11%;
}

.diagram-node--c {
  bottom: 10%;
  left: 12%;
}

.diagram-node--d {
  right: 11%;
  bottom: 10%;
}

.diagram-note {
  position: absolute;
  font-size: 5.2px;
  color: rgba(247, 245, 239, 0.2);
}

.diagram-note--top {
  top: 17px;
  right: 18px;
}

.diagram-note--bottom {
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.insight-index {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(35px, 6vw, 90px);
  margin-top: 62px;
}

.insight-categories {
  border-top: 1px solid var(--line);
}

.insight-category {
  position: relative;
  padding: 22px 31px 23px 0;
  border-bottom: 1px solid var(--line);
}

.insight-cat-num {
  display: block;
  margin-bottom: 13px;
  font-size: 6.5px;
  color: var(--muted-light);
}

.insight-category h3 {
  font-size: clamp(1.4rem, 1.8vw, 1.65rem);
  line-height: 1.05;
}

.insight-category p {
  max-width: 400px;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.insight-cat-mark {
  position: absolute;
  top: 23px;
  right: 2px;
  font-size: 12px;
  color: var(--muted-light);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.insight-category:hover .insight-cat-mark {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.reading-room {
  align-self: start;
}

.reading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 6.3px;
  color: var(--muted);
}

.reading-list {
  border-bottom: 1px solid var(--line);
}

.reading-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}

.reading-list li:last-child {
  border-bottom: 0;
}

.reading-list li:hover {
  padding-left: 5px;
}

.reading-num {
  font-size: 6px;
  color: var(--muted-light);
}

.reading-list li > span:nth-child(2) {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.reading-list small {
  font-family: var(--mono);
  font-size: 5.6px;
  letter-spacing: 0.04em;
  color: var(--muted-light);
}

.reading-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
}

.reading-foot p {
  max-width: 310px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.reading-foot .text-link {
  flex: 0 0 auto;
}

/* ============================================================
   12 · FINAL CTA
   ============================================================ */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 12vw, 180px) 0 clamp(90px, 10vw, 145px);
  background: var(--ink-deep);
  color: var(--paper);
  scroll-margin-top: 80px;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 45%, rgba(198, 167, 107, 0.075), transparent 34%),
    linear-gradient(115deg, rgba(148, 166, 255, 0.035), transparent 45%);
  pointer-events: none;
}

.cta-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
}

.cta-field::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 68%;
  width: min(740px, 58vw);
  height: min(740px, 58vw);
  border: 1px solid rgba(247, 245, 239, 0.045);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-orbit {
  position: absolute;
  top: 50%;
  left: 68%;
  border: 1px solid rgba(247, 245, 239, 0.075);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: slowSpin 44s linear infinite;
}

.cta-orbit--one {
  width: min(520px, 40vw);
  height: min(520px, 40vw);
  border-style: dashed;
}

.cta-orbit--two {
  width: min(720px, 56vw);
  height: min(720px, 56vw);
  animation-direction: reverse;
  animation-duration: 60s;
  border-color: rgba(198, 167, 107, 0.06);
}

.cta-orbit--three {
  width: min(920px, 72vw);
  height: min(920px, 72vw);
  animation-duration: 80s;
  border-color: rgba(247, 245, 239, 0.035);
}

.cta-node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(198, 167, 107, 0.7);
}

.cta-node--a {
  top: 19%;
  left: 67%;
}

.cta-node--b {
  top: 35%;
  left: 88%;
  width: 3px;
  height: 3px;
  opacity: 0.6;
}

.cta-node--c {
  top: 68%;
  left: 78%;
  width: 4px;
  height: 4px;
  opacity: 0.7;
}

.cta-node--d {
  top: 79%;
  left: 58%;
  width: 3px;
  height: 3px;
  opacity: 0.4;
}

.cta-node--e {
  top: 48%;
  left: 49%;
  width: 3px;
  height: 3px;
  opacity: 0.4;
}

.cta-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 167, 107, 0.18), transparent);
  transform-origin: left center;
}

.cta-line--a {
  top: 19%;
  left: 67%;
  width: 26%;
  transform: rotate(32deg);
}

.cta-line--b {
  top: 68%;
  left: 58%;
  width: 24%;
  transform: rotate(-19deg);
}

.cta-line--c {
  top: 35%;
  left: 49%;
  width: 39%;
  transform: rotate(10deg);
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  max-width: 1240px;
  margin-top: 28px;
  font-size: clamp(3.25rem, 6.4vw, 7.1rem);
  line-height: 0.91;
  letter-spacing: -0.062em;
}

.final-cta h2 em {
  color: var(--signal);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.85fr);
  gap: clamp(40px, 9vw, 150px);
  align-items: end;
  margin-top: clamp(46px, 5.5vw, 78px);
}

.final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.final-copy {
  max-width: 470px;
  color: rgba(247, 245, 239, 0.47);
  font-size: 12.5px;
  line-height: 1.65;
}

.final-copy .final-emphasis {
  margin-top: 12px;
  color: rgba(247, 245, 239, 0.84);
  font-weight: 500;
}

.final-microcopy {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 245, 239, 0.13);
}

.micro-line {
  width: 45px;
  height: 1px;
  flex: 0 0 45px;
  background: var(--signal);
}

.final-microcopy p {
  max-width: 500px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(247, 245, 239, 0.36);
}

.micro-index {
  margin-left: auto;
  font-size: 6px;
  letter-spacing: 0.07em;
  color: rgba(247, 245, 239, 0.2);
}

/* ============================================================
   13 · FOOTER
   ============================================================ */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 74px 0 27px;
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 1px solid rgba(247, 245, 239, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.72fr 0.72fr 0.8fr 1fr;
  gap: clamp(25px, 4vw, 60px);
  align-items: start;
}

.brand--footer {
  color: var(--paper);
}

.brand--footer .brand-word {
  font-size: 24px;
}

.brand--footer .brand-reg {
  color: rgba(247, 245, 239, 0.4);
}

.footer-brand > p {
  max-width: 280px;
  margin-top: 19px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(247, 245, 239, 0.7);
}

.footer-location {
  display: block;
  margin-top: 25px;
  font-size: 5.8px;
  letter-spacing: 0.08em;
  color: rgba(247, 245, 239, 0.23);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col h3,
.footer-contact h3 {
  margin-bottom: 11px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(247, 245, 239, 0.27);
}

.footer-col a {
  width: fit-content;
  padding: 2px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(247, 245, 239, 0.57);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--signal);
}

.external-mark {
  margin-left: 3px;
  font-size: 9px;
  color: rgba(247, 245, 239, 0.27);
}

.footer-contact p {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(247, 245, 239, 0.48);
}

.footer-contact p + p {
  margin-top: 2px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  margin-top: 21px;
  padding: 9px 9px 9px 14px;
  border: 1px solid rgba(247, 245, 239, 0.18);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--paper);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-cta-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  transition: transform 0.35s var(--ease);
}

.footer-cta-icon svg {
  width: 12px;
  height: 12px;
}

.footer-cta:hover {
  border-color: rgba(198, 167, 107, 0.45);
  background: rgba(247, 245, 239, 0.04);
}

.footer-cta:hover .footer-cta-icon {
  transform: rotate(45deg);
}

.footer-wordmark {
  margin-top: 62px;
  font-size: clamp(5.3rem, 15.4vw, 15.5rem);
  font-weight: 600;
  letter-spacing: -0.095em;
  line-height: 0.66;
  color: rgba(247, 245, 239, 0.055);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  padding-top: 17px;
  border-top: 1px solid rgba(247, 245, 239, 0.1);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.025em;
  color: rgba(247, 245, 239, 0.27);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.footer-legal a {
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--paper);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 17px;
  transition: color 0.25s ease;
}

.back-to-top:hover {
  color: var(--signal);
}

.back-to-top span {
  font-family: var(--sans);
  font-size: 10px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes signalPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.55);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes stepReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusReveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  42%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes wireFlow {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes slowSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes slowSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes tinySpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1320px) {
  :root {
    --shell: min(1480px, calc(100vw - 64px));
  }

  .nav-trigger {
    padding-inline: 9px;
    font-size: 11.5px;
  }

  .button--header {
    margin-left: 12px;
    padding-left: 15px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 5.3vw, 5.45rem);
  }

  .strip-list li {
    padding-inline: 15px;
    font-size: 10.8px;
  }

  .map-node {
    width: 150px;
  }

  .product-card {
    min-height: 665px;
  }

  .os-body {
    grid-template-columns: 28px minmax(0, 1fr) 126px;
    min-height: 455px;
  }

  .os-log {
    padding-inline: 9px;
  }

  .bc-body {
    grid-template-columns: 113px minmax(0, 1fr);
    min-height: 465px;
  }

  .bc-main {
    padding: 13px;
  }

  .application-panel {
    min-height: 535px;
  }

  .engineering-pillar h3 {
    font-size: 15px;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-h: 72px;
  }

  .primary-nav,
  .button--header {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 840px;
    padding-bottom: 0;
  }

  .hero h1 {
    max-width: 900px;
    font-size: clamp(4rem, 8vw, 6.7rem);
  }

  .hero-support {
    max-width: 650px;
  }

  .hero-demo-wrap {
    max-width: 760px;
    margin-left: auto;
  }

  .hero-demo-annotation--top {
    padding-bottom: 11px;
  }

  .demo-body {
    gap: 11px;
    padding: 15px;
  }

  .demo-request {
    padding: 15px 16px;
  }

  .demo-request p {
    font-size: 16px;
  }

  .demo-step {
    padding-block: 9px;
  }

  .step-copy strong {
    font-size: 11.5px;
  }

  .step-copy small {
    font-size: 7.2px;
  }

  .hero-meta {
    margin-top: 55px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-head-copy {
    justify-self: start;
    max-width: 690px;
  }

  .section-head-title h2 {
    max-width: 780px;
  }

  .systems-lab {
    grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  }

  .map-node {
    width: 138px;
    padding: 8px;
  }

  .map-node--intent,
  .map-node--research {
    top: 7%;
  }

  .map-node--data {
    left: 0.5%;
  }

  .map-node--analysis {
    right: 0.5%;
  }

  .map-node--validation {
    left: 4%;
  }

  .map-node--output {
    right: 3.5%;
  }

  .node-copy strong {
    font-size: 8.8px;
  }

  .map-engine {
    width: 175px;
    height: 175px;
  }

  .engine-core {
    inset: 35px;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-copy {
    padding: 42px;
  }

  .product-card--operative h3,
  .product-card--blogcite h3 {
    max-width: 640px;
  }

  .product-card--operative .product-copy > p,
  .product-card--blogcite .product-copy > p {
    max-width: 620px;
  }

  .product-card--operative .product-visual-wrap {
    border-top: 1px solid rgba(247, 245, 239, 0.09);
    border-left: 0;
  }

  .product-card--blogcite .product-copy {
    order: -1;
  }

  .product-card--blogcite .product-visual-wrap {
    border-top: 1px solid rgba(32, 37, 45, 0.1);
    border-right: 0;
  }

  .product-visual-wrap {
    padding: 32px;
  }

  .os-body {
    grid-template-columns: 30px minmax(0, 1fr) 160px;
    min-height: 470px;
  }

  .bc-body {
    grid-template-columns: 135px minmax(0, 1fr);
    min-height: 470px;
  }

  .application-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px;
  }

  .application-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: 35px;
  }

  .application-kicker,
  .application-copy h3,
  .application-copy > p {
    grid-column: 1;
  }

  .application-examples {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    margin-top: 0;
  }

  .application-visual {
    min-height: 430px;
  }

  .architecture-body {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .architecture-rail {
    display: none;
  }

  .architecture-layers {
    max-width: 900px;
  }

  .engineering-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  .engineering-pillar:nth-child(3) {
    border-right: 0;
  }

  .engineering-pillar:nth-child(4),
  .engineering-pillar:nth-child(5) {
    padding-left: 0;
  }

  .engineering-pillar:last-child {
    grid-column: span 2;
    padding-left: 20px;
  }

  .dossier--featured {
    grid-template-columns: 1fr;
  }

  .dossier-visual--trace {
    border-top: 1px solid rgba(32, 37, 45, 0.1);
    border-left: 0;
  }

  .philosophy-body {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .philosophy-quote {
    position: static;
    max-width: 680px;
  }

  .philosophy-quote p {
    max-width: 650px;
  }

  .insight-feature {
    grid-template-columns: 1fr;
  }

  .insight-diagram {
    min-height: 440px;
    border-top: 1px solid rgba(247, 245, 239, 0.09);
    border-left: 0;
  }

  .insight-index {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .insight-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .insight-category {
    padding: 22px 25px 23px 0;
    border-top: 1px solid var(--line);
  }

  .insight-category + .insight-category {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .insight-categories {
    border-top: 0;
  }

  .final-cta-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
    row-gap: 35px;
  }

  .footer-brand {
    grid-row: span 2;
  }

  .footer-contact {
    grid-column: 2 / 3;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(1480px, calc(100vw - 50px));
  }

  .section {
    padding-block: 92px;
  }

  .section-head-title h2 {
    font-size: clamp(2.6rem, 5.2vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 8.7vw, 6rem);
  }

  .hero-demo-wrap {
    max-width: none;
  }

  .capability-strip-inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .strip-list {
    justify-content: flex-start;
  }

  .strip-list li:first-child {
    padding-left: 0;
  }

  .systems-lab {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .system-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-controls-head {
    grid-column: 1 / -1;
  }

  .system-option {
    border-right: 1px solid var(--line);
  }

  .system-option:nth-of-type(2n) {
    border-right: 0;
  }

  .system-option label {
    height: 100%;
    padding: 17px 15px;
  }

  .system-option .system-title {
    font-size: 17px;
  }

  .system-detail {
    max-height: 0;
  }

  .system-radio:checked + label .system-detail {
    max-height: 130px;
  }

  .map-canvas {
    min-height: 500px;
  }

  .capability-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap-card--agents,
  .cap-card--product {
    grid-column: span 2;
  }

  .cap-card--orchestration,
  .cap-card--automation {
    grid-column: span 1;
    min-height: 620px;
  }

  .cap-card--agents,
  .cap-card--product {
    min-height: 620px;
  }

  .cap-card h3 {
    font-size: clamp(2rem, 4vw, 2.65rem);
  }

  .network-visual {
    height: 310px;
  }

  .network-node--a {
    left: 6%;
  }

  .network-node--b {
    right: 6%;
  }

  .network-node--c {
    left: 6%;
  }

  .network-node--d {
    right: 6%;
  }

  .product-copy {
    padding: 36px;
  }

  .product-visual-wrap {
    padding: 26px;
  }

  .os-body {
    grid-template-columns: 28px minmax(0, 1fr) 140px;
    min-height: 450px;
  }

  .bc-body {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 450px;
  }

  .application-tabbar {
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
  }

  .application-tabbar label {
    min-height: 76px;
    border-bottom: 1px solid var(--line);
  }

  .application-tabbar label:nth-of-type(2n) {
    border-right: 0;
  }

  .application-tabbar label:nth-last-of-type(2),
  .application-tabbar label:last-of-type {
    border-bottom: 0;
  }

  .application-copy {
    display: block;
  }

  .application-examples {
    margin-top: 24px;
  }

  .application-panel {
    margin-top: 18px;
  }

  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .dossier--compact {
    min-height: 0;
  }

  .dossier--compact .dossier-visual {
    min-height: 345px;
  }

  .engineering-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engineering-pillar:nth-child(2) {
    border-right: 0;
  }

  .engineering-pillar:nth-child(3) {
    border-right: 1px solid rgba(247, 245, 239, 0.1);
    padding-left: 0;
  }

  .engineering-pillar:nth-child(4) {
    border-right: 0;
    padding-left: 20px;
  }

  .engineering-pillar:nth-child(5) {
    grid-column: span 2;
    padding-left: 0;
    border-right: 0;
  }

  .engineering-pillar h3 {
    max-width: 280px;
  }

  .engineering-pillar p {
    max-width: 310px;
  }

  .philosophy-footer {
    margin-top: 44px;
  }

  .insight-categories {
    grid-template-columns: 1fr;
  }

  .insight-category,
  .insight-category + .insight-category {
    padding: 20px 28px 21px 0;
    border-left: 0;
  }

  .insight-category + .insight-category {
    border-top: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 2 / 4;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  .section {
    padding-block: 76px;
  }

  .header-inner {
    height: 66px;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-mark {
    width: 21px;
    height: 23px;
  }

  .mobile-panel {
    max-height: calc(100vh - 66px);
  }

  .demo-window {
    border-radius: 15px;
  }

  .demo-step {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .step-meta {
    display: none;
  }

  .status-output {
    display: none;
  }

  .hero-meta-right {
    display: none;
  }

  .hero-meta {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 11.3vw, 4.6rem);
    letter-spacing: -0.062em;
  }

  .hero-support {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .hero-footnote {
    flex-wrap: wrap;
  }

  .hero-demo-annotation--bottom {
    display: none;
  }

  .section-head-title h2 {
    margin-top: 21px;
    font-size: clamp(2.45rem, 8.2vw, 3.5rem);
  }

  .section-head-copy {
    font-size: 13px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .strip-list li {
    padding: 4px 12px;
    font-size: 10px;
  }

  .strip-list li:first-child {
    padding-left: 0;
  }

  .system-controls {
    grid-template-columns: 1fr;
  }

  .system-option {
    border-right: 0;
  }

  .system-option label {
    padding: 15px 13px;
  }

  .system-desc {
    padding-left: 0;
  }

  .system-detail {
    padding-left: 0;
  }

  .system-radio:checked + label .system-detail {
    max-height: 150px;
  }

  .map-canvas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 16px;
  }

  .map-canvas::before,
  .map-canvas::after,
  .map-wires,
  .map-note {
    display: none;
  }

  .map-engine {
    position: relative;
    top: auto;
    left: auto;
    order: -1;
    align-self: center;
    width: 130px;
    height: 130px;
    margin-bottom: 8px;
    transform: none;
  }

  .engine-core {
    inset: 24px;
  }

  .engine-core strong {
    font-size: 5.1px;
  }

  .engine-glyph {
    font-size: 21px;
  }

  .engine-label {
    display: none;
  }

  .engine-orbit--one {
    animation: none;
  }

  .engine-orbit--two {
    inset: 14px;
    animation: none;
  }

  .map-node {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    grid-template-columns: 27px minmax(0, 1fr) 5px;
  }

  .map-node:hover {
    transform: none;
  }

  .map-topbar {
    padding: 13px 14px;
  }

  .map-footer {
    flex-wrap: wrap;
    gap: 7px 14px;
    padding: 11px 14px;
  }

  .capability-bento {
    grid-template-columns: 1fr;
  }

  .cap-card--agents,
  .cap-card--orchestration,
  .cap-card--automation,
  .cap-card--product {
    grid-column: span 1;
    min-height: 0;
  }

  .cap-card {
    padding: 26px 22px;
  }

  .cap-card--agents {
    min-height: 620px;
  }

  .cap-card--orchestration,
  .cap-card--automation {
    min-height: 600px;
  }

  .cap-card--product {
    min-height: 570px;
  }

  .cap-card h3 {
    font-size: clamp(2rem, 7.3vw, 2.6rem);
  }

  .network-visual {
    height: 290px;
  }

  .network-node {
    min-width: 50px;
    padding: 5px 6px;
  }

  .network-node--center {
    width: 90px;
    height: 90px;
  }

  .automation-visual {
    padding-top: 25px;
  }

  .agent-visual {
    padding-top: 25px;
  }

  .product-copy {
    padding: 28px 24px;
  }

  .product-card--operative h3,
  .product-card--blogcite h3 {
    font-size: clamp(2rem, 7.2vw, 2.6rem);
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-visual-wrap {
    padding: 16px;
  }

  .os-body {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 375px;
  }

  .os-log {
    display: none;
  }

  .os-canvas {
    padding: 10px;
  }

  .os-graph {
    min-height: 245px;
  }

  .os-node {
    width: 82px;
    padding: 6px;
  }

  .os-topbar {
    gap: 8px;
    padding: 9px 10px;
  }

  .os-crumb {
    display: none;
  }

  .bc-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bc-sidebar {
    display: none;
  }

  .bc-main {
    padding: 13px;
  }

  .bc-nav {
    display: none;
  }

  .bc-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .bc-mini-board--accent {
    grid-column: 1 / -1;
  }

  .bc-article {
    grid-template-columns: 15px minmax(0, 1fr) auto;
  }

  .bc-score {
    display: none;
  }

  .application-tabbar {
    grid-template-columns: 1fr 1fr;
  }

  .application-tabbar label {
    min-height: 76px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .application-tabbar label:nth-of-type(2n) {
    border-right: 0;
  }

  .application-tabbar label:nth-last-of-type(2),
  .application-tabbar label:last-of-type {
    border-bottom: 0;
  }

  .application-panel {
    padding: 23px 18px;
  }

  .application-copy h3 {
    font-size: clamp(2.1rem, 8.2vw, 2.7rem);
  }

  .application-visual {
    min-height: 380px;
  }

  .app-visual--saas {
    padding: 16px;
  }

  .app-visual--ops {
    padding: 22px 14px;
    gap: 6px;
  }

  .ops-doc {
    min-height: 198px;
    padding: 10px;
  }

  .doc-field--c {
    right: 5%;
  }

  .app-visual--research {
    min-height: 390px;
  }

  .research-source {
    width: 100px;
    padding: 8px;
  }

  .research-source--one {
    top: 10%;
  }

  .research-source--three {
    bottom: 10%;
  }

  .research-engine {
    left: 44%;
    width: 58px;
    height: 58px;
  }

  .research-report {
    right: 3%;
    width: 124px;
    padding: 9px;
  }

  .research-report > strong {
    font-size: 9px;
  }

  .app-visual--growth {
    padding: 15px;
  }

  .applications-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .architecture-panel {
    border-radius: 17px;
  }

  .architecture-body {
    padding: 15px;
  }

  .architecture-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
  }

  .architecture-caption {
    display: block;
    padding: 13px 14px;
  }

  .architecture-caption p {
    margin-top: 7px;
  }

  .layer {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding: 11px;
  }

  .layer-tags {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 2px;
  }

  .layer-copy strong {
    font-size: 10.5px;
  }

  .layer-copy small {
    font-size: 7.5px;
  }

  .engineering-pillars {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .engineering-pillar,
  .engineering-pillar:not(:first-child),
  .engineering-pillar:nth-child(3),
  .engineering-pillar:nth-child(4),
  .engineering-pillar:nth-child(5) {
    grid-column: auto;
    padding: 18px 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 245, 239, 0.1);
  }

  .engineering-pillar:last-child {
    border-bottom: 0;
  }

  .pillar-num {
    margin-bottom: 12px;
  }

  .engineering-pillar h3 {
    max-width: 360px;
    font-size: 17px;
  }

  .engineering-pillar p {
    max-width: 430px;
  }

  .dossier-copy {
    padding: 25px 21px;
  }

  .dossier h3 {
    font-size: clamp(1.9rem, 7.2vw, 2.5rem);
  }

  .dossier-visual {
    padding: 16px;
  }

  .dossier--compact .dossier-copy--compact {
    padding: 25px 21px;
  }

  .dossier--compact .dossier-visual {
    min-height: 300px;
    padding: 16px;
  }

  .dossier--compact h3 {
    font-size: clamp(1.6rem, 6.2vw, 2rem);
  }

  .work-footnote {
    text-align: left;
  }

  .philosophy-quote p {
    font-size: clamp(2.25rem, 8.2vw, 3rem);
  }

  .principle {
    grid-template-columns: 27px minmax(0, 1fr) 14px;
    column-gap: 10px;
  }

  .principle h3 {
    font-size: 1.35rem;
  }

  .philosophy-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .insight-feature-copy {
    padding: 27px 22px;
  }

  .insight-feature h3 {
    font-size: clamp(2rem, 7.5vw, 2.7rem);
  }

  .insight-diagram {
    min-height: 380px;
  }

  .diagram-node {
    width: 80px;
    padding: 6px;
  }

  .diagram-node strong {
    font-size: 6.5px;
  }

  .insight-index {
    margin-top: 42px;
  }

  .reading-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .reading-list li {
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: start;
  }

  .reading-list small {
    display: none;
  }

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

  .final-cta {
    padding-block: 92px;
  }

  .final-cta h2 {
    font-size: clamp(3rem, 10.7vw, 4.8rem);
  }

  .final-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-microcopy {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 55px;
  }

  .final-microcopy p {
    flex: 1;
    min-width: 220px;
  }

  .micro-index {
    flex-basis: 100%;
    margin-left: 0;
  }

  .cta-field {
    opacity: 0.55;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-col {
    gap: 4px;
  }

  .footer-wordmark {
    margin-top: 52px;
    font-size: 20vw;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 30px;
  }

  .footer-legal {
    margin-left: 0;
  }

  .back-to-top {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    margin-top: 23px;
    font-size: clamp(2.8rem, 12.2vw, 3.75rem);
  }

  .hero-support {
    margin-top: 25px;
    font-size: 13px;
  }

  .button {
    padding-left: 17px;
    font-size: 11.5px;
  }

  .demo-topbar {
    gap: 8px;
    padding: 11px 12px;
  }

  .demo-brand {
    font-size: 6.5px;
  }

  .demo-tag {
    font-size: 5.8px;
  }

  .demo-dots {
    display: none;
  }

  .demo-body {
    padding: 10px;
  }

  .demo-request p {
    font-size: 14px;
  }

  .request-meta span:nth-child(3) {
    display: none;
  }

  .demo-step {
    gap: 7px;
    padding-block: 8px;
  }

  .step-copy strong {
    font-size: 10px;
  }

  .step-copy small {
    font-size: 6.3px;
  }

  .demo-status {
    padding: 9px 10px;
  }

  .status-left strong {
    font-size: 9.5px;
  }

  .demo-caption {
    padding-inline: 12px;
    font-size: 5.4px;
  }

  .demo-caption span:last-child {
    display: none;
  }

  .hero-footnote {
    gap: 8px;
    margin-top: 31px;
  }

  .hero-footnote .mono {
    font-size: 6.2px;
  }

  .capability-strip {
    padding: 22px 0;
  }

  .strip-heading {
    font-size: 8px;
  }

  .strip-list {
    gap: 0;
  }

  .strip-list li {
    padding: 3px 9px;
    font-size: 9.3px;
  }

  .cap-card {
    padding: 22px 18px;
  }

  .cap-card h3 {
    margin-top: 19px;
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .cap-card-copy > p {
    font-size: 11.8px;
  }

  .agent-ui {
    border-radius: 9px;
  }

  .agent-prompt p {
    font-size: 12px;
  }

  .agent-transcript {
    margin-inline: 9px;
  }

  .network-node--center {
    width: 78px;
    height: 78px;
  }

  .network-node--a {
    top: 12%;
    left: 2%;
  }

  .network-node--b {
    top: 12%;
    right: 2%;
  }

  .network-node--c {
    bottom: 10%;
    left: 2%;
  }

  .network-node--d {
    right: 2%;
    bottom: 10%;
  }

  .network-node--e {
    top: -3px;
  }

  .network-label {
    display: none;
  }

  .lane-step {
    padding: 4px 6px;
    font-size: 5.5px;
  }

  .mini-app-body {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 300px;
  }

  .mini-app-main {
    padding: 11px;
  }

  .mini-app-prompt span:first-child {
    font-size: 7.4px;
  }

  .mini-result-card {
    padding: 8px;
  }

  .mini-result-card strong {
    font-size: 7px;
  }

  .product-copy {
    padding: 24px 19px;
  }

  .product-logo {
    margin-top: 31px;
  }

  .product-card--operative .product-copy > p,
  .product-card--blogcite .product-copy > p {
    font-size: 11.8px;
  }

  .product-benefit p {
    font-size: 12px;
  }

  .product-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .product-note {
    font-size: 6.1px;
  }

  .os-body {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 335px;
  }

  .os-node {
    width: 72px;
    padding: 5px;
  }

  .os-node strong {
    font-size: 6.2px;
  }

  .os-graph {
    min-height: 217px;
  }

  .os-orchestrator {
    width: 57px;
    height: 57px;
  }

  .os-orchestrator span {
    font-size: 15px;
  }

  .os-command {
    padding: 7px 8px;
  }

  .os-command > span:first-child {
    font-size: 6.3px;
  }

  .bc-main-head h4 {
    font-size: 17px;
  }

  .bc-pipeline {
    flex-wrap: wrap;
    gap: 4px;
  }

  .bc-bottom {
    grid-template-columns: 1fr;
  }

  .bc-mini-board--accent {
    grid-column: auto;
  }

  .application-tabbar label {
    min-height: 72px;
    padding: 13px 12px;
  }

  .app-visual--ops {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .ops-connector {
    transform: rotate(90deg);
    padding: 1px 0;
  }

  .ops-doc {
    min-height: 168px;
  }

  .ops-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .ops-card {
    padding: 8px;
  }

  .ops-card strong {
    font-size: 6.4px;
  }

  .app-visual--research {
    min-height: 345px;
  }

  .research-source {
    width: 86px;
    padding: 7px;
  }

  .research-source strong {
    font-size: 6.7px;
  }

  .research-engine {
    width: 51px;
    height: 51px;
  }

  .research-engine strong {
    font-size: 18px;
  }

  .research-report {
    width: 110px;
  }

  .growth-cluster {
    min-height: 245px;
  }

  .cluster-center {
    width: 78px;
    height: 78px;
  }

  .cluster-node {
    padding: 4px 6px;
    font-size: 4.9px;
  }

  .engineering-pillar h3 {
    font-size: 16px;
  }

  .dossier-spec dd {
    font-size: 11px;
  }

  .trace-row {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .trace-row > .mono {
    display: none;
  }

  .trace-output {
    margin-inline: 9px;
  }

  .philosophy-quote p {
    font-size: 2.2rem;
  }

  .principle {
    padding-block: 20px;
  }

  .principle h3 {
    font-size: 1.25rem;
  }

  .insight-feature-copy {
    padding: 23px 18px;
  }

  .insight-feature-copy > p {
    font-size: 11.5px;
  }

  .insight-diagram {
    min-height: 330px;
  }

  .diagram-node {
    width: 70px;
    padding: 5px;
  }

  .diagram-node--a {
    top: 8%;
    left: 7%;
  }

  .diagram-node--b {
    top: 8%;
    right: 7%;
  }

  .diagram-node--c {
    bottom: 8%;
    left: 7%;
  }

  .diagram-node--d {
    right: 7%;
    bottom: 8%;
  }

  .final-cta h2 {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }

  .final-microcopy {
    margin-top: 42px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-col {
    padding-top: 14px;
    border-top: 1px solid rgba(247, 245, 239, 0.09);
  }

  .footer-contact {
    padding-top: 14px;
    border-top: 1px solid rgba(247, 245, 239, 0.09);
  }

  .footer-cta {
    max-width: 300px;
  }

  .footer-wordmark {
    margin-top: 43px;
    font-size: 19vw;
  }

  .footer-bottom {
    font-size: 5.8px;
  }

  .back-to-top {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .demo-step,
  .demo-status {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   07. WORDPRESS LAYER
   --------------------------------------------------------------------------
   Everything below adapts the design to WordPress. Nothing here changes the
   look of the designed home page sections: it adds the admin-bar offset, the
   blog and page UI, core alignment classes, comments and forms.
   ========================================================================== */



/* Keep the sticky header below the admin bar. */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Below 600px WordPress stops fixing the admin bar. */
@media (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

/* In-page anchors must clear the sticky header. */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Custom logo instead of the built-in lockup. */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.custom-logo-link img {
  width: auto;
  height: auto;
  max-height: 38px;
}

/* Core screen-reader utility (core only prints it inside the block library). */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--paper-soft);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 2px 2px rgba(32, 37, 45, 0.3);
  clip-path: none;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 6px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
}

/* --------------------------------------------------------------------------
   2. Mega menus rendered from a WordPress menu
   -------------------------------------------------------------------------- */

/* Products: two wide cards side by side. */
.nav-dropdown--products .dropdown-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 11px 4px 7px;
}

.nav-dropdown--products .dropdown-links a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 152px;
  padding: 16px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f0e8;
}

.nav-dropdown--products .dropdown-links a:hover {
  background: #eae6db;
  border-color: rgba(32, 37, 45, 0.22);
}

.nav-dropdown--products .dropdown-num,
.nav-dropdown--company .dropdown-num {
  display: none;
}

.nav-dropdown--products .dropdown-copy strong {
  font-size: 14px;
}

.nav-dropdown--products .dropdown-links svg {
  margin-top: auto;
  align-self: flex-end;
}

/* Company: single column rows, right aligned panel. */
.nav-dropdown--company .dropdown-links a {
  grid-template-columns: minmax(0, 1fr) 17px;
  padding: 11px 10px;
}

/* --------------------------------------------------------------------------
   3. Footer menus rendered from a WordPress menu
   -------------------------------------------------------------------------- */

.footer-col .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col .footer-menu li {
  list-style: none;
}

/* --------------------------------------------------------------------------
   4. Page and post headers
   -------------------------------------------------------------------------- */

.content-section {
  padding-top: clamp(52px, 6vw, 88px);
}

.page-head {
  max-width: 980px;
  margin-bottom: clamp(38px, 4.4vw, 62px);
}

.page-title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.page-sub {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.page-sub p + p {
  margin-top: 13px;
}

.page-head--single .page-title {
  max-width: 1040px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  color: var(--muted);
}

.entry-meta-item {
  display: inline-flex;
  align-items: center;
}

.entry-featured {
  max-width: 980px;
  margin-bottom: clamp(28px, 3.4vw, 46px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.entry-featured img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   5. Long-form content
   -------------------------------------------------------------------------- */

.entry-content {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.entry-content > * + * {
  margin-top: 1.15em;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.entry-content h2 {
  margin-top: 1.9em;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.entry-content h3 {
  margin-top: 1.8em;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.7em;
  font-size: 1.1rem;
}

.entry-content strong {
  color: var(--ink);
  font-weight: 600;
}

.entry-content em {
  font-style: italic;
}

.entry-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(138, 106, 47, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s ease, color 0.25s ease;
}

.entry-content a:hover {
  color: var(--signal-deep);
  text-decoration-color: var(--signal-deep);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content ul ul {
  list-style: circle;
}

.entry-content li {
  margin-top: 0.45em;
}

.entry-content li::marker {
  color: var(--signal-deep);
}

.entry-content blockquote {
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--signal);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}

.entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry-content code,
.entry-content kbd,
.entry-content pre,
.entry-content samp {
  font-family: var(--mono);
}

.entry-content code,
.entry-content kbd {
  padding: 0.15em 0.42em;
  border-radius: 5px;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 0.86em;
}

.entry-content pre {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--ink-deep);
  color: var(--paper);
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
}

.entry-content pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content embed {
  max-width: 100%;
  height: auto;
}

.entry-content img {
  border-radius: var(--radius-md);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.entry-content th,
.entry-content td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  color: var(--ink);
  font-weight: 600;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text,
.entry-content .wp-element-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}

.entry-content .wp-caption {
  max-width: 100%;
}

.entry-content .wp-caption img {
  margin: 0;
}

.page-links {
  margin-top: 2em;
  color: var(--muted);
}

.page-links a {
  display: inline-block;
  padding: 4px 9px;
  margin-left: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* Core alignment utilities. */
.entry-content .alignleft {
  float: left;
  margin: 6px 26px 18px 0;
}

.entry-content .alignright {
  float: right;
  margin: 6px 0 18px 26px;
}

.entry-content .aligncenter {
  display: block;
  margin-inline: auto;
}

.entry-content .alignwide {
  max-width: none;
  width: min(1040px, 100%);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
}

.entry-content .wp-block-image {
  margin: 0;
}

.entry-content .wp-block-image img {
  width: auto;
  max-width: 100%;
}

.entry-content .wp-block-image.alignwide img,
.entry-content .wp-block-image.alignfull img {
  width: 100%;
}

.entry-content .wp-block-gallery {
  padding-left: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   6. Post grid
   -------------------------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.post-card {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.3s ease,
    box-shadow 0.45s var(--ease);
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 52px -34px rgba(32, 37, 45, 0.5);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.post-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper-deep);
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.035);
}

.post-card-thumb-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted-light);
  background-image: linear-gradient(
      135deg,
      transparent 0 46%,
      rgba(32, 37, 45, 0.06) 46% 54%,
      transparent 54% 100%
    ),
    linear-gradient(180deg, var(--paper-deep), var(--paper-deeper));
  background-size: 100% 100%, 100% 100%;
}

.post-card-thumb-fallback .mono {
  font-size: 10px;
  letter-spacing: 0.18em;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted-light);
}

.post-card-meta span + span::before {
  content: "/";
  margin-right: 12px;
  color: var(--line-strong);
}

.post-card-title {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.post-card-excerpt {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}

.post-card-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.25s ease;
}

.post-card:hover .post-card-more {
  color: var(--signal-deep);
}

.sticky .post-card-more,
.post-card.sticky {
  border-color: var(--signal);
}

/* --------------------------------------------------------------------------
   7. Pagination
   -------------------------------------------------------------------------- */

.kudosoft-pagination {
  margin-top: clamp(34px, 4vw, 56px);
}

.kudosoft-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.kudosoft-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.kudosoft-pagination .page-numbers:hover,
.kudosoft-pagination .page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.kudosoft-pagination .page-numbers.dots {
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   8. Single post footer
   -------------------------------------------------------------------------- */

.entry-footer {
  max-width: 760px;
  margin-top: clamp(32px, 3.6vw, 48px);
}

.entry-taxonomy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.entry-taxonomy a {
  text-decoration: underline;
  text-decoration-color: rgba(138, 106, 47, 0.4);
  text-underline-offset: 3px;
}

.post-navigation {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post-navigation a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.post-navigation a:hover {
  border-color: var(--line-strong);
  background: var(--paper-soft);
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   9. Search form
   -------------------------------------------------------------------------- */

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 440px;
  margin-top: 26px;
}

.search-field-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
}

.search-field {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.4;
}

.search-field::placeholder {
  color: var(--muted-light);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.25s ease;
}

.search-submit:hover {
  background: var(--signal-deep);
}

.search-submit svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   10. Nothing found / 404
   -------------------------------------------------------------------------- */

.no-results {
  max-width: 620px;
}

.no-results-title {
  margin-top: 18px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.04em;
}

.no-results-copy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.error-404 {
  max-width: 820px;
}

.error-code {
  margin: 16px 0 20px;
  font-family: var(--mono);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--paper-deeper);
}

.error-actions {
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   11. Comments
   -------------------------------------------------------------------------- */

.comments-area {
  max-width: 760px;
  margin-top: clamp(42px, 5vw, 72px);
  padding-top: clamp(30px, 3.4vw, 46px);
  border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  letter-spacing: -0.04em;
}

.comment-list {
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  margin-left: clamp(0px, 3vw, 42px);
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.comment-author .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.comment-metadata a {
  color: var(--muted);
}

.comment-content {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.comment-content p + p {
  margin-top: 10px;
}

.comment-content ul,
.comment-content ol {
  padding-left: 1.3em;
  list-style: disc;
}

.comment-awaiting-moderation {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--signal-deep);
}

.comment-list .reply a {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comments-navigation {
  margin-top: 22px;
}

.comments-navigation .nav-links {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.no-comments {
  margin-top: 26px;
  color: var(--muted);
}

.comment-form {
  max-width: 640px;
  margin-top: 30px;
}

.comment-form p,
.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  margin-top: 16px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comment-form-cookies-consent input {
  width: auto;
  margin-top: 3px;
}

.comment-form-cookies-consent label {
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
}

.comment-form .submit {
  margin-top: 22px;
}

.comment-notes,
.logged-in-as,
.form-allowed-tags {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-light);
}

.comment-notes {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   12. Home page rendered from pasted content
   -------------------------------------------------------------------------- */

.home-pasted {
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   13. Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    text-align: left;
  }

  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    margin: 0 0 1.15em;
  }

  .page-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}

/* --------------------------------------------------------------------------
   12. Menu driven footer columns
   -------------------------------------------------------------------------- */

/* Links that open in a new tab get the same marker the design used. */
.footer-col .footer-menu a[target="_blank"]::after {
  content: "↗";
  margin-left: 3px;
  font-size: 9px;
  color: rgba(247, 245, 239, 0.27);
}

/* Heading of each footer column comes from the menu name. */
.footer-col h3 {
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. Elementor compatibility
   -------------------------------------------------------------------------- */

/*
 * Elementor's global kit stylesheet targets every button inside its wrapper:
 *
 *   .elementor-kit-N button { background-color: var(--e-global-color-primary); }
 *
 * That rule (0,1,1) outranks .nav-trigger (0,1,0) and Elementor loads after
 * this stylesheet, so on any Elementor-built page the mega menu triggers were
 * painted as solid buttons. These selectors outrank the kit rule structurally,
 * so no !important is needed.
 */
body[class*="elementor-kit"] .site-header .nav-trigger,
body[class*="elementor-kit"] .site-header .nav-trigger:hover,
body[class*="elementor-kit"] .site-header .nav-trigger:focus {
  background: transparent;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 10px 11px;
  text-transform: none;
}

/* The chevron inside the trigger inherits the same colour rules. */
body[class*="elementor-kit"] .site-header .nav-trigger .chevron {
  color: inherit;
}

/* The kit rule would repaint form submit buttons rendered by the theme. */
body[class*="elementor-kit"] .search-submit {
  background-color: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 50%;
}

body[class*="elementor-kit"] .comment-form .submit {
  background-color: var(--ink);
  color: var(--paper);
  border-radius: 100px;
}

/* --------------------------------------------------------------------------
   14. Buttons inside page content
   -------------------------------------------------------------------------- */

/*
 * The prose rules paint every link inside .entry-content in ink, which makes a
 * .button--dark anchor invisible (dark label on a dark pill). Any button that
 * ends up in page content - pasted markup, a block, an Elementor section - now
 * keeps the colours of its own variant.
 */
.entry-content a.button,
.entry-content a.button:hover,
.entry-content a.button:focus {
  text-decoration: none;
}

.entry-content a.button--dark,
.entry-content a.button--dark:hover {
  color: var(--paper);
}

.entry-content a.button--light,
.entry-content a.button--outline-light,
.entry-content a.button--signal {
  color: var(--ink);
}

.entry-content a.button--outline-light {
  color: var(--paper);
}
