/* Isolated Olive Botanical Editorial. Client palette; Newsreader / Hanken Grotesk. */
:root {
  --p-bg:#fbfaf4; --p-surface:#f0f0e5; --p-ink:#252d21; --p-muted:#5b6252;
  --p-accent:#49582d; --p-accent-ink:#fbfaf4; --p-action:#49582d; --p-action-ink:#fbfaf4;
  --p-inv-bg:#252d21; --p-inv-surface:#32392d; --p-inv-ink:#fbfaf4; --p-inv-muted:#a2a69d;
  --p-inv-accent:#fbfaf4; --p-inv-accent-ink:#252d21; --p-inv-action:#fbfaf4; --p-inv-action-ink:#252d21;
  --font-display:'Newsreader',Georgia,serif; --font-text:'Hanken Grotesk',sans-serif;
  --display-weight:400; --display-tracking:-.018em; --display-tracking-xl:-.025em; --ly-scale:1.06;
  --paper:var(--p-bg); --warm:var(--p-surface); --ink:var(--p-ink); --muted:var(--p-muted);
  --olive:var(--p-action); --dark:#303c28; --line:#d8ddcd; --sage:#e5e9da;
  --bg:var(--paper); --surface:var(--warm); --accent:var(--olive); --accent-ink:var(--paper);
  --action:var(--olive); --action-ink:var(--paper); --font:var(--font-text); --font-heading:var(--font-display);
  --gutter:24px; --gut:80px; --nav:80px; --r-md:8px; --r-lg:8px;
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px;
  --t-lead:20px; --t-h2:56px; --ease:cubic-bezier(.2,.8,.2,1);
  --color-primary-hover:#344121;
}
html {scroll-behavior:auto;scroll-padding-top:24px;}
body {background:var(--paper);font-family:var(--font-text);}
body h1,body h2,body .heading-1,body .heading-2 {font-family:var(--font-display);font-weight:400;letter-spacing:var(--display-tracking);}
body h2 {font-size:clamp(2.25rem,4vw,3.5rem);line-height:1.06;}
.announcement {background:var(--olive);color:var(--paper);padding:8px 24px;font-size:14px;}
.header {margin:0;border:0;border-radius:0;background:var(--paper);backdrop-filter:none;box-shadow:none;}
.header-top {width:min(calc(100% - 2 * var(--gut)),1280px);padding:12px 0;min-height:96px;gap:24px;}
.wordmark {gap:16px;}
.wordmark .lb-brand-logo {width:56px;height:56px;object-fit:contain;background:transparent;}
.wordmark>span>span {font-family:var(--font-display);font-size:20px;line-height:24px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;}
.wordmark small {font-family:var(--font-text);font-size:13px;line-height:20px;color:var(--muted);}
.nav a {font-size:15px;font-weight:400;}
.header-actions {gap:4px;}
.ed-wrap {width:min(calc(100% - 2 * var(--gut)),1280px);margin-inline:auto;}
.ed-section {padding:112px 0 72px;height:100svh;min-height:800px;}
.ed-section-head {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:40px;}
.ed-kicker {display:block;font:500 14px/20px var(--font-text);margin-bottom:16px;}
.link {display:inline-flex;align-items:center;min-height:44px;font:400 16px/24px var(--font-text);width:fit-content;}
.btn {display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:1px solid var(--olive);border-radius:4px;font:500 16px/24px var(--font-text);width:fit-content;max-width:100%;}
.btn--primary {background:var(--action);color:var(--action-ink);}
.btn--secondary {background:transparent;color:var(--ink);border-color:var(--line);}
/* Keep the approved films and playback controls, with a calmer editorial frame. */
.cinema-hero {height:calc(100svh - 164px);min-height:600px;padding:48px max(48px,calc((100vw - 1280px)/2));background:var(--warm);align-items:center;}
.cinema-copy {width:512px;max-width:46%;padding:40px;background:var(--paper);border:0;border-radius:4px;}
.cinema-copy h1 {color:var(--ink);background:none;font:400 clamp(48px,4.2vw,60px)/.98 var(--font-display);letter-spacing:-.025em;}
.cinema-copy .eyebrow {font-family:var(--font-text);font-size:13px;line-height:20px;margin-bottom:24px;color:var(--olive);}
.cinema-copy p {font:400 16px/26px var(--font-text);color:var(--muted);margin:24px 0 32px;}
.cinema-copy .button {background:var(--olive);font-weight:500;}
.cinema-toolbar {left:max(48px,calc((100vw - 1280px)/2));right:max(48px,calc((100vw - 1280px)/2));bottom:24px;}
.cinema-tabs,.cinema-controls,.cinema-category {background:var(--paper);color:var(--ink);}
.cinema-tabs button[aria-pressed=true] {background:var(--olive);color:var(--paper);}
.cinema-category {right:max(48px,calc((100vw - 1280px)/2));font-family:var(--font-text);}
.ed-products {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.ed-products .product-card {border:0;border-radius:0;background:transparent;padding:0;}
.ed-products .product-picture {border-radius:4px;aspect-ratio:1.2;background:var(--warm);}
.ed-products .product-meta {font:400 14px/20px var(--font-text);margin-top:20px;}
.ed-products .product-name {font:400 20px/26px var(--font-text);letter-spacing:-.02em;padding-top:8px;margin-bottom:20px;min-height:52px;}
.ed-products .quick-add {width:100%;margin-top:auto;font-weight:500;border-color:var(--line);background:transparent;}
.ed-products .quick-add:hover {color:var(--ink);}
.ed-products .quick-add svg {display:none;}
.ed-products .alternate {display:none;}
.ed-range {height:auto;min-height:0;}
.editorial-home>.reveal-ready,.editorial-home .botanical-reveal {opacity:1;transform:none;transition:none;}
.site-footer {background:var(--paper);color:var(--ink);padding:88px 0 32px;}
.footer-main,.footer-bottom {width:min(calc(100% - 2 * var(--gut)),1280px);padding-inline:0;margin-inline:auto;max-width:none;}
.footer-main {padding-bottom:48px;}
.footer-main h3 {font:500 16px/24px var(--font-text);margin-bottom:16px;color:var(--ink);}
.footer-main a {font-size:14px;min-height:44px;}
.footer-brand .wordmark {color:var(--ink);}
.footer-brand .wordmark>span>span {color:var(--ink);}
.footer-brand .wordmark small {color:var(--muted);}
.footer-brand p {font:400 16px/24px var(--font-text);color:var(--muted);}
.footer-bottom {padding-top:24px;border-color:var(--line);font-size:13px;color:var(--muted);}
.footer-bottom a {display:inline-flex;align-items:center;min-height:44px;}
.site-footer a:not(.btn):is(:hover,:focus-visible) {color:var(--olive);text-decoration:underline;text-underline-offset:5px;}
.site-footer .btn--primary:is(:hover,:focus-visible) {color:var(--action-ink);}
.footer-main .social-links a {display:inline-flex;align-items:center;min-height:44px;}
.ed-footer {padding:64px 0 24px;background:var(--paper);border-top:1px solid var(--line);}
.ed-footer .footer-main {display:grid;grid-template-columns:1.1fr 1.2fr .8fr 1fr;gap:40px;padding-bottom:40px;}
.ed-footer nav {display:flex;flex-direction:column;align-items:start;}
.ed-footer h3 {font:500 16px/24px var(--font-text);margin:0 0 12px;letter-spacing:0;}
.ed-footer nav>a {display:inline-flex;align-items:center;min-height:44px;font:400 15px/22px var(--font-text);color:var(--ink);}
.ed-footer .social-links {margin-top:24px;gap:24px;}
.ed-footer .footer-bottom {margin-top:0;padding-top:20px;border-top:1px solid var(--line);opacity:1;font-size:13px;}
.ed-footer .footer-description {margin-top:20px;max-width:29ch;font:400 16px/24px var(--font-text);color:var(--muted);opacity:1;}
.ed-footer .footer-contact {min-width:0;}
.ed-footer .footer-contact p {font:400 16px/24px var(--font-text);max-width:30ch;color:var(--muted);}
.ed-footer .footer-contact .footer-order-note {margin-top:16px;font-size:14px;line-height:22px;}
.ed-footer .footer-email {display:inline-flex;align-items:center;min-height:44px;margin-bottom:12px;font:500 16px/24px var(--font-text);text-decoration:underline;text-underline-offset:5px;overflow-wrap:anywhere;}
.ed-footer .footer-contact-page {display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font:400 15px/22px var(--font-text);}
.ed-app-nav {display:none;}
/* Real WooCommerce pages share the new type, palette and controls. */
.woocommerce h1,.page-heading h1 {font-family:var(--font-display);font-weight:400;}
@media (max-width:1200px) { :root {--gut:48px;} .header-top {gap:16px;} .header .wordmark>span>span{font-size:17px;} .nav{gap:16px;} .wordmark small{display:none;} }
@media (min-width:640px) and (max-width:1100px) {
  .ed-footer .footer-main {grid-template-columns:1fr 1fr;gap:40px;}
}
@media (max-width:1023px) {
  :root {--gut:32px;}
  .header-top {grid-template-columns:44px minmax(0,1fr) auto;min-height:88px;}
  .mobile-menu{display:inline-flex;}.header .nav:not(.is-open){display:none;}
  .header .nav.is-open{display:flex;position:absolute;top:100%;left:0;right:0;max-height:calc(100svh - 120px);overflow:auto;flex-direction:column;padding:24px 32px;background:var(--paper);border-bottom:1px solid var(--line);}
  .header .nav a{min-height:48px;}.header .wordmark{justify-self:start;}.account-link{display:none;}
  .ed-section {height:auto;min-height:100svh;padding:80px 0;}
  .ed-range {min-height:0;}
  .ed-range .product-name {font-size:18px;line-height:24px;min-height:64px;}
  .ed-products {gap:16px;}
  .cinema-hero {height:calc(100svh - 150px);}
  .cinema-copy {max-width:52%;padding:32px;}
  .cinema-copy h1{font-size:48px;}

}
@media (max-width:639px) {
  :root {--gut:24px;--nav:72px;}
  body h2{font-size:36px;}
  .announcement {font-size:13px;padding:8px 16px;}
  .header-top {width:calc(100% - 32px);padding:8px 0;min-height:80px;gap:8px;grid-template-columns:40px minmax(0,1fr) 88px;}
  .header .wordmark {gap:8px;justify-self:start;}
  .header .wordmark .lb-brand-logo{width:40px;height:40px;}
  .header .wordmark>span>span{font-size:13px;letter-spacing:.02em;}
  .header-actions .icon-button{min-width:44px;}
  .cinema-hero {height:auto;min-height:calc(100svh - 176px);padding:24px 24px 152px;align-items:flex-end;}
  .cinema-copy {max-width:none;width:100%;padding:24px;}
  .cinema-copy h1 {font-size:44px;line-height:1;}
  .cinema-copy .eyebrow {font-size:13px;line-height:18px;margin-bottom:16px;}
  .cinema-copy p {font-size:16px;line-height:24px;margin:16px 0 24px;}
  .cinema-category {right:24px;font-size:13px;}
  .cinema-toolbar {left:24px;right:24px;bottom:24px;gap:8px;}
  .ed-section {padding:64px 0;min-height:0;}
  .ed-section-head {display:block;margin-bottom:32px;}
  .ed-section-head>.link {margin-top:16px;}
  .ed-kicker {margin-bottom:12px;}
  .ed-products {grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:auto;align-items:start;gap:40px;}
  .ed-products .product-picture {aspect-ratio:1.1;}
  .ed-products .product-name {font-size:20px;line-height:26px;min-height:0;margin-bottom:20px;}
  .ed-products .quick-add {min-height:48px;}
  .ed-products .product-meta {margin-top:16px;}
  .btn,.cinema-copy .btn {width:100%;}
  .site-footer {padding-top:64px;}
  .footer-main {grid-template-columns:1fr;gap:32px;padding-bottom:32px;}
  .footer-brand .wordmark>span>span {font-size:18px;}
  .footer-brand .wordmark .lb-brand-logo {width:56px;height:56px;}
  .footer-bottom {gap:16px;}
  .ed-footer {padding:48px 0 24px;}
  .ed-footer .footer-main {grid-template-columns:1fr 1fr;gap:32px 20px;padding-bottom:32px;}
  .ed-footer .footer-brand {grid-column:1/-1;}
  .ed-footer .footer-contact {grid-column:1/-1;}
  .ed-footer .footer-contact p {max-width:42ch;}
  .ed-footer nav>a {font-size:14px;line-height:22px;}
  .ed-footer .footer-bottom {gap:8px;}
  .ed-footer .footer-bottom>span {width:100%;}

}
/* iPhone app shell: normal browser links with a persistent, thumb-reachable directory. */
@media (max-width:639px) {
  html {scroll-padding-top:96px;}
  body {padding-bottom:calc(68px + env(safe-area-inset-bottom));}
  .header {position:sticky;top:0;z-index:60;padding-top:env(safe-area-inset-top);}
  .ed-app-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:70;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid var(--line);background:var(--paper);color:var(--muted);}
  .ed-app-nav a {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;font:500 13px/18px var(--font-text);border-radius:4px;}
  .ed-app-nav svg,.ed-app-nav img {width:24px;height:24px;object-fit:contain;}
  .ed-app-nav a[aria-current=page] {background:var(--sage);color:var(--ink);}
  .ed-app-nav a:active {background:var(--sage);}
  .ed-bag-count {position:absolute;top:0;left:calc(50% + 8px);min-width:18px;height:18px;padding:0 4px;border-radius:12px;font:500 12px/18px var(--font-text);background:var(--olive);color:var(--paper);text-align:center;}
  .cinema-hero {min-height:calc(100svh - 244px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
  .cinema-copy h1 {font-size:40px;}
  .cinema-copy {padding:24px;}
  .cinema-copy p {margin:16px 0 20px;}
  .cinema-copy .eyebrow {margin-bottom:12px;}
  .header .nav.is-open {position:fixed;inset:var(--ed-header-bottom,80px) 0 calc(68px + env(safe-area-inset-bottom));height:auto;min-height:0;max-height:none;width:100%;padding:24px;justify-content:flex-start;align-items:stretch;gap:8px;z-index:61;overflow-y:auto;backdrop-filter:none;}
  .header .nav.is-open a {font:400 24px/32px var(--font-display);min-height:52px;animation:none;}
  .menu-open .ed-app-nav {visibility:hidden;}
  .search-bar:not([hidden]) {position:fixed;inset:var(--ed-header-bottom,80px) 0 auto;z-index:65;max-height:calc(100svh - var(--ed-header-bottom,80px) - 76px);overflow:auto;margin:0;padding:24px;background:var(--paper);box-shadow:0 12px 24px #252d2114;}
  input,select,textarea {font-size:16px;}
  .woocommerce .woocommerce-form__label-for-checkbox {display:inline-flex;align-items:center;gap:8px;min-height:44px;}
  .woocommerce .woocommerce-form__label-for-checkbox input[type=checkbox] {width:20px;height:20px;flex-shrink:0;}
  .ed-products .product-name {display:inline-flex;align-items:center;min-height:44px;}
  .bag-confirmation {bottom:calc(84px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);}
  .site-footer {padding-bottom:24px;}
}
@media (max-width:359px) {
  .cinema-copy h1 {font-size:34px;}
  .cinema-copy {padding:20px;}
}
@media (display-mode:standalone) and (max-width:639px) {
  .header {border-bottom:1px solid var(--line);}
}
@media (max-width:359px) {
  .header .wordmark>span>span {font-size:11px;}
  .header .wordmark {gap:4px;}
  .header .wordmark .lb-brand-logo {width:32px;height:32px;}
  .cinema-copy h1 {font-size:38px;}
  .cinema-copy {padding:20px;}
}
@media (prefers-reduced-motion:reduce) {
  .cinema-still {animation:none;}
}

/* Earlier full-image chapters restored as native horizontal slides. Vertical scrolling is untouched. */
.ed-slideshow {position:relative;background:var(--warm);isolation:isolate;}
.ed-slide-heading {position:absolute;z-index:2;pointer-events:none;top:72px;left:max(var(--gut),calc((100% - 1280px)/2));max-width:420px;}
.ed-slide-heading h2 {font:400 clamp(40px,4.3vw,60px)/1.04 var(--font-display);letter-spacing:-.018em;margin:0;}
.ed-slide-heading .link {pointer-events:auto;margin-top:12px;}
.ed-slide-track {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;}
.ed-slide-track::-webkit-scrollbar {display:none;}
.ed-slide {position:relative;flex:0 0 100%;min-width:0;min-height:740px;height:calc(100svh - 72px);scroll-snap-align:start;display:flex;align-items:flex-end;padding:290px max(var(--gut),calc((100% - 1280px)/2)) 64px;isolation:isolate;}
.ed-slide-image {position:absolute;inset:0;z-index:-2;margin:0;}
.ed-slide-image img {display:block;width:100%;height:100%;object-fit:cover;object-position:65% center;}
.ed-slide::before {content:'';position:absolute;inset:0 auto 0 0;width:48%;max-width:680px;background:rgb(251 250 244 / .84);z-index:-1;pointer-events:none;}
.ed-slide-copy {width:min(400px,44%);}
.ed-slide-copy h3 {font:400 44px/1.06 var(--font-display);letter-spacing:-.02em;margin:0 0 20px;color:var(--ink);}
.ed-slide-copy p {font:400 17px/27px var(--font-text);color:var(--ink);margin:0;max-width:38ch;}
.ed-slide-copy .btn {margin-top:24px;}
.ed-slide-controls {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(var(--gut),calc((100% - 1280px)/2));background:var(--paper);border-bottom:1px solid var(--line);}
.ed-slide-dots,.ed-slide-arrows {display:flex;gap:4px;align-items:center;}
.ed-slide-controls button {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--olive);padding:0;cursor:pointer;}
.ed-slide-dots button span {display:block;width:7px;height:7px;border:1px solid var(--olive);border-radius:50%;transition:background 180ms,transform 180ms;}
.ed-slide-dots button[aria-pressed=true] span {background:var(--olive);transform:scale(1.3);}
.ed-slide-arrows {gap:12px;}
.ed-slide-arrows button {border:1px solid var(--line);border-radius:50%;transition:background 180ms;}
.ed-slide-arrows button:hover {background:var(--sage);}
.ed-slide-arrows [data-slide-prev] svg {transform:rotate(-90deg);}
.ed-slide-arrows [data-slide-next] svg {transform:rotate(90deg);}
.ed-slide-controls button:focus-visible {outline:2px solid var(--olive);outline-offset:2px;}
@media (max-width:639px) {
 .ed-slide-heading {position:static;padding:40px 24px 28px;max-width:none;}
 .ed-slide-heading h2 {font-size:36px;line-height:1.06;}
 .ed-slide-heading h2 br {display:none;}
 .ed-slide-heading .link {margin-top:12px;}
 .ed-slide {display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;height:auto;min-height:0;padding:0;}
 .ed-slide::before {display:none;}
 .ed-slide-image {position:relative;inset:auto;z-index:auto;width:100%;height:auto;aspect-ratio:4/3;flex-shrink:0;}
 .ed-slide-image img {object-position:center;}
 .ed-slide-copy {width:100%;padding:32px 24px 40px;}
 .ed-slide-copy h3 {font-size:32px;line-height:1.06;margin-bottom:16px;}
 .ed-slide-copy p {font-size:16px;line-height:26px;max-width:none;}
 .ed-slide-copy .btn {margin-top:20px;}
 .ed-slide-controls {padding:12px 16px;gap:4px;}
 .ed-slide-dots {gap:0;}
 .ed-slide-dots button {min-width:44px;}
 .ed-slide-arrows {gap:8px;}
}
@media (prefers-reduced-motion:reduce) {.ed-slide-controls * {transition:none;}}

@media (max-width:359px) {.ed-slide-controls {flex-wrap:wrap;} .ed-slide-arrows {margin-left:auto;}}

/* Stable-height vertical frames: next image enters from below, previous exits above. */
.ed-slide-track.is-vertical {display:grid;overflow:hidden;scroll-snap-type:none;}
.ed-slide-track.is-vertical .ed-slide {grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;}
.ed-slide-track.is-vertical .ed-slide.is-current {opacity:1;visibility:visible;pointer-events:auto;z-index:1;animation:ed-slide-up-in 750ms cubic-bezier(.22,.61,.36,1) both;}
.ed-slide-track.is-vertical .ed-slide.is-leaving {visibility:visible;opacity:1;z-index:0;animation:ed-slide-up-out 750ms cubic-bezier(.22,.61,.36,1) both;}
@keyframes ed-slide-up-in {from {transform:translateY(100%);} to {transform:translateY(0);}}
@keyframes ed-slide-up-out {from {transform:translateY(0);} to {transform:translateY(-100%);}}
@media (prefers-reduced-motion:reduce) {
 .ed-slide-track.is-vertical .ed-slide.is-current,.ed-slide-track.is-vertical .ed-slide.is-leaving {animation:none;}
}

/* Contain moving slides and give the collection a complete screen of its own. */
.ed-slideshow {overflow:clip;}
.ed-range {position:relative;isolation:isolate;background:var(--paper);}
@media (min-width:640px) {.ed-range {min-height:100svh;}}

/* Keep the review toolbar from covering storefront controls on staging. */
html:has(body.admin-bar > .local-preview-notice) { margin-top: 0 !important; }
body.admin-bar:has(> .local-preview-notice) > #wpadminbar { display: none !important; }
