@charset "UTF-8";

:root {
  --wv-ground: #58b658;
  --wv-ink: #222b23;
  --wv-accent: #155bbd;
  --wv-support: #e0e6df;
  --wv-surface: #ffffff;
  --wv-display: "Rowdies", "Trebuchet MS", sans-serif;
  --wv-reading: "Text Me One", "Trebuchet MS", sans-serif;
  --wv-gutter: clamp(22px, 3.34vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--wv-surface); color: var(--wv-ink); font-family: var(--wv-reading); font-size: 22px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; color: var(--wv-ink); font-size: 17px; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--wv-ink); outline-offset: 6px; }
::selection { background: var(--wv-ground); color: var(--wv-ink); }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--wv-display); font-weight: 400; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(29px, 2.9vw, 43px); letter-spacing: -0.025em; }
h3 { font-size: 25px; }
p { text-wrap: pretty; }
svg[data-lucide], svg.lucide { width: 23px; height: 23px; flex: 0 0 23px; }
i[data-lucide] { display: inline-block; width: 23px; height: 23px; flex: 0 0 23px; }

.wv-skip { position: absolute; z-index: 5; left: var(--wv-gutter); top: -120px; padding: 12px 18px; background: var(--wv-surface); font-size: 20px; }
.wv-skip:focus { top: 12px; }
.wv-width { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--wv-gutter); }
.wv-masthead { padding-top: 14px; padding-bottom: 10px; }
.wv-wordmark { display: block; width: fit-content; font-family: var(--wv-display); font-size: clamp(31px, 4.15vw, 70px); line-height: 1.1; text-decoration: none; letter-spacing: -0.035em; }
.wv-wordmark:hover { text-decoration: underline; text-decoration-color: var(--wv-ground); text-decoration-thickness: 5px; }
.wv-ingredient-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.wv-ingredient-legend a { display: flex; align-items: center; min-height: 40px; width: fit-content; font-size: clamp(25px, 2.25vw, 36px); line-height: 1.2; text-decoration: none; }
.wv-ingredient-legend a:hover, .wv-ingredient-legend a:focus-visible { text-decoration: underline; text-decoration-color: var(--wv-ground); text-decoration-thickness: 5px; text-underline-offset: 7px; }
.wv-reading-path { display: flex; flex-wrap: wrap; gap: 6px 30px; padding-top: 4px; font-size: 17px; line-height: 1.3; }
.wv-reading-path a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; text-decoration: none; }
.wv-reading-path svg, .wv-reading-path i { width: 19px; height: 19px; flex-basis: 19px; }
.wv-reading-path a:hover, .wv-reading-path a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* The photograph and the words have separate, opaque ground. The drawing lives in its margin. */
.wv-opening { display: grid; grid-template-columns: minmax(0, 1.67fr) minmax(0, 1fr); grid-template-areas: "photo welcome" "title title"; column-gap: 72px; row-gap: 13px; padding-top: 13px; padding-bottom: 65px; }
.wv-home-title { grid-area: title; max-width: 1340px; font-size: clamp(45px, 5.15vw, 82px); line-height: 1.04; letter-spacing: -0.04em; }
.wv-welcome { grid-area: welcome; align-self: center; max-width: 440px; padding-bottom: 26px; }
.wv-owner-note { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1.4; margin-bottom: 22px; }
.wv-owner-note svg { width: 31px; height: 31px; flex-basis: 31px; }
.wv-lead { font-size: clamp(24px, 2.05vw, 31px); line-height: 1.35; }
.wv-welcome .wv-sublead { font-size: 20px; line-height: 1.4; margin-top: 22px; max-width: 320px; }
.wv-aperture { grid-area: photo; min-width: 0; }
.wv-aperture-field { position: relative; padding: 18px; isolation: isolate; }
.wv-aperture-field::before { content: ""; position: absolute; z-index: -1; inset: 0 77px 0 0; border-top: 11px solid var(--wv-ground); border-left: 11px solid var(--wv-ground); border-bottom: 11px solid var(--wv-ground); pointer-events: none; }
.wv-aperture-field::after { content: ""; position: absolute; right: 0; top: 0; width: 49px; height: 49px; border-top: 11px solid var(--wv-accent); border-right: 11px solid var(--wv-accent); pointer-events: none; }
.wv-aperture img { width: 100%; aspect-ratio: 5 / 3; object-fit: contain; object-position: 50% 50%; }
.wv-aperture figcaption { margin-top: 12px; padding-left: 18px; font-size: 16px; line-height: 1.35; }

/* Inner-page titles run wide; leads and photographic bands step to the right. */
.wv-page-opening { padding-top: 28px; padding-bottom: 45px; }
.wv-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 17px; margin-bottom: 30px; }
.wv-breadcrumb svg { width: 19px; height: 19px; flex-basis: 19px; }
.wv-page-opening h1 { max-width: 1160px; font-size: clamp(40px, 5.3vw, 78px); line-height: 1.08; }
.wv-page-opening .wv-lead { max-width: 750px; margin-top: 32px; margin-left: 24%; }
.wv-photo-band { display: grid; grid-template-columns: minmax(0, 0.29fr) minmax(0, 1fr); column-gap: 36px; row-gap: 14px; margin-bottom: 58px; }
.wv-photo-band img { grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 5 / 2; object-fit: contain; object-position: 50% 50%; }
.wv-band-mark { grid-column: 1; grid-row: 1; align-self: end; justify-self: start; color: var(--wv-ground); padding-bottom: 12px; }
.wv-band-mark svg, .wv-band-mark i { display: block; width: clamp(70px, 8vw, 130px); height: clamp(70px, 8vw, 130px); }
.wv-photo-band figcaption { grid-column: 2; max-width: 770px; font-size: 17px; line-height: 1.4; }

/* One continuous account, with headings held in the margin rather than boxed in cards. */
.wv-central-account { padding-bottom: 94px; }
.wv-account-section { display: grid; grid-template-columns: minmax(0, 0.73fr) minmax(0, 1.38fr) minmax(0, 0.16fr); column-gap: 64px; padding-top: 42px; padding-bottom: 48px; }
.wv-account-section + .wv-account-section { margin-top: 24px; }
.wv-account-heading { position: sticky; top: 32px; align-self: start; max-width: 370px; padding-top: 10px; }
.wv-number { display: block; font-family: var(--wv-display); font-size: clamp(82px, 8.5vw, 136px); line-height: 0.9; letter-spacing: -0.065em; color: var(--wv-ground); margin-bottom: 24px; margin-left: -5px; }
.wv-prose { max-width: 760px; min-width: 0; }
.wv-prose p + p { margin-top: 23px; }
.wv-prose a { text-decoration-thickness: 1.5px; }
.wv-prose a:hover { text-decoration-thickness: 3px; }
.wv-account-section:target h2 { text-decoration: underline; text-decoration-color: var(--wv-ground); text-decoration-thickness: 4px; text-underline-offset: 7px; }
.wv-ingredient-account .wv-account-section { display: block; max-width: 810px; margin-left: 24%; padding-block: 34px; }
.wv-ingredient-account .wv-account-heading { position: static; max-width: none; padding-top: 0; margin-left: -7%; margin-bottom: 26px; }
.wv-ingredient-account .wv-account-heading h2 { max-width: 750px; }
.wv-source-list { list-style: none; padding: 0; margin-top: 36px; }
.wv-source-list li { padding-block: 27px; }
.wv-source-list li + li { border-top: 2px solid var(--wv-support); }
.wv-source-name { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.wv-source-citation { font-size: 17px; line-height: 1.5; margin-bottom: 11px; }
.wv-source-note { font-size: 21px; }

/* The green account breaks the white page, with an empty cut corner and a hanging label. */
.wv-outside { position: relative; margin-top: 46px; background: var(--wv-ground); padding-block: 64px 66px; }
.wv-outside::before { content: ""; position: absolute; right: 0; top: -45px; width: min(24vw, 330px); height: 46px; background: var(--wv-ground); clip-path: polygon(0 100%, 100% 0, 100% 100%); pointer-events: none; }
.wv-outside-grid { display: grid; grid-template-columns: minmax(0, 0.73fr) minmax(0, 1.38fr) minmax(0, 0.16fr); column-gap: 64px; }
.wv-outside-heading { position: relative; align-self: start; max-width: 370px; }
.wv-margin-word { position: relative; margin-top: -105px; margin-bottom: 48px; font-size: 26px; line-height: 1.4; }
.wv-outside h2 { font-size: clamp(34px, 3.25vw, 49px); }
.wv-outside .wv-prose { padding-top: 3px; }
.wv-outside ::selection { background: var(--wv-surface); color: var(--wv-ink); }
.wv-next-reads { display: flex; flex-wrap: wrap; gap: 18px 40px; padding-top: 40px; }
.wv-next-reads a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: none; }
.wv-next-reads a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

.wv-footer { padding-top: 66px; padding-bottom: 30px; }
.wv-footer-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 85px; }
.wv-footer-name { max-width: 570px; font-family: var(--wv-display); font-size: clamp(38px, 4.6vw, 70px); letter-spacing: -0.045em; line-height: 1.06; }
.wv-footer-description { max-width: 450px; margin-top: 24px; font-size: 20px; }
.wv-all-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; align-content: start; font-size: 19px; }
.wv-all-pages a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; width: fit-content; text-decoration: none; }
.wv-all-pages a:hover, .wv-all-pages a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.wv-copyright { margin-top: 52px; font-size: 16px; }
.wv-error { padding-top: 70px; padding-bottom: 110px; max-width: 1100px; }
.wv-error p { margin-top: 32px; max-width: 620px; }

@media (min-width: 1650px) {
  .wv-opening { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
}

@media (max-width: 1100px) {
  .wv-opening { column-gap: 36px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .wv-welcome { padding-bottom: 0; }
  .wv-lead { font-size: 25px; }
  .wv-welcome .wv-sublead { font-size: 19px; }
  .wv-account-section, .wv-outside-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); column-gap: 38px; }
  .wv-margin-word { font-size: 24px; }
  .wv-footer-top { gap: 40px; }
}

@media (max-width: 700px) {
  body { font-size: 20px; line-height: 1.55; }
  .wv-masthead { padding-top: 20px; padding-bottom: 14px; }
  .wv-wordmark { font-size: clamp(29px, 7.8vw, 48px); line-height: 1.15; white-space: nowrap; }
  .wv-ingredient-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 3px; margin-top: 16px; }
  .wv-ingredient-legend a { font-size: 27px; min-height: 44px; }
  .wv-reading-path { font-size: 16px; gap: 0 17px; padding-top: 13px; }
  .wv-reading-path a { gap: 6px; min-height: 40px; }
  .wv-reading-path svg, .wv-reading-path i { width: 16px; height: 16px; flex-basis: 16px; }
  .wv-opening { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "welcome" "photo"; row-gap: 25px; padding-top: 22px; padding-bottom: 48px; }
  .wv-home-title { font-size: clamp(36px, 9.6vw, 64px); line-height: 1.08; letter-spacing: -0.035em; }
  .wv-welcome { max-width: none; }
  .wv-owner-note { margin-bottom: 15px; font-size: 17px; gap: 10px; }
  .wv-owner-note svg { width: 24px; height: 24px; flex-basis: 24px; }
  .wv-lead { font-size: 23px; line-height: 1.4; }
  .wv-welcome .wv-sublead { max-width: none; font-size: 19px; margin-top: 18px; }
  .wv-aperture-field { padding: 15px; }
  .wv-aperture-field::before { inset: 0 53px 0 0; border-width: 8px; }
  .wv-aperture-field::after { width: 34px; height: 34px; border-width: 8px; }
  .wv-aperture figcaption { margin-top: 13px; padding-left: 15px; font-size: 16px; }
  .wv-page-opening { padding-top: 24px; padding-bottom: 32px; }
  .wv-breadcrumb { font-size: 16px; margin-bottom: 25px; gap: 8px; }
  .wv-page-opening h1 { font-size: clamp(37px, 10vw, 62px); }
  .wv-page-opening .wv-lead { margin-left: 0; margin-top: 25px; }
  .wv-photo-band { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; row-gap: 12px; margin-bottom: 30px; }
  .wv-band-mark { padding-bottom: 0; align-self: center; }
  .wv-band-mark svg, .wv-band-mark i { width: 24px; height: 24px; }
  .wv-photo-band figcaption { grid-column: 1 / -1; font-size: 16px; }
  .wv-central-account { padding-bottom: 48px; }
  .wv-account-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 35px; }
  .wv-account-section + .wv-account-section { margin-top: 8px; }
  .wv-account-heading { position: static; padding-top: 0; max-width: none; }
  .wv-number { font-size: 77px; margin-bottom: 15px; margin-left: -2px; }
  .wv-prose { max-width: none; }
  .wv-prose p + p { margin-top: 21px; }
  .wv-ingredient-account .wv-account-section { margin-left: 0; padding-block: 27px; }
  .wv-ingredient-account .wv-account-heading { margin-left: 0; margin-bottom: 23px; }
  .wv-outside { margin-top: 36px; padding-top: 42px; padding-bottom: 42px; }
  .wv-outside::before { top: -27px; height: 28px; width: 86px; }
  .wv-outside-grid { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .wv-outside-heading { max-width: none; }
  .wv-margin-word { margin-top: -76px; margin-bottom: 34px; font-size: 23px; }
  .wv-outside h2 { font-size: 35px; }
  .wv-next-reads { padding-top: 27px; gap: 12px 23px; font-size: 19px; }
  .wv-source-list { margin-top: 17px; }
  .wv-source-name { font-size: 23px; }
  .wv-source-note { font-size: 20px; }
  .wv-footer { padding-top: 43px; }
  .wv-footer-top { grid-template-columns: minmax(0, 1fr); gap: 31px; }
  .wv-footer-name { font-size: 43px; }
  .wv-footer-description { font-size: 19px; margin-top: 19px; }
  .wv-all-pages { font-size: 18px; column-gap: 18px; row-gap: 10px; }
  .wv-all-pages a { gap: 7px; }
  .wv-all-pages svg, .wv-all-pages i { width: 20px; height: 20px; flex-basis: 20px; }
  .wv-copyright { margin-top: 33px; }
  .wv-error { padding-top: 45px; padding-bottom: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
