/* LiveOn — extra page styles (Team, Gallery, mobile menu). Uses the tokens from styles-BrrFS0hy.css */

/* ---------- Header: room for 8 links + working mobile menu ---------- */
@media (min-width:768px) and (max-width:1099px){
  header nav.gap-8{gap:.95rem}
  header nav.gap-8 a{font-size:.8125rem}
}
.mnav{border-top:1px solid var(--border);background:var(--background)}
.mnav[hidden]{display:none}
.mnav a{display:block;padding:.9rem 1.25rem;font-size:.95rem;font-weight:500;color:oklch(18% .03 250/.85);border-bottom:1px solid var(--border)}
.mnav a:hover,.mnav a[aria-current="page"]{color:var(--primary)}
@media (min-width:768px){.mnav{display:none!important}}

/* ---------- Shared bits ---------- */
.x-section-head{max-width:42rem;margin-inline:auto;text-align:center}
.x-section-head p.lead{margin-top:.9rem;color:var(--muted-foreground)}
.x-cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:2rem}
a:focus-visible,button:focus-visible{outline:3px solid var(--ring);outline-offset:3px;border-radius:.35rem}

/* ---------- Team ---------- */
.team-grid{display:grid;gap:1.75rem;margin-top:3rem}
.team-lead{grid-template-columns:1fr}
.team-crew{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
@media (min-width:640px){.team-lead{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){
  .team-lead{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
  .team-crew{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
}
.member{background:var(--card);border:1px solid var(--border);border-radius:.9rem;overflow:hidden;box-shadow:var(--shadow-elegant);transition:var(--transition-smooth)}
.member:hover{transform:translateY(-4px)}
.member-photo{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--secondary)}
.member-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.4,0,.2,1)}
.member:hover .member-photo img{transform:scale(1.04)}
.member-photo::after{content:"";position:absolute;left:0;bottom:0;height:4px;width:3rem;background:var(--gradient-primary);transition:width .45s cubic-bezier(.4,0,.2,1)}
.member:hover .member-photo::after{width:100%}
.member-body{padding:1.25rem 1.4rem 1.4rem}
.member-name{font-family:"Space Grotesk",ui-sans-serif,system-ui,sans-serif;font-size:1.2rem;font-weight:600;line-height:1.25;color:var(--navy)}
.member-role{margin-top:.2rem;font-size:.875rem;font-weight:600;color:oklch(54% .17 50)}
.member-bio{margin-top:.65rem;font-size:.875rem;line-height:1.6;color:var(--muted-foreground)}
.member-links{display:flex;gap:.5rem;margin-top:1rem}
.member-links a{display:grid;place-items:center;width:2.1rem;height:2.1rem;border:1px solid var(--border);border-radius:.5rem;color:var(--navy);transition:var(--transition-smooth)}
.member-links a:hover{background:var(--gradient-primary);border-color:transparent;color:#fff}
.member-links svg{width:1rem;height:1rem}
.member.sm .member-photo{aspect-ratio:1/1}
.member.sm .member-body{padding:1rem 1.1rem 1.15rem}
.member.sm .member-name{font-size:1.02rem}
.member.sm .member-role{font-size:.8125rem}
.member.sm .member-links{margin-top:.8rem}

/* ---------- Gallery ---------- */
.gal-bar{position:sticky;top:4rem;z-index:30;background:oklch(100% 0 0/.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.gal-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.gal-chips{display:flex;gap:.5rem;overflow-x:auto;padding:.85rem 0;scrollbar-width:none}
.gal-chips::-webkit-scrollbar{display:none}
.chip{flex:none;border:1px solid var(--border);background:var(--card);color:var(--secondary-foreground);border-radius:999px;padding:.45rem 1rem;font:500 .875rem/1.2 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;transition:var(--transition-smooth)}
.chip:hover{border-color:var(--primary)}
.chip[aria-pressed="true"]{background:var(--gradient-primary);border-color:transparent;color:#fff;box-shadow:var(--shadow-glow)}
.chip .n{margin-left:.4rem;font-size:.75rem;opacity:.7}
.gal-count{display:none;flex:none;font-size:.8125rem;color:var(--muted-foreground)}
@media (min-width:1024px){.gal-count{display:block}}

.gal{columns:1;column-gap:1.25rem}
@media (min-width:600px){.gal{columns:2}}
@media (min-width:1024px){.gal{columns:3;column-gap:1.5rem}}
.shot{break-inside:avoid;margin:0 0 1.5rem;background:var(--card);border:1px solid var(--border);border-radius:.9rem;overflow:hidden;box-shadow:var(--shadow-elegant)}
.shot[hidden]{display:none}
.shot-open{position:relative;display:block;width:100%;padding:0;border:0;background:var(--secondary);cursor:zoom-in;overflow:hidden}
.shot-open img{display:block;width:100%;height:auto;transition:transform .7s cubic-bezier(.4,0,.2,1)}
.shot:hover .shot-open img{transform:scale(1.04)}
.shot-open::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(to top,oklch(30% .09 255/.55),transparent);opacity:0;transition:opacity .35s}
.shot:hover .shot-open::after,.shot-open:focus-visible::after{opacity:1}
.shot-zoom{position:absolute;right:.75rem;bottom:.75rem;z-index:1;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:999px;background:var(--gradient-primary);color:#fff;box-shadow:var(--shadow-glow);opacity:0;transform:translateY(6px);transition:var(--transition-smooth)}
.shot:hover .shot-zoom,.shot-open:focus-visible .shot-zoom{opacity:1;transform:none}
.shot-zoom svg{width:1rem;height:1rem}
.shot-open:focus-visible{outline:3px solid var(--ring);outline-offset:-3px;border-radius:0}
.shot figcaption{padding:.9rem 1.1rem 1.1rem}
.shot-tag{display:inline-block;margin-bottom:.35rem;font-size:.75rem;font-weight:600;color:var(--navy)}
.shot-text{font-size:.9rem;line-height:1.5;color:var(--foreground)}

/* Lightbox */
.lb{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:1rem;background:oklch(24% .07 255/.95);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.lb.open{display:flex}
.lb-fig{display:flex;flex-direction:column;align-items:center;gap:1rem;max-width:min(1100px,100%);max-height:100%;margin:0}
.lb-fig img{width:auto;height:auto;max-width:100%;max-height:calc(100vh - 10rem);border-radius:.6rem;box-shadow:0 30px 80px -20px #0008}
.lb-cap{max-width:42rem;text-align:center;color:#fff}
.lb-cap strong{display:block;font:600 1.05rem/1.4 "Space Grotesk",ui-sans-serif,system-ui,sans-serif}
.lb-cap span{display:block;margin-top:.25rem;font-size:.8125rem;color:oklch(100% 0 0/.65)}
.lb-btn{position:absolute;display:grid;place-items:center;width:2.9rem;height:2.9rem;border:1px solid oklch(100% 0 0/.35);border-radius:999px;background:oklch(100% 0 0/.1);color:#fff;cursor:pointer;transition:var(--transition-smooth)}
.lb-btn:hover{background:var(--gradient-primary);border-color:transparent}
.lb-btn svg{width:1.3rem;height:1.3rem}
.lb-close{top:1rem;right:1rem}
.lb-prev,.lb-next{top:50%;transform:translateY(-50%)}
.lb-prev{left:1rem}.lb-next{right:1rem}
@media (max-width:640px){.lb-prev,.lb-next{top:auto;bottom:1rem;transform:none}.lb-prev{left:calc(50% - 3.5rem)}.lb-next{right:calc(50% - 3.5rem)}.lb-fig img{max-height:calc(100vh - 13rem)}}

@media (prefers-reduced-motion:reduce){
  .member,.member-photo img,.member-photo::after,.shot-open img,.shot-zoom,.chip{transition:none}
  .member:hover,.member:hover .member-photo img,.shot:hover .shot-open img{transform:none}
}

/* ---------- Downloads ---------- */
.dl-grid{display:grid;grid-template-columns:1fr;gap:1.75rem;margin-top:3rem}
@media (min-width:900px){.dl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}}

.dl-card{display:flex;flex-direction:column;overflow:hidden;background:var(--card);border:1px solid var(--border);border-radius:1rem;box-shadow:var(--shadow-elegant);transition:var(--transition-smooth)}
.dl-card:hover{transform:translateY(-4px);border-color:oklch(66% .19 55/.4)}

.dl-stage{position:relative;display:grid;place-items:center;padding:2.5rem 1.5rem;background:radial-gradient(120% 90% at 50% 0%,oklch(100% 0 0) 0%,var(--secondary) 70%);border-bottom:1px solid var(--border)}
.dl-stage::after{content:"";position:absolute;left:0;bottom:-1px;height:4px;width:3rem;background:var(--gradient-primary);transition:width .45s cubic-bezier(.4,0,.2,1)}
.dl-card:hover .dl-stage::after{width:100%}

/* Brochure cover mock-up */
.cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;width:min(13.5rem,70%);aspect-ratio:3/4;padding:1.1rem;border-radius:.6rem;color:#fff;box-shadow:0 28px 50px -22px oklch(30% .09 255/.55),0 3px 8px oklch(30% .09 255/.2);transition:transform .5s cubic-bezier(.4,0,.2,1)}
.dl-card:hover .cover{transform:translateY(-4px) rotate(-1.5deg)}
.cover::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 12%,oklch(100% 0 0/.22),transparent 55%),linear-gradient(to top,oklch(20% .06 255/.35),transparent 55%)}
.cover-navy{background:var(--gradient-navy)}
.cover-orange{background:var(--gradient-primary)}
.cover-logo{position:relative;z-index:1;align-self:flex-start;padding:.35rem .6rem;background:#fff;border-radius:.4rem;box-shadow:0 6px 16px -8px oklch(20% .06 255/.5)}
.cover-logo img{display:block;width:auto;height:1.45rem}
.cover-icon{position:absolute;right:-.9rem;top:34%;width:7rem;height:7rem;color:#fff;opacity:.2}
.cover-text{position:relative;z-index:1}
.cover-text b{display:block;font:700 1.3rem/1.15 "Space Grotesk",ui-sans-serif,system-ui,sans-serif;letter-spacing:-.01em}
.cover-text span{display:inline-block;margin-top:.55rem;padding-top:.5rem;border-top:2px solid oklch(100% 0 0/.55);font-size:.6875rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;opacity:.9}

.dl-body{display:flex;flex:1;flex-direction:column;padding:1.75rem 1.75rem 1.9rem}
.dl-meta{font-size:.75rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:oklch(54% .17 50)}
.dl-title{margin-top:.5rem;font-size:1.4rem;font-weight:700;line-height:1.25;color:var(--navy)}
.dl-desc{margin-top:.75rem;font-size:.9375rem;line-height:1.65;color:var(--muted-foreground)}
.dl-list{display:grid;gap:.6rem;margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.dl-list li{display:flex;align-items:flex-start;gap:.65rem;font-size:.9rem;line-height:1.45;color:var(--foreground)}
.dl-list svg{flex:none;box-sizing:content-box;width:.8rem;height:.8rem;margin-top:.1rem;padding:.2rem;border-radius:999px;background:oklch(66% .19 55/.14);color:oklch(54% .17 50)}
.dl-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:auto;padding-top:1.75rem}
.dl-actions svg{flex:none;width:1.1rem;height:1.1rem}

/* Ghost button for light backgrounds */
.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border:1.5px solid oklch(52% .1 255/.35);border-radius:var(--radius);background:transparent;color:var(--navy);font-size:.9375rem;font-weight:600;transition:var(--transition-smooth)}
.btn-ghost:hover{background:var(--secondary);border-color:var(--navy);transform:translateY(-2px)}

@media (prefers-reduced-motion:reduce){
  .dl-card,.cover,.dl-stage::after,.btn-ghost{transition:none}
  .dl-card:hover,.dl-card:hover .cover,.btn-ghost:hover{transform:none}
}
@media (max-width:480px){.dl-actions a{flex:1 1 100%}.dl-body{padding:1.5rem 1.35rem 1.6rem}}
