:root{
  --serif: "Cinzel", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --line: rgba(255,255,255,0.22);
  --glass: rgba(255,255,255,0.07);
  --glass2: rgba(255,255,255,0.10);
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 55% 30%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(900px 520px at 30% 55%, rgba(255,196,224,0.65), transparent 62%),
    radial-gradient(900px 520px at 70% 30%, rgba(168,212,255,0.55), transparent 58%),
    linear-gradient(180deg, #8aa1c8 0%, #c5b3d9 35%, #f3b7d6 68%, #b7c6d8 100%);
  overflow:hidden;
}

.page{
  min-height:100vh;
  display:grid;
  grid-template-columns: 1fr 360px; 
}

.hero{
  position:relative;
  min-height:100vh;
  padding: 26px 36px 0;
  overflow:hidden;
}

.centerpiece{
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translate(-50%, -45%);
  height: 66vh;
  max-height: 800px;
  z-index: 1;            
  pointer-events: none;  
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding: 8px 4px;
}

.logo{
  font-family: var(--serif);
  font-weight:600;
  letter-spacing:0.16em;
  font-size:12px;
  opacity:0.9;
  user-select:none;
}

.navlinks{
  display:flex;
  gap:26px;
  align-items:center;
}

.navlinks a{
  color: var(--muted);
  text-decoration:none;
  font-size:11px;
  letter-spacing:0.20em;
  font-weight:500;
  padding:8px 2px;
  border-bottom:1px solid transparent;
}
.navlinks a:hover{
  color: var(--text);
  border-bottom-color: rgba(255,255,255,0.35);
}

.hero-content{
  position:absolute;
  left: 60px;
  top: 145px;
  max-width: 520px;
  text-align: left;
}


.hero-content h1{
  font-family: var(--serif);
  font-weight:400;
  letter-spacing:0.05em;
  font-size:56px;
  margin:0 0 14px;
  text-transform:uppercase;
}

.hero-content p{
  margin:0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height:1.8;
  max-width: 460px;
}

.pill{
  display:inline-block;
  text-decoration:none;
  color: var(--text);
  font-size:11px;
  letter-spacing:0.18em;
  font-weight:600;
  padding:12px 18px;
  border:1px solid rgba(255,255,255,0.28);
  border-radius:999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}
.pill:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.45);
}

/* bottom soft hill */
.horizon{
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:-120px;
  height: 320px;
  border-radius: 60% 40% 60% 40% / 70% 70% 30% 30%;
  background:
    radial-gradient(900px 220px at 50% 10%, rgba(255,255,255,0.55), rgba(255,255,255,0.12) 55%, rgba(255,255,255,0.00) 75%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  filter: blur(0.2px);
  opacity:0.85;
}

/* bubbles */
.bubbles .bubble{
  position:absolute;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
}

.b1{ width:120px; height:84px; left: 90px; top: 360px; opacity:.30; transform: rotate(-14deg); }
.b2{ width:60px; height:44px; left: 240px; top: 290px; opacity:.26; transform: rotate(10deg); }
.b3{ width:52px; height:38px; left: 420px; top: 250px; opacity:.22; }
.b4{ width:68px; height:50px; left: 430px; top: 410px; opacity:.20; }
.b5{ width:56px; height:40px; left: 560px; top: 320px; opacity:.18; }
.b6{ width:46px; height:34px; left: 640px; top: 240px; opacity:.16; }

.panel{
  position:relative;
  min-height:100vh;
  padding: 26px 18px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(12px);
}

.panel::before{
  content:"";
  position:absolute; inset:14px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  pointer-events:none;
}

.panel-head{
  position:relative;
  z-index:1;
  padding: 10px 16px 6px;
}

.panel-title{
  letter-spacing: .10em;
  font-size: 16px;
  font-weight: 600;
}

.panel-sub{
  margin-top:6px;
  font-size: 12px;
  color: var(--muted);
}

.dir{
  position:relative;
  z-index:1;
  padding: 8px 16px 2px;
  margin-top: 10px;
}

.dir-title{
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(255,255,255,0.65);
  margin: 12px 0 10px;
  font-weight: 600;
}

.dir-item{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;

  text-decoration:none;
  color: rgba(255,255,255,0.88);

  padding: 10px 12px;
  margin: 8px 0;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.dir-item:hover{
  transform: translateX(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}

.dir-name{
  font-size: 13px;
  font-weight: 500;
}

.dir-meta{
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: .02em;
}

.panel-foot{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index:1;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.70);
  font-size: 12px;
}

.panel-foot code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 980px){
  body{ overflow:auto; }
  .page{
    grid-template-columns: 1fr;
  }
  .panel{
    min-height:auto;
    border-left:none;
    border-top: 1px solid var(--line);
  }
  .hero{
    min-height: 70vh;
  }
  .hero-content{
    position:relative;
    right:auto;
    top:auto;
    max-width: 680px;
    padding: 52px 4px 0;
  }
  .hero-content h1{ font-size: 44px; }
  .bubbles{ display:none; }
  .panel-foot{ position:relative; left:auto; right:auto; bottom:auto; margin: 14px 16px 0; }
}
