:root {
  --bg: #faf5f1;
  --paper: #fff9f6;
  --blush: #f7eee9;
  --green: #174d3b;
  --text: #203c33;
  --muted: #6a716c;
  --gold: #b89a78;
  --page: 1440px;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.55;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, .hero-brand, .logo, .path strong, .product strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
}
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  margin: 0 0 .7rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.center { text-align: center; }
.btn-green, .btn-app, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  padding: .78rem 1.25rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
  transition: .35s var(--ease);
}
.btn-green, .btn-app { background: var(--green); color: var(--bg); border: 0; }
.btn-green:hover, .btn-app:hover { transform: translateY(-1px); }
.btn-green:hover span, .btn-green:hover { }
.btn-outline {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--bg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 76px;
  background: var(--bg);
}
.header-inner {
  width: min(100%, var(--page));
  height: 76px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .45rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .92rem;
  color: var(--green);
  white-space: nowrap;
}
.logo-mark { display: grid; color: var(--green); }
.nav-desktop {
  display: none;
  justify-content: center;
  gap: 1.35rem;
  font-size: .88rem;
  color: var(--muted);
}
.nav-desktop a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav-desktop a.is-active { color: var(--text); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: .35rem; justify-self: end; }
.icon-btn {
  width: 36px; height: 36px; border: 0; background: transparent; color: var(--green);
  display: grid; place-items: center; cursor: pointer;
}
.btn-app { padding: .55rem 1rem; }
.menu-toggle {
  width: 36px; height: 36px; border: 0; background: 0; display: flex;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.menu-toggle span { display: block; width: 15px; height: 1px; background: var(--green); }
.search-layer[hidden], .nav-mobile[hidden] { display: none !important; }
.search-layer, .nav-mobile { width: min(100%, var(--page)); margin: 0 auto; padding: .8rem 40px 1.2rem; background: var(--bg); }
.search-form { display: flex; gap: .75rem; }
.search-form input { flex: 1; border: 0; border-bottom: 1px solid var(--green); background: 0; font: inherit; padding: .4rem 0; }
.search-form button, .search-close { border: 0; background: 0; font: inherit; letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; cursor: pointer; }
.nav-mobile { display: flex; flex-direction: column; gap: .75rem; font-family: Fraunces, serif; font-size: 1.25rem; }

.hero { position: relative; width: 100%; min-height: 540px; overflow: hidden; }
.hero-photo {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: 70% 45%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 48%;
  background: linear-gradient(90deg, rgba(250,245,241,.72), rgba(250,245,241,.18) 55%, transparent);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: max(40px, calc((100% - var(--page)) / 2 + 40px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  max-width: 480px;
}
.hero-brand {
  margin: 0 0 .2rem;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: .04em;
  line-height: .95;
  color: var(--green);
}
.hero h1 {
  margin: 0 0 .7rem;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--green);
}
.hero-line { color: var(--muted); margin-bottom: 1.3rem; }

.paths { width: min(100%, var(--page)); margin: 0 auto; padding: 80px 40px; }
.paths h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; margin: 0; }
.star-sep { text-align: center; color: var(--gold); letter-spacing: .4em; margin: .6rem 0 2.4rem; }
.path-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1rem;
}
.path {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
}
.path img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.path:hover img { transform: translateY(-4px) scale(1.03); }
.path strong { font-size: 1.15rem; }
.path span { color: var(--muted); font-size: .9rem; }
.path i {
  width: 28px; height: 28px; border: 1px solid #d7cfc7; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: .8rem; margin-top: .35rem;
  transition: transform .35s var(--ease);
}
.path:hover i { transform: translateX(4px); border-color: var(--green); }

.app-banner {
  width: min(100% - 56px, var(--page));
  margin: 0 auto 24px;
  display: grid;
  background: linear-gradient(90deg, #f6ebe4, #f3e4d8);
  border-radius: 28px;
  overflow: hidden;
  min-height: 340px;
}
.app-copy { padding: 2.4rem 2rem 2rem; }
.app-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; line-height: 1.1; margin: 0 0 .8rem; }
.stores { display: flex; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.store {
  background: #111; color: #fff; border-radius: 8px; padding: .4rem .85rem; line-height: 1.1;
}
.store small { display: block; font-size: .5rem; letter-spacing: .04em; opacity: .8; }
.app-visual { position: relative; margin: 0; }
.app-visual img { width: 100%; height: 340px; object-fit: cover; object-position: 65% 40%; }
.vert-note {
  position: absolute;
  right: 18px; top: 18%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .62rem;
  color: var(--gold);
}

.split { display: grid; }
.split figure { margin: 0; }
.split img { width: 100%; height: 420px; object-fit: cover; }
.split-copy {
  background: var(--paper);
  padding: 3.2rem 2.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; margin: 0 0 1rem; }
.watermark { position: absolute; right: 1.5rem; bottom: 1.5rem; font-size: 3rem; color: rgba(184,154,120,.25); }

.shop-block {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 90px 40px;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.shop-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 400; max-width: 14ch; line-height: 1.15; margin: 0 0 1.4rem; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.product img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
  transition: transform .38s var(--ease);
}
.product:hover img { transform: scale(1.02); }
.product strong { display: block; margin-top: .7rem; font-size: 1.15rem; }
.product span { display: block; color: var(--muted); font-size: .88rem; }
.product em { display: block; margin-top: .25rem; font-style: normal; color: var(--green); }

.three-words {
  list-style: none; padding: 1.4rem 0 0; margin: 1.4rem 0 0;
  display: flex; flex-direction: column; gap: .25rem;
  letter-spacing: .18em; text-transform: uppercase; font-size: .68rem; color: var(--gold);
}

.site-footer { width: min(100%, var(--page)); margin: 0 auto; padding: 3rem 40px 2rem; }
.footer-top { display: grid; gap: 1.4rem; }
@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.1fr 2fr auto;
    align-items: start;
  }
  .footer-nav { justify-content: center; padding-top: .35rem; }
}
.footer-claim { color: var(--muted); font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; color: var(--muted); }
.footer-social { display: flex; gap: .7rem; color: var(--muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid #eadfd6;
  font-size: .78rem; color: var(--muted);
}
.footer-bottom a { margin-left: 1rem; }

.interior { width: min(100%, var(--page)); margin: 0 auto; padding: 4rem 40px 6rem; min-height: 50vh; }
.interior h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400; }
.lede { font-family: Fraunces, serif; font-style: italic; color: var(--muted); }
.text-link { letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; border-bottom: 1px solid currentColor; }

.reveal { animation: rise .65s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .path-row { grid-template-columns: repeat(5, 1fr); }
  .app-banner { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .app-visual img { height: 100%; min-height: 360px; }
  .split { grid-template-columns: 1fr 1fr; }
  .split img { height: 100%; min-height: 460px; }
  .shop-block { grid-template-columns: .4fr .6fr; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .path-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .icon-search, .btn-app { display: none; }
  .hero-photo { height: 75vh; min-height: 520px; object-position: 80% 40%; }
  .hero-copy { top: auto; bottom: 8%; transform: none; max-width: 86%; }
  .app-banner { width: calc(100% - 32px); }
}

.wb-lib, .wb-entry {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.wb-lib-hero {
  position: relative;
  padding: 12px 0 36px;
  max-width: 36rem;
}
.wb-lib-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; margin: 0 0 .6rem; }
.wb-lib-deco {
  position: absolute;
  right: -8px;
  top: 0;
  width: 140px;
  opacity: .85;
  pointer-events: none;
}
.wb-tools { margin: 0 0 2.2rem; }
.wb-search input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d8cfc6;
  background: transparent;
  font: inherit;
  font-size: 1.15rem;
  padding: .7rem 0;
  color: var(--text);
}
.wb-search input:focus { outline: 0; border-color: var(--green); }
.wb-colors { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.wb-colors button {
  border: 1px solid #e4d8ce;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: .35rem .8rem;
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}
.wb-colors button.is-on { border-color: var(--green); color: var(--green); }
.wb-empty { color: var(--muted); font-style: italic; }
.wb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
}
.wb-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.wb-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .4s var(--ease);
}
.wb-card-tarot img { aspect-ratio: 3/4; object-fit: contain; background: var(--blush); }
.wb-card:hover img { transform: scale(1.02); }
.wb-card:hover i { transform: translateX(4px); }
.wb-card strong { font-size: 1.1rem; }
.wb-card span, .wb-card em { color: var(--muted); font-style: normal; font-size: .88rem; }
.wb-card i {
  width: 26px; height: 26px; border: 1px solid #d7cfc7; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: .8rem;
  transition: transform .35s var(--ease);
}
.wb-card-gap {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  background: transparent;
}
.wb-card-gap-rune {
  display: grid;
  place-items: center;
  font-family: Fraunces, serif;
  font-size: 2.4rem;
  color: var(--green);
}
.wb-arcana { margin: 2.4rem 0; }
.wb-arcana h2 { font-weight: 400; font-size: 1.8rem; }
.wb-hub { max-width: 900px; margin: 0 auto; }
.wb-oracle {
  margin: 0 0 3rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid #eadfd6;
  border-bottom: 1px solid #eadfd6;
}
.wb-oracle h2 { font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 .5rem; }
.wb-oracle-lead { max-width: 38rem; color: var(--muted); }
.wb-oracle-tabs { display: flex; gap: .5rem; margin: 1rem 0 1.4rem; }
.wb-oracle-tabs button {
  border: 1px solid #e4d8ce;
  background: 0;
  border-radius: 999px;
  padding: .4rem .9rem;
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
  color: var(--muted);
}
.wb-oracle-tabs button.is-on { border-color: var(--green); color: var(--green); }
.wb-oracle-card {
  min-height: 180px;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.2rem;
}
.wb-oracle-card img {
  width: min(220px, 100%);
  border-radius: 8px;
  transition: transform .8s var(--ease), opacity .5s;
}
.wb-oracle-card img.is-reversed { transform: rotate(180deg); }
.wb-oracle-card.is-shuffling img { opacity: .35; transform: rotate(8deg) scale(.98); }
.wb-oracle-empty, .wb-oracle-hint { color: var(--muted); font-size: .92rem; }
.wb-reversed { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; }
.wb-glyph { font-size: 3rem; color: var(--green); margin: 0; }
.wb-app-banner { margin: 4rem auto 0; }
.wb-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  color: var(--muted);
  font-size: .82rem;
  margin-bottom: 2rem;
}
.wb-crumbs a { border-bottom: 1px solid transparent; }
.wb-crumbs a:hover { border-color: currentColor; }
.wb-portrait { margin: 0 0 1.4rem; max-width: 420px; }
.wb-portrait img { width: 100%; border-radius: 10px; }
.wb-portrait-tarot { max-width: 280px; }
.wb-thumbs { display: flex; gap: .5rem; margin: 0 0 1.5rem; }
.wb-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.wb-entry h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; margin: 0 0 .4rem; }
.wb-color-tags { color: var(--gold); letter-spacing: .04em; margin-bottom: 1.6rem; }
.wb-block { margin: 0 0 1.8rem; max-width: 40rem; }
.wb-block h2 { font-size: 1.25rem; font-weight: 500; margin: 0 0 .45rem; }
.wb-block ul { margin: 0; padding-left: 1.1rem; }
.wb-message { font-family: Fraunces, serif; font-style: italic; color: var(--green); max-width: 36rem; }
@media (min-width: 900px) {
  .wb-grid-stones { grid-template-columns: repeat(4, 1fr); }
  .wb-grid-tarot { grid-template-columns: repeat(5, 1fr); }
  .wb-grid-runes { grid-template-columns: repeat(4, 1fr); }
  .wb-lib-deco { right: 40px; width: 180px; }
  .wb-hub { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 899px) {
  .wb-lib, .wb-entry { padding: 32px 20px 64px; }
  .wb-lib-deco { width: 90px; opacity: .5; }
}
