/*
Theme Name: Taboo-You
Version: 1.0.0
Text Domain: kit
*/

@font-face { font-family: "Dela Gothic One"; src: url(fonts/display-dela-gothic-one-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url(fonts/vollkorn-400.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url(fonts/vollkorn-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-prime-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-prime-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --yellow: #ffc634;
  --yellow-deep: #f2a91c;
  --red: #e3342f;
  --red-deep: #b9201c;
  --glow: #a8e63a;
  --ink: #17120f;
  --ink-2: #2a221c;
  --brass: #c8963e;
  --brass-hi: #f0c46a;
  --steel: #3a3532;
  --paper: #fffaf0;
  --u: 8px;
  --gap: clamp(20px, 3vw, 40px);
  --wide: 1360px;
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --serif: "Vollkorn", Georgia, serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --fx-accent: #e3342f;
}

html { scroll-behavior: smooth; }
body { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); background: var(--yellow); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0 0 .4em; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
::selection { background: var(--red); color: #fff; }

.key { display: inline-block; width: 22px; height: 22px; flex: none; background: currentColor; color: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2a5.5 5.5 0 0 1 4.9 8l9.1 9.1V22h-3v-2h-2v-2h-2l-3.6-3.6A5.5 5.5 0 1 1 7.5 2zm-1 3a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 2a5.5 5.5 0 0 1 4.9 8l9.1 9.1V22h-3v-2h-2v-2h-2l-3.6-3.6A5.5 5.5 0 1 1 7.5 2zm-1 3a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.key.is-used { opacity: .25; }

.btn-solid, .btn-ghost, .btn-ink, .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px; font-family: var(--mono); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-decoration: none; border: 3px solid var(--ink); border-radius: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.btn-solid, .is-solid .wp-block-button__link { background: var(--red); color: #fff; box-shadow: 6px 6px 0 var(--ink); }
.btn-solid .key { color: var(--brass-hi); }
.btn-solid:hover, .is-solid .wp-block-button__link:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-solid:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn-big { font-size: 19px; min-height: 60px; padding: 14px 28px; }
.btn-solid small { font-weight: 400; opacity: .8; }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--ink); color: var(--yellow); }
.btn-ghost.is-on { background: var(--glow); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--glow); border-color: var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.btn-ink:hover { transform: translate(-2px, -2px); }

/* Header */
.masthead { background: var(--yellow); border-bottom: 3px solid var(--ink); transition: transform .35s ease; }
.masthead-in { max-width: var(--wide); margin: 0 auto; padding: 14px var(--gap); min-height: 76px; }
.brand { color: var(--ink); }
.brand-logo { width: clamp(150px, 16vw, 220px); height: auto; display: block; }
.nav-list { gap: 4px; align-items: center; }
.nav-list a { font-family: var(--mono); font-weight: 700; font-size: 17px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px; }
.nav-list > li:not(.menu-keys) a:hover, .nav-list .current-menu-item > a { background: var(--ink); color: var(--yellow); }
.menu-keys a { border: 3px solid var(--ink); background: var(--ink); color: var(--yellow); margin-left: 10px; }
.menu-keys a:hover { background: var(--red); color: #fff; }
.menu-keys small { font-weight: 400; opacity: .8; }
.menu-keys .hk { display: inline-flex; gap: 2px; }
.menu-keys .key { width: 18px; height: 18px; color: var(--brass-hi); }
.nav-toggle { font-family: var(--mono); font-weight: 700; background: var(--ink); color: var(--yellow); border: 0; padding: 0 18px; }
@media (max-width: 1080px) {
  .site-nav { background: var(--yellow); border-bottom: 3px solid var(--ink); padding: 8px var(--gap) 20px; }
  .menu-keys a { margin: 8px 0 0; justify-content: center; }
}

/* Keyhole hero */
.keyhole-hero { position: relative; min-height: 160vh; background: var(--yellow); isolation: isolate; }
.kh-wall { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(circle at 1px 1px, rgba(23,18,15,.13) 1.2px, transparent 1.6px) 0 0/9px 9px,
  radial-gradient(120% 90% at 70% 30%, #ffd860 0%, var(--yellow) 45%, var(--yellow-deep) 100%); }
.kh-window { position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 1; pointer-events: none; overflow: hidden; }
.kh-media { position: absolute; inset: 0; clip-path: var(--kh-clip, circle(0 at 66% 46%)); will-change: clip-path; }
.kh-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, transparent 55%, rgba(23,18,15,.55)); }
.kh-video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--kh-scale, 1.12)); }
.kh-copy { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; max-width: var(--wide); margin: 0 auto; padding: clamp(40px, 9vh, 110px) var(--gap) 40px; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.kh-copy > * { pointer-events: auto; }
.kh-title { font-size: clamp(54px, 8.2vw, 138px); max-width: 7.6em; margin: 0; color: var(--ink); text-shadow: 4px 4px 0 rgba(255,255,255,.35); }
.kh-title .fx-w:nth-child(2) { color: var(--red); }
.kh-lead { font-size: clamp(19px, 1.6vw, 23px); max-width: 26em; margin: 22px 0 30px; opacity: .78; }
.kh-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 0; }
.kh-quiet { font-family: var(--mono); font-size: 16px; text-underline-offset: 4px; opacity: .7; }
.kh-pause { position: absolute; z-index: 3; right: var(--gap); top: calc(100svh - 64px); font-family: var(--mono); font-size: 14px; background: var(--ink); color: var(--yellow); border: 0; padding: 8px 14px; cursor: pointer; }
.keyhole-hero.is-open .kh-copy { color: #fff; }
.keyhole-hero .kh-copy { transition: opacity .4s ease; opacity: var(--kh-copy, 1); }
@media (max-width: 760px) {
  .keyhole-hero { min-height: 150vh; }
  .kh-copy { justify-content: flex-end; padding-bottom: 36px; }
  .kh-title { font-size: clamp(44px, 13vw, 64px); }
  .kh-lead { font-size: 18px; margin: 14px 0 22px; }
}

/* Key strip */
.keystrip { background: var(--ink); color: var(--paper); padding: clamp(36px, 6vw, 72px) var(--gap); position: relative; z-index: 3;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px); }
.keystrip ol { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wide); display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: var(--gap); align-items: center; }
.keystrip li { display: flex; align-items: center; gap: 18px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.05; }
.keystrip li:nth-child(2) { color: var(--yellow); justify-content: center; }
.keystrip li:nth-child(3) { justify-content: flex-end; text-align: right; }
.ks-no { font-family: var(--mono); font-size: 15px; border: 2px solid currentColor; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; flex: none; opacity: .7; }
.ks-keys { display: inline-flex; gap: 6px; }
.ks-keys .key { width: clamp(46px, 5vw, 70px); height: clamp(46px, 5vw, 70px); color: var(--brass-hi); filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.swing { transform-origin: 30% 30%; animation: swing 3.2s ease-in-out infinite; }
.swing + .swing { animation-delay: -1.1s; }
@keyframes swing { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(16deg); } }
@media (max-width: 860px) {
  .keystrip ol { grid-template-columns: 1fr; gap: 22px; }
  .keystrip li, .keystrip li:nth-child(2), .keystrip li:nth-child(3) { justify-content: flex-start; text-align: left; }
}

/* Vault wall of drawers */
.vault-wall, .vault-page { background: var(--steel); color: var(--paper); padding: clamp(56px, 8vw, 110px) var(--gap);
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px), linear-gradient(160deg, #4a4440, #2b2725 70%); }
.vw-head { max-width: var(--wide); margin: 0 auto 40px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.vw-head h2 { margin: 0; color: var(--yellow); }
.vw-count { font-family: var(--mono); font-size: 17px; margin: 0; opacity: .75; }
.vw-count span { font-size: 1.6em; font-weight: 700; color: var(--glow); }
.drawers { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 46px 22px; }
@media (max-width: 560px) { .drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 12px; } .drawer-title { font-size: 17px; } .drawer-tag { font-size: 12px; width: 100%; } .drawer-face { padding: 8px 8px 10px; } .drawer-no { left: 12px; top: 12px; font-size: 11px; } .btn-big { font-size: 17px; padding: 12px 18px; } }
.drawer { position: relative; min-width: 0; }
.drawer-face { position: relative; display: block; text-decoration: none; color: var(--paper); background: linear-gradient(180deg, #57504b, #3b3531); border: 2px solid #1d1917; padding: 12px 12px 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 0 #1d1917; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.drawer-face::before { content: ""; position: absolute; left: 50%; top: -11px; width: 44px; height: 10px; translate: -50% 0; background: linear-gradient(var(--brass-hi), var(--brass)); border: 2px solid #1d1917; border-bottom: 0; border-radius: 6px 6px 0 0; }
.drawer:hover .drawer-face, .drawer-face:focus-visible { transform: translateY(-6px) scale(1.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 26px 40px rgba(0,0,0,.55); }
.drawer-no { position: absolute; z-index: 2; left: 18px; top: 18px; font-family: var(--mono); font-size: 13px; font-weight: 700; background: var(--brass-hi); color: var(--ink); padding: 2px 6px; }
.drawer-frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #111; border: 2px solid #1d1917; }
.drawer-frame .cover, .jar-glass .cover { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.drawer:hover .cover { transform: scale(1.06); }
.drawer-title { display: block; font-family: var(--display); font-size: 21px; line-height: 1.05; margin: 12px 0 4px; }
.drawer-meta { font-family: var(--mono); font-size: 15px; color: var(--glow); }
.is-sealed .drawer-meta { color: var(--brass-hi); }
.is-sealed .drawer-frame .cover { filter: grayscale(.85) contrast(1.1) brightness(.7); }
.seal { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -12deg; font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); border: 3px solid var(--red); padding: 4px 12px; background: rgba(255,250,240,.86); }
.seal-big { font-size: 34px; }
.adult { position: absolute; right: 8px; top: 8px; font-family: var(--mono); font-weight: 700; font-size: 14px; background: var(--red); color: #fff; padding: 3px 7px; }

/* Tags on strings */
.string { position: absolute; z-index: 3; right: 22px; top: calc(100% - 26px); width: 2px; height: 26px; background: #1d1917; transform-origin: top; }
.tag { position: relative; display: inline-flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 14px; line-height: 1.3; padding: 10px 12px 10px 26px; max-width: 100%; box-shadow: 3px 4px 0 rgba(0,0,0,.35);
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.08) 1px, transparent 1.2px); background-size: 4px 4px; }
.tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; translate: 0 -50%; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
.tag b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.tag-warn { background-color: var(--red); color: #fff; }
.tag-plain { background-color: var(--brass-hi); color: var(--ink); }
.drawer-tag { position: relative; z-index: 3; margin: -2px 0 0 auto; display: flex; width: 92%; transform-origin: 88% -24px; rotate: var(--sway, -2deg); transition: rotate .5s cubic-bezier(.3,1.6,.5,1); }
.drawer:nth-child(2n) .drawer-tag { --sway: 2.5deg; }
.drawer:hover .drawer-tag { rotate: calc(var(--sway, -2deg) * -3); }
.drawer-tag span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Sealed shelf */
.sealed { background: var(--paper); padding: clamp(56px, 8vw, 110px) 0; overflow: hidden;
  background-image: linear-gradient(90deg, rgba(23,18,15,.05) 1px, transparent 1px); background-size: 120px 100%; }
.sealed-head { max-width: var(--wide); margin: 0 auto 30px; padding: 0 var(--gap); display: grid; grid-template-columns: 1fr minmax(0, 28em); gap: 12px 40px; align-items: end; }
.sealed-head h2 { margin: 0; }
.sealed-head h2::first-letter { color: var(--red); }
.sealed-head p { margin: 0; opacity: .72; }
.sealed-track { display: flex; gap: 26px; overflow-x: auto; padding: 20px var(--gap) 30px; scroll-snap-type: x proximity; scrollbar-color: var(--ink) transparent; }
.jar { flex: 0 0 200px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.jar-glass { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 90px 90px 14px 14px; border: 3px solid var(--ink); box-shadow: inset 0 0 0 6px rgba(255,255,255,.45), 8px 10px 0 rgba(23,18,15,.18); background: #222; }
.jar-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.35) 8%, transparent 22%, transparent 70%, rgba(168,230,58,.25)); pointer-events: none; }
.jar-glass .cover { filter: sepia(.4) saturate(.8) brightness(.85); }
.jar:hover .jar-glass .cover { filter: none; }
.jar .seal { font-size: 15px; }
.jar h3 { font-size: 19px; margin: 0; }
.jar .btn-ghost { min-height: 42px; font-size: 14px; padding: 6px 14px; border-width: 2px; }
.ty-act { margin: 0; }

/* Plants vs Humans band */
.book-band { background: var(--glow); padding: clamp(60px, 9vw, 130px) var(--gap); position: relative; overflow: hidden;
  background-image: radial-gradient(60% 80% at 15% 40%, rgba(255,255,255,.35), transparent 60%), repeating-radial-gradient(circle at 15% 50%, transparent 0 22px, rgba(23,18,15,.05) 22px 24px); }
.book-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.book-art { rotate: -6deg; }
.book-art img { width: 100%; max-width: 420px; margin: 0 auto; background: #fff; padding: 14px; border: 3px solid var(--ink); box-shadow: 14px 16px 0 var(--ink); }
.book-kicker, .author-kicker, .kicker { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.book-copy h2 { font-size: clamp(44px, 6vw, 90px); margin-bottom: .2em; }
.book-line { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); color: var(--red-deep); }
.book-copy p:not([class]) { opacity: .8; max-width: 34em; }
.book-buy { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
@media (max-width: 820px) { .book-in { grid-template-columns: 1fr; } .book-art img { max-width: 280px; } }

/* Author band */
.author-band { background: var(--red); color: #fff; padding: clamp(60px, 9vw, 120px) var(--gap); display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; max-width: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.12) 1.2px, transparent 1.6px); background-size: 7px 7px; }
.author-band > * { max-width: 640px; }
.author-band > .polaroid { justify-self: end; }
.polaroid { position: relative; margin: 0; background: var(--paper); padding: 14px 14px 52px; rotate: 3deg; box-shadow: 12px 14px 0 rgba(23,18,15,.45); width: min(340px, 100%); }
.polaroid img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 30%; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--mono); font-size: 15px; color: var(--ink); }
.stamp { display: inline-block; font-family: var(--mono); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); border: 3px solid currentColor; padding: 4px 12px; rotate: -8deg; }
.stamp-sm { font-size: 13px; }
.polaroid .stamp { position: absolute; right: -14px; top: 22px; background: var(--paper); }
.author-copy h2 { font-size: clamp(38px, 5vw, 74px); color: var(--yellow); }
.author-quote { font-size: clamp(21px, 2vw, 27px); font-style: italic; line-height: 1.4; }
.author-facts { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 8px; font-family: var(--mono); font-size: 16px; }
.author-facts li { display: flex; gap: 10px; opacity: .9; }
.author-facts li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 1 2.5 9.33L17 22H7l2.5-10.67A5 5 0 0 1 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 1 2.5 9.33L17 22H7l2.5-10.67A5 5 0 0 1 12 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.author-band .btn-ghost { border-color: #fff; }
.author-band .btn-ghost:hover { background: #fff; color: var(--red); }
@media (max-width: 820px) { .author-band { grid-template-columns: 1fr; } .author-band > .polaroid { justify-self: center; } }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 64px var(--gap) 28px; border-top: 6px solid var(--red); }
.foot-in { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
.foot-logo { color: var(--yellow); display: inline-block; }
.foot-logo .brand-logo { width: 210px; }
.foot-tag { font-family: var(--display); font-size: 22px; color: var(--yellow); margin: 14px 0; }
.foot-title { font-family: var(--mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--brass-hi); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; opacity: .85; }
.foot a:hover { opacity: 1; color: var(--yellow); }
.foot-base { max-width: var(--wide); margin: 48px auto 0; font-family: var(--mono); font-size: 14px; opacity: .55; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .kh-media { clip-path: none !important; }
  .keyhole-hero { min-height: 100vh; }
  .swing { animation: none; }
}
.keyhole-hero .kh-copy > * { opacity: var(--kh-copy, 1); transition: opacity .25s linear; }

/* The Vault page */
.vault-page { min-height: 80vh; }
.dial-head { max-width: var(--wide); margin: 0 auto 34px; display: flex; align-items: center; gap: clamp(20px, 4vw, 54px); }
.dial-head h1 { font-size: clamp(54px, 8vw, 120px); color: var(--yellow); margin: 0; }
.dial-lead { font-size: 20px; opacity: .8; max-width: 30em; margin: 10px 0 0; }
.dial { position: relative; flex: none; width: clamp(110px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #6a625c 0 38%, #2a2523 39% 41%, #4d4642 42% 100%); border: 6px solid #1d1917; box-shadow: inset 0 0 0 10px rgba(255,255,255,.06), 0 18px 30px rgba(0,0,0,.5); }
.dial-ring { position: absolute; inset: 10px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--brass-hi) 0 1.2deg, transparent 1.2deg 10deg); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63% 70%, transparent 71%); mask: radial-gradient(circle, transparent 62%, #000 63% 70%, transparent 71%); animation: dial 14s linear infinite; }
@keyframes dial { to { rotate: 360deg; } }
.dial-num { position: relative; font-family: var(--display); font-size: clamp(36px, 4.6vw, 60px); color: var(--glow); }
.chips { max-width: var(--wide); margin: 0 auto 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-weight: 700; font-size: 15px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.chip span { opacity: .6; font-weight: 400; }
.chip:hover { background: rgba(255,255,255,.1); }
.chip.is-on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.chip-sm { min-height: 36px; font-size: 13px; padding: 4px 12px; border-color: var(--ink); color: var(--ink); }
.chip-note { max-width: var(--wide); margin: 0 auto 30px; font-family: var(--mono); font-size: 14px; opacity: .6; min-height: 1.4em; }
.drawers [hidden] { display: none; }
@media (max-width: 640px) { .dial-head { flex-direction: column; align-items: flex-start; } }

/* Story page */
.story { background: var(--yellow); background-image: radial-gradient(circle at 1px 1px, rgba(23,18,15,.12) 1.2px, transparent 1.6px); background-size: 9px 9px; }
.story-in { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 100px) var(--gap); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.story-cover { position: sticky; top: 100px; margin: 0; border: 4px solid var(--ink); box-shadow: 16px 18px 0 var(--ink); background: var(--ink); rotate: -2deg; }
.story-cover .cover { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.is-sealed .story-cover .cover { filter: grayscale(.8) brightness(.75); }
.story-kicker { font-family: var(--mono); font-size: 15px; margin: 0 0 14px; }
.story-kicker a { text-underline-offset: 3px; }
.story-title { font-size: clamp(46px, 6.4vw, 96px); margin-bottom: 26px; }
.tag-big { font-size: 18px; padding: 16px 18px 16px 34px; rotate: -1.5deg; margin-bottom: 28px; max-width: 34em; }
.tag-big::before { left: 13px; }
.story-blurb { font-size: 21px; line-height: 1.6; max-width: 34em; }
.story-act { margin: 30px 0 20px; display: grid; gap: 14px; justify-items: start; }
.story-price { font-family: var(--mono); font-size: 15px; margin: 0; opacity: .7; }
.story-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.story-more { background: var(--steel); color: var(--paper); padding: clamp(50px, 7vw, 90px) var(--gap); background-image: linear-gradient(160deg, #4a4440, #2b2725 70%); }
.story-more h2 { max-width: var(--wide); margin: 0 auto 34px; color: var(--yellow); }
.drawers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0; }
.story-more .drawers-3 { margin: 0 auto; max-width: var(--wide); }
.form-note { font-family: var(--mono); font-size: 16px; padding: 12px 16px; border: 3px solid var(--ink); background: var(--paper); }
.form-note.err { border-color: var(--red); color: var(--red-deep); }
.form-note.ok { border-color: var(--ink); background: var(--glow); }
@media (max-width: 820px) { .story-in { grid-template-columns: 1fr; } .story-cover { position: relative; top: 0; max-width: 420px; } .drawers-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.adult-gate { border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--red); padding: 34px; max-width: 460px; background: var(--paper); font-family: var(--serif); }
.adult-gate::backdrop { background: rgba(23,18,15,.75); }
.adult-gate h2 { font-size: 36px; margin-top: 14px; }
.ag-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* Reader */
.is-reading { background: var(--paper); }
.is-reading .masthead { background: var(--paper); }
.reader-bar { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 5px; background: rgba(23,18,15,.08); }
.reader-bar span { display: block; height: 100%; width: 0; background: var(--red); }
.reader { max-width: 720px; margin: 0 auto; padding: clamp(46px, 8vw, 100px) var(--gap) 80px; }
.reader-head { margin-bottom: 44px; }
.reader-kicker { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.reader h1 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 22px; }
.stamp-in { animation: stamp .5s cubic-bezier(.3,1.6,.5,1) both; margin-bottom: 16px; }
@keyframes stamp { from { scale: 2.4; opacity: 0; } to { scale: 1; opacity: 1; } }
.reader-tools { display: flex; gap: 10px; margin-top: 22px; }
.reader-tools button { font-family: var(--mono); font-size: 14px; background: none; border: 2px solid currentColor; padding: 6px 12px; cursor: pointer; color: inherit; min-height: 40px; }
.reader-text { font-size: 21px; line-height: 1.75; }
.reader-big .reader-text { font-size: 25px; }
.reader-text > p:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--red); }
.sample-note { margin: 34px 0; padding: 22px 24px; border: 3px dashed var(--brass); font-size: 17px; line-height: 1.55; background: rgba(200,150,62,.08); }
.reader-foot { margin-top: 60px; border-top: 3px solid currentColor; padding-top: 30px; }
.reader-end { font-family: var(--display); font-size: 28px; display: flex; align-items: center; gap: 12px; }
.reader-end .key { width: 30px; height: 30px; }
.reader-foot p:last-child { display: flex; flex-wrap: wrap; gap: 14px; }
.reader-dark { background: #14100d; color: #eadfcc; }
.reader-dark .masthead { background: #14100d; border-color: #3a2f27; }
.reader-dark .brand, .reader-dark .nav-list a { color: #eadfcc; }
.reader-dark .btn-ghost { border-color: #eadfcc; }

/* Join and account */
.join-page, .acct-page, .contact-page { max-width: var(--wide); margin: 0 auto; padding: clamp(46px, 7vw, 100px) var(--gap); }
.join-title { font-size: clamp(50px, 8vw, 120px); max-width: 9em; }
.join-sub, .contact-sub { font-size: 21px; max-width: 30em; opacity: .8; }
.join { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--gap); margin-top: 40px; align-items: start; }
.join .form-note { grid-column: 1 / -1; }
.join-card { background: var(--ink); color: var(--paper); padding: clamp(26px, 4vw, 46px); display: grid; gap: 16px; box-shadow: 12px 14px 0 var(--red); }
.join-card h2 { font-size: clamp(32px, 3.4vw, 46px); color: var(--yellow); margin: 0; }
.join-alt { background: var(--paper); color: var(--ink); box-shadow: 10px 12px 0 var(--ink); border: 3px solid var(--ink); }
.join-alt h2 { color: var(--ink); font-size: 30px; }
.join-lead { margin: 0; opacity: .8; }
.join-keys { display: flex; gap: 10px; margin: 0; }
.join-keys .key { width: 54px; height: 54px; color: var(--brass-hi); }
.join-card label, .kit-form label { display: grid; gap: 6px; font-family: var(--mono); font-weight: 700; font-size: 15px; }
.join-card input, .kit-form input, .kit-form select, .kit-form textarea { font: 18px var(--serif); padding: 12px 14px; min-height: 52px; border: 3px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; }
.join-card button { justify-self: start; }
@media (max-width: 820px) { .join { grid-template-columns: 1fr; } }
.acct { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--gap); }
.acct-keys { background: var(--ink); color: var(--paper); padding: 30px; align-self: start; position: sticky; top: 100px; box-shadow: 10px 12px 0 var(--red); }
.acct-hi { font-family: var(--display); font-size: 30px; color: var(--yellow); }
.acct-ring { display: flex; gap: 10px; }
.acct-ring .key { width: 64px; height: 64px; color: var(--brass-hi); }
.acct-links { display: flex; gap: 18px; font-family: var(--mono); font-size: 15px; }
.acct-part { grid-column: 2; background: var(--steel); color: var(--paper); padding: 30px; background-image: linear-gradient(160deg, #4a4440, #2b2725 70%); }
.acct-part h2 { color: var(--yellow); font-size: 40px; }
.acct-part + .acct-part { background: var(--paper); color: var(--ink); border: 3px solid var(--ink); }
.acct-part + .acct-part h2 { color: var(--ink); }
.acct .drawers { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.empty { font-size: 19px; opacity: .8; }
.sealed-mine { padding-left: 0; }
@media (max-width: 820px) { .acct { grid-template-columns: 1fr; } .acct-part { grid-column: auto; } .acct-keys { position: relative; top: 0; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 90vh; }
.about-photo { position: relative; overflow: hidden; min-height: 70vh; border-right: 4px solid var(--ink); }
.about-photo img { position: absolute; inset: -8% 0 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 25%; }
.about-copy { padding: clamp(46px, 7vw, 100px) var(--gap); background: var(--paper); }
.about-copy h1 { font-size: clamp(46px, 6vw, 92px); }
.about-copy h2 { font-size: clamp(30px, 3vw, 44px); margin-top: 1.2em; color: var(--red); }
.about-copy p { max-width: 34em; }
.about-copy .pull { font-family: var(--display); font-size: clamp(28px, 3vw, 42px); line-height: 1.08; background: var(--yellow); padding: 20px 24px; rotate: -1.5deg; box-shadow: 8px 8px 0 var(--ink); max-width: 16em; margin: 34px 0; }
.about-copy .wp-block-buttons { margin-top: 30px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-photo { min-height: 60vh; border-right: 0; border-bottom: 4px solid var(--ink); } }

/* Contact */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); align-items: start; }
.contact-page h1 { font-size: clamp(50px, 7vw, 104px); grid-column: 1 / -1; }
.contact-sub { grid-column: 1; }
.contact-page .kit-form { grid-column: 2; grid-row: 2 / span 2; background: var(--paper); border: 3px solid var(--ink); padding: 30px; box-shadow: 12px 14px 0 var(--ink); }
.kit-form .btn-solid { justify-self: start; }
@media (max-width: 820px) { .contact-page { grid-template-columns: 1fr; } .contact-page .kit-form { grid-column: 1; grid-row: auto; } }

/* Woo checkout and thanks */
.woocommerce-checkout main, .woocommerce-cart main, .woocommerce-account main, .woocommerce-order-received main { background: var(--paper); }
.woocommerce-checkout .entry-content, .woocommerce-cart .entry-content, .woocommerce-account .entry-content { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gap); }
.woocommerce form .form-row input.input-text { font: 18px var(--serif); padding: 12px; border: 3px solid var(--ink); border-radius: 0; }
.woocommerce #payment #place_order, .woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--red) !important; color: #fff !important; font-family: var(--mono); font-weight: 700; font-size: 18px; border: 3px solid var(--ink); border-radius: 0; box-shadow: 6px 6px 0 var(--ink); padding: 14px 26px; }
.ty-thanks { background: var(--ink); color: var(--paper); padding: 34px; margin: 0 0 34px; box-shadow: 12px 12px 0 var(--red); display: grid; gap: 14px; justify-items: start; }
.ty-thanks .stamp { color: var(--glow); }
.ty-thanks-title { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); color: var(--yellow); margin: 0; }
.co-head { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; background: var(--ink); color: var(--paper); padding: 26px; margin-bottom: 34px; box-shadow: 12px 12px 0 var(--red); }
.co-head h1 { font-size: clamp(34px, 4vw, 56px); color: var(--yellow); margin: 4px 0 10px; }
.co-head p { margin: 0; opacity: .85; }
.co-cover { margin: 0; border: 3px solid var(--paper); rotate: -3deg; }
.co-cover .cover { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce-checkout #payment { background: var(--yellow); border: 3px solid var(--ink); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
@media (max-width: 560px) { .co-head { grid-template-columns: 90px 1fr; gap: 16px; padding: 18px; } }
.about > .wp-block-group__inner-container, .contact-page > .wp-block-group__inner-container { display: contents; }
html, body { overflow-x: clip; } .vault-wall, .vault-page, .story-more { overflow-x: clip; }
.about { align-items: start; } .about-photo { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; } @media (max-width: 820px) { .about-photo { position: relative; height: 62vh; } }
