/* ============================================================
   Simply Creative Experiences — page styles, layered on brand.css
   ------------------------------------------------------------
   The look (palette, type, buttons, header, footer, cards, FAQ) comes from
   assets/css/brand.css, a COPY of frenikadevon/assets/css/brand.css made by
   `php tools/sync-brand.php` in that repo — never edit the copy. The spec is
   "Brand Styling.md" in Dropbox/Frenika Devon.

   This file holds only this page's own layout. Each line (puzzles, mysteries,
   escapes) gets a bright brand colour for DECORATION — the card bar, fact
   chips, step numbers — while every button stays the brand berry, so the
   three read as one family.
   ============================================================ */

/* Per-line decoration colours (bright = bars; soft = chip tints; text = small labels). */
.exp-puzzles,   .door-puzzles   { --line-bright: var(--teal);   --line-soft: #dcf3ef; --line-text: var(--teal-deep); }
.exp-mysteries, .door-mysteries { --line-bright: var(--pink);   --line-soft: var(--berry-tint); --line-text: var(--berry); }
.exp-escapes,   .door-escapes   { --line-bright: var(--orange); --line-soft: #ffe9d2; --line-text: #9a4a00; }

/* ---------- Hero ---------- */
.hero { padding: clamp(52px, 8vw, 100px) 0 clamp(60px, 8vw, 100px); text-align: center; }
.hero h1 { margin: 16px auto 0; max-width: 900px; }
.hero .rule { margin: 26px auto; }
.hero .lead { max-width: 720px; margin: 0 auto 48px; }

.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.door {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--line-bright);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.door-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--r-md); background: var(--line-soft); font-size: 1.8rem; }
.door-name { font-family: var(--font-display); font-variation-settings: 'SOFT' 60; font-weight: 650; font-size: 1.7rem; letter-spacing: -0.01em; margin-top: 6px; }
.door-text { color: var(--ink-soft); flex: 1; }
.door-go { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--berry); }

/* ---------- Experience sections ---------- */
.experience .eyebrow { color: var(--line-text); }
.exp-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.exp-head.flip .exp-art { order: -1; }
.exp-art { margin: 0; }
/* Artwork as a lightly tilted print — banners carry titles, so never cropped. */
.exp-art img { width: 100%; height: auto; background: #fff; padding: 10px; box-shadow: var(--shadow-md); transform: rotate(-1.5deg); }
.exp-head.flip .exp-art img { transform: rotate(1.5deg); }

.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--line-soft); border-radius: var(--r-md); padding: 10px 16px; font-weight: 700; }
.facts strong { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--line-text); }

.sub { font-size: 1.45rem; margin: 56px 0 18px; }

/* "How it works": brand .steps cards, numbered by this page's own badge. */
.experience .steps > li { display: flex; flex-direction: column; gap: 6px; }
.experience .steps > li::before { display: none; }
.experience .steps strong { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; }
.experience .steps span:last-child { color: var(--ink-soft); }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--line-bright); color: var(--ink); font-family: var(--font-display); font-weight: 700; margin-bottom: 6px; }

.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.type { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--line-bright); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 14px 18px; color: var(--ink-soft); }
.type strong { color: var(--ink); }

/* "Try one of these" picks: brand-style link cards in a grid. */
.picks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.picks a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 56px 18px 20px; color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, border-color .15s ease;
}
.picks a:hover { border-color: var(--berry); transform: translateY(-2px); color: var(--ink); }
.pick-badge { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--line-text); }
.pick-title { font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; line-height: 1.2; }
.pick-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--berry); color: #fff; font-weight: 800; font-size: .9rem; }
/* The newest released puzzle / mystery (marked by frenikadevon's catalog feed). */
.picks li.pick-newest { grid-column: 1 / -1; }
.picks li.pick-newest a { background: var(--plum); border-color: var(--plum); color: var(--on-plum); padding-top: 24px; padding-bottom: 24px; }
.picks li.pick-newest .pick-badge { color: var(--yellow); }
.picks li.pick-newest .pick-title { font-size: 1.5rem; color: var(--on-plum); }
.picks li.pick-newest .pick-arrow { background: var(--yellow); color: var(--ink); }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Compare (plum band) ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; background: rgba(247, 236, 223, .05); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid rgba(247, 236, 223, .14); vertical-align: top; color: var(--on-plum); }
.compare thead th { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; }
.compare tbody th { color: var(--on-plum-soft); font-weight: 700; white-space: nowrap; }
.compare .th-puzzles { color: var(--teal); }
.compare .th-mysteries { color: var(--pink); }
.compare .th-escapes { color: var(--orange); }
.scroll-hint { display: none; color: var(--on-plum-soft); font-size: .85rem; margin-top: 10px; }

/* ---------- Club ---------- */
.club-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.club .ctas { margin-top: 0; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .exp-head { grid-template-columns: 1fr; }
  .exp-head.flip .exp-art { order: 0; }
  .club-inner { grid-template-columns: 1fr; }
  .club .ctas { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .types { grid-template-columns: 1fr; }
  .scroll-hint { display: block; }
  .ctas .btn { width: 100%; }
}
