/* Multi-page foundations. Brand refinements below retain distinct page rhythms. */
header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
a.enquire, a.button, a.contact-button, a.text-button { align-items: center; }
.demo-bar { border: 0; background: transparent; padding-block: 8px; }
.demo-bar a { font-size: 12px; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; }
.inner-opening { padding: 75px 6% 65px; }
.inner-opening > p:first-child { font-size: 14px; margin: 0 0 24px; }
.inner-opening h1, .service-page-opening h1 { margin: 0; font-size: clamp(54px, 6.5vw, 96px); line-height: 1.03; letter-spacing: -.055em; font-weight: 400; }
.inner-lede { font-size: 20px; line-height: 1.65; max-width: 48ch; margin: 28px 0 0; }
.inner-opening .back-link { margin-bottom: 28px; }
.related-call { padding: 70px 6%; border-top: 1px solid #19211e30; }
.related-call h2 { font-size: clamp(36px, 4vw, 54px); max-width: 19ch; }
.related-call p { font-size: 17px; line-height: 1.7; max-width: 50ch; }
.related-call > a { margin-top: 28px; }
.contact-page-layout { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 10%; padding: 0 6% 95px; }
.contact-page-layout aside { padding-top: 45px; }
.contact-page-layout aside h2 { font-size: 32px; }
.contact-page-layout aside p { font-size: 17px; line-height: 1.8; max-width: 36ch; }
.inline-planner { min-width: 0; padding: 44px; background: #fff7; border: 1px solid #19211e40; }
.inline-planner > .close { display: none; }
.inline-planner h2 { font-size: 38px; }
.inline-planner .demo-note { font-size: 12px; line-height: 1.8; }
.inline-planner form label { margin-top: 25px; }
.inline-planner .submit-button { margin-top: 30px; }
.architecture-facts { display: flex; gap: 80px; margin: 40px 0 0; }
.architecture-facts dt { font-size: 12px; color: #505e51; }
.architecture-facts dd { margin: 10px 0 0; font-size: 17px; }
.project-full-image { margin: 0 4%; }
.project-full-image > img { width: 100%; height: auto; display: block; max-height: 850px; object-fit: cover; }
.architecture-gallery-trigger { border: 0; background: transparent; padding: 0; display: block; width: 100%; color: inherit; }
.architecture-gallery-trigger img { width: 100%; height: auto; max-height: 850px; object-fit: cover; display: block; }
.architecture-gallery-trigger span { display: block; padding: 18px 0; font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.architecture-story { max-width: 1050px; margin: 0 auto; padding: 80px 6%; display: grid; gap: 50px; }
.architecture-story section { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.architecture-story h2 { font-size: 36px; }
.architecture-story p { margin: 0; font-size: 18px; line-height: 1.8; }
.project-secondary { margin: 0 8% 85px 24%; }
.project-secondary img { display: block; width: 100%; height: auto; }
.project-secondary figcaption { font-size: 13px; padding-top: 16px; line-height: 1.7; }
.studio-portrait { margin-inline: 6%; }
.studio-portrait img { width: 100%; height: min(68vw, 740px); object-fit: cover; display: block; }
/* Daybreak has a more graphic, product-led structure. */
body:has(.wordmark) .inner-opening h1 { font-weight: 800; }
.product-back { margin: 30px 5% 0; }
.coffee-product-page { padding: 30px 5% 75px; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.product-life { perspective: 1000px; min-height: 650px; display: grid; place-items: center; border-radius: 4px; overflow: hidden; }
.product-life img { width: 62%; max-width: 360px; height: auto; transform: rotate(-8deg); filter: drop-shadow(15px 26px 14px #192bb725); }
.coffee-product-copy h1 { margin: 18px 0; font-size: clamp(54px, 6vw, 86px); font-weight: 800; line-height: 1; letter-spacing: -.055em; }
.coffee-product-copy > p:first-child { font-size: 14px; }
.coffee-product-copy > p { font-size: 18px; color: var(--ink); line-height: 1.8; max-width: 38ch; }
.coffee-product-copy .taste-line { font-weight: 700; color: var(--blue); }
.coffee-product-copy dt { font-size: 14px; font-weight: 700; margin-top: 24px; }
.coffee-product-copy dd { font-size: 16px; line-height: 1.8; margin: 10px 0 0; color: var(--ink); max-width: 42ch; }
.coffee-product-copy .button { margin-top: 25px; }
.product-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; padding: 65px 10%; background: #e6ddff; scroll-margin-top: 20px; }
.product-options .config-art { background: transparent; max-width: 330px; width: 100%; margin: auto; }
.product-options .config h2 { font-size: 44px; }
.product-options .config label { font-size: 16px; }
.product-options .config select { width: 100%; padding: 16px; background: var(--paper); }
.shop-guidance { padding: 70px 6% 90px; text-align: center; }
.shop-guidance h2 { font-size: 46px; }
.shop-guidance p { max-width: 47ch; margin: 24px auto; font-size: 18px; line-height: 1.8; color: var(--ink); }
.brew-methods { margin: 0 6%; border-top: 1px solid #192bb740; }
.brew-methods article { display: grid; grid-template-columns: .65fr 1fr 2fr; align-items: start; gap: 25px 5%; padding: 40px 0; border-bottom: 1px solid #192bb740; }
.brew-glyph { display: none; }
.brew-methods h2 { font-size: 36px; }
.brew-methods article > p:not(.brew-pairing) { grid-column: 2/-1; font-size: 18px; line-height: 1.8; color: var(--ink); margin: 0; max-width: 60ch; }
.brew-methods .brew-pairing { grid-column: 2; margin: 0; font-size: 14px; line-height: 1.8; }
.brew-methods a { grid-column: 3; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; min-height: 44px; }
.story-poster { padding: 65px 10%; background: #e6ddff; font-size: clamp(80px, 13vw, 180px); font-weight: 800; line-height: 1.05; letter-spacing: -.07em; }
.story-poster span { display: block; }
.story-poster span:nth-child(2) { padding-left: 15%; }
.story-poster span:nth-child(3) { padding-left: 30%; }
.coffee-story { max-width: 1080px; margin: 0 auto; padding: 90px 6%; display: grid; gap: 60px; }
.coffee-story h2 { max-width: 22ch; font-size: 40px; }
.coffee-story p { font-size: 19px; color: var(--ink); line-height: 1.8; max-width: 59ch; }
.bag-page-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8%; padding: 0 6% 100px; align-items: start; }
.bag-page-layout #cart-dialog { max-width: none; }
.bag-page-layout .intro, .bag-page-layout #cart-title { display: none; }
.bag-page-layout aside h2 { font-size: 28px; }
.bag-page-layout aside p { color: var(--ink); font-size: 17px; line-height: 1.8; }
.bag-page-layout aside a { display: inline-block; padding: 14px 0; text-decoration: underline; text-underline-offset: 4px; }
/* Plumbing service pages use practical content, imagery and an easy enquiry. */
body:has(.brand) .inner-opening h1, .service-page-opening h1 { font-weight: 700; }
.service-page-opening { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7%; padding: 65px 6% 70px; align-items: center; }
.service-page-opening .back-link { margin-bottom: 28px; }
.service-page-opening h1 { font-size: clamp(48px, 5vw, 74px); }
.service-page-opening .inner-lede { font-size: 18px; color: var(--steel); max-width: 40ch; }
.service-page-opening .button { margin-top: 30px; }
.service-detail-photo img { width: 100%; height: 600px; display: block; object-fit: cover; object-position: 60% center; border-radius: 4px; }
.service-directory { margin: 0 6% 80px; }
.service-directory-row { display: grid; grid-template-columns: 45px 1fr 1.4fr; gap: 20px 4%; padding: 35px 0; border-bottom: 1px solid #18304740; }
.service-directory-row img { width: 32px; height: 32px; }
.service-directory-row h2 { font-size: 29px; }
.service-directory-row p { font-size: 17px; line-height: 1.8; margin: 0; color: var(--steel); }
.service-directory-row > span { grid-column: 3; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.service-page-body { margin: 0 6% 75px; display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-top: 45px; border-top: 1px solid #18304740; }
.service-page-body h2 { font-size: 36px; max-width: 20ch; }
.service-page-body p, .service-page-body li { color: var(--steel); font-size: 18px; line-height: 1.8; }
.service-page-body ul { padding-left: 22px; }
.service-page-body li { margin-block: 12px; }
.service-page-body .text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
body:has(.brand) .inline-planner { border-top: 4px solid var(--amber); border-radius: 4px; background: #fff; }
body:has(.brand) .inline-planner h2 { font-size: 34px; }
/* Progressive scroll effects are tied to the subject, with static fallbacks. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero-art { perspective: 1000px; }
    .hero-bag { animation: packaging-turn linear both; animation-duration: auto; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .project-full-image img { animation: architecture-settle linear both; animation-duration: auto; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes packaging-turn { from { transform: rotate(-12deg) rotateY(-12deg) translateY(25px); } to { transform: rotate(1deg) rotateY(9deg) translateY(-25px); } }
    @keyframes architecture-settle { from { transform: translateY(16px); opacity: .9; } to { transform: translateY(0); opacity: 1; } }
  }
}
@media (max-width: 760px) {
  .inner-opening { padding: 45px 24px 40px; }
  .inner-opening h1, .service-page-opening h1 { font-size: clamp(43px, 11.5vw, 66px); }
  .inner-lede { font-size: 18px; }
  .contact-page-layout { display: flex; flex-direction: column; padding: 0 24px 60px; gap: 30px; }
  .contact-page-layout aside { padding-top: 0; }
  .inline-planner { width: 100%; padding: 28px 22px; }
  .contact-page-layout #enquiry-dialog { padding: 28px 22px; }
  .inline-planner h2, .contact-page-layout #enquiry-dialog h2 { font-size: 34px; }
  .architecture-facts { flex-direction: column; gap: 22px; }
  .architecture-story { padding: 50px 24px; gap: 40px; }
  .architecture-story section { display: block; }
  .architecture-story h2 { font-size: 32px; margin-bottom: 18px; }
  .architecture-story p { font-size: 17px; }
  .project-full-image { margin-inline: 0; }
  .architecture-gallery-trigger span { padding-inline: 24px; }
  .project-secondary { margin: 0 24px 55px; }
  .studio-portrait { margin-inline: 24px; }
  .studio-portrait img { height: 380px; }
  .related-call { padding: 50px 24px; }
  .related-call h2 { font-size: 36px; }
  .coffee-product-page { display: flex; flex-direction: column; gap: 35px; padding: 25px 24px 50px; }
  .product-back { margin: 20px 24px 0; }
  .product-life { width: 100%; min-height: 430px; }
  .product-life img { width: 60%; max-width: 250px; }
  .coffee-product-copy h1 { font-size: 58px; }
  .product-options { display: block; padding: 45px 24px; }
  .product-options .config-art { display: none; }
  .product-options .config h2 { font-size: 40px; }
  .shop-guidance { padding: 55px 24px; }
  .shop-guidance h2 { font-size: 35px; }
  .brew-methods { margin: 0 24px; }
  .brew-methods article { display: block; padding: 30px 0; }
  .brew-methods h2 { margin-bottom: 20px; }
  .brew-methods article > p:not(.brew-pairing) { font-size: 17px; }
  .brew-methods .brew-pairing { margin-top: 18px; }
  .brew-methods a { display: inline-flex; align-items: center; margin-top: 12px; }
  .story-poster { font-size: 19vw; padding: 45px 24px; }
  .coffee-story { padding: 55px 24px; gap: 35px; }
  .coffee-story h2 { font-size: 34px; }
  .coffee-story p { font-size: 18px; }
  .bag-page-layout { display: flex; flex-direction: column; padding: 0 24px 55px; gap: 40px; }
  .service-page-opening { display: flex; flex-direction: column; padding: 45px 24px; gap: 35px; }
  .service-detail-photo { width: 100%; }
  .service-detail-photo img { height: 420px; }
  .service-directory { margin: 0 24px 55px; }
  .service-directory-row { grid-template-columns: 35px 1fr; gap: 20px; padding: 30px 0; }
  .service-directory-row h2 { font-size: 26px; }
  .service-directory-row p, .service-directory-row > span { grid-column: 2; }
  .service-directory-row p { font-size: 16px; }
  .service-page-body { display: block; margin: 0 24px 55px; padding-top: 35px; }
  .service-page-body section + section { margin-top: 40px; }
  .service-page-body h2 { font-size: 33px; }
  .service-page-body p, .service-page-body li { font-size: 17px; }
}
