:root{
  --bg:#0b0b10;
  --card:rgba(20,20,33,.72);
  --card2:rgba(16,16,26,.72);
  --text:#f3f3ff;
  --muted:#b9b9d6;
  --accent:#FFD700; /* premium gold */
  --accent2:rgba(255,215,0,.25);
  --border:rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadow2: 0 10px 28px rgba(0,0,0,.38);
}

@font-face{
  font-family:"BatmanForever";
  src:url("/assets/fonts/BatmanForever.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*{box-sizing:border-box}
html, body { height: 100%; }
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  min-height:100vh;

  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 18% -10%, rgba(80,120,255,.22), transparent 60%),
    radial-gradient(900px 520px at 110% 10%, rgba(150,70,255,.18), transparent 62%),
    radial-gradient(900px 520px at 15% 110%, rgba(255,215,0,.14), transparent 62%),
    radial-gradient(700px 420px at 65% 120%, rgba(150,70,255,.10), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a{color:inherit; text-decoration:none}
a.underline{border-bottom:1px solid rgba(255,255,255,.22)}
a.underline:hover{border-bottom-color: rgba(255,215,0,.7)}

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  position: sticky;
  top: 14px;
  z-index: 50;

  padding:14px 16px;
  border:1px solid var(--border);
  background: rgba(20,20,33,.70);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.brand .title{
  font-family: "BatmanForever", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .8px;
  font-size: 16px;
  text-transform: uppercase;
}
.brand .sub{
  color: var(--muted);
  font-size: 13px;
}

.nav{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-end;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 12px;
  user-select:none;
}

.pill-action{
  cursor:pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .06s ease;
}
.pill-action:hover{
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.pill-action:active{transform: translateY(1px)}

.hero{
  margin-top: 18px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(20,20,33,.76), rgba(16,16,26,.62));
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow:hidden;
  position:relative;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(255,215,0,.20), transparent 60%),
    radial-gradient(700px 420px at 90% 20%, rgba(80,120,255,.16), transparent 62%);
  pointer-events:none;
  filter: saturate(110%);
}

.hero-inner{position:relative; z-index:1}

.kicker{
  display:inline-flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom: 10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,215,0,.35);
  background: rgba(255,215,0,.10);
  color: rgba(255,235,140,.95);
  font-weight: 900;
  font-size: 12px;
}

.h1{
  margin: 0;
  font-family:"BatmanForever", system-ui, sans-serif;
  font-weight:400;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.tagline{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
  line-height: 1.45;
}

.cta-row{
  margin-top: 16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
  transition: transform .06s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  user-select:none;
}

.btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.btn:active{transform: translateY(1px)}
.btn.primary{
  background: rgba(255,215,0,.16);
  border-color: rgba(255,215,0,.55);
  box-shadow: 0 0 0 3px rgba(255,215,0,.10);
}
.btn.primary:hover{
  background: rgba(255,215,0,.22);
  border-color: rgba(255,215,0,.70);
  box-shadow: 0 0 0 3px rgba(255,215,0,.14);
}

.btn .dot{
  width:10px;height:10px;border-radius:99px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,215,0,.14);
}

.grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:14px;
  margin-top:14px;
}

@media (max-width: 920px){
  .grid{grid-template-columns:1fr}
  .topbar{position:relative; top:0}
}

.card{
  border:1px solid var(--border);
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
}

.card h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing:.2px;
}

.card h3{
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.small{color:var(--muted); font-size:13px; line-height:1.5}
.hr{height:1px; background: var(--border); margin: 12px 0;}

.projects{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 820px){
  .projects{grid-template-columns:1fr}
}

.project{
  position:relative;
  overflow:hidden;
}
.project::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(700px 420px at 20% 0%, rgba(80,120,255,.18), transparent 62%),
    radial-gradient(700px 420px at 100% 10%, rgba(150,70,255,.16), transparent 62%),
    radial-gradient(700px 420px at 35% 120%, rgba(255,215,0,.10), transparent 64%);
  pointer-events:none;
  opacity:.7;
}
.project > *{position:relative; z-index:1}

.project .title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.project .title .name{
  font-weight: 950;
  font-size: 16px;
}


.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 12px;
  white-space:nowrap;
}

.list{
  margin:10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.callout{
  border:1px dashed rgba(255,215,0,.35);
  background: rgba(255,215,0,.07);
  padding: 12px 12px;
  border-radius: 14px;
  color: rgba(255,235,140,.95);
  font-size: 13px;
  line-height:1.45;
}

.links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

footer{
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

/* Animations (subtle) */
.reveal{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px){
  .reveal{
    transform: translateY(4px);
    transition-duration: .35s;
  }
}

.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip:focus{
  left: 18px;
  top: 18px;
  width:auto;height:auto;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,215,0,.55);
  background: rgba(255,215,0,.12);
  z-index: 1000;
}



/* Drawer (side menu) */
.burger{
  font-size: 18px;
  line-height: 1;
  padding: 10px 12px;
  color: #fff;
}

.topbar{
  /* make room for burger + brand + nav */
}

.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 80;
}

.drawer{
  position: fixed;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid var(--border);
  background: rgba(20,20,33,.78);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  z-index: 90;

  transform: translateX(calc(-100% - 18px));
  transition: transform .22s ease;
  overflow: hidden;
}

.drawer.open{ transform: translateX(0); }

.drawer-inner{
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.drawer-title{
  font-family:"BatmanForever", system-ui, sans-serif;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 14px;
}

.drawer-sub{
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.drawer-nav{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 900;
  transition: background .12s ease, border-color .12s ease, transform .06s ease;
}

.drawer-link:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.drawer-link:active{ transform: translateY(1px); }

.drawer-link.ext::after{
  content: "↗";
  color: rgba(255,215,0,.85);
  font-weight: 900;
}

.drawer-section{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-label{
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.drawer-note{
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 920px){
  .nav{ display:none; } /* use drawer on mobile */
}

.brief{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.brief li{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.brief .n{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius: 8px;
  border:1px solid rgba(255,215,0,.45);
  background: rgba(255,215,0,.12);
  color: rgba(255,235,140,.95);
  font-weight: 900;
  font-size: 13px;
}

.brief span{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
/* HERO PHOTO */
.hero-split{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

@media (max-width: 920px){
  .hero-split{ grid-template-columns: 1fr; }
  .hero-right{ order: -1; justify-self: center; }
}

.hero-photo{
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,215,0,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  background: rgba(255,255,255,.04);
}

.hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* STREAMING BUBBLE */
.vibe{ position: relative; overflow: hidden; }

.vibe-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr; /* image gauche, texte droite */
  gap: 16px;
  align-items: center;
}

/* Desktop : image à gauche */
.vibe-media{
  order: 1;
}

.vibe-copy{
  order: 2;
}

/* Mobile : image au-dessus */
@media (max-width: 920px){
  .vibe-grid{
    grid-template-columns: 1fr;
  }

  .vibe-media{
    order: -1;
    justify-self: center;
  }

  .vibe-copy{
    order: 1;
  }
}

.vibe-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pirate-frame{
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,215,0,.35);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
}

.pirate-frame img{
  width:100%;
  height:100%;
  object-fit: cover;
}
