*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amber: #C8841A;
  --amber-light: #E4A83C;
  --amber-pale: #F5D080;
  --deep: #0D0905;
  --ink: #1A1208;
  --clay: #7A4A1E;
  --bone: #F2EBD9;
  --mist: #E8DFC8;
  --coral: #D4543A;
}

html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--bone);
  font-family: 'Cormorant Garamond', Georgia, serif;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(13,9,5,0.92) 0%, transparent 100%);
  backdrop-filter: blur(4px);
}
.nav-logo {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-size: 1.05rem;
  letter-spacing: 0.4em;
  color: var(--amber-pale);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.67rem;
  letter-spacing: 0.25em;
  color: rgba(242,235,217,0.6);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--amber-light); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(200,132,26,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 20% 70%, rgba(122,74,30,0.15) 0%, transparent 60%),
    #0D0905;
  z-index: 0;
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px; opacity: 0.06; z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3; z-index: 1; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px;
  width: 100%;
}
.hero-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100; font-size: 0.68rem;
  letter-spacing: 0.4em; color: var(--amber);
  text-transform: uppercase; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s ease 0.3s forwards;
}
.hero-title {
  font-size: clamp(3rem, 18vw, 11rem);
  font-weight: 300; letter-spacing: 0.06em;
  line-height: 0.95; color: var(--amber-light);
  text-transform: uppercase;
  opacity: 0; animation: fadeUp 1.2s ease 0.6s forwards;
  text-shadow: 0 0 80px rgba(200,132,26,0.3);
  white-space: nowrap;
  /* compensate trailing letter-spacing so text stays centred */
  text-indent: 0.06em;
}
.hero-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  margin: 30px auto;
  opacity: 0; animation: fadeIn 1s ease 0.9s forwards;
}
.hero-subtitle {
  font-style: italic; font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 300; color: var(--mist); line-height: 1.5;
  letter-spacing: 0.03em;
  opacity: 0; animation: fadeUp 1.2s ease 1s forwards;
}
.hero-byline {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300; font-size: 0.78rem;
  letter-spacing: 0.3em; color: var(--amber-pale);
  text-transform: uppercase; margin-top: 22px;
  opacity: 0; animation: fadeUp 1s ease 1.2s forwards;
}
.hero-cta {
  margin-top: 44px;
  display: flex; gap: 20px;
  justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s ease 1.5s forwards;
}
.hero-books {
  display: flex; gap: 28px;
  justify-content: center; align-items: flex-end;
  margin-top: 52px;
  opacity: 0; animation: fadeUp 1.2s ease 1.8s forwards;
}
.hero-books img {
  max-height: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.75), 0 0 40px rgba(200,132,26,0.2);
  border: 1px solid rgba(200,132,26,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-books img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.8), 0 0 50px rgba(200,132,26,0.35);
}
.hero-books .book-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.55rem; letter-spacing: 0.3em;
  color: rgba(200,132,26,0.6); text-transform: uppercase;
  text-align: center; margin-top: 10px;
}
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s ease 2.2s forwards;
}
.scroll-hint span {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.4em;
  color: rgba(242,235,217,0.35); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* SECTIONS */
section { padding: 100px 24px; }
.container { max-width: 1000px; margin: 0 auto; }
.container-narrow { max-width: 740px; margin: 0 auto; }

.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100; font-size: 0.63rem;
  letter-spacing: 0.5em; color: var(--amber);
  text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300; letter-spacing: 0.05em;
  line-height: 1.2; color: var(--bone);
  margin-bottom: 28px;
}
.section-title em { font-style: italic; color: var(--amber-light); }
.section-rule {
  width: 60px; height: 1px;
  background: var(--amber); opacity: 0.6;
  margin: 0 0 48px 0;
}

/* BUTTONS */
.btn-primary {
  display: inline-block; padding: 14px 38px;
  background: var(--amber); color: var(--ink);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400; font-size: 0.73rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--amber);
  transition: all 0.3s ease; cursor: pointer;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,132,26,0.4);
}
.btn-ghost {
  display: inline-block; padding: 14px 38px;
  background: transparent; color: var(--mist);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300; font-size: 0.73rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(242,235,217,0.3);
  transition: all 0.3s ease;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-pale); }

/* ABOUT */
#about {
  background: var(--deep); position: relative;
}
#about::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.book-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; margin-top: 56px;
}
.book-intro-text {
  font-size: 1.12rem; font-weight: 300;
  line-height: 1.85; color: var(--mist);
}
.book-intro-text p + p { margin-top: 18px; }
.book-intro-text strong { color: var(--amber-light); font-weight: 400; }
.book-meta {
  border-left: 1px solid rgba(200,132,26,0.3);
  padding-left: 40px;
}
.book-meta-item { margin-bottom: 26px; }
.book-meta-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.4em;
  color: var(--amber); text-transform: uppercase; margin-bottom: 6px;
}
.book-meta-value {
  font-size: 0.97rem; font-weight: 300;
  color: var(--bone); line-height: 1.5;
}
.isbn-badge {
  display: inline-block; padding: 7px 14px;
  border: 1px solid rgba(200,132,26,0.4);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.15em;
  color: var(--amber-pale); margin-top: 6px;
}

/* BOOK COVERS DISPLAY */
.book-covers-row {
  display: flex; gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 72px; flex-wrap: wrap;
}
.book-cover-item { text-align: center; }
.book-cover-item img {
  max-height: 420px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.65), 0 0 30px rgba(200,132,26,0.15);
  border: 1px solid rgba(200,132,26,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.book-cover-item img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.75), 0 0 40px rgba(200,132,26,0.3);
}
.book-cover-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.35em;
  color: var(--amber); text-transform: uppercase; margin-top: 14px;
}

/* QUOTE */
.quote-block {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(180deg, var(--deep) 0%, rgba(122,74,30,0.1) 50%, var(--deep) 100%);
}
.quote-mark {
  font-size: 5.5rem; line-height: 0.5;
  color: var(--amber); opacity: 0.25;
  font-family: Georgia, serif; margin-bottom: 18px;
}
.quote-text {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-style: italic; font-weight: 300;
  line-height: 1.75; color: var(--bone);
  max-width: 760px; margin: 0 auto 22px;
  letter-spacing: 0.02em;
}
.quote-source {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.67rem; letter-spacing: 0.35em;
  color: var(--amber); text-transform: uppercase;
}

/* CHAPTERS */
#chapters { background: var(--ink); }
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; margin-top: 56px;
  border: 1px solid rgba(200,132,26,0.12);
}
.chapter-card {
  padding: 34px 30px;
  border: 1px solid rgba(200,132,26,0.08);
  background: rgba(13,9,5,0.6);
  transition: all 0.35s ease; position: relative; overflow: hidden;
}
.chapter-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 0; background: var(--amber);
  transition: height 0.4s ease;
}
.chapter-card:hover::before { height: 100%; }
.chapter-card:hover { background: rgba(200,132,26,0.05); }
.chapter-num {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100; font-size: 0.58rem;
  letter-spacing: 0.4em; color: var(--amber);
  text-transform: uppercase; margin-bottom: 11px;
}
.chapter-title {
  font-size: 1.1rem; font-weight: 400;
  line-height: 1.4; color: var(--bone); margin-bottom: 12px;
}
.chapter-desc {
  font-size: 0.86rem; font-weight: 300;
  line-height: 1.7; color: rgba(242,235,217,0.5);
}

/* FUTURE */
#future { background: var(--deep); }
.future-intro {
  font-size: 1.1rem; font-weight: 300;
  line-height: 1.85; color: var(--mist);
  max-width: 720px; margin-bottom: 56px;
}
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px; margin-top: 36px;
}
.venture-card {
  padding: 30px; border: 1px solid rgba(200,132,26,0.2);
  background: rgba(200,132,26,0.03);
  transition: all 0.35s ease; position: relative;
}
.venture-card:hover {
  border-color: rgba(200,132,26,0.5);
  background: rgba(200,132,26,0.07);
  transform: translateY(-3px);
}
.venture-num {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100; font-size: 2.2rem;
  color: rgba(200,132,26,0.13);
  line-height: 1; margin-bottom: 14px;
}
.venture-title {
  font-size: 1.02rem; font-weight: 400;
  color: var(--amber-light); margin-bottom: 9px; line-height: 1.4;
}
.venture-desc {
  font-size: 0.86rem; font-weight: 300;
  line-height: 1.7; color: rgba(242,235,217,0.58);
}
.seeking-block {
  margin-top: 60px; padding: 44px;
  border: 1px solid rgba(200,132,26,0.4);
  background: linear-gradient(135deg, rgba(200,132,26,0.06) 0%, transparent 100%);
}
.seeking-title {
  font-size: 1.5rem; font-weight: 300;
  color: var(--amber-light); margin-bottom: 22px; font-style: italic;
}
.seeking-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px; list-style: none; margin-bottom: 32px;
}
.seeking-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; font-weight: 300;
  color: var(--mist); line-height: 1.5;
}
.seeking-list li::before {
  content: '◆'; color: var(--amber);
  font-size: 0.48rem; margin-top: 5px; flex-shrink: 0;
}

/* AUTHOR */
#author {
  background: linear-gradient(180deg, var(--ink) 0%, var(--deep) 100%);
  position: relative;
}
#author::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.author-grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 72px; align-items: start; margin-top: 56px;
}
.author-photo-col {}
.author-photo {
  width: 100%; max-width: 300px; display: block;
  filter: grayscale(10%) contrast(1.05);
  border: 1px solid rgba(200,132,26,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 30px rgba(200,132,26,0.1);
  transition: filter 0.4s, transform 0.4s;
}
.author-photo:hover {
  filter: grayscale(0%) contrast(1.08);
  transform: scale(1.01);
}
.author-photo-caption {
  margin-top: 13px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.35em;
  color: var(--amber); text-transform: uppercase; text-align: center;
}
.author-credentials {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-top: 22px; margin-bottom: 28px;
}
.credential-tag {
  padding: 5px 13px;
  border: 1px solid rgba(200,132,26,0.35);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.22em;
  color: var(--amber-pale); text-transform: uppercase;
}
.author-bio {
  font-size: 1.04rem; font-weight: 300;
  line-height: 1.9; color: var(--mist);
}
.author-bio p + p { margin-top: 17px; }
.author-philosophy {
  margin-top: 38px; padding: 30px;
  border-left: 2px solid var(--amber);
  background: rgba(200,132,26,0.04);
}
.author-philosophy p {
  font-size: 1rem; font-style: italic;
  font-weight: 300; line-height: 1.8; color: var(--bone);
}

/* CONTACT */
#contact {
  background: var(--deep); padding: 110px 24px;
  position: relative;
}
#contact::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.contact-sub {
  font-size: 1.08rem; font-weight: 300; font-style: italic;
  color: var(--mist); max-width: 600px;
  margin: 0 auto 56px; line-height: 1.7; text-align: center;
}
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 72px; align-items: start;
}
.contact-item { margin-bottom: 30px; }
.contact-item-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.4em;
  color: var(--amber); text-transform: uppercase; margin-bottom: 7px;
}
.contact-item-value {
  font-size: 0.97rem; font-weight: 300;
  color: var(--bone); line-height: 1.6;
}
.contact-item-value a {
  color: var(--amber-light); text-decoration: none; transition: color 0.3s;
}
.contact-item-value a:hover { color: var(--amber-pale); }
.contact-form-wrap {
  border: 1px solid rgba(200,132,26,0.25);
  padding: 44px;
  background: rgba(200,132,26,0.03);
}
.form-title {
  font-size: 1.25rem; font-weight: 300;
  font-style: italic; color: var(--amber-light); margin-bottom: 30px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.35em;
  color: var(--amber); text-transform: uppercase; margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(242,235,217,0.04);
  border: 1px solid rgba(200,132,26,0.25);
  color: var(--bone);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem; font-weight: 300;
  padding: 11px 15px; outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(242,235,217,0.2); font-style: italic;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber); background: rgba(200,132,26,0.06);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8841A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.form-select option { background: #1A1208; color: var(--bone); }
.form-textarea {
  resize: vertical; min-height: 128px; line-height: 1.7;
}
.form-submit {
  width: 100%; padding: 15px 32px;
  background: var(--amber); border: none;
  color: var(--ink);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400; font-size: 0.73rem;
  letter-spacing: 0.35em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease; margin-top: 6px;
}
.form-submit:hover {
  background: var(--amber-light);
  box-shadow: 0 6px 24px rgba(200,132,26,0.4);
}
.form-success {
  display: none; text-align: center; padding: 44px 28px;
}
.form-success-icon {
  font-size: 2.2rem; color: var(--amber); margin-bottom: 18px;
}
.form-success-title {
  font-size: 1.45rem; font-weight: 300;
  font-style: italic; color: var(--bone); margin-bottom: 11px;
}
.form-success-text {
  font-size: 0.88rem; font-weight: 300;
  color: rgba(242,235,217,0.6); line-height: 1.7;
}

/* FOOTER */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(200,132,26,0.1);
  padding: 36px 48px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-logo {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100; font-size: 0.82rem;
  letter-spacing: 0.4em; color: var(--amber-pale); text-transform: uppercase;
}
.footer-copy {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.2em;
  color: rgba(242,235,217,0.28); text-transform: uppercase;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 820px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero-title { letter-spacing: 0.02em; text-indent: 0.02em; }
  .book-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .author-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .hero-books img { max-height: 200px; }
  .book-cover-item img { max-height: 300px; }
  footer { flex-direction: column; text-align: center; }
  .seeking-block { padding: 28px 20px; }
}