/* Java Jazz • studio typography and readability refinement • Nov 2026
   The original Farzad art and page structure are intentionally retained. */
:root {
 --jj-text: #443026;
 --jj-secondary: #604738;
 --jj-label: #78513a;
 --jj-paper: #f7ecdc;
 --jj-deep: #3d291f;
 --jj-focus: #236e8b;
}
/* One voice for text; one elegant display face. No decorative marker or heavy block fonts. */
html { font-size:16px; }
body.jj-cubist { font-family:'DM Sans',Arial,Helvetica,sans-serif !important; font-size:16px; line-height:1.6; }
body.jj-cubist :is(p,li,span,small,label,input,select,textarea,button,a,figcaption,blockquote,div,nav) {
  font-family:'DM Sans',Arial,Helvetica,sans-serif !important;
}
body.jj-cubist :is(h1,h2,h3,h4,h5,h6,.logo,.logo span,.footer-brand,.jj-cart-head,.jj-cart-line-title,.market-product-info h3,.market-heading h2,.m-cat-card b,.jj-pdp-info h1,.product-bottom-band h2) {
  font-family:'Playfair Display',Georgia,serif !important;
  letter-spacing:-.025em;
  text-transform:none;
  text-shadow:none;
}
body.jj-cubist :is(h1,h2,h3,h4) em,
body.jj-cubist :is(h1,h2,h3,h4) i {
  font-family:'Playfair Display',Georgia,serif !important;
  font-style:italic !important;
  font-weight:400 !important;
  text-transform:none;
  text-shadow:none !important;
  transform:none !important;
}
/* Accent notes retain their handmade character through placement, not fonts. */
body.jj-cubist :is(.scribble,.handwriting,.graffiti-corner,.rough-stamp,.gallery-stamp,.circle-note,.hero-photo-polaroid figcaption,.m-hero-stamp,.burst-sticker) {
  font-family:'DM Sans',Arial,sans-serif !important;
  font-weight:700 !important;
  font-style:normal !important;
  text-shadow:none !important;
  letter-spacing:.015em !important;
  line-height:1.35 !important;
}
body.jj-cubist .scribble,body.jj-cubist .handwriting{font-size:clamp(15px,1.8vw,19px) !important;transform:none!important}
body.jj-cubist .logo{font-size:clamp(25px,3vw,37px) !important;letter-spacing:-.045em !important;line-height:1.02 !important;transform:none !important;text-shadow:none !important;color:#452c21 !important}
body.jj-cubist .logo span{color:#925b43 !important;margin-left:2px!important;text-shadow:none!important}
body.jj-cubist .logo small{font-family:'DM Sans',Arial,sans-serif!important;font-size:9px!important;letter-spacing:.14em!important;font-weight:700!important;color:#6d4b37!important}
body.jj-cubist .main-nav a{font:600 13px/1.4 'DM Sans',Arial,sans-serif !important;letter-spacing:.01em !important;white-space:normal;color:#493426 !important}
body.jj-cubist .main-nav .nav-shop{font-weight:700!important;letter-spacing:.015em!important;color:#fff7e8!important;border:1px solid #68422f!important;background:#5b3d2d!important;box-shadow:none!important;border-radius:5px!important;transform:none!important}
body.jj-cubist .utility{font:700 11px/1.45 'DM Sans',Arial,sans-serif!important;letter-spacing:.065em!important;background:#493127!important;color:#fff0db!important;border-bottom:1px solid #ba926b!important}
body.jj-cubist .utility span{color:#fff0db !important}
body.jj-cubist :is(.eyebrow,.m-eyebrow,.market-kicker,.market-kind,.market-heading .m-eyebrow,.footer-label,.market-controls label span,.jj-pdp-field legend,.jj-shop-tools label) {
 font-family:'DM Sans',Arial,sans-serif!important;font-weight:700!important;
 letter-spacing:.085em!important;line-height:1.5!important;font-size:clamp(11px,1.0vw,13px)!important;
}
body.jj-cubist a:focus-visible,body.jj-cubist button:focus-visible,
body.jj-cubist input:focus-visible,body.jj-cubist select:focus-visible{
 outline:3px solid var(--jj-focus)!important;outline-offset:3px!important;
}
/* Painting-led homepage: rich art remains visible outside text, without black gaps. */
body.jj-cubist .art-hero{color:var(--jj-text)!important;background:#f2e4d0!important}
body.jj-cubist .art-hero::before{
 background-image:linear-gradient(90deg,rgba(249,235,215,.18),rgba(249,235,215,.06)),url('assets/farzad-gallery-wallpaper-light.webp')!important;
 background-position:center!important;background-size:cover!important;opacity:1!important;
}
body.jj-cubist .art-hero h1{color:#402b22!important;font-size:clamp(55px,6.7vw,100px);line-height:1.08!important;letter-spacing:-.045em!important;margin-bottom:24px!important}
body.jj-cubist .art-hero h1 .h1-second{color:#805441!important}
body.jj-cubist .art-hero h1 em{color:#895844!important}
body.jj-cubist .art-hero .hero-description{color:#513a2d!important;font-size:clamp(16px,1.4vw,19px)!important;font-weight:500!important;line-height:1.66!important}
body.jj-cubist .art-hero .scribble{color:#73462e!important}
body.jj-cubist .art-hero :is(.eyebrow.light,.hero-smallprint){color:#65432e!important;font-size:12px!important;letter-spacing:.075em!important}
body.jj-cubist .art-hero .btn-primary,
body.jj-cubist .market-button{font:700 13px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.025em!important;color:#fff8ef!important;background:#62402d!important;border-color:#62402d!important;border-radius:5px!important;box-shadow:none!important;transform:none!important}
body.jj-cubist .art-hero .btn-outline-light{font:700 13px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.025em!important;color:#4b3226!important;background:#fff6e9!important;border-color:#9b7457!important;border-radius:5px!important;box-shadow:none!important;transform:none!important}
/* Printed gallery sections: readable text on softly painted paper. */
body.jj-cubist :is(.welcome-art,.gallery-art,.find-your-jazz){color:#473126!important}
body.jj-cubist :is(.welcome-art,.gallery-art,.find-your-jazz) :is(h2,h3){color:#473126!important;text-shadow:none!important}
body.jj-cubist :is(.welcome-art,.gallery-art,.find-your-jazz) :is(p,.eyebrow,.handwriting){color:#624737!important}
body.jj-cubist .welcome-copy>p:not(.eyebrow){font-size:17px!important;line-height:1.68!important}
body.jj-cubist .find-your-jazz>.eyebrow{color:#6e4f3a!important}
body.jj-cubist .find-your-jazz h2{line-height:1.15!important}
/* Cards intentionally remain playful; body paragraphs get enough contrast. */
body.jj-cubist .wild-card p{font-size:16px!important;line-height:1.6!important;color:#33251f!important}
body.jj-cubist .wild-card h3{line-height:1.15!important}
body.jj-cubist .wild-card .wild-cta{font:700 14px/1.4 'DM Sans',Arial,sans-serif!important;letter-spacing:.015em!important;color:#2c201c!important}
/* Dedicated art / story and visit sections. */
body.jj-cubist .mural-section{min-height:420px!important}
body.jj-cubist .mural-section::before{background:rgba(33,21,19,.42)!important}
body.jj-cubist .mural-text{max-width:920px;margin:auto;padding:43px 22px!important;color:#fff6e9!important}
body.jj-cubist .mural-text h2{color:#fff4e4!important;font-size:clamp(48px,6.8vw,90px)!important;line-height:1.05!important}
body.jj-cubist .mural-text h2 em{color:#f4d0a5!important}
body.jj-cubist .mural-text p{color:#ffedda!important;font-size:13px!important;letter-spacing:.09em!important}
body.jj-cubist .mural-text a{font:700 13px/1.35 'DM Sans',Arial,sans-serif!important;border:1px solid #f8e2c5!important;border-radius:5px!important;background:#f8e9d4!important;color:#432d23!important;box-shadow:none!important}
body.jj-cubist :is(.art-page-hero .page-hero-copy,.menu-categories,.visit-info,.split-section.paper,.gallery-art){color:#493225!important}
body.jj-cubist .art-page-hero .page-hero-copy :is(h1,p,.eyebrow){color:#483023!important;text-shadow:none!important}
body.jj-cubist .art-page-hero .page-hero-copy h1 em{color:#90573e!important}
body.jj-cubist .art-page-hero .page-hero-copy{background-color:rgba(248,235,217,.85)!important}
body.jj-cubist .art-page-hero .page-hero-copy::before{font:700 11px 'DM Sans',Arial,sans-serif!important;color:#83543d!important}
body.jj-cubist :is(.menu-categories,.visit-info,.split-section.paper) :is(h2,h3,p,li,.eyebrow){color:#4b3226!important}
body.jj-cubist .menu-pages .subnote{color:#f8e5d1!important;font-size:14px!important;line-height:1.6!important}
body.jj-cubist :is(.page-hero,.split-section,.visit-info,.visit-art-left,.menu-categories,.menu-pages,.gallery-art,.farzad-originals) p{line-height:1.65!important}
/* On deep photo backgrounds, high-contrast text is mandatory. */
body.jj-cubist :is(.paper-dark,.wide-quote,.visit-art-left){color:#fff2de!important}
body.jj-cubist .paper-dark :is(h2,h3,p,.eyebrow),
body.jj-cubist .wide-quote :is(h2,h3,p,.eyebrow),
body.jj-cubist .visit-art-left :is(h2,h3,p,.eyebrow){color:#fbe9d6!important}
body.jj-cubist .visit-art-left{background-color:#553b30!important}
body.jj-cubist .visit-art-left .eyebrow{color:#f1d3b0!important}
/* Product discovery / shopping: keep familiar coffee-shop feeling while removing faint captions. */
body.jj-cubist.market-page{color:var(--jj-text)!important;background-color:#f4e7d5!important}
body.jj-cubist .market-hero-copy{background:rgba(255,248,236,.88)!important;border:1px solid #e1ceb6!important;box-shadow:0 10px 32px #63452d0f}
body.jj-cubist .market-hero-copy>p:not(.m-eyebrow){font-size:16px!important;line-height:1.7!important;color:#5b4233!important}
body.jj-cubist .market-hero h1{font-size:clamp(44px,5vw,75px)!important;line-height:1.11!important;color:#453025!important}
body.jj-cubist .market-hero h1 em{color:#87583d!important}
body.jj-cubist .m-eyebrow,body.jj-cubist .market-kicker{color:#764c30!important}
body.jj-cubist .market-intro h2,body.jj-cubist .market-heading h2{color:#493025!important;line-height:1.14!important}
body.jj-cubist .market-store .market-heading>p:last-child{color:#5d4435!important;font-size:16px!important}
body.jj-cubist .market-category-cards small{color:#70503a!important;letter-spacing:.05em!important;font-size:12px!important}
body.jj-cubist .m-cat-card b{color:#493024!important;font-size:clamp(22px,2vw,27px)!important;line-height:1.17!important}
body.jj-cubist .market-filter-nav button{font:700 13px/1.35 'DM Sans',Arial,sans-serif!important;padding:11px 15px!important;letter-spacing:0!important}
body.jj-cubist .market-controls label span{color:#5f422e!important}
body.jj-cubist .market-controls :is(input,select){font-size:15px!important;min-height:49px!important;color:#493024!important;background:#fff9ef!important}
body.jj-cubist .market-status{color:#644935!important;font-size:14px!important}
body.jj-cubist .market-kind{font-size:12px!important;color:#825234!important;letter-spacing:.055em!important}
body.jj-cubist .market-product-info h3{font-size:clamp(20px,1.9vw,27px)!important;line-height:1.2!important;color:#452c21!important}
body.jj-cubist .market-product-price{font-size:16px!important;color:#42291e!important}
body.jj-cubist .market-product-choice{font-size:13px!important;color:#684b35!important;line-height:1.45!important}
body.jj-cubist .market-product-cta{font:700 12px/1.35 'DM Sans',Arial,sans-serif!important;letter-spacing:.025em!important;min-height:45px!important}
body.jj-cubist .market-coffee-message{background:#483126!important;color:#fff0de!important}
body.jj-cubist .market-coffee-message h2{color:#fff3e5!important}
body.jj-cubist .market-coffee-message h2 em{color:#f3c79e!important}
body.jj-cubist .market-coffee-message :is(p,.m-eyebrow){color:#f8e3cc!important}
body.jj-cubist .market-specials :is(p,a){color:#50372b!important;font-size:15px!important}
body.jj-cubist .jj-pdp-description{color:#5d4232!important;font-size:15px!important;line-height:1.7!important}
body.jj-cubist .jj-pdp-info h1{font-size:clamp(37px,4.4vw,64px)!important;line-height:1.14!important}
body.jj-cubist .jj-pdp-field legend{color:#573a28!important}
body.jj-cubist .jj-pdp-choices button{font-size:13px!important;min-height:44px!important}
body.jj-cubist .jj-pdp-qty,body.jj-cubist .jj-pdp-note{color:#654737!important;font-size:14px!important}
body.jj-cubist .jj-cart-content{color:#493025!important}
body.jj-cubist .jj-cart-line-desc{font-size:13px!important;color:#684b39!important}
body.jj-cubist .jj-cart-preview-note{font-size:13px!important;color:#6c503a!important}
body.jj-cubist .jj-pdp-add,body.jj-cubist .jj-cart-checkout{font:700 14px/1.4 'DM Sans',Arial,sans-serif!important;min-height:50px!important}
/* Consistent small-print, footers, and interactions. */
body.jj-cubist .site-footer{background:#30241e!important;border-top:3px solid #a98467!important}
body.jj-cubist .site-footer :is(p,a,span,.footer-label){color:#f4e2d0!important;font-size:13px!important;line-height:1.6!important}
body.jj-cubist .site-footer .footer-brand{color:#f9e7d4!important;text-shadow:none!important;font-size:clamp(32px,3.5vw,45px)!important}
body.jj-cubist .site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
body.jj-cubist :is(.market-button,.market-product-cta,.jj-pdp-add,.jj-cart-checkout,.jj-cart-open) {transition:background-color .2s,color .2s,transform .2s!important}
body.jj-cubist :is(.market-button,.market-product-cta,.jj-pdp-add,.jj-cart-checkout):hover:not(:disabled){background:#85583d!important}
/* Ensure details and cards never bleed off narrow devices. */
@media(max-width:780px){
 body.jj-cubist .utility{font-size:10px!important;letter-spacing:.025em!important;gap:6px!important;flex-wrap:wrap!important;justify-content:center!important;text-align:center!important}
 body.jj-cubist .utility span{font-size:10px!important;letter-spacing:.025em!important}
 body.jj-cubist .art-hero::before{background-image:linear-gradient(90deg,rgba(248,236,218,.07),rgba(248,236,218,.04)),url('assets/farzad-gallery-wallpaper-mobile-light.webp')!important;background-size:100% auto!important;background-position:top center!important;background-repeat:repeat-y!important}
 body.jj-cubist .art-hero-wrap{padding:22px 13px 28px!important;gap:12px!important}
 body.jj-cubist .art-copy{background:rgba(255,246,230,.88)!important;padding:21px 18px!important;border:1px solid #dfc6a6!important;border-radius:10px!important}
 body.jj-cubist .art-hero h1{font-size:clamp(43px,10vw,60px)!important;line-height:1.05!important;margin:7px 0 14px!important}
 body.jj-cubist .art-hero h1 em{font-size:.86em!important}
 body.jj-cubist .art-hero .hero-description{font-size:16px!important;line-height:1.59!important;margin-bottom:18px!important}
 body.jj-cubist .art-hero .eyebrow.light,body.jj-cubist .art-hero .hero-smallprint{font-size:11px!important;line-height:1.5!important}
 body.jj-cubist .art-hero .button{font-size:12px!important;min-height:46px!important;letter-spacing:.015em!important}
 body.jj-cubist .photo-stack{height:285px!important}
 body.jj-cubist .hero-photo-polaroid figcaption{font-size:13px!important;color:#5f4030!important}
 body.jj-cubist :is(.welcome-art,.gallery-art,.find-your-jazz){padding-top:55px!important;padding-bottom:60px!important}
 body.jj-cubist .welcome-art h2,body.jj-cubist .gallery-art h2,body.jj-cubist .find-your-jazz h2{font-size:clamp(36px,9vw,52px)!important;line-height:1.13!important}
 body.jj-cubist .welcome-copy>p:not(.eyebrow){font-size:16px!important}
 body.jj-cubist .wild-card p{font-size:15px!important;min-height:0!important}
 body.jj-cubist .mural-section{min-height:330px!important}
 body.jj-cubist .mural-text h2{font-size:clamp(43px,10vw,65px)!important;line-height:1.06!important}
 body.jj-cubist .mural-text p{font-size:12px!important}
 body.jj-cubist .market-hero{padding:18px 12px 37px!important;gap:20px!important;min-height:0!important}
 body.jj-cubist .market-hero-copy{padding:21px 17px!important}
 body.jj-cubist .market-hero h1{font-size:clamp(40px,9.5vw,55px)!important;line-height:1.08!important;margin:12px 0 16px!important}
 body.jj-cubist .market-hero-copy>p:not(.m-eyebrow){font-size:15px!important}
 body.jj-cubist .market-hero-visual{height:260px!important}
 body.jj-cubist .m-cat-card small{font-size:11px!important;letter-spacing:.015em!important}
 body.jj-cubist .m-cat-card b{font-size:21px!important}
 body.jj-cubist .market-store{padding:45px 13px 65px!important}
 body.jj-cubist .market-heading h2{font-size:clamp(39px,10vw,54px)!important}
 body.jj-cubist .market-filter-nav button{font-size:12px!important;padding:10px 11px!important}
 body.jj-cubist .market-product-info h3{font-size:19px!important;line-height:1.22!important}
 body.jj-cubist .market-kind{font-size:11px!important}
 body.jj-cubist .market-product-choice{font-size:12px!important}
 body.jj-cubist .market-product-cta{font-size:11px!important;padding:12px 9px!important}
 body.jj-cubist .jj-pdp-info{padding:22px 17px!important}
 body.jj-cubist .jj-pdp-info h1{font-size:clamp(38px,9vw,52px)!important}
 body.jj-cubist .site-footer :is(p,a,span,.footer-label){font-size:12px!important}
 body.jj-cubist :is(.main-nav a,.main-nav a:hover){font-size:15px!important;line-height:1.4!important;color:#493426!important}
 body.jj-cubist .main-nav .nav-shop{color:#fff7e8!important}
 body.jj-cubist .art-page-hero h1{font-size:clamp(39px,9vw,57px)!important;line-height:1.1!important}
}
@media(max-width:410px){
 body.jj-cubist .art-hero h1{font-size:43px!important}
 body.jj-cubist .art-hero .cta-row{gap:9px!important}
 body.jj-cubist .market-hero-visual{height:235px!important}
 body.jj-cubist .market-product-cta{font-size:10.5px!important}
}
@media(prefers-reduced-motion:reduce){body.jj-cubist *{transition-duration:0.01ms!important;animation-duration:0.01ms!important}}
/* Explicitly pair dark copy with LIGHT original-art paper on interior informational pages. */
body.jj-cubist .art-page-hero .page-hero-copy,
body.jj-cubist .menu-categories,
body.jj-cubist .visit-info,
body.jj-cubist .split-section.paper {
 background-image:linear-gradient(90deg,rgba(251,241,226,.92),rgba(251,241,226,.8),rgba(251,241,226,.91)),url('assets/farzad-gallery-wallpaper-light.webp')!important;
 background-color:#f5e7d6!important;
 background-position:center!important;
 background-size:cover!important;
}
@media(max-width:780px){
 body.jj-cubist .art-page-hero .page-hero-copy,
 body.jj-cubist .menu-categories,
 body.jj-cubist .visit-info,
 body.jj-cubist .split-section.paper {
  background-image:linear-gradient(90deg,rgba(250,240,224,.9),rgba(250,240,224,.81)),url('assets/farzad-gallery-wallpaper-mobile-light.webp')!important;
  background-position:center!important;
 }
}
