/* =========================================================
   REMEMBERING GRANDMAS' PRECIOUS PEARLS OF WISDOM
   Author website — design system
   ========================================================= */

:root{
  /* Color — drawn from the book cover: aged Bible, pearls, dusty
     roses, warm linen light. Two strong hues (mauve + copper)
     instead of a single flat accent, plus one deep band for contrast. */
  --cream:        #FBF5EC;
  --cream-alt:    #F1E4D2;
  --paper:        #FFFEFB;
  --ink:          #2A211C;
  --ink-soft:     #5B4C41;
  --mauve:        #8B4058;
  --mauve-deep:   #4A2432;
  --copper:       #A85C2E;
  --copper-deep:  #7C441F;
  --rule:         #D9C4A3;
  --rule-soft:    #E7D8BF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-ui:      'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-flourish:'Petit Formal Script', cursive;

  --measure: 66ch;
}

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

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.narrow{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  color: var(--ink);
}

h1{ font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 900; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3{ font-size: clamp(1.3rem, 2vw, 1.6rem); }

p{ margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child{ margin-bottom: 0; }

.eyebrow{
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--copper-deep);
  margin: 0 0 0.9em;
}

.lede{
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary{
  background: var(--mauve-deep);
  color: var(--cream);
  border-color: var(--mauve-deep);
}
.btn-primary:hover{ background: var(--mauve); border-color: var(--mauve); }
.btn-primary:focus-visible{ outline: 3px solid var(--copper); outline-offset: 3px; }

.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--cream); }
.btn-outline:focus-visible{ outline: 3px solid var(--copper); outline-offset: 3px; }

.btn-light{
  background: transparent;
  color: var(--cream);
  border-color: rgba(251,245,236,0.55);
}
.btn-light:hover{ background: var(--cream); color: var(--mauve-deep); border-color: var(--cream); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,245,236,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled{
  border-bottom-color: var(--rule);
  background: rgba(251,245,236,0.97);
}
.nav-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--mauve-deep);
  letter-spacing: 0.01em;
}
.brand span{ display: block; font-size: 0.62rem; font-family: var(--font-ui); color: var(--copper-deep); letter-spacing: 0.14em; margin-top: 2px; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.94rem;
}
.nav-links a{
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--copper);
  transition: right 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ right: 0; }
.nav-links a.active{ color: var(--mauve-deep); }

.nav-cta{ display: none; }
@media (min-width: 860px){ .nav-cta{ display: inline-flex; } }

.nav-toggle{
  display: inline-flex;
  background: none; border: 1px solid var(--ink); color: var(--ink);
  width: 42px; height: 42px; align-items: center; justify-content: center;
  cursor: pointer;
}
@media (min-width: 860px){ .nav-toggle{ display: none; } .nav-links{ display: flex !important; } }
@media (max-width: 859px){
  .nav-links{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 32px 26px;
    gap: 18px;
  }
  .nav-links.open{ display: flex; }
}

/* ---------- Sections ---------- */
section{ padding: 100px 0; }
@media (max-width: 700px){ section{ padding: 66px 0; } }

.section-alt{ background: var(--cream-alt); }
.section-paper{ background: var(--paper); }

.section-head{ max-width: 620px; margin-bottom: 52px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

.rule{
  width: 64px;
  height: 1px;
  background: var(--copper);
  margin: 22px 0;
  border: none;
}
.rule.center{ margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero{
  padding: 76px 0 110px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-image{ order: -1; }
}
.hero-flourish{
  font-family: var(--font-flourish);
  font-size: 2.1rem;
  color: var(--copper);
  display: block;
  margin-bottom: 6px;
}
.hero h1{ color: var(--mauve-deep); }
.hero h1 em{ font-style: italic; color: var(--copper); font-weight: 700; }
.hero-sub{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 14px 0 26px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

.hero-image{
  position: relative;
}
.hero-image .frame{
  position: relative;
  padding: 14px;
  background: var(--paper);
  box-shadow: 0 30px 60px -20px rgba(74,36,50,0.35);
  transform: rotate(1.4deg);
}
.hero-image img{ display: block; width: 100%; height: auto; }
.hero-image .frame-tag{
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--mauve-deep);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  padding: 10px 18px;
  transform: rotate(-1.4deg);
}

/* ---------- Book intro ---------- */
.book-intro-grid{
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px){ .book-intro-grid{ grid-template-columns: 1fr; } }
.book-intro-grid img{ box-shadow: 0 22px 44px -18px rgba(42,33,28,0.3); }
.meta-line{
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--copper-deep);
  margin-bottom: 18px;
}

/* ---------- Themes (why it matters) ---------- */
.themes{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 820px){ .themes{ grid-template-columns: 1fr; } }
.theme{
  padding: 40px 34px 40px !important;
  border-bottom: 1px solid var(--rule);
}
.themes .theme:not(:last-child){ border-right: 1px solid var(--rule); }
@media (max-width: 820px){ .themes .theme:not(:last-child){ border-right: none; } .theme{ padding-right: 0; } }
.theme-mark{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--copper);
  font-size: 1rem;
  margin-bottom: 14px;
}
.theme h3{ margin-bottom: 12px; color: var(--mauve-deep); }
.theme p{ color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Featured quote ---------- */
.quote-band{
  background: var(--mauve-deep);
  color: var(--cream);
  text-align: center;
  padding: 110px 0;
  position: relative;
}
.quote-mark{
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--copper);
  opacity: 0.85;
  margin-bottom: 6px;
}
.quote-band blockquote{
  margin: 0 auto;
  max-width: 780px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.5;
}
.quote-attr{
  margin-top: 30px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--rule-soft);
}

/* ---------- About teaser ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; } }
.about-grid img{ box-shadow: 0 22px 44px -18px rgba(42,33,28,0.3); }

/* ---------- Chapters / Inside the book ---------- */
.chapter-list{ border-top: 1px solid var(--rule); }
.chapter-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}
.chapter-num{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--copper);
}
.chapter-row h3{ color: var(--mauve-deep); margin-bottom: 8px; }
.chapter-row p{ color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Sayings strand ---------- */
.saying-strand{ display: flex; flex-direction: column; }
.saying{
  padding: 34px 0;
  border-bottom: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
}
.saying:first-child{ border-top: 1px solid var(--rule-soft); }
.saying:nth-child(even){ margin-left: auto; text-align: right; }
.saying p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
  max-width: 100%;
}
@media (max-width: 640px){ .saying:nth-child(even){ margin-left: 0; text-align: left; } }

/* ---------- Excerpt ---------- */
.excerpt-box{
  border-left: 3px solid var(--copper);
  padding-left: 34px;
}
.excerpt-box p:first-of-type::first-letter{
  font-family: var(--font-display);
  font-size: 3.6rem;
  float: left;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  color: var(--mauve-deep);
  font-weight: 700;
}
.excerpt-cta{ margin-top: 30px; }

/* ---------- Purchase / coming soon ---------- */
.purchase-grid{
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 820px){ .purchase-grid{ grid-template-columns: 1fr; } }
.purchase-grid img{ box-shadow: 0 22px 44px -18px rgba(42,33,28,0.3); }
.notice-pill{
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--copper-deep);
  border: 1px solid var(--copper);
  padding: 8px 16px;
  margin-bottom: 18px;
}

/* ---------- Newsletter ---------- */
.newsletter{ text-align: center; }
.newsletter-form{
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"]{
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  min-width: 300px;
}
.newsletter-form input[type="email"]:focus-visible{ outline: 3px solid var(--copper); outline-offset: 2px; }
.form-note{ margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }
.form-success{ margin-top: 16px; font-size: 0.95rem; color: var(--mauve-deep); display:none; }
.form-success.show{ display: block; }

/* ---------- Final CTA ---------- */
.final-cta{
  background: var(--mauve-deep);
  color: var(--cream);
  text-align: center;
  padding: 130px 0;
}
.final-cta h2{ color: var(--cream); }
.final-cta p{ color: var(--rule-soft); margin: 18px auto 36px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--cream-alt);
  border-top: 1px solid var(--rule);
  padding: 56px 0 34px;
}
.footer-grid{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 34px;
}
.footer-brand{ font-family: var(--font-display); font-size: 1.2rem; color: var(--mauve-deep); }
.footer-nav{
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0; margin: 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.footer-bottom{
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header{
  padding: 66px 0 70px;
  text-align: center;
}
.page-header h1{ color: var(--mauve-deep); }
.page-header p{ margin: 18px auto 0; color: var(--ink-soft); }

/* ---------- Contact form ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}
@media (max-width: 820px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-cat{ margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-cat-item{
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.contact-cat-item strong{ display: block; color: var(--ink); font-family: var(--font-body); font-size: 1.02rem; margin-bottom: 4px; }

.field{ margin-bottom: 22px; }
.field label{
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{
  outline: 3px solid var(--copper); outline-offset: 1px;
}
.field textarea{ resize: vertical; min-height: 140px; }
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px){ .two-col{ grid-template-columns: 1fr; } }

/* ---------- Bio content blocks (about page) ---------- */
.bio-block{ margin-bottom: 46px; }
.bio-block:last-child{ margin-bottom: 0; }
.bio-block h2{ color: var(--mauve-deep); margin-bottom: 18px; font-size: clamp(1.6rem, 2.6vw, 2rem); }

/* ---------- Retailer buttons ---------- */
.retailer-row{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.retailer-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.retailer-btn:hover{
  background: var(--mauve-deep);
  color: var(--cream);
  border-color: var(--mauve-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -14px rgba(74,36,50,0.5);
}
.retailer-btn svg{ width: 15px; height: 15px; flex-shrink: 0; }
.purchase-note{ margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Utility ---------- */
.center-text{ text-align: center; }
.mt-lg{ margin-top: 60px; }
.stack-img{ display: grid; gap: 20px; }

/* =========================================================
   MOTION & CREATIVE DETAIL LAYER
   ========================================================= */

/* Scroll progress bar — a thin gold thread that fills as you read */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--copper), var(--mauve));
  z-index: 80;
  transition: width 0.12s linear;
}

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(.2,.7,.3,1), transform 0.75s cubic-bezier(.2,.7,.3,1);
  will-change: transform, opacity;
}
.reveal.in-view{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* Hero cover — subtle cursor tilt + drifting light */
.hero-image{ perspective: 1200px; }
.hero-image .frame{
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero{ position: relative; }
.pearl-dot{
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #FFFDF8, var(--rule) 70%);
  opacity: 0.55;
  filter: blur(0.2px);
  animation: pearlFloat 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pearlFloat{
  0%, 100%{ transform: translateY(0) translateX(0); opacity: 0.35; }
  50%{ transform: translateY(-22px) translateX(6px); opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce){ .pearl-dot{ animation: none; } }

/* Pearl-strand section divider */
.pearl-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 0 0;
  margin: 0 auto 46px;
}
.pearl-divider span{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #fff, var(--copper) 75%);
  display: inline-block;
  animation: pearlBob 3.2s ease-in-out infinite;
}
.pearl-divider span:nth-child(1){ animation-delay: 0s; }
.pearl-divider span:nth-child(2){ animation-delay: 0.15s; }
.pearl-divider span:nth-child(3){ width: 10px; height: 10px; animation-delay: 0.3s; }
.pearl-divider span:nth-child(4){ animation-delay: 0.45s; }
.pearl-divider span:nth-child(5){ animation-delay: 0.6s; }
@keyframes pearlBob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce){ .pearl-divider span{ animation: none; } }

/* Quote band — slow breathing glow behind the text */
.quote-band{ overflow: hidden; }
.quote-band::before{
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 40%, rgba(168,92,46,0.28), transparent 60%);
  animation: glowShift 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowShift{
  0%, 100%{ transform: scale(1) translate(0,0); opacity: 0.7; }
  50%{ transform: scale(1.15) translate(2%, -2%); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){ .quote-band::before{ animation: none; } }
.quote-band .narrow{ position: relative; z-index: 1; }

/* Buttons — a touch of lift */
.btn{ transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.btn:hover{ transform: translateY(-3px); }
.btn-primary:hover{ box-shadow: 0 14px 28px -12px rgba(74,36,50,0.55); }
.btn-outline:hover{ box-shadow: 0 14px 28px -14px rgba(42,33,28,0.4); }

/* Nav — active scroll-spy state + underline persists */
.nav-links a.active{ color: var(--mauve-deep); }
.nav-links a.active::after{ right: 0; }

/* Sayings — gentle lift + color shift on hover, animated quote glyph */
.saying{ transition: transform 0.35s ease; position: relative; }
.saying:hover{ transform: translateX(4px); }
.saying:nth-child(even):hover{ transform: translateX(-4px); }
.saying:hover p{ color: var(--mauve-deep); }
.saying p{ transition: color 0.3s ease; }

/* Chapter rows — numeral emphasis on hover */
.chapter-row{ transition: background 0.3s ease; }
.chapter-row:hover{ background: rgba(168,92,46,0.05); }
.chapter-row:hover .chapter-num{ color: var(--mauve-deep); }
.chapter-num{ transition: color 0.3s ease; }

/* Images — soft zoom on hover within their frames */
.about-grid img, .book-intro-grid img, .purchase-grid img{
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.about-grid, .book-intro-grid, .purchase-grid{ overflow: hidden; }
.about-grid img:hover, .book-intro-grid img:hover, .purchase-grid img:hover{ transform: scale(1.03); }

/* Back to top */
.back-to-top{
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--mauve-deep);
  color: var(--cream);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  z-index: 60;
  box-shadow: 0 12px 26px -10px rgba(74,36,50,0.5);
}
.back-to-top.show{ opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover{ background: var(--mauve); }
.back-to-top:focus-visible{ outline: 3px solid var(--copper); outline-offset: 3px; }

/* Hero load-in sequence */
.hero-copy > *{
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.8s cubic-bezier(.2,.7,.3,1) forwards;
}
.hero-copy > *:nth-child(1){ animation-delay: 0.05s; }
.hero-copy > *:nth-child(2){ animation-delay: 0.16s; }
.hero-copy > *:nth-child(3){ animation-delay: 0.27s; }
.hero-copy > *:nth-child(4){ animation-delay: 0.38s; }
.hero-copy > *:nth-child(5){ animation-delay: 0.49s; }
.hero-image{
  opacity: 0;
  transform: translateY(18px) rotate(0.4deg);
  animation: heroIn 0.9s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: 0.2s;
}
@keyframes heroIn{ to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .hero-copy > *, .hero-image{ opacity: 1; transform: none; animation: none; }
}

