@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; }
.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; }
.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; }
.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-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-kicker { 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; }
  .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; }
  .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; }
}
