/* ==========================================================================
   The Seven — 7 Deadly Sins Test
   A dark illuminated-manuscript design system.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #07060a;
  --ink-2: #0b0910;
  --ink-3: #121019;
  --bone: #f1e7d4;
  --bone-dim: #cabfae;
  --muted: #8b8392;
  --muted-2: #6d6675;
  --gold: #d2ac63;
  --gold-bright: #f4dfa6;
  --gold-deep: #9a753a;
  --crimson: #8e1b2b;
  --line: rgba(210, 172, 99, 0.16);
  --line-soft: rgba(210, 172, 99, 0.09);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 700px at 50% -12%, rgba(210, 172, 99, 0.09), transparent 62%),
    radial-gradient(900px 900px at 85% 32%, rgba(139, 107, 177, 0.045), transparent 60%),
    var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection {
  background: rgba(210, 172, 99, 0.28);
  color: #fff8e8;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--bone);
}

p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: #0a0910;
}
.skip:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Type utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center {
  justify-content: center;
  white-space: nowrap;
}
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.gold {
  color: var(--gold);
}

.section {
  position: relative;
  padding-block: clamp(76px, 11vw, 148px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 18px;
}
.section-head p {
  color: var(--bone-dim);
  font-size: 1.0625rem;
  max-width: 62ch;
}

.hairline {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  background: rgba(7, 6, 10, 0.78);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--bone);
  text-decoration: none;
}
.brand svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}
.brand span {
  font-family: var(--caps);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.head-link {
  display: none;
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
}
.head-link:hover {
  color: var(--gold);
}
@media (min-width: 860px) {
  .head-link {
    display: inline-block;
  }
}

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 26px;
  border: 1px solid rgba(210, 172, 99, 0.42);
  background: var(--btn-bg);
  color: var(--gold-bright);
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.btn-arrow {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(10, 9, 16, 0.18);
  background: rgba(10, 9, 16, 0.14);
  transition: transform 0.5s var(--ease), background 0.35s;
}
.btn-arrow svg {
  width: 15px;
  height: 15px;
}
.btn--solid .btn-arrow {
  color: var(--gold);
  background: #0a0910;
  border-color: transparent;
}
.btn--ghost .btn-arrow {
  color: var(--gold);
  background: rgba(210, 172, 99, 0.07);
  border-color: var(--line);
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0910;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}

.btn--solid {
  background: linear-gradient(180deg, #e8cc8c, #c19a4f);
  border-color: transparent;
  color: #100c07;
}
.btn--solid:hover {
  background: linear-gradient(180deg, #f4dfa6, #d2ac63);
  color: #100c07;
}

.btn--ghost {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 10px;
  border-color: var(--line);
  color: var(--bone-dim);
}
.btn--ghost:hover {
  color: #0a0910;
}

.head-cta {
  min-height: 38px;
  padding: 9px 18px;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 13vh, 150px) var(--gutter) clamp(36px, 5vh, 56px);
  overflow: hidden;
  text-align: center;
}

.hero-rosette {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1280px, 168vw);
  max-width: none;
  translate: -50% -53%;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, rgba(0, 0, 0, 0.75) 56%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, rgba(0, 0, 0, 0.75) 56%, transparent 72%);
  animation: rotate-slow 240s linear infinite;
  pointer-events: none;
}
@keyframes rotate-slow {
  to {
    rotate: 360deg;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
}

.hero-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--gold);
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(210, 172, 99, 0.35));
}

.hero-title {
  font-size: clamp(3rem, 10.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 400;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, #f7e8c4 8%, #d2ac63 52%, #97713a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
  padding-right: 0.04em;
}
.hero-sub {
  margin: clamp(14px, 2vh, 18px) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.1;
  color: var(--bone-dim);
}

.hero-lede {
  max-width: 44ch;
  margin: clamp(20px, 3vh, 28px) auto 0;
  color: var(--bone-dim);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: clamp(24px, 3.8vh, 36px);
}
.hero-actions .btn {
  min-height: 56px;
  padding-inline: 34px;
  font-size: 12px;
}
.hero-meta {
  margin: 0;
  font-family: var(--caps);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta b {
  color: var(--bone-dim);
  font-weight: 500;
}

.hero-wheel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(4px, 1vw, 12px);
  margin: clamp(30px, 4.8vh, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.hero-wheel li {
  width: auto;
}
.hero-wheel a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.wheel-seal {
  position: relative;
  display: grid;
  width: clamp(36px, 10.5vw, 68px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 20%, transparent), transparent 68%);
  transition: transform 0.5s var(--ease), background 0.4s;
}
.wheel-seal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  opacity: 0.45;
}
.wheel-seal img {
  width: 100%;
  height: 100%;
  opacity: 0.92;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.wheel-name {
  font-family: var(--caps);
  font-size: clamp(6.5px, 0.7vw, 9px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.3s;
}
.hero-wheel a:hover .wheel-seal {
  transform: translateY(-4px);
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%);
}
.hero-wheel a:hover .wheel-seal img {
  opacity: 1;
}
.hero-wheel a:hover .wheel-name {
  color: var(--gold);
}

.answer {
  position: relative;
  padding-block: clamp(60px, 9vw, 110px);
}
.answer-panel {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(210, 172, 99, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 70%);
}
.answer-panel::before,
.answer-panel::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  opacity: 0.65;
}
.answer-panel::before {
  top: -5px;
  left: -5px;
  border-right: 0;
  border-bottom: 0;
}
.answer-panel::after {
  right: -5px;
  bottom: -5px;
  border-left: 0;
  border-top: 0;
}
.answer h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 22px;
}
.answer .direct {
  font-size: clamp(1.1rem, 1.9vw, 1.32rem);
  line-height: 1.6;
  color: var(--bone);
  max-width: 66ch;
}
.answer .direct strong {
  color: var(--gold-bright);
  font-weight: 500;
}
.answer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.answer-fact {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 0.78rem;
  color: var(--muted);
}
.answer-fact b {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   The seven — index rows
   -------------------------------------------------------------------------- */

.sins {
  padding-block: clamp(50px, 8vw, 100px);
}
.sin-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.sin-row {
  --c: var(--gold);
  position: relative;
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s var(--ease);
}
.sin-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 8%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.sin-row:hover::before {
  opacity: 1;
}
.sin-row img {
  width: 56px;
  height: 56px;
  opacity: 1;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.55));
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.sin-row:hover img {
  transform: rotate(-4deg) scale(1.06);
  opacity: 1;
}
.sin-num {
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.sin-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}
.sin-name h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
}
.sin-name h3 a {
  color: inherit;
  text-decoration: none;
}
.sin-name .latin {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
}
.sin-line {
  grid-column: 3;
  color: var(--bone-dim);
  font-size: 0.94rem;
  max-width: 60ch;
}
.sin-facts {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 0;
  margin: 4px 0 0;
  font-family: var(--caps);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sin-facts b {
  color: var(--c);
  color: color-mix(in srgb, var(--c) 75%, var(--bone));
  font-weight: 500;
  letter-spacing: 0.08em;
}
.sin-row .sigil-glow {
  position: absolute;
  left: 70px;
  top: 50%;
  width: 160px;
  height: 160px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--c);
  filter: blur(46px);
  opacity: 0.18;
  pointer-events: none;
}

@media (min-width: 900px) {
  .sin-row {
    grid-template-columns: 52px 124px 208px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 8px;
  }
  .sin-row img {
    width: 124px;
    height: 124px;
    opacity: 1;
  }
  .sin-line {
    grid-column: auto;
    margin: 0;
  }
  .sin-facts {
    grid-column: 4;
    margin: 0;
    flex-direction: column;
    gap: 5px;
    align-self: center;
  }
  .sin-name h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  }
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.how {
  position: relative;
}
.how-grid {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.how-step {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--ink);
}
.how-step .num {
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.how-step h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}
.how-step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
@media (min-width: 820px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.method {
  display: grid;
  gap: 36px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(210, 172, 99, 0.035), transparent);
}
@media (min-width: 900px) {
  .method {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}
.method h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.method p {
  color: var(--bone-dim);
  font-size: 0.96rem;
  margin-bottom: 12px;
}
.method .fine {
  font-size: 0.82rem;
  color: var(--muted);
}
.dots {
  display: grid;
  gap: 9px;
}
.dot-row {
  display: grid;
  grid-template-columns: 62px 1fr 26px;
  align-items: center;
  gap: 12px;
}
.dot-row span:first-child {
  font-family: var(--caps);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot-row .cells {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.dot-row i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.62;
}
.dot-row b {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
}
@media (max-width: 560px) {
  .dot-row {
    grid-template-columns: 50px 1fr 20px;
    gap: 8px;
  }
  .dot-row .cells {
    gap: 3px;
  }
}

/* --------------------------------------------------------------------------
   History
   -------------------------------------------------------------------------- */

.history {
  border-top: 1px solid var(--line-soft);
}
.history-grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}
@media (min-width: 920px) {
  .history-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}
.history-copy .drop::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.1em;
  line-height: 0.78;
  padding: 0.08em 0.12em 0 0;
  color: var(--gold);
}
.history-copy p {
  color: var(--bone-dim);
  font-size: 1.02rem;
}
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-deep), var(--line-soft));
}
.timeline li {
  position: relative;
  padding: 0 0 26px 40px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 11px;
  height: 11px;
  rotate: 45deg;
  border: 1px solid var(--gold);
  background: var(--ink);
}
.timeline .year {
  display: block;
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 4px;
}
.timeline strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--bone);
  margin-bottom: 2px;
}
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  gap: clamp(32px, 5vw, 60px);
}
@media (min-width: 920px) {
  .faq-grid {
    grid-template-columns: 0.6fr 1.4fr;
    align-items: start;
  }
  .faq-intro {
    position: sticky;
    top: 110px;
  }
}
.faq-intro h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 16px;
}
.faq-intro p {
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  font-weight: 500;
  color: var(--bone);
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--gold-bright);
}
.faq-item summary .plus {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 7px;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--gold);
  transition: transform 0.35s var(--ease);
}
.faq-item summary .plus::after {
  inset: 0 50% 0 auto;
  width: 1px;
  height: auto;
}
.faq-item[open] summary .plus::after {
  transform: scaleY(0);
}
.faq-item .faq-a {
  padding: 0 34px 24px 0;
  color: var(--bone-dim);
  font-size: 0.95rem;
  max-width: 70ch;
}
.faq-item .faq-a p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Closing CTA + footer
   -------------------------------------------------------------------------- */

.closing {
  position: relative;
  padding-block: clamp(80px, 12vw, 150px);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.closing img.bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 130vw);
  max-width: none;
  translate: -50% -50%;
  opacity: 0.22;
  pointer-events: none;
}
.closing .wrap {
  position: relative;
  z-index: 2;
}
.closing h2 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 20ch;
  margin: 0 auto 20px;
  text-wrap: balance;
}
.closing h2 em {
  font-style: italic;
  color: var(--gold);
}
.closing p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 32px;
}

.site-foot {
  padding: 44px var(--gutter) 40px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.foot-brand svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.foot-links a {
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.foot-links a:hover {
  color: var(--gold);
}
.foot-fine {
  max-width: 64ch;
  margin: 0 auto;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Quiz overlay
   -------------------------------------------------------------------------- */

.quiz {
  --glow: rgba(210, 172, 99, 0.14);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(900px 700px at 50% 8%, var(--glow), transparent 68%),
    radial-gradient(1200px 900px at 50% 120%, rgba(142, 27, 43, 0.1), transparent 60%),
    var(--ink);
  transition: background 0.8s;
}
.quiz.is-open {
  display: block;
  animation: quiz-in 0.45s var(--ease);
}
@keyframes quiz-in {
  from {
    opacity: 0;
  }
}
body.is-quizzing {
  overflow: hidden;
}

.quiz-shell {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0 var(--gutter);
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 0;
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}
.quiz-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.quiz-brand svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.quiz-progress-wrap {
  flex: 1;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiz-progress {
  flex: 1;
  height: 2px;
  background: rgba(210, 172, 99, 0.16);
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 0.6s var(--ease);
}
.quiz-count {
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
.quiz-exit {
  border: 0;
  background: none;
  padding: 8px;
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.quiz-exit:hover {
  color: var(--gold);
}

.quiz-stage:focus {
  outline: none;
}
.quiz-stage {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: clamp(32px, 7vh, 80px) 0 clamp(26px, 5vh, 56px);
}
.stage-anim {
  animation: stage-in 0.5s var(--ease) both;
}
.stage-anim.is-out {
  animation: stage-out 0.22s ease-in both;
}
@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes stage-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.q-scene {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--bone);
  text-wrap: prettier;
}
.q-prompt {
  margin: 0 0 clamp(24px, 4vh, 38px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--gold);
}
.q-options {
  display: grid;
  gap: 9px;
}
.option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  color: var(--bone-dim);
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.6vw, 0.98rem);
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s, transform 0.25s var(--ease);
}
.option .key {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 172, 99, 0.28);
  font-family: var(--caps);
  font-size: 9px;
  color: var(--gold);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.option:hover,
.option:focus-visible {
  border-color: rgba(210, 172, 99, 0.55);
  background: rgba(210, 172, 99, 0.05);
  color: var(--bone);
}
.option:hover .key {
  background: rgba(210, 172, 99, 0.16);
}
.option.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0910;
}
.option.is-selected .key {
  background: #0a0910;
  color: var(--gold);
  border-color: #0a0910;
}
.option:disabled {
  cursor: default;
}

.q-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(22px, 4vh, 34px);
}
.q-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 8px 0;
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s;
}
.q-back:hover {
  color: var(--gold);
}
.q-back:disabled {
  opacity: 0;
  pointer-events: none;
}
.q-hint {
  font-family: var(--caps);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Result
   -------------------------------------------------------------------------- */

.result {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 48px) 0 80px;
  animation: result-in 0.7s var(--ease) both;
}
@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.result-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.result-eyebrow {
  margin: 0 0 4px;
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.result-emblem {
  position: relative;
  width: clamp(150px, 26vw, 210px);
  margin: 6px auto 0;
}
.result-emblem::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--sin-color, var(--gold));
  filter: blur(52px);
  opacity: 0.26;
}
.result-emblem img {
  position: relative;
  width: 100%;
  height: auto;
  animation: emblem-in 1.2s var(--ease) both;
}
@keyframes emblem-in {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(-6deg);
  }
}
.result-sin {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 6.6rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #f8ecd0 5%, var(--sin-color, var(--gold)) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}
.result-archetype {
  margin: 12px 0 0;
  font-family: var(--caps);
  font-size: clamp(11px, 1.6vw, 13px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.result-tagline {
  max-width: 44ch;
  margin: 18px auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--gold-bright);
}
.result-combo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 22px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.result-combo b {
  color: var(--gold);
  font-weight: 600;
}

.score-card {
  margin-top: clamp(34px, 6vh, 56px);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.score-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 20px;
}
.score-head h3 {
  font-size: 1.35rem;
}
.score-head span {
  font-size: 0.75rem;
  color: var(--muted);
}
.score-head .badge {
  font-family: var(--caps);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 5px 10px;
}
.bars {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bar-row {
  --c: var(--gold);
  display: grid;
  grid-template-columns: 74px 1fr 38px;
  align-items: center;
  gap: 12px;
}
.bar-row .name {
  font-family: var(--caps);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
}
.bar-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}
.bar-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, #000), var(--c));
  transition: width 1.1s var(--ease);
}
.bar-row .pct {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--muted);
  text-align: right;
}
.bar-row:first-child .name {
  color: var(--sin-color);
}
.bar-row:first-child .pct {
  color: var(--bone);
}
.score-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.6;
}

.result-body {
  max-width: 720px;
  margin: clamp(38px, 6vh, 64px) auto 0;
}
.result-body h3 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.result-body p {
  color: var(--bone-dim);
  font-size: 1.02rem;
  line-height: 1.7;
}
.result-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.6em;
  line-height: 0.8;
  padding: 0.1em 0.12em 0 0;
  color: var(--sin-color);
}

.duality {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (min-width: 700px) {
  .duality {
    grid-template-columns: 1fr 1fr;
  }
}
.duality > div {
  padding: 24px 26px;
  background: var(--ink-2);
}
.duality h4 {
  margin: 0 0 14px;
  font-family: var(--caps);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.duality ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.duality li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--bone-dim);
  line-height: 1.5;
}
.duality li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.52em;
  width: 5px;
  height: 5px;
  rotate: 45deg;
  border: 1px solid var(--sin-color, var(--gold));
}
.duality .cost li::before {
  border-color: rgba(210, 172, 99, 0.4);
  background: rgba(142, 27, 43, 0.25);
}

.practice {
  position: relative;
  margin-top: 40px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  background:
    radial-gradient(600px 260px at 0% 0%, color-mix(in srgb, var(--sin-color) 10%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
}
.practice .kicker {
  margin: 0 0 10px;
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.practice h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}
.practice p {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.96rem;
  max-width: 62ch;
}

.share {
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(30px, 5vh, 44px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.share h3 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.share > p:not(.share-note) {
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44ch;
}
.share-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone-dim);
  font-family: var(--caps);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.share-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.share-btn:hover {
  border-color: rgba(210, 172, 99, 0.5);
  color: var(--gold-bright);
  background: rgba(210, 172, 99, 0.05);
}
.share-btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0910;
}
.share-btn--primary:hover {
  background: var(--gold-bright);
  color: #0a0910;
}
.share > .share-note {
  max-width: 48ch;
  margin: 16px auto 0;
  font-size: 0.72rem;
  color: var(--muted-2);
}
.result-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  translate: -50% 20px;
  padding: 12px 20px;
  border: 1px solid rgba(210, 172, 99, 0.4);
  background: #121019;
  color: var(--bone);
  font-family: var(--caps);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.3s var(--ease);
}
.toast.is-on {
  opacity: 1;
  translate: -50% 0;
}

/* --------------------------------------------------------------------------
   Result challenge page (/r/…)
   -------------------------------------------------------------------------- */

.challenge {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--gutter);
  text-align: center;
  background:
    radial-gradient(800px 600px at 50% 20%, color-mix(in srgb, var(--sin-color) 16%, transparent), transparent 70%),
    var(--ink);
}
.challenge .emblem {
  width: min(220px, 42vw);
  margin-bottom: 8px;
  filter: drop-shadow(0 0 30px color-mix(in srgb, var(--sin-color) 22%, transparent));
}
.challenge .eyebrow {
  justify-content: center;
}
.challenge h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.95;
  margin: 0 0 6px;
  background: linear-gradient(180deg, #f8ecd0 5%, var(--sin-color) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.challenge .arche {
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 20px;
}
.challenge .quote {
  max-width: 34ch;
  margin: 0 auto 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: var(--gold-bright);
}
.challenge .copy {
  max-width: 46ch;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 0.92rem;
}
.challenge .btn {
  min-height: 54px;
  padding-inline: 30px;
}
.challenge .sub {
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--muted-2);
}
.challenge-back {
  margin-top: 26px;
  font-family: var(--caps);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.challenge-back:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.is-pending {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.is-pending.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .is-pending {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 620px) {
  .hero-lede {
    max-width: 34ch;
  }
  .hero-wheel {
    gap: 4px;
  }
  .sin-row {
    grid-template-columns: 34px 56px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 16px 2px;
  }
  .sin-row img {
    width: 56px;
    height: 56px;
  }
  .sin-name h3 {
    font-size: 1.55rem;
  }
  .sin-line {
    font-size: 0.86rem;
  }
  .sin-facts {
    display: none;
  }
  .answer-panel {
    padding: 26px 20px;
  }
  .quiz-top {
    padding-top: 14px;
  }
  .quiz-brand span {
    display: none;
  }
  .quiz-progress-wrap {
    max-width: none;
  }
  .option {
    min-height: 54px;
    padding: 12px 14px;
    gap: 12px;
  }
  .q-hint {
    display: none;
  }
  .bar-row {
    grid-template-columns: 62px 1fr 32px;
    gap: 9px;
  }
  .result-emblem {
    width: 150px;
  }
  .share-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .toast {
    bottom: 18px;
  }
}

/* ==========================================================================
   Additions: hero sub-block, virtues table, accuracy, sources, quiz aura
   ========================================================================== */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.is-hidden {
  display: none !important;
}

/* virtues table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  -webkit-overflow-scrolling: touch;
}
.virtue-table .td-label {
  display: none;
}
.virtue-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}
.virtue-table thead th {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--caps);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(210, 172, 99, 0.03);
}
.virtue-table tbody th {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--bone);
  white-space: nowrap;
}
.virtue-table tbody td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--bone-dim);
  vertical-align: top;
}
.virtue-table tbody td:nth-child(2) {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
}
.virtue-table tbody tr:last-child th,
.virtue-table tbody tr:last-child td {
  border-bottom: 0;
}
.virtue-table tbody tr:hover {
  background: rgba(210, 172, 99, 0.035);
}

/* accuracy */
.accuracy-grid {
  display: grid;
  gap: clamp(32px, 5vw, 52px);
}
@media (min-width: 920px) {
  .accuracy-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}
.accuracy-copy p {
  color: var(--bone-dim);
  font-size: 1.01rem;
}
.accuracy-copy a {
  color: var(--gold);
  text-decoration-color: rgba(210, 172, 99, 0.35);
}
.can-cant {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}
@media (min-width: 620px) {
  .can-cant {
    grid-template-columns: 1fr 1fr;
  }
}
.can-cant > div {
  padding: 24px;
  background: var(--ink-2);
}
.can-cant h3 {
  margin: 0 0 16px;
  font-family: var(--caps);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.can-cant ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.can-cant li {
  position: relative;
  padding-left: 17px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--bone-dim);
}
.can-cant li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.48em;
  width: 5px;
  height: 5px;
  rotate: 45deg;
  border: 1px solid var(--gold);
}
.can-cant .cannot li::before {
  border-color: rgba(209, 72, 47, 0.55);
  background: rgba(209, 72, 47, 0.18);
}

/* after the result */
.after-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}
@media (min-width: 820px) {
  .after-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.after-list li {
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--ink);
}
.after-list .num {
  font-family: var(--caps);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.after-list h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}
.after-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* sources */
.sources {
  border-top: 1px solid var(--line-soft);
}
.sources-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
@media (min-width: 900px) {
  .sources-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
.sources h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 18px;
}
.sources p {
  color: var(--bone-dim);
  font-size: 0.96rem;
}
.sources .fine {
  color: var(--muted-2);
  font-size: 0.78rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  margin-top: 20px;
}
.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.source-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.source-list a {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.25s;
}
.source-list a:hover {
  color: var(--gold);
}
.source-list span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* quiz aura */
.quiz-aura {
  position: fixed;
  top: -18%;
  left: 50%;
  z-index: 0;
  width: min(920px, 132vw);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  transition: background-color 1.2s var(--ease);
}
.quiz-shell {
  position: relative;
  z-index: 1;
}
.combo-line {
  max-width: 46ch;
  margin: 12px auto 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.second-note {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--muted);
}
.second-note b {
  color: var(--gold);
  font-weight: 500;
}

/* hero mobile refinements */
@media (max-width: 620px) {
  .hero-title {
    font-size: clamp(2.9rem, 14vw, 4.6rem);
  }
  .hero-sub {
    font-size: 1.2rem;
  }
  .hero-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }
}

/* challenge page + 404 */
.challenge {
  position: relative;
}
.challenge-brand {
  position: absolute;
  top: 26px;
  left: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--caps);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.challenge-brand svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.challenge-brand:hover {
  color: var(--gold);
}
.notfound {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter);
  text-align: center;
  gap: 4px;
}
.notfound h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
  margin-bottom: 20px;
}
.notfound h1 em {
  font-style: italic;
  color: var(--gold);
}
.notfound p {
  max-width: 40ch;
  color: var(--muted);
  margin-bottom: 28px;
}


/* sample question */
.sample {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(34px, 5vw, 56px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(139, 107, 177, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent);
}
@media (min-width: 900px) {
  .sample {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
  }
}
.sample-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.sample-scene {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--bone);
  max-width: 30ch;
}
.sample-prompt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0;
}
.sample-options {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.sample-options li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--bone-dim);
}
.sample-options li span {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 172, 99, 0.28);
  font-family: var(--caps);
  font-size: 8px;
  color: var(--gold);
}
.sample-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}
.sample-foot p {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.55;
}
.sample-foot .btn {
  flex: none;
}

/* very small phones */
@media (max-width: 380px) {
  .brand span {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .head-cta {
    padding: 8px 12px;
    font-size: 9px;
  }
  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    justify-content: center;
    text-align: center;
  }
  .eyebrow--center::before,
  .eyebrow--center::after {
    display: none;
  }
  .hero-meta {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .hero-lede {
    font-size: 0.98rem;
  }
}


/* --------------------------------------------------------------------------
   Final polish — depth, frame, micro-detail
   -------------------------------------------------------------------------- */

.answer-panel,
.sample,
.method,
.practice,
.score-card,
.table-scroll {
  box-shadow:
    inset 0 1px 0 rgba(246, 227, 174, 0.055),
    0 50px 120px -80px rgba(0, 0, 0, 0.95);
}

.quiz::before {
  content: "";
  position: fixed;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(210, 172, 99, 0.09);
  pointer-events: none;
}
@media (max-width: 620px) {
  .quiz::before {
    inset: 7px;
  }
}

.bar-track i {
  box-shadow: 0 0 16px color-mix(in srgb, var(--c) 32%, transparent);
}




/* responsive sin/virtue table: stacked cards below laptop width */
@media (max-width: 1024px) {
  .virtue-table {
    min-width: 0;
  }
  .virtue-table thead {
    display: none;
  }
  .virtue-table tbody,
  .virtue-table tr,
  .virtue-table th,
  .virtue-table td {
    display: block;
  }
  .virtue-table tbody tr {
    padding: 20px;
    border-bottom: 1px solid var(--line-soft);
  }
  .virtue-table tbody tr:last-child {
    border-bottom: 0;
  }
  .virtue-table tbody tr:hover {
    background: transparent;
  }
  .virtue-table tbody th {
    padding: 0 0 8px;
    border-bottom: 0;
    font-size: 1.55rem;
  }
  .virtue-table tbody td {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    border-bottom: 0;
    white-space: normal;
  }
  .virtue-table .td-label {
    display: block;
    padding-top: 3px;
    font-family: var(--caps);
    font-size: 7.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .virtue-table tbody td:nth-child(2) {
    white-space: normal;
  }
}

/* long CTA labels on very small phones */
@media (max-width: 380px) {
  .closing h2 {
    font-size: 2rem;
  }
  .closing .btn,
  .sample .btn,
  .challenge .btn {
    gap: 8px;
    padding-inline: 16px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .closing .btn-arrow,
  .sample .btn-arrow,
  .challenge .btn-arrow {
    width: 26px;
    height: 26px;
  }
}
