/* The press kit: Binqo's look, with room for both apps. */

.p-hero { position: relative; overflow: hidden; padding: 150px 0 110px; text-align: center; }
.p-hero .glow { top: -420px; opacity: .3; }
.p-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.p-hero-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.p-hero h1 { font-size: clamp(84px, 16vw, 190px); line-height: .82; margin: 0; letter-spacing: 0; }
.p-lede { max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--muted); margin: 6px 0 4px; }
.p-lede strong { color: var(--ink); font-weight: 600; }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.p-icons { position: relative; width: 200px; height: 110px; margin-bottom: 10px; }
.p-icon { position: absolute; width: 104px; height: 104px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)); animation: p-bob 6s ease-in-out infinite; }
.p-icon-a { left: 0; top: 0; --r: -8deg; transform: rotate(var(--r)); }
.p-icon-b { right: 0; top: 6px; --r: 8deg; transform: rotate(var(--r)); animation-delay: -3s; }
@keyframes p-bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-8px) rotate(var(--r)); } }

.p-section { padding-top: 90px; padding-bottom: 10px; }
.p-section h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -1px; margin-bottom: 0; }

/* Products */
.p-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.p-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 30px; }
.p-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); pointer-events: none; }
.p-binqo { background: radial-gradient(120% 80% at 0% 0%, rgba(92, 178, 255, .2), transparent 60%), #0D1017; }
.p-suhi { background: radial-gradient(120% 80% at 100% 0%, rgba(255, 90, 20, .2), transparent 60%), #13100E; }
.p-card-top { display: flex; align-items: center; gap: 16px; }
.p-card-top img { width: 72px; height: 72px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
.p-card h3 { margin: 0; font-size: 26px; letter-spacing: -.5px; }
.p-sub { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--faint); }
.p-suhi .label { color: #FF8A57; }
.p-copy { position: relative; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
.p-copy p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); padding-right: 64px; }
.p-copybtn { position: absolute; top: 12px; right: 12px; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--ink); font: 600 12px Geist, system-ui, sans-serif; cursor: pointer; transition: background .2s, transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.p-copybtn:hover { background: rgba(255, 255, 255, .18); }
.p-copybtn:active { transform: scale(.92); }
.p-copybtn.done { background: var(--accent); color: var(--accent-ink); }
.p-suhi .p-copybtn.done { background: #FF5A14; color: #FFFFFF; }
.p-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-chips li { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); }
.p-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 500; }
.p-suhi .p-links a { color: #FF8A57; }
.p-suhi .p-links a:hover { color: #FFB38F; }

/* Names */
.p-names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.p-names li { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.p-name { font-size: 24px; color: var(--accent); }
.p-names li:nth-child(2) .p-name { color: #FF8A57; }
.p-names li span:last-child { font-size: 14px; color: var(--muted); }

/* Screenshots */
.p-filter { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.p-filter button { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px Geist, system-ui, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.p-filter button[aria-selected="true"] { background: #FFFFFF; color: #000000; }
.p-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; transition: opacity .3s, transform .3s; }
.p-gallery figure.wide { grid-column: span 2; }
.p-gallery figure.hide { display: none; }
.p-shot { display: block; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #0E0F12; box-shadow: 0 0 0 1px var(--line), 0 20px 50px rgba(0, 0, 0, .35); }
.p-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .9, .3, 1); }
.p-gallery figure.wide .p-shot img { aspect-ratio: 16 / 8.6; }
.p-shot:hover img { transform: scale(1.03); }
.p-gallery figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); padding: 0 4px; }
.p-gallery figcaption a { font-weight: 500; }

/* Films */
.p-films { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.p-film { margin: 0; border-radius: 24px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.p-film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #000000; }
.p-film figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.p-film figcaption div { display: flex; flex-direction: column; gap: 4px; }
.p-film b { font-size: 16px; }
.p-film .btn { padding: 9px 16px; font-size: 14px; }

/* Icons and colours */
.p-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.p-logo { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.p-logo:hover { transform: translateY(-4px); color: var(--ink); }
.p-logo img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 34px; background-color: var(--bg); }
.p-logo span { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 18px; }
.p-logo small { color: var(--faint); font-size: 12px; }
.p-swatches { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.p-swatches li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.p-swatches li::before { content: ''; height: 44px; border-radius: 12px; margin-bottom: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.p-swatches span { color: var(--faint); font-family: 'Geist Mono', monospace; font-size: 12px; }

.press .download { margin-top: 90px; }

/* Lightbox */
.p-lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: rgba(4, 5, 8, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: p-fade .25s ease; }
.p-lightbox[hidden] { display: none; }
.p-lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 120px); border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); animation: p-zoom .35s cubic-bezier(.2, .9, .3, 1); }
.p-lightbox-bar { display: flex; gap: 10px; }
@keyframes p-fade { from { opacity: 0; } }
@keyframes p-zoom { from { transform: scale(.94); opacity: 0; } }

@media (max-width: 820px) {
  .p-hero { padding: 120px 0 70px; }
  .p-gallery { grid-template-columns: 1fr 1fr; }
  .p-gallery figure.wide { grid-column: span 2; }
  .p-films { grid-template-columns: 1fr; }
  .p-products { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .p-gallery { grid-template-columns: 1fr; }
  .p-gallery figure.wide { grid-column: auto; }
  .p-card { padding: 22px; }
  .p-copy p { padding-right: 0; padding-top: 18px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .p-icon, .p-lightbox, .p-lightbox img { animation: none; }
  .p-shot img, .p-logo { transition: none; }
}
