/* Wellbean: coffee at home and Wellbean Studio. Uses the existing design tokens. */
.dual-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.editorial-hero-content .dual-actions .text-link { margin-top: 0; }
.editorial-hero-content .dual-actions .button { background: var(--paper); color: var(--green); }
.story-closing .dual-actions { justify-content: center; }
.story-closing .dual-actions .text-link { margin-top: 0; }
.partnership-editorial .button { margin-top: 28px; }
.card-tasting { color: var(--green); font-size: .9375rem; line-height: 1.65; margin-top: 12px; }
.trust-strip { border-top: 1px solid var(--line); background: var(--paper); }
.trust-strip ul { display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; margin-block: 0; padding: 28px 0; }
.trust-strip li { flex: 1; text-align: center; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.trust-strip li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.sensory-profile { margin: 25px 0 28px; padding-block: 22px; border-block: 1px solid var(--line); }
.sensory-profile h2 { font-family: var(--sans); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; margin-bottom: 8px; }
.tasting-notes { font-size: 1rem; line-height: 1.7; margin-bottom: 22px; }
.sensory-meter { display: grid; grid-template-columns: minmax(74px, .8fr) minmax(68px, 1fr) minmax(100px, 1.4fr); gap: 14px; align-items: center; margin-top: 14px; font-size: .875rem; }
.sensory-meter > span:last-child { text-align: right; color: var(--muted); }
.meter-bars { display: flex; gap: 4px; }
.meter-bars i { flex: 1; height: 4px; background: var(--line); }
.meter-bars i.filled { background: var(--green); }
.grind-field { margin-top: 24px; min-width: 0; }
.grind-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.grind-pills button, .cup-scaler button { background: transparent; border: 1px solid var(--line); color: var(--green); font: inherit; font-size: .875rem; line-height: 1.4; min-height: 48px; padding: 11px 9px; }
.grind-pills button[aria-pressed="true"], .pack-buttons button[aria-pressed="true"], .cup-scaler button[aria-pressed="true"] { background: var(--green); color: var(--paper); border-color: var(--green); }
.grind-pills button:hover:not([aria-pressed="true"]), .cup-scaler button:hover:not([aria-pressed="true"]) { background: var(--cream); border-color: var(--green); }
.grind-pills button:focus-visible, .pack-buttons button:focus-visible, .cup-scaler button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.product-info, .product-heading, .product-gallery, .product-layout, .product-next > div { min-width: 0; }
.gallery-stage { width: 100%; max-width: 100%; }
.product-layout > * { max-width: 100%; }
.method-guidance { min-width: 0; }
.response-promise { font-size: .875rem; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.bag-dialog .response-promise { margin: 14px 0 0; }
.brew-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; margin-bottom: 20px; }
.brew-card-top .eyebrow { margin: 0; }
.cup-scaler { display: inline-flex; gap: 0; flex-shrink: 0; }
.cup-scaler button { min-width: 76px; }
.cup-scaler button + button { margin-left: -1px; }
.brew-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.brew-metrics strong { overflow-wrap: anywhere; }
.brew-grind { border-top: 1px solid var(--line); padding-top: 18px; margin: 0 0 20px; font-size: .9375rem; }
.brew-grind strong { color: var(--green); font-weight: 500; }
.brew-pairing { display: inline-block; padding: 8px 12px; margin: 22px 0 0; border: 1px solid var(--line); font-size: .875rem; line-height: 1.6; color: var(--green); }
.brew-card #brew-coffee-link { display: table; margin-top: 12px; }
.brew-portion-note { font-size: .875rem; line-height: 1.7; color: var(--muted); margin-top: 18px; }
.counter-opening .button { margin-top: 28px; }
.counter-dialog { width: min(560px, 100vw); }
.counter-dialog .dialog-header { align-items: flex-start; }
.counter-dialog .dialog-header h2 { font-size: 2.6rem; }
.counter-dialog .eyebrow { margin: 0 0 12px; }
.counter-dialog .drawer-intro { color: var(--muted); margin-top: 22px; font-size: 1rem; }
.counter-dialog label { margin-top: 22px; font-size: .9375rem; }
.counter-dialog .form-grid { grid-template-columns: 1fr 1fr; }
.counter-dialog input, .counter-dialog select { min-width: 0; width: 100%; }
.counter-dialog .optional, .counter-dialog .small-note { font-size: .875rem; }
.counter-dialog .button { margin-top: 24px; }
.counter-dialog .feedback { overflow-wrap: anywhere; }
.counter-confirmation { padding-block: 36px; }
.counter-confirmation h3 { margin-bottom: 20px; font-size: 2.6rem; }
.counter-confirmation p { margin-top: 18px; }
.counter-confirmation .request-reference { font-size: .875rem; color: var(--muted); }
.counter-confirmation:focus { outline: none; }
.enquiry-aside .counter-contact { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.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; }
@media (max-width: 850px) {
  .trust-strip ul { gap: 16px; }
  .trust-strip li + li { padding-left: 16px; }
}
@media (max-width: 640px) {
  .dual-actions { gap: 12px 22px; margin-top: 22px; }
  .editorial-hero-content .dual-actions { align-items: flex-start; flex-direction: column; }
  .editorial-hero-content .dual-actions .button { min-height: 48px; }
  .editorial-hero-content .dual-actions .text-link { background: var(--green); color: var(--paper); padding: 10px 14px; border: 1px solid var(--paper); }
  .card-tasting { font-size: .875rem; }
  .trust-strip ul { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 25px; }
  .trust-strip li { text-align: left; }
  .trust-strip li + li { border-left: 0; padding-left: 0; }
  .sensory-profile { margin-top: 22px; }
  .sensory-meter { gap: 10px; grid-template-columns: 70px minmax(55px, 1fr) 105px; }
  .grind-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grind-pills button { min-height: 50px; }
  .brew-card-top { gap: 14px; }
  .brew-metrics strong { font-size: 1.8rem; }
  .counter-dialog { padding: 25px 24px calc(30px + env(safe-area-inset-bottom)); }
  .counter-dialog .form-grid { grid-template-columns: 1fr; gap: 0; }
  .counter-dialog .dialog-header h2 { font-size: 2.2rem; }
  .counter-opening .button, .private-invitation .button { white-space: normal; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header-right { gap: 0; }
  .brew-card { padding-inline: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .counter-dialog[open] { animation: counter-enter .24s ease-out; }
  @keyframes counter-enter { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
}

/* Soil to wellbeing: imagery and content keep their own space at every size. */
.forest-hero { height: auto; min-height: 700px; max-height: none; background: var(--green); }
.forest-hero .editorial-hero-content { margin-top: 0; padding-block: 100px 140px; }
.forest-hero .editorial-hero-photograph { object-position: center; }
.forest-hero .hero-shade { background: linear-gradient(90deg, #10271bd9 0%, #10271b8c 40%, #10271b1a 78%); }
.forest-hero .hero-description { max-width: 34ch; }
.forest-hero .hero-footnote { flex-wrap: wrap; }
.brand-statement > div > p + p, .origin-editorial-copy > p + p { margin-top: 18px; }
.forest-panorama figcaption { color: var(--muted); font-size: .8125rem; line-height: 1.65; padding-top: 12px; }
.forest-panorama figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.brand-statement > *, .partner-opening > *, .partner-origin > *, .origin-editorial-copy, .dialog-header > *, .bag-item > div { min-width: 0; }
.dialog-header .close-button { flex: 0 0 44px; width: 44px; min-height: 44px; }
.bag-dialog { overscroll-behavior: contain; }
.bag-item-actions { flex-wrap: wrap; }
.forest-hero .dual-actions { max-width: 100%; }
@media (max-width: 900px) and (min-width: 641px) {
  .forest-hero .editorial-hero-content { padding-block: 86px 130px; }
}
@media (max-width: 640px) {
  .forest-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; height: auto; max-height: none; overflow: visible; background: var(--paper); color: var(--green); }
  .forest-hero .editorial-hero-content { order: 0; padding-block: 38px 34px; }
  .forest-hero .editorial-hero-content h1 { font-size: clamp(3.35rem, 15.5vw, 4.8rem); line-height: 1; text-shadow: none; }
  .forest-hero .editorial-hero-content .eyebrow { color: var(--gold); }
  .forest-hero .hero-description { max-width: 30ch; color: var(--muted); margin-top: 22px; }
  .forest-hero .dual-actions { gap: 14px; align-items: flex-start; }
  .forest-hero .dual-actions .button { background: var(--green); color: var(--paper); }
  .forest-hero .dual-actions .text-link { background: transparent; color: var(--green); border: 0; border-bottom: 1px solid var(--green); padding: 8px 0; }
  .forest-hero picture { order: 1; position: relative; display: block; inset: auto; height: auto; aspect-ratio: 1.12; width: 100%; overflow: hidden; }
  .forest-hero .editorial-hero-photograph { position: absolute; object-position: 60% center; }
  .forest-hero .hero-shade { display: none; }
  .forest-hero .hero-footnote { order: 2; position: static; inset: auto; padding-block: 14px 18px; margin: 0 auto; display: block; color: var(--muted); font-size: .75rem; }
  .forest-hero .hero-footnote a { display: block; width: fit-content; margin-top: 5px; border-bottom-color: var(--line); }
  .brand-statement h2, .origin-editorial-copy h2, .partnership-editorial h2 { font-size: clamp(2.8rem, 13vw, 3.45rem); }
  .partner-opening h1, .editorial-page-heading h1, .private-invitation h2 { font-size: clamp(3.25rem, 14vw, 4.1rem); }
  .gallery-stage { height: auto; aspect-ratio: 4 / 5; }
  .mobile-buy { display: none; }
  body[data-page="product"] { padding-bottom: 0; }
  .product-next { flex-wrap: wrap; }
  .dialog-header { gap: 12px; align-items: flex-start; }
  .footer-top nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-header h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .bag-dialog input, .bag-dialog select, .bag-dialog textarea { font-size: 1rem; }
  .bag-dialog { height: 100dvh; max-height: 100dvh; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .counter-dialog .dialog-header h2 { font-size: clamp(1.9rem, 8.5vw, 2.2rem); }
  .sensory-meter { grid-template-columns: 66px minmax(0, 1fr) 100px; gap: 9px; }
}
@media (max-width: 380px) {
  .coffee-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .coffee-card-image { aspect-ratio: 4 / 5; }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand .brand-wordmark { width: 110px; }
  .header-actions { gap: 12px; }
  .brew-metrics { column-gap: 14px; }
}

/* Studio architecture, hospitality and harvest each have a distinct visual role. */
.studio-visual { min-width: 0; margin: 0; }
.studio-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.studio-visual figcaption, .harvest-panorama figcaption { padding-top: 12px; font-size: .8125rem; line-height: 1.65; color: var(--muted); }
.studio-visual figcaption a, .harvest-panorama figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.studio-service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; padding-block: 70px; border-top: 1px solid var(--line); }
.studio-service .studio-visual { max-width: 460px; }
.studio-service .studio-visual img { aspect-ratio: 4 / 5; }
.studio-service h2 { margin-bottom: 24px; }
.studio-service p:not(.eyebrow) { max-width: 42ch; color: var(--muted); }
.studio-service p + p { margin-top: 18px; }
.studio-service .text-link { margin-top: 20px; }
.blend-story { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.curated-coffees .card-brew, .coffee-collection-page .card-brew { display: block; }
.harvest-panorama > img { object-position: center 55%; }
@media (max-width: 760px) {
  .studio-service { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 48px; }
  .studio-service .studio-visual { max-width: none; }
  .studio-service .studio-visual img { max-height: 520px; }
  .studio-service h2 { font-size: clamp(2.8rem, 13vw, 3.45rem); }
}

/* The origin story leads with the brand's confirmed practices. */
.origin-commitments { list-style: none; margin: 24px 0 0; padding: 0; max-width: 36ch; }
.origin-commitments li { padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; line-height: 1.7; }
.origin-commitments strong { display: block; color: var(--green); font-weight: 500; }
.home-origin .origin-editorial-copy { padding-block: 60px; }
.home-origin .origin-editorial-copy h2 { font-size: clamp(2.8rem, 3.8vw, 3.6rem); }
.collection-guide { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-top: 24px; color: var(--muted); font-size: .9375rem; }
.collection-guide .text-link { margin: 0; }
.origin-panorama figcaption { padding-top: 12px; color: var(--muted); font-size: .8125rem; line-height: 1.65; }
.origin-panorama figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.story-practices { border-block: 1px solid var(--line); padding-block: 60px; }
.story-practices h2 { font-size: clamp(2.8rem, 3.8vw, 3.6rem); }
.story-practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.story-practice-grid article { min-width: 0; }
.story-practice-grid h3 { font-size: 2rem; line-height: 1.15; margin-bottom: 18px; }
.story-practice-grid p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.story-purpose { padding-block: 80px; }
.studio-process { margin: 30px 0 0; padding-left: 24px; color: var(--muted); }
.studio-process li { padding-left: 8px; font-size: 1rem; line-height: 1.8; }
.studio-process li + li { margin-top: 24px; }
.studio-process strong { display: block; color: var(--green); font-weight: 500; }
@media (max-width: 760px) {
  .home-origin .origin-editorial-copy { padding-block: 42px; }
  .story-practices { padding-block: 42px; }
  .story-practice-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .story-practice-grid h3 { font-size: 2rem; margin-bottom: 12px; }
  .story-practice-grid p { max-width: 42ch; }
  .story-purpose { padding-block: 52px; }
  .studio-process { margin-top: 22px; }
}

/* Launch form privacy and readable long brewing-temperature guidance. */
.honeypot { display: none !important; }
.brew-metrics #brew-temperature { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.45; }

/* Clear choices, with room for the story. */
.home-introduction { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; padding-block: 76px; border-bottom: 1px solid var(--line); }
.home-introduction > *, .home-ritual-inner > *, .studio-fit > * { min-width: 0; }
.home-introduction h2 { font-size: clamp(2.8rem, 4vw, 3.8rem); }
.home-introduction p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 53ch; }
.home-introduction p + p { margin-top: 18px; }
.home-introduction .text-link { margin-top: 22px; }
.home-ritual { background: var(--cream); }
.home-ritual-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; padding-block: 70px; }
.home-ritual figure { margin: 0; }
.home-ritual img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.home-ritual figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.home-ritual h2 { font-size: clamp(2.8rem, 4.3vw, 4rem); margin-bottom: 24px; }
.home-ritual p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 40ch; }
.home-ritual p + p { margin-top: 18px; }
.home-ritual .text-link { margin-top: 24px; }
.partnership-editorial p + p { margin-top: 18px; }
.card-promise { font-size: 1rem; color: var(--green); margin-top: 14px; }
.card-tasting { color: var(--muted); font-size: 1rem; margin-top: 10px; }
.card-roast { font-size: .875rem; }
.card-brew { font-size: .875rem; }
.product-taste-preview { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-top: 12px; }
.product-gallery { width: 100%; max-width: 440px; margin-inline: auto; }
.product-gallery .gallery-stage { height: auto; aspect-ratio: 4 / 5; }
.product-gallery .gallery-stage img { object-fit: contain; }
.product-gallery .gallery-stage[data-view="ritual"] img { object-fit: cover; }
.product-select-link { display: none; }
.product-info { margin-top: 24px; }
#coffee-options, #choose-your-coffee { scroll-margin-top: 110px; }
#coffee-options:focus { outline: none; }
.grind-intro { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.sensory-profile .product-best { margin: 0 0 20px; font-size: 1rem; line-height: 1.8; }
.sensory-profile .tasting-label { font: 500 .875rem/1.5 var(--sans); letter-spacing: .04em; margin: 0 0 7px; }
.sensory-profile .flavour-note { color: var(--muted); font-size: .875rem; line-height: 1.7; margin-top: 22px; }
.studio-fit { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); padding-block: 70px 85px; }
.studio-fit h2 { font-size: clamp(2.8rem, 4vw, 3.8rem); }
#enquiry-form input, #enquiry-form select, #enquiry-form textarea { font-size: 1rem; }
#enquiry-form .small-note { margin-top: 10px; }
#enquiry-form #enquiry-submit { margin-top: 24px; }
#enquiry-contact-hint { margin-bottom: 24px; }
@media (max-width: 850px) {
  .home-introduction, .home-ritual-inner, .studio-fit { gap: 38px; }
}
@media (max-width: 640px) {
  .home-introduction, .home-ritual-inner, .studio-fit { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 46px; }
  .home-introduction h2, .home-ritual h2, .studio-fit h2 { font-size: clamp(2.65rem, 12vw, 3.35rem); }
  .home-introduction .eyebrow { margin-bottom: 16px; }
  .curated-coffees { padding-block: 48px 56px; }
  .home-ritual img { aspect-ratio: 4 / 3; }
  .product-select-link { display: inline-block; margin-top: 18px; }
  .product-gallery { width: min(100%, 272px); margin-inline: auto; }
  .product-gallery .gallery-stage { height: auto; aspect-ratio: 4 / 5; }
  .product-gallery .gallery-stage img { object-fit: contain; }
  .product-gallery .gallery-stage[data-view="ritual"] img { object-fit: cover; }
  .product-info { margin-top: 18px; }
  #coffee-options, #choose-your-coffee { scroll-margin-top: 96px; }
  .product-taste-preview { max-width: 32ch; }
  .studio-fit { padding-bottom: 58px; }
  .story-panorama.harvest-panorama { margin-bottom: 48px; }
}

/* Shared controls for the mobile-first layouts. */
.mobile-grind-select, .mobile-brew-selector { display: none; }
.selection-review { border-block: 1px solid var(--line); }
.selection-review > summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 1rem; color: var(--green); }
.selection-review > summary::-webkit-details-marker { display: none; }
.selection-review > summary::after { content: '+'; position: static; transform: none; font-size: 1.5rem; flex: 0 0 18px; text-align: center; }
.selection-review[open] > summary::after { content: '−'; }
#enquiry-pack-count { margin-left: auto; white-space: nowrap; font-size: .875rem; color: var(--muted); }
.selection-review .enquiry-item { border: 0; border-top: 1px solid var(--line); margin: 0; }
.enquiry-studio-link { border-top: 1px solid var(--line); padding-block: 28px 54px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); }
.enquiry-studio-link .text-link { margin: 0; }

/* Original circular emblem: retain its colour and remove the raster corner margin. */
.brand .brand-emblem, .footer-brand .brand-emblem {
  border-radius: 50%;
  clip-path: circle(48% at 50% 50%);
  object-fit: contain;
}
.brand .brand-emblem { mix-blend-mode: multiply; }
.footer-brand .brand-emblem { filter: none; mix-blend-mode: normal; opacity: 1; }
