/* The field notes index: the featured note, and the picture cards.
   Loaded only on /blog/, after the shared sheets, so the plain selectors
   here win over the generic .inner-page rules without needing !important. */

/* ---------------------------------------------------------------- the hero */
/* The left column used to run out of content well above the card beside it.
   A single line of context under the lede, and a card that now carries a
   picture, bring the two columns to roughly the same height. */
.notes-page .notes-hero.light-section p.notes-lede-meta{font-size:13px;line-height:1.6;color:#666c5f;margin-top:26px;padding-top:20px;border-top:1px solid #dfe2d7;max-width:530px}

/* The card is the one rotated object on the page, a motif the site already
   uses for its workflow previews. The picture bleeds to three edges, so the
   padding moves off the link and onto the text half. */
.featured-note{display:block;padding:0;overflow:hidden;background:#343b31;border-radius:22px}
.featured-shot{display:block;aspect-ratio:1200/630;overflow:hidden;background:#2c322a;font-size:0;letter-spacing:0}
.featured-shot>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.featured-note:hover .featured-shot>img{transform:scale(1.03)}
/* The card's own span rules in pages.css set a display letter-spacing that
   the text half must not inherit. */
.featured-body{display:block;padding:32px 36px 36px;letter-spacing:normal}
.featured-kicker{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;letter-spacing:1.5px;color:#c2d49f}
.featured-kicker:before{content:'';width:18px;height:2px;background:#ABC502;flex:none}
.notes-page .light-section .featured-note h2{font-size:clamp(30px,2.6vw,38px);font-weight:600;letter-spacing:-1.6px;line-height:1.16;color:#dcf0a2;margin-top:18px}
.notes-page .light-section .featured-note .featured-body p{font-size:15px;line-height:1.72;letter-spacing:normal;color:#ccd6c0;margin-top:16px;max-width:44ch}
.notes-page .featured-note b{display:block;font-size:13.5px;font-weight:500;color:#e6ecdc;margin-top:26px}

/* ------------------------------------------------------------- the toolbar */
.notes-toolbar{padding-bottom:22px;border-bottom:1px solid #dfe2d7}
.notes-toolbar h2{font-weight:600;letter-spacing:-1.3px}
.notes-count{font-size:12.5px;letter-spacing:.2px;color:#666c5f;margin:22px 0 0}
.notes-filters{margin:18px 0 34px}
.notes-filters button{transition:background .18s,border-color .18s,color .18s}
.notes-filters button:hover:not([aria-pressed=true]){border-color:#aebb8a;color:#3f4a33}

/* ---------------------------------------------------------------- the cards */
.notes-grid{gap:26px 24px}

/* One link covers the card. The heading carries it — so the card announces
   itself by its title rather than by the word "Read" forty-four times — and
   the overlay it stretches sits above the rest of the card's own content. */
.note-card{position:relative;padding:0;overflow:hidden;border-radius:18px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.note-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #2f3a2214;border-color:#c9d3b7}
.note-card:focus-within{border-color:#8d9c66}

.note-shot{display:block;aspect-ratio:1200/630;overflow:hidden;background:#eceee4;font-size:0}
.note-shot>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.note-card:hover .note-shot>img{transform:scale(1.045)}

.note-body{display:flex;flex-direction:column;flex:1;padding:24px 26px 26px}
.note-meta{display:flex;align-items:center;gap:10px;font-size:11.5px;font-weight:600;letter-spacing:.9px;text-transform:uppercase;color:#6e7565}
.note-meta>i{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.6;flex:none}
.notes-page .note-card h3{font-size:22px;font-weight:600;letter-spacing:-.7px;line-height:1.32;margin:15px 0 0}
.note-card h3>a{color:inherit}
.note-card h3>a:after{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit}
.note-card h3>a:focus-visible{outline:none}
.note-card:has(h3>a:focus-visible){outline:2px solid #55672c;outline-offset:3px}
.note-card>.note-body>p{font-size:14.5px;line-height:1.78;color:#61675b;margin:14px 0 24px}
.note-read{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:600;letter-spacing:.2px;padding-top:18px;margin-top:auto;border-top:1px solid #e4e7dc}
.note-read>span{transition:transform .22s}
.note-card:hover .note-read>span{transform:translate(3px,-3px)}

/* ------------------------------------------------------------------ narrow */
@media(max-width:1100px){
  .notes-grid{gap:22px 20px}
  .featured-body{padding:26px 28px 30px}
  .note-body{padding:21px 22px 23px}
  .notes-page .note-card h3{font-size:20px}
}
@media(max-width:780px){
  .notes-page .notes-hero.light-section p.notes-lede-meta{margin-top:22px;padding-top:18px;font-size:12.5px}
  .featured-note{transform:none}
  .note-card{padding:0}
  .note-body{padding:24px 25px 26px}
  .notes-page .note-card h3{font-size:21px}
  .note-card>.note-body>p{font-size:15px}
  .notes-toolbar label{margin-top:22px}
  .notes-count{margin-top:18px}
}
