/* 2026 editorial redesign — intentionally isolated to the corporate landing page. */
:root {
  --night: #090b12;
  --night-soft: #121725;
  --ivory: #f2efe9;
  --coral: #ff6547;
  --electric: #9caeff;
}

body:has(.signal-home) { background: var(--ivory); color: var(--night); }
body:has(.signal-home) .site-header {
  position: absolute; inset: 0 0 auto; z-index: 20;
  background: linear-gradient(180deg, rgba(5, 7, 12, .62), transparent);
  border: 0; color: white;
}
body:has(.signal-home) .site-header__inner { width: min(1440px, calc(100% - 3rem)); min-height: 5.65rem; }
body:has(.signal-home) .brand, body:has(.signal-home) .nav a { color: #fff; }
body:has(.signal-home) .brand small { color: rgba(255,255,255,.6); }
body:has(.signal-home) .brand__mark { filter: brightness(0) invert(1); }
body:has(.signal-home) .wansyne-logo--header { filter: brightness(0) invert(1); }
body:has(.signal-home) .nav { gap: .55rem; }
body:has(.signal-home) .nav > a:not(.button) { padding: .45rem .55rem; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase; }
body:has(.signal-home) .nav__cta, body:has(.signal-home) .button { background: var(--coral); border-color: var(--coral); color: #fff; border-radius: 999px; box-shadow: none; }
body:has(.signal-home) .nav__cta:hover, body:has(.signal-home) .button:hover { background: #ff836d; border-color: #ff836d; color: #fff; }
body:has(.signal-home) .lang-switch select { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(0,0,0,.15); }

.scroll-meter { position: fixed; top: 0; left: 0; z-index: 100; height: 3px; width: var(--scroll, 0%); background: linear-gradient(90deg, var(--coral), #ffc399, var(--electric)); transition: width .08s linear; }
.signal-home { overflow: clip; }
.signal-home h1, .signal-home h2, .signal-home h3 { font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif; }
.signal-home .hero { min-height: 100svh; padding: 8.8rem 0 3rem; position: relative; display: grid; align-items: end; isolation: isolate; color: white; background: var(--night); }
.signal-home .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,6,11,.96) 0%, rgba(4,6,11,.80) 33%, rgba(4,6,11,.15) 75%), linear-gradient(0deg, rgba(4,6,11,.76), transparent 54%); }
.signal-home .hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.signal-home .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.04) translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform .35s ease-out; }
.signal-home .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .5fr); gap: 2rem; align-items: end; width: min(1440px, calc(100% - 3rem)); margin-inline: auto; }
.signal-home .hero-kicker, .signal-home .section-label { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.signal-home .hero-kicker::before, .signal-home .section-label::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.signal-home .hero h1 { max-width: 11ch; margin: 0; color: #fff; font-size: clamp(3.8rem, 8.7vw, 9.7rem); letter-spacing: -.085em; line-height: .86; font-weight: 600; }
.signal-home .hero-copy { max-width: 25rem; margin: 1.6rem 0 0; font-size: clamp(1rem, 1.45vw, 1.28rem); line-height: 1.5; color: rgba(255,255,255,.78); }
.signal-home .hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.signal-home .button--wire { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.signal-home .button--wire:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero-side { border-top: 1px solid rgba(255,255,255,.34); padding-top: 1rem; color: rgba(255,255,255,.76); }
.hero-side p { margin: 0; font-size: .82rem; line-height: 1.55; }
.hero-side strong { display: block; margin-bottom: .3rem; color: #fff; font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-index { display: flex; justify-content: space-between; align-items: end; margin-top: 3.5rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.58); }
.pulse-dot { display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,101,71,.65); animation: pulse 1.8s infinite; }

.signal-intro { position: relative; padding: clamp(5rem, 11vw, 11rem) 0 7rem; background: var(--ivory); }
.signal-intro .container, .signal-brief .container, .signal-close .container { width: min(1280px, calc(100% - 3rem)); }
.intro-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; }
.signal-intro .section-label { color: #656b76; }
.signal-intro h2 { max-width: 14ch; margin: 0; font-size: clamp(2.45rem, 5.5vw, 6rem); line-height: .96; letter-spacing: -.07em; font-weight: 500; }
.intro-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 5rem; background: #c9c6c0; border-top: 1px solid #c9c6c0; }
.detail-cell { min-height: 12rem; padding: 1.35rem; background: var(--ivory); }
.detail-number { display: block; margin-bottom: 3rem; color: var(--coral); font-size: .78rem; letter-spacing: .1em; }
.detail-cell h3 { margin: 0 0 .55rem; font-size: 1.15rem; letter-spacing: -.04em; }
.detail-cell p { margin: 0; color: #626673; font-size: .92rem; }

.signal-rail { padding: 7rem 0 0; color: #fff; background: var(--night); }
.signal-rail .rail-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; width: min(1280px, calc(100% - 3rem)); margin: 0 auto 3rem; }
.signal-rail .section-label { color: #aab4db; }
.signal-rail h2 { max-width: 11ch; margin: 0; color: #fff; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .94; letter-spacing: -.07em; font-weight: 500; }
.rail-note { max-width: 18rem; color: rgba(255,255,255,.62); font-size: .92rem; }
.rail-window { overflow: hidden; padding-left: max(1.5rem, calc((100vw - 1280px) / 2)); }
.rail-track { display: flex; width: max-content; padding: 0 0 4.5rem; will-change: transform; }
.rail-card { position: relative; width: min(74vw, 620px); min-height: 30rem; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid rgba(255,255,255,.17); background: radial-gradient(circle at 75% 20%, rgba(156,174,255,.18), transparent 30%); }
.rail-card:last-child { border-right: 1px solid rgba(255,255,255,.17); }
.rail-card::after { content: ""; position: absolute; right: 2rem; top: 3rem; width: 8rem; height: 8rem; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; transition: transform .7s cubic-bezier(.16,1,.3,1), background .5s; }
.rail-card:hover::after { transform: scale(1.5); background: rgba(255,101,71,.16); }
.rail-count { color: var(--coral); font-size: .8rem; letter-spacing: .12em; }
.rail-card h3 { position: relative; z-index: 1; max-width: 12ch; margin: 0 0 .85rem; color: white; font-size: clamp(2.25rem, 4vw, 4.8rem); line-height: 1.08; letter-spacing: -.07em; font-weight: 500; }
.rail-card p { position: relative; z-index: 1; max-width: 23rem; margin: 1rem 0 0; color: rgba(255,255,255,.65); font-size: .96rem; }
.rail-footer { display: flex; align-items: center; gap: .8rem; width: min(1280px, calc(100% - 3rem)); margin: 0 auto; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.56); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.rail-footer .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--coral), transparent); }

.signal-brief { padding: clamp(5rem, 9vw, 9rem) 0; background: #dce4eb; }
.brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 9rem); }
.signal-brief h2 { max-width: 11ch; margin: 0; font-size: clamp(3rem, 6vw, 6.5rem); line-height: .9; letter-spacing: -.08em; font-weight: 500; }
.brief-list { border-top: 1px solid rgba(9,11,18,.27); }
.brief-item { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(9,11,18,.27); }
.brief-item span { color: var(--coral); font-size: .72rem; letter-spacing: .08em; }
.brief-item h3 { margin: 0 0 .35rem; font-size: 1.35rem; letter-spacing: -.045em; }
.brief-item p { margin: 0; color: #434a57; font-size: .92rem; }

.signal-close { position: relative; padding: clamp(6rem, 12vw, 12rem) 0 4rem; min-height: 70vh; display: flex; align-items: center; overflow: hidden; color: white; background: linear-gradient(90deg, rgba(20, 12, 26, .36), rgba(20, 12, 26, .94) 72%), #161324 url("../img/signal-orbit-close.png") center / cover no-repeat; }
.signal-close::before { content: ""; position: absolute; left: -20vw; bottom: -30vw; width: 80vw; height: 80vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,101,71,.95) 0%, rgba(255,101,71,.18) 26%, transparent 67%); filter: blur(5px); animation: drift 12s ease-in-out infinite alternate; }
.signal-close .container { position: relative; }
.signal-close .section-label { color: #ffd0c6; }
.signal-close h2 { max-width: 12ch; margin: 0; color: #fff; font-size: clamp(3.2rem, 7.5vw, 8rem); line-height: .86; letter-spacing: -.09em; font-weight: 500; }
.signal-close .lede { max-width: 32rem; margin: 1.5rem 0 0; color: rgba(255,255,255,.68); }
.signal-close .close-meta { margin-top: 4.5rem; font-size: .8rem; color: rgba(255,255,255,.56); }
/* The shared shell replaces its host node, so style the rendered footer directly. */
body:has(.signal-home) .site-footer { padding: 5.5rem 0 1.5rem; background: #090b12; color: #b5b8c4; border-top: 1px solid rgba(255,255,255,.12); }
body:has(.signal-home) .site-footer > .container { width: min(1280px, calc(100% - 3rem)); }
body:has(.signal-home) .footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.25fr; gap: 0 4rem; margin: 0; }
body:has(.signal-home) .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem 3rem; align-items: end; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.2); }
body:has(.signal-home) .footer-brand strong { grid-row: span 2; align-self: center; margin: 0; color: #f2efe9; font-size: clamp(5rem, 12vw, 11rem); line-height: .7; font-weight: 600; letter-spacing: -.1em; text-transform: lowercase; }
body:has(.signal-home) .footer-brand p { max-width: 24rem; margin: 0; color: #a7aab7; font-size: .82rem; line-height: 1.6; }
body:has(.signal-home) .footer-brand p:first-of-type { color: #fff; font-size: 1rem; }
body:has(.signal-home) .footer-col { padding: 2.5rem 0 3rem; }
body:has(.signal-home) .footer-col h3 { margin: 0 0 1.6rem; color: #ff8067; font-size: .68rem; letter-spacing: .16em; }
body:has(.signal-home) .footer-col ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
body:has(.signal-home) .footer-col:last-child ul { grid-template-columns: 1fr; }
body:has(.signal-home) .footer-col li + li { margin: 0; }
body:has(.signal-home) .site-footer a { display: inline-block; color: #e8e8ed; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; text-decoration: none; transition: color .2s, transform .2s; }
body:has(.signal-home) .site-footer a:hover, body:has(.signal-home) .site-footer a:focus-visible { color: #ff8067; transform: translateX(4px); }
body:has(.signal-home) .footer-col:last-child a { font-size: 1.05rem; }
body:has(.signal-home) .footer-meta { gap: 1rem; padding: 1.4rem 0 0; border-top: 1px solid rgba(255,255,255,.2); color: #8e929f; font-size: .72rem; letter-spacing: .03em; }
/* Navigation leads; company details form a quieter closing signature. */
body:has(.signal-home) .site-footer { background: #e6e3dc; color: #242631; border-top: 0; }
body:has(.signal-home) .footer-grid { grid-template-columns: 1fr 1.3fr 1fr; gap: 0 3rem; }
body:has(.signal-home) .footer-brand { order: 4; grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto 1fr; align-items: start; align-content: start; gap: .8rem 3rem; padding: 3.5rem 0; border-top: 1px solid #a9a8a5; border-bottom: 0; }
body:has(.signal-home) .footer-brand strong { grid-column: 1; grid-row: 1 / 3; align-self: start; color: #242631; line-height: .85; }
body:has(.signal-home) .footer-brand .wansyne-logo--footer { width: min(100%, 320px); filter: brightness(0) saturate(100%) opacity(.88); }
body:has(.signal-home) .footer-brand p:nth-of-type(1) { grid-column: 2; grid-row: 1; }
body:has(.signal-home) .footer-brand p:nth-of-type(2) { grid-column: 3; grid-row: 1 / 3; }
body:has(.signal-home) .footer-brand p:nth-of-type(3) { grid-column: 2; grid-row: 2; }
body:has(.signal-home) .footer-brand p, body:has(.signal-home) .footer-brand p:first-of-type { color: #60616a; }
body:has(.signal-home) .footer-col { padding: 0 0 4rem; }
body:has(.signal-home) .footer-col h3 { color: #8d4436; }
body:has(.signal-home) .site-footer .footer-col a { color: #313441; font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; letter-spacing: -.025em; }
body:has(.signal-home) .site-footer .footer-col:last-child a { color: #ad4738; }
body:has(.signal-home) .site-footer .footer-col a:hover, body:has(.signal-home) .site-footer .footer-col a:focus-visible { color: #d4513e; }
body:has(.signal-home) .footer-meta { border-color: #a9a8a5; color: #696b73; }

[data-signal-reveal] { opacity: 0; transform: translateY(2.25rem); transition: opacity .75s ease, transform .9s cubic-bezier(.16,1,.3,1); }
[data-signal-reveal].is-visible { opacity: 1; transform: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .7rem rgba(255,101,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,101,71,0); } }
@keyframes drift { from { transform: translate(-5%, 4%) scale(.9); } to { transform: translate(14%, -13%) scale(1.14); } }

@media (max-width: 920px) {
  body:has(.signal-home) .site-header { position: relative; background: var(--night); }
  body:has(.signal-home) .nav-toggle { color: white; border-color: rgba(255,255,255,.4); background: transparent; }
  body:has(.signal-home) .nav { background: #131724; padding: 1rem; }
  .signal-home .hero { min-height: 46rem; padding-top: 7rem; }
  .signal-home .hero-grid, .intro-grid, .brief-grid { grid-template-columns: 1fr; }
  .hero-side { margin-top: 2rem; }
  .intro-detail { margin-top: 3rem; }
  .signal-rail .rail-head { align-items: start; flex-direction: column; }
  body:has(.signal-home) .footer-grid { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  body:has(.signal-home) .footer-brand { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  body:has(.signal-home) .footer-brand strong { grid-row: 1; grid-column: 1 / -1; margin-bottom: 1.5rem; }
  body:has(.signal-home) .footer-brand p:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  body:has(.signal-home) .footer-brand p:nth-of-type(2) { grid-column: 2; grid-row: 2 / 4; }
  body:has(.signal-home) .footer-brand p:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  body:has(.signal-home) .footer-col:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); }
  body:has(.signal-home) .footer-brand { order: 4; }
  body:has(.signal-home) .footer-col:last-child { border-color: #b9b7b2; }
}
@media (max-width: 620px) {
  body:has(.signal-home) .site-header__inner, .signal-home .hero-grid, .signal-intro .container, .signal-brief .container, .signal-close .container, .signal-rail .rail-head, .rail-footer { width: min(100% - 2rem, 1280px); }
  .signal-home .hero { min-height: 42rem; padding-bottom: 2rem; }
  .signal-home .hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .intro-detail { grid-template-columns: 1fr; }
  .detail-cell { min-height: auto; }
  .detail-number { margin-bottom: 1.5rem; }
  .rail-card { width: 87vw; min-height: 25rem; padding: 1.5rem; }
  body:has(.signal-home) .site-footer { padding-top: 4rem; }
  body:has(.signal-home) .site-footer > .container { width: calc(100% - 2rem); }
  body:has(.signal-home) .footer-grid { display: flex; flex-direction: column; gap: 0; }
  body:has(.signal-home) .footer-brand { grid-template-columns: 1fr; padding-bottom: 2.5rem; }
  body:has(.signal-home) .footer-brand strong, body:has(.signal-home) .footer-brand p:nth-of-type(n) { grid-column: 1; grid-row: auto; }
  body:has(.signal-home) .footer-brand strong { font-size: clamp(5rem, 25vw, 8rem); }
  body:has(.signal-home) .footer-col { padding: 2rem 0; border-bottom: 1px solid #b9b7b2; }
  body:has(.signal-home) .footer-col:last-child { border-top: 0; border-bottom: 0; }
  body:has(.signal-home) .footer-brand { padding: 3rem 0; }
  body:has(.signal-home) .footer-meta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .signal-close::before { animation: none; }
  .signal-home .hero__media img, [data-signal-reveal] { transition: none; transform: none; }
  [data-signal-reveal] { opacity: 1; }
}
