/*
Theme Name: The Wanderer Author V8.4.4
Theme URI: https://thewandererauthor.co.uk/
Author: Garry Stephens / OpenAI
Description: The illustrated found-journal WordPress theme for The Wanderer. Layered scrapbook compositions, editable WordPress content and imagery, Journal, Archive and WooCommerce.
Version: 8.4.4
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: the-wanderer-v7
*/

:root {
  --w7-ink: #211a14;
  --w7-ink-soft: #51473b;
  --w7-paper: #d9c39c;
  --w7-paper-light: #ead8b6;
  --w7-paper-deep: #b99968;
  --w7-dark: #121512;
  --w7-dark-2: #1c211c;
  --w7-gold: #b7975f;
  --w7-red: #5e1712;
  --w7-red-bright: #7d2118;
  --w7-border: rgba(49, 35, 22, .72);
  --w7-shadow: 0 16px 42px rgba(7, 7, 5, .28);
  --w7-serif: Georgia, 'Times New Roman', serif;
  --w7-ui: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --w7-site-width: 1180px;
  --w7-gutter: clamp(16px, 3vw, 36px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--w7-ink);
  background: #0e110e url('assets/images/texture-dark.webp') repeat;
  font-family: var(--w7-serif);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--w7-red); }
button, input, textarea, select { font: inherit; }
button, .button, .w7-button { cursor: pointer; }
.screen-reader-text {
  position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed!important; width: auto; height: auto; clip: auto; top: 8px; left: 8px; z-index: 99999; background: #fff; padding: 12px; }

.w7-site-shell { width: min(100%, 1600px); margin: 0 auto; background: var(--w7-paper) url('assets/images/texture-parchment.webp') repeat; box-shadow: 0 0 80px rgba(0,0,0,.58); }
.w7-wrap { width: min(var(--w7-site-width), calc(100% - (var(--w7-gutter) * 2))); margin-inline: auto; }
.w7-narrow { width: min(820px, calc(100% - (var(--w7-gutter) * 2))); margin-inline: auto; }

/* Header */
.w7-site-header {
  position: sticky; top: 0; z-index: 1000;
  color: #dfc99e;
  background: #111510 url('assets/images/texture-dark.webp') repeat;
  border-bottom: 1px solid rgba(183,151,95,.45);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.admin-bar .w7-site-header { top: 32px; }
.w7-header-inner { min-height: 76px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 24px; }
.w7-brand { text-decoration: none; color: #d6bb83; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.w7-brand .small { font-size: .66rem; letter-spacing: .18em; }
.w7-brand .large { font-size: 1.55rem; }
.w7-brand .author { font-size: .62rem; margin-top: 5px; letter-spacing: .14em; }
.w7-primary-nav ul { list-style: none; display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 0; margin: 0; }
.w7-primary-nav a { text-decoration: none; text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; position: relative; padding: 28px 0 24px; }
.w7-primary-nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 17px; height: 1px; background: #8d3427; transition: .2s ease; }
.w7-primary-nav a:hover::after, .w7-primary-nav .current-menu-item > a::after, .w7-primary-nav .current_page_item > a::after { left: 0; right: 0; }
.w7-header-buy { white-space: nowrap; }
.w7-menu-toggle { display: none; background: transparent; border: 1px solid rgba(214,187,131,.55); color: #d6bb83; padding: 9px 12px; }

/* Buttons */
.w7-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 42px; padding: 10px 22px;
  color: #ead8b6!important; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-size: .76rem;
  border: 1px solid #8d4c36; border-radius: 1px;
  background: linear-gradient(#7b241b, #4d110e);
  box-shadow: inset 0 0 0 2px rgba(219,177,112,.12), 0 5px 12px rgba(0,0,0,.18);
  transition: transform .18s ease, filter .18s ease;
}
.w7-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff!important; filter: brightness(1.12); transform: translateY(-1px); }
.w7-button--dark { background: #161a16; border-color: #7d6a49; }
.w7-button--quiet { background: rgba(233,216,182,.25); color: var(--w7-ink)!important; border-color: rgba(65,45,28,.55); box-shadow: none; }

/* Art sections */
.w7-main { overflow: hidden; }
.w7-art-section {
  position: relative;
  isolation: isolate;
  background-color: var(--w7-paper);
  background-image: var(--section-bg, url('assets/images/texture-parchment.webp'));
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 4px solid #171a16;
}
.w7-art-section > .w7-wrap { position: relative; z-index: 2; }
.w7-paper-box {
  background: rgba(231, 211, 174, .88);
  border: 1px solid rgba(60, 42, 26, .42);
  box-shadow: 0 7px 18px rgba(41,30,17,.12);
  padding: clamp(18px, 2.4vw, 30px);
}
.w7-dark-box { background: rgba(17,21,17,.93); color: #dbc49a; border: 1px solid rgba(183,151,95,.42); padding: clamp(18px, 2.4vw, 30px); }
.w7-eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #6a4b31; }
.w7-section-title, .w7-page-title { font-weight: 400; line-height: 1.02; margin: 0 0 14px; }
.w7-page-title { font-size: clamp(2.5rem, 5vw, 5.2rem); }
.w7-section-title { font-size: clamp(1.75rem, 3vw, 3rem); }
.w7-lede { font-size: clamp(1.02rem, 1.4vw, 1.24rem); max-width: 62ch; }
.w7-prose { font-size: 1.04rem; }
.w7-prose > *:first-child { margin-top: 0; }
.w7-prose > *:last-child { margin-bottom: 0; }
.w7-divider { width: 160px; height: 1px; background: var(--w7-border); margin: 18px 0; position: relative; }
.w7-divider::after { content: '◇'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-55%); background: rgba(231,211,174,.9); padding: 0 8px; font-size: .75rem; }
.w7-empty { padding: 30px; border: 1px dashed rgba(63,45,28,.55); text-align: center; background: rgba(231,211,174,.62); }
.w7-grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.w7-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.w7-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.w7-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.w7-grid--6 { grid-template-columns: repeat(6,minmax(0,1fr)); }

/* Cards */
.w7-card {
  position: relative;
  display: flex; flex-direction: column;
  min-width: 0;
  background: rgba(232,214,181,.9);
  border: 1px solid rgba(56,39,24,.52);
  box-shadow: 0 7px 18px rgba(34,24,15,.14);
  overflow: hidden;
}
.w7-card__image { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; filter: sepia(.3) contrast(.95); border-bottom: 1px solid rgba(56,39,24,.34); }
.w7-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.w7-card__title { margin: 0 0 8px; font-weight: 400; font-size: 1.42rem; line-height: 1.12; }
.w7-card__meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.w7-card__label { position: absolute; top: 9px; right: 9px; z-index: 2; background: rgba(232,214,181,.9); border: 1px solid rgba(56,39,24,.38); padding: 4px 7px; font-size: .62rem; text-transform: uppercase; }
.w7-record-card { min-height: 100%; text-align: center; }
.w7-record-card .w7-card__image { aspect-ratio: 5 / 4; object-position: center top; background: #d8c096; }
.w7-record-card .w7-card__body { padding: 16px 18px 18px; }
.w7-record-card .w7-button { margin-top: auto; }
.w7-review-card blockquote { margin: 8px 0 12px; font-style: italic; }
.w7-stars { color: #8b5c1b; letter-spacing: .08em; }

/* Footer */
.w7-site-footer { color: #cfb98f; background: #101410 url('assets/images/footer-background-v63.webp') center/cover no-repeat; border-top: 2px solid rgba(183,151,95,.4); }
.w7-footer-main { padding: 38px 0 28px; display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 26px; }
.w7-footer-main h2, .w7-footer-main h3 { color: #d7bf91; font-weight: 400; margin-top: 0; }
.w7-footer-main ul { list-style: none; margin: 0; padding: 0; }
.w7-footer-main li { margin: 5px 0; }
.w7-footer-main a { color: #cfb98f; text-decoration: none; }
.w7-footer-main a:hover { color: #fff0c8; }
.w7-footer-identity { position: relative; min-height: 180px; padding-right: 30px; }
.w7-footer-identity::after { content: ''; position: absolute; width: 118px; height: 145px; right: 0; bottom: -15px; background: url('assets/images/footer-identity-approved.webp') center/contain no-repeat; opacity: .74; pointer-events: none; }
.w7-footer-mushrooms { min-height: 150px; background: url('assets/images/footer-mushrooms-approved.webp') right bottom/contain no-repeat; }
.w7-footer-bottom { border-top: 1px solid rgba(183,151,95,.25); padding: 14px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; }
.w7-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.w7-socials a { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; border: 1px solid rgba(183,151,95,.45); text-decoration: none; }

/* Forms */
.w7-form { display: grid; gap: 12px; }
.w7-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.w7-form label { display: grid; gap: 5px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.w7-form input, .w7-form textarea, .w7-form select, .w7-newsletter input {
  width: 100%; border: 1px solid rgba(59,42,27,.52); background: rgba(245,232,204,.74); color: var(--w7-ink); padding: 10px 12px; border-radius: 0;
}
.w7-form textarea { min-height: 130px; resize: vertical; }
.w7-consent { display: flex!important; grid-template-columns: none!important; align-items: flex-start; gap: 8px!important; text-transform: none!important; letter-spacing: 0!important; }
.w7-consent input { width: auto; margin-top: 5px; }
.w7-notice { padding: 12px 16px; border: 1px solid #57724d; background: rgba(226,239,216,.85); margin-bottom: 18px; }
.w7-notice--error { border-color: #85413a; background: rgba(244,221,214,.88); }
.w7-newsletter form, .w7-newsletter .mc4wp-form-fields { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.w7-newsletter button, .w7-newsletter input[type=submit] { min-height: 42px; }

/* Homepage */
.w7-home-hero { min-height: clamp(700px, 72vw, 965px); background-image: var(--wanderer-home-hero, url('assets/images/home-hero-master-v62.webp')); background-size: cover; background-position: center; }
.w7-home-hero .w7-wrap { min-height: inherit; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.75fr); align-items: center; gap: 30px; padding-block: clamp(70px, 9vw, 130px); }
.w7-home-copy { max-width: 650px; padding: clamp(22px,4vw,46px); background: rgba(232,214,181,.74); border: 1px solid rgba(60,42,26,.34); backdrop-filter: blur(1px); }
.w7-home-book { align-self: center; justify-self: center; width: min(420px, 92%); filter: drop-shadow(0 28px 30px rgba(0,0,0,.28)); }
.w7-retailer-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.w7-retailer-row .w7-button { padding-inline: 12px; }
.w7-home-panels { padding: 40px 0; background: #d1b889 url('assets/images/texture-parchment.webp') repeat; }
.w7-home-panels-grid { display: grid; grid-template-columns: 1.05fr 1.35fr 1.05fr; gap: 18px; }
.w7-home-panel { min-height: 410px; padding: 28px; background-size: cover; background-position: center; border: 2px solid rgba(32,25,18,.78); box-shadow: var(--w7-shadow); }
.w7-home-panel--archive { background-image: url('assets/images/home-archive-background-v63.webp'); }
.w7-home-panel--journal { background-image: url('assets/images/home-journal-background-v63.webp'); }
.w7-home-panel--people { background: rgba(229,210,174,.86); }
.w7-home-people { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 18px; }
.w7-home-people img { aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(56,39,24,.45); }
.w7-home-travellers { padding: 48px 0; color: #d8c093; background: #111511 url('assets/images/travellers-band-v62.webp') center/cover no-repeat; }
.w7-home-shop-mail { padding: 38px 0; }
.w7-home-shop-mail-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; }
.w7-home-shop, .w7-home-mail { min-height: 390px; padding: 28px; border: 2px solid rgba(32,25,18,.78); background-position: center; background-size: cover; }
.w7-home-shop { background-image: url('assets/images/home-shop-panel-v62.webp'); }
.w7-home-mail { background-image: url('assets/images/home-mail-panel-v62.webp'); }

/* Book */
.w7-book-hero { min-height: 545px; padding: 48px 0; }
.w7-book-hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(22px,4vw,55px); align-items: center; }
.w7-book-cover { width: min(330px,92%); justify-self: center; filter: drop-shadow(0 20px 22px rgba(0,0,0,.27)); }
.w7-book-buy { min-height: 270px; padding: 42px 0; }
.w7-edition-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.w7-edition-card { text-align: center; padding: 22px 15px; background: rgba(233,216,182,.82); border: 1px solid rgba(56,39,24,.45); }
.w7-book-info { min-height: 285px; padding: 36px 0; }
.w7-book-reviews { min-height: 300px; padding: 38px 0; }
.w7-support-band { color: #dcc59a; background: #111511 url('assets/images/support-hero.webp') center/cover no-repeat; padding: 48px 0; }
.w7-support-band .w7-wrap { display: flex; justify-content: center; text-align: center; }
.w7-support-band .w7-dark-box { max-width: 760px; }

/* World */
.w7-world-hero { min-height: 650px; padding: 62px 0; }
.w7-world-copy { width: min(390px, 46%); }
.w7-map-marker { position: absolute; display: inline-flex; width: 31px; height: 31px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(218,194,151,.92); border: 1px solid #4e3923; font-size: .86rem; font-weight: 700; text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.w7-map-marker:hover { background: #fff0c9; transform: scale(1.08); }
.w7-world-notes { min-height: 150px; padding: 25px 0; color: #d7c195; }
.w7-world-notes-grid { grid-template-columns: .9fr repeat(5,1fr); align-items: stretch; }
.w7-note-thumb { min-height: 120px; background: rgba(235,218,184,.8); border: 1px solid rgba(60,42,26,.44); overflow: hidden; }
.w7-note-thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.45); }
.w7-world-places { min-height: 450px; padding: 45px 0; }
.w7-place-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.w7-world-closing { min-height: 170px; padding: 34px 0; }
.w7-world-closing-grid { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 24px; align-items: center; }

/* People */
.w7-people-main { min-height: 1080px; padding: 56px 0 42px; }
.w7-people-heading { text-align: center; margin-bottom: 30px; }
.w7-people-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.w7-people-featured { min-height: 410px; padding: 40px 0 60px; }
.w7-feature-record { width: min(760px,100%); margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; }
.w7-feature-record img { width: 100%; height: 100%; object-fit: cover; }

/* Archive */
.w7-archive-hero { min-height: 335px; padding: 48px 0 30px; }
.w7-archive-copy { max-width: 620px; margin-left: 170px; }
.w7-filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.w7-filter-row a { padding: 8px 14px; border: 1px solid rgba(56,39,24,.45); background: rgba(234,217,183,.66); text-decoration: none; font-size: .75rem; text-transform: uppercase; }
.w7-filter-row a.is-active { background: var(--w7-red); color: #ead8b6; }
.w7-archive-featured { min-height: 515px; padding: 35px 0; }
.w7-archive-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.w7-archive-featured-card img { aspect-ratio: 1.25; }
.w7-archive-grid-section { min-height: 420px; padding: 32px 0; }
.w7-archive-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.w7-archive-grid .w7-card__title { font-size: 1rem; }
.w7-archive-create { min-height: 178px; padding: 40px 0; }
.w7-create-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }

/* Journal */
.w7-journal-hero { min-height: 470px; padding: 60px 0 30px; }
.w7-journal-hero-copy { max-width: 600px; margin-left: 180px; }
.w7-journal-categories { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.w7-journal-entries { min-height: 680px; padding: 40px 0; }
.w7-journal-layout { display: grid; grid-template-columns: minmax(0,3fr) minmax(230px,1fr); gap: 20px; }
.w7-post-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.w7-journal-side { display: grid; gap: 16px; align-content: start; }
.w7-admin-tools a { display: block; margin: 7px 0; }
.w7-journal-signup { min-height: 180px; padding: 42px 0; }
.w7-signup-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 34px; }

/* Travellers */
.w7-travellers-hero { min-height: 465px; padding: 62px 0; }
.w7-travellers-copy { max-width: 640px; margin-left: 150px; }
.w7-travellers-nav { min-height: 150px; padding: 26px 0; }
.w7-traveller-tabs { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; }
.w7-traveller-tabs a { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px; text-align: center; text-decoration: none; border: 1px solid rgba(56,39,24,.4); background: rgba(232,214,181,.76); }
.w7-moderation-strip { background: #141814; color: #d2bb8f; padding: 13px 0; border-block: 1px solid rgba(183,151,95,.42); }
.w7-moderation-strip .w7-wrap { display: flex; justify-content: space-between; gap: 20px; }
.w7-travellers-wall { min-height: 680px; padding: 42px 0; }
.w7-instagram-shell { background: rgba(234,218,186,.7); border: 1px solid rgba(57,39,24,.42); padding: 20px; }
.w7-instagram-shell .sb_instagram_header { font-family: var(--w7-serif); }
.w7-travellers-bottom { min-height: 180px; padding: 34px 0; }

/* Shop / WooCommerce */
.w7-shop-hero { min-height: 385px; padding: 58px 0; }
.w7-shop-copy { max-width: 430px; margin-left: 150px; }
.w7-shop-catalogue { min-height: 760px; padding: 35px 0; }
.w7-shop-layout { display: grid; grid-template-columns: 190px minmax(0,1fr) 250px; gap: 16px; align-items: start; }
.w7-shop-sidebar, .w7-cart-panel { background: rgba(234,217,184,.88); border: 1px solid rgba(56,39,24,.48); padding: 18px; }
.w7-shop-sidebar ul { list-style: none; padding: 0; }
.w7-shop-sidebar li { margin: 7px 0; }
.w7-cart-panel { position: sticky; top: 100px; }
.woocommerce ul.products { display: grid!important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px!important; margin: 0!important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none!important; }
.woocommerce ul.products li.product { float: none!important; width: auto!important; margin: 0!important; background: rgba(234,217,184,.9); border: 1px solid rgba(56,39,24,.48); padding: 14px; text-align: center; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 10px!important; background: rgba(255,248,229,.35); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--w7-serif); font-size: 1.2rem!important; font-weight: 400; color: var(--w7-ink); }
.woocommerce ul.products li.product .price { color: #4a3321!important; }
.w7-shop-values { min-height: 155px; padding: 30px 0; }
.w7-value-grid { grid-template-columns: repeat(4,1fr); }
.w7-value { display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; }
.woocommerce div.product { background: rgba(234,217,184,.88); border: 1px solid rgba(56,39,24,.48); padding: clamp(20px,4vw,46px); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: #ead8b6; border-top-color: var(--w7-red); color: var(--w7-ink); }

/* Support */
.w7-support-hero-page { min-height: 385px; padding: 58px 0; }
.w7-support-copy { max-width: 570px; margin-left: 120px; }
.w7-campaign { min-height: 500px; padding: 38px 0; }
.w7-campaign-summary { display: grid; grid-template-columns: .75fr 1.7fr .85fr; gap: 20px; align-items: center; margin-bottom: 28px; }
.w7-progress { height: 24px; border: 1px solid rgba(56,39,24,.58); background: rgba(234,217,184,.58); padding: 4px; }
.w7-progress > span { display: block; height: 100%; background: repeating-linear-gradient(135deg,#343429,#343429 8px,#665b42 8px,#665b42 12px); }
.w7-campaign-stats { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; gap: 8px; margin-top: 12px; }
.w7-reward-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.w7-reward-card { padding: 14px; text-align: center; background: rgba(234,217,184,.84); border: 1px solid rgba(56,39,24,.45); }
.w7-reward-card img { aspect-ratio: 4/5; object-fit: contain; }
.w7-support-middle, .w7-support-bottom { min-height: 220px; padding: 35px 0; }
.w7-faq details { border-bottom: 1px solid rgba(56,39,24,.32); padding: 10px 0; }
.w7-faq summary { cursor: pointer; }

/* Author */
.w7-author-hero { min-height: 520px; padding: 48px 0; }
.w7-author-grid { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 48px; align-items: center; }
.w7-author-portrait { transform: rotate(-2deg); padding: 12px 12px 42px; background: #d7c29b; box-shadow: 0 10px 24px rgba(0,0,0,.2); border: 1px solid rgba(56,39,24,.45); }
.w7-author-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.85) sepia(.15); }
.w7-author-contact { min-height: 290px; padding: 34px 0; }
.w7-author-contact-grid { grid-template-columns: .75fr 1.15fr 1.15fr; }
.w7-author-reviews { min-height: 330px; padding: 42px 0; }
.w7-author-review-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.w7-author-quote { min-height: 170px; padding: 42px 0; }

/* Editorial */
.w7-editorial-hero { padding: 70px 0 45px; background: var(--w7-paper) url('assets/images/author-map.webp') right center/cover no-repeat; border-bottom: 4px solid #171a16; }
.w7-editorial-content { padding: 52px 0 70px; background: var(--w7-paper) url('assets/images/texture-parchment.webp') repeat; }
.w7-editorial-content .w7-prose { background: rgba(237,220,187,.78); border: 1px solid rgba(56,39,24,.36); padding: clamp(24px,5vw,55px); box-shadow: var(--w7-shadow); }
.w7-prose h2, .w7-prose h3 { font-weight: 400; line-height: 1.15; }
.w7-prose h2 { font-size: 2rem; }
.w7-prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--w7-red); background: rgba(209,184,137,.32); font-style: italic; }
.w7-pagination { display: flex; justify-content: center; gap: 7px; margin: 30px 0; }
.w7-pagination .page-numbers { padding: 8px 12px; border: 1px solid rgba(56,39,24,.45); background: rgba(234,217,184,.8); text-decoration: none; }

/* Responsive */
@media (max-width: 1120px) {
  .w7-header-inner { grid-template-columns: 180px 1fr auto; gap: 14px; }
  .w7-primary-nav ul { gap: 14px; }
  .w7-primary-nav a { font-size: .66rem; }
  .w7-shop-layout { grid-template-columns: 165px minmax(0,1fr); }
  .w7-cart-panel { grid-column: 1 / -1; position: static; }
  .w7-reward-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .admin-bar .w7-site-header { top: 46px; }
  .w7-header-inner { grid-template-columns: 1fr auto auto; min-height: 68px; }
  .w7-menu-toggle { display: inline-block; }
  .w7-primary-nav { display: none; grid-column: 1 / -1; padding-bottom: 14px; }
  .w7-primary-nav.is-open { display: block; }
  .w7-primary-nav ul { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; }
  .w7-primary-nav a { display: block; padding: 12px; border-top: 1px solid rgba(183,151,95,.2); }
  .w7-header-buy { display: none; }
  .w7-footer-main { grid-template-columns: repeat(2,1fr); }
  .w7-footer-identity { grid-column: 1 / -1; }
  .w7-grid--4, .w7-grid--6 { grid-template-columns: repeat(2,1fr); }
  .w7-home-hero .w7-wrap { grid-template-columns: 1fr; text-align: center; }
  .w7-home-copy { margin-inline: auto; }
  .w7-home-book { width: min(320px,70vw); }
  .w7-retailer-row { grid-template-columns: repeat(2,1fr); }
  .w7-home-panels-grid, .w7-home-shop-mail-grid { grid-template-columns: 1fr; }
  .w7-book-hero-grid, .w7-feature-record, .w7-author-grid { grid-template-columns: 1fr; }
  .w7-edition-grid, .w7-place-grid { grid-template-columns: repeat(2,1fr); }
  .w7-world-copy, .w7-shop-copy, .w7-support-copy, .w7-travellers-copy, .w7-journal-hero-copy, .w7-archive-copy { width: auto; max-width: 620px; margin-left: 0; }
  .w7-world-notes-grid { grid-template-columns: repeat(3,1fr); }
  .w7-world-notes-grid .w7-dark-box { grid-column: 1 / -1; }
  .w7-world-closing-grid { grid-template-columns: 1fr; }
  .w7-people-grid, .w7-post-grid { grid-template-columns: repeat(2,1fr); }
  .w7-archive-grid { grid-template-columns: repeat(3,1fr); }
  .w7-journal-layout { grid-template-columns: 1fr; }
  .w7-traveller-tabs { grid-template-columns: repeat(3,1fr); }
  .w7-shop-layout { grid-template-columns: 1fr; }
  .w7-shop-sidebar { order: 2; }
  .w7-value-grid { grid-template-columns: repeat(2,1fr); }
  .w7-campaign-summary { grid-template-columns: 1fr; }
  .w7-author-contact-grid, .w7-author-review-grid { grid-template-columns: repeat(2,1fr); }
  .w7-art-section { background-image: var(--section-bg-mobile, var(--section-bg)); background-size: cover; }
}
@media (max-width: 620px) {
  :root { --w7-gutter: 14px; }
  .w7-brand .large { font-size: 1.25rem; }
  .w7-brand .small, .w7-brand .author { font-size: .55rem; }
  .w7-page-title { font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .w7-grid--2, .w7-grid--3, .w7-grid--4, .w7-grid--6, .w7-edition-grid, .w7-place-grid, .w7-people-grid, .w7-post-grid, .w7-archive-featured-grid, .w7-archive-grid, .w7-reward-grid, .w7-author-contact-grid, .w7-author-review-grid, .w7-value-grid { grid-template-columns: 1fr; }
  .w7-home-hero { min-height: 760px; }
  .w7-home-hero .w7-wrap { padding-block: 55px; }
  .w7-home-copy { background: rgba(232,214,181,.86); }
  .w7-retailer-row { grid-template-columns: 1fr; }
  .w7-book-hero, .w7-world-hero, .w7-travellers-hero, .w7-shop-hero, .w7-support-hero-page, .w7-author-hero { min-height: auto; }
  .w7-world-notes-grid { grid-template-columns: 1fr 1fr; }
  .w7-map-marker { display: none; }
  .w7-traveller-tabs { grid-template-columns: 1fr 1fr; }
  .w7-moderation-strip .w7-wrap, .w7-create-row, .w7-footer-bottom { flex-direction: column; }
  .w7-form-row, .w7-signup-row { grid-template-columns: 1fr; }
  .w7-newsletter form, .w7-newsletter .mc4wp-form-fields { grid-template-columns: 1fr; }
  .w7-footer-main { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr!important; }
  .w7-author-portrait { max-width: 300px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
}

/* ================================================================
   V7.1 — INDIVIDUAL CELL ARTWORK SYSTEM
   Section artwork is only the paper/environment. Every editable cell
   carries its own replaceable graphic background beneath live HTML.
   ================================================================ */
.w7-cell {
  --cell-bg: url('assets/images/cells/cell-landscape-1.webp');
  position: relative;
  isolation: isolate;
  color: var(--w7-ink);
  background-color: transparent;
  background-image: var(--cell-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 0;
  box-shadow: 0 10px 24px rgba(41,30,17,.14);
  padding: clamp(24px, 3vw, 42px);
}
.w7-cell > * { position: relative; z-index: 1; }
.w7-cell--compact { padding: 18px 20px; }
.w7-cell--dark { color: #dbc49a; background-image: var(--cell-bg); padding: clamp(28px,4vw,52px); }
.w7-cell--dark .w7-eyebrow { color: #c0a678; }
.w7-centred-title { text-align: center; margin-bottom: 22px; }
.w7-button--compact { min-height: 34px; padding: 7px 12px; font-size: .67rem; }

/* Existing reusable cells no longer use flat beige rectangles. */
.w7-paper-box {
  background-color: transparent;
  background-image: url('assets/images/cells/cell-landscape-6.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border: 0;
  box-shadow: 0 10px 24px rgba(41,30,17,.14);
  padding: clamp(26px,3vw,44px);
}
.w7-card {
  background-color: transparent;
  background-image: url('assets/images/cells/cell-portrait-5.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border: 0;
  box-shadow: 0 9px 20px rgba(34,24,15,.15);
  padding: 18px;
}
.w7-grid > .w7-card:nth-child(3n+2) { background-image: url('assets/images/cells/cell-portrait-6.webp'); }
.w7-grid > .w7-card:nth-child(3n+3) { background-image: url('assets/images/cells/cell-portrait-7.webp'); }
.w7-card__image { border: 1px solid rgba(56,39,24,.34); }
.w7-card__body { padding: 16px 8px 8px; }

/* Homepage: purchase cells and live rune labels restored. */
.w7-home-hero { min-height: clamp(820px, 78vw, 1080px); }
.w7-home-copy { max-width: 760px; background: none; border: 0; backdrop-filter: none; }
.w7-home-buy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.w7-home-buy-card { min-height: 145px; display: flex; flex-direction: column; justify-content: center; text-align: center; box-shadow: 0 6px 13px rgba(41,30,17,.12); }
.w7-home-buy-card h2 { font-size: 1rem; margin: 0 0 4px; }
.w7-home-buy-card p { margin: 0 0 10px; font-size: .78rem; }
.w7-home-buy-card .w7-button { align-self: center; margin-top: auto; }
.w7-rune-band { background: #d1b889 url('assets/images/texture-parchment.webp') repeat; border-block: 4px solid #171a16; }
.w7-rune-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.w7-rune { min-height: 150px; padding: 14px 8px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; text-decoration: none; border-inline-end: 1px solid rgba(56,39,24,.34); }
.w7-rune:first-child { border-inline-start: 1px solid rgba(56,39,24,.34); }
.w7-rune img { width: 110px; height: 72px; object-fit: cover; mix-blend-mode: multiply; }
.w7-rune span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.w7-rune:hover { background: rgba(255,246,221,.26); }
.w7-home-panel-cell { min-height: 350px; display: flex; flex-direction: column; justify-content: center; }
.w7-home-panel--people { background: none; min-height: 410px; }
.w7-home-shop-cell, .w7-home-mail-cell { min-height: 330px; }
.w7-home-shop-cell .w7-card { padding: 10px; }
.w7-home-shop-cell .w7-card__body { padding: 9px 2px 2px; }
.w7-home-shop-cell .w7-card__title { font-size: 1rem; }

/* Book page: plain paper sections; each cell owns its frame. */
.w7-book-buy, .w7-book-info, .w7-book-reviews {
  background-color: var(--w7-paper);
  background-size: cover;
}
.w7-book-hero-cell { max-width: 760px; }
.w7-edition-card { min-height: 315px; display: flex; flex-direction: column; justify-content: center; text-align: center; background-color: transparent; border: 0; padding: 34px 28px; }
.w7-edition-card h3 { font-size: 1.26rem; margin: 6px 0 10px; }
.w7-edition-card .w7-button { align-self: center; margin-top: auto; }
.w7-info-cell { min-height: 285px; display: flex; flex-direction: column; justify-content: center; }
.w7-info-cell h2 { margin-top: 0; }
.w7-info-cell .w7-button { align-self: flex-start; }
.w7-review-grid { align-items: stretch; }
.w7-review-cell { min-height: 265px; padding: 28px; }
.w7-review-cell .w7-card { min-height: 100%; padding: 0; background: none; border: 0; box-shadow: none; }
.w7-review-empty { grid-column: 1/-1; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; }
.w7-support-band .w7-cell--dark { width: min(820px,100%); text-align: center; }

/* Other dynamic cells throughout the theme receive real paper skins. */
.w7-reward-card,
.w7-shop-sidebar,
.w7-cart-panel,
.w7-traveller-tabs a,
.w7-note-thumb,
.w7-filter-row a,
.w7-pagination .page-numbers,
.woocommerce ul.products li.product {
  background-color: transparent!important;
  background-image: url('assets/images/cells/cell-portrait-8.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border: 0!important;
  box-shadow: 0 8px 18px rgba(34,24,15,.13);
}
.w7-traveller-tabs a,
.w7-filter-row a,
.w7-pagination .page-numbers { background-image: url('assets/images/cells/cell-landscape-5.webp'); }
.w7-shop-sidebar, .w7-cart-panel { background-image: url('assets/images/cells/cell-portrait-3.webp'); padding: 28px; }
.woocommerce ul.products li.product:nth-child(3n+2) { background-image: url('assets/images/cells/cell-portrait-4.webp'); }
.woocommerce ul.products li.product:nth-child(3n+3) { background-image: url('assets/images/cells/cell-portrait-6.webp'); }
.w7-reward-card:nth-child(3n+2) { background-image: url('assets/images/cells/cell-portrait-2.webp'); }
.w7-reward-card:nth-child(3n+3) { background-image: url('assets/images/cells/cell-portrait-7.webp'); }

@media (max-width: 900px) {
  .w7-home-hero { min-height: auto; }
  .w7-home-copy { max-width: 680px; }
  .w7-rune-grid { grid-template-columns: repeat(5,1fr); }
  .w7-rune { min-height: 128px; }
  .w7-rune img { width: 86px; height: 58px; }
  .w7-edition-card { min-height: 285px; }
}
@media (max-width: 620px) {
  .w7-cell { background-size: 100% 100%; padding: 28px 24px; }
  .w7-home-buy-grid { grid-template-columns: 1fr; }
  .w7-home-buy-card { min-height: 135px; }
  .w7-rune-grid { grid-template-columns: repeat(2,1fr); }
  .w7-rune:last-child { grid-column: 1/-1; }
  .w7-rune { border-bottom: 1px solid rgba(56,39,24,.34); }
  .w7-home-panel, .w7-home-shop, .w7-home-mail { padding: 12px; }
  .w7-home-panel-cell, .w7-home-shop-cell, .w7-home-mail-cell { min-height: auto; }
  .w7-edition-card, .w7-info-cell { min-height: auto; }
  .w7-review-empty { min-height: 240px; }
}

/* Homepage master composition: live text/cells aligned over the approved artwork. */
.w7-home-hero { position: relative; min-height: 0; aspect-ratio: 1672 / 941; background-size: 100% 100%; background-position: center; }
.w7-home-stage { position: relative; width: 100%; height: 100%; min-height: inherit; }
.w7-home-title-copy { position: absolute; left: 24.5%; top: 10.5%; width: 25%; max-width: 440px; z-index: 3; }
.w7-home-title-copy .w7-page-title { font-size: clamp(2.3rem,4.2vw,4.8rem); }
.w7-home-title-copy .w7-lede { font-size: clamp(.84rem,1.15vw,1.15rem); max-width: 34ch; }
.w7-home-title-copy .w7-prose { font-size: .88rem; max-height: 7.5em; overflow: hidden; }
.w7-home-book { position: absolute; left: 8.7%; bottom: 7.2%; width: 24%; max-width: 430px; z-index: 4; }
.w7-home-buy-stack { position: absolute; left: 34%; top: 42.3%; width: 11.2%; display: grid; gap: .9%; z-index: 5; }
.w7-home-buy-card { min-height: 0; height: 4.6vw; max-height: 76px; padding: .38vw .55vw; display: grid; grid-template-columns: 1fr auto; align-content: center; text-align: left; box-shadow: none; background-size: 100% 100%; }
.w7-home-buy-card h2 { margin: 0; font-size: clamp(.5rem,.72vw,.8rem); line-height: 1.1; }
.w7-home-buy-card p { display: none; }
.w7-home-buy-card > a { text-decoration: none; font-size: 1rem; align-self: center; }
.w7-home-buy-status { grid-column: 1/-1; font-size: clamp(.42rem,.55vw,.64rem); text-transform: uppercase; letter-spacing: .05em; opacity: .72; }
.w7-home-quote { position: absolute; left: 25.2%; bottom: 6.5%; width: 27%; margin: 0; font-size: clamp(.58rem,.78vw,.86rem); font-style: italic; text-align: center; z-index: 3; }
.w7-home-quote p { margin: 0 0 3px; }
.w7-home-quote cite { font-size: .8em; }
.w7-home-rune-labels { position: absolute; left: 55.7%; bottom: 8.4%; width: 40.8%; display: grid; grid-template-columns: repeat(5,1fr); z-index: 5; }
.w7-home-rune-labels a { padding: 0 .25vw; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(.48rem,.63vw,.72rem); line-height: 1.12; }
.w7-rune-band { display: none; }

@media (max-width: 900px) {
  .w7-home-hero { aspect-ratio: auto; background-size: cover; background-position: center top; padding: 36px 0; }
  .w7-home-stage { width: min(760px,calc(100% - 28px)); margin-inline: auto; display: grid; gap: 18px; }
  .w7-home-title-copy, .w7-home-book, .w7-home-buy-stack, .w7-home-quote, .w7-home-rune-labels { position: static; width: auto; max-width: none; }
  .w7-home-title-copy { background: rgba(235,217,181,.9); padding: 26px; border: 1px solid rgba(56,39,24,.42); }
  .w7-home-book { width: min(330px,74vw); justify-self: center; }
  .w7-home-buy-stack { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .w7-home-buy-card { height: auto; max-height: none; min-height: 135px; padding: 24px; display: flex; text-align: center; }
  .w7-home-buy-card h2 { font-size: 1rem; }
  .w7-home-buy-card p { display: block; }
  .w7-home-buy-status { font-size: .7rem; }
  .w7-home-quote { padding: 22px; background: rgba(235,217,181,.88); border: 1px solid rgba(56,39,24,.4); font-size: .92rem; }
  .w7-home-rune-labels { grid-template-columns: repeat(5,1fr); background: rgba(235,217,181,.9); padding: 16px 8px; border: 1px solid rgba(56,39,24,.4); }
  .w7-home-rune-labels a { font-size: .67rem; }
}
@media (max-width: 620px) {
  .w7-home-buy-stack { grid-template-columns: 1fr; }
  .w7-home-rune-labels { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .w7-home-rune-labels a:last-child { grid-column: 1/-1; }
}

/* ================================================================
   V7.2 — LAYERED FOUND-ARCHIVE SYSTEM
   Page surface -> section environment -> physical paper/card -> live content
   -> sparse foreground objects. Text/data remain HTML and WordPress-driven.
   ================================================================ */

.w7-main {
  width: 100%;
  min-width: 0;
  background:
    linear-gradient(rgba(226,205,165,.12),rgba(226,205,165,.12)),
    url('assets/images/texture-parchment.webp') repeat;
}
.w7-art-section,
.w72-page-surface {
  position: relative;
  isolation: isolate;
}
.w72-page-surface {
  background:
    linear-gradient(rgba(237,221,187,.10),rgba(237,221,187,.10)),
    url('assets/images/texture-parchment.webp') repeat;
  border-bottom: 3px solid #171a16;
}
.w72-page-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/topographic-overlay.webp') center/cover no-repeat;
  opacity: .055;
  pointer-events: none;
  z-index: 0;
}
.w72-page-surface > .w7-wrap { position: relative; z-index: 2; }

/* Physical paper language */
.w72-feature-panel,
.w72-record-scrap,
.w72-product-scrap,
.w72-mail-spread,
.w72-shop-spread,
.w72-archive-strip-inner {
  position: relative;
  color: var(--w7-ink);
}
.w72-feature-panel,
.w72-record-scrap,
.w72-product-scrap,
.w72-mail-spread,
.w72-shop-spread {
  background-image: url('assets/images/cells/cell-landscape-6.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 10px 14px rgba(40,28,16,.14));
}

/* Home: three spread cards */
.w72-home-feature-spread { padding: clamp(28px,4vw,58px) 0; }
.w72-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,26px); }
.w72-feature-panel { min-height: 390px; padding: clamp(26px,3vw,42px); overflow:hidden; }
.w72-feature-panel:nth-child(2) { background-image:url('assets/images/cells/cell-landscape-2.webp'); }
.w72-feature-panel:nth-child(3) { background-image:url('assets/images/cells/cell-landscape-3.webp'); }
.w72-feature-copy { position:relative; z-index:3; width:min(100%,34ch); }
.w72-feature-copy h2 { margin:.1em 0 .35em; font-size:clamp(2rem,3vw,3rem); font-weight:400; line-height:.98; }
.w72-feature-copy p { max-width:31ch; }
.w72-feature-art { position:absolute; z-index:1; right:-5%; bottom:-5%; width:58%; max-height:78%; object-fit:contain; opacity:.78; filter:sepia(.45) contrast(.92); mix-blend-mode:multiply; }
.w72-feature-panel--book .w72-feature-art { width:48%; right:-2%; bottom:-8%; }
.w72-feature-panel--world .w72-feature-copy { width:57%; }
.w72-feature-panel--world .w72-feature-art { width:60%; right:-8%; bottom:-1%; }
.w72-feature-panel--journal .w72-feature-copy { width:56%; }
.w72-feature-art--journal { width:60%; right:-12%; bottom:-3%; opacity:.6; }
.w72-home-journal-list { margin:12px 0 18px; padding-left:1.1em; }
.w72-home-journal-list li { margin:.35em 0; }

/* Cartographer strip */
.w72-home-archive-strip { padding: 28px 0; background-color:#cdb58a; }
.w72-archive-strip-inner {
  min-height:250px;
  padding:clamp(28px,4vw,52px);
  display:grid;
  grid-template-columns:.72fr 1.28fr;
  gap:clamp(18px,3vw,44px);
  align-items:center;
  background-image:url('assets/images/cells/cell-landscape-5.webp');
  background-size:100% 100%;
  background-repeat:no-repeat;
}
.w72-archive-strip-copy h2 { font-size:clamp(2rem,3.1vw,3.3rem); font-weight:400; margin:0 0 8px; }
.w72-archive-strip-art { display:grid; grid-template-columns:1.05fr 1fr .95fr; gap:10px; transform:rotate(-.4deg); }
.w72-archive-strip-art img { width:100%; aspect-ratio:4/3; object-fit:cover; filter:sepia(.55) contrast(.92); border:1px solid rgba(51,36,21,.4); box-shadow:0 5px 9px rgba(29,20,12,.18); }
.w72-archive-strip-art img:nth-child(2) { transform:rotate(1.1deg) translateY(5px); }
.w72-archive-strip-art img:nth-child(3) { transform:rotate(-1.1deg); }

/* People strip */
.w72-home-people { padding:36px 0 44px; }
.w72-section-heading-row { display:flex; align-items:end; justify-content:space-between; gap:20px; margin:0 0 18px; }
.w72-section-heading-row h2 { margin:0; font-size:clamp(2rem,3vw,3.1rem); font-weight:400; }
.w72-people-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.w72-record-scrap { min-height:290px; padding:16px 16px 22px; background-image:url('assets/images/cells/cell-portrait-5.webp'); }
.w72-record-scrap:nth-child(2) { background-image:url('assets/images/cells/cell-portrait-6.webp'); transform:translateY(5px) rotate(.3deg); }
.w72-record-scrap:nth-child(3) { background-image:url('assets/images/cells/cell-portrait-7.webp'); transform:rotate(-.25deg); }
.w72-record-scrap:nth-child(4) { background-image:url('assets/images/cells/cell-portrait-4.webp'); transform:translateY(4px) rotate(.25deg); }
.w72-record-scrap:nth-child(5) { background-image:url('assets/images/cells/cell-portrait-8.webp'); transform:rotate(-.25deg); }
.w72-record-scrap a { text-decoration:none; display:block; }
.w72-record-scrap img { width:100%; aspect-ratio:4/3; object-fit:cover; filter:sepia(.45) contrast(.93); border:1px solid rgba(56,39,24,.34); }
.w72-record-scrap h3 { font-size:1.2rem; margin:10px 0 5px; font-weight:400; }
.w72-record-scrap p { font-size:.84rem; margin:0; }

/* Travellers dark layer */
.w72-home-travellers {
  position:relative;
  color:#dbc49a;
  padding:40px 0 46px;
  background:#101410 url('assets/images/texture-dark.webp') repeat;
  border-block:2px solid rgba(183,151,95,.42);
  overflow:hidden;
}
.w72-home-travellers::after {
  content:'';
  position:absolute;
  right:-30px; bottom:-45px;
  width:310px; height:260px;
  background:url('assets/images/cartographer-tools.webp') right bottom/contain no-repeat;
  opacity:.36;
  pointer-events:none;
}
.w72-section-heading-row--dark { color:#dbc49a; align-items:center; }
.w72-section-heading-row--dark .w7-eyebrow { color:#bda375; }
.w72-travellers-content { position:relative; z-index:2; }
.w72-traveller-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.w72-traveller-card { background:#d3bc91 url('assets/images/cells/cell-portrait-2.webp') center/100% 100% no-repeat; padding:14px 14px 20px; color:var(--w7-ink); box-shadow:0 10px 24px rgba(0,0,0,.25); }
.w72-traveller-card a { text-decoration:none; }
.w72-traveller-card img { width:100%; aspect-ratio:1; object-fit:cover; filter:sepia(.24); }
.w72-traveller-card h3 { font-weight:400; margin:10px 0 0; }
.w72-travellers-empty { max-width:680px; padding:24px; border:1px solid rgba(183,151,95,.4); background:rgba(0,0,0,.22); }
.w72-home-travellers #sb_instagram { padding:0!important; }
.w72-home-travellers #sbi_images { gap:12px; }

/* Shop + real mailing list */
.w72-home-shop-mail { padding:36px 0 46px; }
.w72-shop-mail-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:18px; align-items:stretch; }
.w72-shop-spread { padding:clamp(24px,3vw,38px); background-image:url('assets/images/cells/cell-landscape-4.webp'); }
.w72-home-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.w72-product-scrap { padding:12px 12px 18px; background-image:url('assets/images/cells/cell-portrait-1.webp'); }
.w72-product-scrap:nth-child(2){background-image:url('assets/images/cells/cell-portrait-6.webp');}
.w72-product-scrap:nth-child(3){background-image:url('assets/images/cells/cell-portrait-3.webp');}
.w72-product-scrap a { text-decoration:none; }
.w72-product-scrap img { width:100%; aspect-ratio:1; object-fit:contain; background:rgba(245,231,201,.32); }
.w72-product-scrap h3 { margin:8px 0 2px; font-size:1rem; font-weight:400; }
.w72-product-scrap p { margin:0; }
.w72-mail-spread { padding:clamp(28px,4vw,48px); display:flex; flex-direction:column; justify-content:center; background-image:url('assets/images/cells/cell-portrait-3.webp'); }
.w72-mail-spread::after { content:''; position:absolute; right:-12px; bottom:-10px; width:150px; height:155px; background:url('assets/images/field-notes-cluster.webp') right bottom/contain no-repeat; opacity:.22; pointer-events:none; }
.w72-mail-spread > * { position:relative; z-index:2; }
.w72-mail-spread h2 { font-size:clamp(2rem,3.3vw,3.25rem); margin:0 0 8px; font-weight:400; }
.w72-mail-spread small { margin-top:10px; opacity:.72; }

/* Global section foreground details: sparse, page-specific, never text-bearing */
.w7-book-buy::after,
.w7-book-info::after,
.w7-world-places::after,
.w7-archive-grid-section::after,
.w7-journal-entries::after,
.w7-shop-catalogue::after,
.w7-support-middle::after,
.w7-author-contact::after {
  content:'';
  position:absolute;
  pointer-events:none;
  z-index:1;
  opacity:.2;
  background-repeat:no-repeat;
  background-size:contain;
}
.w7-book-buy::after { width:150px;height:220px;left:-12px;bottom:0;background-image:url('assets/images/botanicals.webp'); }
.w7-book-info::after { width:160px;height:150px;right:12px;bottom:0;background-image:url('assets/images/field-notes-cluster.webp'); }
.w7-world-places::after { width:160px;height:260px;right:0;bottom:10px;background-image:url('assets/images/botanicals.webp'); }
.w7-archive-grid-section::after { width:200px;height:190px;right:5px;bottom:0;background-image:url('assets/images/cartographer-tools.webp'); }
.w7-journal-entries::after { width:190px;height:220px;right:0;bottom:0;background-image:url('assets/images/field-notes-cluster.webp'); }
.w7-shop-catalogue::after { width:190px;height:260px;left:0;bottom:0;background-image:url('assets/images/botanicals.webp'); }
.w7-support-middle::after { width:190px;height:190px;right:0;bottom:0;background-image:url('assets/images/map-journal.webp'); }
.w7-author-contact::after { width:190px;height:230px;left:0;bottom:0;background-image:url('assets/images/botanicals.webp'); }

/* De-CMS the generic cells: slightly irregular physical positions */
.w7-grid > .w7-card:nth-child(4n+1) { transform:rotate(-.18deg); }
.w7-grid > .w7-card:nth-child(4n+2) { transform:translateY(3px) rotate(.18deg); }
.w7-grid > .w7-card:nth-child(4n+3) { transform:rotate(.12deg); }
.w7-grid > .w7-card:nth-child(4n+4) { transform:translateY(-2px) rotate(-.12deg); }
.woocommerce ul.products li.product { padding:18px!important; }

/* Footer gains a compact, real Mailchimp capture area. */
.w7-footer-newsletter { grid-column:1/-1; display:grid; grid-template-columns:minmax(220px,.8fr) minmax(280px,1.2fr); gap:24px; align-items:center; padding:18px 22px; border-top:1px solid rgba(183,151,95,.24); border-bottom:1px solid rgba(183,151,95,.24); background:rgba(0,0,0,.16); }
.w7-footer-newsletter h3 { margin:0 0 4px; }
.w7-footer-newsletter p { margin:0; font-size:.88rem; }
.w7-footer-newsletter .w7-newsletter { width:100%; }

/* Journal: harden width rules against plugin/block CSS collisions. */
.page-template-template-journal .w7-site-shell,
.page-template-template-journal .w7-main { width:min(100%,1600px)!important; max-width:1600px!important; }
.page-template-template-journal .w7-journal-hero > .w7-wrap,
.page-template-template-journal .w7-journal-entries > .w7-wrap,
.page-template-template-journal .w7-journal-signup > .w7-wrap { width:min(var(--w7-site-width),calc(100% - (var(--w7-gutter) * 2)))!important; max-width:var(--w7-site-width)!important; }

@media (max-width: 1000px) {
  .w72-feature-grid { grid-template-columns:1fr 1fr; }
  .w72-feature-panel--journal { grid-column:1/-1; }
  .w72-people-row { grid-template-columns:repeat(3,1fr); }
  .w72-traveller-grid { grid-template-columns:repeat(2,1fr); }
  .w72-shop-mail-grid { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  .w72-feature-grid,
  .w72-archive-strip-inner,
  .w72-people-row,
  .w72-traveller-grid,
  .w72-home-products { grid-template-columns:1fr; }
  .w72-feature-panel--journal { grid-column:auto; }
  .w72-feature-panel { min-height:330px; }
  .w72-feature-copy,
  .w72-feature-panel--world .w72-feature-copy,
  .w72-feature-panel--journal .w72-feature-copy { width:70%; }
  .w72-feature-art { opacity:.45; }
  .w72-archive-strip-art { grid-template-columns:repeat(3,1fr); }
  .w72-section-heading-row { align-items:flex-start; flex-direction:column; }
  .w72-record-scrap { min-height:0; }
  .w72-footer-newsletter { grid-template-columns:1fr; }
}
@media (max-width: 480px) {
  .w72-feature-copy,
  .w72-feature-panel--world .w72-feature-copy,
  .w72-feature-panel--journal .w72-feature-copy { width:100%; }
  .w72-feature-art { opacity:.2; width:75%; }
  .w72-archive-strip-art { display:none; }
  .w72-mail-spread::after { opacity:.1; }
}

/* ========================================================================
   V8 — FOUND JOURNAL LAYER SYSTEM
   Flexible surface + section art + paper objects + live content + overlays.
   ======================================================================== */
:root {
  --w8-paper-fill: url('assets/images/v8/parchment-fill.webp');
  --w8-paper-frame: url('assets/images/v8/parchment-frame.webp');
  --w8-dark-fill: url('assets/images/v8/dark-strip.webp');
  --w8-notebook-edge: url('assets/images/v8/notebook-edge.webp');
  --w8-botanical: url('assets/images/v8/botanical-corner.webp');
  --w8-botanical-flourish: url('assets/images/v8/botanical-flourish.webp');
  --w8-compass: url('assets/images/v8/compass-rose.webp');
  --w8-paperclip: url('assets/images/v8/paperclip-scrap.webp');
  --w8-tape: url('assets/images/v8/tape-strip.webp');
  --w8-torn: url('assets/images/v8/torn-strip.webp');
  --w8-seal: url('assets/images/v8/wax-seal.webp');
  --w8-quill: url('assets/images/v8/quill-ink.webp');
  --w8-shadow: 0 18px 48px rgba(27,18,10,.22);
  --w8-paper-rgb: 225,204,164;
}

body.wanderer-v7 {
  background-color:#0c100d;
  background-image:
    linear-gradient(rgba(7,10,8,.06),rgba(7,10,8,.06)),
    url('assets/images/texture-dark.webp');
  background-repeat:repeat;
}
.w7-site-shell {
  position:relative;
  isolation:isolate;
  background-color:#d6bc8d;
  background-image:var(--w8-paper-fill);
  background-repeat:repeat;
  background-size:720px auto;
}
.w7-site-shell::before {
  content:"";
  position:absolute;
  z-index:20;
  pointer-events:none;
  top:76px; bottom:0; left:-12px;
  width:72px;
  background-image:var(--w8-notebook-edge);
  background-repeat:repeat-y;
  background-size:72px auto;
  opacity:.76;
  filter:drop-shadow(5px 0 4px rgba(31,21,13,.12));
}
.w7-main { position:relative; z-index:2; }

/* Header: dark stitched ledger, functional actions remain live. */
.w7-site-header {
  background-color:#111411;
  background-image:linear-gradient(rgba(11,13,11,.95),rgba(11,13,11,.95)),var(--w8-dark-fill);
  background-size:auto,1100px 300px;
  border-bottom:1px solid rgba(190,153,91,.58);
}
.w7-header-inner { grid-template-columns:minmax(150px,210px) 1fr auto; }
.w8-header-actions { display:flex; gap:10px; align-items:center; justify-content:flex-end; }
.w8-spoiler-toggle {
  appearance:none; border:1px solid rgba(183,151,95,.45); background:rgba(8,11,9,.52); color:#d6bb83;
  min-height:38px; padding:8px 10px; display:inline-flex; gap:6px; align-items:center;
  font:600 .66rem/1 var(--w7-ui); letter-spacing:.05em; text-transform:uppercase;
}
.w8-spoiler-toggle:hover,.w8-spoiler-toggle[aria-pressed="true"] { background:#5e1712; color:#f4dfba; }

/* Flexible section surfaces: art is atmosphere, never the geometry. */
.w7-art-section,
.w72-page-surface,
.w7-editorial-content,
.w7-home-panels,
.w7-home-shop-mail {
  position:relative;
  isolation:isolate;
  background-color:#d9c29a;
  background-image:var(--w8-paper-fill);
  background-size:720px auto;
  background-repeat:repeat;
  background-position:center;
  border-bottom:0;
}
.w7-art-section::before,
.w72-page-surface::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:var(--section-bg, none);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:.17;
  mix-blend-mode:multiply;
}
.w7-art-section::after,
.w72-page-surface::after {
  content:""; position:absolute; left:0; right:0; bottom:-18px; height:38px; z-index:5; pointer-events:none;
  background-image:var(--w8-torn); background-position:center; background-size:100% 100%; background-repeat:no-repeat;
  opacity:.72;
}
.w7-art-section + .w7-art-section { margin-top:0; }

/* Purpose-built hero sections keep their controlled artwork. */
.w7-home-hero,
.w7-book-hero,
.w7-world-hero,
.w7-people-main,
.w7-archive-hero,
.w7-journal-hero,
.w7-travellers-hero,
.w7-shop-hero,
.w7-support-hero-page,
.w7-author-hero {
  position:relative;
  isolation:isolate;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.w7-home-hero::after,
.w7-book-hero::after,
.w7-world-hero::after,
.w7-archive-hero::after,
.w7-journal-hero::after,
.w7-travellers-hero::after,
.w7-shop-hero::after,
.w7-support-hero-page::after,
.w7-author-hero::after {
  content:""; position:absolute; inset:auto 0 -18px; height:40px; z-index:5; pointer-events:none;
  background:var(--w8-torn) center/100% 100% no-repeat; opacity:.75;
}

/* Physical paper objects. Centre remains flexible; decoration hugs edges. */
.w7-paper-box,
.w7-card,
.w7-cell,
.w72-feature-panel,
.w72-record-scrap,
.w72-product-scrap,
.w72-shop-spread,
.w72-mail-spread,
.w7-edition-card,
.w7-reward-card,
.w7-value,
.w7-shop-widget,
.w7-cart-panel {
  position:relative;
  isolation:isolate;
  background-color:rgba(232,215,181,.96);
  background-image:var(--w8-paper-fill);
  background-size:540px auto;
  background-repeat:repeat;
  border:1px solid rgba(65,46,29,.48);
  box-shadow:var(--w8-shadow);
}
.w7-paper-box::before,
.w7-card::before,
.w7-cell::before,
.w72-feature-panel::before,
.w72-record-scrap::before,
.w72-product-scrap::before,
.w72-shop-spread::before,
.w72-mail-spread::before,
.w7-edition-card::before,
.w7-reward-card::before,
.w7-cart-panel::before {
  content:""; position:absolute; inset:-5px; z-index:-1; pointer-events:none;
  border:1px solid rgba(88,60,34,.22);
  background:transparent;
  transform:rotate(var(--w8-paper-tilt,0deg));
}
.w7-grid > :nth-child(4n+1),.w72-people-row > :nth-child(4n+1){--w8-paper-tilt:-.25deg}
.w7-grid > :nth-child(4n+2),.w72-people-row > :nth-child(4n+2){--w8-paper-tilt:.18deg}
.w7-grid > :nth-child(4n+3),.w72-people-row > :nth-child(4n+3){--w8-paper-tilt:-.12deg}

/* Card families: subtly different materials rather than cloned beige boxes. */
.w7-record-card::after,.w7-place-grid .w7-card::after {
  content:""; position:absolute; right:-24px; bottom:-34px; width:130px; height:190px; z-index:0; pointer-events:none;
  background:var(--w8-botanical) right bottom/contain no-repeat; opacity:.18;
}
.w7-record-card > *, .w7-place-grid .w7-card > * { position:relative; z-index:1; }
.w7-review-card,.w7-review-cell { background-image:linear-gradient(rgba(239,223,190,.78),rgba(239,223,190,.78)),var(--w8-paper-fill); }
.w7-review-card::after,.w7-review-cell::after {
  content:'“'; position:absolute; top:-18px; right:14px; font-size:6rem; line-height:1; color:rgba(93,69,40,.11); pointer-events:none;
}
.w7-archive-featured-card,.w7-archive-grid .w7-card { background-image:linear-gradient(rgba(222,204,168,.58),rgba(222,204,168,.58)),url('assets/images/v8/map-panel.webp'); background-size:cover; }
.w7-post-grid .w7-card { background-image:linear-gradient(rgba(239,225,197,.78),rgba(239,225,197,.78)),var(--w8-paper-fill); }
.w7-post-grid .w7-card:nth-child(3n+2)::after { content:"";position:absolute;right:-15px;top:-18px;width:90px;height:90px;background:var(--w8-paperclip) center/contain no-repeat;opacity:.28;pointer-events:none; }

/* Home: preserve approved storytelling hierarchy. */
.w7-home-stage { position:relative; }
.w7-home-title-copy { background:rgba(235,218,184,.72); border:1px solid rgba(57,40,25,.26); box-shadow:0 9px 22px rgba(38,25,13,.10); padding:clamp(18px,2.6vw,34px); }
.w8-hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.w7-home-buy-card { background-image:var(--cell-bg),var(--w8-paper-fill)!important; background-size:cover,480px auto!important; background-position:center!important; min-height:112px; }
.w7-home-buy-stack { filter:drop-shadow(0 10px 20px rgba(31,21,11,.16)); }
.w7-home-rune-labels a { background:rgba(222,201,159,.32); padding:9px 8px; border-top:1px solid rgba(55,39,25,.18); }
.w72-home-feature-spread { padding-block:clamp(34px,5vw,64px); }
.w72-feature-panel { overflow:hidden; background-image:linear-gradient(rgba(235,218,184,.68),rgba(235,218,184,.68)),var(--w8-paper-fill)!important; background-size:auto,560px auto!important; }
.w72-feature-panel--world::after { content:"";position:absolute;right:-25px;bottom:-35px;width:180px;height:180px;background:var(--w8-compass) center/contain no-repeat;opacity:.12; }
.w72-home-archive-strip {
  background-color:#111410!important;
  background-image:linear-gradient(rgba(7,10,8,.7),rgba(7,10,8,.7)),var(--w8-dark-fill)!important;
  background-size:auto,1200px 400px!important;
  color:#d8c295;
}
.w72-home-archive-strip::after { background-image:var(--w8-torn); filter:brightness(.45); }
.w72-home-archive-strip .w7-eyebrow { color:#c49f66; }
.w72-home-people { padding-block:clamp(34px,5vw,60px); }
.w72-record-scrap { background-image:var(--w8-paper-fill)!important; overflow:hidden; }
.w72-home-travellers {
  position:relative; background-color:#101410; color:#d9c49c;
  background-image:linear-gradient(rgba(10,13,10,.88),rgba(10,13,10,.88)),var(--w8-dark-fill)!important;
  background-size:auto,1100px 360px!important;
  overflow:hidden;
}
.w72-home-travellers::before { content:"";position:absolute;left:-40px;bottom:-60px;width:260px;height:260px;background:var(--w8-quill) center/contain no-repeat;opacity:.16;pointer-events:none; }
.w72-home-shop-mail { padding-block:clamp(34px,5vw,64px); }
.w72-mail-spread::after { content:"";position:absolute;right:-25px;bottom:-35px;width:160px;height:160px;background:var(--w8-seal) center/contain no-repeat;opacity:.13;pointer-events:none; }

/* Journal fixes: wide desktop canvas, proper columns, no accidental 320px layout. */
.w7-journal-entries > .w7-wrap { width:min(1280px,calc(100% - (var(--w7-gutter) * 2))); }
.w7-journal-layout { grid-template-columns:minmax(0,1fr) minmax(250px,320px)!important; }
.w7-post-grid { grid-template-columns:repeat(3,minmax(220px,1fr))!important; }
.w7-journal-side { min-width:0; }
.w7-journal-signup { background-image:var(--w8-paper-fill)!important; }
.w7-journal-signup::before { opacity:.12; background-image:url('assets/images/v8/botanical-panel.webp'); }

/* World / Archive: maps remain big; records remain live and expandable. */
.w7-world-places,.w7-archive-grid-section,.w7-archive-featured { background-image:var(--w8-paper-fill)!important; }
.w7-world-notes { background-color:#101410!important; background-image:linear-gradient(rgba(9,12,9,.86),rgba(9,12,9,.86)),var(--w8-dark-fill)!important; background-size:auto,1200px 400px!important; }
.w7-map-marker { transition:transform .18s ease,background-color .18s ease; }
.w7-archive-grid .w7-card::after { content:"";position:absolute;right:5px;top:5px;width:40px;height:40px;background:var(--w8-compass) center/contain no-repeat;opacity:.12; }

/* Shop / WooCommerce: the shop remains a real commerce surface. */
.w7-shop-catalogue { min-height:540px; }
.woocommerce ul.products { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none!important; }
.woocommerce ul.products li.product {
  width:auto!important; margin:0!important; float:none!important; position:relative; overflow:hidden;
  padding:15px; background:rgba(234,217,183,.94) var(--w8-paper-fill) center/540px auto repeat;
  border:1px solid rgba(60,42,26,.44); box-shadow:var(--w8-shadow);
}
.woocommerce ul.products li.product img { border:1px solid rgba(65,46,29,.2); background:#f1e4c8; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:var(--w7-serif); font-size:1.18rem!important; font-weight:400; color:var(--w7-ink); }
.w8-retailer-box { margin:22px 0 0; padding:18px; background:rgba(235,220,190,.82) var(--w8-paper-fill) center/480px auto repeat; border:1px solid rgba(60,42,26,.38); }
.w8-retailer-links { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.w8-retailer-links small { width:100%; color:var(--w7-ink-soft); }

/* Spoiler-safe mode. */
.w8-spoiler-sensitive { transition:filter .2s ease,opacity .2s ease; }
.w8-spoiler-safe .w8-spoiler-sensitive { min-height:280px; }
.w8-spoiler-safe .w8-spoiler-sensitive > * { filter:blur(9px) grayscale(.75); opacity:.24; pointer-events:none; user-select:none; }
.w8-spoiler-safe .w8-spoiler-sensitive::before {
  content:"Spoiler record — use the Spoiler-safe control to reveal";
  position:absolute; z-index:10; inset:50% auto auto 50%; transform:translate(-50%,-50%);
  width:min(82%,280px); padding:15px 18px; text-align:center; background:rgba(232,215,181,.96) var(--w8-paper-fill) center/400px auto repeat;
  border:1px solid rgba(68,46,27,.5); box-shadow:0 8px 26px rgba(0,0,0,.18); font-size:.82rem; letter-spacing:.03em;
}
.w7-record-card.is-visited::after { content:"Examined"; position:absolute; left:9px; top:9px; z-index:4; padding:4px 7px; background:#1b211a; color:#d7c298; border:1px solid #8e7952; text-transform:uppercase; font:.62rem/1 var(--w7-ui); letter-spacing:.06em; }

/* Mailchimp: prominent capture on every page + optional interest groups. */
.w7-footer-newsletter { position:relative; isolation:isolate; background:rgba(0,0,0,.24); overflow:hidden; }
.w7-footer-newsletter::after { content:"";position:absolute;right:-30px;bottom:-55px;width:180px;height:180px;background:var(--w8-seal) center/contain no-repeat;opacity:.12;pointer-events:none;z-index:-1; }
.w8-newsletter form,.w8-newsletter .mailchimpsf_form,.w8-newsletter .mc4wp-form-fields { gap:8px; }
.w8-newsletter input[type="text"],.w8-newsletter input[type="email"],.w8-newsletter input[type="date"],.w8-newsletter select {
  width:100%; min-height:43px; background:rgba(248,236,209,.92); border:1px solid rgba(65,46,29,.52); color:#241c14; padding:8px 10px;
}
.w8-newsletter fieldset,.w8-newsletter .mergeRow { border:0; margin:7px 0; padding:0; }
.w8-newsletter label { font-size:.78rem; }
.w8-newsletter input[type="checkbox"] { accent-color:#681b14; }
.w8-archive-drawer-toggle {
  position:fixed; z-index:1200; right:18px; bottom:18px; border:1px solid #9a7846; color:#ead8b6; background:#641a14;
  min-height:44px; padding:10px 15px; box-shadow:0 9px 28px rgba(0,0,0,.32); text-transform:uppercase; letter-spacing:.06em; font:700 .72rem/1 var(--w7-ui);
}
.w8-archive-drawer {
  position:fixed; z-index:1210; right:16px; bottom:16px; width:min(420px,calc(100vw - 32px)); max-height:min(720px,calc(100vh - 32px)); overflow:auto;
  padding:30px 26px 24px; color:var(--w7-ink); background:#e4cda3 var(--w8-paper-fill) center/620px auto repeat;
  border:1px solid rgba(57,39,23,.65); box-shadow:0 24px 90px rgba(0,0,0,.48); transform:translateY(calc(100% + 40px)); opacity:0; pointer-events:none;
  transition:transform .28s ease,opacity .2s ease;
}
.w8-archive-drawer::before { content:"";position:absolute;right:-35px;bottom:-45px;width:180px;height:180px;background:var(--w8-botanical) center/contain no-repeat;opacity:.12;pointer-events:none; }
.w8-archive-drawer.is-open { transform:none; opacity:1; pointer-events:auto; }
.w8-archive-drawer-close { position:absolute;right:9px;top:7px;border:0;background:transparent;font-size:1.8rem;color:#3a2a1c; }
.w8-drawer-open .w8-archive-drawer-toggle { opacity:0; pointer-events:none; }

/* Subtle foreground objects. */
.w7-author-hero::before { content:"";position:absolute;right:2%;bottom:-30px;width:240px;height:180px;background:var(--w8-quill) center/contain no-repeat;opacity:.16;pointer-events:none;transform:translateY(var(--w8-scroll-shift,0)); }
.w7-support-bottom::before { content:"";position:absolute;left:-30px;bottom:-50px;width:220px;height:220px;background:var(--w8-botanical-flourish) center/contain no-repeat;opacity:.13;pointer-events:none; }
.w7-archive-create::before { content:"";position:absolute;right:3%;bottom:-60px;width:190px;height:190px;background:var(--w8-compass) center/contain no-repeat;opacity:.12;pointer-events:none; }

/* Modern motion, never at the cost of accessibility. */
.w8-reveal { opacity:0; transform:translateY(8px); transition:opacity .42s ease,transform .42s ease; }
.w8-reveal.is-visible { opacity:1; transform:none; }
.w7-card,.w7-cell,.w72-record-scrap,.w72-product-scrap { transition:transform .2s ease,box-shadow .2s ease; }
.w7-card:hover,.w7-cell:hover,.w72-record-scrap:hover,.w72-product-scrap:hover { transform:translateY(-2px); box-shadow:0 20px 44px rgba(28,18,9,.24); }

/* Responsive behaviour is layout-first; decoration simplifies rather than scales blindly. */
@media (max-width:1100px) {
  .w7-header-inner { grid-template-columns:170px 1fr auto; gap:12px; }
  .w8-spoiler-toggle__label { display:none; }
  .w7-site-shell::before { width:46px; background-size:46px auto; opacity:.54; }
  .w7-post-grid { grid-template-columns:repeat(2,minmax(220px,1fr))!important; }
  .woocommerce ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:782px) {
  .admin-bar .w7-site-header { top:46px; }
  .w7-site-shell::before { display:none; }
  .w8-header-actions { gap:6px; }
  .w8-spoiler-toggle { padding:8px; }
  .w7-header-buy { display:none; }
  .w7-journal-layout { grid-template-columns:1fr!important; }
  .w7-post-grid { grid-template-columns:1fr!important; }
  .w7-art-section::after,.w72-page-surface::after { height:24px; bottom:-11px; }
  .w8-archive-drawer-toggle { right:10px; bottom:10px; font-size:.64rem; }
}
@media (max-width:620px) {
  .w7-home-hero,.w7-book-hero,.w7-world-hero,.w7-archive-hero,.w7-journal-hero,.w7-travellers-hero,.w7-shop-hero,.w7-support-hero-page,.w7-author-hero { background-position:center top!important; }
  .w8-hero-actions { display:grid; grid-template-columns:1fr; }
  .w8-hero-actions .w7-button { width:100%; }
  .woocommerce ul.products { grid-template-columns:1fr; }
  .w8-archive-drawer { right:8px; bottom:8px; width:calc(100vw - 16px); max-height:calc(100vh - 16px); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
  .w8-reveal { opacity:1!important; transform:none!important; }
}
