/* ============================================================
   Lerato Inspires - v1 styles
   Palette: warm ivory, deep burgundy, muted gold
   Type: Playfair Display (serif display), Great Vibes (script),
         Jost (sans body)
   ============================================================ */

:root {
  --ivory: #fdf9f2;
  --cream: #f6efe4;
  --paper: #fffdf9;
  --burgundy: #5c1226;
  --burgundy-deep: #490d26;
  --burgundy-soft: #7a2c41;
  --gold: #b8935a;
  --gold-light: #d9c29a;
  --gold-pale: #efe3cd;
  --ink: #33262b;
  --muted: #6f5f60;
  --line: #e7dccb;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;
  --sans: "Jost", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }

a { color: var(--burgundy-soft); text-decoration: none; }
a:hover { color: var(--burgundy); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--burgundy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--burgundy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

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

.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand { text-decoration: none; line-height: 1.05; }
.brand .brand-script {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--burgundy);
  display: block;
}
.brand .brand-tag {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.15rem;
}

.main-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--burgundy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.header-actions { display: flex; align-items: center; gap: 1.1rem; }

.social-links { display: flex; gap: 0.7rem; align-items: center; }
.social-links a { color: var(--burgundy); display: inline-flex; }
.social-links svg { width: 17px; height: 17px; fill: currentColor; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-family: var(--sans);
  color: var(--burgundy);
  font-size: 0.9rem;
  cursor: pointer;
}

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

.btn {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--burgundy);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus { background: var(--burgundy-deep); color: #fff; }
.btn .arrow { margin-left: 0.45rem; }

.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover, .btn-gold:focus { background: #a17f49; border-color: #a17f49; }

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}
.btn-outline:hover, .btn-outline:focus { background: var(--burgundy); color: #fff; }

.btn-small { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ---------- Shared section bits ---------- */

.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-cream { background: var(--cream); }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }

.script-accent {
  font-family: var(--script);
  color: var(--gold);
  font-weight: 400;
}

.display-1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.display-2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Photography placeholder blocks (real photography to come) */
.ph {
  background:
    repeating-linear-gradient(-45deg, rgba(184,147,90,0.06) 0 14px, rgba(184,147,90,0.02) 14px 28px),
    var(--cream);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.5rem;
  min-height: 240px;
}
.ph span { max-width: 26ch; }

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

.hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .script-accent { display: block; font-size: clamp(2.4rem, 4.8vw, 3.6rem); margin-top: 0.15em; }
.hero p { color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }

.hero-media { position: relative; }
.hero-media .ph { min-height: 420px; }
.hero-quote {
  position: absolute;
  right: -0.5rem;
  bottom: 2.2rem;
  max-width: 250px;
  background: rgba(253, 249, 242, 0.94);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.3rem;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(73, 13, 38, 0.10);
}
.hero-quote .q {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--burgundy);
  line-height: 1.2;
  display: block;
}
.hero-quote .a {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Feature strip ---------- */

.feature-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.feature-strip .strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.strip-item {
  padding: 2.2rem 1.4rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.strip-item:first-child { border-left: none; }
.strip-item svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin-bottom: 0.8rem; }
.strip-item h3 { font-size: 0.82rem; letter-spacing: 0.18em; font-family: var(--sans); font-weight: 600; color: var(--ink); text-transform: uppercase; }
.strip-item p { font-size: 0.9rem; color: var(--muted); margin: 0.3rem 0 0.7rem; }
.strip-item a { font-size: 0.85rem; color: var(--burgundy-soft); }
.strip-item a .arrow { margin-left: 0.25rem; }

/* ---------- Cards / panels ---------- */

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
}

.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.25rem; }
.card .card-note { font-size: 0.9rem; color: var(--muted); }
.card .card-link { margin-top: auto; font-size: 0.9rem; color: var(--burgundy-soft); }
.card .ph { border: none; border-radius: 0; min-height: 190px; }

/* ---------- Book feature ---------- */

.book-feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.book-cover {
  aspect-ratio: 3 / 4.2;
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(184,147,90,0.16), rgba(73,13,38,0.10)),
    var(--burgundy-deep);
  color: var(--gold-pale);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: 14px 18px 40px rgba(73, 13, 38, 0.18);
  max-width: 360px;
  margin: 0 auto;
}
.book-cover .bc-title { font-family: var(--script); font-size: 2rem; color: var(--gold-light); line-height: 1.25; }
.book-cover .bc-sub { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.06em; margin-top: 0.8rem; color: #f3e9d8; }
.book-cover .bc-author { margin-top: 1.6rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.book-cover .bc-note { margin-top: 1.2rem; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; }

/* ---------- Quote block ---------- */

.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.8rem;
  font-family: var(--script);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--burgundy);
  line-height: 1.3;
}
.pull-quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
}

/* ---------- Events ---------- */

.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-card .ph { border: none; border-radius: 0; min-height: 220px; }
.event-body { padding: 1.8rem 1.8rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.event-body h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.event-tagline { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.98rem; margin-bottom: 1.1rem; }
.event-facts { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.event-facts li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  padding: 0.28rem 0;
  color: var(--ink);
  font-size: 0.97rem;
}
.event-facts svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 1.6; flex: none; transform: translateY(2px); }
.event-confirm {
  margin-top: auto;
  background: var(--gold-pale);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.event-confirm svg { width: 14px; height: 14px; stroke: var(--burgundy); fill: none; stroke-width: 1.8; flex: none; }

/* ---------- Philosophy / script panel ---------- */

.philosophy-band { background: var(--cream); }
.script-panel {
  background: var(--burgundy-deep);
  border-radius: var(--radius);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  min-height: 260px;
}
.script-panel .big { font-family: var(--script); font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1.2; }

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

.newsletter {
  background: var(--burgundy-deep);
  color: #f3e9d8;
  padding: 3.5rem 0;
}
.newsletter h2 { color: #fbf3e4; margin-bottom: 0.3rem; }
.newsletter .eyebrow { color: var(--gold-light); }
.newsletter p { color: #d9c4b8; max-width: 46ch; margin: 0; }
.newsletter-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.news-form { display: flex; gap: 0; }
.news-form label { position: absolute; left: -9999px; }
.news-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--gold);
  border-right: none;
  border-radius: 999px 0 0 999px;
  background: #fdf9f2;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.news-form button {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  border-radius: 0 999px 999px 0;
  padding: 0 1.3rem;
  cursor: pointer;
}
.news-form button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.form-note { font-size: 0.8rem; color: #cbb09f; margin-top: 0.6rem; }

/* ---------- Forms ---------- */

.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; }
.form-notice {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  color: var(--burgundy);
  margin-bottom: 1.8rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { margin-top: 0.25rem; }

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

.site-footer { background: var(--burgundy-deep); color: #e9d9c8; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
  align-items: start;
}
.site-footer .brand-script { color: var(--gold-light); }
.site-footer .brand-tag { color: var(--gold); }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { color: #e9d9c8; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-signup h3 { color: #fbf3e4; font-size: 1rem; font-family: var(--sans); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.site-footer .social-links a { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(217, 194, 154, 0.25);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #c9ae9b;
}
.footer-bottom a { color: #e9d9c8; }
.footer-bottom .links { display: flex; gap: 1.4rem; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 0.6rem; }

/* ---------- Misc ---------- */

.two-col-text { columns: 2; column-gap: 3rem; }
.two-col-text p { break-inside: avoid; }
.divider { border: none; border-top: 1px solid var(--line); margin: 3rem 0; }
.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: var(--burgundy);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}
.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 1.6rem; position: relative; margin-bottom: 0.6rem; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.7rem; height: 0.35rem;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.calendly-slot {
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 2.5rem;
  text-align: center;
  color: var(--muted);
}
.calendly-slot strong { color: var(--burgundy); display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.4rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .feature-strip .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-item { border-top: 1px solid var(--line); }
  .card-row { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.4rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .header-actions .social-links { display: none; }
  .hero-grid, .grid-2, .book-feature, .newsletter-grid { grid-template-columns: 1fr; }
  .hero-quote { position: static; margin-top: 1rem; max-width: none; }
  .events-grid, .card-row, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-strip .strip-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .two-col-text { columns: 1; }
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
}

@media (max-width: 480px) {
  .feature-strip .strip-grid { grid-template-columns: 1fr; }
}

/* ---------- Real imagery (v1 media drop) ---------- */

.img-frame {
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(73, 13, 38, 0.14);
  display: block;
  width: 100%;
  height: auto;
}

.hero-media .img-frame { min-height: 420px; object-fit: cover; }

.portrait-frame { aspect-ratio: 4 / 5; object-fit: cover; }

.book-cover-img {
  border-radius: 6px;
  box-shadow: 14px 18px 40px rgba(73, 13, 38, 0.22);
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: auto;
}

.event-card .event-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.flyer-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card .card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.campaign-band { background: var(--burgundy-deep); padding: 3.5rem 0; }
.campaign-band img { border-radius: var(--radius); box-shadow: 0 22px 55px rgba(0,0,0,0.35); display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  .event-card .event-img { height: 230px; }
  .hero-media .img-frame { min-height: 0; }
}


/* For Organisations page - buyer table */
.offer-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer-table th, .offer-table td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.offer-table thead th { background: var(--burgundy); color: #fff; font-family: var(--serif); font-weight: 600; }
.offer-table tbody tr:last-child td { border-bottom: none; }
.offer-table td:first-child { font-weight: 500; color: var(--burgundy); }
@media (max-width: 700px) {
  .offer-table, .offer-table thead, .offer-table tbody, .offer-table tr, .offer-table th, .offer-table td { display: block; }
  .offer-table thead { display: none; }
  .offer-table td { border-bottom: none; padding: 0.4rem 1.1rem; }
  .offer-table td:first-child { padding-top: 1rem; }
  .offer-table tr { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
}
