/* =============================================
   PAULI PIETILÄ — paulipietila.fi
   Paletti 1: Lämmin syksyinen + Pronoia-sininen
   ============================================= */

:root {
  --gold:    #D4956C;
  --dark:    #2C1810;
  --blue:    #375F92;
  --bg:      #FAF6F1;
  --mid:     #8B6F47;
  --stone:   #6B5240;
  --pale:    #F0E8DC;
  --blue-pale: #D6E3F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--bg); color: var(--dark); font-size: 16px; line-height: 1.7; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 2.5rem; background: rgba(250, 246, 241, 0.93); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(44,24,16,0.08); }
.nav-logo { font-family: 'EB Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--dark); text-decoration: none; letter-spacing: 0.02em; }
.nav-links { list-style: none; display: flex; gap: 2.2rem; }
.nav-links a { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--dark); }

.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(0.9) contrast(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(44,24,16,0.15) 0%, rgba(44,24,16,0.1) 40%, rgba(44,24,16,0.55) 100%); }
.hero-content { position: absolute; bottom: 4rem; left: 2.5rem; right: 2.5rem; }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250,246,241,0.7); margin-bottom: 0.6rem; }
.hero-title { font-family: 'EB Garamond', serif; font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 400; line-height: 0.95; color: var(--bg); text-shadow: 0 2px 20px rgba(44,24,16,0.3); }
.hero-title em { font-style: italic; color: var(--gold); }

.intro { padding: 5rem 2.5rem; background: var(--bg); }
.intro-inner { max-width: 680px; margin: 0 auto; border-left: 2px solid var(--gold); padding-left: 2rem; }
.intro-text { font-family: 'EB Garamond', serif; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 400; line-height: 1.8; color: var(--dark); }

.section-inner { max-width: 1050px; margin: 0 auto; padding: 0 2.5rem; }
.eyebrow { font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mid); margin-bottom: 2rem; }
.section-title { font-family: 'EB Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.2; color: var(--dark); margin-bottom: 1rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mid); margin: 3rem 0 0.5rem; }

.books-stacked { padding: 5rem 0; background: var(--pale); }
.books-stacked .section-inner { max-width: 560px; }
.book-block { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 5rem; padding-bottom: 5rem; border-bottom: 1px solid rgba(44,24,16,0.12); }
.book-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.book-block-cover { width: 100%; max-width: 400px; aspect-ratio: 3/4; object-fit: cover; display: block; box-shadow: 6px 10px 36px rgba(44,24,16,0.22); margin-bottom: 2.2rem; }
.book-block-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.6rem; }
.book-block-title { font-family: 'EB Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; color: var(--dark); margin-bottom: 0.8rem; }
.book-block-desc { font-size: 0.95rem; color: var(--stone); line-height: 1.8; margin-bottom: 1.5rem; max-width: 420px; }
.book-block .pronoia-poem { text-align: left; max-width: 420px; }

.pronoia-poem { margin-top: 2rem; padding: 1.5rem; background: var(--blue-pale); border-left: 3px solid var(--blue); }
.pronoia-poem-layout { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.poem-square { width: 32px; height: 32px; background: var(--blue); flex-shrink: 0; }
.poem-left, .poem-right { display: flex; flex-direction: column; gap: 0.2rem; }
.poem-left span, .poem-right span, .poem-below { font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; font-style: italic; color: var(--blue); line-height: 1.5; }
.poem-below { text-align: center; padding-top: 0.3rem; }

.lavarunous-section { padding: 5rem 0; background: var(--bg); border-bottom: 1px solid rgba(44,24,16,0.08); }
.lavarunous-inner { max-width: 1050px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.lavarunous-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 300; font-style: italic; line-height: 1.6; color: var(--dark); border-left: 2px solid var(--gold); padding-left: 2rem; }
.lavarunous-body { font-size: 0.95rem; line-height: 1.85; color: var(--stone); }
.lavarunous-body p { margin-bottom: 1rem; }

.video-section { width: 100%; background: var(--dark); }
.video-full { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-full iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-caption { padding: 3rem 2.5rem 4rem; max-width: 820px; margin: 0 auto; }
.video-caption-title { font-family: 'EB Garamond', serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-style: italic; font-weight: 400; color: var(--bg); margin-bottom: 1rem; }
.video-caption-body { font-size: 0.95rem; line-height: 1.85; color: rgba(250,246,241,0.55); max-width: 580px; margin-bottom: 1.5rem; }
.video-caption-link { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(212,149,108,0.3); padding-bottom: 2px; transition: border-color 0.2s; }
.video-caption-link:hover { border-color: var(--gold); }

.btn-text { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue-pale); padding-bottom: 2px; transition: border-color 0.2s; }
.btn-text:hover { border-color: var(--blue); }
.btn-outline { display: inline-block; padding: 0.7rem 1.6rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); text-decoration: none; border: 1px solid rgba(250,246,241,0.5); margin-top: 1.5rem; transition: all 0.2s; }
.btn-outline:hover { background: rgba(250,246,241,0.12); border-color: var(--bg); }
.btn-primary { display: inline-block; padding: 0.8rem 2rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--blue); color: var(--bg); text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: var(--dark); }

footer { background: var(--dark); border-top: 1px solid rgba(212,149,108,0.2); padding: 2.5rem; }
.footer-inner { max-width: 1050px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-name { font-family: 'EB Garamond', serif; font-style: italic; font-size: 1rem; color: var(--gold); }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,246,241,0.4); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: rgba(250,246,241,0.2); }

.page-hero { padding: 10rem 2.5rem 4rem; background: var(--dark); }
.page-hero .eyebrow { color: var(--gold); opacity: 0.6; }
.page-hero-title { font-family: 'EB Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; color: var(--bg); margin-top: 0.5rem; }
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-content { max-width: 820px; margin: 0 auto; padding: 4rem 2.5rem 6rem; }

.gig-list { display: flex; flex-direction: column; border-top: 1px solid rgba(44,24,16,0.12); margin-top: 2rem; }
.gig-item { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(44,24,16,0.08); transition: padding-left 0.2s; }
.gig-item:hover { padding-left: 0.6rem; }
.gig-date { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--blue); }
.gig-name { font-family: 'EB Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--dark); }
.gig-venue { font-size: 0.82rem; color: var(--stone); }
.gig-tag { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); white-space: nowrap; }
.gig-past { opacity: 0.5; }

.poem-index { display: flex; flex-direction: column; border-top: 1px solid rgba(44,24,16,0.12); margin-top: 2rem; }
.poem-row { display: grid; grid-template-columns: 2.5rem 1fr auto auto; align-items: baseline; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(44,24,16,0.07); text-decoration: none; color: inherit; transition: padding-left 0.2s; cursor: pointer; }
.poem-row:hover { padding-left: 0.5rem; }
.poem-num { font-size: 0.7rem; color: var(--gold); }
.poem-row-title { font-family: 'EB Garamond', serif; font-size: 1.15rem; color: var(--dark); }
.poem-row-book { font-size: 0.75rem; font-style: italic; color: var(--stone); }
.poem-row-arrow { font-size: 0.8rem; color: var(--gold); opacity: 0; transition: opacity 0.2s; }
.poem-row:hover .poem-row-arrow { opacity: 1; }

.poem-body { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 300; line-height: 2; white-space: pre-line; color: var(--dark); max-width: 520px; margin: 2rem 0; }
.poem-youtube-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); text-decoration: none; border: 1px solid rgba(55,95,146,0.3); padding: 0.6rem 1.2rem; margin-top: 2rem; transition: all 0.2s; }
.poem-youtube-link:hover { background: var(--blue-pale); }
.poem-content-wrap { max-width: 520px; }

.contact-block { margin-bottom: 3rem; }
.contact-block h2 { font-family: 'EB Garamond', serif; font-size: 1.5rem; font-style: italic; color: var(--dark); margin-bottom: 0.5rem; }
.contact-block p { color: var(--stone); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.8rem; }
.contact-link { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue-pale); padding-bottom: 1px; transition: border-color 0.2s; }
.contact-link:hover { border-color: var(--blue); }

.tarjous-box { border: 1px solid rgba(55,95,146,0.25); padding: 2rem; background: var(--blue-pale); margin: 2.5rem 0; }
.tarjous-box h3 { font-family: 'EB Garamond', serif; font-size: 1.3rem; font-style: italic; color: var(--blue); margin-bottom: 1rem; }
.tarjous-box p { font-size: 0.9rem; color: var(--stone); line-height: 1.8; }
.price-tag { font-family: 'EB Garamond', serif; font-size: 2.5rem; font-style: italic; color: var(--blue); margin: 1rem 0 0.3rem; }
.price-note { font-size: 0.75rem; color: var(--stone); letter-spacing: 0.05em; }

@media (max-width: 720px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--pale); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-content { bottom: 2.5rem; left: 1.5rem; }
  .intro { padding: 3.5rem 1.5rem; }
  .intro-inner { padding-left: 1.2rem; }
  .section-inner { padding: 0 1.5rem; }
  .lavarunous-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-block-cover { max-width: 300px; }
  .gig-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .gig-tag { display: none; }
  .poem-row { grid-template-columns: 2rem 1fr; }
  .poem-row-book { display: none; }
  .poem-row-arrow { display: none; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .page-content { padding: 3rem 1.5rem 5rem; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
