/* Documentary images and editorial layouts for the four public role entry points. */
.role-page {
  --role-ink: #223c21;
  --role-rule: #c2cbb8;
  --role-paper: #faf8ef;
  --role-muted: #415542;
}
.role-page main { background-color: var(--role-paper); }
.role-page.gr-public .gr-page-intro {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(2rem, 4.4vw, 4.3rem);
}
.role-page .role-intro-copy { min-width: 0; }
.role-page.gr-public .role-intro-copy h1 {
  font: 650 clamp(3.15rem, 5.4vw, 5.8rem)/.99 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.063em;
  color: var(--role-ink);
  margin-block: .65rem 1.15rem;
}
.role-page.gr-public .role-intro-copy h1 em { font-style: normal; color: #476d45; }
.role-page.gr-public .role-intro-copy .lead { max-width: 42ch; color: var(--role-muted); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.52; }
.role-page .role-picture { display: block; width: 100%; min-width: 0; margin: 0; }
.role-page .role-picture img { display: block; width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; }
.role-page .role-picture figcaption { margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--role-rule); font: 500 .84rem/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--role-muted); }
.role-page .gr-band { background-color: #e9eddf; }
.role-page .gr-section-heading h2, .role-page .gr-audience-detail h2 { color: var(--role-ink); }
.role-audiences .gr-page-intro .gr-audience-picker { grid-column: 1 / -1; margin-top: clamp(1.5rem, 3vw, 3rem); }
.role-audiences .role-picture img { aspect-ratio: 2.3; object-position: 50% 43%; }
.role-audiences .gr-audience-picker ol { column-gap: clamp(1.5rem, 4vw, 4rem); }
.role-audiences .gr-audience-picker a { min-height: 72px; }
.role-programmes .role-picture img { aspect-ratio: 1.47; }
.role-wholesale .hero {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.8rem, 4vw, 4.3rem); align-items: center;
  text-align: left; min-height: 0; background: var(--role-paper); padding: clamp(2.6rem, 5vw, 5rem) max(5vw, calc((100vw - 1260px)/2));
}
.role-wholesale .hero::before { content: none; }
.role-wholesale .hero-title { color: var(--role-ink); -webkit-text-fill-color: currentColor; background: none; font-weight: 660; font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.056em; }
.role-wholesale .hero-eyebrow { color: #46663f; font-size: .95rem; }
.role-wholesale .hero-subtitle { margin: 0; color: var(--role-muted); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; }
.role-wholesale .role-picture img { aspect-ratio: 1.5; }
/* A hero with no picture is one column: the copy keeps a readable measure and nothing is left blank beside it. */
.role-page.gr-public .gr-page-intro:not(:has(.role-picture)), .role-wholesale .hero:not(:has(.role-picture)) { grid-template-columns: minmax(0, 1fr); }
.role-page.gr-public .gr-page-intro:not(:has(.role-picture)) .role-intro-copy, .role-wholesale .hero:not(:has(.role-picture)) .hero-content { max-width: 52rem; }
.role-wholesale .section { padding-block: clamp(3rem, 6vw, 6rem); }
.role-wholesale .section-header { text-align: left; }
@media (max-width: 760px) {
  .role-page.gr-public .gr-page-intro, .role-wholesale .hero { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 1.7rem 2rem; }
  .role-page.gr-public .gr-page-intro { width: calc(100% - 2rem); }
  .role-page.gr-public .role-intro-copy h1, .role-wholesale .hero-title { font-size: clamp(2.6rem, 10vw, 4rem); }
  .role-page .role-picture img { aspect-ratio: 1.85; }
  .role-audiences .role-picture img { aspect-ratio: 2.8; }
  .role-audiences .gr-page-intro .gr-audience-picker { margin-top: 0; }
  .role-wholesale .hero { padding-inline: 1rem; }
  .role-wholesale .role-picture img { aspect-ratio: 1.5; }
}
/* The legacy wholesale navigation follows a dismissible delivery banner. */
.role-wholesale > nav { position: sticky; top: 0; width: 100%; }
.role-wholesale .section[id] { scroll-margin-top: 4.5rem; }
@media (max-width: 760px) {
  .role-wholesale .nav-content { width: 100%; height: auto; min-height: 3rem; padding-inline: 1rem; }
  .role-wholesale .footer-content { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.7rem 1rem; }
  .role-wholesale .footer-about { grid-column: 1 / -1; }
  .role-wholesale .footer-links { min-width: 0; }
}

.farm-perspectives {margin:0;min-width:0}
.role-farm .farm-perspectives nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem 1rem;padding:1rem 0 0;background:transparent}
.farm-perspectives a {display:flex;align-items:center;min-height:44px;border-bottom:1px solid var(--role-rule);color:var(--role-ink);font-weight:650;line-height:1.25;text-decoration:none}
.farm-perspectives a:hover span,.farm-perspectives a:focus-visible span {text-decoration:underline;text-underline-offset:3px}
.farm-perspectives .farm-room-photo {display:block;width:100%;height:auto;max-height:24rem;object-fit:cover;object-position:center 50%}
.farm-perspectives span {display:block;padding-top:5px}
.farm-perspectives figcaption {margin-top:12px;padding-top:7px;border-top:1px solid var(--role-rule);color:var(--role-muted);font-size:.8rem;line-height:1.4}
.role-farm .gr-type-list li[id] {scroll-margin-top:6rem}
.role-farm .gr-type-list li:target {outline:2px solid var(--role-muted);outline-offset:2px}
@media(max-width:760px){.farm-perspectives span{font-size:.95rem}.role-farm .farm-perspectives nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Farm enrolment representative page. */
.role-farm main { font: 400 1.125rem/1.55 system-ui, sans-serif; }
.role-farm.gr-public .role-intro-copy h1 { font: 650 clamp(2.35rem,4.1vw,4.1rem)/1.09 system-ui,sans-serif; letter-spacing: normal; max-width: 16ch; }
.role-farm.gr-public main h2 { font: 650 clamp(1.8rem,3vw,2.8rem)/1.13 system-ui,sans-serif; letter-spacing: normal; }
.role-farm.gr-public .role-intro-copy .lead { font-size: clamp(1.125rem,1.6vw,1.35rem); }
.role-farm .farm-perspectives .farm-room-photo { aspect-ratio: 4/3; max-height: none; }
.role-farm .farm-perspectives figcaption,.role-farm .eyebrow { font-size: 1rem; }
.role-farm .farm-production { background: #edf0e7; padding-block: clamp(2.3rem,5vw,4.5rem); }
.role-farm .farm-directory,.role-farm .farm-enrol { display:grid; grid-template-columns: 1fr 1.3fr; gap:clamp(2rem,6vw,6rem); }
.role-farm .farm-directory h2 + p,.role-farm .farm-enrol h2 + p { margin-top:1rem; max-width:38ch; }
.role-farm .farm-types { list-style:none; margin:0; padding:0; border-top:1px solid #9eaf9b; }
.role-farm .farm-types li { border-bottom:1px solid #a8b7a4; }
.role-farm .farm-types details { scroll-margin-top:6rem; }
.role-farm .farm-types summary { cursor:pointer; padding:.8rem .3rem; font-size:1.2rem; font-weight:620; }
.role-farm .farm-types summary::marker { color:#456242; }
.role-farm .farm-example { padding:.25rem .4rem 1rem 1.4rem; max-width:53ch; }
.role-farm .farm-example .farm-trace { font-weight:650; color:#355637; }
.role-farm .farm-example p + p { margin-top:.4rem; }
.role-farm .farm-example .gr-text-link { margin-top:.45rem; }
.role-farm .farm-enrol { align-items:center; }
.role-farm .farm-enrol .gr-button + p { margin:.9rem 0 .4rem; }
@media(max-width:760px) {
 .role-farm .farm-directory,.role-farm .farm-enrol { grid-template-columns: minmax(0,1fr); gap:1.4rem; }
 .role-farm.gr-public .gr-page-intro { padding-block:1.8rem; }
 .role-farm .farm-perspectives .farm-room-photo { aspect-ratio:1.83; }
}

body.role-farm header.site-nav.gr-chrome .nav-links a,
body.role-farm header.site-nav.gr-chrome .nav-links summary,
body.role-farm footer.site-footer.gr-chrome a { font-size:1rem; }
