/* ============================================================
   Planยัง — theme stylesheet
   Design system per Brand Guideline v2 (ink · paper · one gold)
   Enqueued once via functions.php — single source of truth for all pages.
   ============================================================ */
:root {
  /* palette */
  --paper: oklch(0.982 0.004 80);
  /* #FAF8F3 */
  --champagne: oklch(0.955 0.016 85);
  /* #F0EAD8 */
  --ink: oklch(0.245 0.012 66);
  /* #201C16 */
  --charcoal: oklch(0.265 0.014 66);
  /* #2A251E */
  --charcoal-deep: oklch(0.205 0.012 66);
  --bronze: oklch(0.42 0.055 64);
  /* #6B563A */
  --gold: oklch(0.80 0.13 82);
  /* #E6AC33 */
  --gold-deep: oklch(0.60 0.125 72);
  --clay: oklch(0.56 0.11 45);
  /* #B15E39 — gap/caution only */
  --ink-2: oklch(0.44 0.012 66);
  --ink-3: oklch(0.56 0.012 66);
  --line: oklch(0.90 0.006 80);
  --line-strong: oklch(0.81 0.012 80);
  --paper-on-dark: oklch(0.95 0.012 82);

  /* status tiers */
  --tier-solid: oklch(0.60 0.125 72);
  --tier-building: oklch(0.80 0.13 82);
  --tier-thin: oklch(0.72 0.09 60);
  --tier-gap: oklch(0.56 0.11 45);

  --serif: 'Fraunces', Georgia, 'IBM Plex Sans Thai', serif;
  --sans: 'IBM Plex Sans Thai', 'Inter', system-ui, sans-serif;
  --measure: 66ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.75;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0
}

p {
  margin: 0 0 1.1em;
  max-width: var(--measure);
  color: var(--ink-2)
}

a {
  color: var(--bronze);
  text-underline-offset: 3px
}

strong {
  font-weight: 600;
  color: var(--ink)
}

img,
svg {
  max-width: 100%
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px)
}

.small {
  font-size: .85rem;
  color: var(--ink-3)
}

.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bronze);
  font-size: 1rem
}

.lead {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.26rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0
}

/* buttons — flat, editorial */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  padding: .65em 1.5em;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper)
}

.btn.pri {
  background: var(--gold);
  border-color: var(--gold);
  color: oklch(0.24 0.03 70);
  font-weight: 600
}

.btn.pri:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff
}

.btn.ghost {
  border-color: var(--line-strong);
  color: var(--ink-2)
}

.btn.ghost:hover {
  background: var(--champagne);
  color: var(--ink)
}

/* ---- head menu (Block A — shared on every page) ---- */
.sitenav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: oklch(0.982 0.004 80 / .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.sitenav .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 14px;
  padding-bottom: 14px
}

/* ============================================================
   SMOOTH NAV LINKS & REMOVE CLICK OUTLINE
   ============================================================ */

/* 1. เพิ่ม Effect ความลื่นไหลในการสลับหน้าและ Hover */
.sitenav .links a {
  position: relative;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  outline: none !important;
  /* ลบกรอบสี่เหลี่ยมเหลี่ยมๆ ตอนคลิก */
  -webkit-tap-highlight-color: transparent;
  /* ลบแถบไฮไลต์สีฟ้าในมือถือ */
}

/* 2. เมื่อคลิก (Active/Focus) ไม่ให้มีเส้นกรอบทับซ้อน */
.sitenav .links a:focus,
.sitenav .links a:active,
.sitenav .links a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* 3. ตกแต่งเส้นใต้บอกตำแหน่ง (Active State) ให้ละมุนและเนี้ยบขึ้น */
.sitenav .links a.here {
  color: var(--ink) !important;
  font-weight: 500;
  border-bottom: 2px solid var(--gold) !important;
}

/* 4. เพิ่มเส้นใต้จางๆ ตอน Hover หน้าที่ไม่ได้เปิดอยู่ */
.sitenav .links a:not(.here):hover {
  color: var(--ink) !important;
  border-bottom-color: var(--line-strong) !important;
}

/* wordmark lockup per brand guideline: tick + Plan (ink) + ยัง (gold, italic), set tight */
.wm {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px
}

.wm .y {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400
}

.wm .tick {
  width: 22px;
  height: 22px;
  flex: none
}

.sitenav .links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto
}

.sitenav .links a {
  font-size: .92rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: .2em 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap
}

.sitenav .links a:hover {
  color: var(--ink)
}

.sitenav .links a.here {
  color: var(--ink);
  font-weight: 500;
  border-bottom-color: var(--gold)
}

.sitenav .links a.adv {
  font-size: .85rem;
  color: var(--ink-3)
}

.sitenav .menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  padding: .45em .8em;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer
}

@media(max-width:720px) {
  .sitenav .menu-btn {
    display: block
  }

  .sitenav .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    padding: 8px clamp(20px, 5vw, 64px) 18px;
    margin: 0;
  }

  .sitenav .links.open {
    display: flex
  }

  .sitenav .links a {
    padding: .7em 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    font-size: 1rem
  }

  .sitenav .links a.here {
    border-bottom-color: var(--line)
  }
}

/* ---- footer (Block H) ---- */
.sitefooter {
  background: var(--charcoal-deep);
  color: var(--paper-on-dark);
  margin-top: clamp(48px, 8vw, 90px)
}

.sitefooter .wrap {
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 64px)
}

.sitefooter .pun {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  color: #fff
}

.sitefooter .pun .q {
  color: var(--gold);
  font-style: italic
}

.sitefooter .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 64px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid oklch(1 0 0 / .14)
}

.sitefooter .col {
  min-width: 150px
}

.sitefooter .col .h {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: oklch(0.75 0.04 88);
  margin-bottom: .6em
}

.sitefooter a {
  color: oklch(0.85 0.03 88);
  text-decoration: none;
  display: block;
  font-size: .92rem;
  padding: .18em 0
}

.sitefooter a:hover {
  color: #fff
}

.sitefooter .fine {
  margin-top: 30px;
  font-size: .8rem;
  color: oklch(0.68 0.02 85);
  max-width: 60ch
}

/* ---- sections ---- */
section {
  padding: clamp(44px, 6vw, 76px) 0
}

section+section {
  border-top: 1px solid var(--line)
}

h2.hd {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.3rem);
  margin: .35em 0 .5em
}

.sec-head .kicker {
  display: block;
  margin-bottom: .2em
}

/* ============================================================
   HOME
   ============================================================ */

/* Block B — rotating banner */
.banner {
  background: var(--charcoal);
  color: var(--paper-on-dark);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(120% 90% at 92% 6%, oklch(0.80 0.13 82 / .18), transparent 55%),
    radial-gradient(90% 80% at 4% 100%, oklch(0.18 0.012 66 / .5), transparent 60%);
}

/* slides stack in one grid cell so the banner always keeps the height of the tallest slide */
.banner .slides {
  position: relative;
  display: grid
}

.banner .slide {
  grid-area: 1/1;
  visibility: hidden
}

.banner .slide.on {
  visibility: visible;
  animation: slidein .6s var(--ease)
}

@keyframes slidein {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner .slide.on {
    animation: none
  }
}

.banner .slide .wrap {
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(52px, 7vw, 84px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.banner .tag {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: oklch(0.80 0.05 90)
}

.banner h1,
.banner .h1 {
  font-family: var(--serif);
  font-weight: 500;
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem);
  margin: .3em 0 0;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance
}

.banner .y {
  color: var(--gold);
  font-style: italic;
  font-weight: 400
}

.banner .sub {
  font-size: clamp(1rem, .95rem + 0.5vw, 1.2rem);
  color: oklch(0.88 0.015 85);
  margin-top: .9em;
  max-width: 52ch
}

.banner .cta {
  margin-top: 1.8em
}

/* Banner Controls & Custom SVG Arrows */
.banner .ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}

.banner .ctrl .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}


/* จัดปุ่มลูกศรเป็นทรงสี่เหลี่ยม เรียบหรู และวางตำแหน่งลูกศรตรงกลางเป๊ะ */
.banner .arrow {
  background: transparent;
  border: 1px solid oklch(1 0 0 / .3);
  color: oklch(0.9 0.01 85);
  width: 36px;
  height: 36px;
  border-radius: 0;
  /* สี่เหลี่ยมขอบฉากตัดเป๊ะ (หรือใส่ 4px ถ้าอยากได้สี่เหลี่ยมมนเล็กน้อย) */
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  /* จัดลูกศรให้อยู่กึ่งกลางแนวตั้ง */
  justify-content: center;
  /* จัดลูกศรให้อยู่กึ่งกลางแนวนอน */
  padding: 0;
  transition: border-color .2s, color .2s, background-color .2s, transform .2s;
}

.banner .arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: oklch(0.80 0.13 82 / .12);
}

.banner .arrow:active {
  transform: scale(0.95);
}

.banner .dots {
  display: flex;
  gap: 8px
}

.banner .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(1 0 0 / .3);
  border: 0;
  padding: 0;
  cursor: pointer
}

.banner .dot.on {
  background: var(--gold)
}

.banner .slide-label {
  margin-left: auto;
  font-size: .75rem;
  color: oklch(0.7 0.02 85)
}

/* Block C/D/E/F/G shared bits */
.threemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--line-strong);
  margin-top: 1.6em
}

.threemap a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5em 1.5em 1.7em;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.threemap a:last-child {
  border-right: 0
}

.threemap a:hover {
  background: var(--champagne)
}

.threemap .n {
  font-family: var(--serif);
  font-size: .78rem;
  color: var(--ink-3);
  letter-spacing: .08em
}

.threemap h3 {
  font-size: 1.2rem;
  margin: .4em 0 .35em
}

.threemap p {
  font-size: .92rem;
  color: var(--ink-2);
  margin: 0
}

.threemap .go {
  display: inline-block;
  margin-top: .9em;
  font-size: .88rem;
  color: var(--bronze)
}

/* pyramid teaser + diagram (shared with tool results) */
.pyramid {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 5px;
  margin: 1.6em auto;
  max-width: 440px
}

.pyramid .lyr {
  border: 1px solid var(--line-strong);
  background: var(--champagne);
  padding: .55em 1em;
  text-align: center;
  font-size: .88rem;
  color: var(--ink-2);
  font-family: var(--sans);
  width: 100%;
}

.pyramid .lyr:nth-child(1) {
  width: 100%
}

.pyramid .lyr:nth-child(2) {
  width: 82%
}

.pyramid .lyr:nth-child(3) {
  width: 64%
}

.pyramid .lyr:nth-child(4) {
  width: 46%
}

.pyramid .lyr.lens {
  width: 34%;
  border-style: dashed;
  background: transparent;
  color: var(--ink-3)
}

.pyramid .lyr b {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: .92rem
}

.pyramid.ghost .lyr {
  background: transparent;
  color: var(--ink-3);
  border-style: dashed
}

.pyramid.ghost .lyr b {
  color: var(--ink-3)
}

.invite {
  background: var(--champagne);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong)
}

.invite .wrap {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
  text-align: center
}

.invite h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem)
}

.invite .y {
  color: var(--gold-deep);
  font-style: italic
}

.invite p {
  margin: .8em auto 1.4em;
  max-width: 46ch
}

.invite .meta {
  font-size: .85rem;
  color: var(--ink-3);
  margin-top: 1em
}

/* article list rows — hairlines, no boxes */
.alist {
  border-top: 1px solid var(--line-strong);
  margin-top: 1.4em
}

.arow {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.25em 0 1.35em;
  border-bottom: 1px solid var(--line)
}

.arow:hover h3 {
  color: var(--bronze)
}

.arow .meta {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-weight: 600
}

.arow .meta .rt {
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  margin-left: 1em
}

.arow h3 {
  font-size: 1.35rem;
  margin: .3em 0 .25em;
  transition: color .15s
}

.arow p {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-2)
}

.arow.soon {
  cursor: default
}

.arow.soon h3 {
  color: var(--ink-3)
}

.arow.soon:hover h3 {
  color: var(--ink-3)
}

.arow.soon .meta .rt {
  font-style: italic
}

.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  max-width: 760px
}

.founder .mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--champagne)
}

@media(max-width:560px) {
  .founder {
    grid-template-columns: 1fr
  }
}

/* ============================================================
   BLOG
   ============================================================ */
.blogmast {
  border-bottom: 1px solid var(--line)
}

.blogmast .wrap {
  padding-top: clamp(40px, 6vw, 68px);
  padding-bottom: clamp(30px, 4vw, 44px)
}

.blogmast h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem)
}

.blogmast .y {
  color: var(--gold-deep);
  font-style: italic
}

.featured {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line-strong)
}

.featured .meta {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600
}

.featured h2 {
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.7rem);
  margin: .35em 0 .4em;
  max-width: 22ch
}

.featured:hover h2 {
  color: var(--bronze)
}

.featured p {
  font-size: 1.05rem;
  max-width: 56ch
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 6px
}

.chip {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .45em 1.1em;
  cursor: pointer;
  transition: all .15s var(--ease);
}

.chip:hover {
  border-color: var(--bronze);
  color: var(--ink)
}

.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper)
}

.toolnudge {
  border-top: 1px solid var(--line);
  margin-top: 2.5em;
  padding-top: 1.6em;
  font-size: .98rem;
  color: var(--ink-2)
}

.toolnudge a {
  font-weight: 500
}

/* ============================================================
   ARTICLE
   ============================================================ */
.progressbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0;
  z-index: 100
}

.article-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px)
}

.article-head .meta {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600
}

.article-head .meta a {
  color: inherit;
  text-decoration: none
}

.article-head .meta a:hover {
  text-decoration: underline
}

.article-head h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem);
  margin: .4em 0 .45em;
  max-width: 24ch
}

.article-head .dek {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--ink-2);
  max-width: 52ch
}

.article-head .byline {
  margin-top: 1.2em;
  font-size: .85rem;
  color: var(--ink-3)
}

.article-body {
  padding: clamp(10px, 2vw, 20px) 0 clamp(30px, 4vw, 50px)
}

.article-body>* {
  max-width: var(--measure)
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 1.8em 0 .5em
}

.article-body h3 {
  font-size: 1.18rem;
  margin: 1.6em 0 .4em
}

.article-body ul,
.article-body ol {
  max-width: var(--measure);
  padding-left: 1.3em;
  color: var(--ink-2)
}

.article-body li {
  margin: .4em 0
}

.article-body blockquote {
  margin: 1.8em 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 56ch;
}

.article-body .aside {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1em 0;
  margin: 1.8em 0;
  font-size: .92rem;
  color: var(--ink-3)
}

.takeaways {
  border: 1px solid var(--line-strong);
  background: var(--champagne);
  padding: clamp(20px, 3vw, 30px);
  margin: 2.2em 0;
  max-width: var(--measure)
}

.takeaways h3 {
  font-size: 1.05rem;
  margin: 0 0 .6em
}

.takeaways ul {
  margin: 0;
  padding-left: 1.2em
}

.takeaways li {
  margin: .45em 0;
  color: var(--ink-2)
}

.toolbridge {
  border: 1px solid var(--gold-deep);
  padding: clamp(20px, 3vw, 30px);
  margin: 2.2em 0;
  max-width: var(--measure)
}

.toolbridge .k {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: .95rem
}

.toolbridge h3 {
  font-size: 1.25rem;
  margin: .3em 0 .4em
}

.toolbridge p {
  margin: 0 0 1em;
  font-size: .95rem
}

.related {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.6em;
  margin-top: 2.5em
}

.related .h {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: .4em
}

.related a {
  display: block;
  padding: .55em 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: .98rem
}

.related a:hover {
  color: var(--bronze)
}

.related a .l {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gold-deep);
  margin-right: .9em;
  font-weight: 600
}

/* ============================================================
   CHECK YOUR STATUS — the tool
   ============================================================ */
.tool-shell {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px)
}

.tool-screen {
  display: none;
  padding: clamp(36px, 6vw, 64px) 0
}

.tool-screen.on {
  display: block;
  animation: screenin .35s var(--ease)
}

@keyframes screenin {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-screen.on {
    animation: none
  }
}

/* intro */
.tool-intro h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  max-width: 20ch
}

.tool-intro .y {
  color: var(--gold-deep);
  font-style: italic
}

.cues {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 1.8em 0;
  border-top: 1px solid var(--line)
}

.cue {
  flex: 1;
  min-width: 220px;
  padding: 1.1em 1.6em 1.1em 0;
  border-bottom: 1px solid var(--line)
}

.cue .k {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--bronze);
  margin-bottom: .3em
}

.cue p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-2)
}

/* question screens */
.tool-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line)
}

.tool-top .part {
  font-family: var(--serif);
  font-size: .85rem;
  color: var(--ink-3);
  white-space: nowrap
}

.tool-top .track {
  flex: 1;
  height: 5px;
  background: var(--champagne);
  border-radius: 3px;
  overflow: hidden
}

.tool-top .track i {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width .4s var(--ease)
}

.q-layer {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 2.2em
}

.q-text {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.75rem);
  line-height: 1.3;
  margin: .4em 0 1.2em;
  max-width: 24ch
}

.opts {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.opt {
  position: relative
}

.opt input {
  position: absolute;
  opacity: 0;
  inset: 0
}

.opt label {
  display: block;
  border: 1px solid var(--line-strong);
  padding: .85em 1.1em;
  font-size: .98rem;
  color: var(--ink-2);
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, background .15s;
}

.opt label:hover {
  border-color: var(--bronze)
}

.opt input:checked+label {
  border-color: var(--gold-deep);
  background: var(--champagne);
  color: var(--ink);
  font-weight: 500
}

.opt input:focus-visible+label {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px
}

.opt.skip label {
  border-style: dashed;
  color: var(--ink-3);
  background: transparent;
  font-size: .9rem
}

.q-help {
  font-size: .85rem;
  color: var(--ink-3);
  margin-top: 1.2em;
  border-top: 1px solid var(--line);
  padding-top: .9em
}

.q-help .k {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bronze)
}

.tool-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2em;
  gap: 14px
}

.tool-nav .back {
  background: none;
  border: 0;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: .9rem;
  cursor: pointer;
  padding: .5em .2em
}

.tool-nav .back:hover {
  color: var(--ink)
}

/* module break screens */
.mod-done .n {
  font-family: var(--serif);
  font-size: .85rem;
  color: var(--gold-deep);
  letter-spacing: .1em
}

.mod-done h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  margin: .4em 0 .5em
}

.mod-mini {
  display: flex;
  gap: 6px;
  margin: 1.4em 0 2em
}

.mod-mini i {
  height: 6px;
  flex: 1;
  background: var(--champagne);
  border-radius: 3px
}

.mod-mini i.done {
  background: var(--gold)
}

/* results */
.res-kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bronze)
}

.results h1 {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem);
  margin: .3em 0 .4em
}

.pyr-result {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 5px;
  margin: 2em auto;
  max-width: 420px
}

.pyr-result .lyr {
  border: 1px solid transparent;
  padding: .6em 1em;
  text-align: center;
  font-size: .88rem;
  color: #fff;
  width: 100%;
  font-weight: 500
}

.pyr-result .lyr .tier {
  display: block;
  font-size: .74rem;
  font-weight: 400;
  opacity: .9
}

.pyr-result .lyr:nth-child(1) {
  width: 100%
}

.pyr-result .lyr:nth-child(2) {
  width: 82%
}

.pyr-result .lyr:nth-child(3) {
  width: 64%
}

.pyr-result .lyr:nth-child(4) {
  width: 46%
}

.pyr-result .lyr.lens {
  width: 36%
}

.res-block {
  border-top: 1px solid var(--line);
  padding: 1.6em 0
}

.res-block .h {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: .6em
}

.layer-read {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 6px 20px;
  padding: 1em 0;
  border-bottom: 1px solid var(--line)
}

@media(max-width:560px) {
  .layer-read {
    grid-template-columns: 1fr
  }
}

.layer-read .nm {
  font-family: var(--serif);
  font-size: 1rem
}

.layer-read .tierlbl {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .15em .7em;
  border-radius: 999px;
  color: #fff;
  margin-top: .3em
}

.layer-read p {
  margin: .2em 0 .4em;
  font-size: .93rem
}

.layer-read .move {
  font-size: .9rem
}

.layer-read .track {
  height: 7px;
  background: var(--champagne);
  border-radius: 3px;
  overflow: hidden;
  margin: .5em 0 .3em;
  max-width: 340px
}

.layer-read .track i {
  display: block;
  height: 100%
}

.starthere {
  border: 1px solid var(--gold-deep);
  padding: clamp(20px, 3vw, 30px);
  margin: 1.8em 0
}

.starthere .k {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep)
}

.starthere h3 {
  font-size: 1.3rem;
  margin: .3em 0 .4em
}

.starthere p {
  margin: 0;
  font-size: .98rem
}

.keepit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line-strong);
  margin-top: 1em
}

.keepit>* {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 1.2em 1.2em 1.4em;
  text-decoration: none;
  color: inherit;
  background: none;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  border-top: 0;
  border-left: 0
}

.keepit>*:hover {
  background: var(--champagne)
}

.keepit .t {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink)
}

.keepit .d {
  font-size: .84rem;
  color: var(--ink-3);
  margin-top: .3em
}

.disclose {
  font-size: .84rem;
  color: var(--ink-3);
  margin-top: 1.4em;
  max-width: 56ch
}

/* print */
@media print {

  .sitenav,
  .sitefooter,
  .keepit,
  .tool-nav,
  .progressbar {
    display: none !important
  }

  body {
    background: #fff
  }
}

/* ============================================================
   ELEMENTOR INTEGRATION
   When a theme class (kicker, hd, lead, ...) is added via a widget's
   Advanced > CSS Classes field, Elementor puts it on the *outer* widget
   wrapper — but Elementor's own Global Typography CSS styles the *inner*
   text node directly (.elementor-heading-title, etc). A direct rule on
   an element always beats an inherited value from its parent, so the
   plain .kicker/.hd/.lead rules above never reach the actual text.
   These descendant + !important rules force our design back on.
   Add more pairs here as more sections get rebuilt as native widgets.
   ============================================================ */
.kicker .elementor-heading-title {
  font-family: var(--serif) !important;
  font-style: italic !important;
  color: var(--bronze) !important;
  font-size: 1rem !important;
}

.hd .elementor-heading-title {
  font-family: var(--serif) !important;
  font-weight: 500 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.3rem) !important;
  margin: .35em 0 .5em !important;
}

.lead .elementor-widget-container {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.26rem) !important;
  line-height: 1.65 !important;
  color: var(--ink-2) !important;
  max-width: 60ch !important;
}
/* [planyoung_recent_articles] rendered via an Elementor "Shortcode" widget */
.elementor-widget-shortcode .alist {
  border-top: 1px solid var(--line-strong) !important;
  margin-top: 1.4em !important;
}

.elementor-widget-shortcode .arow {
  display: block ;
  text-decoration: none !important;
  color: inherit !important;
  padding: 1.25em 0 1.35em !important;
  border-bottom: 1px solid var(--line) !important;
}

.elementor-widget-shortcode .arow .meta {
  font-size: .78rem !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--gold-deep) !important;
  font-family: var(--sans) !important;
  font-weight: 600 !important;
}

.elementor-widget-shortcode .arow h3 {
  font-family: var(--serif) !important;
  font-weight: 500 !important;
  font-size: 1.35rem !important;
  margin: .3em 0 .25em !important;
  color: var(--ink) !important;
}

.elementor-widget-shortcode .arow p {
  margin: 0 !important;
  font-size: .95rem !important;
  color: var(--ink-2) !important;
}
