/* Shared BEANS subpages. Existing top-level CSS and assets remain unchanged. */
.beans-subpage { color:var(--beans-text); --sub-blue:#087cae; --sub-green:#376c22; }
.beans-subpage #main-content { background:var(--beans-sky); }
.beans-subpage .common-container { width:calc(100% - 120px); max-width:1200px; margin-inline:auto; }
.beans-subpage .common-section { padding:100px 0; position:relative; isolation:isolate; }
.beans-subpage :is(h1,h2,h3,p,dd,li) { overflow-wrap:anywhere; }
.beans-subpage .common-breadcrumb { padding:26px 0; font-size:14px; line-height:1.8; }
.beans-subpage .common-breadcrumb ol { display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; list-style:none; margin:0; padding:0; }
.beans-subpage .common-breadcrumb li { display:flex; align-items:center; gap:18px; min-width:0; }
.beans-subpage .common-breadcrumb li+li::before { content:""; width:6px; height:6px; flex:0 0 6px; border-top:1px solid currentColor; border-right:1px solid currentColor; rotate:45deg; }
.beans-subpage .common-breadcrumb a { min-width:44px; display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.beans-subpage .common-hero { position:relative; isolation:isolate; padding-bottom:75px; }
.beans-subpage .common-hero::before { content:""; position:absolute; z-index:-1; inset:0; background:#d4f2ff; border-radius:0 0 45% 0 / 0 0 24% 0; }
.beans-subpage .common-hero__layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:50px; align-items:center; padding-top:25px; }
.beans-subpage .common-hero__title { font-size:clamp(32px,3.6vw,52px); font-weight:700; line-height:1.85; letter-spacing:.03em; }
.beans-subpage .common-hero__title > span { padding:0 .12em; background:white; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.beans-subpage .common-hero__lead { margin-top:28px; font-size:18px; line-height:2; }
.beans-subpage .common-hero__art { position:relative; min-height:185px; display:flex; align-items:flex-end; justify-content:center; gap:20px; }
.beans-subpage .common-hero__art::before { content:""; position:absolute; z-index:-1; inset:25px -5px -10px; border-radius:53% 47% 65% 35% / 55% 62% 38% 45%; background:#ffe346; }
.beans-subpage .common-hero__art img { flex-shrink:1; height:auto; object-fit:contain; }
.beans-subpage .hero-shops { width:171px; align-self:center; }
.beans-subpage .hero-person { width:62px; margin-bottom:5px; }
.beans-subpage .common-hero--about::before { background:#e5f5be; border-radius:0 0 0 40% / 0 0 0 20%; }
.beans-subpage .common-hero--about .common-hero__art { min-height:220px; }
.beans-subpage .hero-building { width:260px; }
.beans-subpage .hero-people { position:absolute; width:100px; right:0; bottom:-15px; }
.beans-subpage .common-hero--contact::before { background:#e7f2cf; }
.beans-subpage .hero-contact-people { width:154px; }
.beans-subpage .hero-contact-shop { width:105px; align-self:center; }
.beans-subpage .common-hero--thanks .common-hero__layout { grid-template-columns:minmax(0,1fr) 220px; }
.beans-subpage .common-hero--thanks .common-hero__title { font-size:38px; }
.beans-subpage .hero-thanks-people,.beans-subpage .hero-privacy-people { width:154px; }
.beans-subpage .common-hero--privacy::before { background:var(--beans-field); border-radius:0 0 0 35% / 0 0 0 20%; }
.beans-subpage .common-hero--privacy .common-hero__art::before { background:#daf2ff; }
.beans-subpage .common-hero--error .common-hero__title { font-size:110px; color:var(--sub-blue); line-height:1.3; }
.beans-subpage .hero-car { width:95px; margin-bottom:6px; }
.beans-subpage .hero-error-shops { width:171px; }
.beans-subpage .common-button { display:flex; align-items:center; justify-content:space-between; gap:25px; width:fit-content; min-width:258px; max-width:100%; min-height:62px; padding:9px 10px 9px 32px; background:var(--beans-orange); color:#fff; border:0; border-radius:80px; font:700 17px/1.6 "Zen Kaku Gothic New",sans-serif; cursor:pointer; text-align:left; }
.beans-subpage .common-button__arrow { width:42px; flex:0 0 42px; }
.beans-subpage .common-back { display:flex; justify-content:center; margin-top:70px; }
.beans-subpage .common-label { font-size:24px; line-height:1.7; font-weight:500; width:fit-content; max-width:100%; }
.beans-subpage .common-label::after { content:""; display:block; height:2px; background:currentColor; margin-top:16px; width:100%; }
.beans-subpage .common-highlight span { background:white; padding:0 6px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
/* News cards keep the existing images, metadata and source type styles. */
.beans-subpage .news-index { padding-top:75px; padding-bottom:130px; }
.beans-subpage .news-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:52px; padding:48px 55px 64px; min-height:0; margin:0; }
.beans-subpage .news-card { width:100%; max-width:250px; margin-inline:auto; }
.beans-subpage .news-card__image { width:250px; max-width:100%; margin-inline:auto; }
.beans-subpage .news-card__category { color:white; }
.beans-subpage .news-card__meta { flex-direction:row; flex-wrap:wrap; }
.beans-subpage .news-article { max-width:960px; padding:35px 0 100px; }
.beans-subpage .news-article__header { padding:55px 70px; border-radius:40px 80px 40px 40px; background:#fff; }
.beans-subpage .news-article__meta { display:flex; gap:24px; align-items:center; font-size:16px; }
.beans-subpage .news-article h1 { font-size:34px; line-height:1.7; margin-top:25px; text-wrap:balance; }
.beans-subpage .news-article__image { width:500px; max-width:100%; margin:45px auto 0; border-radius:20px; }
.beans-subpage .news-article__body { font-size:18px; line-height:2; }
.beans-subpage .news-article__body:empty { display:none; }
/* About: wide rhythm, source copy and existing town/people imagery. */
.beans-subpage .about-jump { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 45px; padding:30px 0; }
.beans-subpage .about-jump :is(a,span) { min-width:44px; display:inline-flex; align-items:center; min-height:44px; font-weight:700; }
.beans-subpage .about-jump a::after { content:"↓"; margin-left:12px; color:var(--sub-blue); }
.beans-subpage .about-jump [aria-disabled] { color:#676767; }
.beans-subpage .about-vision { padding:100px 0 120px; background:var(--beans-field); }
.beans-subpage .about-vision::before { content:""; position:absolute; inset:0 0 55%; z-index:-1; background:var(--beans-sky); border-radius:0 0 60% 0 / 0 0 45% 0; }
.beans-subpage .about-vision .common-container { display:grid; grid-template-columns:1.1fr 1fr; gap:50px 35px; align-items:center; }
.beans-subpage .about-vision .common-label { grid-column:1/-1; }
.beans-subpage .about-vision__message { font-size:clamp(30px,3vw,45px); line-height:1.9; font-weight:700; position:relative; z-index:1; }
.beans-subpage .about-vision__message span { display:table; background:white; padding-inline:6px; margin-block:8px; }
.beans-subpage .about-vision__town { width:100%; }
.beans-subpage .about-story { background:var(--beans-field); padding-top:60px; padding-bottom:0; }
.beans-subpage .about-story__layout { display:grid; grid-template-columns:1fr 1.1fr; gap:65px; margin-top:65px; align-items:start; }
.beans-subpage .about-story__message { font-size:34px; font-weight:700; line-height:2; text-wrap:balance; }
.beans-subpage .about-story__message br { display:initial; }
.beans-subpage .about-story__text { font-size:18px; line-height:2; }
.beans-subpage .about-story__photo { width:100%; margin-top:80px; border-radius:40px; }
.beans-subpage .about-values { background:var(--beans-field); padding:100px 0; }
.beans-subpage .about-values__panel { background:#fff; border-radius:45% 45% 40% 40% / 20% 20% 18% 18%; padding:85px 40px 90px; max-width:960px; margin:auto; text-align:center; }
.beans-subpage .about-values .common-label { margin-inline:auto; }
.beans-subpage .about-values__message { font-size:36px; line-height:1.9; font-weight:700; margin-top:50px; }
.beans-subpage .about-values__message span { background:var(--beans-green); color:#143e00; padding:3px 6px; border-radius:4px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.beans-subpage .about-values__text,.beans-subpage .about-values__last { font-size:18px; line-height:2; margin-top:35px; }
.beans-subpage .about-values__text [style] { color:#ae4d0e!important; }
.beans-subpage .about-company { background:white; }
.beans-subpage .about-company__layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:60px; }
.beans-subpage .about-company__list { margin:0; font-size:18px; line-height:2; }
.beans-subpage .about-company__list > div { display:grid; grid-template-columns:180px 1fr; gap:24px; padding:26px 0; border-bottom:1px solid #bcced4; }
.beans-subpage .about-company__list > div:first-child { padding-top:0; }
.beans-subpage .about-company__list dt { font-weight:700; }
.beans-subpage .about-company__list dd { margin:0; }
.beans-subpage .about-access { padding:65px 0; background:white; border-top:1px solid #e3ebee; }
.beans-subpage .privacy-content { min-height:100px; padding:30px 0 70px; }
.beans-subpage .error-content { text-align:center; font-size:24px; line-height:1.8; padding-block:75px 110px; }
.beans-subpage .error-content .common-button { margin:40px auto 0; }
/* Form: source shell, accessible errors and no dependence on JS for sending. */
.beans-subpage .common-form-panel { width:100%; max-width:940px; margin:auto; padding:60px 75px 70px; border-radius:40px; background:#fff; }
.beans-subpage .contact-errors { padding:24px; border:2px solid #a62f22; border-radius:15px; background:#fff6f4; color:#8c2016; margin-bottom:35px; }
.beans-subpage .contact-errors__title { font-size:20px; font-weight:700; }
.beans-subpage .contact-errors ul { margin:12px 0 0; padding-left:24px; }
.beans-subpage .contact-errors a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; }
.beans-subpage .contact-errors p { line-height:1.8; }
.beans-subpage .contact-form { display:grid; gap:34px; }
.beans-subpage .contact-field { min-width:0; }
.beans-subpage .contact-field > label { display:flex; align-items:center; flex-wrap:wrap; gap:14px; font-weight:700; font-size:19px; margin-bottom:12px; }
.beans-subpage .contact-badge { display:inline-block; background:#dff0cf; border-radius:5px; padding:3px 10px; color:#305d1b; font-size:13px; font-weight:700; white-space:nowrap; }
.beans-subpage .contact-badge--optional { background:#e7f3f9; color:#24526b; }
.beans-subpage .contact-field :is(input:not([type="checkbox"]),textarea,select) { width:100%; min-height:56px; border:1px solid #78948f; border-radius:12px; background:#fbfdf9; color:var(--beans-text); padding:14px 16px; font:inherit; font-size:17px; line-height:1.6; }
.beans-subpage .contact-field textarea { resize:vertical; min-height:200px; }
.beans-subpage .contact-field select { appearance:auto; padding-right:12px; }
.beans-subpage .contact-field :is(input,textarea,select):focus-visible { outline:3px solid var(--beans-blue); outline-offset:3px; }
.beans-subpage .contact-field [aria-invalid="true"] { border-color:#a62f22!important; }
.beans-subpage .contact-hint { font-size:14px; line-height:1.8; margin-top:8px; }
.beans-subpage .contact-field-error { font-size:15px; line-height:1.8; color:#9e2519; margin-top:8px; }
.beans-subpage .contact-consent__row { display:flex; gap:14px; align-items:center; }
.beans-subpage .contact-consent__row input { width:24px; height:24px; flex:none; margin:0; accent-color:var(--sub-green); }
.beans-subpage .contact-consent__row label { display:flex; gap:12px; flex-wrap:wrap; align-items:center; font-size:17px; min-height:48px; cursor:pointer; }
.beans-subpage .contact-policy { display:inline-flex; align-items:center; min-height:44px; color:var(--sub-blue); text-decoration:underline; text-underline-offset:4px; margin-top:10px; }
.beans-subpage .contact-form__actions { text-align:center; margin-top:10px; }
.beans-subpage .contact-submit { margin:auto; }
.beans-subpage .contact-submit:disabled { cursor:wait; opacity:.7; }
.beans-subpage .contact-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.beans-subpage [hidden] { display:none!important; }
.beans-subpage .contact-thanks { text-align:center; font-size:18px; line-height:2; }
.beans-subpage .contact-thanks p+p { margin-top:30px; }
.beans-subpage .contact-thanks .common-button { margin:40px auto 0; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .beans-subpage .common-button { transition:translate .2s ease,filter .2s ease; }
 .beans-subpage .common-button:hover { translate:0 -3px; filter:brightness(.96); }
}
@media (max-width:1279px) {
 .beans-subpage .common-container { width:calc(100% - 80px); }
 .beans-subpage .common-hero__layout { grid-template-columns:minmax(0,1fr) 240px; gap:30px; }
 .beans-subpage .common-hero__title { font-size:40px; }
 .beans-subpage .news-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:50px 40px; padding:45px; }
 .beans-subpage .about-story__layout { gap:40px; grid-template-columns:.85fr 1fr; }
 .beans-subpage .about-story__message { font-size:30px; }
 .beans-subpage .about-company__layout { grid-template-columns:180px 1fr; gap:40px; }
 .beans-subpage .about-company__list > div { grid-template-columns:150px 1fr; }
}
@media (max-width:1023px) {
 .beans-subpage .common-hero__title { font-size:34px; }
 .beans-subpage .common-hero__layout { grid-template-columns:minmax(0,1fr) 210px; }
 .beans-subpage .common-hero__art { min-height:155px; }
 .beans-subpage .hero-contact-people { width:110px; }
 .beans-subpage .hero-contact-shop { width:80px; }
 .beans-subpage .hero-shops { width:135px; }
 .beans-subpage .hero-person { width:52px; }
 .beans-subpage .common-hero--thanks .common-hero__layout { grid-template-columns:minmax(0,1fr) 160px; }
 .beans-subpage .common-hero--thanks .common-hero__title { font-size:30px; }
 .beans-subpage .common-section { padding-block:75px; }
 .beans-subpage .about-vision .common-container { grid-template-columns:1fr; gap:35px; }
 .beans-subpage .about-vision__town { max-width:550px; justify-self:end; }
 .beans-subpage .about-story__layout { grid-template-columns:1fr; gap:45px; }
 .beans-subpage .about-story__message { font-size:36px; max-width:680px; }
 .beans-subpage .about-story__text { max-width:650px; justify-self:end; }
 .beans-subpage .about-company__layout { grid-template-columns:1fr; }
}
@media (max-width:768px) {
 .beans-subpage .common-container { width:calc(100% - 40px); }
 .beans-subpage .common-breadcrumb { padding:16px 0; font-size:13px; }
 .beans-subpage .common-breadcrumb ol { gap:0 12px; }
 .beans-subpage .common-breadcrumb li { gap:12px; }
 .beans-subpage .common-hero { padding-bottom:45px; }
 .beans-subpage .common-hero__layout,.beans-subpage .common-hero--thanks .common-hero__layout { display:flex; flex-direction:column; align-items:stretch; gap:22px; padding-top:14px; }
 .beans-subpage .common-hero__title,.beans-subpage .common-hero--thanks .common-hero__title { font-size:clamp(27px,5.4vw,38px); line-height:1.8; }
 .beans-subpage .common-hero__lead { margin-top:22px; font-size:16px; }
 .beans-subpage .common-hero__art { align-self:flex-end; width:200px; min-height:130px; margin-right:5px; }
 .beans-subpage .common-hero--about .common-hero__art { min-height:150px; width:220px; margin-bottom:10px; }
 .beans-subpage .hero-building { width:205px; }
 .beans-subpage .hero-people { width:85px; bottom:-10px; }
 .beans-subpage .common-hero--error .common-hero__title { font-size:90px; }
 .beans-subpage .hero-error-shops { width:120px; }
 .beans-subpage .hero-car { width:70px; }
 .beans-subpage .common-section { padding-block:60px; }
 .beans-subpage .common-label { font-size:22px; }
 .beans-subpage .common-button { font-size:16px; min-width:0; padding-left:24px; gap:20px; }
 .beans-subpage .news-list { grid-template-columns:1fr; padding:30px 24px 40px; gap:45px; }
 .beans-subpage .news-card { max-width:450px; margin-inline:auto; width:100%; }
 .beans-subpage .news-card__image { width:100%; max-width:330px; }
 .beans-subpage .news-article { padding:20px 0 70px; }
 .beans-subpage .news-article__header { padding:30px 24px; border-radius:25px 45px 25px 25px; }
 .beans-subpage .news-article h1 { font-size:25px; }
 .beans-subpage .news-article__image { margin-top:30px; }
 .beans-subpage .news-article__body { font-size:16px; }
 .beans-subpage .common-back { margin-top:40px; }
 .beans-subpage .about-jump { gap:8px 24px; justify-content:flex-start; padding:22px 0; }
 .beans-subpage .about-vision__message { font-size:clamp(25px,5.1vw,36px); }
 .beans-subpage .about-vision__message span { display:inline; padding:0 3px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
 .beans-subpage .about-vision__message span+span::before { content:""; display:block; }
 .beans-subpage .about-story { padding-top:35px; padding-bottom:0; }
 .beans-subpage .about-story__layout { margin-top:40px; gap:36px; }
 .beans-subpage .about-story__message { font-size:27px; }
 .beans-subpage .about-story__text { font-size:16px; }
 .beans-subpage .about-story__text br { display:none; }
 .beans-subpage .about-story__text br+br { display:block; content:""; margin-bottom:1.25em; }
 .beans-subpage .about-story__photo { margin-top:40px; border-radius:20px; }
 .beans-subpage .about-values__panel { padding:60px 22px; border-radius:45% / 12%; }
 .beans-subpage .about-values__message { font-size:25px; line-height:1.9; margin-top:35px; text-wrap:balance; }
 .beans-subpage .about-values__message br { display:none; }
 .beans-subpage .about-values__text,.beans-subpage .about-values__last { font-size:16px; text-align:left; margin-top:30px; }
 .beans-subpage .about-values__text br,.beans-subpage .about-values__last br { display:none; }
 .beans-subpage .about-company__list { font-size:16px; }
 .beans-subpage .about-company__list > div { grid-template-columns:1fr; gap:10px; padding:24px 0; }
 .beans-subpage .about-access { padding:45px 0; }
 .beans-subpage .privacy-content { padding:20px 0; min-height:60px; }
 .beans-subpage .error-content { font-size:20px; }
 .beans-subpage .common-form-panel { padding:35px 25px 40px; border-radius:28px; }
 .beans-subpage .contact-field > label { font-size:17px; }
 .beans-subpage .contact-field :is(input:not([type="checkbox"]),textarea,select) { font-size:16px; }
 .beans-subpage .contact-consent__row { gap:12px; }
 .beans-subpage .contact-consent__row label { font-size:16px; }
 .beans-subpage .contact-thanks { font-size:16px; }
 .beans-subpage .contact-thanks br { display:none; }
 .beans-subpage .contact-errors { padding:20px; }
}
@media (max-width:359px) {
 .beans-subpage .common-container { width:calc(100% - 32px); }
 .beans-subpage .common-form-panel { padding:30px 18px; }
 .beans-subpage .news-list { padding-inline:20px; }
 .beans-subpage .common-button { padding-left:18px; gap:14px; font-size:15px; }
 .beans-subpage .about-values__panel { padding-inline:18px; }
 .beans-subpage .about-values .common-label { font-size:20px; }
 .beans-subpage .about-values__message { font-size:23px; }
}
/* Extend shared-header hit areas without moving the logo or navigation lettering. */
.beans-subpage .beans-home-header__brand { display:flex; align-items:center; min-height:44px; }
.beans-subpage .beans-home-navigation__links a { padding-inline:3px; margin-inline:-3px; }

/* Keep each original sentence together as a balanced group on narrow screens. */
.beans-subpage .about-story__message > .about-copy-line,
.beans-subpage .about-values__message > .about-copy-line { display:block; width:fit-content; max-width:100%; background:none; padding:0; text-wrap:balance; }
.beans-subpage .about-story__message > br,
.beans-subpage .about-values__message > br { display:none; }
.beans-subpage .about-story__message .about-copy-line > span { background:white; padding:0 6px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.beans-subpage .about-values__message > .about-copy-line { margin-inline:auto; }

.beans-subpage .about-values .common-label { text-wrap:balance; }
.beans-subpage .about-values__message .about-phrase { display:inline-block; padding:0; background:transparent; }
