/* Motion layer: purely additive. To go back, remove this file, motion.js and the include lines in the four pages. */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); --ease-spring: cubic-bezier(.3, 1.35, .5, 1); }

/* ---------- page transitions (cross-document View Transitions; ignored where unsupported) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s ease both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) scale(1.01); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- shared keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes card-in { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(.97); } }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-25deg); } }
@keyframes record-in { from { opacity: 0; transform: scale(.5) rotate(-70deg); } }
@keyframes force-show { to { opacity: 1; transform: none; } }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes ripple { from { scale: 1; opacity: .8; } to { scale: 2.8; opacity: 0; } }
@keyframes pin-pop { from { opacity: 0; scale: .2; } }
@keyframes kenburns { from { scale: 1; } to { scale: 1.07; } }
@keyframes aurora { from { transform: translate3d(-4%, -3%, 0) rotate(0deg) scale(1); } to { transform: translate3d(5%, 4%, 0) rotate(10deg) scale(1.1); } }

/* ---------- reveal on scroll (attribute is added by motion.js only to elements below the fold) ---------- */
.has-motion [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.has-motion [data-reveal].is-in { opacity: 1; transform: none; }
.has-motion [data-reveal]:not(.is-in) { animation: force-show .01s 4s forwards; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; z-index: 100; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #2b6cff, #22c8da, #ffcc4d); box-shadow: 0 0 12px rgba(34, 200, 218, .6); }

/* ---------- tilt + glare (JS sets --rx --ry --gx --gy) ---------- */
.tilt { position: relative; overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform .4s var(--ease-out), background .2s, box-shadow .3s; will-change: transform; }
.tilt:hover { --s: 1.025; }
.tilt::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .6), transparent 60%); mix-blend-mode: soft-light; }
.tilt:hover::before { opacity: 1; }
.has-motion .honor-proof.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px) scale(1.04); }

/* =================== home =================== */
.has-motion .home-header { animation: fade .9s ease backwards; }
.has-motion .cover { animation: card-in 1s var(--ease-out) backwards; }
.has-motion .overline { animation: rise .8s .25s var(--ease-out) backwards; }
.has-motion .cover h1 > span:first-child, .has-motion .name-highlight, .has-motion .title-period { display: inline-block; }
.has-motion .cover h1 > span:first-child { animation: rise .9s .35s var(--ease-out) backwards; }
.has-motion .name-highlight { animation: rise .9s .5s var(--ease-out) backwards; }
.has-motion .title-period { animation: pop .6s .95s var(--ease-spring) backwards; }
.has-motion .identity-block { animation: rise .8s .62s var(--ease-out) backwards; }
.has-motion .cover-intro { animation: rise .8s .72s var(--ease-out) backwards; }
.has-motion .cover-actions { animation: rise .8s .84s var(--ease-out) backwards; }
.has-motion .contact-strip { animation: rise .8s .96s var(--ease-out) backwards; }
.has-motion .record-stage { animation: record-in 1.3s .25s var(--ease-out) backwards; }
.has-motion .orbit-copy, .has-motion .music-status { animation: fade .8s 1.1s ease backwards; }

/* slow aurora behind the content (kept away from the text column) */
.has-motion .cover::after { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none; background: radial-gradient(32% 32% at 70% 86%, rgba(34, 200, 218, .34), transparent 70%), radial-gradient(28% 28% at 86% 14%, rgba(255, 204, 77, .22), transparent 70%), radial-gradient(38% 38% at 56% 52%, rgba(90, 130, 255, .30), transparent 70%); animation: aurora 16s ease-in-out infinite alternate; }

/* pointer parallax: JS only writes --px --py (-1..1) and --mx --my on .cover */
.cover { --px: 0; --py: 0; }
.has-motion .record-stage { transform: perspective(1100px) rotateY(calc(var(--px) * 9deg)) rotateX(calc(var(--py) * -9deg)); transition: transform .5s var(--ease-out); }
.has-motion .record-halo { scale: calc(1 + var(--beat, 0) * .09); translate: calc(var(--px) * -16px) calc(var(--py) * -16px); transition: translate .6s var(--ease-out); }
.has-motion .orbit-copy-top, .has-motion .orbit-copy-bottom { translate: calc(var(--px) * 12px) calc(var(--py) * 10px); transition: translate .6s var(--ease-out); }
.has-motion .cover-copy { translate: calc(var(--px) * -7px) calc(var(--py) * -5px); transition: translate .6s var(--ease-out); }
.spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), rgba(120, 200, 255, .08) 42%, transparent 66%); }
.cover.is-hover .spot { opacity: 1; }

/* canvases: constellation behind the content, WebGL corona behind the record */
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .28) 34%, #000 62%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .28) 34%, #000 62%); }
@media (max-width: 900px) { .constellation { -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .3) 45%, #000 72%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .3) 45%, #000 72%); } }
.record-corona { position: absolute; left: 50%; top: 50%; width: 142%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity 1.4s ease .5s; }
.record-corona.is-ready { opacity: 1; }
.has-motion .music-status, .has-motion .record-hint { position: relative; z-index: 2; }

/* buttons */
.has-motion .primary-link { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, translate .25s var(--ease-out); }
.has-motion .primary-link::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s var(--ease-out); }
.has-motion .primary-link:hover::after { transform: translateX(130%); }
.has-motion .primary-link span { display: inline-block; transition: transform .3s var(--ease-out); }
.has-motion .primary-link:hover span { transform: translate(3px, -3px); }
.has-motion .text-link span { display: inline-block; transition: transform .3s var(--ease-out); }
.has-motion .text-link:hover span { transform: translateX(5px); }

/* =================== inner pages =================== */
.has-motion .site-header { animation: fade .8s ease backwards; }
.has-motion .section-index { animation: fade .8s .05s ease backwards; }
.has-motion .eyebrow { animation: rise .7s .1s var(--ease-out) backwards; }
.has-motion .atlas-hero h1, .has-motion .growth-heading h1, .has-motion .growth-heading h2 { animation: rise .9s .2s var(--ease-out) backwards; }
.has-motion .hero-note { animation: rise .8s .45s var(--ease-out) backwards; }
.has-motion .atlas-board, .has-motion .growth-heading > p, .has-motion .growth-switcher, .has-motion .honor-switcher { animation: card-in .9s .5s var(--ease-out) backwards; }

/* sliding tab indicator (JS adds .glider and .has-glider) */
.has-glider { position: relative; isolation: isolate; }
.glider { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 20px; pointer-events: none; background: linear-gradient(120deg, var(--blue), #538cff); box-shadow: 0 10px 24px rgba(43, 108, 255, .22); transition: transform .5s var(--ease-spring), width .5s var(--ease-spring), height .5s var(--ease-spring); }
.has-glider .growth-tab.is-active, .has-glider .honor-year-tab.is-active { background: transparent; box-shadow: none; }

/* panels: staggered entrance whenever a panel becomes visible */
.has-motion .growth-panel:not([hidden]) .stage-copy > * { animation: rise .7s var(--ease-out) backwards; }
.has-motion .growth-panel:not([hidden]) .stage-copy > :nth-child(2) { animation-delay: .1s; }
.has-motion .growth-panel:not([hidden]) .stage-copy > :nth-child(3) { animation-delay: .2s; }
.has-motion .growth-panel:not([hidden]) .stage-copy > :nth-child(4) { animation-delay: .3s; }
.has-motion .growth-panel:not([hidden]) .stage-gallery { animation: card-in .9s .2s var(--ease-out) backwards; }
.has-motion .honor-panel:not([hidden]) .honor-year-card { animation: card-in .8s var(--ease-out) backwards; }
.has-motion .honor-panel:not([hidden]) .honor-list article { animation: rise .7s var(--ease-out) backwards; }
.has-motion .honor-panel:not([hidden]) .honor-list article:nth-child(1) { animation-delay: .05s; }
.has-motion .honor-panel:not([hidden]) .honor-list article:nth-child(2) { animation-delay: .15s; }
.has-motion .honor-panel:not([hidden]) .honor-list article:nth-child(3) { animation-delay: .25s; }
.has-motion .honor-panel:not([hidden]) .honor-list article:nth-child(4) { animation-delay: .35s; }
.has-motion .honor-panel:not([hidden]) .honor-list article:nth-child(5) { animation-delay: .45s; }
.has-motion .honor-year-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5s ease-in-out 1.2s infinite; }

/* map: pins pop in one by one, the current city ripples, photos drift slowly */
.has-motion .city-pin { animation: pin-pop .6s var(--ease-spring) calc(var(--i, 0) * 70ms + .5s) backwards; }
.has-motion .city-pin.is-current::before { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; translate: -50% -50%; border: 2px solid rgba(43, 108, 255, .55); border-radius: 999px; pointer-events: none; animation: ripple 1.8s ease-out infinite; }
.has-motion .memory-photo-wrap:not(.is-portrait) img { animation: kenburns 16s ease-in-out infinite alternate; }

/* =================== honors: stats strip + holographic lightbox (fx-honors.js) =================== */
.honor-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 22px; overflow: hidden; border: 1px solid rgba(43, 108, 255, .11); border-radius: 26px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow); }
.honor-stats > div { display: flex; align-items: baseline; gap: 12px; padding: 20px 26px; border-left: 1px solid var(--line); }
.honor-stats > div:first-child { border-left: 0; }
.honor-stats strong { color: var(--blue); font-family: var(--display); font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1; font-variant-numeric: tabular-nums; }
.honor-stats span { color: var(--ink-soft); font-size: .86rem; font-weight: 700; letter-spacing: .06em; }
.has-motion .honor-stats { animation: card-in .9s .4s var(--ease-out) backwards; }
@media (max-width: 760px) {
  .honor-stats { grid-template-columns: repeat(2, 1fr); }
  .honor-stats > div { padding: 16px 18px; }
  .honor-stats > div:nth-child(3) { border-left: 0; }
  .honor-stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

html.lb-lock { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; perspective: 1500px; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 38%, rgba(33, 52, 112, .5), rgba(8, 14, 36, .8)); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); opacity: 0; transition: opacity .35s ease; }
.lb.is-open .lb-backdrop { opacity: 1; }
.lb-card { position: relative; margin: 0; display: grid; gap: 14px; justify-items: center; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease-out); will-change: transform; }
.lb-frame { position: relative; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 40px 90px rgba(6, 12, 34, .5), 0 0 0 1px rgba(255, 255, 255, .4); }
.lb-img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* holographic foil: a luminous collector-card sheen that never darkens certificate paper */
.lb-foil { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; opacity: .22;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .75), transparent 46%),
    repeating-linear-gradient(115deg, rgba(255, 170, 170, 0) 0%, rgba(255, 185, 185, .7) 7%, rgba(255, 236, 150, .7) 14%, rgba(165, 248, 205, .65) 21%, rgba(155, 218, 255, .7) 28%, rgba(210, 175, 255, .7) 35%, rgba(255, 170, 170, 0) 42%);
  background-size: 100% 100%, 280% 280%; background-position: 0 0, var(--bx, 30%) var(--by, 20%); animation: foil-drift 7s ease-in-out infinite alternate; transition: opacity .35s; }
.lb-card.is-tilting .lb-foil { opacity: .36; animation: none; }
@keyframes foil-drift { from { background-position: 0 0, 20% 20%; } to { background-position: 0 0, 80% 70%; } }
.lb-card figcaption { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s .2s ease, transform .4s .2s ease; }
.lb.is-open .lb-card figcaption { opacity: 1; transform: none; }
.lb-card figcaption small { display: block; color: #ffe58a; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.lb-card figcaption strong { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
.lb-raw { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lb-raw:hover { background: rgba(255, 255, 255, .16); }
.lb-btn { position: absolute; z-index: 3; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .3); transform: scale(1.08); }
.lb-btn[hidden] { display: none; }
.lb-btn:focus-visible, .lb-raw:focus-visible { outline: 2px solid #ffe58a; outline-offset: 3px; }
.lb-prev { left: clamp(12px, 3vw, 40px); top: 50%; translate: 0 -50%; }
.lb-next { right: clamp(12px, 3vw, 40px); top: 50%; translate: 0 -50%; }
.lb-close { right: clamp(12px, 3vw, 40px); top: clamp(12px, 3vh, 32px); }
.lb-count { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .85); font-size: .8rem; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: 0 0; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-card figcaption { flex-direction: column; align-items: flex-start; }
}
.lb-spark { position: fixed; z-index: 4; width: 16px; height: 16px; margin: -8px 0 0 -8px; pointer-events: none; background: radial-gradient(circle, #fff 0 22%, #ffd56a 52%, #ffb84a); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: spark 1.1s ease-out both; }
@keyframes spark { 0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(160deg); opacity: 0; } }

/* =================== footprints: spotlight, plane light trail, pin cards (fx-footprints.js) =================== */
.map-lens { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  -webkit-backdrop-filter: saturate(1.6) contrast(1.05) brightness(1.05); backdrop-filter: saturate(1.6) contrast(1.05) brightness(1.05);
  -webkit-mask-image: radial-gradient(circle 190px at var(--lx, 50%) var(--ly, 50%), #000 0, rgba(0, 0, 0, .6) 52%, transparent 100%);
  mask-image: radial-gradient(circle 190px at var(--lx, 50%) var(--ly, 50%), #000 0, rgba(0, 0, 0, .6) 52%, transparent 100%); }
.map-lens::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 200px at var(--lx, 50%) var(--ly, 50%), rgba(255, 247, 224, .45), rgba(255, 247, 224, 0) 70%); }
.map-canvas-wrap.is-lit .map-lens { opacity: 1; }
.map-trail { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.has-motion .city-pin.is-hit::after { content: ""; position: absolute; inset: -3px; border: 2px solid rgba(255, 114, 95, .9); border-radius: 999px; pointer-events: none; animation: hit-ring 1s ease-out both; }
@keyframes hit-ring { from { transform: scale(1); opacity: .95; } to { transform: scale(2); opacity: 0; } }
.pin-card { position: absolute; z-index: 6; width: 216px; overflow: hidden; pointer-events: none; border-radius: 16px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 46px rgba(23, 53, 93, .28), 0 0 0 1px rgba(43, 108, 255, .12);
  opacity: 0; transform: translateY(calc(-100% + 8px)) scale(.94); transform-origin: 50% 100%; transition: opacity .2s ease, transform .3s var(--ease-spring); }
.pin-card.is-on { opacity: 1; transform: translateY(-100%) scale(1); }
.pin-card.is-below { transform: translateY(-8px) scale(.94); transform-origin: 50% 0; }
.pin-card.is-below.is-on { transform: none; }
.pin-card[hidden] { display: none; }
.pin-card img { display: block; width: 100%; height: 122px; object-fit: cover; background: #dceffc; }
.pin-card div { display: grid; gap: 1px; padding: 10px 14px 12px; }
.pin-card strong { color: var(--ink); font-size: .92rem; }
.pin-card small { color: var(--muted); font-size: .72rem; }

/* =================== growth: stage colour + photo stack (fx-growth.js) =================== */
@property --st-a { syntax: "<color>"; inherits: true; initial-value: #ffbd43; }
@property --st-b { syntax: "<color>"; inherits: true; initial-value: #ff7d65; }
.has-motion .page-growth { --st-a: #ffbd43; --st-b: #ff7d65; transition: --st-a .9s ease, --st-b .9s ease; }
.has-motion .page-growth[data-stage="university"] { --st-a: #2b6cff; --st-b: #21c5d8; }
.has-motion .page-growth[data-stage="phd"] { --st-a: #6a50d8; --st-b: #ee78b7; }
.has-motion .page-growth::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(46% 58% at 84% 14%, color-mix(in srgb, var(--st-b) 26%, transparent), transparent 72%), radial-gradient(40% 50% at 6% 46%, color-mix(in srgb, var(--st-a) 24%, transparent), transparent 72%); }
.has-motion .page-growth .orb-one { background: color-mix(in srgb, var(--st-a) 26%, transparent); }
.has-motion .page-growth .orb-two { background: color-mix(in srgb, var(--st-b) 20%, transparent); }
.has-motion .page-growth .stage-number { color: var(--st-a); opacity: .42; }
.has-motion .page-growth .stage-tags span { background: color-mix(in srgb, var(--st-a) 14%, #fff); }
.has-motion .page-growth .slider-progress i { background: linear-gradient(90deg, var(--st-a), var(--st-b)); }
.has-motion .page-growth .glider { background: linear-gradient(120deg, var(--st-a), var(--st-b)); box-shadow: 0 10px 24px color-mix(in srgb, var(--st-a) 38%, transparent); }
/* the warm stage is too light for white text: switch to ink */
.has-motion .page-growth[data-stage="high"] .growth-tab.is-active { color: var(--ink); }
.has-motion .page-growth[data-stage="high"] .growth-tab.is-active span { color: rgba(23, 32, 51, .72); }

.has-motion .page-growth .stage-copy { position: relative; z-index: 3; }
.stage-gallery.has-flow { position: relative; overflow: visible; padding: 12px 0 0; border-color: transparent; background: transparent; box-shadow: none; }
.stage-gallery.has-flow figure { position: relative; z-index: 2; perspective: 1300px; }
.stage-gallery.has-flow .stage-frame { border: 8px solid #fff; border-radius: 24px; background: #eef4fc; box-shadow: 0 26px 56px rgba(23, 53, 93, .26); }
.stage-gallery.has-flow .stage-frame img { cursor: grab; -webkit-user-select: none; user-select: none; will-change: transform; transition: translate .45s var(--ease-out), rotate .45s var(--ease-out); }
.stage-gallery.has-flow .stage-frame img.is-dragging { cursor: grabbing; transition: none; }
.stage-gallery.has-flow figcaption, .stage-gallery.has-flow .slider-controls, .stage-gallery.has-flow .gallery-thumbs, .stage-gallery.has-flow .gallery-subtabs { position: relative; z-index: 3; }
.gflow { position: absolute; z-index: 1; left: 0; right: 0; top: var(--gt, 12px); height: var(--gh, 420px); pointer-events: none; perspective: 1300px; clip-path: inset(0 -48px); }
.gcard { position: absolute; top: 6%; width: 72%; height: 88%; object-fit: cover; border: 7px solid #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(23, 53, 93, .22); filter: blur(1.4px) saturate(.9); opacity: .82; pointer-events: auto; cursor: pointer; transition: transform .6s var(--ease-out), filter .35s, opacity .35s; }
.gcard[data-slot="-1"] { left: -4%; transform: rotateY(28deg) rotateZ(-3.5deg); transform-origin: 100% 50%; }
.gcard[data-slot="1"] { right: -4%; transform: rotateY(-28deg) rotateZ(3.5deg); transform-origin: 0 50%; }
.gcard:hover { filter: none; opacity: 1; }
.gcard[data-slot="-1"]:hover { transform: rotateY(20deg) rotateZ(-2.5deg) translateX(-6px); }
.gcard[data-slot="1"]:hover { transform: rotateY(-20deg) rotateZ(2.5deg) translateX(6px); }
@media (max-width: 1080px) { .gflow { display: none; } }
