/* Homepage only. Shared catalogue, guide, navigation and checkout styles are unchanged. */
.home { background: var(--paper); color: var(--ink); }
.home-width { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.home h1, .home h2, .home h3, .home h4, .home p, .home dl { margin: 0; }
.home h1, .home h2, .home h3, .home h4 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.home-label { font: 700 11px/1.5 Arial, Helvetica, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.home-intro { background: var(--ivory); border-bottom: 1px solid var(--line); }
.home-intro-inner { display: grid; grid-template-columns: 1.12fr 1fr; gap: 68px; align-items: center; padding-block: 46px; }
.home-intro-title, .home-intro-copy { min-width: 0; }
.home-intro h1 { font-size: clamp(48px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.045em; margin-top: 17px; }
.home-lead { max-width: 560px; font: 22px/1.5 Georgia, 'Times New Roman', serif; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-button { display: inline-flex; min-height: 48px; padding: 12px 21px; gap: 22px; align-items: center; justify-content: space-between; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.home-button-primary { background: var(--ink); color: var(--paper); }
.home-button:hover { background: var(--ink); color: var(--paper); }
.home-button-primary:hover { background: #3e5146; }
.home-section { padding-block: 48px; scroll-margin-top: 100px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 27px; }
.home-section-heading h2 { font-size: 38px; line-height: 1.16; letter-spacing: -.03em; }
.home-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-editions { border-bottom: 1px solid var(--line); }
.home-editions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.home-edition { min-width: 0; }
.home-edition > a { display: grid; grid-template-columns: minmax(140px, .85fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.home-edition-image { background: var(--ivory); border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; }
.home-edition-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-edition-copy { min-width: 0; padding-block: 10px; }
.home-edition .home-label { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.home-edition h3 { font-size: 27px; line-height: 1.16; letter-spacing: -.02em; margin-top: 11px; }
.home-edition h3 > span { display: block; font-size: 19px; margin-top: 4px; }
.home-edition-composer { font-size: 13px; margin-top: 12px !important; }
.home-edition-format { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 7px !important; }
.home-edition .home-text-link { min-height: 44px; margin-top: 13px; }
.home-edition > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.home-resources-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.home-guides, .home-index { min-width: 0; padding: 34px 36px; display: flex; flex-direction: column; }
.home-guides { border: 1px solid var(--line); background: #f5f1e7; }
.home-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-free-label { background: #e2e9df; color: var(--ink); font-size: 11px; line-height: 1.4; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.home-guides h3 { font-size: 35px; line-height: 1.12; letter-spacing: -.025em; margin: 19px 0 14px; }
.home-panel-description { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 460px; }
.home-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 25px 0 20px; }
.home-guide-card { display: flex; flex-direction: column; min-width: 0; min-height: 200px; padding: 19px 18px 15px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ochre); text-decoration: none; }
.home-guide-card:hover { background: #fffdf8; border-color: #9ba69b; border-top-color: var(--ink); }
.home-guide-meta { align-self: flex-start; font-size: 10px; line-height: 1.5; color: var(--ink); letter-spacing: .02em; margin-bottom: 17px; }
.home-guide-composer { color: var(--muted); font-size: 12px; line-height: 1.45; }
.home-guide-card h4 { font-size: 23px; line-height: 1.18; letter-spacing: -.02em; margin-top: 7px; overflow-wrap: break-word; }
.home-guide-action { display: flex; justify-content: space-between; gap: 12px; padding-top: 21px; margin-top: auto; font-size: 11px; line-height: 1.5; font-weight: 700; }
.home-guide-card:hover h4 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.home-panel-link { align-self: flex-start; min-height: 44px; margin-top: auto; }
.home-index { background: var(--ink); color: var(--paper); border-top: 4px solid var(--ochre); }
.home-index > .home-label { color: var(--ochre-soft); }
.home-index h3 { font-size: 48px; line-height: 1.06; letter-spacing: -.025em; margin: 23px 0 18px; }
.home-index .home-panel-description { color: #d6ddd5; max-width: 380px; }
.home-index-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 29px; margin-top: 22px !important; border-top: 1px solid #56665a; border-bottom: 1px solid #56665a; }
.home-index-stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.home-index-stats dt { color: #d6ddd5; font-size: 12px; line-height: 1.4; }
.home-index-stats dd { margin: 0; }
.home-index-stats strong { font: 400 56px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.home-index-bottom { margin-top: auto; padding-top: 27px; }
.home-index-bottom > p { font-size: 12px; line-height: 1.65; color: #d6ddd5; margin-bottom: 18px; }
.home-index-button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.home-index-button:hover { background: var(--ochre-soft); color: var(--ink); border-color: var(--ochre-soft); }
.home a:focus-visible, .home button:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.home-index a:focus-visible { outline-color: var(--ochre-soft); }
@media (max-width: 1100px) {
  .home-width { width: calc(100% - 64px); }
  .home-intro-inner { gap: 40px; }
  .home-lead { font-size: 20px; }
  .home-guides, .home-index { padding-inline: 27px; }
  .home-guide-card { padding-inline: 15px; }
  .home-guide-card h4 { font-size: 21px; }
  .home-edition > a { gap: 20px; }
}
@media (max-width: 980px) {
  .home-resources-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-guides, .home-index { padding: 30px; }
  .home-desktop-break { display: none; }
  .home-guide-card { min-height: 192px; padding: 21px; }
  .home-guide-card h4 { font-size: 25px; }
  .home-index h3 { font-size: 43px; }
  .home-index h3 br { display: none; }
  .home-index .home-panel-description { max-width: 500px; }
  .home-index-stats { max-width: 500px; margin-top: 23px !important; }
  .home-index-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; justify-content: space-between; }
  .home-index-bottom > p { max-width: 250px; margin-bottom: 0; }
}
@media (max-width: 800px) {
  .home-intro-inner { grid-template-columns: 1fr; gap: 23px; padding-block: 35px; }
  .home-intro-copy { max-width: 600px; }
  .home-intro h1 { font-size: 64px; }
  .home-editions-grid { gap: 28px; }
  .home-edition > a { grid-template-columns: 1fr; gap: 12px; }
  .home-edition-image { max-width: 300px; }
}
@media (max-width: 540px) {
  .home-width { width: calc(100% - 36px); }
  .home-intro-inner { padding-block: 30px 34px; gap: 19px; }
  .home-intro .home-label { font-size: 10px; letter-spacing: .12em; }
  .home-intro h1 { font-size: clamp(43px, 11vw, 56px); margin-top: 14px; }
  .home-lead { font-size: 19px; line-height: 1.5; }
  .home-actions { margin-top: 23px; gap: 10px; }
  .home-button { padding-inline: 17px; gap: 12px; font-size: 12px; }
  .home-section { padding-block: 34px; scroll-margin-top: 85px; }
  .home-section-heading { gap: 13px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
  .home-section-heading h2 { font-size: 32px; }
  .home-section-heading > .home-text-link { min-height: 36px; font-size: 12px; gap: 9px; }
  .home-guides, .home-index { padding: 25px 20px; }
  .home-guides h3 { font-size: 31px; }
  .home-panel-description { font-size: 13px; }
  .home-guide-grid { gap: 12px; }
  .home-guide-card { min-height: 214px; padding: 15px 12px 13px; }
  .home-guide-card h4 { font-size: 21px; }
  .home-guide-composer { font-size: 11px; }
  .home-guide-meta { font-size: 10px; margin-bottom: 14px; }
  .home-index h3 { font-size: 38px; }
  .home-index-stats strong { font-size: 52px; }
  .home-index-bottom { display: block; }
  .home-index-bottom > p { margin-bottom: 17px; }
  .home-editions-grid { grid-template-columns: 1fr; }
  .home-edition > a { grid-template-columns: minmax(112px, .8fr) minmax(0, 1fr); gap: 19px; }
  .home-edition h3 { font-size: 24px; margin-top: 8px; }
  .home-edition h3 > span { font-size: 17px; }
  .home-edition .home-text-link { margin-top: 7px; }
}
@media (max-width: 370px) {
  .home-guide-grid { grid-template-columns: 1fr; }
  .home-guide-card { min-height: 185px; padding: 17px; }
  .home-guide-card h4 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .home { scroll-behavior: auto; } html:has(.home) { scroll-behavior: auto; } }
