/* ============================================================
   Marike Botha — The Fisherman's Daughter
   Design language taken from the book: watercolour blues,
   Garamond text, handwritten teal labels, wide paper margins.
   ============================================================ */

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

:root {
  --paper: #fbfaf7;         /* book page */
  --paper-warm: #f4f1ea;    /* tinted band */
  --ink: #1f2d3a;           /* poem text */
  --ink-soft: #5d6b74;
  --deep: #123a5c;          /* chapter-opener blue */
  --deep-dark: #0b2439;
  --teal: #1f6f6d;          /* compass rose */
  --coral: #b23b2c;         /* red seaweed */
  --line: #dcd6c9;
  --line-blue: rgba(255,255,255,0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Shared type ---------- */
.hand {
  font-family: 'Caveat Brush', 'Caveat', cursive;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-head { margin-bottom: 40px; }

.section-head .rule {
  width: 54px;
  height: 1px;
  background: var(--coral);
  margin-top: 14px;
}

.section-lede {
  color: var(--ink-soft);
  max-width: 58ch;
  margin-top: 12px;
  font-size: 1.02rem;
}

.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  background: var(--deep);
  color: #fff;
  padding: 13px 26px;
  border: 1px solid var(--deep);
  border-radius: 1px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.btn-outline { background: transparent; color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }

.btn-on-blue {
  background: rgba(255,255,255,0.96);
  color: var(--deep-dark);
  border-color: rgba(255,255,255,0.96);
}
.btn-on-blue:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: #fff; color: var(--deep-dark); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  padding: 24px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-header nav a {
  font-family: 'Jost', sans-serif;
  margin-left: 28px;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header nav a:first-child { margin-left: 0; }
.site-header nav a:hover { color: var(--ink); border-color: var(--coral); }

/* ---------- Hero: the book, as a chapter opener ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(9, 32, 52, 0.55), rgba(9, 32, 52, 0.68)),
    url('../assets/img/texture-blue.jpg') center/cover no-repeat;
  color: #fff;
  padding: 88px 0 92px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 64px;
  align-items: center;
}

.hero .eyebrow {
  font-family: 'Caveat Brush', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #9fd8d2;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  font-style: italic;
  color: #e2eef1;
  margin-bottom: 6px;
}

.hero-credit { font-size: 0.9rem; color: #a9c3ce; margin-bottom: 26px; }

.hero-lede {
  font-size: 1.08rem;
  color: #dceaee;
  max-width: 46ch;
  margin-bottom: 30px;
}

.book-meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line-blue);
}

.book-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.book-avail {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fd8d2;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.book-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: #a9c3ce;
  max-width: 44ch;
  font-style: italic;
}

.hero-image img {
  max-width: 380px;
  margin-left: auto;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Poem excerpt ---------- */
.excerpt {
  background: var(--paper);
  padding: 88px 0 84px;
  text-align: center;
}

.excerpt .compass {
  width: 66px;
  margin: 0 auto 30px;
  opacity: 0.85;
}

.excerpt blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--deep);
  max-width: 30ch;
  margin: 0 auto;
}

.excerpt blockquote p + p { margin-top: 22px; }

.excerpt cite {
  display: block;
  margin-top: 30px;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- About ---------- */
.about {
  padding: 76px 0;
  max-width: 720px;
  border-top: 1px solid var(--line);
}

.about .hand { font-size: 1.5rem; display: block; margin-bottom: 12px; }

.about p {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--ink);
}

/* ---------- Gallery ---------- */
.gallery { padding: 20px 0 80px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.gallery-grid figure { background: transparent; }

.gallery-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.gallery-grid figcaption {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--ink);
  text-align: left;
}

.gallery-grid figcaption span {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 2px;
}

.gallery-note {
  margin-top: 40px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Prints ---------- */
.pricing {
  padding: 76px 0 80px;
  border-top: 1px solid var(--line);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.price-card {
  padding: 34px 30px 30px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.price-card:first-child { border-left: 1px solid var(--line); }

.price-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.price-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--deep);
  line-height: 1.1;
  margin-bottom: 12px;
}

.price-card p:last-child {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.wholesale {
  margin-top: 28px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Catalogue CTA ---------- */
.catalogue-cta {
  position: relative;
  background:
    linear-gradient(rgba(9, 32, 52, 0.72), rgba(9, 32, 52, 0.82)),
    url('../assets/img/texture-blue.jpg') center/cover no-repeat;
  color: #fff;
  padding: 82px 0;
}

.catalogue-cta .section-title { color: #fff; }
.catalogue-cta .section-head .rule { background: #9fd8d2; }

.catalogue-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 16px;
}

.catalogue-cta p {
  max-width: 54ch;
  margin-bottom: 30px;
  color: #dceaee;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 26px;
  background: var(--paper-warm);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 34px;
}

.footer-inner .logo { display: block; margin-bottom: 10px; }
.footer-inner p { color: var(--ink-soft); font-size: 0.95rem; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }

.footer-contact a {
  font-size: 0.98rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer-contact a:hover { border-color: var(--coral); }

.copyright {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #8b9299;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 18px; }
  .hero { padding: 64px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-image img { margin: 0 auto; max-width: 260px; }
  .hero h1 { font-size: 2.8rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { border-left: 1px solid var(--line); }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 2.25rem; }
  .excerpt blockquote { font-size: 1.35rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .site-header nav a { margin-left: 16px; font-size: 0.68rem; }
  .btn { padding: 12px 20px; font-size: 0.76rem; }
}
