:root {
  --navy-950: #041022;
  --navy-900: #07152f;
  --navy-850: #0a1d3f;
  --navy-800: #102a55;
  --blue-700: #194b80;
  --teal-700: #0d6964;
  --teal-600: #12857b;
  --teal-100: #dff5f1;
  --gold-500: #e7ad31;
  --gold-400: #f1c65a;
  --cream: #f6f0e4;
  --paper: #fbfcfe;
  --white: #ffffff;
  --ink: #12213a;
  --muted: #59677a;
  --line: #d9e0e9;
  --shadow: 0 24px 60px rgba(4, 16, 34, .14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold-400); color: var(--navy-950); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 14px; background: var(--gold-400); color: var(--navy-950); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(4, 16, 34, .9); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--gold-400); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.brand-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 1.1rem; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: #b8c5d8; font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; }
.tm { font-size: .55em; vertical-align: super; margin-left: 1px; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav > a:not(.button) { color: #dbe5f3; text-decoration: none; font-size: .92rem; font-weight: 650; }
.primary-nav > a:not(.button):hover { color: var(--gold-400); }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); border-radius: 10px; padding: 9px 11px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--white); border-radius: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; line-height: 1.1; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .88rem; }
.button-primary { color: var(--navy-950); background: var(--gold-400); box-shadow: 0 12px 30px rgba(231, 173, 49, .24); }
.button-primary:hover, .button-gold:hover { background: #f7d77c; }
.button-ghost, .button-outline { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.button-ghost:hover, .button-outline:hover { border-color: var(--gold-400); background: rgba(255,255,255,.1); }
.button-gold { color: var(--navy-950); background: var(--gold-400); flex: 0 0 auto; }

.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 72% 35%, rgba(27,105,135,.28), transparent 33%), linear-gradient(135deg, var(--navy-950), var(--navy-900) 46%, #082b4c 100%); padding: 96px 0 0; }
.hero::after { content: ""; position: absolute; inset: auto -10% -250px 35%; height: 440px; background: radial-gradient(ellipse, rgba(18,133,123,.23), transparent 68%); pointer-events: none; }
.hero-grid-bg { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(410px, .88fr); gap: 80px; align-items: center; min-height: 610px; }
.eyebrow, .kicker { color: var(--gold-400); font-size: .79rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 18px 0 24px; font-size: clamp(3.1rem, 6.5vw, 6.15rem); line-height: .94; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold-400); }
.hero-lead { max-width: 780px; margin: 0; color: #d7e2ef; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status-note { display: inline-flex; align-items: flex-start; gap: 10px; margin-top: 28px; padding: 12px 15px; color: #d8e9ef; border: 1px solid rgba(116,220,202,.28); background: rgba(13,105,100,.16); border-radius: 12px; font-size: .9rem; }
.status-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #6ee7c7; box-shadow: 0 0 0 6px rgba(110,231,199,.1); flex: 0 0 auto; }

.hero-system { position: relative; min-height: 520px; display: grid; place-items: center; isolation: isolate; }
.hero-system::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(18,133,123,.28), rgba(13,37,77,.18) 62%, transparent 64%); filter: drop-shadow(0 30px 50px rgba(0,0,0,.22)); }
.orbit { position: absolute; border: 1px dashed rgba(255,255,255,.24); border-radius: 50%; animation: spin 28s linear infinite; }
.orbit-one { width: 395px; height: 395px; }
.orbit-two { width: 290px; height: 290px; animation-direction: reverse; animation-duration: 22s; border-style: solid; border-color: rgba(231,173,49,.22); }
@keyframes spin { to { transform: rotate(360deg); } }
.system-core { position: relative; z-index: 2; width: 210px; height: 210px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, #164b74, #07152f 70%); border: 2px solid rgba(241,198,90,.72); box-shadow: inset 0 0 32px rgba(255,255,255,.08), 0 25px 60px rgba(0,0,0,.36); }
.system-core::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; }
.system-core span { color: var(--gold-400); font-size: .68rem; letter-spacing: .15em; font-weight: 900; }
.system-core strong { margin: 7px 0 8px; font-size: 1.35rem; line-height: 1.06; }
.system-core small { color: #b9c9dc; }
.system-node { position: absolute; z-index: 3; min-width: 128px; padding: 9px 12px; border-radius: 11px; color: #eaf2fb; background: rgba(8,27,58,.9); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 12px 25px rgba(0,0,0,.18); font-size: .77rem; font-weight: 750; backdrop-filter: blur(10px); }
.system-node span { display: block; color: var(--gold-400); font-size: .67rem; letter-spacing: .12em; }
.node-one { top: 48px; left: 25px; }
.node-two { top: 46px; right: 14px; }
.node-three { top: 225px; right: -8px; }
.node-four { bottom: 45px; right: 25px; }
.node-five { bottom: 48px; left: 16px; }
.node-six { top: 230px; left: -8px; }
.trust-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 74px; border-top: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.1); }
.trust-strip span { min-height: 76px; display: grid; place-items: center; padding: 16px; text-align: center; color: #bfcddd; font-size: .82rem; border-right: 1px solid rgba(255,255,255,.1); }
.trust-strip span:last-child { border-right: 0; }
.trust-strip strong { color: var(--white); }

.section { padding: 104px 0; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-navy { color: var(--white); background: linear-gradient(145deg, var(--navy-950), #0b254d); }
.section-gallery { color: var(--white); background: linear-gradient(140deg, #061329, #0d3562); }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .about-grid h2, .cta-section h2 { margin: 10px 0 16px; font-size: clamp(2.35rem, 4.5vw, 4rem); line-height: 1.03; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-heading.inverse p { color: #becce0; }

.comparison-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 24px; }
.comparison-panel { position: relative; padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(22,44,70,.08); }
.comparison-panel h3 { margin: 0 0 30px; font-size: 1.9rem; letter-spacing: -.025em; }
.old-way { background: linear-gradient(145deg, #f0f3f7, #ffffff); }
.new-way { background: linear-gradient(145deg, #e9f8f5, #ffffff); border-color: #b8ddd7; }
.panel-label { display: inline-block; margin-bottom: 8px; padding: 5px 11px; border-radius: 999px; color: var(--white); background: var(--navy-800); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.new-way .panel-label { background: var(--teal-700); }
.number-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
.number-flow.six { grid-template-columns: repeat(3, 1fr); }
.number-flow li { position: relative; min-width: 0; }
.number-flow li > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 12px; color: var(--white); background: var(--navy-800); border-radius: 50%; font-weight: 900; }
.new-way .number-flow li > span { background: var(--teal-700); }
.number-flow strong, .number-flow small { display: block; }
.number-flow strong { font-size: .9rem; line-height: 1.25; text-transform: uppercase; }
.number-flow small { margin-top: 7px; color: var(--muted); line-height: 1.45; }
.limitation-tags, .outcome-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.limitation-tags span, .outcome-tags span { padding: 7px 10px; border-radius: 8px; font-size: .76rem; font-weight: 750; background: #e5eaf0; }
.outcome-tags span { color: #07534e; background: var(--teal-100); }

.workflow-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); overflow: hidden; }
.workflow-grid li { position: relative; min-height: 250px; padding: 32px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.workflow-grid li:nth-child(3n) { border-right: 0; }
.workflow-grid li:nth-last-child(-n+3) { border-bottom: 0; }
.workflow-grid li:hover { background: rgba(255,255,255,.07); }
.step-no { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 28px; border-radius: 50%; color: var(--navy-950); background: var(--gold-400); font-weight: 950; }
.workflow-grid h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.2; }
.workflow-grid p { margin: 0; color: #b8c8dd; font-size: .93rem; }
.result-bar { margin-top: 20px; padding: 18px 24px; text-align: center; color: var(--navy-950); background: var(--gold-400); border-radius: 12px; font-size: 1.02rem; }

.stack-layout { display: grid; grid-template-columns: 1.23fr .77fr; gap: 28px; align-items: start; }
.stack-rail { display: grid; gap: 12px; }
.stack-rail article { display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: start; padding: 22px; background: rgba(255,255,255,.82); border: 1px solid rgba(13,105,100,.16); border-radius: 16px; box-shadow: 0 10px 28px rgba(22,44,70,.06); }
.stack-rail article > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal-700); font-weight: 950; }
.stack-rail article:nth-child(3) > span { background: #6644a3; }
.stack-rail article:nth-child(4) > span { background: #c56b1c; }
.stack-rail article:nth-child(5) > span { background: #3b7c35; }
.stack-rail article:nth-child(6) > span { background: var(--blue-700); }
.stack-rail h3 { display: inline; margin: 0 8px 0 0; color: var(--teal-700); font-size: 1.1rem; }
.stack-rail strong { color: var(--ink); }
.stack-rail p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.architecture-outcomes { position: sticky; top: 105px; padding: 34px; color: var(--white); background: linear-gradient(160deg, var(--teal-700), #083e48 70%); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.architecture-outcomes h3 { margin: 9px 0 22px; font-size: 1.8rem; line-height: 1.18; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-700); background: #d7fff5; font-weight: 950; font-size: .78rem; }
.check-list strong, .check-list span { display: block; }
.check-list span { margin-top: 2px; color: #c5e6e1; font-size: .87rem; }
.judgement-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; padding: 16px; border-radius: 12px; background: rgba(0,0,0,.14); font-size: .77rem; font-weight: 850; }
.judgement-flow i { color: var(--gold-400); font-style: normal; }

.system-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.os-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 14px 34px rgba(22,44,70,.07); overflow: hidden; }
.os-card::after { content: ""; position: absolute; inset: auto -60px -70px auto; width: 150px; height: 150px; border-radius: 50%; background: rgba(18,133,123,.07); }
.os-status { display: inline-block; padding: 5px 9px; border-radius: 999px; color: #07534e; background: var(--teal-100); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.os-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 26px 0 18px; color: var(--gold-400); background: var(--navy-900); border-radius: 15px; font-weight: 950; }
.os-card h3 { margin: 0 0 10px; font-size: 1.23rem; line-height: 1.2; }
.os-card p { margin: 0 0 24px; color: var(--muted); font-size: .92rem; }
.os-card a { position: relative; z-index: 2; color: var(--teal-700); text-decoration: none; font-weight: 850; }
.os-card a:hover { color: var(--navy-800); }

.gallery-grid { display: grid; grid-template-columns: .7fr 1.15fr; grid-template-rows: repeat(2, minmax(280px, 1fr)); gap: 20px; }
.gallery-card { position: relative; display: block; min-height: 280px; border-radius: 20px; overflow: hidden; background: #e9eef4; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.gallery-card.portrait { grid-row: 1 / 3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card.portrait img { object-position: top center; }
.gallery-card:hover img { transform: scale(1.018); }
.gallery-card > span { position: absolute; inset: auto 0 0; padding: 45px 24px 20px; color: var(--white); background: linear-gradient(transparent, rgba(2,9,20,.88)); }
.gallery-card strong, .gallery-card small { display: block; }
.gallery-card strong { font-size: 1.02rem; }
.gallery-card small { margin-top: 3px; color: #cbd7e6; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.about-grid p { color: var(--muted); }
.about-grid .large-copy { color: var(--ink); font-size: 1.14rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.about-links a { padding: 9px 12px; border-radius: 9px; color: var(--navy-800); background: rgba(255,255,255,.65); text-decoration: none; font-weight: 800; font-size: .85rem; }
.principles-card { padding: 40px; color: var(--white); background: linear-gradient(150deg, var(--navy-900), #123e6b); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.principles-card h3 { margin: 9px 0 25px; font-size: 2rem; line-height: 1.15; }
.large-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.large-checks li { position: relative; padding-left: 34px; color: #d5e0ee; }
.large-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); font-weight: 950; }

.cta-section { padding: 72px 0; color: var(--white); background: linear-gradient(100deg, #0c5a5a, #071b39 65%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-section h2 { max-width: 800px; margin-bottom: 0; font-size: clamp(2rem, 4.5vw, 3.6rem); }

.site-footer { color: #c8d3e1; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .8fr; gap: 48px; padding-top: 70px; padding-bottom: 54px; }
.footer-grid h3 { margin: 3px 0 17px; color: var(--white); font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: #c8d3e1; text-decoration: none; font-size: .88rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand p { max-width: 420px; color: #8999ae; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0 32px; color: #7f90a5; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; }

.lightbox { width: min(1180px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 18px; background: #051022; box-shadow: 0 30px 100px rgba(0,0,0,.5); overflow: hidden; }
.lightbox::backdrop { background: rgba(1,6,14,.82); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; display: grid; place-items: center; }
.lightbox img { max-height: calc(100vh - 100px); width: auto; margin: auto; object-fit: contain; }
.lightbox figcaption { width: 100%; padding: 12px 52px 14px 18px; color: #d7e0eb; background: #061329; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; color: var(--white); background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }

@media (max-width: 1050px) {
  .primary-nav { gap: 15px; }
  .primary-nav > a:not(.button) { font-size: .84rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 25px; text-align: center; }
  .hero-copy { max-width: 850px; margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .status-note { justify-content: center; }
  .hero-system { min-height: 500px; width: min(560px, 100%); margin-inline: auto; }
  .comparison-grid, .stack-layout, .about-grid { grid-template-columns: 1fr; }
  .architecture-outcomes { position: static; }
  .system-card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(4,16,34,.98); box-shadow: 0 20px 55px rgba(0,0,0,.35); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { padding: 12px; }
  .primary-nav .button { margin-top: 7px; }
  .hero { padding-top: 72px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.2rem); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip span { border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-strip span:last-child { grid-column: 1 / -1; }
  .number-flow.six { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid li:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.12); }
  .workflow-grid li:nth-child(2n) { border-right: 0; }
  .workflow-grid li:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .workflow-grid li:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-card, .gallery-card.portrait { grid-row: auto; min-height: auto; }
  .gallery-card img { height: auto; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 26px, var(--container)); }
  .header-inner { min-height: 70px; }
  .primary-nav { top: 70px; left: 13px; right: 13px; }
  .brand-copy small { display: none; }
  .hero-layout { min-height: auto; }
  .hero h1 { letter-spacing: -.045em; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .status-note { text-align: left; }
  .hero-system { min-height: 420px; transform: scale(.85); margin-top: -26px; margin-bottom: -30px; }
  .system-node { min-width: 116px; }
  .node-one { left: -6px; }
  .node-two { right: -6px; }
  .node-three { right: -24px; }
  .node-four { right: -2px; }
  .node-five { left: -6px; }
  .node-six { left: -24px; }
  .trust-strip { grid-template-columns: 1fr; margin-top: 40px; }
  .trust-strip span, .trust-strip span:last-child { grid-column: auto; border-right: 0; }
  .section { padding: 78px 0; }
  .comparison-panel { padding: 26px 20px; }
  .number-flow, .number-flow.six { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li, .workflow-grid li:nth-child(2n), .workflow-grid li:nth-child(3n), .workflow-grid li:nth-last-child(-n+3) { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .workflow-grid li:last-child { grid-column: auto; border-bottom: 0; }
  .system-card-grid { grid-template-columns: 1fr; }
  .stack-rail article { grid-template-columns: 48px 1fr; padding: 18px; gap: 13px; }
  .stack-rail article > span { width: 42px; height: 42px; }
  .architecture-outcomes, .principles-card { padding: 28px 22px; }
  .about-grid { gap: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Political Operating System detail page */
.os-card-featured { border-color: rgba(231,173,49,.72); box-shadow: 0 18px 44px rgba(7,21,47,.14); }
.os-card-featured::before { content: "New operating-system page"; position: absolute; top: 18px; right: -42px; width: 170px; padding: 5px 0; color: var(--navy-950); background: var(--gold-400); text-align: center; font-size: .6rem; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; transform: rotate(35deg); }
.os-status-live { color: #664200; background: #fff0bd; }
.detail-hero { position: relative; overflow: hidden; padding: 82px 0 88px; color: var(--white); background: radial-gradient(circle at 80% 25%, rgba(18,133,123,.24), transparent 34%), linear-gradient(135deg, var(--navy-950), #0b2c56); }
.detail-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.detail-hero h1 { margin: 16px 0 22px; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .95; letter-spacing: -.052em; }
.detail-lead { margin: 0; max-width: 760px; color: #d7e2ef; font-size: 1.18rem; }
.back-link { display: inline-block; margin-bottom: 27px; color: #bcd0e8; text-decoration: none; font-weight: 750; font-size: .88rem; }
.back-link:hover { color: var(--gold-400); }
.detail-principle { margin-top: 26px; padding: 13px 16px; max-width: 790px; color: #d7e9e6; border: 1px solid rgba(116,220,202,.27); border-radius: 12px; background: rgba(13,105,100,.15); font-size: .9rem; }
.detail-hero-image { position: relative; display: block; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.34); transform: rotate(1.3deg); }
.detail-hero-image img { width: 100%; height: auto; }
.detail-hero-image span, .operation-visual span { position: absolute; inset: auto 0 0; padding: 35px 18px 14px; color: #fff; background: linear-gradient(transparent, rgba(2,9,20,.86)); text-align: center; font-size: .81rem; font-weight: 850; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 12px 30px rgba(22,44,70,.06); }
.value-grid article > span { color: var(--teal-600); font-weight: 950; letter-spacing: .1em; }
.value-grid h3 { margin: 15px 0 8px; font-size: 1.13rem; }
.value-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.architecture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.architecture-grid article { position: relative; min-height: 226px; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.05); }
.architecture-grid article > span { width: 39px; height: 39px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-400); border-radius: 50%; font-weight: 950; }
.architecture-grid h3 { margin: 20px 0 9px; font-size: 1.12rem; }
.architecture-grid p { margin: 0; color: #bdcce0; font-size: .9rem; }
.operation-link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.operation-link-grid a { display: flex; min-height: 190px; flex-direction: column; padding: 24px; color: var(--ink); border: 1px solid #d4d9df; border-radius: 17px; background: rgba(255,255,255,.7); text-decoration: none; box-shadow: 0 14px 30px rgba(22,44,70,.06); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.operation-link-grid a:hover { transform: translateY(-4px); border-color: var(--teal-600); background: #fff; }
.operation-link-grid span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 24px; color: #fff; background: var(--teal-700); border-radius: 50%; font-size: .75rem; font-weight: 950; }
.operation-link-grid strong { font-size: 1rem; }
.operation-link-grid small { display: block; margin-top: 7px; color: var(--muted); line-height: 1.45; }
.operation-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.operation-layout.reverse { grid-template-columns: 1.1fr .9fr; }
.operation-layout.reverse .operation-copy { order: 2; }
.operation-layout.reverse .operation-visual { order: 1; }
.operation-copy h2 { margin: 8px 0 20px; font-size: clamp(2.45rem, 4.5vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; }
.operation-copy .large-copy { color: var(--ink); font-size: 1.08rem; }
.operation-number { display: inline-block; margin-bottom: 17px; padding: 5px 10px; color: #07534e; background: var(--teal-100); border-radius: 999px; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.feature-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.feature-list li { position: relative; padding-left: 29px; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 950; }
.two-column-list { grid-template-columns: repeat(2, 1fr); }
.operation-visual { position: relative; display: block; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.operation-visual img { width: 100%; height: auto; }
.portrait-visual { width: min(510px, 100%); justify-self: center; }
.mini-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mini-chip-grid span { padding: 7px 10px; border: 1px solid #cfd8e3; border-radius: 999px; color: var(--navy-800); background: rgba(255,255,255,.68); font-size: .76rem; font-weight: 750; }
.human-control-note { margin-top: 24px; padding: 13px 15px; color: var(--navy-800); border-left: 4px solid var(--gold-500); background: #fff8e5; }
.day-flow { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.day-flow li { display: grid; grid-template-columns: 92px 100px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.72); }
.day-flow span { color: var(--teal-700); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.day-flow strong { color: var(--navy-800); }
.day-flow small { color: var(--muted); }
.political-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.political-gallery .gallery-card.portrait { grid-row: auto; }
.political-gallery .gallery-card { min-height: 370px; }
.political-gallery .gallery-card img { object-fit: contain; background: #fff; }
.governance-guardrail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.governance-guardrail h2 { margin: 9px 0 16px; font-size: clamp(2.5rem, 4.5vw, 4.2rem); line-height: 1.03; letter-spacing: -.045em; }
.governance-guardrail p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.guardrail-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.guardrail-points span { padding: 15px; color: #e6eef8; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: var(--navy-900); font-weight: 800; text-align: center; font-size: .84rem; }

@media (max-width: 1050px) {
  .detail-hero-grid, .operation-layout, .operation-layout.reverse, .governance-guardrail { grid-template-columns: 1fr; }
  .detail-hero-image { max-width: 820px; transform: none; }
  .operation-layout.reverse .operation-copy, .operation-layout.reverse .operation-visual { order: initial; }
  .operation-link-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .architecture-grid { grid-template-columns: repeat(2, 1fr); }
  .operation-visual { max-width: 900px; }
}

@media (max-width: 700px) {
  .detail-hero { padding: 64px 0 68px; }
  .detail-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .value-grid, .architecture-grid, .operation-link-grid, .political-gallery, .guardrail-points { grid-template-columns: 1fr; }
  .operation-link-grid a { min-height: 160px; }
  .two-column-list { grid-template-columns: 1fr; }
  .day-flow li { grid-template-columns: 1fr; gap: 3px; }
  .political-gallery .gallery-card { min-height: auto; }
  .os-card-featured::before { display: none; }
}

/* Corporate Governance Operating System detail page */
.portrait-detail-image { width: min(470px, 100%); justify-self: center; }
.single-visual-gallery { grid-template-columns: minmax(0, 760px); justify-content: center; }
@media (max-width: 700px) {
  .portrait-detail-image { width: 100%; }
  .single-visual-gallery { grid-template-columns: 1fr; }
}
.six-operation-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1050px) { .six-operation-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .six-operation-grid { grid-template-columns: 1fr; } }

/* Climate & Energy operating-system page */
.two-system-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
.two-system-link-grid a { min-height: 210px; }
.climate-gallery { grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; }
@media (max-width: 760px) {
  .two-system-link-grid, .climate-gallery { grid-template-columns: 1fr; }
}
