:root {
  --paper: #06090e;
  --paper2: #06090e;
  --navy: #f8f4ec;
  --night: #04060a;
  --amber: #c98b43;
  --muted: #8c979e;
  --line: rgba(255, 255, 255, 0.12);
  --white: #f8f4ec;
  --p: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background-color: #06090e;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(201, 139, 67, 0.08) 0%, transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 100% 100%, 20px 20px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.serif {
  font-family: Georgia, "Times New Roman", serif;
}

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: calc(var(--p) * 100%);
  background: var(--amber);
  z-index: 120;
}

/* Header */
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 9, 14, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 1;
  transform: none;
  transition: 0.35s ease;
}

/* Header Logo Image */
.brand-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.25s ease;
}

.brand-logo:hover {
  opacity: 0.85;
}

.header-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header .header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header .header-nav a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.8;
  border-bottom: none !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.header .header-nav a:hover {
  opacity: 1;
  color: var(--amber);
}

/* 1 — HERO SECTION & HERO QUOTE (FADES OUT ON SCROLL) */
.cover-intro {
  height: 250vh;
  position: relative;
}

.cover-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  padding-top: 50px;
}

.hero-sentence-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
  z-index: 10;
  padding: 0 20px;
  max-width: 720px;
  transition: opacity 0.1s linear, transform 0.1s linear;
  will-change: opacity, transform;
}

.hero-quote-text {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.8vw, 2.1rem);
  line-height: 1.4;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--amber);
  display: block;
  margin-bottom: 0.6rem;
}

/* Real 3D Book Object (Responsive Geometry) */
.cover-object {
  --book-w: 290px;
  --book-h: calc(var(--book-w) * (21 / 13.5));
  --book-depth: 28px;
  position: relative;
  width: var(--book-w);
  height: var(--book-h);
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateY(-26deg) rotateX(10deg) rotateZ(-1.5deg);
  transition: transform 0.1s linear;
}

.cover-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.front {
  z-index: 4;
  transform: translateZ(calc(var(--book-depth) / 2));
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6);
}

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

.spine {
  z-index: 3;
  width: var(--book-depth);
  height: 100%;
  left: calc(-1 * var(--book-depth) / 2);
  top: 0;
  transform: rotateY(-90deg);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

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

.back {
  z-index: 2;
  transform: translateZ(calc(-1 * var(--book-depth) / 2)) rotateY(180deg);
}

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

.pages {
  z-index: 3;
  width: var(--book-depth);
  height: 98.5%;
  top: 0.75%;
  right: calc(-1 * var(--book-depth) / 2);
  transform: rotateY(90deg);
  background: #e2dfd5;
}

.page-lines {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, #d8d4c7, #d8d4c7 2px, #eeebe1 2px, #eeebe1 4px);
}

.top-pages {
  z-index: 3;
  width: 98.5%;
  height: var(--book-depth);
  left: 0.75%;
  top: calc(-1 * var(--book-depth) / 2);
  transform: rotateX(90deg);
  background: #e2dfd5;
}

.page-lines-h {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #d8d4c7, #d8d4c7 2px, #eeebe1 2px, #eeebe1 4px);
}

.cover-shadow {
  position: absolute;
  width: min(380px, 60vw);
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  filter: blur(24px);
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  will-change: transform, opacity;
}

.cover-word {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}

/* 2 — BOOK NARRATIVE */
.story {
  height: 300vh;
  background: var(--night);
  color: var(--white);
  position: relative;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.story-inner {
  width: min(1080px, 88vw);
  position: relative;
  height: 72vh;
}

.story-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.32s ease, transform 0.42s ease;
}

.story-card.active {
  opacity: 1;
  transform: none;
}

.story-card h2 {
  margin: 0;
  max-width: 980px;
  font: 400 clamp(3.2rem, 7.8vw, 7.2rem) / 0.96 Georgia, "Times New Roman", serif;
  letter-spacing: -0.06em;
}

.story-card h2 em {
  font-style: normal;
  color: #dfa254;
}

.story-card p {
  margin: 30px 0 0;
  max-width: 690px;
  font: 400 clamp(1.05rem, 1.8vw, 1.45rem) / 1.65 Georgia, "Times New Roman", serif;
  color: #b7c2c8;
}

.story-rail {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 7vh;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.story-rail i {
  display: block;
  height: 1px;
  width: 0;
  background: #dfa254;
  transition: width 0.3s ease;
}

.story-comma {
  position: absolute;
  right: 5vw;
  bottom: -2vh;
  font: 400 clamp(12rem, 26vw, 24rem) / 0.6 Georgia, "Times New Roman", serif;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

/* 3 — ABOUT (UNIFIED BACKGROUND) */
.about {
  min-height: 110vh;
  background: var(--paper);
  display: grid;
  align-items: center;
  padding: 13vh 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 9vw;
  align-items: center;
}

.photo-wrap {
  height: min(74vh, 720px);
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 60%, rgba(201, 139, 67, 0.14) 0%, rgba(6, 9, 14, 0.6) 75%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  transform: none;
  will-change: transform;
}

.about-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--amber);
}

.about-copy h2 {
  font: 400 clamp(3.6rem, 7vw, 6.8rem) / 0.88 Georgia, "Times New Roman", serif;
  letter-spacing: -0.065em;
  margin: 14px 0 30px;
}

.about-copy p {
  line-height: 1.82;
  color: #b0bcbedd;
  max-width: 680px;
  margin: 0 0 17px;
  font-size: 1.05rem;
}

/* 4 — QUOTES SLIDER CAROUSEL (NO OUTER BOX) */
.quotes-section {
  padding: 12vh 0;
  background: var(--paper);
  position: relative;
}

.quotes-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.quotes-main-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  margin: 0.6rem 0 0;
  letter-spacing: -0.04em;
  color: var(--white);
}

.carousel-wrapper {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  padding: 40px 0;
  box-shadow: none;
  backdrop-filter: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  opacity: 0.25;
  transition: opacity 0.45s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-num {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.slide-headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0 0 1.8rem;
}

.slide-headline em {
  display: block;
  font-style: italic;
  color: #dfa254;
}

.slide-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: #a4b2b8;
  max-width: 680px;
  margin: 0;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(6, 9, 14, 0.8);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  border-radius: 12px;
  background: var(--amber);
}

/* 5 — WAITLIST / EARLY ACCESS FORM SECTION */
.waitlist-section {
  padding: 12vh 0;
  background: var(--paper);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.waitlist-container {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 20px 0;
}

.waitlist-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 400;
  font-style: italic;
  margin: 0.6rem 0 1.2rem;
  letter-spacing: -0.04em;
  color: var(--white);
}

.waitlist-desc {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.75;
  color: #a4b2b8;
  margin: 0 0 3rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  height: 54px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 0 10px;
  font-size: 1.1rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #6f797d;
  font-style: italic;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--amber);
  box-shadow: none;
}

.btn.primary.form-btn {
  width: 100%;
  height: 54px;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 4px;
}

.btn.primary.form-btn:hover {
  background: var(--amber);
  color: #06090e;
}

/* 6 — FINAL SECTION (GRADIENT TRANSITION + SON SÖZ) */
.final {
  min-height: 100vh;
  background: linear-gradient(180deg, #06090e 0%, #182330 25%, #dad3c4 65%, #f2eee6 100%);
  color: #082a43;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 170px 24px 100px;
  position: relative;
  text-align: center;
}

.final-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  width: 100%;
}

.final-tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6f797d;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.final-headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #082a43;
  margin: 0 0 4rem 0;
}

.blinking-cursor {
  display: inline-block;
  font-weight: 300;
  margin-left: 2px;
  color: #082a43;
  animation: blink 1.1s infinite step-start;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.final-comma {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 16vw, 13rem);
  line-height: 0.4;
  color: #082a43;
  margin-top: 1rem;
}

.footer {
  background-color: #f2eee6;
  padding: 24px 32px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f797d;
  border-top: 1px solid rgba(8, 42, 67, 0.08);
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  .wrap {
    width: min(100% - 32px, 1180px);
  }
  .header {
    height: 60px;
    padding: 0 16px;
  }
  .cover-object {
    --book-w: min(240px, 62vw);
    --book-depth: 18px;
  }
  .cover-intro {
    height: 220vh;
  }
  .story {
    height: 260vh;
  }
  .story-inner {
    height: 66vh;
  }
  .story-card h2 {
    font-size: 11vw;
  }
  .story-card p {
    font-size: 1rem;
  }
  .story-comma {
    right: -6vw;
  }
  .about {
    padding: 11vh 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .photo-wrap {
    height: 56vh;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .quote-card.spotlight {
    grid-column: span 1;
    padding: 50px 24px;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .cover-object {
    --book-w: min(190px, 55vw);
    --book-depth: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


