:root{
  --bg:#0b1020;
  --bg2:#0f1730;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);
  --line:rgba(255,255,255,.12);
  --accent:#7ae7ff;
  --accent2:#b8ff8f;
  --danger:#ff6b8b;
  --ok:#8effc1;
  --shadow: 0 16px 44px rgba(0,0,0,.38);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", Arial, "Apple SD Gothic Neo", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(122,231,255,.14), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(184,255,143,.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.96}
button, input, textarea, select{font:inherit}
img, svg{max-width:100%; height:auto; display:block}

.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}

/* header */
.header{
  position:sticky; top:0; z-index:30;
  backdrop-filter: blur(14px);
  background: rgba(11,16,32,.55);
  border-bottom:1px solid var(--line);
}
.header--simple{position:sticky}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  width:38px; height:38px; border-radius:12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 50%),
    linear-gradient(135deg, rgba(122,231,255,.5), rgba(184,255,143,.4));
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.brand__text{font-weight:900; letter-spacing:.2px}
.brand__sub{font-size:.85rem; color:var(--muted); margin-left:6px}
.brand--footer .brand__sub{display:block; margin-left:0}

.nav{display:flex; align-items:center; gap:10px}
.nav__toggle{
  display:none;
  background:transparent; border:1px solid var(--line);
  color:var(--text); border-radius:12px;
  padding:10px 12px; cursor:pointer;
}
.nav__bars{
  width:18px; height:12px; display:inline-block; position:relative;
}
.nav__bars::before,.nav__bars::after,.nav__bars span{
  content:""; position:absolute; left:0; right:0; height:2px; border-radius:4px;
  background: rgba(255,255,255,.84);
}
.nav__bars::before{top:0}
.nav__bars::after{bottom:0}
.nav__bars span{top:50%; transform:translateY(-50%)}

.nav__menu{
  display:flex; align-items:center; gap:14px;
  list-style:none; padding:0; margin:0;
}
.nav__menu a{color:var(--muted); padding:8px 10px; border-radius:12px}
.nav__menu a:hover{color:var(--text); background:rgba(255,255,255,.06)}
.nav__menu .btn{color:var(--bg);}

.navSimple{display:flex; gap:12px}
.navSimple a{color:var(--muted); padding:8px 10px; border-radius:12px}
.navSimple a:hover{color:var(--text); background:rgba(255,255,255,.06)}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(122,231,255,.95), rgba(184,255,143,.92));
  color:#061018;
  font-weight:850;
  cursor:pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  color:var(--text);
  box-shadow:none;
}
.btn--sm{padding:10px 12px; border-radius:12px; font-weight:800}
.btn--block{width:100%}

.iconBtn{
  width:40px; height:40px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color:var(--text);
  border-radius:14px;
  cursor:pointer;
}

/* hero */
.hero{padding:48px 0 18px}
.hero__grid{
  display:grid; grid-template-columns: 1.05fr .95fr;
  gap:28px; align-items:start;
}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--muted);
  width:fit-content;
}
.dot{width:10px; height:10px; border-radius:999px; background:var(--accent); box-shadow:0 0 0 6px rgba(122,231,255,.12)}
h1{margin:12px 0 0; font-size:clamp(1.8rem, 2.2vw + 1rem, 3.2rem); line-height:1.12}
.accent{background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent}
.lead{margin:14px 0 0; color:var(--muted); max-width:60ch}
.hero__cta{display:flex; gap:12px; margin:18px 0 0; flex-wrap:wrap}
.hero__trust{display:grid; grid-template-columns:1fr; gap:12px; margin-top:18px}
.trustCard{
  display:flex; gap:12px; align-items:flex-start;
  padding:14px; border-radius:var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
}
.trustCard__icon{
  width:36px; height:36px; display:grid; place-items:center;
  border-radius:12px; background: rgba(255,255,255,.06);
  border:1px solid var(--line);
}
.trustCard p{margin:4px 0 0; color:var(--muted); font-size:.95rem}

.hero__visual{
  position:relative;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding:14px;
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 420px;
}
.hero__svg{width:100%; height:auto; color:rgba(255,255,255,.9)}
.hero__floating{
  position:absolute; inset:auto 14px 14px 14px;
  display:flex; flex-wrap:wrap; gap:10px;
  pointer-events:none;
}
.chip{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:rgba(255,255,255,.86);
  font-weight:800;
  font-size:.9rem;
}

/* sections */
.section{padding:56px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.sectionHead{margin-bottom:18px}
.sectionHead h2{margin:0; font-size:clamp(1.35rem, 1.2vw + 1rem, 2.1rem)}
.sectionHead p{margin:10px 0 0; color:var(--muted); max-width:86ch}

.grid{display:grid; gap:14px}
.cards{grid-template-columns: repeat(3, 1fr)}
.two{grid-template-columns: 1fr 1fr}

.card, .panel, .contactCard, .formCard{
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
}
.card h3,.panel h3,.contactCard h3,.formCard h3{margin:0 0 10px}
.muted{color:var(--muted)}
.list{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.note{
  margin-top:12px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(122,231,255,.08);
  border:1px solid rgba(122,231,255,.18);
  color: rgba(255,255,255,.84);
}
.callout{
  margin-top:12px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.80);
}

.split{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:14px;
}

/* tables */
.tableWrap{overflow:auto; border-radius:16px; border:1px solid rgba(255,255,255,.10); margin-top:10px}
.table{width:100%; border-collapse:collapse; min-width:720px}
.table th,.table td{padding:12px 10px; border-bottom:1px solid rgba(255,255,255,.08); vertical-align:top}
.table th{color:rgba(255,255,255,.88); text-align:left; background:rgba(255,255,255,.04)}
.table td{color:var(--muted)}

/* safety checks */
.stack{display:grid; gap:12px; margin-top:10px}
.check{
  display:flex; gap:12px;
  padding:12px;
  border-radius:18px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.check__icon{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}
.check p{margin:6px 0 0; color:var(--muted)}

/* steps */
.steps{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.steps li{margin:8px 0}
.steps b{color:rgba(255,255,255,.88)}

/* metrics (counters) */
.metrics{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:16px;
}
.metric{
  padding:14px;
  border-radius:22px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.metric b{
  display:block;
  font-size:2rem;
  letter-spacing:-.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.metric p{margin:6px 0 0; color:var(--muted)}

/* timeline */
.timeline{display:grid; gap:12px; margin-top:6px}
.tItem{
  display:grid; grid-template-columns: 28px 1fr;
  gap:12px;
  align-items:start;
}
.tDot{
  width:18px; height:18px; border-radius:999px;
  margin-top:10px;
  background: linear-gradient(135deg, rgba(122,231,255,.9), rgba(184,255,143,.85));
  box-shadow: 0 0 0 6px rgba(122,231,255,.10);
}
.tBody{
  padding:14px;
  border-radius:22px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.tBody h3{margin:0 0 8px}
.tBody p{margin:0; color:var(--muted)}
.tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.tag{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-weight:750;
  font-size:.86rem;
}

/* mini cta */
.miniCta{
  margin-top:18px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-radius: var(--radius2);
  background:
    radial-gradient(500px 160px at 20% 20%, rgba(122,231,255,.12), transparent 60%),
    radial-gradient(500px 160px at 80% 30%, rgba(184,255,143,.10), transparent 60%),
    rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.miniCta h3{margin:0}
.miniCta p{margin:8px 0 0; color:var(--muted)}

/* faq */
.faq{display:grid; gap:10px; margin-top:10px}
.faq__q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  text-align:left;
  padding:14px 14px;
  border-radius:18px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.9);
  cursor:pointer;
}
.faq__icon{
  width:32px; height:32px;
  display:grid; place-items:center;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}
.faq__a{
  padding:12px 14px;
  border-radius:18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color: var(--muted);
}

/* contact */
.contactGrid{display:grid; grid-template-columns: .95fr 1.05fr; gap:14px; margin-top:10px}
.contactList{list-style:none; padding:0; margin:10px 0 0}
.contactList li{padding:8px 0; border-bottom:1px dashed rgba(255,255,255,.10)}
.contactList li:last-child{border-bottom:0}
.contactList .k{
  display:inline-block;
  width:84px;
  color: rgba(255,255,255,.80);
  font-weight:800;
}
.mapWrap{
  margin-top:12px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.15);
}
.mapWrap iframe{width:100%; height:240px; border:0}

.miniLinks{margin-top:12px; display:flex; gap:8px; color:var(--muted)}
.miniLinks a{color:rgba(255,255,255,.8)}
.miniLinks a:hover{color:rgba(255,255,255,.95)}

.form{margin-top:10px}
.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.field{display:grid; gap:8px; margin-bottom:12px}
label{font-weight:850; color:rgba(255,255,255,.86)}
input, select, textarea{
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  outline:none;
}
textarea{resize:vertical; min-height:140px}
input:focus, select:focus, textarea:focus{
  border-color: rgba(122,231,255,.42);
  box-shadow: 0 0 0 6px rgba(122,231,255,.10);
}
.err{min-height:18px; color: var(--danger); font-weight:750}
.fineprint{color:var(--muted); font-size:.92rem; margin:12px 0 0}
.consent{margin-top:8px}
.checkline{display:flex; gap:10px; align-items:flex-start; color:var(--muted); margin:10px 0}
.checkline input{margin-top:3px}
.formActions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

/* footer */
.footer{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.footer--simple{background: transparent}
.footer__grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap:14px;
  align-items:start;
}
.footer__links{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.footer__links a{color:var(--muted); padding:8px 10px; border-radius:12px}
.footer__links a:hover{color:var(--text); background:rgba(255,255,255,.06)}
.footer__meta{justify-self:end; text-align:right}

/* legal pages */
.legal{padding:24px 0 56px}
.legal__wrap{
  max-width: 860px;
  margin: 0 auto;
}
.legal h1{margin:10px 0 0; font-size:clamp(1.6rem, 1.5vw + 1rem, 2.4rem)}
.legal h2{margin:24px 0 8px; font-size:1.25rem}
.legal section{margin-top:14px}
.legal__back{margin-top:18px}

/* thankyou */
.thank{padding:24px 0 56px}
.thank__wrap{max-width:860px; margin:0 auto}
.thankCard{
  margin-top:18px;
  padding:18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.thankIcon{
  width:48px; height:48px;
  display:grid; place-items:center;
  border-radius:18px;
  background: rgba(184,255,143,.12);
  border:1px solid rgba(184,255,143,.24);
  color: rgba(255,255,255,.92);
  font-size:1.4rem;
}
.summary{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background: rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.10);
}
.summary .rowS{
  display:grid; grid-template-columns: 140px 1fr;
  gap:10px;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.10);
}
.summary .rowS:last-child{border-bottom:0}
.summary .k{color:rgba(255,255,255,.82); font-weight:850}
.summary .v{color:var(--muted)}
.rowButtons{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

/* modals */
.modal, .drawer{display:none}
.modal[aria-hidden="false"], .drawer[aria-hidden="false"]{display:block}

.modal{
  position:fixed; inset:0;
  z-index:60;
}
.modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.modal__panel{
  position:relative;
  width:min(920px, calc(100% - 28px));
  margin: 6vh auto 0;
  border-radius: var(--radius2);
  background: rgba(11,16,32,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal__head h3{margin:0}
.modal__body{padding:14px}
.modal__foot{
  display:flex; justify-content:flex-end; gap:10px;
  padding:14px;
  border-top:1px solid rgba(255,255,255,.10);
}

.rulePreview{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.rulePage{
  padding:12px;
  border-radius:18px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color: var(--muted);
}
.rulePage h4{margin:0 0 8px; color:rgba(255,255,255,.88)}
.rulePage b{color:rgba(255,255,255,.88)}
.rulePage hr{border:0; border-top:1px solid rgba(255,255,255,.10); margin:10px 0}

/* wizard */
.wizard fieldset{border:0; padding:0; margin:0}
.wizard legend{font-weight:900; margin-bottom:10px}
.radioLine{
  display:flex; gap:10px; align-items:center;
  padding:10px 10px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  margin:10px 0;
  color: var(--muted);
}
.wizard__out{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  background: rgba(122,231,255,.06);
  border:1px solid rgba(122,231,255,.14);
  color: rgba(255,255,255,.84);
  min-height:44px;
}
.wizard__actions{display:flex; gap:10px; justify-content:flex-end; margin-top:12px}

/* drawers */
.drawer{
  position:fixed; inset:0;
  z-index:65;
}
.drawer__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.60);
}
.drawer__panel{
  position:absolute; right:0; top:0; bottom:0;
  width:min(560px, calc(100% - 26px));
  background: rgba(11,16,32,.94);
  border-left:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  display:flex; flex-direction:column;
}
.drawer__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.drawer__body{padding:14px; overflow:auto; color:var(--muted)}
.drawer__body b{color:rgba(255,255,255,.90)}
.drawer__foot{
  padding:14px;
  border-top:1px solid rgba(255,255,255,.10);
}

/* cookie banner */
.cookieBanner{
  position:fixed;
  left:16px; right:16px; bottom:16px;
  z-index:80;
  padding:14px;
  border-radius: var(--radius2);
  background: rgba(11,16,32,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.cookieBanner__grid{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:12px;
  align-items:center;
}
.cookieBanner p{margin:0; color:var(--muted)}
.cookieBanner b{color:rgba(255,255,255,.92)}
.cookieBanner__actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.cookieControls{
  margin-top:14px;
  padding:14px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}

/* reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; gap:16px}
  .cards{grid-template-columns:1fr}
  .two{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .metrics{grid-template-columns:1fr 1fr}
  .contactGrid{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr; text-align:left}
  .footer__links{justify-content:flex-start}
  .footer__meta{justify-self:start; text-align:left}
  .rulePreview{grid-template-columns:1fr}
}

@media (max-width: 760px){
  .nav__toggle{display:inline-flex}
  .nav__menu{
    position:absolute;
    right:20px;
    top:64px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:10px;
    background: rgba(11,16,32,.94);
    border:1px solid rgba(255,255,255,.14);
    border-radius:18px;
    box-shadow: var(--shadow);
    min-width: 220px;
    display:none;
  }
  .nav__menu.is-open{display:flex}
  .nav__menu a{padding:10px 12px}
  .row{grid-template-columns:1fr}
  .summary .rowS{grid-template-columns: 1fr}
  .summary .k{opacity:.9}
}

/* --- Photos / gallery --- */
.photoGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.photoCard{
  margin:0;
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.photoCard img{
  width:100%;
  height:150px;
  object-fit:cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
  transition: transform .35s ease, filter .35s ease;
  cursor: zoom-in;
}
.photoCard:hover img{
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.05);
}
.photoCard figcaption{
  position:absolute;
  left:10px; right:10px; bottom:10px;
  padding:8px 10px;
  border-radius:14px;
  background: rgba(11,16,32,.72);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight:800;
  font-size:.9rem;
  backdrop-filter: blur(8px);
}

/* masonry gallery */
.masonry{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:10px;
}
.shot{
  margin:0;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  transform: translateY(0);
  transition: transform .18s ease, opacity .18s ease;
}
.shot:hover{transform: translateY(-2px)}
.shot img{
  width:100%;
  height: 220px;
  object-fit:cover;
  cursor: zoom-in;
}
.shot figcaption{
  padding:10px 12px;
  color: var(--muted);
  border-top:1px solid rgba(255,255,255,.10);
}
.shot figcaption b{color: rgba(255,255,255,.88)}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
}
.lightbox.is-open{display:block}
.lightbox__bg{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}
.lightbox__panel{
  position:relative;
  width:min(980px, calc(100% - 26px));
  margin: 6vh auto 0;
  border-radius: 26px;
  overflow:hidden;
  background: rgba(11,16,32,.92);
  border:1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
}
.lightbox__img{
  width:100%;
  max-height: 72vh;
  object-fit: contain;
  background: rgba(0,0,0,.20);
}
.lightbox__bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-top:1px solid rgba(255,255,255,.10);
  color: var(--muted);
}
.lightbox__cap{font-weight:800; color: rgba(255,255,255,.86)}
.lightbox__x{
  width:42px; height:42px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}

/* responsive */
@media (max-width: 980px){
  .masonry{grid-template-columns: 1fr 1fr}
}
@media (max-width: 760px){
  .photoGrid{grid-template-columns:1fr}
  .photoCard img{height: 180px}
  .masonry{grid-template-columns: 1fr}
  .shot img{height: 230px}
}

/* ======================================
   MOBILE ADAPTIVE: .panel.reveal.is-in
   ====================================== */

@media (max-width: 980px){

  /* Base mobile layout */
  .panel.reveal.is-in{
    width:100%;
    padding:16px;
    border-radius:22px;

    /* visual stability */
    transform: none !important;
    opacity:1 !important;

    /* prevent overflow */
    overflow:hidden;

    /* better tap feeling */
    touch-action: manipulation;

    /* spacing */
    margin:0;
  }

  /* Text readability */
  .panel.reveal.is-in h3{
    font-size:1.15rem;
    line-height:1.3;
  }

  .panel.reveal.is-in p,
  .panel.reveal.is-in li{
    font-size:.98rem;
    line-height:1.55;
  }

  /* Table inside panel */
  .panel.reveal.is-in .tableWrap{
    margin-left:-8px;
    margin-right:-8px;
    padding-bottom:4px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .panel.reveal.is-in .table{
    min-width:720px;
  }

  /* Lists spacing */
  .panel.reveal.is-in .list li{
    margin:8px 0;
  }

  /* Notes & callouts */
  .panel.reveal.is-in .note,
  .panel.reveal.is-in .callout{
    padding:12px;
    border-radius:16px;
    font-size:.95rem;
  }

}


/* Extra small phones */
@media (max-width: 480px){

  .panel.reveal.is-in{
    padding:14px;
    border-radius:20px;
  }

  .panel.reveal.is-in h3{
    font-size:1.05rem;
  }

  .panel.reveal.is-in p,
  .panel.reveal.is-in li{
    font-size:.95rem;
  }

}
