/* trip.css — the "Plan your trip" journey (plan/). His fonts (Fraunces + Figtree), his cream / forest palette, the gold CTA
   from the home page. Everything is prefixed tj- so nothing else on the site can be touched by it. */
.tj-page {
  --tj-cream: #f3efe6; --tj-card: #fffbf5; --tj-ink: #1a221c; --tj-muted: #6e736c; --tj-line: #ddd6c8; --tj-line2: #e7e1d4;
  --tj-forest: #243d32; --tj-moss: #3d5c4e; --tj-gold: #e0a33b; --tj-gold2: #ebb455; --tj-sand: #ebe5d8;
  --tj-ease: cubic-bezier(0.22, 1, 0.36, 1);
  padding: 1rem 0 0;
}
.tj-wrap { width: min(76rem, calc(100% - 2rem)); margin-inline: auto; display: grid; gap: 1rem; }
.tj-main { min-width: 0; padding-bottom: 2.5rem; }

/* photo: a band on phones, a tall sticky picture beside the questions on desktop */
.tj-photo { position: relative; height: 7rem; overflow: hidden; border-radius: 1.25rem; background: #d8d1c2; }
.tj-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; outline: none; animation: tj-fade 500ms var(--tj-ease); }
.tj-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(26 34 28 / 0.55)); pointer-events: none; }
.tj-credit { position: absolute; z-index: 1; left: 0.8rem; right: 0.8rem; bottom: 0.4rem; overflow: hidden; font-size: 0.62rem; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; color: rgb(255 255 255 / 0.9); text-shadow: 0 1px 2px rgb(0 0 0 / 0.5); }
.tj-credit:hover { text-decoration: underline; }
@keyframes tj-fade { from { opacity: 0; } to { opacity: 1; } }

.tj-eyebrow { margin: 0.25rem 0 0.9rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tj-muted); }

/* progress */
.tj-progress__top { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; font-weight: 600; color: var(--tj-muted); }
.tj-progress__top span:last-child { color: var(--tj-forest); }
.tj-bar { height: 0.4rem; margin-top: 0.5rem; overflow: hidden; border-radius: 99px; background: #e2dbcc; }
.tj-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tj-forest), var(--tj-moss)); transition: width 450ms var(--tj-ease); }

/* the question card */
.tj-card { margin-top: 1.1rem; padding: 1.35rem 1.1rem 1.5rem; border-radius: 1.6rem; background: var(--tj-card); box-shadow: 0 0 0 1px rgb(26 34 28 / 0.05), 0 18px 48px -26px rgb(26 34 28 / 0.28); }
.tj-q { margin: 0; font-family: var(--font-display); font-size: clamp(1.85rem, 6vw, 2.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; color: var(--tj-ink); outline: none; }
.tj-hint { margin: 0.55rem 0 0; max-width: 36rem; font-size: 0.97rem; color: var(--tj-muted); }
.tj-body { margin-top: 1.4rem; }
.tj-mt { margin-top: 1.8rem; }
.tj-h3 { margin: 0; font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--tj-ink); }
.tj-sub { display: block; margin-top: 0.15rem; font-size: 0.84rem; line-height: 1.4; color: var(--tj-muted); }
.tj-label { display: block; font-weight: 600; font-size: 0.97rem; color: var(--tj-ink); }
.tj-note { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--tj-muted); }
.tj-note b { color: var(--tj-ink); font-weight: 600; }
.tj-note a { color: var(--tj-forest); text-decoration: underline; text-underline-offset: 0.18em; }
.tj-err { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 0.9rem; border: 1px solid #e9c3b3; background: #f7e7df; color: #7a2e18; font-size: 0.92rem; font-weight: 500; }
.tj-err[hidden] { display: none; }
.tj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* icons (Phosphor duotone: the light layer is .d) */
.tj-page .ic { width: 1.5rem; height: 1.5rem; flex: none; }
.tj-page .ic .d { opacity: 0.22; }

/* tiles */
.tj-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 0.8rem; }
.tj-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; min-width: 0; min-height: 7rem;
  padding: 0.95rem 0.95rem 1rem; border: 1.5px solid var(--tj-line); border-radius: 1.15rem; background: var(--tj-card); color: var(--tj-ink);
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms var(--tj-ease), box-shadow 160ms ease;
}
.tj-tile:hover { border-color: #bdb39f; transform: translateY(-1px); box-shadow: 0 10px 22px -16px rgb(26 34 28 / 0.45); }
.tj-tile:active { transform: scale(0.985); }
.tj-page button:focus-visible, .tj-page a:focus-visible, .tj-page input:focus-visible, .tj-page select:focus-visible, .tj-page textarea:focus-visible { outline: 3px solid var(--tj-gold); outline-offset: 2px; }
.tj-tile__ic { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; flex: none; border-radius: 99px; background: var(--tj-sand); color: var(--tj-forest); transition: inherit; }
.tj-tile__txt { display: block; min-width: 0; }
.tj-tile__t { display: block; font-size: 0.98rem; font-weight: 600; line-height: 1.22; }
.tj-tile__h { display: block; margin-top: 0.2rem; font-size: 0.8rem; line-height: 1.32; color: var(--tj-muted); }
.tj-tile__tick { position: absolute; top: 0.6rem; right: 0.6rem; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 99px; background: var(--tj-gold); color: var(--tj-ink); opacity: 0; transform: scale(0.5); transition: opacity 160ms ease, transform 220ms var(--tj-ease); }
.tj-tile__tick .ic { width: 0.85rem; height: 0.85rem; }
.tj-tile.is-on { border-color: var(--tj-forest); background: var(--tj-forest); color: #f3efe6; box-shadow: 0 12px 26px -16px rgb(36 61 50 / 0.85); }
.tj-tile.is-on .tj-tile__ic { background: rgb(243 239 230 / 0.13); color: var(--tj-gold); }
.tj-tile.is-on .ic .d { opacity: 0.4; }
.tj-tile.is-on .tj-tile__h { color: rgb(243 239 230 / 0.75); }
.tj-tile.is-on .tj-tile__tick { opacity: 1; transform: none; }

/* tile shapes */
.tj-tile--row, .tj-tile--act, .tj-tile--mood, .tj-tile--level { flex-direction: row; align-items: center; min-height: 4.4rem; gap: 0.75rem; padding-right: 2.2rem; }
.tj-tile--act { min-height: 4rem; padding: 0.65rem 2rem 0.65rem 0.7rem; }
.tj-tile--act .tj-tile__ic { width: 2.3rem; height: 2.3rem; }
.tj-tile--act .ic { width: 1.3rem; height: 1.3rem; }
.tj-tile--act .tj-tile__t { font-size: 0.9rem; font-weight: 600; }
.tj-tile--act { padding-right: 1.55rem; gap: 0.6rem; }
.tj-tile--act .tj-tile__tick { top: 0.4rem; right: 0.4rem; width: 1.1rem; height: 1.1rem; }
.tj-tile--act .tj-tile__tick .ic { width: 0.68rem; height: 0.68rem; }
.tj-tile--plain { min-height: 3.6rem; justify-content: center; padding-right: 2.2rem; }
.tj-tile--plain .tj-tile__tick { top: 50%; margin-top: -0.72rem; }
.tj-tiles--three, .tj-tiles--levels { grid-template-columns: 1fr; }
.tj-tiles--three .tj-tile { flex-direction: row; align-items: center; min-height: 4.4rem; gap: 0.75rem; padding-right: 2.4rem; }
.tj-tiles--three .tj-tile__tick { top: 50%; margin-top: -0.72rem; }
.tj-tile--level .tj-stars { display: flex; gap: 0.1rem; min-width: 5.6rem; color: var(--tj-gold); }
.tj-tile--level .tj-stars .ic { width: 1.05rem; height: 1.05rem; }
.tj-tile--level .tj-tile__tick, .tj-tile--mood .tj-tile__tick, .tj-tile--row .tj-tile__tick { top: 50%; margin-top: -0.72rem; }

/* chips */
.tj-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.tj-chip {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.8rem; padding: 0 1.05rem; border: 1.5px solid var(--tj-line); border-radius: 99px;
  background: var(--tj-card); color: var(--tj-ink); font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 150ms ease;
}
.tj-chip:hover { border-color: #bdb39f; }
.tj-chip .ic { width: 1.15rem; height: 1.15rem; color: var(--tj-moss); }
.tj-chip.is-on { border-color: var(--tj-forest); background: var(--tj-forest); color: #f3efe6; }
.tj-chip.is-on .ic { color: var(--tj-gold); }
.tj-chips--avoid .tj-chip { min-height: 2.5rem; font-size: 0.84rem; padding: 0 0.85rem; }
.tj-chips--avoid .tj-chip.is-on { border-color: #a2543b; background: #f5e4dc; color: #6b2e1c; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.tj-chips--avoid .tj-chip.is-on .ic { color: #a2543b; }
.tj-chips--months .tj-chip { min-width: 4.6rem; justify-content: center; }
.tj-chips--money .tj-chip { font-family: var(--font-display); font-size: 1.05rem; min-width: 5rem; justify-content: center; }
.tj-chips--money .tj-chip[data-val="unsure"] { font-family: var(--font-sans); font-size: 0.9rem; }

/* number pickers */
.tj-panel { margin-top: 0.4rem; padding: 0.1rem 1rem; border-radius: 1.2rem; background: var(--tj-cream); }
.tj-count-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid #e2dbcc; }
.tj-count-row:last-child { border-bottom: 0; }
.tj-count { display: flex; align-items: center; gap: 0.3rem; flex: none; }
.tj-count button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid #cfc7b6; border-radius: 99px; background: var(--tj-card); color: var(--tj-forest); cursor: pointer; }
.tj-count button:hover:not(:disabled) { border-color: var(--tj-forest); }
.tj-count button .ic { width: 1.1rem; height: 1.1rem; }
.tj-count input { width: 3.4rem; border: 0; background: transparent; text-align: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--tj-ink); -moz-appearance: textfield; appearance: textfield; }
.tj-page .tj-count input:focus-visible { outline: 2px solid var(--tj-gold); outline-offset: 1px; border-radius: 0.7rem; }
.tj-count input:focus:not(:focus-visible) { outline: none; }
.tj-count input::-webkit-outer-spin-button, .tj-count input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tj-quick { margin-top: 0.9rem; }
.tj-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: 0.55rem; margin-top: 0.8rem; }
.tj-age { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--tj-muted); }
.tj-age select { min-height: 3rem; padding: 0 0.7rem; border: 1.5px solid var(--tj-line); border-radius: 0.85rem; background: var(--tj-card); color: var(--tj-ink); font: inherit; font-size: 1rem; }

/* text inputs */
.tj-field { margin-top: 1.15rem; }
.tj-field .tj-label { margin-bottom: 0.4rem; }
.tj-field .tj-sub { margin: -0.25rem 0 0.45rem; }
.tj-input { width: 100%; min-height: 3.1rem; padding: 0.7rem 0.9rem; border: 1.5px solid var(--tj-line); border-radius: 0.9rem; background: var(--tj-card); color: var(--tj-ink); font: inherit; font-size: 1rem; transition: border-color 150ms ease, box-shadow 150ms ease; }
textarea.tj-input { min-height: 0; resize: vertical; line-height: 1.45; }
.tj-input:focus { outline: none; border-color: var(--tj-forest); box-shadow: 0 0 0 3px rgb(36 61 50 / 0.14); }
.tj-input::placeholder { color: #a4a79f; }
input[type="date"].tj-input { appearance: none; -webkit-appearance: none; display: block; min-width: 0; }
.tj-grid2 { display: grid; gap: 0 1rem; }
.tj-grid2 > .tj-field:first-child { margin-top: 0; }
.tj-grid2.tj-mt > .tj-field { margin-top: 0; }
.tj-grid2.tj-mt > .tj-field + .tj-field { margin-top: 1rem; }
.tj-money { display: flex; align-items: center; gap: 0.35rem; max-width: 22rem; min-height: 3.1rem; margin-top: 0.7rem; padding: 0 1rem; border: 1.5px solid var(--tj-line); border-radius: 99px; background: var(--tj-card); }
.tj-money.is-on, .tj-money:focus-within { border-color: var(--tj-forest); }
.tj-money span { font-family: var(--font-display); font-size: 1.2rem; }
.tj-money .tj-money__suf { font-family: var(--font-sans); font-size: 0.85rem; color: var(--tj-muted); white-space: nowrap; }
.tj-page .tj-money input:focus-visible { outline: none; }
.tj-money:focus-within { box-shadow: 0 0 0 3px rgb(224 163 59 / 0.45); }
.tj-money input::placeholder { font-family: var(--font-sans); font-size: 0.95rem; color: #a4a79f; }
.tj-money input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-display); font-size: 1.2rem; color: var(--tj-ink); outline: none; }

/* thriller meter */
.tj-meter__now { margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--tj-muted); }
.tj-meter__now b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--tj-ink); }
.tj-meter__bars { display: flex; align-items: flex-end; gap: 0.45rem; height: 4.4rem; margin-top: 0.8rem; }
.tj-meter__bars button { position: relative; flex: 1; border: 0; border-radius: 0.75rem; background: #e2dbcc; cursor: pointer; transition: background-color 150ms ease, height 250ms var(--tj-ease); }
.tj-meter__bars button:nth-child(1) { height: 1.9rem; } .tj-meter__bars button:nth-child(2) { height: 2.5rem; } .tj-meter__bars button:nth-child(3) { height: 3.1rem; }
.tj-meter__bars button:nth-child(4) { height: 3.7rem; } .tj-meter__bars button:nth-child(5) { height: 4.4rem; }
.tj-meter__bars button span { position: absolute; left: 0; right: 0; bottom: 0.3rem; font-size: 0.72rem; font-weight: 700; color: rgb(26 34 28 / 0.45); }
.tj-meter__bars button.on { background: var(--tj-moss); }
.tj-meter__bars button.on span { color: rgb(243 239 230 / 0.8); }
.tj-meter__bars button.now { background: var(--tj-forest); box-shadow: 0 0 0 3px rgb(224 163 59 / 0.6); }
.tj-meter__ends { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.75rem; color: var(--tj-muted); }
.tj-count-note { margin: 1rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--tj-moss); }

/* day by day */
.tj-days { display: grid; gap: 0.6rem; }
.tj-day { display: flex; flex-direction: column; align-items: stretch; gap: 0.55rem; padding: 0.75rem 0.8rem; border-radius: 1.1rem; background: var(--tj-cream); }
.tj-day__l b { display: inline; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.tj-day__l span { display: inline; margin-left: 0.5rem; font-size: 0.82rem; color: var(--tj-muted); }
.tj-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; padding: 0.25rem; border-radius: 99px; background: #e5ded0; }
.tj-seg button { display: flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 2.6rem; padding: 0 0.6rem; border: 0; border-radius: 99px; background: transparent; color: #4a5249; font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.tj-seg button .ic { width: 1.1rem; height: 1.1rem; }
.tj-seg button:hover { background: rgb(255 251 245 / 0.6); }
.tj-seg button.is-on { background: var(--tj-forest); color: #f3efe6; box-shadow: 0 6px 14px -8px rgb(36 61 50 / 0.8); }
.tj-seg button.is-on .ic { color: var(--tj-gold); }
.tj-legend { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin: 0.8rem 0 0; font-size: 0.8rem; color: var(--tj-muted); }
.tj-legend b { color: var(--tj-ink); font-weight: 600; }

/* bottom bar: sticky on phones so Continue is always under the thumb */
.tj-nav { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 0.5rem; padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom)); background: linear-gradient(rgb(243 239 230 / 0), var(--tj-cream) 28%); }
.tj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.15rem; padding: 0 1.3rem; border: 0; border-radius: 99px; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background-color 150ms ease, transform 150ms var(--tj-ease); }
.tj-btn .ic { width: 1.15rem; height: 1.15rem; }
.tj-btn--go { flex: 1; background: var(--tj-gold); color: var(--tj-ink); box-shadow: 0 10px 24px -14px rgb(160 110 20 / 0.9); }
.tj-btn--go:hover { background: var(--tj-gold2); }
.tj-btn--go:active { transform: scale(0.98); }
.tj-btn--go:disabled { opacity: 0.6; cursor: progress; }
.tj-btn--ghost { background: var(--tj-card); color: var(--tj-ink); box-shadow: inset 0 0 0 1.5px #cfc7b6; }
.tj-btn--ghost:hover:not(:disabled) { background: var(--tj-sand); }
.tj-btn--ghost:disabled { opacity: 0.4; cursor: default; }

.tj-soft { margin: 0.6rem 0 0; padding: 0.65rem 0.9rem; border-radius: 0.8rem; background: #eef1ea; color: var(--tj-moss); font-size: 0.88rem; }
.tj-chips--basis .tj-chip { font-weight: 600; }

/* "Your trip": one compact card, groups with their own Edit links */
.tj-sum { border: 1.5px solid #e6dfd1; border-radius: 1.1rem; background: var(--tj-card); }
.tj-sum__g { padding: 0.8rem 1rem 0.75rem; border-top: 1px solid var(--tj-line2); }
.tj-sum__g:first-child { border-top: 0; }
.tj-sum__g header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.1rem 0.8rem; }
.tj-sum__g h2 { margin: 0; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tj-moss); }
.tj-sum__edit { font-size: 0.8rem; color: var(--tj-muted); }
.tj-sum__edit i { font-style: normal; padding: 0 0.1rem; }
.tj-sum .tj-edit { min-height: 2rem; padding: 0 0.3rem; margin: 0; font-size: 0.82rem; }
.tj-sum dl { margin: 0.25rem 0 0; display: grid; gap: 0.15rem; }
.tj-sum dl > div { display: grid; grid-template-columns: 7.4rem 1fr; gap: 0.6rem; padding: 0.12rem 0; }
.tj-sum dt { font-size: 0.78rem; line-height: 1.45; color: var(--tj-muted); }
.tj-sum dd { margin: 0; font-size: 0.88rem; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.tj-sum .tj-sumdays { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.45rem 0 0.3rem; }
.tj-sum .tj-sumdays li { gap: 0.35rem; padding: 0.25rem 0.3rem 0.25rem 0.55rem; border-radius: 99px; background: var(--tj-cream); }
.tj-sum .tj-sumdays b { font-size: 0.9rem; }
.tj-sum .tj-sumdays span { flex: none; font-size: 0.72rem; }
.tj-sum .tj-sumdays em { font-size: 0.72rem; padding: 0.1rem 0.5rem; }

/* "Your trip" summary (older layout, kept for the section styles) */
.tj-review { display: grid; gap: 0.8rem; }
.tj-sec { padding: 0.85rem 1rem 0.9rem; border: 1.5px solid #e6dfd1; border-radius: 1.1rem; background: var(--tj-card); }
.tj-sec header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tj-sec h2 { margin: 0; font-family: var(--font-sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tj-moss); }
.tj-edit { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2.5rem; padding: 0 0.7rem; margin-right: -0.5rem; border: 0; border-radius: 99px; background: transparent; color: var(--tj-forest); font: inherit; font-size: 0.86rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.tj-edit:hover { background: var(--tj-sand); }
.tj-edit .ic { width: 1rem; height: 1rem; }
.tj-sec dl { margin: 0.3rem 0 0; }
.tj-sec dl > div { display: grid; gap: 0.05rem; padding: 0.45rem 0; border-top: 1px dashed var(--tj-line2); }
.tj-sec dl > div:first-child { border-top: 0; }
.tj-sec dt { font-size: 0.8rem; color: var(--tj-muted); }
.tj-sec dd { margin: 0; font-size: 0.95rem; font-weight: 500; overflow-wrap: anywhere; }
.tj-sec--days { background: var(--tj-cream); border-color: var(--tj-cream); }
.tj-sumdays { display: grid; gap: 0.35rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.tj-sumdays li { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.7rem; border-radius: 0.8rem; background: var(--tj-card); }
.tj-sumdays b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.tj-sumdays span { flex: 1; min-width: 0; font-size: 0.82rem; color: var(--tj-muted); }
.tj-sumdays em, .pace-pill { padding: 0.2rem 0.7rem; border-radius: 99px; font-style: normal; font-size: 0.8rem; font-weight: 700; }
.pace-full { background: var(--tj-forest); color: #f3efe6; }
.pace-easy { background: var(--tj-moss); color: #f3efe6; }
.pace-free { background: var(--tj-cream); color: var(--tj-ink); box-shadow: inset 0 0 0 1.5px #bdb39f; }

/* thank-you */
.tj-thanks { padding-top: 2rem; padding-bottom: 2rem; }
.tj-thanks__ic { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 1.2rem; border-radius: 99px; background: var(--tj-gold); color: var(--tj-ink); }
.tj-thanks__ic .ic { width: 1.8rem; height: 1.8rem; }
.tj-thanks__lead { margin: 0.9rem 0 0; max-width: 34rem; font-size: 1.15rem; line-height: 1.5; color: var(--tj-ink); }
.tj-thanks .tj-btn--go { flex: none; margin-top: 1.2rem; }

@media (min-width: 640px) {
  .tj-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tj-tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tj-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tj-tiles--three, .tj-tiles--levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tj-tiles--three .tj-tile, .tj-tiles--levels .tj-tile { flex-direction: column; align-items: flex-start; min-height: 8rem; padding-right: 1rem; }
  .tj-tiles--three .tj-tile__tick, .tj-tiles--levels .tj-tile__tick { top: 0.6rem; margin-top: 0; }
  .tj-tile--level .tj-stars { min-width: 0; }
  .tj-tiles--4 .tj-tile--act { flex-direction: column; align-items: flex-start; min-height: 6.4rem; padding: 0.8rem 0.8rem 0.85rem; }
  .tj-tiles--4 .tj-tile--act .tj-tile__tick { top: 0.55rem; right: 0.55rem; width: 1.3rem; height: 1.3rem; }
  .tj-grid2 { grid-template-columns: 1fr 1fr; }
  .tj-grid2.tj-mt > .tj-field + .tj-field { margin-top: 0; }
  .tj-grid2 > .tj-field { margin-top: 0; }
  .tj-day { flex-direction: row; align-items: center; justify-content: space-between; }
  .tj-day__l b { display: block; }
  .tj-day__l span { display: block; margin-left: 0; }
  .tj-seg { min-width: 20rem; }
  .tj-sec dl > div { grid-template-columns: 10.5rem 1fr; gap: 1rem; }
  .tj-card { padding: 2rem 2rem 2.1rem; }
  .tj-nav { position: static; padding: 0; margin-top: 1.25rem; background: none; }
  .tj-btn--go { flex: none; min-width: 11rem; }
}
@media (min-width: 960px) {
  .tj-page { padding-top: 2rem; }
  .tj-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
  .tj-photo { position: sticky; top: 5.5rem; height: calc(100vh - 7.5rem); min-height: 30rem; max-height: 50rem; border-radius: 1.75rem; }
  .tj-photo img { object-position: center; }
  .tj-credit { font-size: 0.72rem; left: 1.1rem; bottom: 0.9rem; }
  .tj-eyebrow { margin-top: 0.4rem; }
}
/* The journey is a focused flow: the site footer comes back on the thank-you screen. */
body.tj-body-page:not(.tj-done) .footer { display: none; }
/* The Trip desk launcher would sit on top of Back / Continue; the journey is a focused flow, so it stays out of the way here. */
body.tj-body-page .hd-launch, body.tj-body-page .hd-contact { display: none; }
@media (max-width: 639px) {
  /* phones: the question and the first tiles above the fold. Photo is a slim strip after step 1, no eyebrow. */
  .tj-page { padding-top: 0.6rem; }
  .tj-wrap { gap: 0.6rem; }
  body:not(.tj-first) .tj-photo { height: 3.4rem; border-radius: 0.9rem; }
  body:not(.tj-first) .tj-photo::after { inset: 0; background: linear-gradient(rgb(26 34 28 / 0.05), rgb(26 34 28 / 0.5)); }
  .tj-photo { height: 6rem; }
  body:not(.tj-first) .tj-eyebrow { display: none; }
  .tj-eyebrow { margin: 0 0 0.5rem; }
  .tj-progress__top { font-size: 0.75rem; }
  .tj-bar { margin-top: 0.35rem; height: 0.32rem; }
  .tj-card { margin-top: 0.7rem; padding-top: 1.1rem; }
  .tj-q { font-size: 1.8rem; }
  .tj-hint { font-size: 0.92rem; margin-top: 0.4rem; }
  .tj-body { margin-top: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tj-page *, .tj-page *::before, .tj-page *::after { animation: none !important; transition: none !important; }
}
