/*
 * Wine Notes (/field-notes/wine-notes/), v13:
 * prototypes/13/41-wine-notes.html (CD 2026-11-04-field-notes-hub-41-pass).
 * Built on the Blake's Journal archive's rules (blakes-journal.css, same
 * structure: hero, posts, pager, hand-off), with 41's own values, the
 * bottles ("Wines from these stories", editorial.css .ed-bottle) and the
 * one-photo Conservation Circle bridge. Loaded after field-notes.css.
 * Brief: docs/briefs/2026-10-31-field-notes-wp-port.md (41; goal batch 3 item 5).
 *
 * Differences from the prototype, all mechanical: as blakes-journal.css, and
 * the bottle shot is an <img> (contain) rather than a background, and Add to
 * cart is the plugin's winery/add-to-cart painted as .ed-add.
 */

.rhinory-page--wine-notes { background: #FBF7EE; }

/* editorial.css, the rules prototype 39 uses that field-notes.css does not carry */
.rhinory-wine-notes .ed-p { margin:0;font-family:"Lora",Georgia,serif;font-size:17px;line-height:1.72;color:var(--ink-warm-2);text-wrap:pretty }
.rhinory-wine-notes .ed-p strong { font-weight:600;color:var(--ink-warm) }
.rhinory-wine-notes .ed-p em { font-style:italic }
.rhinory-wine-notes .ed-p a { color:var(--burgundy);text-decoration:none;border-bottom:1px solid rgba(82,0,0,.35);transition:border-color .2s }
.rhinory-wine-notes .ed-p a:hover { border-bottom-color:var(--burgundy) }
.rhinory-wine-notes .ed-tsr { background:var(--paper);border-top:1px solid var(--rule-warm-2);padding:64px 0;scroll-margin-top:96px }
.rhinory-wine-notes .ed-tsr .ed-wrap { display:grid;grid-template-columns:1fr auto;gap:48px;align-items:center }
.rhinory-wine-notes .ed-tsr-copy { display:flex;flex-direction:column;gap:16px;max-width:70ch }
.rhinory-wine-notes .ed-tsr-line { margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(24px,2.4vw,32px);line-height:1.26;color:var(--ink-warm);text-wrap:pretty }
.rhinory-wine-notes .ed-tsr-line em { font-style:italic;color:var(--burgundy) }
.rhinory-wine-notes .ed-tsr-links { display:flex;flex-direction:column;gap:12px }
.rhinory-field-notes.rhinory-wine-notes .ed-tsr-link { display:inline-flex;align-items:center;justify-content:space-between;gap:14px;white-space:nowrap;font-family:"Josefin Sans",system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--burgundy);text-decoration:none;border:1px solid var(--rule-warm-2);padding:16px 26px;min-height:44px;transition:border-color .25s,background .25s }
.rhinory-field-notes.rhinory-wine-notes .ed-tsr-link:hover { border-color:var(--burgundy);background:rgba(82,0,0,.05);color:var(--burgundy) }
.rhinory-wine-notes .ed-tsr-link .arr { font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:0;transition:transform .25s }
.rhinory-wine-notes .ed-tsr-link:hover .arr { transform:translateX(5px) }
.rhinory-wine-notes .ed-tsr-link:focus-visible { outline:2px solid var(--burgundy);outline-offset:3px }

/* 39-blakes-journal.css */
.rhinory-wine-notes .wn-head { padding:clamp(40px,5vw,64px) 0 clamp(48px,5vw,72px);background:var(--paper) }
.rhinory-wine-notes .wn-head-grid { display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,5vw,80px);align-items:end;margin-bottom:clamp(32px,4vw,48px) }
.rhinory-wine-notes .wn-head .ed-h1 em { display:block }
.rhinory-wine-notes .wn-head-side { display:flex;flex-direction:column;gap:28px;padding-bottom:8px }
.rhinory-wine-notes .wn-head-side .ed-lede { max-width:46ch;text-wrap:balance }
.rhinory-wine-notes .wn-head-fig { margin:0 }
.rhinory-wine-notes .wn-head-fig .ed-photo { aspect-ratio:2400/1100 }
.rhinory-wine-notes .wn-head-fig .ed-photo img { object-position:var(--photo-focal, 50% 48%);transform-origin:50% 48%;animation:wn-kb 22s cubic-bezier(.2,.7,.2,1) both }
@keyframes wn-kb { from { transform:scale(1.02) } to { transform:scale(1.12) } }

.rhinory-wine-notes .wn-sec-head { margin-bottom:clamp(36px,4vw,56px) }

.rhinory-wine-notes .wn-grid { display:flex;flex-wrap:wrap;justify-content:center;gap:24px }
.rhinory-wine-notes .wn-grid>.ed-card { flex:0 1 calc((100% - 48px)/3);min-width:0 }
.rhinory-wine-notes .wn-post .ed-photo { aspect-ratio:4/3 }
.rhinory-wine-notes .wn-post .ed-card-body { padding:24px 26px 28px;gap:14px }
.rhinory-wine-notes .wn-post .ed-card-x { font-size:16px;line-height:1.68 }
.rhinory-wine-notes .wn-foot { margin:auto 0 0;padding-top:16px;border-top:1px solid var(--rule-warm);font-family:"Lora",Georgia,serif;font-style:italic;font-size:15px;line-height:1.5;color:var(--ink-warm-2) }
.rhinory-field-notes.rhinory-wine-notes .wn-post a.wn-link,
.rhinory-field-notes.rhinory-wine-notes .wn-post a.wn-link:hover { color:inherit;text-decoration:none }
.rhinory-wine-notes .wn-post .wn-link::after { content:"";position:absolute;inset:0;z-index:1 }
.rhinory-wine-notes .wn-post .wn-link:focus-visible { outline:none }
.rhinory-wine-notes .wn-post:has(.wn-link:focus-visible) { outline:2px solid var(--burgundy);outline-offset:3px }
.rhinory-wine-notes .wn-rv { opacity:0;transform:translate3d(0,22px,0) }
.rhinory-wine-notes .wn-rv.wn-go { opacity:1;transform:none;transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1) }

.rhinory-wine-notes .wn-vh { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }
.rhinory-wine-notes .wn-pages { display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:clamp(40px,5vw,64px) }
.rhinory-field-notes.rhinory-wine-notes .wn-pages a { display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:52px;min-height:52px;padding:0 18px;border:1px solid var(--rule-warm-2);font-family:"Josefin Sans",system-ui,sans-serif;font-weight:600;font-size:15px;letter-spacing:0;color:var(--ink-warm);text-decoration:none;white-space:nowrap;transition:border-color .25s,color .25s,background .25s }
.rhinory-field-notes.rhinory-wine-notes .wn-pages a:hover { border-color:var(--burgundy);color:var(--burgundy) }
.rhinory-field-notes.rhinory-wine-notes .wn-pages a[aria-current="page"] { background:var(--burgundy);border-color:var(--burgundy);color:var(--paper) }
.rhinory-field-notes.rhinory-wine-notes .wn-pages .wn-next,
.rhinory-field-notes.rhinory-wine-notes .wn-pages .wn-prev { padding:0 26px;border-color:rgba(82,0,0,.45);color:var(--burgundy);font-size:13px;letter-spacing:.16em;text-transform:uppercase }
.rhinory-field-notes.rhinory-wine-notes .wn-pages .wn-next:hover,
.rhinory-field-notes.rhinory-wine-notes .wn-pages .wn-prev:hover { background:rgba(82,0,0,.05) }
.rhinory-wine-notes .wn-pages a:focus-visible { outline:2px solid var(--burgundy);outline-offset:3px }
.rhinory-wine-notes .wn-pages .arrow { position:relative;width:16px;height:1px;background:currentColor;transition:width .25s }
.rhinory-wine-notes .wn-pages .arrow::after { content:"";position:absolute;right:0;top:-3px;width:7px;height:7px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg) }
.rhinory-wine-notes .wn-pages .wn-prev .arrow::after { right:auto;left:0;transform:rotate(-135deg) }
.rhinory-wine-notes .wn-pages a:hover .arrow { width:22px }

.rhinory-wine-notes .wn-tsr { background:var(--card) }
.rhinory-wine-notes .wn-tsr .ed-wrap { grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(32px,4vw,56px) }
.rhinory-wine-notes .wn-tsr-fig { width:240px;margin:0 }
.rhinory-wine-notes .wn-tsr-fig .ed-photo { aspect-ratio:4/5 }
.rhinory-wine-notes .wn-tsr-fig .ed-photo img { object-position:var(--photo-focal, 50% 40%) }

@media (max-width:1080px) {
	.rhinory-wine-notes .wn-tsr .ed-wrap { grid-template-columns:auto minmax(0,1fr) }
	.rhinory-wine-notes .wn-tsr .ed-tsr-links { grid-column:2;justify-self:start }
	.rhinory-wine-notes .wn-tsr-fig { width:200px;grid-row:span 2 }
}
@media (max-width:900px) {
	.rhinory-wine-notes .ed-tsr .ed-wrap { grid-template-columns:1fr;gap:26px }
	.rhinory-wine-notes .wn-head-grid { grid-template-columns:1fr;gap:24px;align-items:start }
	.rhinory-wine-notes .wn-head-side { padding-bottom:0 }
	.rhinory-wine-notes .wn-head-fig .ed-photo { aspect-ratio:16/10 }
		.rhinory-wine-notes .wn-tsr .ed-wrap { grid-template-columns:1fr;gap:26px }
	.rhinory-wine-notes .wn-tsr .ed-tsr-links { grid-column:auto;justify-self:start }
	.rhinory-wine-notes .wn-tsr-fig { width:100%;max-width:320px;grid-row:auto }
}
@media (max-width:1080px) and (min-width:641px) {
	.rhinory-wine-notes .wn-grid { gap:20px }
	.rhinory-wine-notes .wn-grid>.ed-card { flex-basis:100% }
	.rhinory-wine-notes .wn-grid>.ed-card:not(.is-text) { display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr) }
	.rhinory-wine-notes .wn-grid .ed-card .ed-photo { aspect-ratio:auto;min-height:280px;border-bottom:0;border-right:1px solid var(--rule-warm) }
}
@media (max-width:640px) {
	.rhinory-wine-notes .wn-grid { gap:20px }
	.rhinory-wine-notes .wn-grid>.ed-card { flex-basis:100% }
}
@media (max-width:640px) {
	.rhinory-field-notes.rhinory-wine-notes .ed-tsr-link { white-space:normal }
	.rhinory-wine-notes .wn-head-fig .ed-photo { aspect-ratio:4/3 }
		.rhinory-wine-notes .wn-post .ed-card-body { padding:24px 22px 26px }
}
@media (prefers-reduced-motion:reduce) {
	.rhinory-wine-notes .wn-pages a, .rhinory-wine-notes .wn-pages .arrow, .rhinory-wine-notes .ed-tsr-link .arr { transition:none }
	.rhinory-wine-notes .wn-head-fig .ed-photo img { animation:none;transform:none }
	.rhinory-wine-notes .wn-rv { opacity:1;transform:none }
}

/* section head split: heading + lede left, shop button right */
.rhinory-wine-notes .wn-sec-head.is-split { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:end }
.rhinory-wine-notes .wn-sec-head.is-split .ed-lede { margin-top:20px }
.rhinory-wine-notes .wn-sec-head .ed-ctas .btn { white-space:nowrap }
.rhinory-wine-notes .ed-paper { background:var(--paper) }

/* the bottles · editorial.css .ed-bottle */
.rhinory-wine-notes .ed-bottles { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px }
.rhinory-wine-notes .ed-bottle { position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--rule-warm-2);color:var(--ink-warm);text-decoration:none;transition:transform .25s ease,border-color .25s ease,background-color .4s ease }
.rhinory-wine-notes .ed-bottle:hover { transform:translateY(-4px);border-color:var(--burgundy);background-color:var(--paper) }
.rhinory-wine-notes .ed-bottle:focus-within { border-color:var(--burgundy) }
.rhinory-wine-notes .ed-bottle-img { aspect-ratio:4/5;background:#fff;border-bottom:1px solid var(--rule-warm);display:flex;align-items:center;justify-content:center;overflow:hidden;transition:background-color .4s ease }
.rhinory-wine-notes .ed-bottle-img img { width:auto;height:84%;max-width:100%;object-fit:contain;transform:translateY(4%);transition:transform .7s cubic-bezier(.2,.7,.2,1) }
.rhinory-wine-notes .ed-bottle:hover .ed-bottle-img { background-color:var(--paper) }
.rhinory-wine-notes .ed-bottle:hover .ed-bottle-img img { transform:none }
.rhinory-wine-notes .ed-bottle-body { padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1 }
.rhinory-wine-notes .ed-bottle-body h3 { margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:24px;line-height:1.1;letter-spacing:-.006em }
.rhinory-wine-notes .ed-bottle-body .ed-meta { font-family:"Josefin Sans",system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--rhino-warm);display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap }
.rhinory-wine-notes .ed-bottle-body .ed-meta .sep { color:var(--burgundy) }
.rhinory-wine-notes .ed-bottle-actions { margin-top:auto;padding-top:12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px }
.rhinory-field-notes.rhinory-wine-notes .ed-bottle a.ed-go { display:inline-flex;align-items:center;gap:10px;min-height:44px;font-family:"Josefin Sans",system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--burgundy);text-decoration:none;white-space:nowrap }
.rhinory-wine-notes .ed-bottle .ed-go::after { content:"";position:absolute;inset:0;z-index:1 }
.rhinory-wine-notes .ed-bottle .ed-go .arr { font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:0;transition:transform .25s }
.rhinory-wine-notes .ed-bottle:hover .ed-go .arr { transform:translateX(5px) }
.rhinory-wine-notes .ed-bottle .ed-go:focus-visible { outline:2px solid var(--burgundy);outline-offset:3px }
/* the plugin's add-to-cart above the stretched link, painted as .ed-add */
.rhinory-wine-notes .ed-bottle .winery-add-to-cart { position:relative;z-index:2;align-self:stretch;margin:0 }
.rhinory-wine-notes .ed-bottle .winery-add-to-cart__button { display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:12px 18px;background:var(--burgundy);color:var(--paper);border:1px solid var(--burgundy);border-radius:2px;cursor:pointer;font-family:"Josefin Sans",system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;box-shadow:0 12px 30px -14px rgba(82,0,0,.45);transition:background .22s,transform .18s,color .22s }
.rhinory-wine-notes .ed-bottle .winery-add-to-cart__button:hover { background:#3d0000;transform:translateY(-1px) }
.rhinory-wine-notes .ed-bottle .winery-add-to-cart__button:focus-visible { outline:2px solid var(--burgundy);outline-offset:3px }
.rhinory-wine-notes .ed-bottle .winery-add-to-cart__button:disabled { background:var(--card-2);color:var(--ink-warm-2);border-color:var(--card-2);box-shadow:none;cursor:not-allowed }
.rhinory-wine-notes .ed-bottle .winery-add-to-cart__message { margin:6px 0 0;font-family:"Lora",Georgia,serif;font-size:13px;line-height:1.5;color:var(--burgundy) }
.rhinory-wine-notes .ed-bottle .winery-add-to-cart__message:empty { display:none }
.rhinory-wine-notes .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0 }

/* card stagger 100/200/300ms after the section reveal (38's rule) */
html.js .rhinory-wine-notes .ed-reveal:not(.is-in) :is(.wn-grid,.wn-bottles) > * { opacity:0 }
html.js .rhinory-wine-notes .ed-reveal.is-in :is(.wn-grid,.wn-bottles) > * { animation:wn-rise 1s cubic-bezier(.2,.7,.2,1) backwards }
html.js .rhinory-wine-notes .ed-reveal.is-in :is(.wn-grid,.wn-bottles) > :nth-child(1) { animation-delay:.1s }
html.js .rhinory-wine-notes .ed-reveal.is-in :is(.wn-grid,.wn-bottles) > :nth-child(2) { animation-delay:.2s }
html.js .rhinory-wine-notes .ed-reveal.is-in :is(.wn-grid,.wn-bottles) > :nth-child(n+3) { animation-delay:.3s }
@keyframes wn-rise { from { opacity:0;transform:translate3d(0,22px,0) } to { opacity:1;transform:none } }

@media (max-width:1180px) { .rhinory-wine-notes .ed-bottles { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media (max-width:900px) { .rhinory-wine-notes .wn-sec-head.is-split { grid-template-columns:1fr;align-items:start } }
@media (max-width:640px) { .rhinory-wine-notes .ed-bottles { grid-template-columns:1fr } }
@media (prefers-reduced-motion:reduce) {
	html.js .rhinory-wine-notes .ed-reveal :is(.wn-grid,.wn-bottles) > * { opacity:1 !important;animation:none !important }
	.rhinory-wine-notes .ed-bottle, .rhinory-wine-notes .ed-bottle-img img { transition:none }
}

/* the bridge's one button is the filled acacia one (editorial.css .ed-tsr-link.is-fill) */
.rhinory-field-notes.rhinory-wine-notes .ed-tsr-link.is-fill { background:var(--acacia);color:#1C1916;border-color:var(--acacia);box-shadow:0 12px 34px -14px rgba(185,119,39,.5) }
.rhinory-field-notes.rhinory-wine-notes .ed-tsr-link.is-fill:hover { background:var(--reserve);color:var(--ivory);border-color:var(--reserve) }
