/* =========================================================================
   hayleymurray.com.au — main.css
   Editorial, minimal, warm personal brand site.
   One file, fully responsive, variable-driven.
   ========================================================================= */

/* ---------- Tokens ---------- */

:root {
  /* Palette */
  --c-ivory:      #F6F1EA;
  --c-bone:       #EDE5D8;
  --c-ink:        #2A2724;
  --c-stone:      #6B645C;
  --c-clay:       #D9CEC0;

  --c-terracotta: #B56A50;
  --c-rose:       #C9A7A1;
  --c-peach:      #D99A82;

  /* Tints (soft section washes) */
  --c-rose-wash:  #EFDFDB;
  --c-peach-wash: #F5D9CC;
  --c-terra-wash: #E8D3CA;

  /* Typography */
  --f-serif:  "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 10rem;

  /* Layout */
  --container: 1200px;
  --column-narrow: 680px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 420ms;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Base ---------- */

body {
  background: var(--c-ivory);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, .serif {
  font-family: var(--f-serif);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.005em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 500;
}
h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

p { max-width: 65ch; }
.prose p + p { margin-top: 1.1em; }

em, .italic { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-stone);
  margin-bottom: var(--s-5);
}

.lede {
  font-family: var(--f-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--c-stone);
  max-width: 42ch;
}

.pull {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--c-ink);
  max-width: 28ch;
}

.muted  { color: var(--c-stone); }
.tiny   { font-size: 0.82rem; letter-spacing: 0.02em; }
.center { text-align: center; }

/* ---------- Links ---------- */

a { transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-terracotta); }

.link {
  position: relative;
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--c-clay);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link:hover {
  color: var(--c-terracotta);
  border-bottom-color: var(--c-terracotta);
}

.link--serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.08rem;
  border-bottom: none;
}
.link--serif::after {
  content: " →";
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.link--serif:hover::after { transform: translateX(4px); }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) var(--s-7);
  align-items: center;
}

/* ---------- Layout utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--s-7); }
}

.narrow {
  max-width: var(--column-narrow);
  margin-left: auto;
  margin-right: auto;
}

section { padding: var(--s-9) 0; }
@media (min-width: 880px) { section { padding: var(--s-10) 0; } }

.section--tight { padding: var(--s-8) 0; }
.section--loose { padding: var(--s-11) 0; }

.bg-ivory { background: var(--c-ivory); }
.bg-bone  { background: var(--c-bone); }
.bg-rose  { background: var(--c-rose-wash); }
.bg-peach { background: var(--c-peach-wash); }
.bg-terra { background: var(--c-terra-wash); }
.bg-ink   { background: var(--c-ink); color: var(--c-ivory); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--c-ivory); }
.bg-ink .muted { color: var(--c-clay); }
.bg-ink .eyebrow { color: var(--c-clay); }

.divider {
  border: 0;
  height: 1px;
  background: var(--c-clay);
  margin: 0 auto;
  max-width: 120px;
}

.stack > * + * { margin-top: var(--s-5); }
.stack-lg > * + * { margin-top: var(--s-7); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.88);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--c-clay); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
}
.nav__brand {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--c-ink);
}
.nav__link { font-weight: 400; }
.nav__links {
  display: none;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 880px) {
  .nav__links { display: flex; }
}
.nav__link {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  border-bottom-color: var(--c-terracotta);
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
}
@media (min-width: 880px) { .nav__toggle { display: none; } }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--c-ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.nav__overlay.is-open { opacity: 1; pointer-events: auto; }
.nav__overlay a {
  font-family: var(--f-serif);
  font-size: 1.9rem;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}

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

.hero {
  padding: var(--s-10) 0 var(--s-9);
  text-align: center;
}
@media (min-width: 880px) {
  .hero { padding: var(--s-11) 0 var(--s-10); }
}
.hero h1 { max-width: 18ch; margin: 0 auto; }
.hero .lede { margin: var(--s-5) auto 0; }
.hero__cta  { margin-top: var(--s-7); }

.hero--split {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
  text-align: left;
  align-items: center;
}
@media (min-width: 880px) {
  .hero--split { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-9); }
}

.hero-image {
  overflow: hidden;
  background: var(--c-bone);
  aspect-ratio: 4 / 5;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
}
.hero-image:hover img { transform: scale(1.02); }

/* ---------- Two-column ---------- */

.two-col {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
}
.two-col--flip > :first-child { order: 0; }
@media (min-width: 880px) {
  .two-col--flip > :first-child { order: 2; }
}
.two-col__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-bone);
}
.two-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.two-col__media--square { aspect-ratio: 1 / 1; }

/* ---------- Card grid (three doors / books / pillars) ---------- */

.grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s-7) var(--s-6);
  background: var(--c-bone);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
  min-height: 260px;
  justify-content: space-between;
}
.card:hover { transform: translateY(-3px); }
.card__label { font-family: var(--f-sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-stone); }
.card__title { font-family: var(--f-serif); font-size: clamp(1.5rem, 2vw, 1.85rem); margin-top: var(--s-3); line-height: 1.15; }
.card__body  { margin-top: var(--s-4); color: var(--c-stone); font-size: 0.96rem; }
.card__cta   { margin-top: var(--s-6); }

.card--rose  { background: var(--c-rose-wash); }
.card--peach { background: var(--c-peach-wash); }
.card--terra { background: var(--c-terra-wash); }

/* Book cover card */
.book {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.book__cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--c-rose-wash), var(--c-terra-wash));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-ink);
  font-size: 1.1rem;
  line-height: 1.25;
  transition: transform var(--dur) var(--ease);
}
.book:hover .book__cover { transform: translateY(-3px); }
.book__title { font-family: var(--f-serif); font-size: 1.25rem; }
.book__desc  { color: var(--c-stone); font-size: 0.92rem; }

.book__cover--peach { background: linear-gradient(135deg, var(--c-peach-wash), #E8B9A4); }
.book__cover--rose  { background: linear-gradient(135deg, var(--c-rose-wash), #E3C7C2); }
.book__cover--terra { background: linear-gradient(135deg, var(--c-terra-wash), #D9BFB0); }
.book__cover--ivory { background: linear-gradient(135deg, var(--c-ivory), var(--c-bone)); color: var(--c-stone); }

/* Pillar tile (LWC SEL pillars) */
.pillar {
  padding: var(--s-5) var(--s-5) var(--s-6);
  background: var(--c-ivory);
  border: 1px solid var(--c-clay);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 220px;
  overflow: hidden;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pillar:hover { background: var(--c-bone); transform: translateY(-2px); }
.pillar__media {
  margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-3);
  aspect-ratio: 1 / 1;
  background: var(--c-peach-wash);
  overflow: hidden;
}
.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur) var(--ease);
}
.pillar:hover .pillar__media img { transform: scale(1.03); }
.pillar__num   { font-family: var(--f-serif); font-style: italic; color: var(--c-peach); font-size: 1rem; }
.pillar__title { font-family: var(--f-serif); font-size: 1.35rem; }
.pillar__desc  { color: var(--c-stone); font-size: 0.92rem; flex: 1; }
.pillar__cta   { margin-top: auto; }

/* Feature (editorial latest block) */
.feature {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) { .feature { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.feature__media {
  aspect-ratio: 1 / 1;
  background: var(--c-ink);
  overflow: hidden;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body h3 { margin-top: var(--s-3); }
.feature__body p  { margin-top: var(--s-4); color: var(--c-stone); }

/* Essay list */
.essay-list { border-top: 1px solid var(--c-clay); }
.essay-list li {
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--c-clay);
  display: grid;
  gap: var(--s-2);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .essay-list li { grid-template-columns: 140px 1fr auto; gap: var(--s-6); align-items: baseline; }
}
.essay-list__date { color: var(--c-stone); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.essay-list__title { font-family: var(--f-serif); font-size: 1.25rem; }

/* Belief grid (About) */
.beliefs {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .beliefs { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
.beliefs li {
  border-top: 1px solid var(--c-clay);
  padding-top: var(--s-5);
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--c-ink);
}

/* Press strip */
.press {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-7);
  justify-content: center;
  align-items: center;
  opacity: 0.55;
}
.press span {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-stone);
}

/* CTA strip (full-bleed) */
.cta-strip {
  text-align: center;
  padding: var(--s-10) var(--s-6);
}
.cta-strip h2 { max-width: 18ch; margin: 0 auto; }
.cta-strip p  { max-width: 48ch; margin: var(--s-5) auto 0; color: var(--c-stone); }
.cta-strip .link-row { justify-content: center; margin-top: var(--s-7); }

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

.form {
  display: grid;
  gap: var(--s-5);
  max-width: 520px;
  margin: 0 auto;
}
.form__row { display: flex; flex-direction: column; gap: var(--s-2); }
.form label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-stone);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: var(--s-4) var(--s-4);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-clay);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease);
  border-radius: 0;
}
.form textarea {
  min-height: 140px;
  resize: vertical;
  padding: var(--s-4) 0;
  line-height: 1.55;
}
.form input,
.form select {
  padding: var(--s-4) 0;
}
.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-stone) 50%),
                    linear-gradient(135deg, var(--c-stone) 50%, transparent 50%);
  background-position: right 8px top 22px, right 4px top 22px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--c-terracotta);
}

.form__submit {
  justify-self: flex-start;
  padding: var(--s-3) var(--s-6);
  font-family: var(--f-sans);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ivory);
  background: var(--c-ink);
  border: 1px solid var(--c-ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.form__submit:hover {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
}

.inline-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  border-bottom: 1px solid var(--c-clay);
  align-items: center;
}
.inline-form input {
  flex: 1;
  padding: var(--s-3) 0;
  border: 0;
  background: transparent;
  font-family: var(--f-sans);
  font-size: 0.95rem;
}
.inline-form input:focus { outline: none; }
.inline-form button {
  padding: var(--s-3) var(--s-4);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-ink);
}
.inline-form button:hover { color: var(--c-terracotta); }

.form__note {
  font-size: 0.82rem;
  color: var(--c-stone);
  font-style: italic;
}

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

.footer {
  background: var(--c-bone);
  padding: var(--s-9) 0 var(--s-5);
  color: var(--c-ink);
  margin-top: var(--s-10);
}
.footer__grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

.footer h4 {
  font-family: var(--f-sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-stone);
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.footer ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer a { font-size: 0.95rem; }
.footer a:hover { color: var(--c-terracotta); }
.footer__wordmark {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  margin-bottom: var(--s-4);
  display: inline-block;
}
.footer__bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-clay);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: 0.8rem;
  color: var(--c-stone);
}

/* ---------- Scroll animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small helpers ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--c-ink); color: var(--c-ivory);
  padding: 8px 16px; z-index: 100;
}
.skip-link:focus { top: 0; }

/* 404 specific */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-10) var(--s-6);
}

/* Tint panel variants used by sub-brand pages */
.tinted-silentmother { background: var(--c-rose-wash); }
.tinted-lwc          { background: var(--c-peach-wash); }

/* Logo marks in content */
.brand-mark {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto var(--s-5);
}

/* Silent Mother dark accent block */
.darkblock {
  background: var(--c-ink);
  color: var(--c-ivory);
  padding: var(--s-9) var(--s-7);
  text-align: center;
}
.darkblock h2 { color: var(--c-ivory); }
.darkblock p  { color: var(--c-clay); margin: var(--s-5) auto 0; max-width: 48ch; }

/* =========================================================================
   STYLE GUIDE v2 — additions after reviewing faytthelabel.com
   Principles: confident wordmark, full-bleed editorial hero, primary
   button, sub-nav anchor strip, image-led tiles, pre-footer CTA panel.
   ========================================================================= */

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--c-ink);
  color: var(--c-ivory);
  text-align: center;
  padding: 10px var(--s-5);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.announce a {
  color: inherit;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease);
}
.announce a:hover { border-bottom-color: var(--c-ivory); color: var(--c-ivory); }
.announce--soft {
  background: var(--c-bone);
  color: var(--c-ink);
}

/* ---------- Primary button ---------- */

.btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: transparent;
  border: 1px solid var(--c-ink);
  padding: 16px 32px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  cursor: pointer;
}
.btn:hover {
  background: var(--c-ink);
  color: var(--c-ivory);
  border-color: var(--c-ink);
}
.btn--ivory {
  color: var(--c-ivory);
  border-color: var(--c-ivory);
}
.btn--ivory:hover {
  background: var(--c-ivory);
  color: var(--c-ink);
}
.btn--terracotta {
  color: var(--c-ivory);
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
}
.btn--terracotta:hover {
  background: #9C5A44;
  border-color: #9C5A44;
}

/* ---------- Full-bleed editorial hero ---------- */

.hero-bleed {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: var(--s-10) var(--s-6) var(--s-9);
  overflow: hidden;
  background: var(--c-bone);
  color: var(--c-ivory);
}
@media (min-width: 880px) {
  .hero-bleed { min-height: 88vh; padding: var(--s-11) var(--s-7) var(--s-10); }
}
.hero-bleed__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bleed__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-bleed__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,39,36,0.05) 0%, rgba(42,39,36,0.08) 40%, rgba(42,39,36,0.55) 100%);
}
.hero-bleed__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-bleed .eyebrow {
  color: rgba(246, 241, 234, 0.85);
}
.hero-bleed h1 {
  color: var(--c-ivory);
  max-width: 18ch;
}
.hero-bleed .lede {
  color: rgba(246, 241, 234, 0.82);
  margin-top: var(--s-5);
  max-width: 46ch;
}
.hero-bleed__cta { margin-top: var(--s-7); }

/* Portrait variant (taller, tighter) used for About/Writing if desired */
.hero-bleed--portrait .hero-bleed__bg img { object-position: center 22%; }

/* LWC hero variant — softer/lighter overlay tuned to the kids-running photo,
   keeps text legible in the lower band but lets the image breathe up top. */
.hero-bleed--lwc { min-height: 70vh; }
@media (min-width: 880px) { .hero-bleed--lwc { min-height: 78vh; } }
.hero-bleed--lwc .hero-bleed__bg img { object-position: center 35%; }
.hero-bleed--lwc .hero-bleed__bg::after {
  background: linear-gradient(180deg, rgba(42,39,36,0.0) 0%, rgba(42,39,36,0.18) 50%, rgba(42,39,36,0.62) 100%);
}

/* ---------- Sub-nav (anchor strip under main nav on landing pages) ---------- */

.subnav {
  background: var(--c-ivory);
  border-bottom: 1px solid var(--c-clay);
  position: sticky;
  top: 63px; /* sits flush under main nav */
  z-index: 49;
}
.subnav__inner {
  display: flex;
  gap: var(--s-6);
  overflow-x: auto;
  padding: 14px var(--s-6);
  align-items: center;
  justify-content: center;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-stone);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.subnav a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-terracotta);
}

/* Offset anchor targets so sticky nav + subnav don't cover them */
section[id] { scroll-margin-top: 120px; }

/* ---------- Image-led tiles (v2 book / brand tile) ---------- */

.tile {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  text-align: left;
  text-decoration: none;
  color: inherit;
}
.tile__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--c-bone);
  position: relative;
}
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.tile:hover .tile__media img { transform: scale(1.03); }
.tile__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-stone);
  font-size: 1rem;
}
.tile__meta {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-stone);
}
.tile__title {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  line-height: 1.2;
}
.tile__cta {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-clay);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tile:hover .tile__cta {
  color: var(--c-terracotta);
  border-bottom-color: var(--c-terracotta);
}

/* Image-led brand door (home) */
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  text-decoration: none;
  color: inherit;
}
.door__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--c-bone);
}
.door__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.door:hover .door__media img { transform: scale(1.03); }
.door__tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.35;
  transition: opacity var(--dur) var(--ease);
}
.door:hover .door__tint { opacity: 0.2; }
.door__tint--rose  { background: var(--c-rose); }
.door__tint--peach { background: var(--c-peach); }
.door__tint--terra { background: var(--c-terracotta); }
.door__meta {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-stone);
}
.door__title {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.15;
}
.door__desc {
  color: var(--c-stone);
  font-size: 0.96rem;
  max-width: 38ch;
}
.door__cta {
  margin-top: var(--s-3);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--c-clay);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.door:hover .door__cta {
  color: var(--c-terracotta);
  border-bottom-color: var(--c-terracotta);
}

/* ---------- Pre-footer CTA panel ---------- */

.prefooter {
  background: var(--c-bone);
  padding: var(--s-10) var(--s-6);
  text-align: center;
  margin-top: var(--s-10);
}
.prefooter .eyebrow { color: var(--c-stone); }
.prefooter h2 {
  max-width: 16ch;
  margin: 0 auto;
}
.prefooter p {
  max-width: 42ch;
  margin: var(--s-5) auto 0;
  color: var(--c-stone);
}
.prefooter form {
  margin: var(--s-7) auto 0;
  max-width: 440px;
  border-bottom: 1px solid var(--c-ink);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.prefooter input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: var(--s-4) 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--c-ink);
}
.prefooter input::placeholder { color: var(--c-stone); }
.prefooter input:focus { outline: none; }
.prefooter button {
  padding: var(--s-3) var(--s-5);
  font-family: var(--f-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.prefooter button:hover { color: var(--c-terracotta); }
.prefooter__note {
  margin-top: var(--s-4);
  font-size: 0.78rem;
  color: var(--c-stone);
  font-style: italic;
}

/* Remove the old top-margin on .footer once a prefooter precedes it */
.prefooter + .footer { margin-top: 0; }

/* Make .footer column 4 lose the now-redundant subscribe form on pages
   that already have a .prefooter. Graceful: hide via utility class. */
.footer__subscribe--hidden { display: none; }

/* ---------- Split hero pattern (About/Writing, image + text) ---------- */

.hero-split {
  padding: 0;
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .hero-split { grid-template-columns: 1fr 1fr; min-height: 82vh; }
}
.hero-split__media {
  background: var(--c-bone);
  overflow: hidden;
  min-height: 50vh;
}
.hero-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-9) var(--s-6);
  background: var(--c-ivory);
}
@media (min-width: 880px) {
  .hero-split__body { padding: var(--s-10) var(--s-8); }
}
.hero-split__body h1 { max-width: 14ch; }
.hero-split__body .lede { margin-top: var(--s-5); }

/* ---------- Tighten the old .hero__cta spacing ---------- */

.hero .btn, .hero-bleed .btn { margin-top: 0; }
.link-row .btn + .btn { margin-left: var(--s-4); }
