/* Shared editorial palette for the five company and product interiors. */
:root {
  --field-ink: #122f42;
  --field-copy: #415e67;
  --field-teal: #07695e;
  --field-line: #c1d4d0;
  --field-paper: #f6f9f7;
  --field-mist: #e7f1ee;
}
.site-header, .site-header.is-scrolled {
  background: #0c2438;
  border-bottom: 1px solid #264255;
}
.page-hero, .expert-page .expert-hero, .catalog-hero {
  color: var(--field-ink);
  background: linear-gradient(112deg, #f8faf8 12%, #eef5f2 63%, #e0edeb);
  border-bottom: 1px solid var(--field-line);
  min-height: 0;
  padding: calc(var(--header) + clamp(40px,5.3vw,82px)) 0 clamp(44px,6vw,88px);
}
.page-hero-bg, .expert-page .expert-hero-grid-bg {
  background: none;
  pointer-events: none;
}
.page-hero-bg::after, .expert-page .expert-hero-grid-bg::after {
  background-image: linear-gradient(#1b645313 1px, transparent 1px), linear-gradient(90deg, #1b645313 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(110deg, transparent 40%, #0009);
}
.page-hero-grid, .expert-page .expert-hero-layout {
  grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
  gap: clamp(32px,4.6vw,70px);
}
.page-hero h1, .expert-page .expert-hero h1, .catalog-hero h1 {
  margin: 0;
  color: var(--field-ink);
  font-size: clamp(2.4rem,3.55vw,3.6rem);
  line-height: 1.15;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.page-hero-copy > p:not(.eyebrow), .expert-page .expert-hero-intro { color: var(--field-copy); }
.page-hero .eyebrow, .expert-page .expert-hero .eyebrow, .field-kicker {
  color: var(--field-teal);
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: .10em;
}
.eyebrow--light > span { background: var(--field-teal); }
.page-hero .button--primary, .expert-page .expert-hero .button--primary {
  background: #12495a;
  color: white;
  box-shadow: none;
}
.page-hero .button--ghost, .expert-page .expert-hero .button--ghost {
  border-color: #9db6b4;
  color: var(--field-ink);
  background: #ffffff82;
}
:is(.page-hero,.expert-hero) .button:hover { box-shadow: 0 5px 16px #173a4b20; }
.page-hero-visual .spatial-visual, .expert-page .expert-studio { transform: none; }
.page-hero-visual, .expert-page .expert-studio { min-width: 0; }
.section--light { background: var(--field-paper); }
.section--ink, .section--architecture, .expert-page .expert-roles {
  background: var(--field-mist);
  color: var(--field-ink);
}
.section--ink::before, .section--architecture::before { opacity: .18; }
.split-copy .section-intro, .check-list li, .architecture-layer p,
.expert-page .expert-role li, .expert-page .expert-role-note { color: var(--field-copy); }
.check-list li, .expert-page .expert-role, .expert-page .expert-role li { border-color: var(--field-line); }
.split-copy .eyebrow, .check-list li span, .layer-index, .section--architecture .section-heading .eyebrow,
.expert-page .expert-roles .eyebrow, .expert-page .expert-role h3 { color: var(--field-teal); }
.architecture-layer { background: #f6faf8; border-color: var(--field-line); }
.statement-visual { background: #102c3e; }
.expert-page .expert-promise { color: #155e66; }
.expert-page .expert-hero-tags { color: #46686b; }
.expert-page .expert-hero-tags li + li { border-color: #b6ccc8; }
.expert-page .expert-studio {
  color: #e4f2f5;
  background: #17364b;
  border-radius: 18px;
  box-shadow: 0 16px 38px #204a4718;
}
/* The frame stays square to the page. Only the signal paths and orbits move. */
.page-hero-visual .eng-ai {
  min-height: 0;
  padding: clamp(15px,2vw,26px);
  border: 1px solid #b7ceca;
  border-radius: 18px;
  background: linear-gradient(145deg,#fff,#eaf3f0);
  box-shadow: 0 15px 40px #19394712;
}
.eng-ai::before, .eng-ai::after { display: none; }
.eng-ai .eng-ai-stage {
  display: grid;
  place-items: center;
  height: auto;
  aspect-ratio: 500/270;
  margin: 17px 0 12px;
  background: radial-gradient(ellipse at center,#153b50,#0d2539 65%,#102b3e);
  border-radius: 10px;
  overflow: hidden;
}
.eng-ai .eng-ai-topline, .eng-ai .eng-ai-concept, .eng-ai .eng-ai-footer { color: #486771; font-size: .70rem; }
.eng-ai .eng-ai-topline i, .eng-ai .eng-ai-footer i { background: #178879; }
.eng-ai .eng-ai-insight {
  margin-top: 0; min-height: 0; background: transparent; padding: 10px 0; border: 0; box-shadow: none;
}
.eng-ai .eng-ai-insight-mark { color: #226b69; background: #daeae4; border-color: #c5dbd2; text-shadow: none; }
.eng-ai .eng-ai-insight small { color: #376d66; font-size: .65rem; }
.eng-ai .eng-ai-insight strong { color: var(--field-ink); font-size: 1rem; }
.eng-ai .eng-ai-insight p { color: var(--field-copy); font-size: .80rem; }
.eng-ai .eng-ai-toggle { background: #fff; color: var(--field-ink); border-color: #a4c2b9; width: 34px; height: 30px; }
.field-feature { background: #f7faf8; padding: clamp(38px,6vw,80px) 0; border-bottom: 1px solid var(--field-line); }
.field-feature-grid { display: grid; grid-template-columns: 2fr 3fr; align-items: center; gap: clamp(30px,5vw,75px); }
.field-feature h2 { margin: 0; font-size: clamp(1.9rem,3vw,3rem); color: var(--field-ink); line-height: 1.15; }
.field-feature-grid > div > p:last-child { color: var(--field-copy); line-height: 1.85; max-width: 36em; }
.field-kicker { margin: 0 0 14px; }
.field-film, .case-figure, .catalog-figure {
  margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--field-line);
  border-radius: 16px; box-shadow: 0 16px 40px #143f3c10;
}
.field-film video { width: 100%; aspect-ratio: 16/9; background: #112a38; }
.case-figure img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.field-film figcaption, .case-figure figcaption, .catalog-figure figcaption {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 5px 12px; padding: 14px 18px; font-size: .91rem;
  color: var(--field-ink); line-height: 1.55;
}
figcaption small { color: #536e74; font-size: .78rem; }
.catalog-hero .field-kicker { margin-bottom: 8px; }
.catalog-choices { display: flex; gap: clamp(14px,3vw,42px); flex-wrap: wrap; margin-top: 28px; border-bottom: 1px solid var(--field-line); }
.catalog-choices a { display: block; position: relative; padding: 12px 0; font-weight: 600; color: #4b666b; }
.catalog-choices a[aria-current], .catalog-choices a:hover { color: var(--field-teal); }
.catalog-choices a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--field-teal); }
.catalog-panel { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.12fr); align-items: center; gap: clamp(24px,4.5vw,70px); padding-top: clamp(25px,3vw,44px); scroll-margin-top: calc(var(--header) + 22px); }
.catalog-panel[hidden] { display: none; }
.catalog-model { color: var(--field-teal); font-weight: 650; letter-spacing: .02em; margin: 0 0 8px; }
.catalog-copy h2 { font-size: clamp(1.8rem,2.4vw,2.55rem); line-height: 1.18; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.catalog-story { color: var(--field-copy); line-height: 1.8; margin: 16px 0; }
.catalog-copy dl { margin: 0 0 18px; }
.catalog-copy dl > div { display: grid; grid-template-columns: minmax(5em,.30fr) 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--field-line); font-size: .91rem; }
.catalog-copy dt { font-weight: 650; }
.catalog-copy dd { margin: 0; color: var(--field-copy); }
.manual-link { display: inline-flex; gap: 10px; align-items: center; color: #0c605e; font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.manual-link small { color: #48666b; font-size: .75rem; }
.catalog-image { background: #0e2638; }
.catalog-image img { width: 100%; aspect-ratio: 1.72; object-fit: cover; }
#nexus .catalog-image img { object-fit: contain; }
.catalog-panel:not([hidden]) .catalog-figure { animation: field-appear .35s ease-out both; }
@keyframes field-appear { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .page-hero-grid, .expert-page .expert-hero-layout, .catalog-panel, .field-feature-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .page-hero-visual, .expert-page .expert-studio { max-width: 680px; display: block; margin-inline: 0; }
  .catalog-figure { max-width: 680px; }
  .catalog-hero { padding-bottom: 42px; }
}
@media (max-width: 560px) {
  .page-hero h1, .expert-page .expert-hero h1, .catalog-hero h1 { font-size: clamp(2rem,8vw,2.65rem); }
  .page-hero h1 br { display: none; }
  [lang^='en'] .page-hero h1 br { display: initial; }
  .catalog-choices { gap: 18px; }
  .catalog-choices a { font-size: .92rem; }
  .catalog-copy dl > div { grid-template-columns: 5.3em 1fr; gap: 10px; }
  .eng-ai .eng-ai-topline, .eng-ai .eng-ai-footer { letter-spacing: .02em; }
  .field-film figcaption, .catalog-figure figcaption, .case-figure figcaption { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-panel:not([hidden]) .catalog-figure { animation: none; }
}

.nexus-detail { display: inline-block; margin-inline-start: 20px; color: var(--field-teal); text-decoration: underline; text-underline-offset: .25em; font-size: .9rem; }
