/* ============================================================
   BASE — fluid, no hard sizes. Everything scales.
   Husks style themselves from the world's :root contract.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  line-height: 1.6;
  transition: background .5s ease, color .5s ease;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- layout scaffold ---------- */
#page { min-height: 100vh; padding-bottom: clamp(70px, 12vh, 110px); }
.sec {
  max-width: min(1120px, 92vw);
  margin: 0 auto;
  padding: clamp(38px, 7vh, 84px) 0;
}
.sec + .sec { border-top: 1px solid var(--line); }

/* kicker / title pattern used across husks */
.kicker {
  font-family: var(--font-k);
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: clamp(10px, 2vh, 18px);
}
.sec-title {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: 0 0 clamp(14px, 3vh, 26px);
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HUSKS
   ============================================================ */

/* ---------- header ---------- */
.h-header { display: grid; place-items: center; min-height: min(72vh, 640px); text-align: center; position: relative; }
.h-header.align-left { text-align: left; place-items: center start; }
.h-header .h-title {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(40px, 9vw, 96px);
  line-height: .96;
  letter-spacing: -.015em;
  margin: clamp(10px, 2vh, 20px) 0 0;
}
.h-header .h-sub { font-size: clamp(15px, 2vw, 19px); color: var(--muted); margin-top: clamp(12px, 2.4vh, 22px); max-width: 60ch; }
.h-header .h-rule { height: 1px; width: clamp(90px, 18vw, 210px); margin: clamp(16px, 3vh, 28px) auto 0; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.h-header.tone-dark {
  background: var(--panel); color: var(--panel-ink);
  border-radius: clamp(10px, 2vw, 22px);
  margin-top: clamp(14px, 3vh, 28px);
  padding: clamp(28px, 5vw, 64px);
  background-image: var(--grad-soft);
}
.h-header.tone-dark .h-sub { color: color-mix(in srgb, var(--panel-ink) 72%, transparent); }
.h-header .h-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
.h-header .h-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }

/* ---------- rich text ---------- */
.h-rich { max-width: 72ch; }
.h-rich.align-center { margin-inline: auto; text-align: center; }
.h-rich p { font-size: clamp(15px, 1.9vw, 18px); color: var(--ink); margin: 0 0 1.2em; }
.h-rich p:first-of-type::first-letter { font-family: var(--font-d); font-size: 2.1em; line-height: 1; padding-right: .06em; color: var(--acc); }

/* ---------- timeline ---------- */
.h-timeline { position: relative; padding-left: clamp(22px, 4vw, 40px); }
.h-timeline::before { content: ""; position: absolute; left: clamp(6px, 1.2vw, 12px); top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--acc), var(--acc-2)); opacity: .5; border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 clamp(22px, 4vh, 36px); }
.tl-item::before { content: ""; position: absolute; left: calc(clamp(6px,1.2vw,12px) - clamp(22px,4vw,40px) - 4px + clamp(22px,4vw,40px)); top: 8px; }
.tl-dot { position: absolute; left: calc(-1 * clamp(22px, 4vw, 40px) + clamp(6px, 1.2vw, 12px) - 4px); top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.tl-when { font-family: var(--font-k); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); }
.tl-title { font-family: var(--font-d); font-weight: 600; font-size: clamp(19px, 2.6vw, 26px); margin: 6px 0 4px; }
.tl-text { color: var(--muted); font-size: clamp(14px, 1.7vw, 16px); max-width: 68ch; }

/* ---------- stat band ---------- */
.h-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 44vw), 1fr)); gap: clamp(12px, 2.5vw, 24px); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: clamp(10px, 2vw, 18px); padding: clamp(18px, 3vw, 30px); text-align: center; }
.stat-num { font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 5.4vw, 56px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 8px; font-size: clamp(11px, 1.4vw, 13px); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- grid / cards ---------- */
.h-grid { display: grid; gap: clamp(12px, 2.4vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(270px, 88vw), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: clamp(12px, 2vw, 20px); padding: clamp(18px, 3vw, 30px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,0,0,.10); }
.card-tag { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); border-radius: 20px; padding: 4px 12px; margin-bottom: 12px; }
.card-title { font-family: var(--font-d); font-weight: 600; font-size: clamp(17px, 2.2vw, 22px); margin: 0 0 8px; line-height: 1.2; }
.card-text { color: var(--muted); font-size: clamp(13px, 1.6vw, 15px); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(14px, 2.5vh, 22px); }
.chip { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.chip.on { background: var(--acc); border-color: var(--acc); color: var(--bg); }

/* ---------- shelf (books) ---------- */
.h-shelf { display: grid; gap: clamp(12px, 2.4vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(220px, 80vw), 1fr)); }
.book {
  border-radius: clamp(10px, 1.6vw, 16px); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.book:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,.12); }
.book-cover { aspect-ratio: 3 / 4.2; background: var(--panel); background-image: var(--grad-soft); display: grid; place-items: center; padding: clamp(14px, 2vw, 22px); }
.book-cover span { font-family: var(--font-d); font-weight: 600; text-align: center; color: var(--panel-ink); font-size: clamp(18px, 2.4vw, 24px); line-height: 1.15; border: 1px solid color-mix(in srgb, var(--panel-ink) 30%, transparent); border-radius: 8px; padding: clamp(16px, 3vw, 28px) clamp(10px, 2vw, 16px); width: 100%; height: 100%; display: grid; place-items: center; }
.book-cover.has-img { padding: 0; }
.book-cover.has-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: clamp(8px, 1.4vw, 14px); margin-bottom: clamp(12px, 2vw, 18px); }
.book-note { padding: clamp(12px, 2vw, 18px); color: var(--muted); font-size: 13px; }

/* ---------- press strip ---------- */
.h-press { display: grid; gap: clamp(10px, 2vw, 18px); grid-template-columns: repeat(auto-fit, minmax(min(220px, 84vw), 1fr)); }
.press { border-left: 3px solid var(--acc); background: var(--surface); border-radius: 0 clamp(10px, 1.6vw, 14px) clamp(10px, 1.6vw, 14px) 0; padding: clamp(14px, 2.4vw, 22px); }
.press-src { font-family: var(--font-d); font-weight: 600; font-size: clamp(15px, 2vw, 18px); }
.press-quote { color: var(--muted); font-size: 13px; margin-top: 6px; font-style: italic; }

/* ---------- carousel ---------- */
.h-carousel { position: relative; }
.car-track {
  display: flex; gap: clamp(12px, 2vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px; margin: 0 calc(-1 * 4px);
}
.car-track::-webkit-scrollbar { display: none; }
.car-cell {
  flex: 0 0 min(86%, 560px); scroll-snap-align: center;
  background: var(--panel); color: var(--panel-ink); background-image: var(--grad-soft);
  border-radius: clamp(12px, 2vw, 20px); padding: clamp(26px, 5vw, 52px);
  display: grid; place-items: center; min-height: clamp(150px, 24vh, 220px); text-align: center;
}
.car-cell .car-text { font-family: var(--font-d); font-weight: 600; font-size: clamp(19px, 3vw, 30px); line-height: 1.25; }
.car-cell img { border-radius: 10px; object-fit: cover; width: 100%; height: 100%; }
.car-nav { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; transition: background .3s ease; }
.car-btn:hover { background: var(--acc); color: var(--bg); border-color: var(--acc); }

/* ---------- blog ---------- */
.h-blog { display: grid; gap: clamp(12px, 2.4vw, 22px); }
.post {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: clamp(12px, 2vw, 20px); padding: clamp(18px, 3vw, 30px);
  transition: box-shadow .3s ease;
}
.post[open] { box-shadow: 0 16px 34px rgba(0,0,0,.10); }
.post summary { list-style: none; cursor: pointer; }
.post summary::-webkit-details-marker { display: none; }
.post-topics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.post-topic { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); }
.post-title { font-family: var(--font-d); font-weight: 600; font-size: clamp(19px, 2.6vw, 26px); margin: 0 0 6px; }
.post-excerpt { color: var(--muted); font-size: clamp(13px, 1.7vw, 15px); margin: 0; }
.post-date { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: .7; margin-top: 10px; }
.post-body { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.post-body p { color: var(--ink); font-size: clamp(14px, 1.8vw, 16px); }

/* ---------- doorway ---------- */
.h-door {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  border-radius: clamp(14px, 2.4vw, 24px); padding: clamp(26px, 5vw, 56px);
  min-height: clamp(180px, 30vh, 280px); cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease; border: none; width: 100%; text-align: left;
}
.h-door:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,.20); }
.h-door .d-kicker { font-family: var(--font-k); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.h-door .d-label { font-family: var(--font-d); font-weight: 600; font-size: clamp(26px, 4.6vw, 48px); line-height: 1; margin-top: 12px; }
.h-door .d-line { margin-top: 10px; font-size: clamp(12px, 1.6vw, 14px); opacity: .8; }
.h-door .d-arrow { font-size: clamp(20px, 3vw, 30px); flex: none; }
.h-door.to-business { background: linear-gradient(120deg, #26241f, #3D2A1E); color: #EFE3D3; }
.h-door.to-business .d-kicker { color: #D9A441; }
.h-door.to-ministry { background: linear-gradient(120deg, #5CC23F, #159C93); color: #fff; }
.h-door.to-home { background: linear-gradient(120deg, #F1E8DA, #EFE3D3); color: #2A1D14; border: 1px solid var(--line); }
.h-door.to-home .d-kicker { color: #A9844E; }

/* ---------- contact ---------- */
.h-contact { max-width: 640px; }
.h-contact input, .h-contact textarea {
  width: 100%; padding: clamp(14px, 2.4vw, 20px); margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  font: inherit; color: var(--ink); resize: vertical;
}
.h-contact input:focus, .h-contact textarea:focus { outline: 2px solid var(--acc); border-color: transparent; }
.h-contact .send {
  width: 100%; padding: clamp(14px, 2.4vw, 20px); border: none; border-radius: 14px;
  background: var(--panel); color: var(--panel-ink); background-image: var(--grad-soft);
  letter-spacing: .22em; text-transform: uppercase; font-size: 12px; font-weight: 600;
  transition: transform .25s ease;
}
.h-contact .send:hover { transform: scale(1.015); }

/* ---------- media embed ---------- */
.h-media { border-radius: clamp(12px, 2vw, 20px); overflow: hidden; border: 1px solid var(--line); }
.h-media iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.h-media img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.h-media figcaption { padding: 12px 16px; color: var(--muted); font-size: 13px; }

/* ============================================================
   NAVIGATION
   ============================================================ */

/* desktop pill — the 3-way world switch */
#topnav {
  position: fixed; top: clamp(10px, 2vh, 22px); left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; gap: 4px; padding: 5px; border-radius: 40px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: background .5s ease;
}
#topnav button {
  border: none; background: transparent; color: var(--muted);
  font-family: var(--font-b); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 30px; padding: 9px 18px; transition: all .3s ease; white-space: nowrap;
}
#topnav button.on { background: var(--acc); color: var(--bg); }
#topnav button:not(.on):hover { color: var(--ink); }

/* mobile menu bar — per-world (colours come from the world's :root) */
#mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  color: var(--panel-ink);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--acc);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
#mobilebar .mrow { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
#mobilebar .mrow::-webkit-scrollbar { display: none; }
#mobilebar a, #mobilebar button {
  flex: none; border: none; background: transparent; color: color-mix(in srgb, var(--panel-ink) 78%, transparent);
  text-decoration: none; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 12px; border-radius: 20px; white-space: nowrap; font-family: var(--font-b);
}
#mobilebar a.on, #mobilebar button.world-on { background: var(--acc); color: var(--bg); }
#mobilebar .msep { flex: none; width: 1px; align-self: stretch; margin: 6px 4px; background: color-mix(in srgb, var(--panel-ink) 25%, transparent); }

/* second island — Blog / Shop (smaller, sits just under the world island) */
#subnav {
  position: fixed; top: calc(clamp(10px, 2vh, 22px) + 44px); left: 50%; transform: translateX(-50%);
  z-index: 59; display: flex; gap: 3px; padding: 3px; border-radius: 30px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: background .5s ease;
}
#subnav button {
  border: none; background: transparent; color: var(--muted);
  font-family: var(--font-b); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  border-radius: 24px; padding: 6px 15px; transition: all .3s ease; white-space: nowrap;
}
#subnav button.on { background: var(--acc-2, var(--acc)); color: var(--bg); }
#subnav button:not(.on):hover { color: var(--ink); }

@media (max-width: 840px) {
  /* both islands stay at the top (world island, then Blog/Shop under it); bottom bar = sections */
  #topnav { top: 10px; padding: 4px; }
  #topnav button { padding: 8px 14px; font-size: 10px; }
  #subnav { top: 52px; }
  #mobilebar { display: block; }
  #mobilebar.empty { display: none; }
  /* give the two fixed islands breathing room so they never cover content */
  #page { padding-top: 96px; }
}
#mobilebar.empty { display: none; }

/* ---------- shop (products) ---------- */
.h-shop { display: grid; gap: clamp(12px, 2.4vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(260px, 84vw), 1fr)); }
.h-shop.teaser { grid-template-columns: repeat(auto-fit, minmax(min(220px, 80vw), 1fr)); max-width: 640px; }
.shop-card { background: var(--surface); border: 1px solid var(--line); border-radius: clamp(12px, 2vw, 20px); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.shop-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,0,0,.10); }
.shop-cover { aspect-ratio: 3 / 4.2; background: var(--panel); background-image: var(--grad-soft); display: grid; place-items: center; padding: clamp(14px, 2vw, 22px); }
.shop-cover.has-img { padding: 0; }
.shop-cover.has-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-cover span { font-family: var(--font-d); font-weight: 600; text-align: center; color: var(--panel-ink); font-size: clamp(17px, 2.2vw, 22px); line-height: 1.15; border: 1px solid color-mix(in srgb, var(--panel-ink) 30%, transparent); border-radius: 8px; padding: clamp(16px, 3vw, 26px) clamp(10px, 2vw, 16px); width: 100%; height: 100%; display: grid; place-items: center; }
.shop-body { padding: clamp(14px, 2.2vw, 20px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shop-kind { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.shop-title { font-family: var(--font-d); font-weight: 600; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.15; margin: 0; }
.shop-desc { color: var(--muted); font-size: clamp(13px, 1.6vw, 15px); margin: 0; flex: 1; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.shop-price { font-family: var(--font-d); font-weight: 600; font-size: 16px; }
.shop-buy { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 9px 16px; border-radius: 30px; background: var(--acc); color: var(--bg); transition: transform .25s ease; }
.shop-buy:hover { transform: scale(1.04); }
.shop-soon { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .7; }

/* ---------- teasers + CTA ---------- */
.blog-teaser { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 84vw), 1fr)); }
.teaser-post { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: clamp(12px, 2vw, 18px); padding: clamp(16px, 2.6vw, 24px); cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; color: inherit; font: inherit; }
.teaser-post:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.cta { margin-top: clamp(16px, 3vh, 26px); background: transparent; border: 1px solid var(--acc); color: var(--acc); border-radius: 30px; padding: 12px 24px; font-family: var(--font-b); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: all .3s ease; }
.cta:hover { background: var(--acc); color: var(--bg); }
.post-world { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--bg); background: var(--acc); border-radius: 12px; padding: 2px 9px; }
.chips.sub { margin-top: -6px; margin-bottom: clamp(14px, 2.5vh, 22px); }
.chip.mini { font-size: 10px; padding: 6px 12px; }
.empty { color: var(--muted); font-size: 14px; padding: 20px 0; }

/* ---------- blog list as post cards (link to post pages) ---------- */
.h-blog { display: grid; gap: clamp(12px, 2.4vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(300px, 88vw), 1fr)); }
.post-card { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: clamp(12px, 2vw, 18px); padding: clamp(18px, 3vw, 28px); cursor: pointer; color: inherit; font: inherit; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; gap: 8px; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.10); }
.post-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.post-more { color: var(--acc); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- a single post, read as its own page ---------- */
.post-page { max-width: 760px; margin: 0 auto; }
.post-cover { border-radius: clamp(12px, 2vw, 20px); overflow: hidden; margin-bottom: clamp(20px, 4vh, 40px); border: 1px solid var(--line); }
.post-cover img { width: 100%; height: auto; max-height: 60vh; object-fit: cover; display: block; }
.post-head { margin-bottom: clamp(22px, 4vh, 40px); }
.post-h1 { font-family: var(--font-d); font-weight: 600; font-size: clamp(30px, 6vw, 58px); line-height: 1.04; letter-spacing: -.015em; margin: 10px 0 0; }
.post-sub { font-size: clamp(16px, 2.4vw, 21px); color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.post-meta { display: flex; gap: 16px; margin-top: 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-meta span + span::before { content: "·"; margin-right: 16px; }

/* content blocks */
.post-content { font-size: 18px; line-height: 1.75; }
.post-content::after { content: ""; display: block; clear: both; }   /* contain floats */
.pb-heading { margin: clamp(26px, 5vh, 46px) 0 clamp(8px, 1.5vh, 14px); clear: both; }
.pb-kicker { font-family: var(--font-k); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.pb-h { font-family: var(--font-d); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
h2.pb-h { font-size: clamp(24px, 3.6vw, 34px); }
h3.pb-h { font-size: clamp(20px, 2.8vw, 26px); }
.pb-p { margin: 0 0 1.15em; }
.pb-p.size-s { font-size: .86em; } .pb-p.size-m { font-size: 1em; } .pb-p.size-l { font-size: 1.22em; line-height: 1.65; }
.pb-p a { color: var(--acc); text-underline-offset: 3px; }
.pb-p code, .pb-quote code { background: color-mix(in srgb, var(--ink) 8%, transparent); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.align-left { text-align: left; } .align-center { text-align: center; } .align-right { text-align: right; }
.pb-image { margin: clamp(18px, 3vh, 30px) 0; }
.pb-image img { width: 100%; height: auto; display: block; border-radius: clamp(8px, 1.4vw, 14px); }
.pb-image figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }
.pb-image.lay-full { }
.pb-image.lay-inline { max-width: 60%; margin-inline: auto; }
.pb-image.lay-left { float: left; width: 46%; margin: 6px clamp(18px, 3vw, 28px) 14px 0; }
.pb-image.lay-right { float: right; width: 46%; margin: 6px 0 14px clamp(18px, 3vw, 28px); }
.pb-quote { border-left: 3px solid var(--acc); margin: clamp(22px, 4vh, 34px) 0; padding: 6px 0 6px clamp(16px, 3vw, 26px); clear: both; }
.pb-quote p { font-family: var(--font-d); font-size: clamp(20px, 3vw, 27px); font-style: italic; line-height: 1.4; margin: 0; }
.pb-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pb-list { margin: 0 0 1.15em; padding-left: 1.3em; } .pb-list li { margin: 0 0 .4em; }
.pb-divider { border: none; border-top: 1px solid var(--line); margin: clamp(28px, 5vh, 48px) 0; clear: both; }
.pb-embed { margin: clamp(20px, 4vh, 32px) 0; clear: both; }
.pb-embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: clamp(8px, 1.4vw, 14px); display: block; }
.pb-embed img { width: 100%; height: auto; border-radius: clamp(8px, 1.4vw, 14px); display: block; }
.pb-embed figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }

@media (max-width: 620px) {
  .pb-image.lay-left, .pb-image.lay-right, .pb-image.lay-inline { float: none; width: 100% !important; margin-inline: 0; }
}

/* ---------- ribbon transition ---------- */
#ribbon {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  transform: translateX(-104%);
}
#ribbon.sweep { animation: ribbonSweep .9s cubic-bezier(.6,.05,.35,1) forwards; }
@keyframes ribbonSweep {
  0%   { transform: translateX(-104%) skewX(-4deg); }
  46%  { transform: translateX(0) skewX(0); }
  100% { transform: translateX(104%) skewX(4deg); }
}
@media (prefers-reduced-motion: reduce) { #ribbon.sweep { animation-duration: .3s; } }

/* ---------- footer ---------- */
#foot {
  border-top: 1px solid var(--line);
  max-width: min(1120px, 92vw); margin: 0 auto;
  padding: clamp(26px, 5vh, 48px) 0 clamp(90px, 14vh, 120px);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 12px; letter-spacing: .06em;
}
#foot .f-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-k); letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
