/* Hallmark · macrostructure: editorial split with an offer and a project index
 * theme: Field Guide · pre-emit critique: P5 H5 E4 S5 R5 V4 */
:root {
  color-scheme: light;
  --paper: #f7f4ea;
  --ink: #232c21;
  --muted: #4e5c4b;
  --line: #c6cbbd;
  --pine: #253e2d;
  --action: #9a3c23;
  --action-hover: #78301d;
  --display: Georgia, 'Times New Roman', serif;
  font: 100%/1.6 system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body, figure, p, h1, h2, h3, h4, dd { margin: 0; }
::selection { background-color: #f0d19d; color: var(--ink); }
a { color: inherit; text-underline-offset: .27em; }
a:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.masthead { display: flex; gap: 1.25rem; align-items: center; min-height: 4rem; border-bottom: 1px solid var(--line); }
.wordmark { margin-right: auto; font: 700 clamp(.94rem, 1.6vw, 1.18rem)/1.25 var(--display); text-decoration: none; white-space: nowrap; }
.masthead nav { font-size: .875rem; white-space: nowrap; }
.header-buy { display: inline-flex; gap: .45rem; align-items: center; font-size: .875rem; font-weight: 750; color: var(--action); white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas: '. cover' 'title cover' 'intro cover' 'offer cover' '. cover';
  align-items: center;
  column-gap: clamp(1.5rem, 4.5vw, 4rem);
  padding-block: clamp(1.45rem, 3vw, 2.9rem);
}
.hero-heading { grid-area: title; }
.edition { margin-bottom: .65rem; color: var(--pine); font-size: .9rem; font-weight: 720; }
h1, h2 { font-family: var(--display); font-weight: 700; overflow-wrap: anywhere; text-wrap: balance; }
h1 { max-width: 19ch; font-size: clamp(2.6rem, 4.55vw, 4.65rem); line-height: 1.035; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -.03em; }
.intro { grid-area: intro; margin-top: .92rem; max-width: 48ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.cover { grid-area: cover; display: grid; place-items: center; min-width: 0; }
.cover img { display: block; width: min(100%, 24rem); height: auto; mix-blend-mode: multiply; }
.offer { grid-area: offer; margin-top: 1.18rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.price { display: flex; gap: .44rem; align-items: baseline; color: var(--ink); line-height: 1.2; }
.price strong { font: 700 2.3rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: lining-nums; }
.price span { color: var(--muted); font-size: .85rem; font-weight: 700; }
.format { margin-top: .23rem; color: var(--muted); font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.1rem; min-height: 3.2rem; margin-top: 1rem; padding: .62rem 1.2rem; border-radius: .3rem; background: var(--action); color: #fffaf3; font-size: 1rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--action-hover); }
.button span { font-size: 1.15em; line-height: 1; }
.delivery { margin-top: .55rem; color: var(--muted); font-size: .79rem; }
.guarantee { margin-top: .46rem; color: var(--pine); font-size: .92rem; font-weight: 750; }

.story { border-top: 1px solid var(--line); background: #eeeadc; }
.story-layout { padding-block: clamp(2.4rem, 5.8vw, 5rem); }
.story .prose { max-width: 66ch; }
.prose p { margin-top: .9rem; color: var(--muted); }
.author-photo { margin-top: clamp(1.4rem, 3vw, 2.5rem); }
.author-photo img, .plan-photo img { display: block; width: 100%; height: auto; }
.author-photo figcaption { margin-top: .48rem; color: var(--muted); font-size: .83rem; }

.bundle-offer { margin-block: clamp(1.7rem, 4vw, 3rem); padding: clamp(1rem, 3vw, 2.1rem); border: 1px solid var(--line); background: #fffdf5; }
.bundle-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem 1.5rem; }
.bundle-heading h3 { font: 700 clamp(1.8rem, 3vw, 2.8rem)/1.1 var(--display); letter-spacing: -.03em; }
.bundle-heading > div p { margin-top: .43rem; color: var(--muted); }
.bonus-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.6rem; margin: 1.45rem 0 0; padding: 1.3rem 0 .95rem; border-top: 1px solid var(--line); list-style: none; }
.bonus-covers li { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.bonus-covers img { display: block; width: min(100%, 9.5rem); height: 11rem; object-fit: contain; object-position: bottom left; }
.bonus-covers h4 { margin-top: .55rem; font-size: .99rem; }
.bonus-covers p { margin-top: .2rem; color: var(--muted); font-size: .88rem; }
.bonus-covers .bonus-value { color: var(--pine); font-weight: 750; }
.bundle-action { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.bundle-action .button, .bundle-action .guarantee { margin-top: 0; }

.projects { background: var(--pine); color: #fbf2e1; scroll-margin-top: 1rem; }
.project-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.3fr); gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(2.75rem, 6vw, 5rem); }
.project-layout .prose p { margin-top: 1rem; color: #e0e8d5; }
.plan-photo { margin-top: 1.4rem; max-width: 27rem; }
.project-list { margin: 0; border-top: 1px solid #829681; }
.project-list article { padding: .8rem 0 .9rem; border-bottom: 1px solid #829681; }
.project-list h3 { font-size: 1.03rem; font-weight: 760; }
.project-list p { margin-top: .23rem; color: #e0e8d5; font-size: .94rem; }

.reading-section { padding-block: clamp(2.6rem, 6vw, 4.8rem); }
.detail h1 { max-width: 22ch; }
.detail .prose { max-width: 65ch; }
.bonus-covers h2 { margin-top: .55rem; font: 750 1rem/1.35 system-ui, sans-serif; letter-spacing: normal; }
.section-intro { margin-top: .9rem; color: var(--muted); }
.reading-list, .reader-notes { margin: 1.45rem 0 0; border-top: 1px solid var(--line); }
.reading-list > div { display: grid; grid-template-columns: minmax(0, .44fr) minmax(0, 1fr); gap: .4rem 1.35rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.reading-list dt, .reader-notes dt { font-weight: 740; }
.reading-list dd, .reader-notes dd { color: var(--muted); }
.questions { background: #eeeadc; }
.reader-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.reader-notes > div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.reader-notes dd { margin-top: .2rem; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .73fr); align-items: center; gap: clamp(1.75rem, 6vw, 6.5rem); padding-block: clamp(2.75rem, 6vw, 5rem); }
.about > div:first-child p { max-width: 56ch; margin-top: 1rem; color: var(--muted); }
.order-panel { padding: clamp(1rem, 4vw, 2.2rem); border: 1px solid var(--line); background: #fffdf5; }
.order-panel h2 { font-size: clamp(1.6rem, 3.6vw, 2.55rem); }
.order-panel h2 + p { margin-top: .33rem; color: var(--muted); }
.order-panel .price { margin-top: .8rem; }
footer { border-top: 1px solid var(--line); padding-block: 1.4rem 2rem; }
footer p { color: var(--muted); font-size: .8rem; }

@media (min-width: 45.1rem) and (min-height: 49rem) {
  .project-layout > .prose { position: sticky; top: 2rem; align-self: start; }
}

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { justify-content: space-between; gap: .5rem; }
  .masthead nav { display: none; }
  .wordmark { font-size: .89rem; }
  .header-buy { font-size: .79rem; }
  .hero, .project-layout, .about { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template: 'title' 'cover' 'intro' 'offer' / minmax(0, 1fr); gap: .85rem; padding-top: 1.3rem; }
  .hero h1 { font-size: clamp(2.45rem, 8.8vw, 4rem); }
  .cover img { width: min(79%, 19rem); }
  .intro { margin-top: 0; }
  .offer { margin-top: .2rem; }
  .reading-list > div, .reader-notes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 37rem) {
  .bundle-heading { flex-direction: column; }
  .bonus-covers { grid-template-columns: minmax(0, 1fr); padding-block: .9rem; }
  .bonus-covers li { display: grid; grid-template-columns: minmax(0, 4.65rem) minmax(0, 1fr); gap: .13rem .72rem; align-items: start; }
  .bonus-covers li + li { padding-top: .85rem; border-top: 1px solid var(--line); }
  .bonus-covers img { grid-row: 1 / span 3; width: 100%; height: auto; }
  .bonus-covers h4 { margin-top: 0; }
}

@media (max-width: 22rem) {
  .masthead .header-buy span { display: none; }
  .button { gap: .6rem; padding-inline: .9rem; }
}
