/* Quiet grotesk typography and a subtly lighter espresso palette. */
:root{--sans:'Inter',Arial,sans-serif;--ink:#302B28;--deep:#30251F;--brown:#493326;--accent:#765339;--paper:#fff;--surface:#F6F5F2}
h1,h2,h3,#helpTitle{font-family:var(--sans);font-weight:400;letter-spacing:-.035em;line-height:1.2}
.brandmark{font-family:'Noto Serif',Georgia,serif}
/* Full-screen navigation shares the same behavior at every width. */
.nav .links{position:fixed;inset:0;z-index:201;max-height:none;height:100dvh;width:100%;background:var(--paper);color:var(--ink);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(16px,4vh,36px);padding:calc(var(--header-height) + 32px) 24px 56px;margin:0;overflow-y:auto;visibility:hidden;opacity:0;transform:none;transition:opacity .25s,visibility .25s}
.nav .links.open{visibility:visible;opacity:1}
.header .nav .links a{color:var(--ink);font:400 clamp(26px,3vw,40px)/1.3 var(--sans);min-height:48px;padding:4px 0;border:0;text-align:center;letter-spacing:-.025em}
.header .nav .links a:hover,.header .nav .links a[aria-current]{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:10px}
.nav .menu-button{display:grid;place-items:center;position:relative;z-index:202;width:44px;height:44px;min-width:44px;padding:0;margin:0;border:0;background:none;color:#fff;font-size:0;cursor:pointer;order:2}
.header .nav .menu-button span{position:relative;display:block;width:24px;height:16px;font-size:0;border:0}
.menu-button span:before,.menu-button span:after{content:'';position:absolute;left:0;width:24px;height:1.5px;background:currentColor;transition:transform .25s,top .25s}
.menu-button span:before{top:3px}.menu-button span:after{top:12px}
.menu-open .menu-button span:before{top:7px;transform:rotate(45deg)}.menu-open .menu-button span:after{top:7px;transform:rotate(-45deg)}
.nav .language-toggle{margin-left:auto;position:relative;z-index:202}
.menu-open .header .nav .menu-button,.menu-open .header .language-toggle{color:var(--ink)}
.menu-open .header .brand{position:relative;z-index:202}
.menu-open .header .brand,.menu-open .header .brandmark,.menu-open .header .brandname,.menu-open .header .brandname small{color:var(--ink);border-color:var(--ink)}
.menu-open .header :focus-visible{outline-color:var(--accent)}
@media(max-width:380px){.nav{gap:4px}.nav .language-toggle{padding-inline:4px}.brand{gap:8px}}
@media(max-height:480px){.nav .links{justify-content:flex-start;gap:12px;padding-top:calc(var(--header-height) + 16px)}.header .nav .links a{font-size:24px}}
@media(prefers-reduced-motion:reduce){.nav .links,.menu-button span:before,.menu-button span:after{transition:none}}
/* Editorial media — masterbrief v2. Scoped away from approved hero and closing CTA. */
.page-home .editorial-media-frame{padding:0;background:transparent;border:0}
.page-home .editorial-media-frame video{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:0}
.page-home .roasting-media figcaption,.page-home .service-image figcaption{margin-top:12px;padding-inline:2px;font:400 11px/1.6 var(--sans)!important;max-width:58ch}
.page-home .roasting-copy,.page-home .service-chapter .split>div{max-width:500px}
.page-home .roasting-copy p:not(.label){max-width:45ch}
.page-home .tasting-panel{border:0;outline:0;min-height:540px}
.page-home .tasting-copy{padding:56px 32px}
.page-home .collection-image{background:transparent;border:0;padding:0;min-height:0;aspect-ratio:6/5}
.page-home .collection-image img{height:auto;max-height:370px;aspect-ratio:1/1;object-fit:contain;width:50%}
.page-home .collection-image img+img{transform:translateY(16px)}
.page-home .collection-copy .button{background:transparent;color:var(--ink);border-color:var(--accent);border-radius:0}
.page-home .collection-copy .button:hover{background:var(--ink);color:var(--paper)}
@media(max-width:760px){
 .page-home .editorial-media-frame{padding:0}
 .page-home .editorial-media-frame video{aspect-ratio:1/1}
 .page-home .tasting-panel{border:0;min-height:max(480px,calc((100vw - 48px)*1.25))}
 .page-home .tasting-copy{padding:44px 20px}
 .page-home .tasting-copy h2{font-size:clamp(28px,7.5vw,38px)}
 .page-home .collection-image{aspect-ratio:5/4;padding:0}
 .page-home .collection-image img{max-height:300px}
 .page-home .roasting-copy,.page-home .service-chapter .split>div{max-width:none}
}

/* Contact controls deliberately retain native selects, including their OS popup. */
.page-contact .form-panel{background:transparent;border:0;border-radius:0;padding:0}
.page-contact .lead-form{gap:24px}
.page-contact .lead-form label{gap:8px;font-size:14px}
.page-contact .lead-form :is(input,select,textarea){min-height:52px;padding:12px 14px;border:1px solid #a69687;border-radius:0;background:transparent;font:400 16px/1.5 var(--sans);scroll-margin-block:calc(var(--header-height) + 24px);transition:border-color .18s}
/* One indicator: the outline replaces the border in the same position. */
.page-contact .lead-form :is(input,select,textarea):focus{border-color:transparent;outline:2px solid var(--accent);outline-offset:-2px;box-shadow:none}
.page-contact .lead-form :is(input,select,textarea)[aria-invalid=true]{border-color:#9b322b}
.page-contact .field-error{font-size:13px;line-height:1.5;color:#9b322b}
.page-contact .required-mark{color:var(--accent)}
.page-contact .form-panel .form-guidance{font-size:13px}
.page-contact .lead-form button{min-height:52px;border-radius:0}
.page-contact .lead-form input[readonly]{color:var(--muted)}
@media(max-width:760px){.page-contact .form-panel{border-top:1px solid var(--cream);padding-top:32px}.page-home .collection{padding-top:40px}.page-home .tasting-copy{padding:36px 24px}}
@media(prefers-reduced-motion:reduce){.page-contact .lead-form :is(input,select,textarea){transition:none}}

/* Acceptance review: local contrast and reading size corrections. */
.page-home .collection-copy .label{color:#65452f}
.page-products .section-head .section-intro,
:is(.page-products, .featured-coffees) .product-copy>p,
:is(.page-products, .featured-coffees) .product-overlay p,
.page-contact .form-panel>p:not(.fine-print):not(.form-guidance),
.page-contact .faq-list details p{font-size:16px}
:is(.page-products, .featured-coffees) .product-overlay .product-facts{font-size:14px}

/* Contact-only polish; photographic home sections retain their styling. */
.page-contact .contact-details .small-heading{font-size:14px;margin-bottom:8px}
.page-contact .contact-details p{line-height:1.7}
.page-contact .contact-details .textlink{display:inline-flex;align-items:center;min-height:48px}
#selectedProductRow{padding:16px;background:var(--paper);border-left:2px solid var(--accent)}
#selectedProductRow[hidden]{display:none}
#selectedProduct{width:100%;min-height:56px;padding:10px 0;border:0;background:transparent;color:var(--ink);font:500 16px/1.5 var(--sans);resize:vertical;overflow-wrap:anywhere}
.page-contact #wholesaleForm{scroll-margin-top:120px}
.page-contact .lead-form label{font-size:14px}
.page-contact .lead-form button{min-height:50px}

/* Keep hash destinations and keyboard focus below the fixed navigation. */
main section[id], main article[id], main [id="technical"] {
  scroll-margin-top: calc(var(--header-height, 80px) + 16px);
}
main :is(a, button, input, select, textarea, summary):focus-visible {
  scroll-margin-block: calc(var(--header-height, 80px) + 12px) 16px;
}

.header .nav #assistantToggle {
  color:var(--accent); font:inherit; font-size:1rem; min-height:44px;
  padding:4px 10px; margin-top:8px; background:transparent; border:0;
  text-decoration:underline; text-underline-offset:5px; cursor:pointer;
}

:is(.page-products, .featured-coffees) .packshot,
:is(.page-products, .featured-coffees) .product-details[open],
.page-home #business {background-color:var(--surface)}
:is(.page-products, .featured-coffees) .packshot-hint {background-color:var(--paper)}

/* White surfaces, original espresso artwork and accents. */
.page-home .collection, .page-home #business, .footer {
  background: var(--paper);
}
.footer, .footer p, .footer address, .footer-base { color: var(--ink); }
.footer-base { border-top-color: #dedbd7; }
.footer a:hover, .footer button:hover, .footer :focus-visible {
  color: var(--accent);
  outline-color: var(--accent);
}

:is(.page-products, .page-contact) .header,
.page-home .header:is(.is-scrolled, :has(.links.open)) {
  background: var(--paper);
  color: var(--ink);
}
:is(.page-products, .page-contact, .menu-open) .header,
.page-home .header.is-scrolled { --nav-ink: var(--ink); }
.header .nav :is(.menu-button, .language-toggle),
.page-products .header .nav .header-search { color: var(--nav-ink, white); }
.header :focus-visible { outline-color: var(--nav-ink, white); }
:is(.page-products, .page-contact) .header .brand .coffee-group-logo,
.page-home .header.is-scrolled .brand .coffee-group-logo,
.footer .brand .coffee-group-logo { filter: none; }

:is(.page-products, .featured-coffees) .product-overlay { background: var(--surface); }
#searchField.catalog-search-sheet { background: white; color: var(--ink); }
#searchField.catalog-search-sheet input { color: var(--ink); border-color: #817974; }
#searchField.catalog-search-sheet input::placeholder { color: var(--muted); }
#searchField.catalog-search-sheet input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Leave the reading area clear when moving down the page. */
body .header { transition: transform .2s ease-out, background-color .18s ease; }
body:not(.menu-open) .header.scroll-away:not(:has(:focus-visible, .is-open)) {
  transform: translateY(-100%);
}
.menu-open .header { top: 0; }
.header .nav .links a:focus-visible {
  outline: 0;
  text-decoration: underline double;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}
#searchField.catalog-search-sheet {
  top: 50%; right: calc(100% + 4px); transform: translateY(-50%);
  width: clamp(10rem, 18vw, 14rem);
  border-radius: 999px; background: #f2f0ed;
}
#searchField.catalog-search-sheet input {
  min-height: 44px; padding-inline: 18px; border: 0; border-radius: inherit;
}
#searchField.catalog-search-sheet label { border-radius: inherit; }
@media (max-width: 760px) {
  .page-products .catalog-feedback {
    display: grid; grid-template-columns: auto minmax(0, 1fr);
    align-items: center; gap: 0 8px;
  }
  .catalog-feedback .header-search {
    grid-area: 1 / 2; display: flex; flex-direction: row-reverse;
    align-items: center; justify-content: flex-start; min-width: 0;
  }
  .catalog-feedback #openSearch { flex: 0 0 44px; color: var(--ink); }
  .catalog-feedback #searchField.catalog-search-sheet {
    position: static; transform: none; width: min(100%, 11rem); min-width: 0;
  }
  .catalog-feedback #resetCatalog { grid-column: 1 / -1; justify-self: start; }
  .page-products .header .nav .language-toggle { margin-left: auto; }
  .page-products .header .nav .brand { max-width: calc(100% - 100px); }
}
.page-home .chapter { padding-block: clamp(36px, 4.5vw, 72px); }
.page-home #business + .tasting-section { padding-top: 0; }
.page-contact .chapter { padding-block: clamp(44px, 6vw, 88px); }
.page-contact .faq-section { padding-bottom: clamp(44px, 6vw, 88px); }
.page-products .products .section-head { margin-bottom: clamp(20px, 3vw, 36px); }
.page-products .catalog-tools { padding-block: 0; margin-bottom: 12px; }
.page-products .catalog-feedback { min-height: 32px; margin: 0 0 20px; }
.page-products .product-grid { row-gap: clamp(32px, 4vw, 48px); }
:is(.page-products, .featured-coffees) .product-copy { padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { body .header { transition: none; } }

/* Single section-to-section gap and consistent label-to-heading spacing. */
.page-home .chapter + .chapter { padding-top: 0; }
.page-home .chapter { padding-bottom: clamp(44px, 6vw, 88px); }
.page-home .chapter .label, .page-contact .chapter .label,
.page-products .section-head .label { margin-bottom: 12px; }
.page-home .roasting-copy p:not(.label) { margin-block: 16px; }
.page-home .location-heading, .page-home #business .section-head,
.page-contact .section-head { margin-bottom: clamp(20px, 2vw, 32px); }
.page-contact .contact-details { gap: clamp(20px, 2.5vw, 32px); }
.page-products .catalog-feedback { margin-bottom: 14px; }
:is(.page-products, .featured-coffees) .product-copy :is(h2,h3) { margin-block: 6px; }
:is(.page-products, .featured-coffees) .product-copy .product-feature { margin-top: 6px; }

/* Keep a real image on screen until the first moving frame is presented. */
.editorial-media-frame { position: relative; }
.playback-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; opacity: 1; transition: opacity .16s ease-out;
}
.film-hero > .playback-poster { z-index: -1; object-position: 60% center; }
.tasting-panel > .playback-poster { z-index: -2; }
video.frame-ready + .playback-poster { opacity: 0; }
@media (max-width:760px) { .film-hero > .playback-poster { object-position: 58% center; } }
@media (prefers-reduced-motion:reduce) { .playback-poster { transition: none; } }

/* Reading sizes for catalogue information and the shared contact footer. */
.page-products .product-note,
.page-products .product-note .textlink,
.footer .footer-grid p,
.footer .footer-grid nav a,
.footer .footer-grid address { font-size: 1rem; line-height: 1.6; }
.footer .footer-base small { font-size: .8125rem; }

@media (min-width: 700px) and (max-width: 1365px) {
  .page-products .section-head .section-intro { font-size: 1.25rem; line-height: 1.55; }
  .page-products .catalog-categories button,
  .page-products .catalog-feedback,
  .page-products .catalog-pagination .button { font-size: 1.0625rem; }
  :is(.page-products, .featured-coffees) .product-copy .product-kicker { font-size: 1rem !important; }
  :is(.page-products, .featured-coffees) .product-copy .product-feature,
  .page-products .product-note,
  .page-products .product-note .textlink,
  .footer .footer-grid p,
  .footer .footer-grid nav a,
  .footer .footer-grid address { font-size: 1.125rem; }
  :is(.page-products, .featured-coffees) .product-copy :is(h2,h3) { font-size: 1.75rem; }
  .footer .footer-base { font-size: .9375rem; }
  .footer .footer-base small { font-size: .875rem; }
}

/* Use spacing and warm surfaces to distinguish controls and sections. */
.textlink, .plain-link, .location-directions,
:is(.page-products, .featured-coffees) .product-links a, .catalog-feedback button, .catalog-empty button {
  border-bottom: 0;
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}
.textlink:hover, .plain-link:hover, .location-directions:hover,
.location-contact > a:hover, :is(.page-products, .featured-coffees) .product-links a:hover {
  text-decoration: none;
  color: var(--accent);
}
.header .nav .links a {
  border-bottom: 0;
  padding-inline: .4em;
  border-radius: 6px;
}
.header .nav .links a:hover, .header .nav .links a[aria-current],
.header .nav .links a:focus-visible {
  text-decoration: none;
}
.header .nav .links a:active { color: var(--accent); }
.header .nav .links a:focus-visible { outline: 2px solid var(--accent); }
.page-products .catalog-categories button {
  padding-inline: .65em;
  border-radius: 6px;
}
.page-products .catalog-categories button::after { content: none; }

.faq-list details {
  border: 0;
  border-radius: 8px;
  background-color: #f7f4f0;
  padding-inline: clamp(14px, 2.5vw, 24px);
}
.faq-list details + details { margin-top: 10px; }
.faq-list summary span { flex-shrink: 0; }
.service-grid article, .location-heading, .location-contact,
.page-products .product-note, .footer-base, .page-contact .form-panel {
  border-top: 0;
}
.footer .plain-link { text-decoration: none; }
:is(.page-products, .featured-coffees) .product-facts > div { border-bottom: 0; }
:is(.page-products, .featured-coffees) .product-facts > div:nth-child(even) { background-color: #f7f4f0; }

/* Current page remains recognizable through its font weight. */
.header .nav .links a[aria-current="page"] {
  position: relative;
  font-weight: 650;
  color: #482818;
}

.page-home #equipment .service-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .page-home #roasting .roasting-media,
  .page-home #equipment .service-image {
    order: 1;
  }
}

.page-home #business .wholesale-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: 32px;
}
.page-home #business .retail-note {
  margin-top: clamp(32px, 5vw, 60px);
  max-width: 56ch;
}
.page-home #business .retail-note p { margin-top: 8px; }
@media (max-width: 760px) {
  .page-home #business .wholesale-services { grid-template-columns: 1fr; }
}

/* Shared shape and typography for the site’s primary actions. */
body .site-cta:is(.button, .film-link, .outline-button),
.page-contact .lead-form .button.site-cta,
.page-products .catalog-pagination .button.site-cta,
:is(.page-products, .featured-coffees) .product-links > a.site-cta {
  --cta-color: #482818;
  --cta-hover-text: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 54px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid var(--cta-color);
  border-radius: 6px;
  background: transparent;
  color: var(--cta-color);
  font: 500 1rem/1.35 var(--sans);
  text-align: center;
  text-decoration: none;
}
.page-home .film-actions .site-cta {
  width: min(100%, 235px);
  min-width: 0;
}
.page-home .film-actions .site-cta,
.page-home .site-cta.outline-button {
  --cta-color: #fff;
  --cta-hover-text: #482818;
}
body .site-cta:focus-visible {
  outline: 2px solid var(--cta-color);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .page-home .film-actions .site-cta {
    width: min(100%, 310px);
    min-width: 0;
  }
}

.page-home .collection-shortcuts,
.page-home .equipment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* Keep the same corner shape across navigation, catalogue and form buttons. */
:root { --action-radius: 6px; }
body button,
body .site-cta,
body .site-cta:is(.button, .film-link, .outline-button),
.page-contact .lead-form .button.site-cta,
.page-products .catalog-pagination .button.site-cta,
:is(.page-products, .featured-coffees) .product-links > a.site-cta,
.page-products .catalog-categories button,
:is(.page-products, .featured-coffees) .packshot-toggle .packshot-hint {
  border-radius: var(--action-radius);
}
.page-home :is(.textlink, .location-directions),
.page-home :is(.textlink, .location-directions):hover {
  background: transparent;
  border: 0;
  text-decoration: none;
}
.page-home :is(.textlink, .location-directions):is(:hover, :active) {
  color: #482818;
}
.page-home :is(.textlink, .location-directions):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Filters indicate the selection without competing with the catalogue actions. */
.page-products .catalog-categories button {
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  padding-inline: 14px;
}
.page-products .catalog-categories button[aria-pressed="true"] {
  border-color: #73513e;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .page-products .catalog-categories button[aria-pressed="false"]:hover {
    color: var(--accent);
  }
}

/* Inline actions respond through their text. Keyboard focus stays visible. */
body :is(a[href^="tel:"], a[href^="mailto:"], a.textlink, a.plain-link,
         a.location-directions, .footer a:not(.brand), .product-links .product-spec):is(:hover, :active) {
  background: transparent;
  color: #8a4b2d;
  text-decoration: none;
}
.page-home :is(.textlink, .location-directions):is(:hover, :active),
.page-home .location-contact > a:is(:hover, :active) {
  color: #8a4b2d;
  text-decoration: none;
}

@media (max-width: 600px) {
  .page-products .products .section-head { margin-bottom: 28px; }
  .page-products .catalog-tools { margin-bottom: 18px; }
  .page-products .catalog-categories { gap: 10px 12px; }
  .page-products .catalog-feedback { margin-bottom: 20px; }
}

/* Keep the active query beside the results, independent of the search field. */
.page-products .catalog-feedback:has(+ .catalog-query:not([hidden])) {
  margin-bottom: 8px;
}
.catalog-query {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-bottom: 20px;
  padding-inline-start: 12px;
  border-radius: var(--action-radius);
  background: #f2ede6;
  color: var(--ink);
  font-size: .9375rem;
}
.catalog-query .user-message {
  min-width: 0;
  flex: 1 1 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}
#clearCatalogQuery {
  flex: 0 0 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: 500 1.25rem/1 var(--sans);
  cursor: pointer;
}
#clearCatalogQuery:hover { background: #e7ddd0; }

.page-contact .lead-form .tasting-confirmation {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
}

@media (max-width: 760px) {
  .page-home #business,
  .page-contact {
    --mobile-section-space: 48px;
    --mobile-content-space: 24px;
  }
  .page-home #business,
  .page-contact #contact { padding-bottom: var(--mobile-section-space); }
  .page-home #business :is(.section-head, .wholesale-services),
  .page-contact #faq .section-head { margin-bottom: var(--mobile-content-space); }
  .page-home #business .retail-note { margin-top: var(--mobile-content-space); }
}

/* Home favourites use the existing catalogue card. */
.page-home .featured-intro > p {
  margin-block: 12px 24px;
  max-width: 46ch;
  color: var(--muted);
}

.featured-carousel { position: relative; }

.featured-coffees {
  --featured-gap: clamp(14px, 2vw, 24px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: var(--featured-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 12px;
  scroll-padding-inline: 6px;
  scrollbar-width: thin;
}

.featured-coffees > article {
  min-width: 0;
  scroll-snap-align: start;
}

.featured-coffees .product-frame .packshot {
  min-height: 0;
}

.featured-arrow {
  position: absolute;
  z-index: 3;
  top: clamp(142px, 44vw, 220px);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid #d5c4ae;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: 400 1.65rem/1 var(--sans);
  cursor: pointer;
}

.featured-arrow[data-step="-1"] { inset-inline-start: -14px; }
.featured-arrow[data-step="1"] { inset-inline-end: -14px; }
.featured-arrow[aria-disabled="true"] { color: #77716c; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .featured-arrow:not([aria-disabled="true"]):hover { background: #f2ede6; }
}

.featured-catalog-link { margin-top: 20px; }

.page-home #location .location-practical p { color: var(--muted); }

@media (min-width: 680px) {
  .featured-coffees { grid-auto-columns: 44%; }
}

@media (min-width: 1100px) {
  .featured-coffees {
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home #collection + #business {
  padding-top: clamp(56px, 6vw, 88px);
}

.page-home #equipment {
  column-gap: clamp(44px, 5vw, 72px);
  row-gap: 0;
}
.page-home #equipment .equipment-carousel {
  margin: 24px 0 0;
  order: 0;
}
@media (min-width: 761px) {
  .page-home #equipment {
    align-items: start;
  }
  .page-home #equipment .equipment-carousel {
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
  .page-home #equipment .business-followup {
    grid-row: 2;
  }
}

.page-home #business .service-text {
  margin-top: clamp(28px, 4vw, 38px);
}

.page-home #business .service-text p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.page-home #business .equipment-actions {
  margin-top: 32px;
  gap: 12px 16px;
}

.page-contact .contact-details #technical p {
  margin-bottom: 12px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .page-home #business .equipment-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-contact .contact-details {
    gap: 34px;
  }
  .page-contact .contact-grid {
    row-gap: 44px;
  }
}

.page-home #location .location-practical {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-home #location .location-practical h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.page-home #location .location-practical address {
  font: inherit;
}

.page-home #location .location-contact > a {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .page-home #location .location-practical {
    grid-template-columns: 1fr;
  }
}

.featured-coffees .product-overlay {
  gap: 8px;
  padding: 44px 16px 14px;
}

.featured-coffees .overlay-actions {
  gap: 6px;
  padding-top: 0;
}

/* Prevent accidental double-tap zoom while keeping pinch zoom and scrolling. */
html {
  touch-action: manipulation;
}

/* Only button controls suppress text selection and the iOS long-press callout. */
:is(button, [role="button"], summary, a.button, a.site-cta, a.site-cta-tertiary, input[type="submit"]) {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Action priority is explicit in the markup. Keep variants independent of DOM order. */
body .site-cta.site-cta-primary,
.page-contact .lead-form .button.site-cta-primary,
:is(.page-products, .featured-coffees) .product-links > a.site-cta-primary {
  background: var(--cta-color);
  color: var(--cta-hover-text);
}
body .site-cta.site-cta-primary:is(:hover, :active),
.page-contact .lead-form .button.site-cta-primary:is(:hover, :active),
:is(.page-products, .featured-coffees) .product-links > a.site-cta-primary:is(:hover, :active) {
  background: #62402b;
  color: #fff;
}
body .site-cta.site-cta-secondary {
  border-color: var(--cta-color);
  background: transparent;
  color: var(--cta-color);
}
@media (hover: hover) and (pointer: fine) {
  body .site-cta.site-cta-secondary:hover {
    border-color: currentColor;
    box-shadow: inset 0 0 0 1px currentColor;
  }
}
body .site-cta-tertiary:is(a, button),
body .site-cta-tertiary:is(a, button):is(:hover, :active, :focus-visible) {
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}
body .site-cta-tertiary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Keep the label legible on both sides of the rising white fill. */
.page-home .outline-button.site-cta-primary,
.page-home .film-actions .button.site-cta-primary {
  background: #f0dfd0;
  border-color: #f0dfd0;
  color: #482818;
}
.page-home .outline-button.site-cta-primary:is(:hover, :active) {
  background: #fff;
  border-color: #fff;
  color: #482818;
}
/* Keep the resting styles visible ahead of the white wipe. */
.page-home .film-actions .button.site-cta-primary {
  background: #e6cbb3;
  border-color: #e6cbb3;
}
.page-home .film-actions .button.site-cta-secondary {
  background: transparent;
  color: #fff;
}
.page-home .film-actions .button.site-cta {
  position: relative;
  overflow: clip;
  transition: none;
  --film-fill: polygon(0 100%, 100% 118%, 100% 100%, 0 100%);
  --film-fill-opacity: 0;
  --film-fill-transition: opacity 140ms ease-out, clip-path 0s 140ms;
}
.page-home .film-actions .film-action-fill {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: inherit;
  border-radius: max(0px, calc(var(--action-radius) - 1px));
  background: #fff;
  color: #482818;
  opacity: var(--film-fill-opacity);
  clip-path: var(--film-fill);
  transition: var(--film-fill-transition);
  pointer-events: none;
}
.page-home .film-actions .site-cta.is-activating {
  --film-fill: polygon(0 -18%, 100% 0, 100% 100%, 0 100%);
  --film-fill-opacity: 1;
  --film-fill-transition: clip-path 340ms cubic-bezier(.16, .45, .35, 1);
}
@media (hover: hover) and (pointer: fine) {
  .page-home .film-actions .site-cta:hover:not(.uses-touch-hold) {
    --film-fill: polygon(0 -18%, 100% 0, 100% 100%, 0 100%);
    --film-fill-opacity: 1;
    --film-fill-transition: clip-path 340ms cubic-bezier(.16, .45, .35, 1);
  }
}
.page-home .film-actions .site-cta.uses-touch-hold {
  --film-fill-opacity: 1;
  --film-fill-transition: clip-path 260ms ease-out;
}
.page-home .film-actions .site-cta.uses-touch-hold:is(.is-holding, .is-activating) {
  --film-fill: polygon(0 -18%, 100% 0, 100% 100%, 0 100%);
  --film-fill-transition: clip-path 320ms linear;
}
@media (prefers-reduced-motion: reduce) {
  .page-home .film-actions .film-action-fill { transition: none; }
}

.featured-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 12px;
}
.featured-category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 600;
}

.page-home .equipment-carousel {
  position: relative;
  min-width: 0;
}
.equipment-track {
  margin-inline: 34px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.equipment-slide {
  min-width: 0;
  scroll-snap-align: start;
}
.equipment-slide img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.equipment-slide-copy {
  padding: 20px 4px 16px;
}
.equipment-slide-copy h3,
.equipment-slide-copy p {
  margin: 0 0 8px;
}
.equipment-slide-copy .textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.equipment-controls .featured-arrow[hidden] {
  display: none;
}
#professional-machines, #equipmentModels, #professional-machines .equipment-slide,
#professional-machines .equipment-slide img {
  border: 0;
  outline: none;
  box-shadow: none;
}
@media (max-width: 760px) {
  .page-home .featured-carousel { --arrow-gutter: 32px; }
  .page-home :is(.equipment-track, .featured-coffees) {
    margin-inline: var(--arrow-gutter);
    grid-auto-columns: 90%;
    gap: 12px;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }
  .page-home .featured-carousel .featured-arrow[data-step="-1"] { inset-inline-start: -12px; }
  .page-home .featured-carousel .featured-arrow[data-step="1"] { inset-inline-end: -12px; }
}
