:root {
  --bg: #070707;
  --bg-2: #111010;
  --gold: #c9a84c;
  --gold-2: #e8d5a3;
  --gold-3: #8a6d1f;
  --rose: #e8b4b8;
  --cream: #f4efe6;
  --muted: #b8b0a4;
  --line: rgba(201, 168, 76, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", "Times New Roman", serif;
  --script: "Great Vibes", cursive;
  --sans: "Outfit", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1120px, calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.gold-text {
  background: linear-gradient(180deg, #f6e7b8 0%, #c9a84c 48%, #8a6d1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.script {
  font-family: var(--script);
  color: var(--rose);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--serif);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.eyebrow .script {
  letter-spacing: 0;
  text-transform: none;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1;
}

.flourish {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
  justify-content: flex-start;
}

.section-head .flourish {
  justify-content: center;
}

.flourish span {
  height: 1px;
  width: min(72px, 18vw);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.flourish svg {
  width: 14px;
  height: 14px;
  fill: var(--rose);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(180deg, #e8d5a3, #c9a84c 55%, #9a7a28);
  color: #1a1408;
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.28);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--gold-2);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px var(--pad) 14px;
  transition: 0.3s ease;
}

.nav.scrolled {
  background: rgba(7, 7, 7, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px var(--pad) 12px;
  gap: 6px;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__logo-name {
  font-family: var(--display);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--gold);
}

.nav__logo-script {
  font-family: var(--script);
  color: var(--rose);
  font-size: 1.75rem;
  line-height: 1;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav__toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

.hero {
  min-height: 100svh;
  padding: 128px 0 56px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero__glow {
  position: absolute;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18), transparent 68%);
  left: 4%;
  top: 14%;
  filter: blur(10px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.frame {
  border: 1px solid var(--line);
  padding: 8px;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08), transparent);
}

.frame img {
  width: 100%;
  height: min(62vh, 580px);
  object-fit: cover;
  object-position: center 18%;
}

.hero__photo {
  position: relative;
  min-width: 0;
}

.hero__badge {
  position: absolute;
  right: 10px;
  bottom: 22px;
  background: #0d0d0d;
  border: 1px solid var(--gold);
  padding: 6px 14px;
}

.hero__badge .script {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1;
}

.hero__copy {
  min-width: 0;
}

.hero__copy h1 {
  display: flex;
  flex-direction: column;
  margin: 6px 0 8px;
}

.hero__copy h1 .gold-text {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.06em;
  line-height: 1;
  font-weight: 600;
}

.name-script {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 0.85;
  margin-top: -4px;
}

.tagline {
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.68rem, 1.6vw, 0.8rem);
  color: var(--gold-2);
  line-height: 1.5;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #ddd6c8;
  max-width: 38ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.quote-band {
  padding: 12px 0 56px;
}

.quote-band__inner {
  border: 1px solid var(--line);
  padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 40px);
  text-align: center;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.07), rgba(7, 7, 7, 0.4));
}

.quote-icon {
  width: 26px;
  height: 26px;
  fill: var(--gold);
  margin: 0 auto 10px;
}

.quote-band p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-style: italic;
  color: var(--gold-2);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.5;
}

.quote-band em {
  font-style: normal;
  font-size: 1.15em;
  white-space: normal;
}

.about {
  padding: 24px 0 72px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.about__photos {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items: end;
}

.about__img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about__img--main {
  height: min(52vh, 460px);
}

.about__img--stack {
  height: min(34vh, 280px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.about__text {
  min-width: 0;
}

.about__text h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  letter-spacing: 0.04em;
  margin: 8px 0 0;
  line-height: 1.2;
}

.about__text p {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2vw, 1.14rem);
  color: #d8d0c4;
}

.heart-break {
  color: var(--gold);
  font-size: 0.75rem;
  margin: 10px 0;
  letter-spacing: 6px;
}

.pen-name {
  margin-top: 18px;
  color: var(--rose) !important;
  font-style: italic;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.section-head h2 .script {
  font-size: 1.15em;
  letter-spacing: 0;
  display: inline-block;
}

.section-head__sub {
  font-family: var(--serif);
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  max-width: 42ch;
  margin: 0 auto;
}

.books {
  padding: 24px 0 72px;
  background: radial-gradient(ellipse at top, rgba(201, 168, 76, 0.07), transparent 55%);
}

.books__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
}

.book-card {
  text-align: center;
  min-width: 0;
}

.book-card__cover {
  position: relative;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  aspect-ratio: 778 / 1024;
}

.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 12px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  color: var(--gold-2);
  font-size: 0.78rem;
  text-align: center;
}

.cover-placeholder small {
  letter-spacing: 0.14em;
  font-size: 0.55rem;
  color: var(--rose);
}

.cover-placeholder--3 { background: linear-gradient(180deg, #2a1c16, #120d0b); }
.cover-placeholder--4 { background: linear-gradient(180deg, #3a2618, #1a120e); }
.cover-placeholder--5 { background: linear-gradient(180deg, #24181c, #100c0e); }

.pill {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1408;
  font-weight: 600;
  z-index: 2;
}

.pill--soon {
  background: transparent;
  border: 1px solid var(--rose);
  color: var(--rose);
}

.book-card__num {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

.book-card h3 {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.25;
  margin: 4px 0;
}

.book-card__sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.4;
}

.link-btn {
  background: none;
  border: 0;
  color: var(--gold);
  font-family: var(--sans);
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--gold-2);
}

.featured {
  padding: 56px 0 72px;
  background: linear-gradient(90deg, #1a120c 0%, #0c0a09 55%, #070707 100%);
}

.featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
}

.featured__visual {
  min-width: 0;
}

.featured__visual img {
  width: 100%;
  max-width: 340px;
  height: auto;
  aspect-ratio: 778 / 1024;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.5));
}

.featured__copy {
  min-width: 0;
}

.featured__copy h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.featured__sub {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.1;
  margin: 2px 0 14px;
}

.featured__hook {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--gold-2);
  font-style: italic;
  margin-bottom: 12px;
}

.featured__copy p {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #d8d0c4;
  max-width: 48ch;
}

.featured--alt {
  background: linear-gradient(90deg, #070707 0%, #0c0a09 45%, #161010 100%);
}

@media (min-width: 901px) {
  .featured--alt .featured__visual {
    order: 2;
  }
}

.connect {
  padding: 64px 0 72px;
}

.connect__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}

.connect h2 {
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  line-height: 1.2;
}

.social {
  list-style: none;
  display: grid;
  gap: 12px;
}

.social a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  min-width: 0;
}

.social a:hover {
  color: var(--gold);
}

.social a span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.social strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.social__icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.thanks {
  margin-top: 22px;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
  position: relative;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--cream);
  padding: 11px 12px;
  font-family: var(--serif);
  font-size: 1.02rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--gold);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-note {
  color: var(--rose);
  font-family: var(--serif);
  font-style: italic;
}

.form-note--ok {
  color: #c9a84c;
}

.form-note--err {
  color: #e8b4b8;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__heart {
  color: var(--rose);
  font-family: var(--script);
  font-size: 1.25rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: var(--pad);
}

.modal[hidden] {
  display: none;
}

.modal__panel {
  width: min(560px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 32px 22px 24px;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal__panel h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  padding-right: 24px;
}

.modal__sub {
  color: var(--rose);
  font-style: italic;
  margin-bottom: 12px;
}

.modal__panel p {
  font-family: var(--serif);
  color: #d8d0c4;
}

.modal__panel .btn {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .books__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .books__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 0;
    padding: 96px 0 40px;
  }

  .hero__grid,
  .about__grid,
  .featured__grid,
  .connect__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__copy,
  .about__text,
  .featured__copy,
  .connect__info {
    text-align: left;
  }

  .frame img {
    height: min(58vw, 420px);
    margin: 0 auto;
  }

  .hero__photo {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px var(--pad);
  }

  .nav.scrolled {
    padding: 10px var(--pad);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% - 2px);
    right: var(--pad);
    left: var(--pad);
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    display: none;
    gap: 14px;
  }

  .nav.open .nav__links {
    display: flex;
  }

  .about__photos {
    max-width: 520px;
  }

  .featured__visual img {
    max-width: 280px;
  }
}

@media (max-width: 700px) {
  .books__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card__cover img {
    height: 100%;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 88px 0 32px;
  }

  .hero__actions .btn,
  .featured__copy .btn,
  .contact-form .btn,
  .modal__panel .btn {
    width: 100%;
  }

  .about__photos {
    grid-template-columns: 1fr 1fr;
  }

  .about__img--main,
  .about__img--stack {
    height: 210px;
  }

  .quote-band {
    padding-bottom: 36px;
  }

  .books,
  .about,
  .featured,
  .connect {
    padding-bottom: 48px;
  }
}

@media (max-width: 400px) {
  .books__grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .about__photos {
    grid-template-columns: 1fr;
  }

  .about__img--stack {
    display: none;
  }

  .nav__logo-name {
    letter-spacing: 0.1em;
    font-size: 0.78rem;
  }
}
