:root {
  --home-text: #111111;
  --home-background: #ffffff;
  --home-secondary: #cbcbcb;
  --home-primary: #315f2d;
  --home-accent: #103d0b;
  --home-muted: #666666;
  --home-line: #e7e7e7;
}

html { scroll-padding-top: 68px; }
body.home-v2 { margin: 0; background: var(--home-background); color: var(--home-text); font-family: "Inter", Arial, sans-serif; font-size: 17px; line-height: 1.65; }
.home-v2 *, .home-v2 *::before, .home-v2 *::after { box-sizing: border-box; }
.home-v2 img { display: block; max-width: 100%; }
.home-v2 a { color: inherit; }
.home-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.home-header { position: sticky; top: 0; z-index: 20; display: flex; min-height: 66px; align-items: center; justify-content: center; border-bottom: 1px solid var(--home-line); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); }
.home-nav { display: flex; width: min(1160px, calc(100% - 64px)); align-items: center; justify-content: space-between; gap: 0; white-space: nowrap; }
.home-nav a { position: relative; padding: 21px 0 19px; color: var(--home-text); font-size: 15.5px; font-weight: 500; line-height: 1; text-decoration: none; }
.home-nav a::after { position: absolute; right: 0; bottom: 14px; left: 0; height: 1px; background: var(--home-primary); content: ""; opacity: 0; transform: scaleX(.55); transition: opacity 180ms ease, transform 180ms ease; }
.home-nav a:hover, .home-nav a:focus-visible { color: var(--home-primary); }
.home-nav a:hover::after, .home-nav a:focus-visible::after { opacity: 1; transform: scaleX(1); }

.home-v2 h1, .home-v2 h2, .home-v2 h3 { margin: 0; color: #252422; font-family: "Newsreader", Georgia, serif; font-weight: 500; line-height: 1.08; }
.home-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); min-height: 650px; align-items: center; gap: clamp(24px, 4vw, 68px); padding-block: 74px 56px; }
.home-hero-copy { max-width: 590px; }
.home-hero h1 { font-size: clamp(60px, 5vw, 68px); font-weight: 400; letter-spacing: -.035em; }
.home-hero-copy p { max-width: 560px; margin: 32px 0 0; color: #3a3936; font-size: 18px; line-height: 1.68; }
.home-hero-art { margin: 0; }
.home-hero-art img { width: 100%; max-height: 540px; object-fit: contain; object-position: center; }

.home-book { display: grid; grid-template-columns: minmax(230px, 330px) minmax(0, 680px); align-items: center; justify-content: center; gap: clamp(64px, 9vw, 126px); padding-block: 120px; border-top: 1px solid var(--home-line); }
.home-book-cover { margin: 0; }
.home-book-cover img { width: 100%; box-shadow: 0 18px 42px rgba(17, 17, 17, .16); }
.home-eyebrow { margin: 0 0 10px; color: var(--home-primary); font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.home-book h2, .home-section-heading h2, .home-marketa-label h2 { font-size: clamp(38px, 3.7vw, 44px); }
.home-book-copy > p:not(.home-eyebrow) { margin: 24px 0 0; }
.home-author-note { color: #333333; font-size: 16px; }
.home-author-note strong { color: var(--home-text); font-weight: 600; }

.home-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 8px; padding: 12px 25px; font-family: "Inter", Arial, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.25; text-decoration: none; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.home-button-primary { margin-top: 30px; border: 1px solid var(--home-primary); background: var(--home-primary); color: #ffffff !important; }
.home-button-primary:hover, .home-button-primary:focus-visible { border-color: var(--home-accent); background: var(--home-accent); }
.home-button-secondary { border: 1px solid var(--home-secondary); background: #ffffff; color: var(--home-text); }
.home-button-secondary:hover, .home-button-secondary:focus-visible { border-color: #8f8f8f; background: #f8f8f8; }

.home-book-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 30px;
}
.home-book-actions .home-button {
  min-width: 190px;
  margin-top: 0;
}

.home-texts { padding-block: 86px 96px; border-top: 1px solid var(--home-line); }
.home-section-heading { margin-bottom: 32px; }
.home-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: start; gap: clamp(24px, 2.6vw, 36px); }
.home-post { min-width: 0; overflow: hidden; border: 1px solid #eeeeee; background: #ffffff; box-shadow: 0 10px 28px rgba(17, 17, 17, .08); }
.home-post-image-link { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #f4f4f4; }
.home-post-image { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.home-post-image-link:hover .home-post-image { transform: scale(1.015); }
.home-post-copy { padding: 18px 20px 22px; }
.home-post time { display: block; margin-bottom: 7px; color: var(--home-muted); font-size: 13px; line-height: 1.4; }
.home-post h3 { font-size: clamp(26px, 2.3vw, 30px); }
.home-post h3 a { text-decoration: none; }
.home-post h3 a:hover { color: var(--home-primary); }
.home-post p { margin: 13px 0 14px; color: #3d3d3d; font-size: 15.5px; line-height: 1.6; }
.home-read-link { font-size: 15.5px; font-weight: 500; text-decoration: none; }
.home-read-link:hover, .home-read-link:focus-visible { color: var(--home-primary); }
.home-texts > .home-button-secondary { margin-top: 36px; border-color: var(--home-primary); background: var(--home-primary); color: #ffffff; }\n.home-texts > .home-button-secondary:hover, .home-texts > .home-button-secondary:focus-visible { border-color: var(--home-accent); background: var(--home-accent); color: #ffffff; }


.home-mood {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-block: 104px 116px;
  border-top: 1px solid var(--home-line);
}

.home-mood[hidden] { display: none; }

.home-mood-heading { align-self: center; }

.home-mood-heading h2 {
  max-width: 620px;
  font-size: clamp(58px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}

.home-mood-archive-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.home-mood-archive-link:hover,
.home-mood-archive-link:focus-visible {
  color: var(--home-primary);
}

.home-mood-current {
  width: min(100%, 420px);
  justify-self: end;
}

.home-mood-figure { margin: 0; }

.home-mood-image {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  box-shadow: 0 14px 32px rgba(17, 17, 17, .12);
}

.home-mood-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
}

.home-mood-note {
  flex: 1;
  margin: 0;
  color: var(--home-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.home-star {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--home-muted);
  padding: 2px 0;
  cursor: pointer;
  font: 500 13px/1 "Inter", Arial, sans-serif;
}

.home-star:hover,
.home-star:focus-visible {
  color: #4d4a44;
}

.home-star[aria-pressed="true"] {
  color: var(--home-muted);
}

.home-star[aria-pressed="true"] .home-star-symbol {
  color: #d6a400;
}

.home-star-symbol {
  font-size: 18px;
  line-height: 1;
}

.home-marketa { display: grid; grid-template-columns: minmax(160px, .26fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 78px); padding-block: 108px 124px; border-top: 1px solid var(--home-line); }
.home-marketa-label .home-eyebrow { margin-bottom: 0; }
.home-marketa-label h2 { display: none; }
.home-marketa-teaser { margin: 14px 0 0; color: #333333; font-size: 17px; line-height: 1.5; }
.home-marketa-banner { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(300px, 1.1fr); min-height: 350px; align-items: center; overflow: hidden; border: 1px solid #ededed; background: #ffffff; box-shadow: 0 15px 38px rgba(17, 17, 17, .11); }
.home-marketa-banner blockquote { margin: 0; padding: 46px 22px 46px 48px; color: #252422; font-family: "Newsreader", Georgia, serif; font-size: clamp(22px, 2vw, 28px); line-height: 1.28; }
.home-marketa-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.home-footer { border-top: 0; background: var(--home-text); color: #ffffff; padding: 0; text-align: left; font-size: inherit; }
.home-footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 42px; padding-block: 52px 28px; }
.home-footer-title { margin: 0 0 14px; color: #ffffff; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.home-socials { display: flex; gap: 10px; }
.home-socials a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid #555555; border-radius: 8px; color: #eeeeee; transition: border-color 180ms ease, color 180ms ease; }
.home-socials a:hover, .home-socials a:focus-visible { border-color: var(--home-primary); color: #74a06f; }
.home-socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-footer-actions { display: flex; align-items: center; gap: 24px; }
.home-coffee { min-height: 44px; border: 1px solid #666666; border-radius: 8px; background: transparent; color: #eeeeee; padding: 10px 18px; cursor: pointer; font: 500 15px "Inter", Arial, sans-serif; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.home-coffee:hover, .home-coffee:focus-visible { border-color: #aaaaaa; background: #1b1b1b; color: #ffffff; }
.home-footer-actions-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.home-contact, .home-share-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #666666; border-radius: 8px; background: transparent; color: #eeeeee; padding: 10px 18px; font: inherit; font-size: 15px; cursor: pointer; appearance: none; }
.home-contact:hover, .home-contact:focus-visible, .home-share-button:hover, .home-share-button:focus-visible { border-color: #aaaaaa; background: #1b1b1b; color: #ffffff; }
.home-share-status { min-height: 1.4em; margin: 0; color: #929292; font-size: 12px; }
.home-copyright { grid-column: 1 / -1; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid #333333; color: #929292; font-size: 12px; }

.home-yape-dialog { width: min(420px, calc(100% - 32px)); border: 0; border-radius: 10px; padding: 38px; color: var(--home-text); }
.home-yape-dialog::backdrop { background: rgba(0, 0, 0, .68); }
.home-yape-dialog h2 { margin-bottom: 22px; font-size: 34px; }
.home-yape-dialog .home-yape-copy { margin: -8px 0 22px; color: #55534f; font-size: 14px; line-height: 1.55; text-align: center; }.home-yape-dialog img { width: min(280px, 100%); margin: 0 auto 22px; }
.home-yape-dialog .home-button { width: 100%; }
.home-dialog-close { position: absolute; top: 10px; right: 13px; border: 0; background: transparent; color: var(--home-text); cursor: pointer; font: 400 28px/1 "Inter", sans-serif; }

@media (max-width: 900px) {
  .home-shell { width: min(100% - 40px, 760px); }
  .home-hero { grid-template-columns: 1fr; min-height: 0; gap: 38px; padding-block: 72px 74px; }
  .home-hero-copy { max-width: 680px; }
  .home-hero h1 { max-width: 720px; font-size: clamp(50px, 8vw, 62px); }
  .home-hero-art img { max-height: 500px; }
  .home-book { grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); gap: 54px; padding-block: 96px; }
  .home-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-mood {
    grid-template-columns: minmax(0, .9fr) minmax(250px, .6fr);
    gap: 48px;
    padding-block: 92px 104px;
  }

  .home-mood-heading h2 {
    font-size: clamp(52px, 8vw, 68px);
  }

  .home-mood-current {
    width: min(100%, 360px);
  }

  .home-marketa { grid-template-columns: 1fr; gap: 28px; padding-block: 94px 108px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 58px; }
  body.home-v2 { font-size: 16px; }
  .home-shell { width: min(100% - 32px, 520px); }
  .home-header { min-height: 58px; }
  .home-nav { width: 100%; justify-content: space-between; gap: 8px; padding-inline: 12px; }
  .home-nav a { padding: 20px 0 18px; font-size: clamp(10px, 3vw, 12px); }
  .home-nav a::after { bottom: 12px; }
  .home-hero { padding-block: 58px 72px; }
  .home-hero h1 { font-size: clamp(42px, 13vw, 48px); }
  .home-hero-copy p { margin-top: 24px; font-size: 16px; }
  .home-hero-art { margin-inline: -6px; }
  .home-hero-art img { max-height: none; }
  .home-book { grid-template-columns: 1fr; gap: 50px; padding-block: 82px; }
  .home-book-cover { width: min(76%, 300px); margin-inline: auto; }
  .home-book-copy > p:not(.home-eyebrow) { margin-top: 20px; }
  .home-book-actions { flex-direction: column; gap: 10px; margin-top: 26px; }
  .home-book-actions .home-button { width: 100%; margin-top: 0; }
  .home-author-note { font-size: 15px; }
  .home-button-primary { width: 100%; margin-top: 26px; }
  .home-texts { padding-block: 82px 92px; }
  .home-section-heading { margin-bottom: 34px; }
  .home-post-grid { grid-template-columns: 1fr; gap: 48px; }
  .home-texts > .home-button-secondary { width: 100%; margin-top: 36px; }

  .home-mood {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 82px 94px;
  }

  .home-mood-heading h2 {
    font-size: clamp(46px, 14vw, 58px);
  }

  .home-mood-archive-link {
    margin-top: 18px;
  }

  .home-mood-current {
    width: min(100%, 360px);
    justify-self: start;
  }

  .home-mood-image {
    max-height: none;
  }

  .home-mood-meta {
    gap: 14px;
  }

  .home-marketa { padding-block: 82px 94px; }
  .home-marketa-banner { grid-template-columns: 1fr; min-height: 0; }
  .home-marketa-banner blockquote { padding: 34px 28px 18px; font-size: 23px; }
  .home-marketa-banner img { max-height: 330px; object-fit: contain; }
  .home-footer-inner { grid-template-columns: 1fr; align-items: start; gap: 34px; padding-block: 46px 24px; }
  .home-footer-actions-wrap { align-items: flex-start; }
  .home-footer-actions { flex-wrap: wrap; gap: 18px; }
  .home-copyright { margin-top: 4px; }
  .home-yape-dialog { padding: 34px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 *, .home-v2 *::before, .home-v2 *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.home-contact-dialog{width:min(520px,calc(100% - 32px));border:0;border-radius:10px;padding:38px;color:var(--home-text)}
.home-contact-dialog::backdrop{background:rgba(0,0,0,.68)}
.home-contact-dialog h2{margin-bottom:12px;font-size:34px}
.home-contact-intro{margin:0 0 22px;color:#555;line-height:1.55}
.home-contact-form label{display:block;margin:0 0 16px;font-weight:500}
.home-contact-form input,.home-contact-form textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #cfcfcf;border-radius:6px;background:#fff;font:inherit;color:inherit}
.home-contact-form textarea{resize:vertical}
.home-contact-turnstile{margin:4px 0 18px}
.home-contact-form .home-button{width:100%}
.home-contact-message{min-height:1.4em;margin:12px 0 0;font-size:14px}
@media(max-width:760px){.home-contact-dialog{padding:34px 24px 26px}}
