@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Serif+JP:wght@300;400;500&display=swap');

:root{
  --bg:#10151a;
  --bg-soft:#161e25;
  --paper:#dde5ea;
  --muted:#8b9ba5;
  --wine:#3d6a8a;
  --wine-bright:#5c8fb0;
  --gold:#7fa8c2;
  --line:rgba(210,225,235,.14);
  --serif:"Noto Serif JP",serif;
  --latin:"Cormorant Garamond",serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--paper);
  font-family:var(--serif);font-weight:300;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{max-width:100%;display:block}
:focus-visible{outline:1px solid var(--gold);outline-offset:3px}

/* ---------- header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.6rem clamp(1.4rem,4vw,3.2rem);
  background:linear-gradient(180deg,rgba(10,13,16,.8),rgba(10,13,16,0));
}
.brand{
  font-family:var(--latin);font-size:1.05rem;letter-spacing:.09em;
  text-decoration:none;color:var(--paper);
}
.brand em{font-style:normal;color:var(--gold)}
.nav{display:flex;gap:2.2rem;list-style:none;margin:0;padding:0}
.nav a{
  font-family:var(--latin);font-size:.9rem;letter-spacing:.14em;
  text-decoration:none;color:var(--muted);transition:color .3s;
}
.nav a:hover{color:var(--paper)}
.menu-button{display:none;visibility:hidden;background:none;border:0;padding:8px;cursor:pointer}
.menu-button span{display:block;width:25px;height:1px;background:var(--paper);margin:6px}
@media (max-width:800px){
  .menu-button{visibility:visible}
}

/* ---------- hero ---------- */
.hero{
  position:relative;min-height:100vh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  padding:8rem 1.4rem 4rem;overflow:hidden;
}
.hero-image{
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(180deg,rgba(16,21,26,.35),rgba(16,21,26,.82)),
    url("../images/hero.jpg") center/cover no-repeat,
    linear-gradient(135deg,#1c2833,#10151a 60%);
  transform:scale(1.02);
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%,rgba(61,106,138,.22),transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%,rgba(127,168,194,.08),transparent 70%);
}
.hero-eyebrow{
  position:relative;z-index:1;
  font-family:var(--latin);font-size:.82rem;letter-spacing:.4em;
  color:var(--muted);margin:0 0 1.4rem;text-transform:uppercase;
}
.hero-sub{
  position:relative;z-index:1;
  margin:.1em 0 0;
  font-family:var(--latin);font-weight:400;
  font-size:clamp(2.2rem,7vw,3.6rem);line-height:.9;letter-spacing:.02em;
  color:var(--paper);text-transform:uppercase;
}
.hero-sub::after{
  content:"";display:block;width:52px;height:1px;background:var(--gold);
  margin:1.6rem auto 0;
}
.hero-tagline{
  position:relative;z-index:1;
  max-width:32em;margin:2.2rem auto 0;font-size:1rem;line-height:2.1;
  color:#c3ccd2;
}
.scroll-link{
  position:relative;z-index:1;margin-top:3.4rem;
  font-family:var(--latin);font-size:.8rem;letter-spacing:.3em;
  color:var(--muted);text-decoration:none;border-bottom:1px solid var(--line);
  padding-bottom:.4rem;transition:color .3s,border-color .3s;
}
.scroll-link:hover{color:var(--paper);border-color:var(--gold)}

/* ---------- shared section chrome ---------- */
.section{padding:7rem clamp(1.4rem,6vw,6rem)}
.section-inner{max-width:1080px;margin:0 auto}
.section-head{margin-bottom:3.2rem}
.section-eyebrow{
  display:block;font-family:var(--latin);font-size:.78rem;letter-spacing:.3em;
  color:var(--gold);text-transform:uppercase;margin-bottom:.7rem;
}
.section-title{
  font-size:clamp(1.6rem,3.4vw,2.1rem);font-weight:400;margin:0;
  letter-spacing:.04em;
}
.section-title small{
  display:block;font-family:var(--latin);font-size:.9rem;letter-spacing:.2em;
  color:var(--muted);margin-top:.5rem;text-transform:uppercase;
}

/* ---------- works ---------- */
.works{background:var(--bg-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.works-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;
}
.work-card{
  position:relative;display:flex;flex-direction:column;
  background:#17140f;border:1px solid var(--line);overflow:hidden;
  text-decoration:none;color:inherit;transition:border-color .35s,transform .35s;
}
.work-card:hover{border-color:var(--gold);transform:translateY(-4px)}
.work-thumb{
  position:relative;aspect-ratio:16/10;background:#0e0c0a center/cover no-repeat;
  overflow:hidden;
}
.work-thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(20,18,16,0) 40%,rgba(20,18,16,.85) 100%);
}
.work-body{padding:1.6rem 1.7rem 2rem;flex:1;display:flex;flex-direction:column}
.work-tag{
  font-family:var(--latin);font-size:.72rem;letter-spacing:.22em;
  color:var(--wine-bright);text-transform:uppercase;margin-bottom:.6rem;
}
.work-title{font-weight:400;font-size:1.25rem;margin:0 0 .8rem;letter-spacing:.03em}
.work-title small{
  display:block;font-family:var(--latin);font-size:.8rem;color:var(--muted);
  letter-spacing:.16em;margin-top:.3rem;
}
.work-hook{font-size:.88rem;line-height:1.9;color:#b9b2a4;flex:1;margin:0 0 1.4rem}
.work-more{
  font-family:var(--latin);font-size:.78rem;letter-spacing:.2em;color:var(--gold);
  text-transform:uppercase;
}
.work-card.is-soon{
  border-style:dashed;opacity:.6;pointer-events:none;
}
.work-card.is-soon .work-thumb{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#181410,#12100d);
}

/* ---------- novels ---------- */
.novels{border-bottom:1px solid var(--line)}
.novel-list{display:grid;gap:1rem}
.novel-item{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
  padding:1.8rem 2rem;background:#17140f;border:1px solid var(--line);
  text-decoration:none;color:inherit;transition:border-color .35s,transform .35s;
}
.novel-item:hover{border-color:var(--gold);transform:translateY(-3px)}
.novel-tag{
  display:block;font-family:var(--latin);font-size:.72rem;letter-spacing:.22em;
  color:var(--wine-bright);text-transform:uppercase;margin-bottom:.5rem;
}
.novel-title{font-size:1.15rem;font-weight:400;letter-spacing:.03em;margin:0 0 .6rem}
.novel-summary{font-size:.88rem;line-height:1.9;color:#b9b2a4;margin:0}
.novel-more{
  flex:0 0 auto;font-family:var(--latin);font-size:.78rem;letter-spacing:.15em;
  color:var(--gold);text-transform:uppercase;
}

/* ---------- about ---------- */
.about{padding-top:7rem}
.about-inner{max-width:640px;margin:0 auto;text-align:left}
.about p{font-size:.98rem;line-height:2.15;color:#c9c2b4;margin:0 0 1.4rem}
.about-signature{
  margin-top:2.4rem;font-family:var(--latin);font-size:.95rem;letter-spacing:.14em;
  color:var(--muted);
}

/* ---------- contact ---------- */
.contact{background:var(--bg-soft);border-top:1px solid var(--line)}
.contact-list{list-style:none;margin:0;padding:0;display:grid;gap:1.1rem}
.contact-list li{
  display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.4rem;
  padding-bottom:1.1rem;border-bottom:1px solid var(--line);
}
.contact-label{
  font-family:var(--latin);font-size:.78rem;letter-spacing:.2em;color:var(--muted);
  text-transform:uppercase;
}
.contact-list a{
  font-size:.98rem;text-decoration:underline;text-underline-offset:.25em;
  color:var(--paper);transition:color .3s;
}
.contact-list a:hover{color:var(--gold)}

/* ---------- footer ---------- */
footer{
  padding:2.6rem clamp(1.4rem,6vw,6rem);text-align:center;
  font-size:.75rem;color:#727b78;
}

/* ---------- responsive ---------- */
@media (max-width:800px){
  .menu-button{display:block;z-index:60}
  .nav{
    position:fixed;inset:0;background:rgba(16,21,26,.97);display:none;
    flex-direction:column;align-items:center;justify-content:center;gap:2.4rem;
  }
  .nav.open{display:flex}
  .nav a{font-size:1.3rem}
}
@media (max-width:640px){
  .section{padding:4.6rem 1.4rem}
  .novel-item{align-items:flex-start;flex-direction:column;gap:1.2rem;padding:1.5rem}
}
