/* Off-Key: faint engraved art behind homepage sections and the footer.
   The .webp files are alpha masks; colour comes from --ok-art-ink. */
body.home main > .alignfull:nth-child(4),
body.home main > .alignfull:nth-child(5),
body.home main > .alignfull:nth-child(6),
body.home main > .alignfull:nth-child(7),
footer.wp-block-template-part > .ok-band-dark{position:relative;isolation:isolate}

body.home main > .alignfull:nth-child(4)::before,
body.home main > .alignfull:nth-child(5)::before,
body.home main > .alignfull:nth-child(6)::before,
body.home main > .alignfull:nth-child(7)::before,
footer.wp-block-template-part > .ok-band-dark::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-color:var(--ok-art-ink,#121110);opacity:var(--ok-art-op,.08);
  -webkit-mask-image:var(--ok-art);mask-image:var(--ok-art);
  -webkit-mask-repeat:var(--ok-art-rep,no-repeat);mask-repeat:var(--ok-art-rep,no-repeat);
  -webkit-mask-position:var(--ok-art-pos,center);mask-position:var(--ok-art-pos,center);
  -webkit-mask-size:var(--ok-art-size,cover);mask-size:var(--ok-art-size,cover);
}
body.home main > .ok-band-dark, footer.wp-block-template-part > .ok-band-dark{--ok-art-ink:#F6F1E7;--ok-art-op:.075}

body.home main > .alignfull:nth-child(5){--ok-art:url(map.webp?v=1)}
body.home main > .alignfull:nth-child(4){--ok-art:url(relics.webp?v=1);--ok-art-size:min(1600px,100%) auto;--ok-art-pos:center top;--ok-art-rep:repeat-y}
body.home main > .alignfull:nth-child(6){--ok-art:url(key.webp?v=1);--ok-art-op:.055;--ok-art-pos:center 30%}
body.home main > .alignfull:nth-child(7){--ok-art:url(scroll.webp?v=1)}
footer.wp-block-template-part > .ok-band-dark{--ok-art:url(night.webp?v=1);--ok-art-pos:center top}

@media (max-width:781px){
  body.home main > .alignfull:nth-child(5){--ok-art-size:180% auto}
  footer.wp-block-template-part > .ok-band-dark{--ok-art-size:auto 60%;--ok-art-pos:left top}
}
@media (prefers-contrast:more){
  body.home main > .alignfull::before, footer.wp-block-template-part > .ok-band-dark::before{display:none}
}

/* ===== Human hero banner (2026-11-06) ===== */
.ok-human-hero{position:relative;background:var(--wp--preset--color--contrast,#121110);color:var(--wp--preset--color--accent-4,#F6F1E7);overflow:hidden;margin:0;border-bottom:0}
.ok-human-hero__pic{display:block;margin:0}
.ok-human-hero__pic img{display:block;width:100%;height:auto}
.ok-human-hero__copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:28px 22px 40px;box-sizing:border-box}
.ok-human-hero__copy>*{margin:0!important;max-width:560px}
.ok-human-hero h1{color:var(--wp--preset--color--accent-4,#F6F1E7);font-size:clamp(42px,12.5vw,64px);line-height:.96;letter-spacing:-.03em}
.ok-human-hero .ok-label,.ok-human-hero .ok-note{color:var(--wp--preset--color--accent-1,#F4C430)}
.ok-human-hero .ok-note{font-size:clamp(20px,5vw,26px)!important}
.ok-human-hero .is-style-outline .wp-block-button__link{color:var(--wp--preset--color--accent-4,#F6F1E7);border-color:var(--wp--preset--color--accent-4,#F6F1E7)}
.ok-human-hero .is-style-outline .wp-block-button__link:hover{background:var(--wp--preset--color--accent-4,#F6F1E7);color:var(--wp--preset--color--contrast,#121110)}
@media (min-width:782px){
 .ok-human-hero{display:flex;align-items:center;min-height:clamp(540px,46vw,720px)}
 .ok-human-hero__pic{position:absolute;inset:0}
 .ok-human-hero__pic img{height:100%;object-fit:cover;object-position:72% 50%}
 .ok-human-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(18,17,16,.9) 0%,rgba(18,17,16,.75) 35%,rgba(18,17,16,0) 72%)}
 .ok-human-hero__copy{width:100%;padding:80px 24px 80px max(24px,calc((100vw - 1280px)/2 + 24px));gap:22px}
 .ok-human-hero__copy>*{max-width:min(520px,44vw)}
 .ok-human-hero h1{font-size:clamp(52px,6vw,88px)}
}

/* hero slider */
.ok-hs{position:relative;aspect-ratio:1100/688;overflow:hidden;background:#121110}
.ok-hs__s{position:absolute;inset:0;display:block;opacity:0;transition:opacity 1.2s ease;pointer-events:none}
.ok-hs__s.is-active{opacity:1}
.ok-human-hero .ok-hs__s img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ok-hs__dots{position:absolute;z-index:3;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px}
.ok-hs__d{width:10px;height:10px;padding:0;border-radius:50%;border:1.5px solid #F6F1E7;background:transparent;cursor:pointer}
.ok-hs__d.is-active{background:#F4C430;border-color:#F4C430}
@media (min-width:782px){.ok-human-hero .ok-hs{position:absolute;inset:0;aspect-ratio:auto}.ok-hs__dots{left:auto;right:max(24px,calc((100vw - 1280px)/2 + 24px));bottom:22px;z-index:3}}
@media (prefers-reduced-motion:reduce){.ok-hs__s{transition:none}}

.ok-human-hero .ok-hs__s img{object-position:center center!important}
.ok-hs__dots{display:none!important}

/* alternate section backgrounds */
body.home main > .alignfull:nth-child(5),body.home main > .alignfull:nth-child(8){background-color:#ECEAE6!important}

/* hero centered + full overlay */
.ok-human-hero__copy{align-items:center!important;text-align:center}
.ok-human-hero__copy>*{text-align:center;margin-left:auto!important;margin-right:auto!important}
.ok-human-hero .wp-block-buttons{justify-content:center!important}
@media (min-width:782px){
 .ok-human-hero::before{background:linear-gradient(rgba(18,17,16,.62),rgba(18,17,16,.62))!important}
 .ok-human-hero__copy{padding:80px 24px!important;align-items:center!important}
 .ok-human-hero__copy>*{max-width:min(760px,90vw)!important}
}

/* mobile: text over image like desktop */
@media (max-width:781px){
 .ok-human-hero{display:flex;align-items:center;min-height:max(600px,calc(100svh - 160px))}
 .ok-human-hero .ok-hs,.ok-human-hero__pic{position:absolute!important;inset:0;aspect-ratio:auto!important;height:auto}
 .ok-human-hero .ok-hs__s img{height:100%;object-fit:cover;object-position:center center!important}
 .ok-human-hero::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(rgba(18,17,16,.64),rgba(18,17,16,.64))}
 .ok-human-hero__copy{width:100%;padding:56px 22px!important;align-items:center!important;gap:18px}
 .ok-human-hero__copy>*{max-width:100%!important}
}

/* poem submit form */
.ok-submit-form{display:flex;flex-direction:column;gap:18px;max-width:680px;margin:28px 0 8px}
.ok-submit-form label{display:flex;flex-direction:column;gap:6px;font-family:'Space Mono',monospace;font-size:13px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}
.ok-submit-form input[type=text],.ok-submit-form input[type=email],.ok-submit-form textarea{font:inherit;letter-spacing:0;text-transform:none;font-weight:400;font-size:16px;padding:12px 14px;border:2px solid #121110;border-radius:0;background:#fff;color:#121110}
.ok-submit-form textarea{min-height:220px;resize:vertical}
.ok-submit-form input:focus,.ok-submit-form textarea:focus{outline:3px solid #F4C430;outline-offset:1px}
.ok-submit-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ok-submit-check{flex-direction:row!important;align-items:flex-start;gap:10px!important;text-transform:none!important;letter-spacing:0!important;font-weight:400!important;font-size:14px!important}
.ok-submit-check input{margin-top:4px}
.ok-submit-btn{align-self:flex-start;font-family:'Space Mono',monospace;font-weight:700;letter-spacing:2px;font-size:14px;background:#F4C430;color:#121110;border:2px solid #121110;padding:14px 28px;box-shadow:4px 4px 0 #121110;cursor:pointer}
.ok-submit-btn:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 #121110}
.ok-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ok-submit-msg{padding:14px 16px;border:2px solid #121110;max-width:680px;font-weight:600}
.ok-submit-msg--ok{background:#F4C430}
.ok-submit-msg--err{background:#F6D5D0}
@media (max-width:640px){.ok-submit-row{grid-template-columns:1fr}}

/* ok-sentence-btn: product card buttons in sentence case */
.ok-products .wc-block-components-product-button .wp-block-button__link,.wc-block-components-product-button .wp-element-button{text-transform:none!important;letter-spacing:.01em}
