/* Photo-rich inner pages: sliding walls, fanned stacks, covers, mosaics, card thumbnails, photo + screen rows.
   Loaded by both inner shells (skin.css pages and the home-style Product, Integrations and Pricing pages). CSS only, no JS.
   Honest by construction: photos are stock images and every overlay label is marked "example". */
:root { --gi-line: rgb(255 255 255 / .12); --gi-card: #101727; --gi-ink: #f3f5fa; --gi-mut: #a7afc1; --gi-ease: cubic-bezier(.16, 1, .3, 1); }

/* ---------- overlay chip ---------- */
.gi-chip { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 20px); padding: 6px 10px 6px 6px; border-radius: 12px; background: rgb(8 11 19 / .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); color: #fff; font: 500 12px/1.2 "Onest", system-ui, sans-serif; white-space: nowrap; overflow: hidden; }
.gi-chip img { flex: none; width: 22px !important; height: 22px !important; padding: 3px; border-radius: 7px; background: #fff; object-fit: contain !important; }
.gi-chip b { font-weight: 700; }
.gi-chip span { color: #c3c9d8; overflow: hidden; text-overflow: ellipsis; }
.gi-chip em { flex: none; font: 700 8.5px/1 "Onest", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 3px 5px; border-radius: 5px; border: 1px dashed rgb(255 255 255 / .35); color: #aab2c6; }
.gi-chip.alt { left: auto; right: 10px; bottom: auto; top: 10px; }

/* ---------- sliding photo wall ---------- */
.gi-wall { position: relative; padding: 6px 0 22px; overflow: hidden; }
.gi-wallbox { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.gi-row { overflow: hidden; }
.gi-track { display: flex; width: max-content; animation: giSlide var(--dur, 80s) linear infinite; will-change: transform; }
.gi-row.rev .gi-track { animation-direction: reverse; }
.gi-wall:hover .gi-track { animation-play-state: paused; }
@keyframes giSlide { to { transform: translate3d(-50%, 0, 0); } }
.gi-t { position: relative; flex: none; height: var(--gh, 172px); margin-right: 14px; border-radius: 18px; overflow: hidden; background: var(--gi-card); box-shadow: 0 0 0 1px var(--gi-line); transition: box-shadow .4s; }
.gi-t img { display: block; height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .8s var(--gi-ease); }
.gi-t:hover img { transform: scale(1.07); }
.gi-t:hover { box-shadow: 0 0 0 1px rgb(255 255 255 / .3), 0 18px 40px -18px rgb(66 133 244 / .6); }
.gi-t-shot { background: #fff; width: calc(var(--gh, 172px) * 1.6); }
.gi-t-shot img { width: 100%; height: 100%; object-position: top left; }
.gi-rows2 { --gh: 188px; }
.gi-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--text-3, #8a92a8); padding: 0 16px; }
.gi-wall .gi-note { margin-top: 10px; }

/* ---------- fanned stack in the hero ---------- */
.gi-fan { position: relative; height: clamp(320px, 34vw, 470px); margin-inline: auto; width: 100%; }
.gi-fc { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 4 / 5; margin: 0; border-radius: 22px; overflow: hidden; background: var(--gi-card); box-shadow: 0 40px 70px -30px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .16);
  --x: calc((var(--k) - 1.5) * 44%); --y: -5%; --r: calc((var(--k) - 1.5) * 7deg);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .7s var(--gi-ease), z-index 0s;
  animation: giFanIn 1s var(--gi-ease) calc(var(--k) * .09s + .15s) both, giBob 6s ease-in-out calc(var(--k) * -1.4s) infinite alternate; z-index: calc(var(--k) + 1); }
.gi-fc:nth-child(even) { --y: 4%; }
.gi-fc img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--gi-ease); }
.gi-fan:hover .gi-fc { transform: translate(-50%, -50%) translate(calc(var(--x) * 1.18), var(--y)) rotate(calc(var(--r) * 1.3)); }
.gi-fc:hover { z-index: 9; }
.gi-fc:hover img { transform: scale(1.08); }
.gi-fan-shot { position: absolute; z-index: 8; right: 0; bottom: 2%; width: 50%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .9), 0 0 0 3px rgb(255 255 255 / .95); rotate: 3deg; animation: giFanIn 1s var(--gi-ease) .6s both; }
.gi-fan-shot img { display: block; width: 100%; height: auto; }
@keyframes giFanIn { from { opacity: 0; translate: 0 50px; scale: .85; } }
@keyframes giBob { to { translate: 0 -10px; } }
.gi-fan .gi-chip { left: 8px; bottom: 8px; }

/* ---------- tilted prints tucked under an existing hero visual ---------- */
.gi-pol { position: absolute; left: -3%; bottom: -9%; z-index: 7; width: 230px; height: 150px; pointer-events: none; }
.gi-pol figure { position: absolute; bottom: 0; left: calc(var(--k) * 92px); width: clamp(84px, 8.5vw, 124px); aspect-ratio: 4 / 5; margin: 0; border-radius: 14px; overflow: hidden; border: 3px solid rgb(255 255 255 / .95); box-shadow: 0 24px 44px -16px rgb(0 0 0 / .9); rotate: calc(var(--k) * 14deg - 8deg); animation: giFanIn 1s var(--gi-ease) calc(var(--k) * .12s + .7s) both; }
.gi-pol img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-link .gi-pol { left: 1%; bottom: -14%; }

/* ---------- cover and mosaic ---------- */
.gi-cover { position: relative; margin: 6px 0 4px; aspect-ratio: 21 / 7; border-radius: 26px; overflow: hidden; background: var(--gi-card); box-shadow: 0 0 0 1px var(--gi-line), 0 40px 90px -50px rgb(66 133 244 / .6); }
.gi-cover img { width: 100%; height: 100%; object-fit: cover; display: block; animation: giKb 18s ease-in-out infinite alternate; }
.gi-cover figcaption .gi-chip { left: 18px; bottom: 18px; }
.gi-cover::after, .gi-mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(8 11 19 / .55)); pointer-events: none; }
@keyframes giKb { to { scale: 1.06; } }
.gi-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; height: clamp(300px, 34vw, 480px); }
.gi-mosaic figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--gi-card); box-shadow: 0 0 0 1px var(--gi-line); }
.gi-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--gi-ease); }
.gi-mosaic figure:hover img { transform: scale(1.06); }
.gi-mosaic .m0 { grid-column: 1 / 3; grid-row: 1 / 3; }
.gi-mosaic .m1 { grid-column: 3 / 5; grid-row: 1; }
.gi-mosaic .m2 { grid-column: 3; grid-row: 2; }
.gi-mosaic .m3 { grid-column: 4; grid-row: 2; }
.gi-mosaic figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 12px; border-radius: 11px; background: rgb(8 11 19 / .78); backdrop-filter: blur(10px); font: 600 13px "Onest", sans-serif; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }

/* ---------- photo + app screen rows ---------- */
.gi-duo-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "ph tx" "ph sc"; column-gap: clamp(24px, 4vw, 56px); row-gap: 18px; align-items: center; margin: 40px 0; }
.gi-duo-row.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "tx ph" "sc ph"; }
.gi-duo-ph { grid-area: ph; position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .95), 0 0 0 1px var(--gi-line); rotate: -1.6deg; transition: rotate .7s var(--gi-ease); }
.gi-duo-row.flip .gi-duo-ph { rotate: 1.6deg; }
.gi-duo-ph:hover { rotate: 0deg; }
.gi-duo-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--gi-ease); }
.gi-duo-ph:hover img { transform: scale(1.06); }
.gi-duo-tx { grid-area: tx; align-self: end; }
.gi-duo-tx h3 { margin: 6px 0 8px; font: 650 clamp(21px, 2.2vw, 28px)/1.15 "Onest", sans-serif; letter-spacing: -.03em; }
.gi-duo-tx p { margin: 0; max-width: 52ch; color: var(--text-2, var(--gi-mut)); }
.gi-k { font: 700 13px "Onest", sans-serif; letter-spacing: .1em; color: #8ab4ff; }
.gi-duo-sc { grid-area: sc; align-self: start; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -36px rgb(0 0 0 / .95), 0 0 0 1px rgb(255 255 255 / .14), 0 30px 100px -50px rgb(66 133 244 / .55); transition: transform .7s var(--gi-ease); }
.gi-duo-sc:hover { transform: translateY(-4px); }
.gi-bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef0f4; border-bottom: 1px solid #dfe2e8; }
.gi-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .gi-bar i:nth-child(2) { background: #febc2e; } .gi-bar i:nth-child(3) { background: #28c840; }
.gi-duo-sc img { display: block; width: 100%; height: auto; }
.gi-duo .gi-chip { left: 12px; bottom: 12px; }

/* ---------- link cards led by a photo or an app screen ---------- */
.link-card.has-img::before { display: none; }
.link-card.has-img .lc-img { display: block; position: relative; margin: -24px -24px 8px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gi-card); border-radius: 22px 22px 0 0; }
.link-card.has-img .lc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform .9s var(--gi-ease); }
.link-card.has-img:hover .lc-img img { transform: scale(1.07); }
.link-card.has-img .lc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(16 23 39 / .55)); }

/* ---------- closing call to action: avatar row and side photos ---------- */
.final > .wrap { position: relative; z-index: 1; }
.gi-avrow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 12px; margin: 0 auto 26px; }
.gi-av { width: 46px; height: 46px; margin-left: -10px; border-radius: 50%; overflow: hidden; border: 2px solid #080b13; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .8); }
.gi-av:first-child { margin-left: 0; }
.gi-av img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.gi-avl { flex-basis: 100%; margin-top: 12px; font-size: 13px; color: var(--text-3, #8a92a8); }
.gi-cta-side { position: absolute; top: 50%; width: 230px; height: 340px; margin-top: -170px; pointer-events: none; }
.gi-cta-side.l { left: -30px; } .gi-cta-side.r { right: -30px; }
.gi-cta-side figure { position: absolute; width: 150px; aspect-ratio: 4 / 5; margin: 0; border-radius: 18px; overflow: hidden; border: 3px solid rgb(255 255 255 / .92); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .95); }
.gi-cta-side.l figure:nth-child(1) { left: 0; top: 0; rotate: -8deg; } .gi-cta-side.l figure:nth-child(2) { left: 70px; top: 150px; rotate: 6deg; }
.gi-cta-side.r figure:nth-child(1) { right: 0; top: 0; rotate: 8deg; } .gi-cta-side.r figure:nth-child(2) { right: 70px; top: 150px; rotate: -6deg; }
.gi-cta-side img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- home-style pages (Product, Integrations, Pricing) ---------- */
.gi-wall.home { padding-top: 0; }
.gi-faces { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 26px; color: var(--t2, #a7afc1); font-size: 13.5px; }
.gi-faces .gi-av { width: 40px; height: 40px; border-color: var(--bg, #080b13); }
.gi-faces .stack { display: flex; }
.feat-ph { position: relative; margin: 26px 0 0; max-width: 420px; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .95), 0 0 0 1px var(--gi-line); rotate: -1.4deg; transition: rotate .6s var(--gi-ease); }
.feat:nth-of-type(even) .feat-ph { rotate: 1.4deg; }
.feat-ph:hover { rotate: 0deg; }
.feat-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--gi-ease); }
.feat-ph:hover img { transform: scale(1.06); }
.plan .tag { z-index: 3; }
.plan-ph { position: relative; margin: -28px -28px 18px; aspect-ratio: 16 / 9; border-radius: 23px 23px 8px 8px; overflow: hidden; }
.plan-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: transform 1s var(--gi-ease); }
.plan:hover .plan-ph img { transform: scale(1.06); }
.plan-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(16 23 39 / .6)); }
.plan-ph .gi-chip { z-index: 2; }
.gi-band { margin: 70px auto 0; }
.gi-band .gi-mosaic { height: clamp(300px, 32vw, 460px); }
.gi-band h2 { margin: 0 0 24px; }
.mb .mb-ph { display: block; margin: -20px -20px 14px; aspect-ratio: 16 / 9; border-radius: 17px 17px 0 0; overflow: hidden; }
.mb .mb-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--gi-ease); }
.mb:hover .mb-ph img { transform: scale(1.08); }

@media (max-width: 1180px) { .gi-cta-side { display: none; } }
@media (max-width: 960px) {
  .gi-fan { height: 300px; }
  .gi-fc { width: 38%; border-radius: 16px; }
  .gi-pol { left: 0; bottom: -10%; }
  .gi-duo-row, .gi-duo-row.flip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ph" "tx" "sc"; row-gap: 16px; margin: 30px 0; }
  .gi-duo-ph { aspect-ratio: 16 / 11; }
  .gi-duo-tx { align-self: start; }
}
@media (max-width: 640px) {
  .gi-wall { --gh: 116px !important; }
  .gi-t { border-radius: 14px; margin-right: 10px; }
  .gi-wallbox { gap: 10px; }
  .gi-cover { aspect-ratio: 16 / 9; border-radius: 18px; }
  .gi-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px; height: auto; gap: 10px; }
  .gi-mosaic figcaption { left: 10px; right: 10px; bottom: 10px; white-space: normal; font-size: 12px; }
  .gi-mosaic .m0 { grid-column: 1 / 3; grid-row: 1; } .gi-mosaic .m1 { grid-column: 1; grid-row: 2; } .gi-mosaic .m2 { grid-column: 2; grid-row: 2; } .gi-mosaic .m3 { display: none; }
  .gi-chip { font-size: 11px; } .gi-chip span { display: none; }
  .gi-chip.alt { display: none; }
  .gi-pol figure { width: 72px; } .gi-pol figure:nth-child(2) { left: 70px; }
  .feat-ph { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gi-track, .gi-fc, .gi-fan-shot, .gi-pol figure, .gi-cover img { animation: none !important; }
  .gi-fc, .gi-fan:hover .gi-fc, .gi-t img, .gi-duo-ph, .gi-duo-ph img { transition: none; }
}
.hv-photo .gi-pol { display: none; }
.gi-wall.home { margin-top: 36px; }

/* ---------- layout stability (CLS) ---------- */
/* The annotation ring is moved by script with left/top/width/height. Hide it for the moment it moves so the browser does not count a layout shift. */
.annot.live.moving .aw-ring { visibility: hidden; transition: opacity .2s, visibility 0s; }

/* Inner page headlines: balanced lines, no one-word last line ("source", "type") */
.phead h1, .ph h1, .gi-band h2, .scn-h h2 { text-wrap: balance; }
.phead .lede, .ph .lead { text-wrap: pretty; }

/* Reserve the hero stack height before images and animation arrive */
.phead-v .gi-fan { min-height: clamp(320px, 34vw, 470px); contain: layout paint; }
.gi-mosaic, .gi-cover { contain: layout paint; }

/* ---------- /request-access/: the form sits beside the intro ---------- */
.phead-grid:has(.req-form) { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
.req-form .bezel-core { padding: clamp(20px, 2.4vw, 30px); }
.req-form .form { max-width: none; }
.req-next { max-width: 760px; }
@media (min-width: 961px) { .phead:has(.req-form) { padding-top: 120px; padding-bottom: 48px; } }
@media (max-width: 960px) { .phead-grid:has(.req-form) { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- pricing cards on phones: photo is a short banner so name, price and CTA are in view ---------- */
@media (max-width: 640px) {
  .plan-ph { aspect-ratio: 3 / 1; margin: -28px -28px 14px; }
  .plan-ph img { object-position: center 30%; }
  .plan-ph .gi-chip { display: none; }
}
.hero-cta:has(.req-steps) { display: block; margin-top: 30px; max-width: 46ch; }
.req-h { font: 600 20px/1.2 "Onest", sans-serif; letter-spacing: -.02em; margin: 0 0 12px; }
.req-steps { margin: 0 0 14px; }
/* small photos: the chip wraps onto a second line instead of clipping its label */
.gi-chip { flex-wrap: wrap; row-gap: 4px; overflow: hidden; }
.gi-chip span { min-width: 0; }
