/* ──────────────────────────────────────────────────────────────
   simonlange.com.au — warm editorial design system
   Palette: warm paper, warm ink, eucalyptus green, muted amber
   Type: Source Serif 4 (display) / Inter (text)
   ────────────────────────────────────────────────────────────── */

:root {
  --paper: #fbf8f2;
  --paper-deep: #f4eee3;
  --card: #ffffff;
  --ink: #26221c;
  --ink-soft: #4c453b;
  --muted: #756c5e;
  --line: #e5ddcd;
  --green: #24486b;
  --green-deep: #132a3e;
  --green-tint: #e9eef4;
  --amber: #b07b1e;
  --amber-bright: #d99a2b;
  --amber-tint: #f6ecdc;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1 { font-size: clamp(2.1rem, 4.5vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.28rem; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1.4rem; }
.wrap--narrow { max-width: 760px; }

section { padding: 4.2rem 0; }
section + section { border-top: 1px solid var(--line); }

/* ── kicker: small-caps section label ── */
.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: ""; display: inline-block; width: 30px; height: 3px;
  background: var(--amber-bright); margin-right: 0.65rem; vertical-align: middle;
  border-radius: 2px;
}

.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }

.prose { max-width: 66ch; }
.prose p + p { margin-top: 1.05em; }
.prose h2 { margin: 2.2rem 0 0.8rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose ul { margin: 1em 0 1em 1.2em; }
.prose li + li { margin-top: 0.55em; }

/* ── header ── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, white);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.95rem; padding-bottom: 0.95rem; gap: 1rem;
}
.brand {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand:hover { color: var(--green-deep); }
.site-nav { display: flex; gap: 1.35rem; align-items: center; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-deep); }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--green); padding-bottom: 2px; }

/* ── buttons ── */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: 0.95rem; padding: 0.72rem 1.35rem; border-radius: 6px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green-tint); color: var(--green-deep); }
.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ── hero ── */
.hero { padding: 5rem 0 4.2rem; }
.hero .lede { margin-top: 1.4rem; max-width: 62ch; }
.hero--tinted { background: var(--paper-deep); }

/* ── dark hero: full-bleed navy band, echoes the book cover ── */
.hero--dark {
  background:
    radial-gradient(1100px 620px at 82% -12%, #23486b 0%, rgba(35, 72, 107, 0) 60%),
    linear-gradient(170deg, #17334b 0%, #132a3e 70%);
  color: #e9eef4;
  border-bottom: 4px solid var(--amber-bright);
  padding: 5.8rem 0 5.2rem;
}
.hero--dark h1 { color: #f8f4ea; font-size: clamp(2.4rem, 5.2vw, 3.6rem); }
.hero--dark .lede { color: #b8c6d4; }
.hero--dark .kicker { color: var(--amber-bright); }
.hero--dark .btn--primary { background: var(--amber-bright); color: #132a3e; }
.hero--dark .btn--primary:hover { background: #e7ad46; color: #132a3e; }
.hero--dark .btn--ghost { border-color: #7a92a8; color: #dce5ec; }
.hero--dark .btn--ghost:hover { background: rgba(233, 238, 244, 0.1); color: #fff; }
.hero--dark a { color: #e9c680; }
.hl { color: var(--amber-bright); }
.hero--dark .cover-img {
  box-shadow: 0 26px 55px -20px rgba(0, 0, 0, 0.65);
  outline: 1px solid rgba(248, 244, 234, 0.22);
  position: relative;
}
.cover-halo { position: relative; display: flex; justify-content: center; }
.cover-halo::before {
  content: ""; position: absolute; inset: -14% -30%;
  background: radial-gradient(closest-side, rgba(217, 154, 43, 0.32), rgba(217, 154, 43, 0) 72%);
  pointer-events: none;
}

/* ── credibility strip ── */
.cred-strip {
  padding: 1.35rem 0; background: var(--paper-deep);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cred-strip .wrap {
  display: flex; flex-wrap: wrap; gap: 0.4rem 2.4rem;
  justify-content: center; align-items: center;
}
.cred-strip span {
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── card grid (the fork) ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem;
  border-top: 3px solid var(--amber-bright);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover, .price-card:hover, .phase:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -16px rgba(19, 42, 62, 0.35);
}
.price-card, .phase { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card .audience {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--amber);
}
.card h3 { font-size: 1.24rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex-grow: 1; }
.card a.cardlink { font-weight: 600; text-decoration: none; }
.card a.cardlink:hover { text-decoration: underline; }

/* ── stat tiles ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.stat {
  border-top: 3px solid var(--green); padding-top: 1rem;
}
.stat .num {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 700;
  color: var(--ink); line-height: 1.1; letter-spacing: -0.01em;
}
.stat p { font-size: 0.92rem; color: var(--muted); margin-top: 0.5rem; }

/* ── pull quote / teaser ── */
.pullquote {
  border-left: 3px solid var(--amber); padding: 0.3rem 0 0.3rem 1.5rem;
  margin: 1.8rem 0;
}
.pullquote p {
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.45;
  font-style: italic; color: var(--ink-soft);
}

/* ── feature split (book teaser, why-independent) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── book cover ── */
.cover-img {
  max-width: 320px; width: 100%; height: auto; border-radius: 4px;
  box-shadow: 0 18px 40px -18px rgba(38, 34, 28, 0.45);
  margin: 0 auto;
}

/* ── book cover placeholder ── */
.cover-slot {
  aspect-ratio: 2 / 3; max-width: 300px; width: 100%;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(38, 34, 28, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 1.6rem; text-align: center;
}
.cover-slot span {
  font-family: var(--serif); color: #f6f2e9; font-size: 1.15rem; line-height: 1.4;
}

.headshot-slot {
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--paper-deep); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem; text-align: center; padding: 1rem;
}

/* ── subscribe / capture band ── */
.capture {
  background: var(--green-tint); border-radius: 12px;
  padding: 2.6rem 2.4rem; margin-top: 1rem;
}
.capture h2 { font-size: 1.55rem; }
.capture p { color: var(--ink-soft); margin-top: 0.6rem; max-width: 56ch; }
.capture form { display: flex; gap: 0.7rem; margin-top: 1.4rem; flex-wrap: wrap; }
.capture input[type="email"] {
  flex: 1 1 260px; padding: 0.72rem 1rem; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 6px;
  font-family: var(--sans); background: #fff; color: var(--ink);
}
.capture input[type="email"]:focus { outline: 2px solid var(--green); border-color: var(--green); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; }

/* ── service sections ── */
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem 2.6rem; margin-top: 2.2rem; }
.service h3 { margin-bottom: 0.5rem; }
.service p { color: var(--ink-soft); font-size: 0.98rem; }

/* ── checklist / criteria ── */
.criteria { margin-top: 1.6rem; display: grid; gap: 1.15rem; }
.criterion {
  padding-left: 1.4rem; border-left: 3px solid var(--green);
}
.criterion strong { display: block; margin-bottom: 0.2rem; }
.criterion p { color: var(--ink-soft); font-size: 0.97rem; }

/* ── phases ── */
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.phase {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem;
}
.phase .when {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 0.55rem;
}
.phase h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.phase p { font-size: 0.95rem; color: var(--ink-soft); }

/* ── price cards ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.price-card.featured { border-color: var(--green); border-width: 2px; }
.price-card h3 { font-size: 1.08rem; }
.price-card .price {
  font-family: var(--serif); font-size: 1.85rem; font-weight: 700; color: var(--green-deep);
}
.price-card .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.price-card p { font-size: 0.93rem; color: var(--ink-soft); flex-grow: 1; }

/* ── contact intake ── */
.intake-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }

/* ── notes (blog) list ── */
.note-list { margin-top: 2rem; display: grid; gap: 0; }
.note-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.note-item:first-child { border-top: 1px solid var(--line); }
.note-item time { font-size: 0.85rem; color: var(--muted); }
.note-item h3 { margin: 0.3rem 0 0.4rem; }
.note-item h3 a { color: var(--ink); text-decoration: none; }
.note-item h3 a:hover { color: var(--green-deep); }
.note-item p { color: var(--ink-soft); font-size: 0.97rem; }

.post-meta { color: var(--muted); font-size: 0.9rem; margin: 0.8rem 0 2rem; }

/* ── footer ── */
.site-footer {
  border-top: 1px solid var(--line); background: var(--paper-deep);
  padding: 2.6rem 0 2.2rem; margin-top: 4rem;
  font-size: 0.9rem; color: var(--muted);
}
.site-footer .wrap { display: grid; gap: 0.4rem; }
.site-footer a { color: var(--ink-soft); }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.footer-nav a { text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--green-deep); }

/* ── closing CTA band ── */
.cta-band {
  background:
    radial-gradient(900px 500px at 15% 120%, #23486b 0%, rgba(35, 72, 107, 0) 60%),
    var(--green-deep);
  color: #fff;
}
.cta-band h2 { color: #f8f4ea; }
.cta-band p { color: #c9d6e2; max-width: 58ch; margin-top: 0.8rem; }
.cta-band .btn--primary { background: var(--amber-bright); color: #132a3e; }
.cta-band .btn--primary:hover { background: #e7ad46; }

/* ── story block ── */
.story {
  background: var(--amber-tint); border-radius: 12px; padding: 2.4rem;
}
.story .prose p + p { margin-top: 1em; }

/* ── utility ── */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ── responsive ── */
@media (max-width: 880px) {
  .card-grid, .phase-grid, .price-grid, .intake-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 3.2rem 0 3rem; }
  section { padding: 3.2rem 0; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .site-nav { gap: 1rem; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}
