/* =============================================================
   PLAY ZEE STUDIO — light theme
   Off-white page, soft grey rounded cards, bold Inter headings and a
   floating dark menu bar. Accents use the logo's yellow, orange and red.
   ============================================================= */
:root {
  --bg: #fafafa;
  --card: #f0f0f0;
  --card-hover: #e9e9e9;
  --white: #ffffff;
  --dark: #141414;
  --line: rgba(0, 0, 0, 0.07);
  --text: #0d0d0d;
  --muted: #5f5f5f;
  --yellow: #8ab4f8;
  --orange: #4285f4;
  --red: #1a73e8;
  --grad: linear-gradient(90deg, var(--orange), var(--red));
  --grad-warm: linear-gradient(90deg, var(--yellow), var(--orange));
  --radius: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; } /* stop tilted strips from widening the page on phones */
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; color: var(--red); background: rgba(66, 133, 244, .12); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.title { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 16px; }
.lead { color: var(--muted); max-width: 620px; margin-inline: auto; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--dark); color: #fff; font: 600 1rem var(--font); transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--red); box-shadow: 0 10px 24px rgba(26, 115, 232, .25); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px rgba(0,0,0,.12); }
.btn--ghost:hover { background: var(--white); color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.btn--sm { padding: 10px 20px; font-size: .9rem; background: var(--grad); }
.btn--sm:hover { background: var(--yellow); color: var(--text); box-shadow: none; }
.btn--full { width: 100%; }

/* ---------- Nav (floating dark pill) ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; transition: opacity .35s ease, transform .35s ease; }
.nav.nav--hidden { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.nav__inner {
  width: calc(100% - 32px); display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(1, 24, 78, .08); color: #01184e; border-radius: 20px; padding: 10px 14px 10px 24px;
  box-shadow: 0 10px 30px rgba(1, 24, 78, .08); transition: box-shadow .3s;
}
.nav.scrolled .nav__inner { box-shadow: 0 14px 40px rgba(1, 24, 78, .16); }
.nav__links a.btn--sm { background: linear-gradient(90deg, #01206a, #003dbd); color: #fff; }
.nav__links a.btn--sm:hover { background: linear-gradient(90deg, #01184e, #01206a); color: #fff; }
.logo { display: flex; align-items: center; gap: 10px; }
/* Shows only the "PZ" mark from logo.png */
.logo__mark { width: 36px; height: 40px; flex-shrink: 0; background: url("images/logo.png") no-repeat -48.4px 0 / 133.4px auto; }
.logo__text { font-weight: 800; font-size: 1.25rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: .95rem; }
.nav__links a:not(.btn) { color: #4a5675; padding: 6px 12px; margin: -6px -12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:not(.btn):hover { color: #003dbd; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2.5px; background: #01184e; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; animation: drift 14s ease-in-out infinite alternate; }
.blob--1 { width: 420px; height: 420px; background: #4285f4; top: -80px; left: -120px; }
.blob--2 { width: 380px; height: 380px; background: #1a73e8; top: 120px; right: -140px; opacity: .25; animation-delay: -5s; }
.blob--3 { display: none; }
@keyframes drift { to { transform: translate(50px, 30px) scale(1.08); } }
.float { position: absolute; font-size: 2.6rem; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0,0,0,.12)); }
.f1 { top: 26%; left: 8%; } .f2 { top: 20%; right: 11%; animation-delay: -1s; }
.f3 { top: 58%; left: 13%; animation-delay: -2s; } .f4 { top: 54%; right: 9%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(8deg); } }
.hero__inner { position: relative; text-align: center; }
.hero__title { font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -0.04em; margin-bottom: 20px; }
.hero__sub { color: var(--muted); font-size: 1.15rem; max-width: 580px; margin: 0 auto 32px; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Stats: separate grey cards */
.stats { position: relative; margin-top: 70px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 28px 12px; text-align: center; transition: background .2s, transform .2s; }
.stat:hover { background: var(--card-hover); transform: translateY(-3px); }
.stat__num { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.2; }
.stat:first-child .stat__num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .88rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--grad-warm); padding: 14px 0; transform: rotate(-1.5deg); margin: 50px -10px 10px; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: scroll 35s linear infinite; }
.marquee__track span { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section__head { text-align: center; margin-bottom: 48px; }

/* About */
.about__text { max-width: 820px; }
.about__text p:not(.eyebrow) { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.checks { list-style: none; margin: 6px 0 30px; display: grid; gap: 10px; }
.checks li { font-weight: 600; display: flex; gap: 10px; align-items: center; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .75rem; flex-shrink: 0; }

/* Featured game */
.featured { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.featured__media { position: relative; display: grid; place-items: center; background: var(--card); border-radius: 32px; padding: 50px 20px; }
.featured__media img { width: min(520px, 100%); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .18); transform: rotate(-4deg); transition: transform .4s; }
.featured__media img:hover { transform: rotate(0) scale(1.03); }
.featured__intro { color: var(--muted); margin-bottom: 24px; font-size: 1.05rem; }
.steps[hidden] { display: none; }
.featured__intro strong { color: var(--dark); }
.steps { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 18px; padding: 16px 20px; }
.steps__num { font-weight: 800; font-size: 1.4rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 34px; }
.steps strong { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* Games */
/* Game collection: dark panel with icon walls on both sides */
.collection { --s: clamp(64px, 7vw, 100px); --g: clamp(10px, 1vw, 16px);
  position: relative; width: min(1400px, calc(100% - 32px)); margin: 0 auto; min-height: calc(var(--s) * 5 + var(--g) * 4 + 200px);
  display: flex; align-items: center; justify-content: center; background: #232323; color: #fff; border-radius: 28px; overflow: hidden; }
.collection__wall { position: absolute; top: 50%; transform: translateY(-50%); width: calc(50% - 300px); display: flex; flex-direction: column; gap: var(--g); }
.collection__wall--left { left: 0; align-items: flex-end; }
.collection__wall--right { right: 0; align-items: flex-start; }
.collection__row { display: flex; gap: var(--g); flex-shrink: 0; }
/* Rows step in toward the middle as they go down, so the walls lean like the reference */
.collection__wall--left .collection__row { margin-right: calc((4 - var(--r)) * var(--s) * .55 + 12px); }
.collection__wall--right .collection__row { margin-left: calc((4 - var(--r)) * var(--s) * .55 + 12px); }
.collection__icon { flex-shrink: 0; width: var(--s); height: var(--s); border-radius: 22%; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: transform .25s, opacity .3s, filter .3s; }
.collection__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collection__icon:hover { transform: scale(1.08) rotate(-2deg); }
.collection.is-filtered .collection__wall .collection__icon:not(.is-match) { opacity: .18; filter: grayscale(1); }
.collection__center { position: relative; z-index: 1; max-width: 580px; padding: 80px 20px; text-align: center; }
.collection__title { display: flex; flex-direction: column; align-items: center; font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 28px; }
.collection__title > span { position: relative; display: inline-flex; align-items: center; gap: .18em; }
.collection__sticker { display: inline-block; width: .9em; height: .9em; border-radius: 22%; overflow: hidden; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.collection__sticker img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collection__sticker--a { transform: rotate(10deg); background: #fff; padding: .1em; }
.collection__sticker--a img { object-fit: contain; }
.collection__sticker--b { transform: rotate(-12deg); display: inline-grid; place-items: center; background: var(--orange); }
.collection__sticker--b span { font-size: .42em; color: #fff; margin-left: .1em; }
.collection__text { max-width: 370px; margin: 0 auto 28px; color: rgba(255,255,255,.72); font-size: 1.15rem; line-height: 1.4; }
.collection__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; margin: 0 auto; }
.collection__tag { padding: 6px 22px; border: 0; border-radius: 999px; background: #fff; color: #141414; font: 500 .92rem var(--font); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.collection__tag:hover { transform: translateY(-2px); }
.collection__tag.active { background: var(--orange); color: #fff; }
.collection__results { display: none; }
/* Tablets and phones: walls become strips of icons above and below the text */
@media (max-width: 1000px) {
  .collection { flex-direction: column; min-height: 0; padding: 28px 0; --s: 72px; }
  .collection__wall { position: static; transform: none; width: auto; align-items: center; }
  .collection__wall .collection__row { margin: 0 !important; }
  .collection__wall .collection__row:nth-child(n+3) { display: none; }
  .collection__wall .collection__row:nth-child(2) { transform: translateX(calc(var(--s) * .5)); }
  .collection__center { padding: 36px 20px; }
  .collection.is-filtered .collection__results { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; animation: resultsIn .3s ease; }
  .collection__results .collection__icon { width: 64px; height: 64px; }
}

@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* Partners */
.partners-strip { padding: 36px 0; background: var(--card); }
.partners-strip__label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.partners { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__track { display: flex; gap: 12px; width: max-content; animation: scroll 45s linear infinite; }
.partners:hover .partners__track { animation-play-state: paused; }
.partner { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--white); border-radius: 999px; padding: 7px 16px 7px 8px; font-size: .88rem; font-weight: 600; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.partner img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.partner__mono { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font: 800 .68rem var(--font); font-style: normal; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: block; background: var(--card); border-radius: var(--radius); padding: 34px 30px; transition: transform .3s, background .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 20px 40px rgba(0, 0, 0, .07); }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; background: var(--white); margin-bottom: 22px; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* Testimonials (auto-scrolling row, pauses on hover) */
/* Scrollable, auto-sliding row (see slider.js) */
.slider { overflow: hidden; cursor: grab; touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.slider.is-dragging { cursor: grabbing; user-select: none; }
.slider.is-dragging img { pointer-events: none; }
.slider img { -webkit-user-drag: none; }
.slider__track { display: flex; gap: 16px; width: max-content; padding: 10px 0; will-change: transform; }
.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; font-size: 1.15rem; cursor: pointer; transition: background .2s, transform .2s; }
.slider-nav button:hover { background: var(--red); transform: translateY(-2px); }
.tmember { width: 240px; flex-shrink: 0; margin: 0; background: var(--white); border-radius: var(--radius); padding: 12px 12px 18px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.tmember__photo { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; margin-bottom: 14px; background: var(--card); }
.tmember__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
a.tmember__photo:hover img { transform: scale(1.05); }
.tmember figcaption strong { display: block; font-size: 1.02rem; }
.tmember figcaption span { color: var(--muted); font-size: .88rem; }

/* Careers */
.careers { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: var(--dark); color: #fff; border-radius: 32px; padding: 56px; }
.careers .eyebrow { background: rgba(138, 180, 248, .15); color: var(--yellow); }
.careers__text p:not(.eyebrow) { color: rgba(255,255,255,.7); margin-bottom: 26px; }
.careers .btn { background: var(--grad); }
.careers .btn:hover { background: var(--yellow); color: var(--text); }
.jobs { list-style: none; display: grid; gap: 12px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255,255,255,.07); padding: 20px 24px; border-radius: 18px; transition: .25s; }
.job:hover { background: rgba(255,255,255,.12); transform: translateX(6px); }
.job strong { font-size: 1.05rem; }
.job small { display: block; color: rgba(255,255,255,.6); }
.job__arrow { color: var(--yellow); font-size: 1.3rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; background: var(--card); border-radius: 32px; padding: 50px; }
.contact__list { list-style: none; display: grid; gap: 20px; margin-top: 10px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list div { display: flex; flex-direction: column; }
.contact__list strong { font-size: 1rem; }
.contact__list span, .contact__list a { color: var(--muted); }
.contact__list a:hover { color: var(--red); }
.contact__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--white); font-size: 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.form { display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--white); color: var(--text); border: 1.5px solid transparent; border-radius: 14px;
  padding: 14px 16px; font: 1rem var(--font); outline: none; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--orange); }
.form__note { color: var(--red); font-weight: 500; min-height: 1.4em; }

/* Footer (dark) */
.footer { background: var(--dark); color: #fff; padding: 64px 0 30px; margin-top: 40px; border-radius: 32px 32px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__tag { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 1rem; margin-bottom: 4px; }
.footer__col a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer__col a:hover, .footer__bottom a:hover { color: var(--yellow); }
.footer__social { display: inline-flex; align-items: center; gap: 10px; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.footer__social[hidden] { display: none; }
.footer__legal a + a::before { content: " · "; color: inherit; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.5); font-size: .9rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Studios ---------- */
.studios { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); justify-content: center; gap: 20px; }
.studio { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 36px 24px; background: var(--card); border-radius: var(--radius); text-align: center; transition: transform .3s, background .3s, box-shadow .3s; }
.studio:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 20px 40px rgba(0, 0, 0, .07); }
.studio img { height: 90px; width: auto; max-width: 100%; object-fit: cover; filter: drop-shadow(0 0 1px rgba(0,0,0,.45)) drop-shadow(0 2px 4px rgba(0,0,0,.08)); }
.studio h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.studio__visit { margin-top: -10px; color: var(--red); font-size: .85rem; font-weight: 600; }

/* ---------- Our Studio page ---------- */
.nav__links a.is-active { color: #003dbd; background: #e3ebff; }

/* Meet Our CEOs: main CEO on top, studio CEOs side by side below */
.ceos { display: grid; grid-template-columns: repeat(2, 260px); justify-content: center; gap: 24px; }
.ceo-card { margin: 0; background: var(--white); border-radius: var(--radius); padding: 14px 14px 22px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: transform .3s, box-shadow .3s; }
.ceo-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, .07); }
.ceo-card--main { grid-column: 1 / -1; justify-self: center; width: 320px; }
.ceo-card__photo { aspect-ratio: 1; border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: var(--card); display: grid; place-items: center; }
.ceo-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
a.ceo-card__photo { cursor: pointer; }
a.ceo-card__photo:hover img { transform: scale(1.05); }
.ceo-card__blank { width: 46%; fill: #c5ccd6; }
.ceo-card figcaption strong { display: block; font-size: 1.08rem; }
.ceo-card--main figcaption strong { font-size: 1.3rem; }
.ceo-card figcaption span { display: block; color: var(--muted); font-size: .9rem; }
.ceo-card figcaption em { display: block; margin-top: 2px; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--red); }
@media (max-width: 600px) {
  .ceos { grid-template-columns: minmax(0, 300px); }
  .ceo-card--main { width: 100%; }
}
.avatar-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 2.4rem; letter-spacing: -0.02em; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card); border: 0; padding: 0; cursor: zoom-in; font: inherit; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item span { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--text); font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.gallery__item--empty { cursor: default; display: grid; place-items: center; border: 2px dashed rgba(0,0,0,.12); }
.gallery__item--empty i { font-style: normal; font-size: 2.2rem; opacity: .5; }
/* Exactly 4 photos: even 2 x 2 grid */
.gallery--four { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
.gallery--four .gallery__item { aspect-ratio: 4 / 3; }
.gallery--four .gallery__item:first-child { grid-column: auto; grid-row: auto; }

.ceo { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; background: var(--dark); color: #fff; border-radius: 32px; padding: 48px; }
.ceo__photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.ceo__photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo__photo .avatar-fallback { font-size: 4rem; }
.ceo .eyebrow { background: rgba(138, 180, 248, .15); color: var(--yellow); }
.ceo__quote { display: block; font-size: 5rem; line-height: .6; height: 36px; margin-top: 18px; color: var(--yellow); font-family: Georgia, serif; }
.ceo__text p:not(.eyebrow) { color: rgba(255,255,255,.8); font-size: 1.08rem; margin-bottom: 16px; }
.ceo__sign { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.ceo__sign strong { display: block; font-size: 1.15rem; }
.ceo__sign span { color: rgba(255,255,255,.6); font-size: .92rem; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { background: var(--card); border-radius: var(--radius); padding: 12px 12px 20px; text-align: center; transition: transform .3s, background .3s, box-shadow .3s; }
.member:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 20px 40px rgba(0,0,0,.07); }
.member__photo { aspect-ratio: 1; border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: #e6ebf2; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.member:hover .member__photo img { transform: scale(1.05); }
.member h3 { font-size: 1.05rem; }
.member > span { color: var(--muted); font-size: .88rem; }
.team__cta { margin-top: 32px; text-align: center; }
.team__cta p { color: var(--muted); margin-bottom: 14px; font-size: 1.05rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: 18px; object-fit: contain; }
.lightbox p { color: #fff; font-weight: 600; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .about, .careers, .contact, .featured { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .contact, .careers { padding: 36px 24px; }
  .ceo { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .ceo__photo { max-width: 280px; }
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; z-index: 60; }
  .nav__links {
    position: fixed; top: 84px; left: 16px; right: 16px; flex-direction: column; align-items: flex-start;
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(1, 24, 78, .08); padding: 24px; gap: 18px; border-radius: 20px; box-shadow: 0 20px 40px rgba(1, 24, 78, .18);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat:last-child { grid-column: span 2; }
  .float { display: none; }
  .section { padding: 70px 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: span 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gallery--four { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .tmember { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@keyframes resultsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
