/* Lonna Games – quiet, dark, corporate. No web fonts: the system UI font reads well in every site language. */
:root {
  --bg: #0a0d14;
  --bg-2: #0e121b;
  --surface: #131823;
  --surface-2: #181e2b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f6;
  --muted: #9ba4b5;
  --faint: #6d7689;
  --accent: #ffb21e;
  --accent-2: #ff7a1a;
  --radius: 16px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(10, 13, 20, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 38px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.langs { position: relative; margin-left: 6px; }
.langs summary { list-style: none; cursor: pointer; font-size: .85rem; font-weight: 600; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.langs[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 170px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); animation: drop .22s var(--ease); }
.langs li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: .92rem; }
.langs li a span { color: var(--faint); font-size: .8rem; font-weight: 600; }
.langs li a:hover { background: rgba(255, 255, 255, .06); }
.langs li a[aria-current="true"] { color: var(--accent); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* Buttons and store badges */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; padding: 13px 22px; border-radius: 12px; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn-primary { background: var(--accent); color: #14100a; }
.btn-primary:hover { background: #ffc24a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 178, 30, .22); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 10px; background: #000; border: 1px solid var(--line-2); text-decoration: none; color: #fff; line-height: 1.15; min-width: 158px; }
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: .68rem; color: #b9c0cc; letter-spacing: .02em; }
.store b { display: block; font-size: .98rem; font-weight: 600; }
a.store:hover { border-color: rgba(255, 255, 255, .35); }
.stores.sm .store { min-width: 0; padding: 6px 12px 6px 10px; }
.stores.sm .store svg { width: 18px; height: 18px; }
.stores.sm .store b { font-size: .86rem; }

/* Sections */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Home: Zero to CEO banner (the whole card is one link) */
.hero { padding: 40px 0 0; }
.banner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 500px; border-radius: 24px; overflow: hidden; text-decoration: none; color: inherit;
  background: radial-gradient(120% 120% at 100% 0%, rgba(47, 164, 236, .28), transparent 55%), radial-gradient(90% 90% at 0% 100%, rgba(255, 122, 26, .16), transparent 60%), var(--surface);
  border: 1px solid var(--line-2); isolation: isolate; }
.banner-copy { padding: 56px 0 56px 56px; position: relative; z-index: 2; }
.banner h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 12px; }
.pill { display: inline-block; font-size: .85rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255, 122, 26, .16); color: #ffab6b; margin-bottom: 20px; }
.banner p.lead { color: #c7cedb; font-size: 1.1rem; max-width: 470px; margin-bottom: 30px; }
.banner-art { align-self: stretch; position: relative; min-height: 320px; }
.banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.banner-art img { transition: none; }
.banner-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.banner-head .banner-title { margin: 0 0 8px; }
.banner-head .pill { margin: 0; }
.banner-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); flex: none; }

/* Home: about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.about-text p { color: #c7cedb; font-size: 1.1rem; }

/* Tiles */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: border-color .3s, transform .4s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tile .num { font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 26px; display: block; }
.tile h3 { font-size: 1.22rem; }
.tile p { color: var(--muted); margin: 0; font-size: .98rem; }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 178, 30, .12); color: var(--accent); margin-bottom: 22px; }
.tile .ic svg { width: 22px; height: 22px; }
.principles-head { margin: 80px 0 0; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); }
.principles div { padding-top: 28px; }
.principles h3 { font-size: 1.12rem; }
.principles p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Our games */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .3s, transform .45s var(--ease), box-shadow .45s, opacity .9s var(--ease); }
.game:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.game .shot { aspect-ratio: 4 / 3; overflow: hidden; background: #0c1018; }
.game .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.game:hover .shot img { transform: scale(1.05); }
.game .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); margin-bottom: 14px; }
.tag.hot { color: var(--accent); border-color: rgba(255, 178, 30, .4); }
.game h3 { font-size: 1.35rem; margin-bottom: 8px; }
.game h3 a { text-decoration: none; }
.game h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card opens the game page */
.game p { color: var(--muted); font-size: .98rem; flex: 1; }
.game .more { color: var(--accent); font-weight: 600; font-size: .95rem; margin: -4px 0 18px; display: inline-flex; gap: 6px; }
.game:hover .more .arrow { transform: translateX(4px); }
.game .stores { position: relative; z-index: 2; }

/* Contact band */
.contact-band { text-align: center; }
.contact-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.contact-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }

/* Zero to CEO page */
.game-hero { padding: 72px 0 40px; }
.game-hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.game-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-bottom: 12px; }
.game-hero .lead { color: #c7cedb; font-size: 1.12rem; max-width: 540px; margin-bottom: 30px; }
.game-hero .art { position: relative; }
.game-hero .art .frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; }
.game-hero .art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.game-hero .art .icon { position: absolute; left: -28px; bottom: -28px; width: 112px; border-radius: 26px; border: 4px solid var(--bg); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.headline { display: inline-block; font-size: clamp(1.8rem, 4.4vw, 3.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; color: var(--accent); border: 2px solid var(--accent); border-radius: 14px; padding: 14px 30px; margin-bottom: 56px; }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { color: var(--muted); font-weight: 500; width: 36%; padding-right: 20px; }
.back { display: inline-flex; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.back:hover { color: var(--text); }

/* Inner pages */
.page-title { padding: 80px 0 44px; border-bottom: 1px solid var(--line); }
.page-title h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); margin: 0; }
.page-title p { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin: 14px 0 0; }
.article { max-width: 780px; padding: 56px 0 96px; }
.article h2 { font-size: 1.3rem; margin-top: 2.2em; }
.article p, .article li { color: #c7cedb; }
.article a { color: var(--accent); }
.article .meta { color: var(--faint); font-size: .92rem; }
.faq-list { max-width: 820px; padding: 40px 0 24px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 22px; margin: 0; }
.faq a { color: var(--accent); }
.support-mail { max-width: 820px; margin: 24px 0 96px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.support-mail h2 { font-size: 1.3rem; }
.support-mail a.mail { font-size: 1.4rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.support-mail p:last-child { color: var(--muted); margin: 0; }
.notfound { text-align: center; padding: 120px 0; }
.notfound .num { font-size: 6rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.notfound p { color: var(--muted); }
.notfound hr { border: 0; border-top: 1px solid var(--line); margin: 48px auto; max-width: 320px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 36px; font-size: .95rem; }
.site-footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand-col img { width: 54px; margin-bottom: 18px; }
.site-footer .brand-col p { color: var(--muted); max-width: 300px; }
.site-footer h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.socials a:hover { border-color: rgba(255, 255, 255, .35); }
.socials svg { width: 18px; height: 18px; }
.site-footer .fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }

/* Social dock: fixed on the right; each item is a drawer that slides out to show its name */
.dock { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 45; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dock li { animation: dock-in .8s var(--ease) .4s both; }
.dock li:nth-child(2) { animation-delay: .5s; } .dock li:nth-child(3) { animation-delay: .6s; } .dock li:nth-child(4) { animation-delay: .7s; }
.dock a { --brand: var(--accent); display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 14px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
  background: rgba(19, 24, 35, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-right: 0; border-radius: 12px 0 0 12px;
  transform: translateX(calc(100% - 50px)); transition: transform .5s var(--ease), background .35s, color .35s, box-shadow .35s; }
.dock svg { width: 22px; height: 22px; flex: none; }
.dock span { opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .45s var(--ease); }
.dock a:hover, .dock a:focus-visible { transform: translateX(0); background: var(--brand); color: #fff; box-shadow: -10px 10px 28px rgba(0, 0, 0, .35); outline: none; }
.dock a:hover span, .dock a:focus-visible span { opacity: 1; transform: none; transition-delay: .08s; }
.dock .youtube { --brand: #e62117; }
.dock .x { --brand: #000; }
.dock .instagram { --brand: #d62976; }
.dock a.instagram:hover, .dock a.instagram:focus-visible { background: linear-gradient(45deg, #f9a03f, #e1306c 45%, #833ab4 80%, #5851db); }
.dock .mail { --brand: var(--accent-2); }
@keyframes dock-in { from { opacity: 0; transform: translateX(60px); } }

/* Entrance and scroll animations. Without JavaScript (or with reduced motion) everything is simply visible. */
.enter { animation: rise .9s var(--ease) both; }
.enter.d1 { animation-delay: .1s; } .enter.d2 { animation-delay: .2s; } .enter.d3 { animation-delay: .3s; } .enter.d4 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .3s, box-shadow .45s; transition-delay: var(--d, 0s); }
.js .rv.from-left { transform: translateX(-40px); }
.js .rv.from-right { transform: translateX(40px); }
.js .rv.zoom { transform: scale(.94); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.in.game:hover, .js .rv.in.tile:hover { transition-delay: 0s; }
.js .rv.in.game:hover { transform: translateY(-6px); }
.js .rv.in.tile:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Tablet and phone */
@media (max-width: 980px) {
  .banner { grid-template-columns: 1fr; }
  .banner-copy { padding: 40px 32px 8px; }
  .banner-art { min-height: 340px; }
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .cols3, .games { grid-template-columns: 1fr 1fr; }
  .cols4 { grid-template-columns: 1fr 1fr; }
  .game-hero .grid { grid-template-columns: 1fr; gap: 48px; }
  .game-hero .art { max-width: 460px; margin: 0 auto; width: 100%; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 60px; }
  .brand span { display: none; }
  .nav > a { padding: 8px 9px; font-size: .9rem; }
  .section { padding: 76px 0; }
  .hero { padding-top: 16px; }
  .banner { min-height: 0; border-radius: 20px; }
  .banner-copy { padding: 30px 22px 4px; }
  .banner-art { min-height: 280px; }
  .cols3, .cols4, .principles, .games { grid-template-columns: 1fr; }
  .principles { gap: 0; }
  .headline { padding: 10px 18px; margin-bottom: 40px; }
  .game-hero { padding-top: 40px; }
  .game-hero .art .icon { width: 84px; left: -8px; bottom: -20px; border-radius: 20px; }
  .banner-icon { width: 76px; height: 76px; border-radius: 18px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 28px; }
  .dock { display: none; }   /* phones: the same links sit in the footer */
}

/* Added for the page templates */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.banner-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 12px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.btn svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .cols2 { grid-template-columns: 1fr; } }
.lead-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: #c7cedb; }
@media (max-width: 980px) { .banner-art img { object-position: 50% 45%; } }

/* Store images: an endless reel. Pauses on hover; the hovered image lifts. */
.reel { overflow: hidden; padding: 28px 0 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.reel-track { display: flex; width: max-content; animation: reel 48s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
.reel figure { margin: 0 26px 0 0; width: 270px; flex: none; transition: transform .5s var(--ease); }
.reel figure:nth-child(even) { transform: translateY(26px); }
.reel img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.reel a.lb { display: block; cursor: zoom-in; border-radius: 22px; }
.reel figure:hover img { transform: translateY(-12px) scale(1.04); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 178, 30, .55); }
@keyframes reel { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .reel figure { width: 200px; margin-right: 18px; } .reel figure:nth-child(even) { transform: translateY(16px); } .reel-track { animation-duration: 36s; } }
@media (prefers-reduced-motion: reduce) {
  .reel { -webkit-mask-image: none; mask-image: none; }
  .reel-track { width: auto; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 0 16px; }
  .reel figure { margin: 0; } .reel figure:nth-child(even) { transform: none; } .reel figure[aria-hidden] { display: none; }
}

/* Gallery dialog */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 7, 12, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; animation: lb-in .3s var(--ease); }
.lb-stage { margin: 0; height: 100dvh; display: grid; place-items: center; padding: 56px 0; min-width: 0; }
.lb-stage img { max-height: calc(100dvh - 112px); max-width: 100%; width: auto; height: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); user-select: none; -webkit-user-drag: none; }
.lb-stage img.go-next { animation: lb-next .42s var(--ease); }
.lb-stage img.go-prev { animation: lb-prev .42s var(--ease); }
.lightbox button { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; border-radius: 999px; display: grid; place-items: center; transition: background .25s, transform .25s var(--ease); font: 300 2rem/1 inherit; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lb-prev, .lb-next { width: 56px; height: 56px; justify-self: center; padding-bottom: 4px; }
.lb-prev:hover { transform: translateX(-3px); } .lb-next:hover { transform: translateX(3px); }
.lb-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; z-index: 2; font-size: 1.8rem; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; color: rgba(255, 255, 255, .7); font-size: .9rem; letter-spacing: .08em; }
html.lb-lock { overflow: hidden; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-next { from { opacity: 0; transform: translateX(60px) scale(.97); } }
@keyframes lb-prev { from { opacity: 0; transform: translateX(-60px) scale(.97); } }
@media (max-width: 720px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-stage { padding: 64px 12px 72px; }
  .lb-stage img { max-height: calc(100dvh - 140px); }
  .lb-prev, .lb-next { position: absolute; bottom: 12px; width: 48px; height: 48px; }
  .lb-prev { left: 20px; } .lb-next { right: 20px; }
  .lb-count { bottom: 26px; }
}
.headline { margin-bottom: 16px; }
.after-reel { margin-top: 56px; text-align: left; }
@media (max-width: 720px) { .after-reel { margin-top: 36px; } }

/* Full-width banner: edge to edge, the text lines up with the page column */
.hero { padding: 0; }
.banner { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 560px; grid-template-columns: 1fr 1fr; }
.banner-copy { padding: 72px 48px 72px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.about-solo { max-width: 820px; }
.about-solo p:not(.eyebrow) { color: #d5dbe6; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.7; }
@media (max-width: 980px) {
  .banner { grid-template-columns: 1fr; min-height: 0; }
  .banner-copy { padding: 48px 24px 16px; }
}
@media (max-width: 720px) {
  .banner { border-radius: 0; }
  .banner-copy { padding: 36px 16px 8px; }
}
.banner { grid-template-columns: 1.1fr .9fr; }
.banner-head .banner-title { white-space: nowrap; font-size: clamp(2.2rem, 4vw, 3.8rem); }
@media (max-width: 980px) { .banner { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .banner-head .banner-title { font-size: 2rem; } }

/* Banner v3: the photo covers the whole banner, the text sits on a soft dark fade on the left */
.banner { display: flex; align-items: center; min-height: min(78vh, 680px); background: #0a0d14; grid-template-columns: none; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: 0; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 11, 18, .88) 0%, rgba(8, 11, 18, .66) 34%, rgba(8, 11, 18, 0) 62%); }
.banner-copy { position: relative; z-index: 2; max-width: calc(560px + max(24px, (100vw - var(--wrap)) / 2 + 24px)); text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.banner p.lead { color: #eef1f6; }
.banner-sub { margin: 0; font-size: 1.1rem; font-weight: 600; color: #ffcf7a; }
@media (max-width: 980px) {
  .banner { align-items: flex-end; min-height: 640px; }
  .banner-bg { object-position: 35% 50%; }
  .banner::before { background: linear-gradient(0deg, rgba(8, 11, 18, .92) 0%, rgba(8, 11, 18, .75) 42%, rgba(8, 11, 18, 0) 72%); }
  .banner-copy { max-width: none; padding: 48px 24px 40px; }
}
@media (max-width: 720px) { .banner { min-height: 620px; } .banner-copy { padding: 32px 16px 32px; } }

/* Banner v4: the Zero to CEO blue (picture on the right, deeper blue under the text on the left) */
.banner { background: #3aa9f5; }
.banner-bg { object-position: 72% 50%; }
.banner::before { background: linear-gradient(90deg, rgba(9, 58, 140, .78) 0%, rgba(14, 86, 180, .5) 34%, rgba(20, 110, 210, 0) 58%); }
.banner-copy { text-shadow: 0 2px 12px rgba(5, 30, 80, .45); }
.banner p.lead { color: #fff; }
.banner-sub { color: #ffd77e; }
@media (max-width: 980px) {
  .banner-bg { object-position: 74% 50%; }
  .banner::before { background: linear-gradient(0deg, rgba(9, 58, 140, .9) 0%, rgba(14, 86, 180, .7) 42%, rgba(20, 110, 210, 0) 70%); }
}
@media (max-width: 980px) {
  .banner { flex-direction: column; align-items: stretch; min-height: 0; background: linear-gradient(180deg, #3aa9f5 0%, #1c74cf 55%, #0f4f9f 100%); }
  .banner-bg { position: relative; inset: auto; height: 380px; object-position: 50% 40%; }
  .banner::before { display: none; }
  .banner-copy { padding: 28px 24px 40px; text-shadow: none; }
}
@media (max-width: 720px) { .banner-bg { height: auto; aspect-ratio: 4 / 3; } .banner-copy { padding: 24px 16px 36px; } }

/* Phones: the social links (the side dock is hidden there) sit above About us */
.m-socials { display: none; }
@media (max-width: 720px) {
  .m-socials { display: flex; gap: 12px; margin: -28px 0 44px; }
  .m-socials a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); }
  .m-socials svg { width: 21px; height: 21px; }
}
