/* ============================================================
   Aurora Savelle — author site
   Moody · Editorial · Luxe
   ============================================================ */

:root {
  --bg: #120C11;
  --bg-2: #1A1019;
  --panel: #20141D;
  --panel-2: #271A24;
  --line: #3A2A33;
  --cream: #F3E7E4;
  --muted: #B79BA4;
  --muted-2: #8C737C;
  --rose: #C8506B;
  --rose-deep: #9E3A53;
  --rose-soft: #E892A6;
  --gold: #C9A66B;
  --gold-soft: #E0C893;
  --white: #FFFDFB;
  --shadow: rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cream);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film-grain overlay across the whole site */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

h1, h2, h3, .logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; line-height: 1.1; color: var(--cream);
}
.script { font-family: 'Pinyon Script', cursive; font-weight: 400; }

a { color: var(--rose-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--white); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 30px; }

/* small caps label */
.eyebrow {
  display: inline-block; letter-spacing: .34em; text-transform: uppercase;
  font-size: 12px; color: var(--gold-soft);
}
.eyebrow::before, .eyebrow::after {
  content: ""; display: inline-block; width: 30px; height: 1px;
  background: var(--gold); vertical-align: middle; margin: 0 16px; opacity: .6;
}

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18,12,17,0.7); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 30px; max-width: 1100px; margin: 0 auto;
}
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: .8; }
.logo .lf { font-family: 'Pinyon Script', cursive; font-size: 30px; color: var(--rose-soft); }
.logo .ll { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; font-size: 11px; padding-left: .36em; color: var(--cream); margin-top: 2px; }
nav.links a {
  margin-left: 32px; color: var(--muted);
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
}
nav.links a:hover, nav.links a.active { color: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; color: var(--cream); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--rose); color: var(--white);
  padding: 15px 38px; border-radius: 2px; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; border: 0; cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px rgba(200,80,107,.25);
}
.btn:hover { background: var(--rose-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(200,80,107,.38); }
.btn-ghost { background: transparent; color: var(--gold-soft); border: 1px solid var(--gold); box-shadow: none; letter-spacing: .18em; }
.btn-ghost:hover { background: var(--gold); color: #1a120c; border-color: var(--gold); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 30px;
  background: linear-gradient(180deg, rgba(18,12,17,.55) 0%, rgba(18,12,17,.4) 45%, rgba(18,12,17,.95) 100%), url("assets/hero.jpg");
  background-size: cover; background-position: center;
}
/* luxe inset frame */
.hero::after {
  content: ""; position: absolute; inset: 26px; border: 1px solid rgba(201,166,107,.35);
  pointer-events: none;
}
.hero::after { box-shadow: inset 0 0 0 1px rgba(201,166,107,.08); }
.hero-inner { position: relative; z-index: 3; max-width: 760px; }
.hero .kicker { display: block; font-family: 'Pinyon Script', cursive; font-size: 40px; color: var(--rose-soft); margin-bottom: 4px; }
.hero h1 { font-size: clamp(56px, 11vw, 118px); letter-spacing: .02em; text-shadow: 0 4px 40px rgba(0,0,0,.5); }
.hero h1 span { font-style: italic; color: var(--rose-soft); }
.hero .ornament { margin: 24px auto; }
.hero .tagline { max-width: 600px; margin: 8px auto 40px; font-size: 20px; color: #E7D6D2; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--gold-soft); letter-spacing: .3em; font-size: 11px; text-transform: uppercase; opacity: .8; }

/* ---------- Ornaments ---------- */
.ornament {
  height: 20px; width: 180px; margin: 28px auto;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='20' viewBox='0 0 180 20'%3E%3Cg fill='none' stroke='%23C9A66B' stroke-width='1'%3E%3Cline x1='4' y1='10' x2='66' y2='10'/%3E%3Cline x1='114' y1='10' x2='176' y2='10'/%3E%3Cpath d='M90 3 L97 10 L90 17 L83 10 Z'/%3E%3C/g%3E%3Ccircle cx='90' cy='10' r='1.7' fill='%23C9A66B'/%3E%3Ccircle cx='72' cy='10' r='1.8' fill='%23C9A66B'/%3E%3Ccircle cx='108' cy='10' r='1.8' fill='%23C9A66B'/%3E%3C/svg%3E");
}

/* floral corner (luxe) — placed in section corners */
.floral { position: absolute; width: 120px; height: 120px; opacity: .5; pointer-events: none;
  background: center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C9A66B' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M6 6 C 40 14, 58 32, 64 64'/%3E%3Cpath d='M6 6 C 14 40, 32 58, 64 64'/%3E%3Cpath d='M30 10 q 12 6 10 22 q -10 -6 -10 -22 Z'/%3E%3Cpath d='M10 30 q 6 12 22 10 q -6 -10 -22 -10 Z'/%3E%3Cpath d='M52 40 q 10 4 9 18 q -9 -5 -9 -18 Z'/%3E%3Ccircle cx='64' cy='64' r='3' fill='%23C9A66B' stroke='none'/%3E%3C/g%3E%3C/svg%3E"); }
.floral.tl { top: 18px; left: 18px; }
.floral.tr { top: 18px; right: 18px; transform: scaleX(-1); }
.floral.bl { bottom: 18px; left: 18px; transform: scaleY(-1); }
.floral.br { bottom: 18px; right: 18px; transform: scale(-1,-1); }

/* ---------- Sections ---------- */
section { position: relative; padding: 30px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 14px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(36px, 5.5vw, 58px); }
.section-head h2::after {
  content: ""; display: block; width: 150px; height: 16px; margin: 20px auto 0;
  background: center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='16' viewBox='0 0 150 16'%3E%3Cpath d='M14 8 q 24 -10 53 0 q 24 10 53 0' fill='none' stroke='%23C9A66B' stroke-width='1'/%3E%3Cpath d='M75 3 L80 8 L75 13 L70 8 Z' fill='%23C8506B'/%3E%3C/svg%3E");
}
.lead { font-size: 20px; color: var(--muted); max-width: 720px; margin: 30px auto 0; text-align: center; }

/* Editorial pull-quote block */
.pull {
  max-width: 880px; margin: 0 auto; text-align: center; position: relative; padding: 20px 40px;
}
.pull .mark { font-family: 'Fraunces', serif; font-size: 120px; line-height: .4; color: var(--rose); opacity: .35; display: block; height: 50px; }
.pull blockquote { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(28px, 4.6vw, 46px); color: var(--cream); line-height: 1.25; }
.pull blockquote span { color: var(--rose-soft); }

/* ---------- Coming-soon: editorial split + 3D book ---------- */
.feature {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 70px; align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.book3d-wrap { perspective: 1600px; display: flex; justify-content: center; }
.book-cover-img { width: 270px; max-width: 100%; height: auto; filter: drop-shadow(24px 26px 44px rgba(0,0,0,.55)); transition: transform .5s ease; }
.book-cover-img:hover { transform: translateY(-6px) scale(1.02); }
.book3d {
  width: 250px; height: 375px; position: relative; transform: rotateY(-22deg) rotateX(3deg);
  transform-style: preserve-3d; transition: transform .6s ease;
  box-shadow: 38px 40px 70px rgba(0,0,0,.6);
}
.book3d:hover { transform: rotateY(-12deg) rotateX(2deg); }
.book3d .face {
  position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; overflow: hidden;
  background: linear-gradient(150deg, #2A1820 0%, #7A2C42 50%, #C8506B 105%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 30px; border: 1px solid rgba(255,255,255,.1);
}
.book3d .face::before { /* spine shadow */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 22px;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.book3d .face::after { /* foil frame */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(224,200,147,.5); border-radius: 2px;
}
.book3d .series { letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: var(--gold-soft); }
.book3d .bk-title { font-family: 'Fraunces', serif; font-style: italic; font-size: 40px; margin: 18px 0; }
.book3d .author { letter-spacing: .24em; text-transform: uppercase; font-size: 11px; color: var(--gold-soft); }
.preorder-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.preorder-row .btn { padding: 13px 26px; letter-spacing: .1em; }
.feature .copy .badge { display: inline-block; background: rgba(201,166,107,.12); color: var(--gold-soft); padding: 7px 18px; border: 1px solid rgba(201,166,107,.4); border-radius: 30px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.feature .copy h3 { font-size: 40px; margin-bottom: 16px; }
.feature .copy p { color: var(--muted); margin-bottom: 22px; }

/* ---------- About (editorial) ---------- */
.about-grid { max-width: 760px; margin: 0 auto; text-align: center; }
.monogram {
  width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 40px; color: var(--gold-soft);
  box-shadow: 0 0 0 7px rgba(201,166,107,.08), inset 0 0 30px rgba(201,166,107,.08);
}
.about-grid > p { font-size: 21px; color: #DBC8C9; margin: 0 auto; max-width: 660px; }
.about-grid > p:first-of-type::first-letter {
  font-family: 'Fraunces', serif; font-style: italic; float: left;
  font-size: 88px; line-height: .72; padding: 8px 14px 0 0; color: var(--rose); text-shadow: 0 2px 20px rgba(200,80,107,.4);
}
.about-grid .signature { font-family: 'Pinyon Script', cursive; font-size: 46px; color: var(--rose-soft); margin-top: 10px; }

/* ---------- Newsletter ---------- */
.signup {
  max-width: 580px; margin: 0 auto; background: var(--panel);
  border: 1px solid var(--line); padding: 50px; position: relative;
  box-shadow: 0 34px 80px var(--shadow); text-align: center;
}
.signup::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,166,107,.25); pointer-events: none; }
.signup h2 { font-size: 42px; margin-bottom: 12px; }
.signup p { color: var(--muted); margin-bottom: 28px; }
.signup form { display: flex; flex-direction: column; gap: 14px; }
.signup input, .signup textarea {
  width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 2px;
  font-family: inherit; font-size: 16px; color: var(--cream); background: var(--bg); transition: border-color .2s;
}
.signup textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.signup input::placeholder, .signup textarea::placeholder { color: var(--muted-2); }
.signup input:focus, .signup textarea:focus { outline: none; border-color: var(--rose); }
.signup .fineprint { font-size: 13px; color: var(--muted-2); margin-top: 8px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; text-align: center; padding: 70px 30px 50px;
  background: linear-gradient(180deg, rgba(18,12,17,.6), rgba(18,12,17,.97)), url("assets/hero.jpg");
  background-size: cover; background-position: center;
}
.page-hero .kicker { font-family: 'Pinyon Script', cursive; font-size: 34px; color: var(--rose-soft); display:block; }
.page-hero h1 { font-size: clamp(44px, 7.5vw, 84px); }
.page-hero h1::after { content: ""; display: block; width: 150px; height: 16px; margin: 18px auto 0;
  background: center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='16' viewBox='0 0 150 16'%3E%3Cpath d='M14 8 q 24 -10 53 0 q 24 10 53 0' fill='none' stroke='%23C9A66B' stroke-width='1'/%3E%3Cpath d='M75 3 L80 8 L75 13 L70 8 Z' fill='%23C8506B'/%3E%3C/svg%3E"); }
.page-hero p.sub { color: var(--muted); margin-top: 14px; font-size: 18px; }

/* ---------- Footer ---------- */
footer.site {
  position: relative; background: #0C070A; color: var(--cream); text-align: center;
  padding: 64px 30px; border-top: 1px solid var(--line);
}
footer.site .logo .lf { font-size: 42px; }
footer.site .logo .ll { font-size: 13px; }
footer.site .ornament { opacity: .8; }
footer.site .social { margin: 14px 0 18px; }
footer.site .social a { color: var(--muted); margin: 0 14px; letter-spacing: .12em; font-size: 13px; text-transform: uppercase; }
footer.site .social a:hover { color: var(--gold-soft); }
footer.site small { color: rgba(243,231,228,.4); font-size: 13px; }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 130%);
  z-index: 80; width: calc(100% - 36px); max-width: 760px;
  background: rgba(28,18,26,0.96); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 4px; padding: 18px 22px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); opacity: 0; transition: transform .45s ease, opacity .45s ease;
}
.cookie-bar.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-bar p { font-size: 14px; color: var(--muted); margin: 0; flex: 1 1 320px; line-height: 1.55; }
.cookie-bar a { color: var(--gold-soft); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie {
  font-family: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 2px; cursor: pointer; transition: all .2s ease;
}
.btn-cookie.accept { background: var(--rose); color: var(--white); border: 1px solid var(--rose); }
.btn-cookie.accept:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn-cookie.decline { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-cookie.decline:hover { color: var(--cream); border-color: var(--muted); }
@media (max-width: 540px) { .cookie-actions { width: 100%; } .btn-cookie { flex: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .feature .copy { text-align: center; }
}
@media (max-width: 720px) {
  nav.links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); flex-direction: column; padding: 18px 30px; border-bottom: 1px solid var(--line);
  }
  nav.links.open { display: flex; }
  nav.links a { margin: 10px 0; }
  .nav-toggle { display: block; }
  .hero::after { inset: 14px; }
  .floral { width: 78px; height: 78px; }
  .signup { padding: 34px; }
}
