/* RelcamCha World Tour Crew - static site */
:root{
  --bg: #0b0f14;
  --bg2:#0f1620;
  --text:#e9edf2;
  --muted:#a7b0bb;
  --line: rgba(255,255,255,.10);
  --card: rgba(255,255,255,.06);
  --accent:#ff7a18;
  --accent2:#ffb86b;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  background: radial-gradient(1200px 800px at 15% 10%, rgba(255,122,24,.10), transparent 60%),
              radial-gradient(900px 700px at 80% 0%, rgba(255,184,107,.08), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}

.container{width:min(var(--max), calc(100% - 48px)); margin:0 auto}
.section{padding:96px 0; position:relative}
.section .kicker{display:inline-flex; gap:10px; align-items:center; color:var(--muted); font-weight:600; letter-spacing:.08em; text-transform:uppercase; font-size:12px}
.section .kicker::before{content:""; width:26px; height:1px; background:rgba(255,255,255,.28)}
.section h2{margin:14px 0 10px; font-size:42px; line-height:1.12; letter-spacing:-.02em}
.section p.lead{margin:0; color:var(--muted); font-size:18px; max-width:68ch}

/* Header */
.header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  background: linear-gradient(to bottom, rgba(11,15,20,.78), rgba(11,15,20,.28) 75%, transparent);
  backdrop-filter: blur(10px);
  border-bottom:1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.scrolled{background: rgba(11,15,20,.78); border-color: var(--line)}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px}
.brand .mark{width:34px; height:34px; border-radius:10px; background:linear-gradient(140deg, var(--accent), var(--accent2)); box-shadow: 0 10px 22px rgba(255,122,24,.18)}
.brand .name{display:flex; flex-direction:column; line-height:1.05}
.brand .name b{font-size:14px; letter-spacing:.06em; text-transform:uppercase}
.brand .name span{font-size:12px; color:var(--muted)}

.menu{display:flex; gap:18px; align-items:center}
.menu a{font-size:13px; color:var(--muted); padding:8px 10px; border-radius:999px; transition:.2s ease}
.menu a:hover{color:var(--text); background:rgba(255,255,255,.06)}

.cta{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  font-size:13px; font-weight:700;
  transition:.2s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18)}
.btn.primary{border-color: rgba(255,122,24,.35); background:linear-gradient(135deg, rgba(255,122,24,.28), rgba(255,184,107,.12))}
.btn.primary:hover{border-color: rgba(255,122,24,.65)}

.burger{display:none; width:42px; height:42px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.05)}
.burger span{display:block; width:18px; height:2px; background:var(--text); margin:0 auto; position:relative}
.burger span::before,.burger span::after{content:""; position:absolute; left:0; width:18px; height:2px; background:var(--text)}
.burger span::before{top:-6px}
.burger span::after{top:6px}

/* Hero */
.hero{min-height:100svh; display:grid; align-items:end; position:relative; padding-top:90px}
.hero-bg{position:absolute; inset:0; background: url('../img/hero_bg.webp') center/cover no-repeat; filter:saturate(1.05) contrast(1.02)}
.hero-bg::after{content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(11,15,20,.95) 0%, rgba(11,15,20,.55) 35%, rgba(11,15,20,.15) 62%, rgba(11,15,20,.05) 100%)}
.hero-inner{position:relative; padding:64px 0 70px}
.hero h1{margin:0; font-size: clamp(44px, 6vw, 76px); line-height:1.02; letter-spacing:-.03em}
.hero .sub{margin-top:14px; color:rgba(233,237,242,.80); font-size:18px; max-width:70ch}
.hero .meta{display:flex; flex-wrap:wrap; gap:10px; margin-top:22px}
.pill{display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.05); color:rgba(233,237,242,.85); font-size:13px}
.pill i{width:8px; height:8px; border-radius:50%; background:var(--accent)}
.hero-actions{display:flex; gap:10px; margin-top:26px; flex-wrap:wrap}

.scroll-hint{position:absolute; left:0; right:0; bottom:18px; display:flex; justify-content:center; pointer-events:none}
.scroll-hint .mouse{width:22px; height:34px; border:1px solid rgba(255,255,255,.25); border-radius:999px; position:relative; opacity:.8}
.scroll-hint .mouse::after{content:""; position:absolute; left:50%; top:7px; width:4px; height:6px; background:rgba(255,255,255,.55); border-radius:2px; transform:translateX(-50%); animation: wheel 1.35s infinite}
@keyframes wheel{0%{opacity:0; transform:translate(-50%,0)} 25%{opacity:1} 100%{opacity:0; transform:translate(-50%,10px)}}

/* Layout blocks */
.grid{display:grid; gap:18px}
.grid.cols-2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0,1fr))}

.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow: var(--shadow)}
.card h3{margin:0 0 8px; font-size:18px; letter-spacing:-.01em}
.card p{margin:0; color:var(--muted)}

.split{display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; align-items:stretch}
.visual{border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:rgba(255,255,255,.03)}
.visual img{width:100%; height:100%; object-fit:cover}

.list{margin:14px 0 0; padding:0; list-style:none; display:grid; gap:10px}
.list li{display:flex; gap:10px; align-items:flex-start; color:rgba(233,237,242,.88)}
.list li::before{content:""; width:8px; height:8px; margin-top:7px; border-radius:3px; background:linear-gradient(135deg, var(--accent), var(--accent2))}

.badge{display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.04); color:rgba(233,237,242,.86); font-size:13px}
.badge strong{color:var(--text)}

/* Tour cards */
.tour{display:grid; grid-template-columns: 1fr 1fr; gap:18px; margin-top:28px}
.tour .tour-card{padding:0; overflow:hidden}
.tour .tour-body{padding:22px}
.tour .tour-img{height:210px; background:#000}
.tour .tour-img img{width:100%; height:100%; object-fit:cover}
.tour .tour-card h3{font-size:20px}

/* Gallery */
.gallery{display:grid; grid-template-columns: repeat(12, 1fr); gap:12px; margin-top:28px}
.g-item{grid-column: span 4; border-radius:16px; overflow:hidden; border:1px solid var(--line); background:#000; position:relative}
.g-item.big{grid-column: span 8}
.g-item img{width:100%; height:100%; object-fit:cover; transition: transform .5s ease}
.g-item:hover img{transform: scale(1.04)}
.g-item .cap{position:absolute; left:14px; bottom:12px; right:14px; font-size:12px; color:rgba(233,237,242,.82); text-shadow:0 10px 26px rgba(0,0,0,.65)}

/* Team */
.team{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; margin-top:28px}
.member{padding:0; overflow:hidden}
.member .photo{height:240px; background:#000}
.member .photo img{width:100%; height:100%; object-fit:cover}
.member .info{padding:18px 18px 20px}
.member .role{font-size:12px; letter-spacing:.10em; text-transform:uppercase; color:rgba(233,237,242,.70)}
.member h3{margin:6px 0 6px; font-size:20px}
.member p{margin:0; color:var(--muted); font-size:14px}

/* Footer */
.footer{padding:42px 0 30px; border-top:1px solid var(--line); background:rgba(0,0,0,.20)}
.footer .foot{display:flex; justify-content:space-between; gap:18px; align-items:flex-start; flex-wrap:wrap}
.small{color:var(--muted); font-size:12px}
.links{display:flex; gap:12px; flex-wrap:wrap}
.links a{color:var(--muted); font-size:12px; padding:6px 10px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.04)}
.links a:hover{color:var(--text)}

/* Mobile */
@media (max-width: 920px){
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .tour{grid-template-columns:1fr}
  .team{grid-template-columns:1fr}
  .g-item{grid-column: span 12}
  .g-item.big{grid-column: span 12}
  .menu{display:none}
  .burger{display:inline-flex; align-items:center; justify-content:center}
}

/* Mobile nav drawer */
.drawer{position:fixed; inset:0; z-index:60; display:none}
.drawer.open{display:block}
.drawer .backdrop{position:absolute; inset:0; background:rgba(0,0,0,.55)}
.drawer .panel{position:absolute; right:0; top:0; bottom:0; width:min(360px, 92vw); background:rgba(15,22,32,.96); border-left:1px solid var(--line); padding:18px}
.drawer .panel h4{margin:6px 0 14px; font-size:14px; color:rgba(233,237,242,.84); letter-spacing:.08em; text-transform:uppercase}
.drawer .panel a{display:block; padding:12px 10px; border-radius:12px; color:rgba(233,237,242,.86); border:1px solid transparent}
.drawer .panel a:hover{border-color: var(--line); background:rgba(255,255,255,.04)}
.drawer .panel .panel-actions{margin-top:14px; display:grid; gap:10px}

/* Lightbox */
.lightbox{position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center; padding:18px}
.lightbox.open{display:flex}
.lightbox .bg{position:absolute; inset:0; background:rgba(0,0,0,.82)}
.lightbox .frame{position:relative; max-width:min(1100px, 96vw); max-height: 86vh}
.lightbox img{width:100%; height:100%; object-fit:contain; border-radius:16px; border:1px solid rgba(255,255,255,.12)}
.lightbox .close{position:absolute; right:-10px; top:-10px; width:44px; height:44px; border-radius:999px; border:1px solid rgba(255,255,255,.18); background:rgba(15,22,32,.85); color:var(--text); font-size:18px}
.lightbox .close:hover{border-color: rgba(255,255,255,.28)}
