
:root{
  --bg:#050505;
  --panel:#0d0d0e;
  --panel-2:#111112;
  --text:#ece8e2;
  --muted:#b8afa4;
  --line:rgba(255,255,255,.08);
  --gold:#d7b37a;
  --tile-text:#2c241a;
  --shadow:0 18px 40px rgba(0,0,0,.38);
  --deep-shadow:0 26px 70px rgba(0,0,0,.58);
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.03), transparent 30%),
    linear-gradient(180deg,#090909 0%, #050505 100%);
  color:var(--text);
  font-family: Georgia, "Times New Roman", serif;
  min-height:100vh;
}

img{
  max-width:100%;
  display:block;
  border:0;
}

a{
  color:inherit;
  text-decoration:none;
}

.wrap{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(5,5,5,.96);
  border-bottom:1px solid var(--line);
}

.nav-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  font-size:1.2rem;
  font-weight:700;
  letter-spacing:.03em;
  white-space:nowrap;
}

.nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  align-items:center;
  color:var(--muted);
  font-size:.95rem;
}

.nav-links a:hover{
  color:var(--text);
}

.hero{
  padding:56px 0 46px;
}

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

.hero-copy-block{
  padding-top:12px;
}

.hero-eyebrow{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.74rem;
  margin-bottom:16px;
}

.hero-title{
  margin:0 0 16px;
  font-size:clamp(2.4rem, 6vw, 4.8rem);
  line-height:.95;
  letter-spacing:.01em;
}

.hero-copy{
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.75;
  max-width:680px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  font-size:.95rem;
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16);
}

.btn-primary{
  background:var(--text);
  color:#111;
}

.btn-secondary{
  background:rgba(255,255,255,.03);
  color:var(--text);
}

.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:26px;
  padding:16px;
  box-shadow:var(--deep-shadow);
}

.hero-scene{
  position:relative;
  min-height:560px;
  border-radius:22px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(20,10,10,.16), rgba(0,0,0,.58)),
    linear-gradient(135deg, #160f0f 0%, #0b0909 48%, #050505 100%);
  border:1px solid rgba(255,255,255,.05);
}

.hero-scene::before{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:66%;
  background:
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.34)),
    linear-gradient(90deg,
      rgba(89,53,37,.18) 0%,
      rgba(67,39,28,.22) 18%,
      rgba(94,58,41,.16) 36%,
      rgba(74,45,32,.24) 56%,
      rgba(86,51,36,.15) 76%,
      rgba(64,38,27,.24) 100%
    ),
    linear-gradient(180deg, #3a241c 0%, #26160f 100%);
  opacity:.96;
}

.hero-scene::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18)),
    url("../images/textures/paper-petals-master.png") center/cover no-repeat;
  opacity:.22;
  pointer-events:none;
}

.hero-scene-inner{
  position:relative;
  z-index:2;
  min-height:560px;
  padding:24px 20px 20px;
}

.hero-tag{
  text-align:center;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.76rem;
  font-weight:700;
  margin-bottom:18px;
}

.crossword-desktop{
  position:relative;
  width:860px;
  height:430px;
  margin:0 auto;
}

.crossword-mobile{
  display:none;
}

.tile{
  position:absolute;
  width:46px;
  height:46px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, #e2c289 0%, #caa16b 100%);
  color:var(--tile-text);
  font-weight:700;
  font-size:1rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -7px 16px rgba(60,40,15,.15),
    0 8px 18px rgba(0,0,0,.24);
  overflow:hidden;
}

.tile::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,.35), transparent 18%),
    linear-gradient(135deg, transparent 0 45%, rgba(80,55,25,.17) 47%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 65%, rgba(90,60,28,.12) 67%, transparent 69% 100%);
  opacity:.82;
}

.hero-bottom{
  position:absolute;
  left:20px;
  right:20px;
  bottom:18px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
}

.hero-quote{
  max-width:470px;
  font-size:1rem;
  line-height:1.65;
  color:var(--text);
}

.rose-cluster{
  position:relative;
  width:170px;
  height:140px;
  flex:0 0 auto;
}

.rose{
  position:absolute;
  border-radius:50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255,255,255,.08), transparent 20%),
    radial-gradient(circle at center, #7e0e20 0%, #5a0817 42%, #2c020b 75%, #130104 100%);
  box-shadow:
    inset 0 4px 10px rgba(255,255,255,.04),
    inset 0 -12px 20px rgba(0,0,0,.35);
}

.rose.one{width:78px;height:78px;right:38px;bottom:34px}
.rose.two{width:54px;height:54px;right:8px;bottom:16px;opacity:.82}
.rose.three{width:36px;height:36px;right:90px;bottom:2px;opacity:.78}

.petal{
  position:absolute;
  background:linear-gradient(180deg, #8a1428 0%, #540916 100%);
  border-radius:60% 40% 65% 35% / 55% 35% 65% 45%;
  box-shadow:0 8px 18px rgba(0,0,0,.35);
  opacity:.92;
}

.petal.a{width:20px;height:13px;right:116px;bottom:60px;transform:rotate(18deg)}
.petal.b{width:16px;height:11px;right:136px;bottom:36px;transform:rotate(-18deg)}
.petal.c{width:14px;height:10px;right:68px;bottom:4px;transform:rotate(28deg)}

.section{
  padding:26px 0 56px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:22px;
}

h1,h2,h3{
  font-weight:700;
}

h2{
  margin:0;
  font-size:clamp(1.8rem, 4vw, 2.6rem);
}

.section-note{
  color:var(--muted);
  max-width:600px;
  line-height:1.65;
}

.books{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.book{
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.book:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.14);
  box-shadow:0 22px 48px rgba(0,0,0,.46);
}

.cover{
  position:relative;
  background:#101011;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}

.cover img{
  width:100%;
  aspect-ratio:2 / 3;
  height:auto;
  object-fit:cover;
  display:block;
}

.cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.18) 58%, rgba(0,0,0,.62) 100%);
  pointer-events:none;
}

.cover-title{
  position:absolute;
  left:16px;
  right:16px;
  bottom:14px;
  z-index:2;
  font-size:1.08rem;
  line-height:1.1;
  text-shadow:0 2px 18px rgba(0,0,0,.72);
}

.book-body{
  padding:18px 18px 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}

.book-kicker{
  color:var(--gold);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.18em;
}

.book p{
  margin:0;
  color:var(--muted);
  line-height:1.62;
  font-size:.93rem;
  flex:1;
}

.read-more{
  align-self:flex-start;
  margin-top:6px;
  font-size:.9rem;
  color:rgba(236,232,226,.54);
  border-bottom:1px solid transparent;
  transition:color .18s ease, border-color .18s ease;
}

.read-more:hover{
  color:var(--text);
  border-color:rgba(236,232,226,.4);
}

@media (max-width:1024px){
  .books{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
}

@media (max-width:640px){
  .books{
    grid-template-columns:1fr;
    gap:18px;
  }

  .book-body{
    padding:16px 16px 18px;
  }

  .cover-title{
    font-size:1rem;
  }

  .book p{
    font-size:.94rem;
    line-height:1.6;
  }
}

two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.panel{
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
}

.panel h3{
  margin:0 0 14px;
  font-size:1.45rem;
}

.panel p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.author-grid{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:18px;
  align-items:start;
}

.author-photo{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#0d0d0e;
}

.author-photo img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.refined-author-grid{
  grid-template-columns:220px 1fr;
  gap:24px;
  align-items:center;
}

.refined-author-photo{
  max-width:220px;
  margin:0 auto;
  border-radius:20px;
  overflow:hidden;
}

.refined-author-photo img{
  width:100%;
  height:280px;
  object-fit:cover;
  object-position:center top;
}

.author-copy{
  max-width:620px;
}

.author-copy p{
  margin:0 0 14px;
}

.author-lead{
  color:var(--text);
  font-size:1.05rem;
  line-height:1.7;
}

@media (max-width:1024px){
  .refined-author-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .author-copy{
    max-width:none;
  }

  .refined-author-photo{
    max-width:240px;
  }

  .refined-author-photo img{
    height:300px;
    object-position:center top;
  }
}

@media (max-width:640px){
  .refined-author-photo{
    max-width:220px;
  }

  .refined-author-photo img{
    height:260px;
  }

  .author-lead{
    font-size:1rem;
    line-height:1.6;
  }
}

.signals{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}

.signal{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:rgba(255,255,255,.02);
}

.signal strong{
  display:block;
  margin-bottom:8px;
}

.footer{
  padding:0 0 42px;
  color:rgba(236,232,226,.62);
}

.footer .panel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

/* book pages */
.page-hero{
  padding:56px 0 42px;
}

.page-hero-grid{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:34px;
  align-items:start;
}

.cover-card{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.cover-card img{
  width:100%;
  height:auto;
}

.book-meta{
  padding:18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.93rem;
  line-height:1.6;
}

.page-eyebrow{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.74rem;
  margin-bottom:16px;
}

.page-title{
  margin:0 0 14px;
  font-size:clamp(2.3rem, 6vw, 4.5rem);
  line-height:.92;
  letter-spacing:.01em;
}

.tagline{
  font-size:1.08rem;
  color:var(--text);
  margin:0 0 18px;
}

.intro{
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.75;
  max-width:720px;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.content{
  padding:0 0 54px;
}

.content-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
}

.details{
  display:grid;
  gap:14px;
}

.detail{
  padding:14px 0;
  border-top:1px solid var(--line);
}

.detail:first-child{
  border-top:none;
  padding-top:0;
}

.label{
  display:block;
  color:var(--text);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:6px;
}

.quote-block{
  font-size:1rem;
  line-height:1.8;
  color:var(--text);
}

/* tablet */
@media (max-width:1024px){
  .hero-grid,
  .books,
  .two-col,
  .signals,
  .author-grid,
  .page-hero-grid,
  .content-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding:40px 0 44px;
  }

  .nav-inner{
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    min-height:auto;
    padding:14px 0;
  }

  .brand{
    white-space:normal;
  }

  .nav-links{
    justify-content:center;
    gap:14px 18px;
  }

  .hero-copy-block{
    text-align:center;
    padding-top:0;
  }

  .hero-eyebrow,
  .hero-title{
    text-align:center;
  }

  .hero-copy{
    margin:0 auto;
    text-align:center;
  }

  .hero-actions,
  .actions{
    justify-content:center;
  }

  .hero-title{
    font-size:clamp(2.2rem, 7vw, 3.6rem);
  }

  .hero-card{
    padding:12px;
  }

  .hero-scene{
    min-height:auto;
  }

  .hero-scene-inner{
    min-height:auto;
    padding:18px 14px 16px;
  }

  .hero-tag{
    margin-bottom:14px;
    font-size:.68rem;
  }

  .crossword-desktop{
    display:none;
  }

  .crossword-mobile{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:8px;
    justify-items:center;
    max-width:320px;
    margin:0 auto 16px;
  }

  .crossword-mobile .tile{
    position:relative;
    width:40px;
    height:40px;
    font-size:.9rem;
  }

  .hero-bottom{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    display:block;
    margin-top:4px;
  }

  .hero-quote{
    max-width:none;
    text-align:center;
    font-size:.96rem;
    line-height:1.58;
    padding:0 4px;
  }

  .rose-cluster{
    width:120px;
    height:110px;
    margin:14px auto 0;
  }

  .rose.one{width:56px;height:56px;right:28px;bottom:26px}
  .rose.two{width:40px;height:40px;right:4px;bottom:10px}
  .rose.three{width:28px;height:28px;right:64px;bottom:0}
  .petal.a{width:14px;height:9px;right:78px;bottom:36px}
  .petal.b{width:12px;height:8px;right:92px;bottom:22px}
  .petal.c{width:10px;height:7px;right:42px;bottom:0}
}

/* phone */
@media (max-width:640px){
  .wrap{
    width:min(100%, calc(100% - 20px));
  }

  .hero-title,
  .page-title{
    font-size:clamp(2rem, 10vw, 3rem);
  }

  .hero-copy,
  .intro,
  .book p,
  .panel p{
    font-size:.95rem;
    line-height:1.62;
  }

  .hero-actions{
    gap:10px;
  }

  .btn{
    min-height:44px;
    padding:0 16px;
    font-size:.92rem;
  }

  .crossword-mobile{
    grid-template-columns:repeat(5, 1fr);
    max-width:260px;
    gap:7px;
  }

  .crossword-mobile .tile{
    width:36px;
    height:36px;
    font-size:.82rem;
  }

  .hero-quote,
  .quote-block{
    font-size:.92rem;
  }

  .section,
  .content{
    padding:18px 0 40px;
  }

  .section-head{
    display:block;
    margin-bottom:18px;
  }

  h2{
    font-size:2rem;
    margin-bottom:10px;
  }

  .cover img{
    height:auto;
    object-fit:contain;
  }

  .author-photo img{
    height:auto;
    max-height:300px;
    object-fit:cover;
  }

  .panel{
    padding:18px;
  }
}
