/* Cultrue home — matched to the Coraline page McKenna & Chance approved
 * (link.coraline-communication.com/preview/dDfVdsraP59VmiQsv1lS).
 * Measurements, colours and type are taken from that page at 1280px wide:
 * cream ground, butter-yellow cards with a soft shadow, mint Shop buttons,
 * Lora for the cards, Gentium Book Plus for the wordmark.
 */

:root {
  --cream:  #fbf7f1;
  --butter: #faf089;
  --mint:   #9ae6b4;
  --slate:  #3b4763;
  --lora:   'Lora', Georgia, 'Times New Roman', serif;
  --gentium: 'Gentium Book Plus', Georgia, serif;
  --inter:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.home { margin: 0; background: #fff; color: #000; font-family: var(--inter); }
body.home img { display: block; max-width: 100%; }

.skip-link {
  position: absolute; left: 16px; top: -3rem; z-index: 100;
  background: #000; color: #fff; padding: 8px 16px; border-radius: 4px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

/* ------------------------------------------------------------- hero */
.h-hero {
  position: relative; height: 459px;
  border: 1px solid #000;
  background: #5b7a3c url(/img/home-hero.jpg) center / cover no-repeat;
  display: flex; align-items: center;
}
.h-hero h1 {
  margin: 0; padding: 0 0 0 64px; color: #fff;
  font-family: var(--gentium); font-weight: 700; font-size: 49px; line-height: 1;
}

/* ---------------------------------------------------------- products */
.h-row { background: var(--cream); padding: 80px 0 72px; }
.h-row + .h-row { padding-top: 40px; }
.h-grid {
  max-width: 1152px; margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.h-card {
  background: var(--butter);
  box-shadow: 1px 1px 20px 6px rgba(194, 194, 194, .67);
  display: flex; flex-direction: column; text-align: center;
}
.h-card img { width: 100%; height: auto; background: #eee7d8; }
.h-card-body { padding: 26px 20px 28px; display: flex; flex-direction: column; flex: 1; }
.h-card h2 {
  margin: 0 0 8px; font-family: var(--lora); font-weight: 900;
  font-size: 25px; line-height: 1.3; color: #000;
}
.h-card .colour { margin: 0 0 4px; font-family: var(--lora); font-size: 18px; line-height: 1.3; color: var(--slate); }
.h-card .price  { margin: 0 0 22px; font-family: var(--inter); font-size: 17px; line-height: 1.4; color: var(--slate); }
.h-card .ship {
  margin: 0 0 28px; font-family: var(--lora); font-weight: 700;
  font-size: 18px; line-height: 1.3; color: #000;
}
.h-card .shop {
  margin-top: auto; display: block; text-decoration: none;
  background: var(--mint); color: #fff; border-radius: 5px;
  padding: 17px 40px; font-family: var(--inter); font-weight: 700; font-size: 20px; line-height: 1.25;
}
.h-card .shop:hover { filter: brightness(.95); }

.h-state { max-width: 640px; margin: 0 auto; padding: 120px 16px; text-align: center; font-family: var(--lora); font-size: 18px; color: var(--slate); }
.h-state a { color: var(--slate); }

/* ------------------------------------------------------------- verse */
.h-verse {
  min-height: 207px; display: flex; align-items: center;
  background: #2f5a1f url(/img/home-verse.jpg) center / cover no-repeat fixed;
}
.h-verse blockquote {
  margin: 0; padding: 0 0 0 83px; color: var(--butter);
  font-family: var(--lora); font-style: italic; font-size: 18px; line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.h-verse strong { font-weight: 700; }

.h-foot { min-height: 140px; background: #fff; display: flex; align-items: flex-end; justify-content: center; padding: 24px 16px; }
.legal-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 14px; color: #555; }
.legal-strip a { color: #555; }
.legal-strip a:hover { color: #000; }

/* ------------------------------------------------------------- legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 16px 24px; font-family: var(--lora); font-size: 18px; line-height: 1.6; color: #222; }
.legal .crumbs { font-family: var(--inter); font-size: 14px; color: #555; margin-bottom: 24px; }
.legal .crumbs a { color: #555; }
.legal h1 { font-family: var(--gentium); font-size: 40px; line-height: 1.1; margin: 0 0 8px; }
.legal .effective { font-family: var(--inter); font-size: 14px; color: #555; margin: 0 0 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 36px 0 8px; }
.legal a { color: #1f4f7a; }
.legal ul { padding-left: 1.2em; }

/* ------------------------------------------------------------- phone */
@media (max-width: 900px) {
  .h-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .h-hero { height: 320px; }
  .h-hero h1 { padding-left: 24px; font-size: 40px; }
  .h-row { padding: 48px 0 40px; }
  .h-row + .h-row { padding-top: 0; }
  .h-grid { grid-template-columns: 1fr; gap: 32px; max-width: 400px; }
  .h-verse { background-attachment: scroll; }
  .h-verse blockquote { padding: 24px; }
  .h-foot { min-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-verse { background-attachment: scroll; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
