/* ============================================
   BARRINGTON BOND PUBLISHING
   Clean. Minimal. Authoritative.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --white:      #FFFFFF;
  --off-white:  #F8F6F2;
  --light:      #F0EDE8;
  --border:     #E0DDD8;
  --mid:        #9A9490;
  --dark:       #2C2A28;
  --black:      #1A1815;
  --ink:        #3D3B38;
  --gold:       #8B6914;
  --gold-light: #B8952A;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
}

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

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- HEADER --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.04em;
}

.site-logo strong {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--gold); }

/* --- HERO --- */
.hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.hero__sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

/* --- BODY COPY --- */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type { border-bottom: none; }

.section__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section__body {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink);
}

.section__body p { margin-bottom: 1.2em; }

/* --- AUTHORS GRID --- */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.author-card {
  padding: 2rem;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.author-card:hover { background: var(--off-white); }

.author-card__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.author-card__genre {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.author-card__bio {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--mid);
}

.author-card--soon .author-card__name { color: var(--mid); }
.author-card--soon .author-card__bio { font-style: italic; }

/* --- PACKAGES --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.package-card {
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  background: var(--white);
  transition: border-color 0.15s;
}

.package-card:hover { border-color: var(--gold); }

.package-card--featured {
  border-color: var(--gold);
  background: var(--off-white);
}

.package-card__tier {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.package-card__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.package-card__price {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.package-card__desc {
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--mid);
}

/* --- PULLQUOTE --- */
.pullquote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 3rem 0;
  text-align: center;
}

/* --- CTA / ENQUIRY --- */
.enquiry-block {
  background: var(--black);
  padding: 5rem 2rem;
  text-align: center;
}

.enquiry-block__label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.enquiry-block__title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.enquiry-block__sub {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: #AAA49C;
  margin-bottom: 2.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-email {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.1rem 2.8rem;
  background: var(--gold-light);
  color: var(--black);
  transition: background 0.15s;
}

.btn-email:hover {
  background: #D4AF50;
  color: var(--black);
}

.enquiry-block__note {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: #6A6560;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.site-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__copy {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--mid);
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.site-footer__links a {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

.site-footer__links a:hover { color: var(--gold); }

/* --- GHOST REQUIRED --- */
.kg-width-wide { margin-left: -4rem; margin-right: -4rem; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.kg-image { max-width: 100%; height: auto; display: block; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { border-left: 2px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--off-white); }

/* --- POST CONTENT --- */
.post-header { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.post-title { font-family: var(--serif); font-size: 2.4rem; color: var(--black); line-height: 1.2; margin-bottom: 0.8rem; }
.post-meta { font-family: var(--sans); font-size: 0.72rem; color: var(--mid); }
.post-content { font-family: var(--sans); font-size: 0.95rem; line-height: 1.8; padding: 3rem 0 5rem; }
.post-content h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--black); margin: 2.5rem 0 1rem; }
.post-content p { margin-bottom: 1.2em; }
.post-content blockquote { border-left: 2px solid var(--gold); padding: 0.5rem 0 0.5rem 1.5rem; margin: 2rem 0; font-style: italic; color: var(--mid); }

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  html { font-size: 16px; }
  .hero__headline { font-size: 2.4rem; }
  .site-header__inner { flex-direction: column; gap: 1.2rem; text-align: center; }
  .site-footer__inner { flex-direction: column; text-align: center; }
  .packages-grid { grid-template-columns: 1fr; }
}
