/* ===== Fonts ===== */
@font-face {
  font-family: 'Plantin';
  src: url('fonts/PlantinStd-BoldCondensed.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Larsseit';
  src: url('fonts/Larsseit-Light.otf') format('opentype');
  font-display: swap;
}

/* ===== Palette (from original theme) =====
   white/cream   hsl(60,37.5%,96.9%)   #F5F1E6
   accent gold   hsl(37.3,48.9%,44.5%) #A87F3A
   dark/black    hsl(46.4,44.9%,19.2%) #473D1B
   light/rust    hsl(18.1,64.2%,41.6%) #AE4F26
   white pure    #FFFFFF
=============================================================== */

:root {
  --cream:  #F5F1E6;
  --gold:   #A87F3A;
  --dark:   #473D1B;
  --rust:   #AE4F26;
  --white:  #ffffff;
  --serif:  'Plantin', 'Times New Roman', serif;
  --sans:   'Larsseit', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Sections ===== */
.section { position: relative; }
.section-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.section-overlay { position: absolute; inset: 0; z-index: 1; }
.section-content {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto;
  padding: 96px 24px;
}

.theme-cream { background: var(--cream); color: var(--dark); }
.theme-gold  { background: var(--gold);  color: var(--cream); }
.theme-dark  { background: var(--dark);  color: var(--cream); }
.theme-rust  { background: var(--rust);  color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .01em;
}

.section-heading {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  text-align: center;
  line-height: 1.25;
}

.section-sub {
  text-align: center;
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 1.08rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .04em;
  padding: .8em 1.6em;
  border-radius: .1em;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: .85; }
.btn-rust { background: var(--rust); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }

/* ===== Decorative coffee beans ===== */
.deco { position: absolute; pointer-events: none; z-index: 1; }
.beans-top-left     { top: 110px;   left: 24px;  width: 130px; }
.beans-bottom-right { bottom: 70px; right: 24px; width: 95px; }
.beans-top-right    { top: 110px;   right: 24px; width: 130px; }
.beans-bottom-left  { bottom: 70px; left: 24px;  width: 95px; }

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 24px;
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo-box {
  background: var(--white);
  padding: 10px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.logo-box img {
  height: 60px; width: auto;
}
/* header stays absolute over the hero, like the original */

/* ===== Hero ===== */
.hero { min-height: 82vh; display: flex; align-items: center; }
.hero-content {
  text-align: left;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding-top: 160px; padding-bottom: 120px;
}
.hero-kicker {
  font-family: var(--sans);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--cream);
}
.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  color: var(--cream);
  line-height: 1.12;
}

/* ===== Intro & About (cream sections) ===== */
.intro-lead {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.5;
  text-align: center;
  max-width: 740px;
  margin: 0 auto 80px;
}
.two-col {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 60px;
  align-items: center;
}
.col-text p + p { margin-top: 1.1em; }
.col-text .btn { margin-top: 1.6em; }
.intro .col-image { margin-left: -24px; max-width: 560px; }
.about .col-image { padding-left: 20px; max-width: 440px; }
.about-heading {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  max-width: 760px;
  margin: 0 auto 80px;
  line-height: 1.5;
}
.about .col-text { max-width: 520px; }

/* ===== Where to Next? (gold section) ===== */
.where-to .section-sub { color: var(--cream); margin-bottom: 70px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 10px;
}
.card { text-align: center; }
.card-img {
  overflow: hidden;
  margin-bottom: 26px;
  aspect-ratio: 1 / 1;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.04); }
.card h4 { font-size: 1.25rem; margin-bottom: 12px; color: var(--white); }
.card p { font-size: .98rem; max-width: 300px; margin: 0 auto 18px; color: var(--white); }
.card-link {
  font-size: .98rem;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.card-link:hover { border-bottom-color: var(--white); }
.card-img-link { display: block; }
.card-link .arrow { display: inline-block; margin-left: 2px; }

/* ===== Testimonial ===== */
.testi-content { padding: 100px 24px; text-align: center; }
.testi-img {
  width: min(100%, 1180px);
  margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer { color: var(--cream); }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 70px 24px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: start;
}
.footer-brand .logo-box { box-shadow: none; display: inline-block; }
.footer-brand .social-link {
  display: inline-flex;
  margin-top: 28px;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px;
  transition: background .2s ease;
}
.footer-brand .social-link:hover { background: rgba(255,255,255,.15); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.02rem;
}
.footer-contact a:hover { opacity: .8; }
.footer-contact .substack-link {
  margin-top: 18px;
  font-size: .85rem;
  letter-spacing: .08em;
}
.footer-subscribe { max-width: 300px; }
.footer-subscribe h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--white);
}
.footer-subscribe p { font-size: .95rem; margin-bottom: 22px; }
.footer-bottom {
  max-width: 1080px; margin: 0 auto;
  padding: 0 24px 34px;
  font-size: .8rem;
  letter-spacing: .05em;
  opacity: .85;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .section-content { padding: 72px 22px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .intro .col-image { margin-left: 0; max-width: 480px; margin: 0 auto; }
  .about .col-image { padding-left: 0; max-width: 440px; margin: 0 auto; }
  .col-image { order: -1; }
  .cards { grid-template-columns: 1fr; gap: 52px; max-width: 420px; margin: 0 auto; }
  .card p { max-width: none; }
  .testi-content { padding: 60px 20px; }
  /* hide side bean decorations on mobile so they never overlap text */
  .deco { display: none; }
  .hero { min-height: 70vh; }

  /* mobile header: fixed bar with logo + Home link */
  .site-header {
    position: fixed;
    background: var(--dark);
    padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
  }
  .logo-box img { height: 44px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: start;
  }
}
