@font-face { font-family: Geist; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/geist-v5-latin.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/geist-mono-v6-latin.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/inter-v20-latin-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f3f3f3;
  --ink: #171717;
  --muted: #626262;
  --line: #e4e4e4;
  --line-strong: #bdbdbd;
  --page-pad: clamp(1.25rem, 4vw, 3.5rem);
  --content: 1240px;
  --sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #d7d7d7; color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p, h1, h2, h3, figure { margin-top: 0; }
[id] { scroll-margin-top: 7rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-header, .hero, .section, .site-footer, .blog-main { width: min(calc(100% - var(--page-pad) * 2), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.75rem 1rem; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 0.875rem; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* A quiet header lets the opening and research panels establish the identity. */
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2.5rem; min-height: 5.5rem; padding-block: 1rem; background: rgba(255,255,255,0.98); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; width: fit-content; font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.045em; }
.brand-logo { display: block; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; object-fit: contain; }
.brand-lockup { display: inline-flex; align-items: center; gap: 1rem; width: fit-content; }
.brand-lockup-divider { width: 1px; height: 2.75rem; flex: 0 0 auto; background: var(--line-strong); }
.inception-badge { --badge-logo-h: 2rem; --badge-text-size: 0.625rem; display: inline-flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.inception-badge:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.inception-badge-logo { display: block; height: var(--badge-logo-h); width: auto; flex: 0 0 auto; }
.inception-badge-text { display: flex; flex-direction: column; gap: 0.18em; }
.inception-badge-line { font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: var(--badge-text-size); font-weight: 700; line-height: 1.15; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.desktop-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.desktop-nav a { padding-block: 0.65rem; color: var(--muted); font-size: 0.875rem; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav [aria-current="page"] { color: var(--ink); }
.desktop-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; }
.nav-github { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-github svg { width: 1rem; height: 1rem; fill: currentColor; flex: 0 0 auto; }
.header-contact { justify-self: end; padding: 0.8rem 1.2rem; border: 1px solid var(--line); border-radius: 7px; font-size: 0.875rem; line-height: 1.3; }
.header-contact:hover { background: var(--surface); border-color: var(--line-strong); }

.hero { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 3.5rem 4rem; align-items: center; padding-top: 3.5rem; padding-bottom: 2rem; }
.hero-copy { min-width: 0; padding-block: 1.5rem; }
.eyebrow, .section-kicker { margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 400; }
.eyebrow { color: var(--muted); }
h1 { max-width: 14ch; margin-bottom: 1.75rem; font-size: clamp(3.2rem, 6.25vw, 5.5rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.065em; overflow-wrap: break-word; }
.hero h1 { color: #737373; }
.hero h1 .headline-keyword { color: var(--ink); font-weight: 500; }
.hero-intro { max-width: 28rem; margin-bottom: 2rem; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3.125rem; padding: 0.9rem 1.3rem; border: 1px solid var(--ink); border-radius: 7px; font-size: 0.875rem; line-height: 1.3; transition: background 150ms ease, border-color 150ms ease; }
.button-primary { background: var(--ink); color: var(--bg); }
.button-primary:hover { background: #3b3b3b; border-color: #3b3b3b; }
.button-secondary { background: var(--bg); border-color: var(--line); }
.button-secondary:hover { background: var(--surface); border-color: var(--line-strong); }
.text-link { display: inline-block; padding-block: 0.6rem; font-size: 0.875rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.hero-foundations { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 4rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }

/* O-RAN containment and interface relationships are real; the focus control only changes emphasis. */
.architecture-figure { margin: 0; min-width: 0; padding: 0.5rem; border: 1px solid #ececec; border-radius: 18px; background: var(--surface); }
.system-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 1rem 0; font-size: 0.875rem; }
.figure-label { color: var(--muted); font-size: 0.75rem; }
.architecture { display: grid; grid-template-columns: minmax(0,1fr) 3rem; padding: 1rem 1.6rem 1rem 1rem; font-size: 0.875rem; }
.arch-block { position: relative; min-width: 0; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--bg); }
.arch-smo { grid-column: 1; grid-row: 1; padding: 0.65rem; }
.arch-label { display: block; color: var(--muted); font: 400 0.8125rem/1.4 var(--mono); margin-bottom: 0.65rem; }
.arch-nonrt { padding: 0.65rem; border: 1px solid var(--line); border-radius: 5px; }
.arch-block strong { display: block; font-size: 0.9375rem; font-weight: 500; }
.arch-apps { display: grid; grid-template-columns: minmax(0,1fr); justify-items: center; margin-top: 0.65rem; }
.arch-apps > .arch-app { min-width: 6rem; text-align: center; }
.arch-app { display: inline-block; padding: 0.25rem 0.55rem; border: 1px solid var(--line-strong); border-radius: 4px; font: 400 0.875rem/1.5 var(--mono); }
.arch-r1 { position: relative; width: 100%; height: 2rem; color: var(--muted); font: 400 0.8125rem/1.3 var(--mono); }
.arch-r1::before { content: ""; position: absolute; left: 50%; height: 100%; border-left: 1px solid currentColor; }
.arch-r1 > span { position: absolute; left: calc(50% + 0.65rem); top: 50%; transform: translateY(-50%); }
.arch-framework { position: relative; display: block; width: 100%; padding: 0.65rem 0.5rem; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 0.8125rem; line-height: 1.35; text-align: center; }
.arch-framework small { display: block; margin-top: 0.3rem; font-size: 0.6875rem; color: var(--muted); }
.arch-framework::after { content: ""; position: absolute; left: 50%; top: 100%; height: calc(1.3rem + 3px); border-left: 1px solid var(--line-strong); }
.arch-near, .arch-ran { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.65rem; padding: 0.65rem 0.9rem; }
.arch-near { grid-row: 3; }
.arch-ran { grid-row: 5; }
.arch-ran > span { color: var(--muted); }
.arch-connector { position: relative; grid-column: 1; display: flex; align-items: center; min-height: 3rem; padding-block: 0.5rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.arch-connector::before { content: ""; position: absolute; left: 50%; top: 0; height: 100%; border-left: 1px solid var(--line-strong); }
.arch-connector > span { min-width: 0; margin-left: calc(50% + 0.75rem); }
.arch-connector b { display: inline-block; margin-right: 0.35rem; color: var(--ink); font: 500 0.875rem/1.5 var(--mono); }
.arch-management { grid-column: 2; grid-row: 1 / 6; position: relative; margin: 1.6rem 0; border-right: 1px solid #888; }
.arch-management > span { position: absolute; top: 25%; right: -0.7rem; padding-block: 0.5rem; background: var(--surface); writing-mode: vertical-rl; color: var(--muted); font: 400 0.8125rem/1.5 var(--mono); }
.arch-management b { color: var(--ink); font-weight: 500; }
.arch-block::after { content: ""; position: absolute; right: -3rem; width: 3rem; border-top: 1px solid #888; }
.arch-smo::after { top: calc(1.6rem - 1px); }
.arch-near::after { top: 50%; }
.arch-ran::after { bottom: calc(1.6rem - 1px); }
[data-app-focus="rapps"] .arch-nonrt, [data-app-focus="xapps"] .arch-near { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-app-focus="rapps"] .arch-nonrt .arch-app, [data-app-focus="xapps"] .arch-near .arch-app { background: var(--bg); color: var(--ink); border-color: var(--bg); }
[data-app-focus="rapps"] .arch-r1, [data-app-focus="rapps"] .arch-framework small { color: #c7c7c7; }
.app-explorer { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 1rem; margin-inline: 1rem; padding-top: 0.75rem; border-top: 1px solid #dcdcdc; }
.app-options { display: none; padding: 3px; border: 1px solid #d8d8d8; border-radius: 7px; background: #e7e7e7; }
.is-ready .app-options { display: flex; }
.app-options button { padding: 0.4rem 0.65rem; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.app-options [aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #0000000d; }
.app-explorer p { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.architecture-caption { margin: 0; padding: 0.75rem 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }

.section { padding-block: 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-kicker { color: var(--muted); }
.section-heading h2, .technology h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.2rem, 3.75vw, 3.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.055em; }
.section-intro { max-width: 23rem; margin-bottom: 0.25rem; color: var(--muted); font-size: 1.0625rem; }

.research-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.research-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; background: var(--surface); }
.research-copy { padding: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 1.5rem; }
.card-kicker { margin-bottom: 1rem; color: var(--muted); font-size: 0.875rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.card-head .card-kicker { margin-bottom: 0; }
.card-status { display: inline-flex; align-items: center; flex-shrink: 0; padding: 0.25rem 0.6rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font: 400 0.6875rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.research-copy h3 { margin-bottom: 1rem; font-size: clamp(1.75rem, 2.5vw, 2.5rem); font-weight: 400; line-height: 1.14; letter-spacing: -0.045em; }
.research-copy > p:last-child { max-width: 32rem; margin-bottom: 0; color: var(--muted); }
.measurement-visual, .energy-visual { margin: auto 0 0; padding: 1.5rem; }
.visual-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; color: var(--muted); font-size: 0.8125rem; }
.measurement-visual img { display: block; width: 100%; height: auto; margin-block: 0.8rem; }
.measurement-visual figcaption, .energy-visual figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.uncertainty-key { display: inline-flex; align-items: center; gap: 0.5rem; }
.uncertainty-key i { width: 2rem; height: 0.5rem; background: linear-gradient(90deg,#d8d8d8,#454545); border-radius: 1px; }
.energy-card { background: #eaeaea; }
.energy-card .card-status { border-color: #9e9e9e; }
.energy-visual { display: flex; flex-direction: column; justify-content: space-between; min-height: 22rem; }
.estimate-row { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 1rem; min-height: 3.25rem; font-size: 0.875rem; }
.estimate-track { position: relative; height: 2.5rem; border-radius: 5px; background: #f8f8f8; }
.estimate-track::before { content: ""; position: absolute; left: 1rem; right: 1rem; top: 50%; border-top: 1px solid #dedede; }
.estimate-range { position: absolute; top: calc(50% - 7px); height: 14px; border-inline: 2px solid #171717; }
.estimate-range::before { content: ""; position: absolute; inset: 6px 0 auto; border-top: 2px solid #171717; }
.estimate-range::after { content: ""; position: absolute; top: 3px; left: calc(50% - 4px); width: 8px; height: 8px; transform: rotate(45deg); background: #171717; }
.range-slice { left: 30%; width: 39%; }
.range-service { left: 12%; width: 30%; }
.range-group { left: 47%; width: 34%; }
.control-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1.3fr 0.75fr; align-items: center; gap: 2rem; padding: 2rem 2.5rem; border: 1px solid var(--line); border-radius: 14px; }
.control-card h3 { margin: 0; font-size: 1.35rem; font-weight: 400; line-height: 1.35; letter-spacing: -0.03em; }
.control-card .card-head { margin-bottom: 0.75rem; }
.control-card > p { margin: 0; color: var(--muted); }
.control-balance { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-size: 0.875rem; }
.control-balance svg { width: 5rem; flex: 0 1 5rem; fill: none; stroke: var(--ink); stroke-width: 1.5; }

.activities { padding-top: 3rem; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 1.75rem; border: 1px solid var(--line); border-radius: 12px; }
.service-icon { width: 2rem; height: 2rem; margin-bottom: 2rem; fill: none; stroke: var(--ink); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 1rem; font-size: 1.2rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.025em; }
.service-card p { margin-bottom: 2rem; color: var(--muted); }
.service-tag { margin-top: auto; color: var(--muted); font-size: 0.8125rem; }

.technology { display: grid; grid-template-columns: minmax(0,0.95fr) minmax(0,1.4fr); gap: clamp(3rem,6vw,6rem); padding: clamp(2rem,5vw,4.5rem); border-radius: 18px; background: #202020; color: #fff; }
.technology .section-kicker { color: #bdbdbd; }
.technology-intro { min-width: 0; }
.technology-intro > p:last-of-type { max-width: 28rem; margin: 1.5rem 0 2rem; color: #c4c4c4; }
.interface-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.interface-badges span { display: grid; place-items: center; width: 3rem; min-height: 2.5rem; border: 1px solid #505050; border-radius: 5px; color: #e7e7e7; font: 400 0.875rem/1.3 var(--mono); }
.technology-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.5rem 2rem; }
.tech-label { display: block; margin-bottom: 0.75rem; color: #bdbdbd; font-size: 0.8125rem; }
.tech-row h3 { margin-bottom: 0.75rem; font-size: 1.125rem; font-weight: 500; line-height: 1.3; }
.tech-row p { margin-bottom: 0; color: #c4c4c4; }

.approach { padding-top: 6rem; }
.approach-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.approach-grid article { padding-top: 1.5rem; border-top: 2px solid #d4d4d4; }
.approach-label { display: inline-block; margin-bottom: 2rem; padding: 0.35rem 0.7rem; border-radius: 5px; background: var(--surface); font-size: 0.8125rem; }
.approach-grid h3 { margin-bottom: 1rem; font-size: 1.3rem; font-weight: 400; letter-spacing: -0.025em; }
.approach-grid p { max-width: 23rem; margin: 0; color: var(--muted); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-block: 1rem 3rem; padding: clamp(2rem,5vw,4rem); border-radius: 16px; background: var(--surface); }
.contact .button { min-width: 10rem; }
.site-footer { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 2rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.site-footer .brand { max-width: 100%; gap: 0.5rem; padding: 0; font-size: 1.125rem; }
.site-footer .brand-logo { width: 2rem; height: 2rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.8125rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; color: var(--muted); font-size: 0.8125rem; }
.footer-links a, .footer-blog { color: var(--ink); }
.footer-links a:hover, .footer-blog:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.footer-blog { margin-left: 0.5rem; }

/* The journal retains a reading-oriented layout within the shared brand. */
.blog-main { min-height: 60svh; padding-block: 5rem; }
.blog-intro { max-width: 52rem; padding-bottom: 4rem; }
.blog-intro h1 { max-width: 20ch; font-size: clamp(3rem,6vw,5rem); }
.blog-deck { max-width: 37rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.2rem; }
.blog-journal { padding-block: 2rem; border-top: 1px solid var(--line); }
.journal-heading h2 { margin-bottom: 1.5rem; font-size: 1.125rem; font-weight: 500; }
.journal-empty { padding: 3rem; border-radius: 14px; background: var(--surface); }
.journal-empty h3 { margin-bottom: 0.75rem; font-size: 1.75rem; line-height: 1.3; font-weight: 400; letter-spacing: -0.035em; }
.journal-empty p { color: var(--muted); }
.blog-topics { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; color: var(--muted); font-size: 0.875rem; }

@media (max-width: 1100px) {
  .hero { gap: 2.5rem; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { padding: 2rem; }
  .service-icon { margin-bottom: 1.5rem; }
  .control-card { grid-template-columns: 1fr 1.25fr; }
  .control-balance { grid-column: 1 / -1; justify-content: flex-start; }
  .technology { gap: 3rem; grid-template-columns: 1fr 1.3fr; }
  .technology-stack { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .site-header { gap: 1.25rem; }
  .brand { font-size: 1.125rem; }
  .brand-logo { width: 2rem; height: 2rem; }
  .brand-lockup { gap: 0.75rem; }
  .brand-lockup-divider { height: 2.5rem; }
  .inception-badge { --badge-logo-h: 1.75rem; --badge-text-size: 0.5625rem; }
  .desktop-nav { gap: 1rem; }
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-copy { padding: 0; }
  h1 { max-width: 15ch; font-size: clamp(3.25rem,8vw,5rem); }
  .desktop-break { display: none; }
  .hero-intro { max-width: 34rem; }
  .architecture-figure { width: 100%; max-width: 36rem; justify-self: center; }
  .hero-foundations { gap: 1rem 2rem; }
  .site-footer { grid-template-columns: auto minmax(0,1fr); gap: 1rem 2rem; }
  .footer-links { grid-column: 1 / -1; }
  .section-heading { align-items: start; }
  .section-intro { max-width: 19rem; }
  .energy-visual { min-height: 19rem; }
  .estimate-row { grid-template-columns: 1fr; gap: 0.25rem; padding-block: 0.5rem; }
  .estimate-track { height: 2rem; }
  .measurement-visual, .energy-visual { padding: 1.25rem; }
  .app-explorer { grid-template-columns: auto 1fr; }
}
@media (max-width: 700px) {
  [id] { scroll-margin-top: 9rem; }
  .brand-lockup-divider, .inception-badge { display: none; }
  .site-header { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; padding-block: 0.85rem 0.5rem; }
  .desktop-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0.25rem 1rem; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .hero { padding-top: 2rem; gap: 2.5rem; }
  .hero-copy { padding-top: 1rem; }
  h1 { font-size: clamp(2.9rem,9vw,4rem); }
  .hero-intro { font-size: 1.0625rem; }
  .hero-foundations { gap: 0.75rem 1.5rem; padding-top: 0; }
  .section { padding-block: 3rem; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading h2, .technology h2, .contact h2 { font-size: clamp(2rem,7vw,2.75rem); }
  .section-intro { max-width: 32rem; margin-top: 1.25rem; }
  .research-grid, .service-grid, .technology, .approach-grid { grid-template-columns: minmax(0,1fr); }
  .research-copy { padding: 1.75rem; padding-bottom: 1rem; }
  .research-copy h3 { font-size: 2rem; }
  .energy-visual { min-height: 21rem; }
  .estimate-row { grid-template-columns: 7rem 1fr; gap: 0.75rem; }
  .control-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
  .service-card { padding: 1.75rem; }
  .service-card p { max-width: 31rem; margin-bottom: 1.5rem; }
  .technology { padding: 2rem 1.75rem; gap: 2.5rem; }
  .technology-stack { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1.5rem; }
  .approach-grid { gap: 2rem; }
  .approach-label { margin-bottom: 1rem; }
  .approach-grid p { max-width: 32rem; }
  .contact { display: block; padding: 2rem 1.75rem; margin-bottom: 1.5rem; }
  .contact .button { margin-top: 2rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; }

  .blog-main { padding-block: 3.5rem; }
  .blog-intro { padding-bottom: 2rem; }
  .journal-empty { padding: 2rem; }
}
@media (max-width: 420px) {
  .architecture { grid-template-columns: minmax(0,1fr) 2.5rem; padding: 1.25rem 1.25rem 1rem 0.5rem; }
  .arch-block::after { right: -2.5rem; width: 2.5rem; }
  .arch-smo { padding: 0.65rem; }
  .arch-nonrt { padding: 0.65rem; }
  .arch-framework::after { height: calc(1.3rem + 3px); }
  .arch-connector { font-size: 0.75rem; }
  .system-head { padding-inline: 0.5rem; }
  .figure-label { display: none; }
  .app-explorer { grid-template-columns: 1fr; gap: 0.75rem; margin-inline: 0.5rem; }
  .app-options { width: fit-content; }
  .architecture-caption { padding-inline: 0.5rem; }
  .technology-stack { grid-template-columns: 1fr; }
  .estimate-row { grid-template-columns: 1fr; }
  .energy-visual { min-height: 23rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ------------------------------------------------------------------
   Brand assets page (/brand/) — unlisted, noindex. Appended section;
   no rule above is modified. Previews live on paired light/dark tiles
   with fixed aspect ratios so SVG lockups never distort or overflow.
   ------------------------------------------------------------------ */
.brand-main { width: min(calc(100% - var(--page-pad) * 2), var(--content)); margin-inline: auto; min-height: 60svh; }
.brand-intro { padding-block: 3.5rem 3rem; }
.brand-intro h1 { max-width: 16ch; margin-bottom: 1rem; font-size: clamp(2.6rem, 5.5vw, 4.25rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.055em; }
.brand-intro p { max-width: 34rem; margin-bottom: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.brand-section { padding-block: 2.25rem; border-top: 1px solid var(--line); }
.brand-section h2 { margin-bottom: 1.5rem; font-size: clamp(1.35rem, 2.25vw, 1.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.035em; }
.brand-tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.brand-tile-item { min-width: 0; margin: 0; }
.brand-tile { display: flex; align-items: center; justify-content: center; min-height: 13rem; padding: 2.5rem 3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); transition: background 150ms ease, border-color 150ms ease; }
.brand-tile:hover { border-color: var(--line-strong); background: #fafafa; }
.brand-tile img { display: block; width: 100%; height: auto; }
.brand-tile-dark { background: #171717; border-color: #171717; color: #fff; }
.brand-tile-dark:hover { background: #212121; border-color: #212121; }
.brand-lockup-horizontal .brand-tile img { max-width: 26rem; aspect-ratio: 1174 / 352; }
.brand-stacked .brand-tile img { max-width: 15rem; aspect-ratio: 763 / 474; }
.brand-wordmark .brand-tile img { max-width: 28rem; aspect-ratio: 841 / 190; }
.brand-icon .brand-tile img { max-width: 11rem; aspect-ratio: 1; }
.brand-icon .brand-tile { min-height: 0; }
.brand-caption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0; padding: 0.75rem 0.125rem 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.brand-caption a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.brand-caption .brand-links { display: inline-flex; flex-wrap: wrap; gap: 0.75rem; }
.brand-sizes { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
.brand-sizes a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.brand-note { max-width: 34rem; margin-bottom: 0; padding-block: 2.5rem 4.5rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }
@media (max-width: 700px) {
  .brand-intro { padding-block: 2.5rem 2rem; }
  .brand-intro p { font-size: 1.0625rem; }
  .brand-section { padding-block: 1.75rem; }
  .brand-tile-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .brand-tile { min-height: 9rem; padding: 1.75rem 1.5rem; }
  .brand-lockup-horizontal .brand-tile img { max-width: 22rem; }
  .brand-wordmark .brand-tile img { max-width: 24rem; }
  .brand-note { padding-block: 1.5rem 3rem; }
}

/* ------------------------------------------------------------------
   Motion — entrance choreography + bold reveal-on-scroll (CSP-safe,
   no libraries). Every hidden initial state is gated behind
   html.js-motion, which app.js sets only when IntersectionObserver
   exists and reduced motion is NOT requested — so content is fully
   visible without JS and never trapped at opacity:0 for reduced-motion
   users. One-time reveals only (app.js unobserves after intersect);
   the single ambient loop is the connector-line breathe below. No
   colors, layout, or content rules above are modified.
   ------------------------------------------------------------------ */
:root { --motion-duration: 600ms; --motion-ease: cubic-bezier(0.22, 1, 0.36, 1); }

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  /* --stagger is set per grid position below and consumed only by the
     reveal's two slots, so it can never delay the hover translate. */
  transition: opacity var(--motion-duration) var(--motion-ease) var(--stagger, 0ms), transform var(--motion-duration) var(--motion-ease) var(--stagger, 0ms);
}
.js-motion [data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger inside card grids — CSS custom-property + nth-child only, no
   inline styles. */
.js-motion .service-grid > [data-reveal]:nth-child(2),
.js-motion .technology-stack > [data-reveal]:nth-child(2),
.js-motion .approach-grid > [data-reveal]:nth-child(2) { --stagger: 100ms; }
.js-motion .service-grid > [data-reveal]:nth-child(3),
.js-motion .technology-stack > [data-reveal]:nth-child(3),
.js-motion .approach-grid > [data-reveal]:nth-child(3) { --stagger: 200ms; }
.js-motion .service-grid > [data-reveal]:nth-child(4),
.js-motion .technology-stack > [data-reveal]:nth-child(4) { --stagger: 300ms; }

/* Signature accent: the O-RAN architecture figure draws in once.
   Connector lines grow downward (scaleY on the border pseudo-elements,
   the closest CSP-safe equivalent to stroke-dashoffset on these
   pseudo-element lines), blocks fade with a 6px lift. The container
   keeps its role="img" + aria-label untouched. */
.js-motion [data-arch] .arch-block,
.js-motion [data-arch] .arch-management {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease);
}
.js-motion [data-arch] .arch-connector::before,
.js-motion [data-arch] .arch-r1::before,
.js-motion [data-arch] .arch-framework::after {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 420ms var(--motion-ease);
}
.js-motion [data-arch] .arch-block::after,
.js-motion [data-arch] .arch-connector > span {
  opacity: 0;
  transition: opacity 320ms var(--motion-ease);
}
.js-motion [data-arch] > :nth-child(2)::before { transition-delay: 90ms; }
.js-motion [data-arch] > :nth-child(4)::before { transition-delay: 200ms; }
.js-motion [data-arch] .arch-r1::before { transition-delay: 60ms; }
.js-motion [data-arch] .arch-framework::after { transition-delay: 120ms; }
.js-motion [data-arch] .arch-connector > span { transition-delay: 140ms; }
.js-motion [data-arch] > :nth-child(4) > span { transition-delay: 250ms; }
.js-motion [data-arch] .arch-block::after { transition-delay: 280ms; }
.js-motion [data-arch] > :nth-child(3) { transition-delay: 110ms; }
.js-motion [data-arch] > :nth-child(5) { transition-delay: 220ms; }
.js-motion [data-arch] > :nth-child(6) { transition-delay: 300ms; }

.js-motion [data-arch].is-visible .arch-block,
.js-motion [data-arch].is-visible .arch-management { opacity: 1; transform: none; }
.js-motion [data-arch].is-visible .arch-connector::before,
.js-motion [data-arch].is-visible .arch-r1::before,
.js-motion [data-arch].is-visible .arch-framework::after { transform: none; }
.js-motion [data-arch].is-visible .arch-block::after,
.js-motion [data-arch].is-visible .arch-connector > span { opacity: 1; }

/* Hero entrance choreography — the signature. Plays once on load;
   keyframes + fixed (non-inline) delays only, so CSP stays clean.
   The h1's three lines are wrapped .hero-line spans so each can rise
   independently (display:inline-block makes the transform apply;
   the desktop <br>s guarantee each phrase is a full line, so widths
   are unchanged). ≤900px the <br>s vanish and h1 gets max-width:15ch,
   so atomic inline-block phrases would overflow — there the spans
   fall back to inline (no per-line animation) and the whole h1 rises
   as one block instead. */
@keyframes motion-hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
#hero-title .hero-line {
  display: inline-block;
  animation: motion-hero-rise 620ms var(--motion-ease) both;
}
.hero-intro,
.hero-actions .button {
  animation: motion-hero-rise 620ms var(--motion-ease) both;
}
#hero-title .hero-line:nth-of-type(1) { animation-delay: 80ms; }
#hero-title .hero-line:nth-of-type(2) { animation-delay: 170ms; }
#hero-title .hero-line:nth-of-type(3) { animation-delay: 260ms; }
.hero-intro { animation-delay: 370ms; }
.hero-actions .button:nth-child(1) { animation-delay: 470ms; }
.hero-actions .button:nth-child(2) { animation-delay: 560ms; }
@media (max-width: 900px) {
  #hero-title { animation: motion-hero-rise 620ms var(--motion-ease) 80ms both; }
  #hero-title .hero-line { display: inline; animation: none; }
}

/* Blur-to-sharp on section headings — the "apylon feel". Blur is kept
   on headings only (never body text). These h2s carry data-reveal, so
   the observer above drives them; the rules below upgrade the generic
   reveal with a blur + slightly tighter rise. */
.js-motion .section-heading h2[data-reveal],
.js-motion .technology h2[data-reveal] {
  transform: translateY(18px);
  filter: blur(10px);
  transition: opacity 650ms var(--motion-ease), transform 650ms var(--motion-ease), filter 650ms var(--motion-ease);
}
.js-motion .section-heading h2[data-reveal].is-visible,
.js-motion .technology h2[data-reveal].is-visible { transform: none; filter: blur(0); }

/* Card hover life — the lift rides the separate `translate` property
   (not `transform`) so it can never fight the reveal's transform
   transition. focus-within mirrors hover for keyboard users. */
.research-card, .service-card, .tech-row, .approach-grid article {
  transition: translate 200ms ease-out, border-color 200ms ease-out;
}
.js-motion .service-card,
.js-motion .tech-row,
.js-motion .approach-grid article {
  /* Same slots as the generic reveal (inheriting --stagger) plus the
     hover slots; this rule wins by order + specificity over
     .js-motion [data-reveal]. */
  transition: opacity var(--motion-duration) var(--motion-ease) var(--stagger, 0ms), transform var(--motion-duration) var(--motion-ease) var(--stagger, 0ms), translate 200ms ease-out, border-color 200ms ease-out;
}
.research-card:focus-within,
.service-card:focus-within,
.tech-row:focus-within,
.approach-grid article:focus-within {
  translate: 0 -4px;
  border-color: var(--line-strong);
}
/* Pointer hover only — on touch screens :hover sticks after a tap and
   would leave cards permanently lifted. */
@media (hover: hover) {
  .research-card:hover,
  .service-card:hover,
  .tech-row:hover,
  .approach-grid article:hover {
    translate: 0 -4px;
    border-color: var(--line-strong);
  }
}

/* The one deliberate ambient loop: the O-RAN connector lines breathe.
   Target justification: the hero has no kicker/eyebrow element, and
   these 1px decorative lines (non-text, so zero contrast impact) are
   the page's signature motif — live interfaces in a living system.
   Starts only after the draw-in (.is-visible), under .js-motion. */
@keyframes motion-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.js-motion [data-arch].is-visible .arch-connector::before {
  animation: motion-breathe 3s ease-in-out infinite;
}
.js-motion [data-arch].is-visible > :nth-child(4).arch-connector::before { animation-delay: 1.5s; }

/* Reduced motion: everything visible immediately, no transitions, no
   animations and no residual delays (belt-and-braces alongside the
   global transition kill earlier in this file and the js-motion gate
   in app.js). */
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal],
  .js-motion [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }
  .js-motion [data-arch] .arch-block,
  .js-motion [data-arch] .arch-management,
  .js-motion [data-arch] .arch-connector::before,
  .js-motion [data-arch] .arch-r1::before,
  .js-motion [data-arch] .arch-framework::after,
  .js-motion [data-arch] .arch-block::after,
  .js-motion [data-arch] .arch-connector > span {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }
  /* Hero entrance choreography (ungated from .js-motion — the entrance
     is a pure-CSS on-load animation, so the reset must match ungated). */
  #hero-title,
  #hero-title .hero-line,
  .hero-intro,
  .hero-actions .button {
    animation: none;
    opacity: 1;
    transform: none;
  }
  /* Blur-to-sharp headings (generic [data-reveal] reset above covers
     opacity/transform; filter needs its own reset). */
  .js-motion .section-heading h2[data-reveal],
  .js-motion .technology h2[data-reveal],
  .js-motion .section-heading h2[data-reveal].is-visible,
  .js-motion .technology h2[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    transition-delay: 0ms;
  }
  /* Ambient connector breathe. !important is required: the pulse rules
     use .is-visible/:nth-child (higher specificity) — a plain reset here
     would lose and the infinite loop would survive reduced-motion flips
     after load. */
  .js-motion [data-arch] .arch-connector::before {
    animation: none !important;
  }
}

/* Print: never ship hidden content to paper — force every motion target
   to its final visible state (companion to the reduced-motion block). */
@media print {
  .js-motion [data-reveal],
  .js-motion [data-reveal].is-visible,
  .js-motion [data-arch] .arch-block,
  .js-motion [data-arch] .arch-management,
  .js-motion [data-arch] .arch-connector::before,
  .js-motion [data-arch] .arch-r1::before,
  .js-motion [data-arch] .arch-framework::after,
  .js-motion [data-arch] .arch-block::after,
  .js-motion [data-arch] .arch-connector > span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
  #hero-title,
  #hero-title .hero-line,
  .hero-intro,
  .hero-actions .button {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .js-motion .section-heading h2[data-reveal],
  .js-motion .technology h2[data-reveal],
  .js-motion .section-heading h2[data-reveal].is-visible,
  .js-motion .technology h2[data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
  .js-motion [data-arch] .arch-connector::before {
    animation: none !important;
  }
}
