/* Kakaasa tweaks (v3.26.1): smaller headings, trust strip, contact page. */

/* 1. Smaller headings everywhere, including inner pages */
.kk-heading,
.kq-head h2,
.kq-story__copy h2{font-size:clamp(1.5rem,2.6vw,2.4rem)!important;line-height:1.08!important;letter-spacing:-.02em!important}
.kk-page-hero h1,
main h1.kk-heading,
.kk-section h1,
.woocommerce div.product .product_title,
.product_title{font-size:clamp(1.7rem,3.2vw,2.8rem)!important;line-height:1.08!important}
.kq-story-manifesto h2,.kq-story-timeline h2,.kq-story-closing h2,.kq-editorial-duet__intro h2,
.kq-expand-story__heading h2,.kq-ritual__head h2,.kq-journal__head h2{font-size:clamp(1.5rem,2.6vw,2.4rem)!important;line-height:1.1!important}
@media(max-width:749px){
  .kk-heading,.kq-head h2,.kq-story__copy h2{font-size:clamp(1.4rem,6vw,1.8rem)!important}
  .kk-page-hero h1,.product_title{font-size:clamp(1.55rem,7vw,2.1rem)!important}
}

/* 2. Trust strip: 3 items, star line first */
.kq-trust__grid{grid-template-columns:1.4fr 1fr 1fr}
.kq-trust__item--tier{letter-spacing:.04em}
@media(max-width:749px){.kq-trust__grid{grid-template-columns:1fr}.kq-trust__item+div{border-left:0;border-top:1px solid var(--line)}}

/* 11. Contact page: single column, centred form */
.kk-contact-grid--single{grid-template-columns:minmax(0,720px)!important;justify-content:center}
.kk-contact-revert{margin:22px 0 0;text-align:center;font-weight:800;letter-spacing:.14em;font-size:.8rem;color:var(--gold)}

/* 13. Compact footer: 2 x 2 grid of link groups */
.kk-footer__identity{padding-top:22px!important;padding-bottom:16px!important;gap:20px!important}
.kk-footer__identity img{width:160px!important;max-height:50px!important}
.kk-footer__links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 40px!important;padding-top:20px!important;padding-bottom:20px!important;max-width:760px}
.kk-footer__links .kk-footer__column{gap:4px!important}
.kk-footer__links .kk-footer__column h3{min-height:0!important;margin-bottom:4px!important}
.kk-footer__links .kk-footer__column a{min-height:0!important;line-height:1.5!important;display:block!important}
.kk-footer__bottom{padding-top:12px!important;padding-bottom:12px!important}
@media(max-width:749px){
  .kk-footer__links{grid-template-columns:1fr 1fr!important;gap:18px 16px!important}
  .kk-footer__column a{min-height:0!important;display:block!important}
}

/* 14. Footer: two groups only, side by side, left aligned */
.kk-footer__links{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important;gap:20px 60px!important}
.kk-footer__links .kk-footer__column{align-content:start}
@media(max-width:749px){.kk-footer__links{grid-template-columns:1fr 1fr!important}}

/* 15. Our Story hero heading: smaller */
.kq-story-hero h1{font-size:clamp(1.5rem,2.6vw,2.4rem)!important;line-height:1.1!important;letter-spacing:-.02em!important}
@media(max-width:749px){.kq-story-hero h1{font-size:clamp(1.4rem,6vw,1.8rem)!important}}

/* 16. Our Story: thinner gaps between sections */
.kq-story-hero{min-height:300px!important;padding:50px 0!important}
.kq-story-hero h1{margin:8px 0 12px!important}
.kq-story-manifesto{padding:48px 20px!important}
.kq-story-manifesto h2{margin:8px 0 16px!important}
.kq-story-timeline{padding:44px 0!important}
.kq-story-symbols{padding:36px 0 0!important}
.kq-story-closing{padding:52px 20px!important}
@media(max-width:749px){
  .kq-story-hero{min-height:240px!important;padding:36px 0!important}
  .kq-story-manifesto,.kq-story-closing{padding:36px 16px!important}
  .kq-story-timeline{padding:32px 0!important}
}

/* 17. Our Story image cards: text on the image, smaller, readable on light and dark photos */
.kq-story-symbols article{position:relative;overflow:hidden}
.kq-story-symbols article img{display:block}
.kq-story-symbols article::after{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;background:linear-gradient(180deg,rgba(10,7,4,0) 0%,rgba(10,7,4,.55) 45%,rgba(10,7,4,.9) 100%);pointer-events:none}
.kq-story-symbols article h3,
.kq-story-symbols article p{position:absolute;left:0;right:0;z-index:2;margin:0!important;padding:0 24px;text-shadow:0 1px 14px rgba(0,0,0,.6)}
html .kq-story-symbols article h3{bottom:64px;color:#f6e6c3!important;font-size:1.25rem!important;line-height:1.2}
html .kq-story-symbols article p{bottom:22px;max-width:none!important;color:#eee4d3!important;font-size:.82rem!important;line-height:1.5}
@media(max-width:749px){
  html .kq-story-symbols article h3{bottom:60px;font-size:1.05rem!important}
  html .kq-story-symbols article p{bottom:16px;font-size:.74rem!important}
  .kq-story-symbols article h3,.kq-story-symbols article p{padding:0 16px}
}

/* 18. Our Story "Kakaasa Method": poster image on the left, shown whole */
.kq-story-craft__visual--poster{align-items:center!important;padding:28px}
.kq-story-craft__visual--poster:after{display:none!important}
.kq-story-craft__visual--poster img{width:auto!important;max-width:100%!important;height:min(900px,100%)!important;max-height:900px;object-fit:contain!important;filter:none!important;border-radius:6px;box-shadow:0 18px 50px rgba(0,0,0,.4)}
@media(max-width:900px){
  .kq-story-craft__visual--poster{height:auto!important;padding:24px 16px}
  .kq-story-craft__visual--poster img{height:auto!important;max-height:620px;max-width:min(100%,380px)!important}
}

/* 19. Poster background matches the picture (blurred, darkened copy of it) instead of brown */
.kq-story-craft__visual--poster{background:#0d302b!important;isolation:isolate}
.kq-story-craft__visual--poster:before{content:"";position:absolute;inset:-40px;z-index:-1;background:url("../images/story/why-kakaasa-different.jpg") center/cover no-repeat;filter:blur(38px) brightness(.55) saturate(1.1)}
.kq-story-craft__visual--poster img{box-shadow:0 18px 60px rgba(0,0,0,.55)!important}

/* 20. Our Story: founder story text */
.kq-story-craft__copy{padding:5vw 6vw!important}
.kq-story-craft__copy h2{font-size:clamp(1.6rem,2.6vw,2.4rem)!important;line-height:1.1!important;letter-spacing:-.02em!important;margin:8px 0 18px!important}
.kq-story-craft__text p{margin:0 0 14px;font-size:.92rem;line-height:1.7;color:#d1ddd7}
.kq-story-craft__text strong{color:#f3e2b8;font-weight:700}
@media(max-width:900px){.kq-story-craft__copy{padding:36px 20px!important}.kq-story-craft__text p{font-size:.9rem}}

/* 21. Footer: centred logo and centred bottom lines */
.kk-footer__identity{justify-content:center!important;text-align:center}
.kk-footer__identity img{margin:0 auto}
.kk-footer__bottom{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:6px!important}

/* 22. Our Story closing line: smaller */
html .kq-story-closing h2{font-size:clamp(1.2rem,1.9vw,1.7rem)!important;line-height:1.3!important;letter-spacing:-.01em!important}
@media(max-width:749px){html .kq-story-closing h2{font-size:1.15rem!important}}

/* v3.26.20: the logo fades in, stays about 1 second, then the black curtain opens (timing in main.js). */
.kq-ito-intro img{animation-duration:.5s!important;animation-delay:.08s!important}

/* v3.26.20: social links in the header (official Instagram, Facebook and LinkedIn marks). */
.kk-social{display:flex;align-items:center;gap:10px;margin-right:8px;padding-right:14px;border-right:1px solid rgba(184,135,50,.35)}
.kk-social a{display:inline-flex;width:30px;height:30px;flex:0 0 auto;transition:transform .2s ease,filter .2s ease}
.kk-social a:hover,.kk-social a:focus-visible{transform:translateY(-2px) scale(1.08);filter:brightness(1.12)}
.kk-social svg{display:block;width:100%;height:100%}
.kk-social--panel{display:flex;align-items:center;gap:14px;margin:28px 0 0;padding:20px 0 0;border-right:0;border-top:1px solid rgba(184,135,50,.35)}
.kk-social--panel span{margin-right:4px;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;opacity:.7}
.kk-social--panel a{width:36px;height:36px}
@media(max-width:1180px){.kk-actions>.kk-social{display:none}}
/* Keep the logo on screen until the curtain starts to move, then fade it as the panels slide open. */
.kq-ito-hero.is-entered .kq-ito-intro img{transition-delay:.6s!important;transition-duration:.5s!important}
.kq-ito-intro img{opacity:1;animation-fill-mode:backwards!important}
.kk-mobile-panel .kk-social a{border:0!important;padding:0!important;min-height:0!important;box-shadow:none!important;background:none!important}

/* v3.26.21: desktop headings roughly half size (section headings and page titles). Mobile unchanged. */
@media(min-width:750px){
  .kk-heading,.kq-head h2,.kq-story__copy h2,
  .kq-story-manifesto h2,.kq-story-timeline h2,.kq-story-closing h2,.kq-editorial-duet__intro h2,
  .kq-expand-story__heading h2,.kq-ritual__head h2,.kq-journal__head h2{font-size:clamp(1.3rem,1.7vw,1.55rem)!important;line-height:1.15!important}
  .kk-page-hero h1,main h1.kk-heading,.kk-section h1,
  .woocommerce div.product .product_title,.product_title{font-size:clamp(1.4rem,2vw,1.8rem)!important;line-height:1.15!important}
}

/* v3.26.22: remaining large desktop headings (policy pages, journal, shop, story, cart, offers) */
@media(min-width:750px){
  .kk-policy-hero h1,.kq-journal-index-hero h1,.kq-story-hero h1,.woocommerce-products-header__title.page-title,
  .kk-commerce-hero h1,.kq-journal-featured h2,.kq-offer h2,.kk-newsletter h2,.kk-product-story h2,
  .kq-story-craft__copy h2,.kq-tasting-stage__head h2,.kq-craft-editorial__head h2,.kq-ito-philosophy h2,
  .home .kq-ito-philosophy h2,.single-product .product_title,.kk-policy-contact-card h2,
  .woocommerce-cart .wc-block-cart__empty-cart__title{font-size:clamp(1.5rem,2.2vw,2rem)!important;line-height:1.12!important;letter-spacing:-.02em!important}
  .kk-policy-content h2{font-size:clamp(1.15rem,1.6vw,1.4rem)!important}
  .kq-journal__article summary,.kq-journal-featured h3,.kq-editorial-product h3,.kq-expand-story__visual h3{font-size:clamp(1.3rem,1.8vw,1.6rem)!important}
}

/* v3.26.28: golden review stars (rating on product, in the reviews list and in the review form). */
.star-rating,
.woocommerce .star-rating,
.woocommerce-page .star-rating{color:#d4ae66!important}
.star-rating::before,
.woocommerce .star-rating::before{color:rgba(212,174,102,.35)!important}
.star-rating span,
.star-rating span::before,
.woocommerce .star-rating span::before{color:#d4ae66!important}
p.stars a,
p.stars a::before,
.woocommerce p.stars a,
.woocommerce p.stars a::before,
.comment-form-rating .stars a,
.comment-form-rating .stars a::before{color:#d4ae66!important;text-shadow:none!important;opacity:1!important}
.comment-form-rating select#rating{color:#d4ae66}
html[data-kq-theme="light"] .star-rating span,
html[data-kq-theme="light"] .star-rating span::before,
html[data-kq-theme="light"] p.stars a,
html[data-kq-theme="light"] p.stars a::before{color:#b88732!important}

/* v3.26.30: product video slide in the product image slider */
.woocommerce-product-gallery__image.kk-gallery-video{background:#0d0b09}
.woocommerce-product-gallery__image.kk-gallery-video video{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;background:#0d0b09}
/* v3.26.35: homepage gift duos - all four visible on desktop, two above two below */
@media(min-width:750px){
body.home .kq-duo-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;overflow:visible!important;scroll-snap-type:none!important;margin:0!important;padding:0!important;width:100%!important}
body.home .kq-duo-grid>.kq-duo{flex:none!important;width:auto!important;min-width:0!important;max-width:none!important}
}
/* v3.26.36: duo photos fill a tidy portrait frame (fixes very tall homepage duo cards and dark side bars) */
html body .kq-duo-grid .kq-duo>a{display:block!important;position:relative!important;overflow:hidden!important;background:#fff!important;padding:0!important;height:auto!important;min-height:0!important;aspect-ratio:3/4!important;align-self:center}
html body .kq-duo-grid .kq-duo>a>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;object-fit:contain!important;transform:none!important}
@media(min-width:750px){html body .kq-duo-grid .kq-duo>a{align-self:stretch;aspect-ratio:auto!important;min-height:420px!important;height:100%!important}}
@media(max-width:749px){
html body.home .kq-duo-grid{align-items:stretch!important}
html body.home .kq-duo-grid>.kq-duo{display:flex!important;flex-direction:column!important;flex:0 0 82%!important;width:82%!important;min-width:0!important;height:auto!important;min-height:0!important}
html body.home .kq-duo-grid>.kq-duo>a{width:100%!important;flex:0 0 auto!important}
html body.home .kq-duo-grid .kq-duo__copy{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;padding:16px 14px 18px!important}
html body.home .kq-duo-grid .kq-duo__copy h3{font-size:19px!important;line-height:1.25!important;margin:4px 0 10px!important}
html body.home .kq-duo-grid .kq-duo__copy ul{margin:0 0 12px!important;padding-left:18px!important}
html body.home .kq-duo-grid .kq-duo__copy li,html body.home .kq-duo-grid .kq-duo__copy p{font-size:13px!important;line-height:1.5!important}
html body.home .kq-duo-grid .kq-duo__copy .kk-button{margin-top:auto!important;width:100%!important;text-align:center!important;justify-content:center!important}
}
html body .kk-product-card--duo .kk-product-card__image{display:block!important;position:relative!important;overflow:hidden!important;background:#fff!important;padding:0!important;height:auto!important;min-height:0!important;aspect-ratio:3/4!important;width:100%!important}
html body .kk-product-card--duo .kk-product-card__image>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain!important}
/* v3.26.37: white behind narrow duo photos, no grey fade over them */
html body .kk-product-card--duo .kk-product-card__image>img,html body .kq-duo-grid .kq-duo>a>img{background:#fff!important}
html body .kk-product-card--duo .kk-product-card__image::before,html body .kk-product-card--duo .kk-product-card__image::after{display:none!important}
