/* ETD tests: archetypes, aesthetics, conflict style */
.tt { --tt-accent: #8B0E0E; --tt-on: #fff; --tt-gold: #B8975A; --tt-paper: #F8F6F1; --tt-ink: #0B0B0B; --tt-text: #1C1515; }

/* hero */
.tt-hero { position: relative; overflow: hidden; text-align: center; color: var(--tt-paper); background: var(--tt-ink); padding: 150px 24px 96px; }
.tt-hero::before { content: ""; position: absolute; inset: 0; background: var(--tt-hero-img, none) center / cover no-repeat; opacity: .5; pointer-events: none; }
.tt-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 65% 65% at 50% 45%, rgba(11,11,11,.74), rgba(11,11,11,.5) 70%, rgba(11,11,11,.86)); }
.tt-hero > * { position: relative; z-index: 1; }
.tt-eyebrow { font-family: var(--display); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--tt-gold); margin-bottom: 18px; }
.tt-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.04; max-width: 900px; margin: 0 auto 22px; }
.tt-hero h1 em { font-style: italic; color: color-mix(in srgb, var(--tt-accent) 55%, #fff); }
.tt-lead { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: rgba(248,246,241,.8); max-width: 660px; margin: 0 auto 26px; }
.tt-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tt-chip { font-family: var(--display); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(248,246,241,.75); border: 1px solid rgba(248,246,241,.25); border-radius: 999px; padding: 8px 14px; }
.tt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: all .2s; font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: inherit; border: 1px solid currentColor;
}
.tt-btn--main { background: var(--tt-accent); border-color: var(--tt-accent); color: var(--tt-on); }
.tt-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.tt-btn:focus-visible { outline: 2px solid var(--tt-gold); outline-offset: 3px; }
.tt-last { font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(248,246,241,.7); margin-top: 18px; }
.tt-last a { color: #E7C98E; }
.tt-note { font-family: var(--sans); font-size: 12.5px; line-height: 1.7; color: rgba(248,246,241,.55); max-width: 560px; margin: 26px auto 0; }

/* questions: full screen */
html.tt-lock, html.tt-lock body { overflow: hidden; }
.tt-play { display: none; }
.tt-play.is-on {
  display: block; position: fixed; inset: 0; z-index: 500; overflow-y: auto; color: var(--tt-paper);
  background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--tt-accent) 20%, transparent), transparent 65%), #0B0909;
  padding: calc(20px + env(safe-area-inset-top)) 18px 40px;
}
.tt-top { max-width: 640px; margin: 0 auto 26px; display: flex; align-items: center; gap: 12px; }
.tt-top__count { flex: 1; font-family: var(--display); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(248,246,241,.6); }
.tt-close { min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(248,246,241,.28); background: rgba(248,246,241,.05); color: var(--tt-paper); font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.tt-close:hover { border-color: var(--tt-gold); color: var(--tt-gold); }
.tt-progress { max-width: 640px; margin: 0 auto 36px; height: 4px; border-radius: 4px; background: rgba(248,246,241,.12); overflow: hidden; }
.tt-progress span { display: block; height: 100%; width: 0; background: var(--tt-accent); transition: width .35s ease; }
.tt-qwrap { max-width: 640px; margin: 0 auto; }
.tt-q:focus { outline: none; }
.tt-q { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4.4vw, 38px); line-height: 1.2; margin-bottom: 26px; }
.tt-opts { display: flex; flex-direction: column; gap: 10px; }
.tt-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; min-height: 60px; padding: 14px 18px;
  border-radius: 14px; background: rgba(248,246,241,.05); border: 1px solid rgba(248,246,241,.16); color: var(--tt-paper);
  font-family: var(--serif); font-size: 19px; line-height: 1.35; transition: border-color .15s, background .15s, transform .15s;
}
.tt-opt:hover { border-color: var(--tt-gold); background: rgba(248,246,241,.09); }
.tt-opt:focus-visible { outline: 2px solid var(--tt-gold); outline-offset: 2px; }
.tt-opt.is-picked { background: var(--tt-accent); border-color: var(--tt-accent); color: var(--tt-on); }
.tt-opt__n { flex: 0 0 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 11px; border: 1px solid currentColor; opacity: .7; }
.tt-nav { max-width: 640px; margin: 22px auto 0; display: flex; justify-content: space-between; gap: 10px; }
.tt-nav button { min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; background: none; border: 1px solid rgba(248,246,241,.2); color: rgba(248,246,241,.8); font-family: var(--display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.tt-nav button:disabled { opacity: .3; cursor: default; }
.tt-nav button:hover:not(:disabled) { border-color: var(--tt-gold); color: var(--tt-gold); }

/* result */
.tt-result { background: var(--tt-paper); color: var(--tt-text); padding: 80px 20px 90px; }
.tt-result[hidden] { display: none; }
.tt-res { max-width: 980px; margin: 0 auto; }
.tt-res__head { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin-bottom: 44px; }
.tt-res__img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 60px rgba(40,25,15,.3); display: block; }
.tt-res__intro .tt-eyebrow { color: color-mix(in srgb, var(--tt-accent) 75%, #000); }
.tt-res__name { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; margin-bottom: 12px; }
.tt-res__tag { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: #3b3232; margin-bottom: 20px; }
.tt-tie { font-family: var(--sans); font-size: 14px; color: #6b605c; margin-bottom: 16px; }
.tt-mix { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 6px 24px rgba(60,40,30,.06); margin-bottom: 22px; }
.tt-mix__t { font-family: var(--display); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #8a7d78; margin-bottom: 10px; }
.tt-mix__row { display: grid; grid-template-columns: 130px 1fr 44px; gap: 12px; align-items: center; margin: 7px 0; font-family: var(--serif); font-size: 17px; }
.tt-mix__bar { height: 8px; border-radius: 8px; background: rgba(28,21,21,.08); overflow: hidden; }
.tt-mix__bar span { display: block; height: 100%; border-radius: 8px; }
.tt-mix__pct { text-align: right; font-family: var(--display); font-size: 11px; color: #6b605c; }
.tt-res__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tt-res__actions .tt-btn:not(.tt-btn--main) { color: var(--tt-text); border-color: rgba(28,21,21,.3); }
.tt-friend { font-family: var(--serif); font-style: italic; font-size: 16px; color: #6b605c; margin-top: 12px; }
.tt-res__desc { font-family: var(--serif); font-size: 21px; line-height: 1.65; color: #2f2727; max-width: 760px; margin-bottom: 32px; }
.tt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.tt-block { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 24px rgba(60,40,30,.06); }
.tt-block h3 { font-family: var(--display); font-weight: 400; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--tt-accent) 75%, #000); margin-bottom: 10px; }
.tt-block p, .tt-block li { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: #3b3232; }
.tt-block ul { margin: 0; padding-left: 18px; }
.tt-callout { border-left: 3px solid var(--tt-accent); background: #fff; border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 14px 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.tt-callout small { display: block; font-family: var(--display); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #8a7d78; margin-bottom: 6px; }
.tt-callout--q { font-style: italic; border-left-color: var(--tt-gold); }
.tt-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.tt-link { display: block; text-decoration: none; color: var(--tt-text); background: #fff; border: 1px solid rgba(28,21,21,.1); border-radius: 14px; padding: 18px 20px; font-family: var(--serif); font-size: 20px; transition: border-color .2s, transform .2s; }
.tt-link:hover { border-color: var(--tt-accent); transform: translateY(-2px); }
.tt-link small { display: block; font-family: var(--display); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: #8a7d78; margin-bottom: 6px; }

/* all types (static, readable without taking the test) */
.tt-types { background: #F0EDE4; color: var(--tt-text); padding: 80px 20px; }
.tt-types__inner { max-width: 1000px; margin: 0 auto; }
.tt-types h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 46px); text-align: center; margin-bottom: 10px; }
.tt-types__lead { font-family: var(--serif); font-style: italic; font-size: 18px; color: #6b605c; text-align: center; max-width: 640px; margin: 0 auto 36px; }
.tt-types__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tt-type { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 24px rgba(60,40,30,.06); border-top: 3px solid var(--c, var(--tt-accent)); }
.tt-type h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.tt-type__tag { font-family: var(--serif); font-style: italic; font-size: 17px; color: #6b605c; margin-bottom: 10px; }
.tt-type p { font-family: var(--serif); font-size: 17px; line-height: 1.55; color: #3b3232; }
.tt-types__cta { text-align: center; margin-top: 34px; }
.tt-types__cta .tt-btn { color: var(--tt-on); }

/* more */
.tt-more { background: var(--tt-ink); color: var(--tt-paper); padding: 80px 20px; text-align: center; }
.tt-more h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 30px; }
.tt-more__grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.tt-more a { display: block; text-decoration: none; color: var(--tt-paper); border: 1px solid rgba(248,246,241,.14); border-radius: 12px; padding: 20px; transition: border-color .2s, transform .2s; }
.tt-more a:hover { border-color: var(--tt-gold); transform: translateY(-2px); }
.tt-more small { display: block; font-family: var(--display); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--tt-gold); margin-bottom: 8px; }
.tt-more b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }

@media (max-width: 800px) {
  .tt-res__head { grid-template-columns: 1fr; gap: 24px; }
  .tt-res__img { max-width: 280px; margin: 0 auto; }
  .tt-grid, .tt-links { grid-template-columns: 1fr; }
  .tt-more__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tt-hero { padding: 116px 18px 70px; }
  .tt-opt { font-size: 17.5px; min-height: 56px; padding: 12px 14px; }
  .tt-mix__row { grid-template-columns: 104px 1fr 40px; font-size: 16px; }
  .tt-result { padding: 56px 16px 70px; }
  .tt-res__desc { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .tt-progress span, .tt-opt, .tt-btn, .tt-link { transition: none; } }

/* sigil card: a drawn symbol instead of a picture */
.tt-res__img { aspect-ratio: 5 / 7; object-fit: cover; }
.tt-sigil {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  aspect-ratio: 5 / 7; border-radius: 14px; color: #F8F6F1; padding: 26px 18px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--c) 70%, #fff 8%), color-mix(in srgb, var(--c) 55%, #0B0B0B) 62%, #0B0909);
  box-shadow: 0 24px 60px rgba(40,25,15,.3);
}
.tt-sigil::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(248,246,241,.4); border-radius: 9px; pointer-events: none; }
.tt-sigil svg { width: 46%; height: auto; filter: drop-shadow(0 0 18px rgba(255,255,255,.35)); }
.tt-sigil__k { font-family: var(--display); font-size: 9px; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.tt-sigil__n { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.tt-sigil__s { font-family: var(--serif); font-style: italic; font-size: 17px; opacity: .8; }
.tt-sigil--big { width: 100%; max-width: 300px; }
.tt-sigil--big .tt-sigil__n { font-size: 36px; }
.tt-type__top { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.tt-type__top h3 { margin: 0; }
.tt-type__sub { font-family: var(--display); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: #8a7d78; }
.tt-type__ico { flex: 0 0 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--c); }
.tt-type__ico svg { width: 28px; height: 28px; }
.tt-type__img { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
@media (max-width: 800px) { .tt-sigil--big { max-width: 260px; margin: 0 auto; } }
