/* ============================================================================
   Robin Shahid – AI Futurist
   Global Stylesheet (extracted from index.php + gallery additions)
   ============================================================================ */

/* ---------- Design tokens ---------- */
:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --muted-2: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 18px 60px rgba(0,0,0,0.35);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1060px;
  --accent: #8bd3ff;
  --accent-2: #c4a7ff;
  --accent-3: #66f2c2;
  --focus: rgba(139,211,255,0.35);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Smooth gradient overlay */
body::before{
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, rgba(196,167,255,0.18), transparent 50%),
    radial-gradient(ellipse 120% 80% at 90% 10%, rgba(139,211,255,0.14), transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(102,242,194,0.10), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a{ color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap{
  max-width: var(--max);
  padding: 18px 18px 26px;
  margin: 0 auto;
}

/* ---------- Sticky top nav ---------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11,16,32,0.70);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  min-width: 220px;
}
.dot{
  width: 12px; height: 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(139,211,255,0.08);
}
.brand-title{
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 14px;
  line-height: 1.1;
}
.brand-sub{
  display:block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex; flex-wrap:wrap; gap: 8px;
  justify-content: flex-end;
}
.nav a{
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* ---------- Nav dropdown ---------- */
.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown > a::after{
  content: ' ▾';
  font-size: 9px;
  opacity: 0.6;
}
.nav-dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding-top: 6px; /* invisible bridge so mouse can travel to menu */
  z-index: 100;
}
.nav-dropdown-menu::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px; /* hover bridge area */
}
.nav-dropdown-menu-inner{
  background: rgba(11,16,32,0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu{
  display: block;
}
/* focus-within only on desktop for keyboard accessibility */
@media (min-width: 721px){
  .nav-dropdown:focus-within .nav-dropdown-menu{
    display: block;
  }
}
.nav-dropdown-menu-inner a{
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 8px;
  border: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-dropdown-menu-inner a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.08);
  transform: none;
  border-color: transparent;
}

/* ---------- Hero ---------- */
.hero{
  padding: 26px 0 10px;
  display:grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
  .brand{ min-width: auto; }
}

.card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card-inner{
  padding: 20px;
}

.hero h1{
  margin: 0 0 8px 0;
  font-size: clamp(28px, 3.3vw, 44px);
  letter-spacing: -0.4px;
  line-height: 1.07;
}
.hero h1 .glow{
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 60ch;
}

.pillrow{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.pill b{ color: rgba(255,255,255,0.9); font-weight: 700; }

.cta-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 520px){
  .cta-grid{ grid-template-columns: 1fr; }
}

.btn{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  cursor: pointer;
  user-select:none;
  position: relative;
  overflow: hidden;
}
.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.18);
}
.btn:active{
  transform: translateY(0px) scale(0.99);
}
.btn .label{
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15px;
}
.btn .sub{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}
.btn .arrow{
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.btn::before{
  content:"";
  position:absolute;
  inset:-60% -50%;
  background: radial-gradient(closest-side, rgba(139,211,255,0.14), transparent 65%);
  transform: translate3d(-35%, -10%, 0);
  opacity: 0;
  transition: opacity .18s ease;
}
.btn:hover::before{ opacity: 1; }

/* ---------- Right hero panel ---------- */
.profile{
  display:flex; flex-direction: column;
  height: 100%;
  gap: 14px;
}
.avatar{
  display:flex; gap: 14px; align-items: flex-start;
}
.avatar img{
  width: 74px; height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  object-fit: cover;
  background: rgba(255,255,255,0.05);
}
.avatar .who{ min-width: 0; }
.who .name{
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}
.who .tag{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.icon-row{
  display:flex; flex-wrap:wrap; gap: 8px;
  margin-top: 8px;
}
.icon{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.icon:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}
.icon .mark{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}

/* ---------- Sections ---------- */
section{
  margin-top: 42px;
  scroll-margin-top: 90px;
}
.section-head{
  display:flex; align-items:baseline; justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.section-head h2{
  margin:0;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.section-head p{
  margin:0;
  font-size: 12px;
  color: var(--muted-2);
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.col-6{ grid-column: span 6; }
.col-4{ grid-column: span 4; }
.col-8{ grid-column: span 8; }
.col-12{ grid-column: span 12; }

@media (max-width: 920px){
  .col-6, .col-4, .col-8{ grid-column: span 12; }
}

.panel{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.kline{
  width: 26px; height: 1px;
  background: rgba(255,255,255,0.22);
}
.panel p{
  margin: 0 0 10px 0;
  color: var(--muted);
  font-size: 14px;
}
.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}
.list li{ margin: 8px 0; }

.chips{
  display:flex; flex-wrap:wrap; gap: 8px;
  margin-top: 10px;
}
.chip{
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

/* ---------- Featured tiles ---------- */
.tile{
  display:flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.tile:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.thumb{
  width: 86px; height: 86px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  object-fit: cover;
  flex: 0 0 auto;
}

.thumb.logo{
  object-fit: contain;
  padding: 8px;
  background: rgba(0,0,0,0.22);
  border-color: rgba(255,255,255,0.16);
}
.thumb.invert,
.award-badge img.invert{
  filter: invert(1) contrast(1.05) brightness(1.02);
}

.tile .tcopy{ min-width: 0; }
.tile .tt{
  margin:0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.1px;
}
.tile .td{
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.tile .tmeta{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
}
.tmeta a{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.tmeta a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.award-row{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
  margin-top: 10px;
}
.award-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
}
.award-badge img{
  display:block;
  width: 150px;
  height: auto;
  max-height: 110px;
  object-fit: contain;
}

/* ---------- Laurels grid ---------- */
.laurels-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.laurel-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #ffffff;
  aspect-ratio: 1;
}
.laurel-badge img{
  display:block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- QR Codes ---------- */
.qr-section{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.qr-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.qr-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.qr-item .qr-code{
  background: white;
  padding: 8px;
  border-radius: 10px;
}
.qr-item .qr-label{
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* ---------- Contact form ---------- */
form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 720px){
  form{ grid-template-columns: 1fr; }
}
label{
  display:block;
  font-size: 12px;
  color: var(--muted-2);
  margin: 0 0 6px;
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
}
textarea{ min-height: 120px; resize: vertical; grid-column: 1 / -1; }
.submit-row{
  grid-column: 1 / -1;
  display:flex; align-items:center; gap: 10px; justify-content: space-between;
  margin-top: 6px;
}
.submit{
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(139,211,255,0.18), rgba(196,167,255,0.16));
  color: rgba(255,255,255,0.92);
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.submit:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.20);
}
.note{
  font-size: 12px;
  color: var(--muted-2);
}

/* Form states */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading svg {
  display: inline-block;
  vertical-align: middle;
}

.form-error {
  padding: 12px 16px;
  background: rgba(255, 100, 100, 0.15);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 12px;
  color: #ff8a8a;
  font-size: 14px;
  margin-top: 10px;
}

.contact-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(102, 242, 194, 0.2), rgba(139, 211, 255, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-3);
}

.contact-success h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--text);
}

.contact-success p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}

.contact-success .success-note {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 16px;
}

.reset-btn {
  margin-top: 24px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reset-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 100, 100, 0.4);
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: rgba(102, 242, 194, 0.4);
}

/* ---------- Footer ---------- */
footer{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted-2);
  font-size: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
}
footer .mono{ font-family: var(--mono); opacity: 0.9; }

/* ---------- Animations ---------- */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity: 1; transform: none; }
}

.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;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 720px){
  .topbar-inner{
    align-items: center;
    gap: 10px;
  }

  .brand{
    min-width: 0;
    flex: 0 0 auto;
  }

  .brand-title{ font-size: 13px; }
  .brand-sub{ display: none; }

  .nav{
    flex: 1 1 auto;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 6px;
    padding: 2px 2px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar{ display:none; }

  .nav a{
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
  }

  /* Dropdown on mobile: hide the inline dropdown entirely */
  .nav-dropdown-menu{
    display: none !important;
  }
  .nav-dropdown-menu::before{
    content: none !important;
  }
}

/* ---------- Mobile bottom sheet overlay ---------- */
.mobile-sheet-backdrop{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-sheet-backdrop.active{
  display: block;
  opacity: 1;
}

.mobile-sheet{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 201;
  background: rgba(16,20,38,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 16px);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-sheet.active{
  transform: translateY(0);
}

.mobile-sheet-handle{
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin: 10px auto 4px;
}

.mobile-sheet-title{
  padding: 12px 20px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted-2);
}

.mobile-sheet-links{
  padding: 0 12px 12px;
}
.mobile-sheet-links a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  border-radius: 12px;
  transition: background .15s ease;
}
.mobile-sheet-links a:hover,
.mobile-sheet-links a:active{
  background: rgba(255,255,255,0.08);
}
.mobile-sheet-links a .sheet-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

.mobile-sheet-footer{
  padding: 8px 12px 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-sheet-footer a{
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 12px;
  text-align: center;
  transition: background .15s ease;
}
.mobile-sheet-footer a:active{
  background: rgba(255,255,255,0.06);
}

/* Only show on mobile */
@media (min-width: 721px){
  .mobile-sheet-backdrop,
  .mobile-sheet{
    display: none !important;
  }
}

@media (max-width: 720px){
  .hero{
    padding-top: 16px;
  }
}


/* ============================================================================
   GALLERY PAGE STYLES
   ============================================================================ */

/* ---------- Gallery section ---------- */
.gallery-section{
  margin-top: 42px;
  scroll-margin-top: 90px;
}
.gallery-section:first-of-type{
  margin-top: 26px;
}

.gallery-section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 2px;
}
.gallery-section-head h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.gallery-section-head .count{
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- Gallery scroll strip ---------- */
.gallery-strip-container{
  position: relative;
}

.gallery-strip{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 12px;
  scroll-behavior: smooth;
  /* Hide scrollbar everywhere - arrows + swipe are the UX */
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar{
  display: none;
}

.gallery-strip-track{
  display: flex;
  gap: 12px;
  width: max-content;
}

.gallery-strip-track img{
  height: 300px;
  width: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-strip-track img:hover{
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Arrow buttons */
.strip-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(139,211,255,0.4);
  background: rgba(11,16,32,0.95);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .18s ease, color .18s ease, opacity .3s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.strip-arrow:hover{
  background: linear-gradient(135deg, rgba(139,211,255,0.25), rgba(196,167,255,0.25));
  border-color: rgba(139,211,255,0.7);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 24px rgba(139,211,255,0.25);
}
.strip-arrow.prev{
  left: 14px;
}
.strip-arrow.next{
  right: 14px;
}
.strip-arrow.at-end{
  opacity: 0;
  pointer-events: none;
}

/* Fade edges to hint there's more content */
.gallery-strip-container::before,
.gallery-strip-container::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-strip-container::before{
  left: 0;
  background: linear-gradient(to right, rgba(11,16,32,0.7), transparent);
  border-radius: var(--radius) 0 0 var(--radius);
}
.gallery-strip-container::after{
  right: 0;
  background: linear-gradient(to left, rgba(11,16,32,0.7), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.gallery-strip-container.fade-left::before{  opacity: 1; }
.gallery-strip-container.fade-right::after{  opacity: 1; }

/* Mobile: no arrows, just swipe */
@media (max-width: 720px){
  .strip-arrow{ display: none; }
  .gallery-strip-track img{
    height: 220px;
  }
  .gallery-strip-container::before,
  .gallery-strip-container::after{ display: none; }
}
@media (max-width: 480px){
  .gallery-strip-track img{
    height: 170px;
  }
}

/* ---------- Lightbox modal ---------- */
.lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}
.lightbox.active{
  display: flex;
}

.lightbox img{
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  cursor: default;
  object-fit: contain;
}

.lightbox-close{
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.8);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, color .18s ease;
  z-index: 1001;
  line-height: 1;
}
.lightbox-close:hover{
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ---------- Gallery page intro ---------- */
.gallery-intro{
  padding: 26px 0 0;
}
.gallery-intro h1{
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.3px;
}
.gallery-intro h1 .glow{
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gallery-intro p{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 65ch;
}
