/* The shared homepage supplies the eight sections and all product interactions. */
[data-preview] {
  --action: #124acd;
  --text: #10284b;
  --tint: #edf4ff;
  --line: #cbd7e8;
  --surface: #fff;
}
[data-preview=coast] {
  --action: #086756;
  --text: #133d37;
  --tint: #e5f3ec;
  --line: #c4d7cd;
  --surface: #fbfcf8;
}
[data-preview=atlas] {
  --action: #854421;
  --text: #302d29;
  --tint: #f3eade;
  --line: #d9cec0;
  --surface: #fffcf7;
}
[data-preview] .portal {
  --ink: var(--text);
  --rule: var(--line);
  background: var(--surface);
}
[data-preview] header {padding-block:14px}
[data-preview] header > a {display:inline-flex;align-items:center;letter-spacing:-.025em}
[data-preview] .topic-menu {border:0}
[data-preview] .topic-menu button {min-height:44px;border:0;border-radius:0;color:var(--text);font-size:14px}
[data-preview] .topic-menu button[aria-pressed=true] {background:transparent;color:var(--action);font-weight:720}
[data-preview] .topic-menu button[aria-pressed=true]::before {display:none}
[data-preview] .topic-menu button:hover {background:var(--tint)}
[data-preview] .portal :is(.cta,.solNav button[aria-pressed=true]) {background:var(--action);color:#fff}
[data-preview] .portal section a:not(.cta),[data-preview] .capacity,
[data-preview] :is(.story-grid small,.facility-plan>span) {color:var(--action)}
[data-preview] .topic-content h1 {color:var(--text);line-height:1.13;letter-spacing:-.036em}
[data-preview] .portal h2 {text-wrap:balance}
[data-preview] .topic-content p {max-width:44ch;margin-block:16px 24px}
[data-preview] .actions {gap:24px}
[data-preview] .portal .cta {border-radius:4px;padding:11px 21px;font-weight:620}
[data-preview] .portal :focus-visible {outline:3px solid var(--action);outline-offset:3px}
[data-preview] .portal ::selection {background:var(--tint);color:var(--text)}
[data-preview] .service-entry:hover {background:var(--tint);text-decoration:none}
[data-preview] .facility-band,[data-preview] .stories-band,[data-preview] .route-steps {background:var(--tint)}
[data-preview] .net-band {background:var(--surface)}
[data-preview] :is(.service-entry strong,.model-feature strong,.route-steps strong,.guides b) {color:var(--text)}
[data-preview] .story-grid>div {border-top-color:var(--action)}
[data-preview] .portal .launch {padding-block:18px}
[data-preview] .topic-wrap {position:relative;padding-block:42px}
[data-preview] .topic-art {pointer-events:none}

/* Product catalogue: strong left alignment, one large globe, compact product index. */
[data-preview=blue] .topic-hero {background:#eaf3ff}
[data-preview=blue] .topic-wrap {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:30px;min-height:445px}
[data-preview=blue] .topic-menu {display:flex;gap:18px}
[data-preview=blue] .topic-menu button {padding:3px 0;border-bottom:2px solid transparent}
[data-preview=blue] .topic-menu button[aria-pressed=true] {border-color:var(--action)}
[data-preview=blue] .topic-content {max-width:53%}
[data-preview=blue] .topic-content h1 {font-size:clamp(46px,5vw,76px);max-width:9.2em;color:#103990}
[data-preview=blue] .topic-art {width:49%;opacity:1;mask-image:linear-gradient(90deg,transparent,#000 23%);object-position:50% 38%}
[data-preview=blue] .catalog-band {padding-top:46px}
[data-preview=blue] .shelf {gap:30px;grid-template-columns:.9fr 2fr}
[data-preview=blue] .model-feature {border:0;background:#dbeaff;border-radius:6px}
[data-preview=blue] .facility-grid {grid-template-columns:1.45fr 1fr;border:0;border-radius:8px;overflow:hidden}
[data-preview=blue] .capacity {font-size:64px}

/* Coastal infrastructure: a panoramic hero and an open, two-column facility profile. */
[data-preview=coast] .topic-hero {background:#e4f1e9}
[data-preview=coast] .topic-wrap {display:grid;min-height:390px;grid-template-columns:minmax(0,56%) 1fr;align-content:center;gap:22px}
[data-preview=coast] .topic-content {grid-column:1;grid-row:1}
[data-preview=coast] .topic-menu {grid-row:2;grid-column:1;display:flex;gap:4px;flex-wrap:wrap}
[data-preview=coast] .topic-menu button {padding:7px 10px}
[data-preview=coast] .topic-menu button[aria-pressed=true] {box-shadow:inset 0 -2px var(--action)}
[data-preview=coast] .topic-content h1 {max-width:9em;font-size:clamp(42px,4.3vw,68px)}
[data-preview=coast] .topic-art {width:52%;mask-image:none;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);object-position:58% center}
[data-preview=coast] .portal .launch {width:100%;padding-inline:max(5%,calc((100vw - 1200px)/2));background:#195346}
[data-preview=coast] .launch a {color:white;border-color:#568678}
[data-preview=coast] .launch small {color:#e0eee7}
[data-preview=coast] .facility-band {background:var(--surface)}
[data-preview=coast] .facility-grid {gap:22px;background:transparent;border:0;grid-template-columns:1.25fr 1fr}
[data-preview=coast] .facility-now {background:#e1eee5;color:var(--text);padding:0 28px 24px;display:flex;flex-direction:column;gap:18px;overflow:hidden;border-radius:8px}
[data-preview=coast] .facility-now img {position:relative;width:calc(100% + 56px);margin-inline:-28px;height:154px;z-index:auto;object-position:center 60%}
[data-preview=coast] .facility-now::before {display:none}
[data-preview=coast] .facility-now div>span {color:var(--action)}
[data-preview=coast] .facility-now p {color:#304e44}
[data-preview=coast] .facility-plan {border-block:1px solid #97afa2}
[data-preview=coast] .catalog-band {background:var(--tint)}
[data-preview=coast] .model-feature {background:#d2e7d8;border-color:#aacbb7}
[data-preview=coast] .api-diagram b {background:#106856;box-shadow:0 5px #75aa95,0 10px #b5d8c6}
[data-preview=coast] .solNav {background:var(--tint)}

/* International network: warm paper, editorial typography and a framed route map. */
[data-preview=atlas] .topic-hero {background:var(--surface);border-bottom:1px solid var(--line)}
[data-preview=atlas] .topic-wrap {display:flex;min-height:408px;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px}
[data-preview=atlas] .topic-content {max-width:46%}
[data-preview=atlas] .topic-content h1,[data-preview=atlas] .portal h2 {
  font-family:"Songti SC","Noto Serif CJK SC",Georgia,serif;font-weight:700;letter-spacing:-.035em
}
[data-preview=atlas] .topic-content h1 {font-size:clamp(39px,4.35vw,66px);max-width:9em}
[data-preview=atlas] .topic-menu {display:flex;gap:12px}
[data-preview=atlas] .topic-menu button {padding:3px 0;text-underline-offset:6px}
[data-preview=atlas] .topic-menu button[aria-pressed=true] {text-decoration:underline}
[data-preview=atlas] .topic-art {inset:10% max(5%,calc((100vw - 1200px)/2)) auto auto;height:80%;width:min(44%,570px);mask-image:none;object-fit:cover;object-position:72% center;outline:1px solid var(--line);outline-offset:6px}
[data-preview=atlas] .topic-art[data-theme="2"] {object-fit:contain;background:#070a2c}
[data-preview=atlas] .portal .launch {border-bottom:1px solid var(--line)}
[data-preview=atlas] .portal .solutions {border:0}
[data-preview=atlas] .solLayout {grid-template-columns:25% 1fr;background:white;border-color:var(--line)}
[data-preview=atlas] .solNav {background:#f4ece0}
[data-preview=atlas] #caseBody li {background:var(--tint);color:#64462d}
[data-preview=atlas] .model-feature {background:#f3eade;border-color:var(--line)}
[data-preview=atlas] .facility-grid {grid-template-columns:1fr 1.4fr}
[data-preview=atlas] .capacity {font:normal 68px/1.1 Georgia,serif}
[data-preview=atlas] .net-band figure {border:8px solid #ede4d7}
@media(max-width:800px){
  [data-preview] header {padding-block:12px}
  [data-preview] header nav {order:3;width:100%;gap:8px 15px}
  [data-preview] .portal .shelf,[data-preview] .facility-grid {grid-template-columns:1fr}
  [data-preview] .portal .topic-wrap {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:0;padding:20px 0 26px;gap:12px}
  [data-preview] .portal .topic-menu {display:flex;flex-wrap:wrap;gap:4px 12px}
  [data-preview] .topic-content {max-width:none}
  [data-preview] .portal .topic-content h1 {max-width:16ch;font-size:clamp(35px,7vw,52px)}
  [data-preview] .portal .topic-content p {font-size:15px;line-height:1.72}
  [data-preview=blue] .topic-art {opacity:.13;width:90%}
  [data-preview=coast] .topic-hero,[data-preview=atlas] .topic-hero {display:flex;flex-direction:column}
  [data-preview=coast] .portal .topic-art,[data-preview=atlas] .portal .topic-art {position:static;order:2;width:100%;height:155px;clip-path:none;opacity:1;outline:0;object-position:center 49%;z-index:0}
  [data-preview=coast] .topic-menu {order:0}
  [data-preview=coast] .topic-content {order:1}
  [data-preview=atlas] .portal .topic-art {height:130px}
  [data-preview=atlas] .solLayout {grid-template-columns:1fr}
  [data-preview] .portal .launch {padding-block:8px}
  [data-preview=coast] .portal .launch a {border:0}
}
@media(min-width:801px) and (max-width:1060px){
  [data-preview=atlas] .topic-menu {gap:7px}
  [data-preview=coast] .topic-wrap {grid-template-columns:48% 1fr}
}
@media(prefers-reduced-motion:no-preference){
  [data-preview] .service-entry {transition:background-color .15s ease-out}
}
[data-preview=coast] .rack-drawing {height:154px;margin-inline:-28px;display:flex;justify-content:center;align-items:end;gap:9px;padding:16px;background-color:#caddcf;background-image:linear-gradient(#76988430 1px,transparent 1px),linear-gradient(90deg,#76988430 1px,transparent 1px);background-size:18px 18px}
[data-preview=coast] .rack-drawing i {position:relative;width:55px;height:106px;border:3px solid #417563;border-radius:2px;background:repeating-linear-gradient(0deg,#d8e8de 0 8px,#598370 8px 10px);box-shadow:5px -3px 0 #8eaf9a}
[data-preview=coast] .rack-drawing i::after {content:'';position:absolute;right:4px;top:0;bottom:0;width:5px;background:repeating-linear-gradient(0deg,transparent 0 3px,#317659 3px 6px,transparent 6px 10px)}
[data-preview=coast] .rack-drawing i:nth-child(2){height:120px}
@media(min-width:801px){[data-preview=atlas] .topic-art[data-theme="2"]{object-fit:cover;height:62%;top:19%;object-position:67% 50%}}

[data-preview] .topic-menu button[data-topic]{font-weight:650}

@media(max-width:800px){
  [data-preview] .portal .topic-hero {display:flex;flex-direction:column}
  [data-preview] .portal .topic-hero .topic-art {order:2;position:static;z-index:0;width:100%;height:clamp(116px,35vw,190px);object-fit:cover;object-position:50% 40%;mask-image:none;clip-path:none;opacity:1;outline:0}
}

/* Fill the shared artwork panel while keeping the entire labelled route map visible. */
[data-preview] .portal .topic-hero .topic-art.full-map {object-fit:fill}
