/* Win Sky Travels — inner pages (About, Visa, Corporate, Contact, Privacy, Terms). Builds on styles.css. */

/* ---------- Page hero ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(env(safe-area-inset-top, 0px) + 140px); padding-bottom: clamp(60px, 8vw, 110px); }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero-copy { display: grid; gap: 26px; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--soft); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--white); }
.phero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.phero h1 .row { display: block; }
.phero h1 .script { color: var(--sky-light); font-size: 1.12em; line-height: .8; }
.phero h1 .ch { display: inline-block; }
.motion .phero h1 .ch { opacity: 0; transform: translateY(.6em) rotateX(-90deg); transform-origin: 50% 100%; animation: chIn .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * 26ms); }
.motion .phero .fade-in { animation-delay: var(--d, .9s); }
.phero .lead { max-width: 40ch; }
.phero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.phero-visual { position: relative; min-width: 0; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.phero-visual .orbit { position: absolute; inset: 6%; border-radius: 50%; border: 2px dashed rgba(124,198,230,.25); animation: spin 40s linear infinite; }
.phero-visual .orbit::after { content: ""; position: absolute; left: 50%; top: -15px; width: 30px; height: 30px; margin-left: -15px; background: var(--coral); -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat; transform: rotate(45deg); }
.phero-visual .orbit.o2 { inset: 20%; animation-duration: 26s; animation-direction: reverse; border-color: rgba(240,106,81,.22); }
.phero-visual .orbit.o2::after { display: none; }

/* About: route card */
.route-viz { position: relative; width: 82%; border-radius: 30px; padding: 26px; background: linear-gradient(160deg, #1E2260, #12153F); box-shadow: inset 0 0 0 1px var(--faint), 0 40px 80px -30px rgba(0,0,0,.7); animation: floaty 7s ease-in-out infinite; }
.route-viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.route-viz .arcp { fill: none; stroke: var(--sky-light); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
.route-viz .lbl { font: 800 22px var(--font-display); fill: var(--white); letter-spacing: -.02em; }
.route-viz .sub { font: 600 12px var(--font-display); fill: var(--soft); letter-spacing: .16em; text-transform: uppercase; }
.route-viz .row2 { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--faint); font-family: var(--font-display); font-size: .82rem; color: var(--soft); }
.route-viz .row2 b { display: block; color: var(--white); font-size: 1rem; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-1deg); } }

/* Visa: passport with stamps */
.pp-viz { position: relative; width: 66%; aspect-ratio: 5 / 7; border-radius: 22px 30px 30px 22px; background: linear-gradient(150deg, #1C87B3, #161946 80%); box-shadow: inset 10px 0 0 rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.75); display: grid; place-items: center; animation: floaty 7s ease-in-out infinite; }
.pp-viz .crest { width: 38%; color: rgba(255,255,255,.85); }
.pp-viz .ptxt { position: absolute; top: 12%; left: 0; right: 0; text-align: center; font: 800 .8rem var(--font-display); letter-spacing: .32em; color: rgba(255,255,255,.8); }
.pp-viz .ptxt.b { top: auto; bottom: 12%; letter-spacing: .2em; font-size: .7rem; color: rgba(255,255,255,.6); }
.stamp-s { position: absolute; padding: 8px 14px; border: 3px solid currentColor; border-radius: 12px; font: 800 .78rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; text-align: center; background: rgba(10,12,41,.35); backdrop-filter: blur(2px); }
.stamp-s small { display: block; font-size: .62rem; letter-spacing: .2em; opacity: .8; }
.stamp-s.s1 { color: var(--coral); top: 14%; right: -14%; transform: rotate(12deg); }
.stamp-s.s2 { color: var(--sky-light); bottom: 22%; left: -18%; transform: rotate(-10deg); border-radius: 50%; width: 112px; height: 112px; display: grid; place-content: center; }
.stamp-s.s3 { color: #3BE48B; bottom: -4%; right: -6%; transform: rotate(-6deg); }
.motion .stamp-s { opacity: 0; animation: stampIn 4.8s var(--ease) infinite; }
.motion .stamp-s.s2 { animation-delay: .8s; } .motion .stamp-s.s3 { animation-delay: 1.6s; }
@keyframes stampIn { 0% { opacity: 0; scale: 1.8; } 8% { opacity: 1; scale: 1; } 82% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1; } }

/* Corporate: floating passes */
.pass-stack { position: relative; width: 84%; display: grid; gap: 14px; }
.mini-pass { position: relative; border-radius: 22px; padding: 18px 22px; background: linear-gradient(160deg, #1E2260, #12153F); box-shadow: inset 0 0 0 1px var(--faint), 0 30px 60px -24px rgba(0,0,0,.7); display: grid; gap: 10px; font-family: var(--font-display); }
.mini-pass .top { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.mini-pass .top b { color: var(--coral); }
.mini-pass .rt { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; }
.mini-pass .rt i { flex: 1; border-top: 2px dashed rgba(124,198,230,.5); position: relative; }
.mini-pass .rt i::after { content: ""; position: absolute; left: 50%; top: -12px; width: 22px; height: 22px; margin-left: -11px; background: var(--sky-light); -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat; transform: rotate(45deg); }
.mini-pass .who { display: flex; justify-content: space-between; font-size: .82rem; color: var(--soft); }
.mini-pass .who b { color: var(--white); display: block; font-size: .95rem; }
.mini-pass.p1 { transform: rotate(-3deg); animation: floatA 8s ease-in-out infinite; }
.mini-pass.p2 { z-index: 1; transform: rotate(2deg) translateX(7%); animation: floatB 9s ease-in-out infinite; background: linear-gradient(140deg, var(--coral), var(--coral-deep)); }
.mini-pass.p2 .top, .mini-pass.p2 .who { color: rgba(255,255,255,.85); } .mini-pass.p2 .top b { color: var(--white); } .mini-pass.p2 .rt i { border-color: rgba(255,255,255,.6); } .mini-pass.p2 .rt i::after { background: var(--white); }
.mini-pass.p3 { transform: rotate(-1.5deg) translateX(-4%); animation: floatA 10s ease-in-out infinite reverse; }
@keyframes floatA { 50% { translate: 0 -12px; } }
@keyframes floatB { 50% { translate: 0 10px; } }

/* Contact: chat */
.chat-viz { position: relative; width: 82%; border-radius: 30px; padding: 22px; background: linear-gradient(160deg, #1E2260, #12153F); box-shadow: inset 0 0 0 1px var(--faint), 0 40px 80px -30px rgba(0,0,0,.7); display: grid; gap: 12px; animation: floaty 8s ease-in-out infinite; }
.chat-viz .ch-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--faint); font-family: var(--font-display); }
.chat-viz .ch-head img { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); object-fit: contain; padding: 4px; }
.chat-viz .ch-head b { display: block; } .chat-viz .ch-head small { color: #3BE48B; font-size: .78rem; }
.bub { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.4; }
.bub.me { justify-self: end; background: var(--sky); border-bottom-right-radius: 6px; }
.bub.us { justify-self: start; background: rgba(255,255,255,.09); border-bottom-left-radius: 6px; }
.bub.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--soft); animation: blink 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .2s; } .bub.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; transform: translateY(-3px); } }
.motion .chat-viz .bub { opacity: 0; transform: translateY(14px) scale(.96); animation: bubIn .6s var(--ease) forwards; }
.motion .chat-viz .bub:nth-of-type(1) { animation-delay: 1s; } .motion .chat-viz .bub:nth-of-type(2) { animation-delay: 1.9s; }
.motion .chat-viz .bub:nth-of-type(3) { animation-delay: 2.8s; } .motion .chat-viz .bub:nth-of-type(4) { animation-delay: 3.7s; }
@keyframes bubIn { to { opacity: 1; transform: none; } }

/* ---------- Content blocks ---------- */
.big-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); line-height: 1.18; letter-spacing: -.03em; max-width: 26ch; }
.big-text em { font-style: normal; color: var(--sky-light); }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.two-col .prose { display: grid; gap: 18px; color: var(--soft); font-size: var(--step-1); line-height: 1.6; }
.two-col .prose b { color: var(--white); }

.vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vcard { position: relative; border-radius: 26px; padding: 28px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); display: grid; gap: 14px; align-content: start; transition: transform .5s var(--ease), background .5s var(--ease); min-width: 0; text-decoration: none; }
a.vcard:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.vcard .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(28,135,179,.2); color: var(--sky-light); }
.vcard .ico .icon { width: 28px; height: 28px; }
.vcard h3 { font-size: var(--step-1); font-weight: 800; }
.vcard p { color: var(--soft); }
.vcard .code { position: absolute; right: 24px; top: 22px; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: -.03em; color: rgba(124,198,230,.22); }
.vcard .rows { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--faint); font-size: .92rem; }
.vcard .rows div { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); }
.vcard .rows b { color: var(--white); text-align: right; }
.vcard .more { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--coral); display: inline-flex; align-items: center; gap: 8px; }
.vcard .more .icon { width: 18px; height: 18px; }
.vcard.hl { background: linear-gradient(150deg, var(--sky), #146A8E); box-shadow: none; }
.vcard.hl p, .vcard.hl .rows div { color: rgba(255,255,255,.85); }
.vcard.hl .more { color: var(--white); }
.vcard.hl .ico { background: rgba(255,255,255,.18); color: var(--white); }

.steps-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: st; position: relative; }
.steps-row::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; border-top: 2px dashed rgba(124,198,230,.3); }
.steps-row li { list-style: none; position: relative; padding-right: 24px; display: grid; gap: 10px; align-content: start; }
.steps-row .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); box-shadow: inset 0 0 0 2px var(--sky); color: var(--sky-light); position: relative; z-index: 1; margin-bottom: 8px; }
.steps-row li:last-child .dot { background: var(--coral); box-shadow: none; color: var(--white); }
.steps-row small { font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .2em; color: var(--sky-light); }
.steps-row b { font-family: var(--font-display); font-size: var(--step-1); }
.steps-row span { color: var(--soft); }
.steps-row ol, ol.steps-row { margin: 0; padding: 0; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); }
.checklist .icon { color: #3BE48B; margin-top: 2px; }
.checklist b { display: block; font-family: var(--font-display); }
.checklist span { color: var(--soft); font-size: .95rem; }

.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.office { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(26px, 3vw, 40px); min-height: 300px; display: grid; align-content: end; gap: 12px; background: linear-gradient(160deg, #1E2260, #12153F); box-shadow: inset 0 0 0 1px var(--faint); isolation: isolate; }
.office .bgimg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .45; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.office::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(10,12,41,.92)); }
.office:hover .bgimg { transform: scale(1); }
.office .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); letter-spacing: -.05em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--sky-light); }
.office h3 { font-size: var(--step-2); font-weight: 800; }
.office p { color: var(--soft); }
.office .badge { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--coral); font: 700 .72rem var(--font-display); letter-spacing: .16em; text-transform: uppercase; }


.badge-strip { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: clamp(24px, 3vw, 36px); border-radius: 30px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); }
.badge-strip .seal { display: flex; align-items: center; gap: 18px; }
.badge-strip .seal i { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); font: 800 .95rem var(--font-display); font-style: normal; letter-spacing: .06em; box-shadow: 0 0 0 6px rgba(28,135,179,.25); }
.badge-strip h3 { font-size: var(--step-1); font-weight: 800; }
.badge-strip p { color: var(--soft); }

/* ---------- Forms ---------- */
.form-card { border-radius: 30px; padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, #1E2260, #12153F); box-shadow: inset 0 0 0 1px var(--faint), 0 40px 80px -40px rgba(0,0,0,.7); display: grid; gap: 18px; }
.form-card h3 { font-size: var(--step-2); font-weight: 800; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.ff { display: grid; gap: 8px; min-width: 0; }
.ff label { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-light); }
.ff input, .ff select, .ff textarea { width: 100%; font: inherit; color: var(--white); background: rgba(10,12,41,.55); border: 0; border-radius: 14px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--faint); transition: box-shadow .3s var(--ease); color-scheme: dark; }
.ff textarea { min-height: 110px; resize: vertical; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sky); }
.ff input::placeholder, .ff textarea::placeholder { color: rgba(238,244,255,.4); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--faint); font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--text); transition: background .3s, box-shadow .3s; }
.chips input:checked + span { background: var(--coral); box-shadow: none; color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.form-note { color: var(--soft); font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.ccards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); text-decoration: none; transition: transform .4s var(--ease), background .4s var(--ease); }
a.ccard:hover { transform: translateX(6px); background: rgba(255,255,255,.1); }
.ccard .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(240,106,81,.18); color: var(--coral); flex: none; }
.ccard small { display: block; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-light); }
.ccard b { font-family: var(--font-display); font-size: 1.1rem; overflow-wrap: anywhere; }
.ccard span.s { display: block; color: var(--soft); font-size: .9rem; }
.ccard.primary { background: linear-gradient(140deg, #25D366, #128C7E); box-shadow: none; }
.ccard.primary .ico { background: rgba(255,255,255,.2); color: var(--white); }
.ccard.primary small, .ccard.primary span.s { color: rgba(255,255,255,.85); }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal .draft { padding: 16px 20px; border-radius: 16px; background: rgba(240,106,81,.12); box-shadow: inset 0 0 0 1px rgba(240,106,81,.35); color: #FFD0C7; margin-bottom: 40px; font-size: .95rem; }
.legal h2 { font-size: var(--step-2); font-weight: 800; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0 0; }
.legal a { color: var(--sky-light); }
.legal .updated { font-family: var(--font-display); font-weight: 600; color: var(--sky-light); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .phero-grid, .two-col { grid-template-columns: 1fr; }
  .phero-visual { max-width: 420px; }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps-row::before { display: none; }
}
@media (max-width: 640px) {
  .phero { padding-top: calc(env(safe-area-inset-top, 0px) + 110px); }
  .vcards, .offices, .checklist, .fgrid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .phero-visual { max-width: 340px; }
  .stamp-s.s1 { right: -6%; } .stamp-s.s2 { left: -8%; width: 96px; height: 96px; }
  .mini-pass .rt { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .phero-visual .orbit, .route-viz, .pp-viz, .mini-pass, .chat-viz { animation: none !important; }
}

/* ---------- Packages page ---------- */
.fchips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.fchip { font: 600 .95rem var(--font-display); color: var(--text); background: transparent; border: 0; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--faint); cursor: pointer; transition: background .3s, box-shadow .3s, color .3s; }
.fchip:hover { background: var(--glass); }
.fchip.on { background: var(--coral); box-shadow: none; color: var(--white); }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.pk-grid .flipcard { flex: none; width: 100%; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pk-grid .flipcard.out { opacity: 0; transform: scale(.94); pointer-events: none; }
.pk-grid .flipcard.gone { display: none; }
.back-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.back-actions .btn { padding-inline: 12px; font-size: .9rem; }
.back .back-actions { align-self: end; }

/* ---------- Group trips visual ---------- */
.group-viz { position: relative; width: 82%; border-radius: 30px; padding: 26px; background: linear-gradient(160deg, #1E2260, #12153F); box-shadow: inset 0 0 0 1px var(--faint), 0 40px 80px -30px rgba(0,0,0,.7); display: grid; gap: 18px; font-family: var(--font-display); animation: floaty 8s ease-in-out infinite; }
.gv-top { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.gv-top b { color: #3BE48B; }
.gv-avs { display: flex; padding-left: 12px; }
.gv-avs i { width: 52px; height: 52px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--c); color: var(--navy); box-shadow: 0 0 0 4px #1A1D52; }
.motion .gv-avs i { opacity: 0; transform: translateY(14px) scale(.7); animation: avIn .6s var(--ease) forwards; }
.gv-avs i:nth-child(1) { animation-delay: .9s } .gv-avs i:nth-child(2) { animation-delay: 1.05s } .gv-avs i:nth-child(3) { animation-delay: 1.2s }
.gv-avs i:nth-child(4) { animation-delay: 1.35s } .gv-avs i:nth-child(5) { animation-delay: 1.5s } .gv-avs i:nth-child(6) { animation-delay: 1.65s; color: var(--white); }
@keyframes avIn { to { opacity: 1; transform: none; } }
.gv-count { display: flex; align-items: center; gap: 16px; }
.gv-count b { font-size: 4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--sky-light); }
.gv-count span { color: var(--soft); line-height: 1.3; }
.gv-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.gv-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--coral)); transform-origin: left; }
.motion .gv-bar i { transform: scaleX(0); animation: barIn 1.6s var(--ease) 1.8s forwards; }
@keyframes barIn { to { transform: none; } }
.gv-rows { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--faint); font-size: .9rem; }
.gv-rows div { display: flex; justify-content: space-between; color: var(--soft); }
.gv-rows b { color: var(--white); }
@media (max-width: 640px) { .gv-avs i { width: 44px; height: 44px; } .gv-count b { font-size: 3.2rem; } }
@media (prefers-reduced-motion: reduce) { .group-viz { animation: none !important; } }
.back-actions .btn { white-space: nowrap; gap: 6px; } .back-actions .btn .icon { display: none; }

/* ---------- Remotion hero loops ---------- */
.phero-visual .loopfilm { position: absolute; inset: -6%; z-index: 2; opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.phero-visual .loopfilm .film-mount, .phero-visual .loopfilm .film-mount > div { width: 100%; height: 100%; }
.phero-visual .loopfilm.film-ready { opacity: 1; }
.phero-visual > :not(.loopfilm) { transition: opacity .6s var(--ease); }
.phero-visual:has(.loopfilm.film-ready) > :not(.loopfilm) { opacity: 0; }
@media (max-width: 640px) { .phero-visual .loopfilm { inset: -2%; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.bcard { display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); text-decoration: none; transition: transform .5s var(--ease), background .5s var(--ease); }
.bcard:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.bcard .bimg { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.bcard .bimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,12,41,.55)); }
.bcat { display: inline-block; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: var(--white); font: 700 .72rem var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.bcard .bcat { position: absolute; left: 16px; top: 16px; z-index: 1; }
.bcard .bbody { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.bcard small { color: var(--sky-light); font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
.bcard h3 { font-size: var(--step-1); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.bcard p { color: var(--soft); font-size: .98rem; }
.bcard .more { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--coral); display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.bcard .more .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.bcard:hover .more .icon { transform: translateX(4px); }
.bcard[hidden] { display: none; }
.post-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(78vh, 680px); display: grid; align-items: end; padding: calc(env(safe-area-inset-top, 0px) + 140px) 0 clamp(36px, 6vw, 70px); }
.post-hero .ph-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.06); animation: phZoom 14s var(--ease) forwards; }
.post-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,41,.35) 0%, rgba(10,12,41,.55) 45%, var(--bg) 100%); }
@keyframes phZoom { to { transform: scale(1); } }
.post-hero .ph-in { display: grid; gap: 18px; max-width: 920px; }
.post-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.post-hero .lead { color: rgba(238,244,255,.86); max-width: 52ch; }
.pmeta { color: var(--soft); font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 80px); align-items: start; }
.post { max-width: 720px; font-size: 1.1rem; line-height: 1.75; }
.post > p, .post li { color: rgba(238,244,255,.82); }
.post h2 { font-size: var(--step-2); font-weight: 800; letter-spacing: -.03em; margin: 46px 0 14px; line-height: 1.15; }
.post ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 16px 0; }
.post ul li { position: relative; padding-left: 30px; }
.post ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--coral); }
.post b { color: var(--white); }
.post p + p { margin-top: 14px; }
.post-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.post-sum div { padding: 16px 18px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); display: grid; gap: 4px; }
.post-sum small { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-light); }
.post-sum b { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.post-cta { margin: 44px 0 18px; padding: 24px 26px; border-radius: 24px; background: linear-gradient(140deg, var(--sky), #146A8E); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.post-cta b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.post-cta span { color: rgba(255,255,255,.85); font-size: .98rem; }
.post-sources { margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--faint); }
.post-sources h2 { font-size: 1rem; margin: 0 0 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-light); }
.post-sources li { font-size: .92rem; }
.post-sources a { color: var(--sky-light); }
.post-side { position: sticky; top: 110px; }
.side-card { padding: 24px; border-radius: 24px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--faint); display: grid; }
@media (max-width: 900px) { .post-wrap { grid-template-columns: 1fr; } .post-side { position: static; } }
@media (max-width: 560px) { .post-sum { grid-template-columns: 1fr; } .post { font-size: 1.02rem; } }
@media (prefers-reduced-motion: reduce) { .post-hero .ph-img { animation: none; transform: none; } }
