/* Luanne Remin — author site
   Layout: a night-street hero, then alternating paper and navy bands, each on a 12-column shell. */
:root {
  --ink: #071018;
  --navy: #071722;
  --navy-soft: #0d2738;
  --paper: #e9e4d9;
  --paper-bright: #f5f1e8;
  --gold: #d4aa62;
  --gold-light: #efcf91;
  --gold-deep: #7d5a1e;   /* gold for small text on paper; 4.9:1 on --paper */
  --red: #b83b33;
  --red-deep: #8f2a24;    /* red for text on paper */
  --mist: #9bb2bf;
  --line-dark: rgba(233, 228, 217, .14);
  --line-light: rgba(7, 16, 24, .14);

  --serif: Georgia, Gelasio, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, Helvetica, sans-serif;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --band: clamp(72px, 11vw, 140px);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--paper);
  font: 400 1.0625rem/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.025em; line-height: 1.02; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.band--paper :focus-visible { outline-color: var(--red-deep); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--gold-light); color: var(--ink);
  padding: 10px 16px; font: 700 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 16px; }

.shell {
  width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Labels ---------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 400 .6875rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.band--paper .eyebrow, .band--bright .eyebrow { color: var(--gold-deep); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 0 22px;
  font: 700 .6875rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn--gold { background: var(--gold-light); color: var(--ink); }
.btn--gold:hover { background: var(--paper-bright); }
.btn--ink { background: var(--ink); color: var(--paper-bright); }
.btn--ink:hover { background: var(--navy-soft); }
.link-line {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font: 400 .6875rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-line:hover { color: var(--gold-light); }

/* Header ---------------------------------------------------------------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 28px; border-bottom: 1px solid var(--line-dark);
}
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.brand__name { font: 400 1.25rem/1 var(--serif); letter-spacing: .01em; color: var(--paper-bright); }
.brand__tag { font: 400 .625rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav a {
  font: 400 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--paper); padding-block: 10px; display: inline-block;
}
.nav a:hover { color: var(--gold-light); }
.nav .nav__social { color: var(--paper); opacity: .85; }
.menu-btn { display: none; }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink);
  padding-block: clamp(140px, 16vw, 190px) clamp(64px, 8vw, 96px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%;
  opacity: .72;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, .94) 6%, rgba(7, 16, 24, .72) 40%, rgba(7, 16, 24, .3) 68%, rgba(7, 16, 24, .62)),
    linear-gradient(0deg, var(--ink) 0, transparent 28%);
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .65fr); gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hero__copy { display: grid; gap: 28px; justify-items: start; min-width: 0; }
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 6.75rem); line-height: .96; letter-spacing: -.035em; color: var(--paper-bright);
}
.hero h1 .ghost {
  display: block; font-style: italic; letter-spacing: -.02em; padding-left: .42em;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 228, 217, .78);
}
@supports not (-webkit-text-stroke: 1px black) { .hero h1 .ghost { color: var(--mist); } }
.hero__lede { max-width: 36ch; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.65; color: rgba(233, 228, 217, .86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.hero__book { position: relative; justify-self: center; width: min(100%, 360px); }
.hero__book figure { margin: 0; position: relative; }
.hero__book img {
  width: 100%; aspect-ratio: 600 / 918; object-fit: cover;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(1.6deg);
}
.hero__arc {
  position: absolute; inset: -14% -22% -8% -26%; z-index: -1; pointer-events: none;
  border: 1px solid transparent; border-left-color: rgba(184, 59, 51, .6); border-bottom-color: rgba(184, 59, 51, .6); border-radius: 50%;
  transform: rotate(-18deg);
}
.hero__badge {
  margin-top: 26px; text-align: center;
  font: 400 .625rem/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.hero__cue {
  position: relative; z-index: 1; display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px);
}
.hero__cue a {
  display: inline-flex; gap: 10px; align-items: center; text-decoration: none;
  font: 400 .625rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(233, 228, 217, .6);
  padding: 12px;
}
.hero__cue a:hover { color: var(--gold-light); }

/* Bands ----------------------------------------------------------------- */
.band { position: relative; padding-block: var(--band); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--bright { background: var(--paper-bright); color: var(--ink); }
.band--navy { background: var(--navy); color: var(--paper); }
.band--deep { background: radial-gradient(120% 140% at 0% 0%, var(--navy-soft), var(--ink) 60%); color: var(--paper); }

/* Before Now ------------------------------------------------------------ */
.feature { display: grid; grid-template-columns: 2fr 5fr 3fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.feature__main { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.feature__kicker { font-style: italic; color: var(--gold-deep); font-size: 1rem; }
.feature h2 { font-size: clamp(3rem, 7vw, 5.5rem); }
.feature__lead { font-size: clamp(1.1875rem, 1.8vw, 1.375rem); line-height: 1.5; max-width: 30ch; }
.feature__body { max-width: 52ch; color: rgba(7, 16, 24, .78); }
.feature__body p + p { margin-top: 1em; }
.feature .btn { margin-top: 10px; }
.pull {
  margin: 0; padding-left: 28px; border-left: 1px solid var(--line-light);
  font-size: 1.1875rem; line-height: 1.55; align-self: center;
}
.pull::before { content: "\201C"; display: block; font-size: 2.5rem; line-height: 1; color: var(--gold-deep); margin-bottom: 8px; }
.pull em { display: block; color: var(--red-deep); }

/* Books ----------------------------------------------------------------- */
.books__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.books__head > div { display: grid; gap: 22px; }
.books__head h2 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); color: var(--paper-bright); }
.books__head p { color: rgba(233, 228, 217, .72); font-size: .9375rem; }
.books__head p a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.books__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.book {
  display: grid; grid-template-columns: minmax(120px, 42%) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 32px); align-items: center;
  padding: clamp(20px, 2.6vw, 36px); background: rgba(13, 39, 56, .35); border: 1px solid var(--line-dark);
  transition: border-color .3s, background-color .3s;
}
.book:hover { border-color: rgba(212, 170, 98, .45); background: rgba(13, 39, 56, .6); }
.book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9); }
.book__text { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.book__meta { font: 400 .625rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.book h3 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); color: var(--paper-bright); }
.book p { font-size: .9375rem; color: rgba(233, 228, 217, .74); }

/* About ----------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__photo { margin: 0; position: relative; }
.about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about__photo figcaption {
  position: absolute; right: -18px; bottom: -22px; max-width: 15rem;
  background: var(--gold-light); color: var(--ink); padding: 18px 22px;
  font-style: italic; font-size: 1rem; line-height: 1.4;
}
.about__text { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.about__text h2 { font-size: clamp(3rem, 6.4vw, 5rem); }
.about__lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; max-width: 38ch; }
.about__body { display: grid; gap: 1em; max-width: 56ch; color: rgba(7, 16, 24, .78); font-size: 1rem; }
.motto { margin: 6px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font-style: italic; color: var(--red-deep); font-size: 1.125rem; }
.about .link-line { color: var(--ink); }
.about .link-line:hover { color: var(--red-deep); }

/* Connect + newsletter -------------------------------------------------- */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.connect__head { display: grid; gap: 24px; }
.connect h2 { font-size: clamp(3rem, 6.6vw, 5.25rem); color: var(--paper-bright); line-height: .98; }
.connect__side { display: grid; gap: 28px; min-width: 0; }
.connect__side > p { color: rgba(233, 228, 217, .8); max-width: 44ch; }
.connect__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.connect__links .link-line { color: var(--paper); }

.signup { border-top: 1px solid var(--line-dark); padding-top: 32px; display: grid; gap: 18px; }
.signup h3 { font-size: 1.75rem; color: var(--paper-bright); letter-spacing: -.015em; }
.signup > p { font-size: .9375rem; color: rgba(233, 228, 217, .72); max-width: 46ch; }
.signup form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 400 .625rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mist); }
.field input {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: rgba(7, 16, 24, .55); color: var(--paper-bright);
  border: 1px solid rgba(155, 178, 191, .35); border-radius: 0;
  font: 400 1rem/1 var(--serif);
}
.field input::placeholder { color: rgba(155, 178, 191, .6); }
.field input:focus { outline: none; border-color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold-light); }
.hp, .sr-only { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.signup__row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.signup__note { font: 400 .75rem/1.6 var(--sans); color: rgba(155, 178, 191, .85); max-width: 40ch; }
.signup__status { grid-column: 1 / -1; font-size: .9375rem; color: var(--gold-light); min-height: 1.5em; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 64px 36px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: grid; gap: 10px; }
.footer__brand p { font-size: .9375rem; color: rgba(233, 228, 217, .62); }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer__nav a { font: 400 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: inline-block; padding-block: 10px; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font: 400 .625rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(233, 228, 217, .5); }

/* Motion ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__book { animation: rise 1.1s .2s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { transform: translateY(18px); opacity: .001; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); }
  .feature > .eyebrow { grid-column: 1 / -1; }
  .book { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .book img { max-width: 220px; }
}
@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
    background: none; border: 0; color: var(--paper); cursor: pointer;
    font: 400 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  }
  .menu-btn__bars { width: 20px; height: 9px; border-block: 1px solid currentColor; transition: transform .25s; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .6);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding-block: 16px; border-bottom: 1px solid var(--line-dark); font-size: .75rem; }
  .site-header .shell { position: relative; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__book { width: min(72%, 300px); margin-top: 12px; }
  .hero__arc { display: none; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .books__head, .about, .connect { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 420px; }
}
@media (max-width: 640px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .pull { padding-left: 20px; }
  .books__grid { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); align-items: start; }
  .signup form { grid-template-columns: minmax(0, 1fr); }
  .about__photo figcaption { right: 12px; bottom: -18px; }
  .brand__tag { display: none; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 2.875rem; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
}

/* WordPress ------------------------------------------------------------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.page-hero { position: relative; background: var(--ink); padding-block: clamp(150px, 16vw, 200px) clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); color: var(--paper-bright); }
.page-hero .eyebrow { margin-bottom: 20px; }
.entry { max-width: 68ch; display: grid; gap: 1.1em; }
.entry h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-top: .6em; }
.entry h3 { font-size: 1.5rem; margin-top: .4em; }
.entry a { color: var(--red-deep); text-underline-offset: 3px; }
.entry img { height: auto; }
.entry ul, .entry ol { margin: 0; padding-left: 1.2em; }
.entry blockquote { margin: 0; padding-left: 22px; border-left: 2px solid var(--gold); font-style: italic; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; max-width: 68ch; }
.post-list h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { color: var(--red-deep); }
.post-list time { font: 400 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 10px; }
.post-list p { margin-top: 12px; color: rgba(7, 16, 24, .78); }
.pagination { margin-top: 48px; display: flex; gap: 24px; font: 400 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
