/* ==========================================================================
   Nat Love LLC — site stylesheet
   Self-contained, no external font/JS dependencies.
   ========================================================================== */

:root {
  --color-bg: #f3ecdf;          /* warm parchment */
  --color-bg-alt: #ece2cd;      /* slightly deeper parchment, for panels */
  --color-ink: #201a14;         /* near-black warm ink */
  --color-ink-soft: #4a4038;    /* softer body text */
  --color-rust: #a3492b;        /* terracotta accent */
  --color-rust-deep: #7e3620;   /* hover/active state */
  --color-teal: #1f3a3d;        /* deep teal accent, used sparingly */
  --color-line: #d8c8a8;        /* hairline rules / borders */
  --color-cream: #fdf7ec;       /* light text on dark accent panels */
  --font-serif: Iowan Old Style, Palatino Linotype, Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  /* No web font is loaded (site stays dependency-free), so the "signature"
     accent uses the best system script font available, with italic serif
     as a graceful fallback — it still reads as an intentional flourish
     even where a true script font isn't installed. */
  --font-script: "Snell Roundhand", "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover,
a:focus {
  color: var(--color-rust-deep);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-rust);
  font-weight: 600;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Header / nav ---- */

.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
  position: relative;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-ink);
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--color-rust);
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-top: 0.15rem;
}

/* ---- Header social icon(s) ---- */

.header-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.header-social a {
  color: var(--color-ink-soft);
  display: inline-flex;
  line-height: 0;
}

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

.header-social svg {
  width: 19px;
  height: 19px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--color-rust);
  border-bottom-color: var(--color-rust);
}

/* Mobile nav toggle, CSS-only (checkbox hack, no JS required) */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-ink);
  padding: 0.25rem 0.4rem;
}

@media (max-width: 640px) {
  nav.main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .nav-toggle:checked ~ nav.main-nav {
    display: block;
  }

  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--color-line);
    margin-top: 1rem;
  }

  nav.main-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-line);
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .nav-toggle-label {
    display: block;
  }
}

/* ---- Hero ---- */

.hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--color-line);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 15ch;
  margin: 0.6rem 0 1.4rem;
}

.hero .lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-ink-soft);
  max-width: 42ch;
  margin: 0 0 2rem;
}

.hero .genres {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--color-ink-soft);
  margin-bottom: 2rem;
}

.hero .genres strong {
  color: var(--color-ink);
}

/* ---- Hero / two-column photo-optional layout ---- */

.hero-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.hero-photo {
  flex: 0 0 240px;
  margin: 0 auto;
}

/* Real author photo frame. */

.author-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--color-line);
  flex-shrink: 0;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- Signature / script accent ---- */

.signature {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--color-rust-deep);
  margin: 0.15rem 0 1.85rem;
  transform: rotate(-1.5deg);
  display: inline-block;
}

/* ---- Decorative botanical flourish (inline SVG, no image asset) ---- */

.flourish {
  color: var(--color-teal);
  opacity: 0.55;
  width: 110px;
  height: auto;
  margin: 1.5rem 0;
}

/* ---- Buttons ---- */

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--color-ink);
  color: var(--color-bg);
}

.btn-primary {
  background: var(--color-rust);
  border-color: var(--color-rust);
  color: #fdf7ec;
}

.btn-primary:hover {
  background: var(--color-rust-deep);
  border-color: var(--color-rust-deep);
  color: #fdf7ec;
}

/* ---- Sections / panels ---- */

section {
  padding: 3.5rem 0;
}

section + section {
  border-top: 1px solid var(--color-line);
}

.panel {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  padding: 2rem;
}

.status-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
}

/* ---- Cover concept image (temporary — AI concept render, not final art) ----
   v2 concept render (cover-concept-temp-v2.jpg) is a proper portrait book
   -cover ratio, 1059x1600 (~2:3). The box below is sized to the render's
   own native aspect ratio (rather than a generic 2:3) so the full image,
   including its cover text, shows with no cropping and no letterbox gap.
   object-fit: contain is used as a safety margin in case the source image
   is ever swapped for one with a slightly different ratio. */

.cover-concept {
  width: 220px;
  flex-shrink: 0;
  margin: 0;
}

.cover-concept img {
  display: block;
  width: 100%;
  aspect-ratio: 1059 / 1600;
  object-fit: contain;
  border: 1px solid var(--color-line);
}

.cover-concept figcaption {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--color-line);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-rust-deep);
}

.wip-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.wip-grid .wip-text {
  flex: 1 1 320px;
}

.novel-tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  margin: 0.15rem 0 1rem;
}

/* ---- About-teaser (home page) ---- */

.about-teaser-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.about-teaser-grid .about-teaser-photo {
  flex: 0 0 360px;
  margin: 0 auto;
}

.about-teaser-grid .about-teaser-copy {
  flex: 1 1 380px;
  min-width: 0;
}

/* Landscape photo frame — for landscape-oriented photos (e.g. the
   about-teaser working photo). Aspect ratio matches the source image
   (1600x994, ~8:5) so object-fit: cover crops minimally. */

.landscape-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 8 / 5;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--color-line);
  flex-shrink: 0;
}

.landscape-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Newsletter bar ---- */

.newsletter-bar {
  background: var(--color-teal);
  color: var(--color-cream);
  padding: 3rem 0;
  border-top: none;
}

.newsletter-bar + section {
  border-top: none;
}

.newsletter-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.newsletter-copy {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  flex: 1 1 320px;
}

.newsletter-copy svg {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-top: 0.2rem;
  color: var(--color-cream);
}

.newsletter-copy h2 {
  color: var(--color-cream);
  margin: 0 0 0.4rem;
}

.newsletter-copy p {
  margin: 0;
  color: #d8e2e0;
  max-width: 46ch;
}

.newsletter-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.newsletter-action .btn-primary {
  white-space: nowrap;
}

.newsletter-note {
  font-size: 0.78rem;
  color: #b9c9c6;
  max-width: 32ch;
}

.newsletter-note a {
  color: var(--color-cream);
}

/* ---- Contact list ---- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-list li {
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 1.5rem;
}

.contact-list .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink-soft);
  margin-bottom: 0.35rem;
}

.contact-list a {
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 3rem 0 2.25rem;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.site-footer a {
  color: var(--color-ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-rust);
}

.footer-pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-ink-soft);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2.25rem;
  border-top: 1px solid var(--color-line);
}

.footer-columns .brand {
  font-size: 1.15rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col .footer-heading {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col .footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

.footer-col .footer-social-row svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  margin-top: 0.9rem;
}

/* ---- Utility ---- */

.mt-0 { margin-top: 0; }
.text-soft { color: var(--color-ink-soft); }
