/* Custom Travel Websites page (local prototype). Uses BetterFlow's own tokens, components and typography from styles.css.
   Only what this page needs is added: the demonstration image, the "what could we create" rows,
   the gift section and the wishlist selector. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* screenshots you can enlarge */
.tw-shot { display: block; position: relative; cursor: zoom-in; color: inherit; text-decoration: none; }
.tw-shot img { display: block; width: 100%; height: auto; }
.tw-shot picture { display: contents; }
.tw-zoom { position: absolute; right: 10px; bottom: 10px; font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--white); padding: 6px 10px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .18s var(--ease), transform .18s var(--ease); pointer-events: none; }
.tw-shot:hover .tw-zoom, .tw-shot:focus-visible .tw-zoom { opacity: 1; transform: none; }
.device-phone-sm .tw-zoom { display: none; }
.tw-shot:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
@media (hover: none) { .mini-browser .tw-zoom { opacity: .92; transform: none; } }
.tw-hero-devices { max-width: 640px; margin-left: auto; }

/* demonstration */
.tw-featured { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.tw-banner { position: relative; height: clamp(220px, 34vw, 440px); background: #0f2a3a; }
.tw-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; display: block; }
.tw-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 22, 23, 0) 25%, rgba(20, 22, 23, .8) 70%, var(--ink) 100%); }
.tw-feat-head { margin-top: calc(-1 * clamp(70px, 9vw, 130px)); position: relative; z-index: 1; margin-bottom: 34px; }
.tw-feat-head h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.tw-feat-sum { color: var(--on-dark); font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin-top: 10px; max-width: 56ch; }
.tw-story { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tw-story-copy p { color: var(--on-dark); max-width: 58ch; margin-bottom: 14px; }
.tw-story-copy .tw-sig { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--orange); margin-top: 20px; }
.tw-facts { margin: 0; border-top: 1px solid var(--line-dark); }
.tw-facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.tw-facts dt { font: 500 .72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-dark); }
.tw-facts dd { margin: 0; color: var(--on-dark); }
.tw-note { margin-top: 36px; font-size: .88rem; color: var(--mute-dark); max-width: 82ch; }
.tw-note b { color: var(--white); }
.tw-chapters { margin-top: clamp(30px, 4vw, 56px); }
.tw-cap-h { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 750; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 16px; color: var(--white); }
.tw-sample { display: inline-block; font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(253, 103, 2, .5); border-radius: 999px; padding: 6px 12px; margin: 0 0 14px !important; }
.tw-more { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 !important; }
.tw-more-link { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; cursor: zoom-in; }
.tw-more-link:hover { color: var(--orange); }
.tw-gift-chapter { grid-template-columns: 1fr; gap: 28px; }
.tw-seq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.tw-seq li { display: grid; gap: 10px; }
.tw-step { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute-dark); }
.tw-seq .tw-shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); }
.tw-seq .tw-shot img { aspect-ratio: 16 / 10; object-fit: cover; }

/* what could we create for you */
.tw-choices { margin: 0; border-top: 1.5px solid var(--text); }
.tw-choice { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(16px, 3vw, 48px); padding: 22px 0; border-bottom: 1px solid var(--line); }
.tw-choice dt { font-family: var(--display); font-weight: 750; font-size: 1.25rem; letter-spacing: -.01em; }
.tw-choice dd { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.tw-was { color: var(--mute); font-size: .95rem; }
.tw-yours { font-weight: 500; position: relative; padding-left: 18px; }
.tw-yours::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--orange); }

/* give an adventure */
.tw-give-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tw-phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.tw-phones li { display: grid; gap: 10px; justify-items: center; }
.tw-phone { position: static; width: 100%; max-width: 230px; }
.tw-audiences { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line-dark); }
.tw-audiences li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: 2px; }
.tw-audiences b { font-family: var(--display); font-weight: 700; color: var(--white); }
.tw-audiences span { color: var(--mute-dark); font-size: .95rem; }

/* build your adventure */
.tw-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; color: var(--mute); margin: -24px 0 26px; }
.tw-legend b { color: var(--orange); }
.tw-grid { display: grid; grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) minmax(210px, 290px); gap: clamp(20px, 3vw, 44px); align-items: start; }
.tw-cats { display: grid; border-top: 1.5px solid var(--text); position: sticky; top: 84px; }
.tw-cat { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.tw-cat:hover { color: var(--orange); }
.tw-cat[aria-selected="true"] { color: var(--ink); box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; background: rgba(255, 255, 255, .55); }
.tw-cat small, .tw-count-badge { font: 600 .72rem/1 var(--mono); background: var(--ink); color: var(--white); border-radius: 999px; padding: 3px 8px; }
.tw-cat:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.tw-pages { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 34px); }
.tw-page { margin: 0 0 30px; padding: 0; min-width: 0; }
.tw-page fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tw-page:last-child { margin-bottom: 0; }
.tw-page[hidden] { display: none; }
.tw-page legend { padding: 0; font-family: var(--display); font-weight: 750; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.tw-page-i { color: var(--mute); margin-bottom: 14px; }
.tw-feats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tw-feats li { border-bottom: 1px solid var(--line); }
.tw-feat { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 4px; cursor: pointer; }
.tw-feat:hover { background: var(--paper); }
.tw-feat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tw-tick { width: 22px; height: 22px; margin-top: 2px; border: 2px solid var(--text); border-radius: 5px; background: var(--white); position: relative; }
.tw-tick::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(40deg) scale(0); transition: transform .14s var(--ease); }
.tw-feat input:checked + .tw-tick { background: var(--orange); border-color: var(--orange); }
.tw-feat input:checked + .tw-tick::after { transform: rotate(40deg) scale(1); }
.tw-feat input:focus-visible + .tw-tick { outline: 3px solid var(--orange); outline-offset: 3px; }
.tw-feat-t { display: grid; gap: 2px; }
.tw-feat-t b { font-weight: 700; }
.tw-feat-t span { color: var(--mute); font-size: .92rem; line-height: 1.45; }
.tw-mark { font: 600 .9rem/1 var(--mono); color: #6B675C; margin-top: 4px; }
.tw-wish { position: sticky; top: 84px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.tw-wish h3 { color: var(--white); font-size: 1.3rem; }
.tw-count { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.tw-picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tw-picked li { font-size: .92rem; padding-left: 16px; position: relative; }
.tw-picked li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--orange); }
.tw-empty { color: var(--mute-dark); font-size: .92rem; }

.tw-enquiry { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.tw-dream h3, .tw-fields h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; margin-bottom: 12px; }
.tw-dream > p { color: var(--mute); margin-bottom: 16px; }
.tw-dream textarea { min-height: 150px; }
.tw-promise { border-left: 3px solid var(--orange); padding-left: 14px; font-size: .92rem; margin-top: 16px; font-weight: 500; }
.tw-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 34px); }
.tw-fields h3 { grid-column: 1 / -1; margin-bottom: 0; }
.tw-fields .field > span { font-size: .88rem; font-weight: 600; }
.tw-fields .field em { font-style: normal; font-weight: 400; color: #5b5f61; }
.tw-fields .field input, .tw-fields .field select, .tw-fields .field textarea, .tw-dream .field textarea { color: var(--text); background: var(--paper); border-color: var(--line); }
.tw-dream .field > span { font-size: .88rem; font-weight: 600; }
.tw-dream .field em { font-style: normal; font-weight: 400; color: #5b5f61; }
.tw-enquiry .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tw-enquiry [hidden] { display: none !important; }

/* screenshot viewer */
.tw-lb { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: rgba(8, 9, 10, .94); color: var(--white); }
.tw-lb::backdrop { background: rgba(8, 9, 10, .94); }
.tw-lb[open] { display: grid; grid-template-rows: auto 1fr; }
.tw-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(14px, 3vw, 32px); border-bottom: 1px solid var(--line-dark); }
.tw-lb-cap { font-size: .95rem; margin: 0; flex: 1; min-width: 0; }
.tw-lb-btn { all: unset; box-sizing: border-box; cursor: pointer; font: 700 .9rem var(--body); padding: 10px 16px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; color: var(--white); }
.tw-lb-btn:hover { background: rgba(255, 255, 255, .12); }
.tw-lb-btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.tw-lb-btn[hidden] { display: none; }
.tw-lb-body { overflow: auto; padding: clamp(12px, 2.5vw, 32px); display: flex; justify-content: center; align-items: flex-start; }
.tw-lb-body img { display: block; width: auto; max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.tw-lb-body img.is-mobile { max-width: min(100%, 520px); }
.tw-lb-hint { font-size: .8rem; color: var(--mute-dark); margin: 0; }
body.tw-lb-open { overflow: hidden; }

@media (max-width: 1100px) {
  .tw-grid { grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); }
  .tw-wish { grid-column: 1 / -1; position: static; order: -1; }
  .tw-story, .tw-give-grid, .tw-enquiry { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tw-grid { grid-template-columns: 1fr; }
  .tw-cats { display: flex; overflow-x: auto; position: static; border-top: 0; gap: 6px; padding-bottom: 8px; }
  .tw-cat { flex: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; background: var(--white); }
  .tw-cat[aria-selected="true"] { box-shadow: none; background: var(--ink); color: var(--white); padding-left: 14px; }
  .tw-cat[aria-selected="true"] small { background: var(--orange); color: var(--ink); }
  .tw-choice { grid-template-columns: 1fr; gap: 10px; }
  .tw-choice dd { grid-template-columns: 1fr; gap: 6px; }
  .tw-seq { grid-template-columns: 1fr; }
  .tw-fields { grid-template-columns: 1fr; }
  .tw-facts > div { grid-template-columns: 6rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tw-tick::after, .tw-zoom { transition: none; } }

/* refinements after the browser review */
.tw-hero-devices { max-width: none; }
.tw-chapter { grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr); }
.tw-chapter.chapter--flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, .72fr); }
.tw-gift-chapter { grid-template-columns: 1fr; }
.tw-give .section-aside, .tw-featured .section-aside { color: var(--mute-dark); }
.tw-fields .field > span, .tw-dream .field > span { color: var(--text); }
@media (max-width: 1020px) { .tw-chapter, .tw-chapter.chapter--flip { grid-template-columns: 1fr; } }

/* a faithfully cropped capture is shown at its own proportions inside the phone frame (not stretched or padded) */
.tw-phone.is-cropped { aspect-ratio: auto; align-self: start; }
.tw-phone.is-cropped img { height: auto; object-fit: initial; }
.tw-phones li { align-content: start; }

/* pathways, inclusions and prices (version 6) */
.tw-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.tw-path { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.tw-path--bespoke { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.tw-path--bespoke h3, .tw-path--bespoke .tw-price, .tw-path--bespoke .tw-price b { color: var(--white); }
.tw-path-kicker { font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5b5f61; margin: 0; }
.tw-path--bespoke .tw-path-kicker { color: var(--mute-dark); }
.tw-path h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.tw-price { margin: 0; font-size: 1rem; line-height: 1.5; }
.tw-price b { font-family: var(--display); font-weight: 750; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.02em; color: var(--ink); }
.tw-path p { margin: 0; }
.tw-path-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.tw-path-list li { position: relative; padding-left: 16px; }
.tw-path-list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 2px; background: var(--orange); }
.tw-path-cta { margin-top: auto !important; padding-top: 6px; }
.tw-path--bespoke .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.tw-incl, .tw-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 60px); margin-top: clamp(30px, 4vw, 52px); }
.tw-incl h3, .tw-pay h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; margin: 0 0 12px; }
.tw-incl-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--text); }
.tw-incl-list li { padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.tw-incl-list--not li { color: #3c4042; }
.tw-incl-note { font-size: .88rem; color: #3c4042; margin: 12px 0 0; max-width: 62ch; }
.tw-pay-list { margin: 0; border-top: 1.5px solid var(--text); }
.tw-pay-list > div { display: grid; grid-template-columns: 11rem 1fr; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.tw-pay-list dt { font-weight: 700; }
.tw-pay-list dd { margin: 0; }
.tw-catalogue-note { margin: -8px 0 26px; max-width: 78ch; font-weight: 500; border-left: 3px solid var(--orange); padding-left: 14px; }
@media (max-width: 1000px) { .tw-path-grid { grid-template-columns: minmax(0, 1fr); } .tw-incl, .tw-pay { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .tw-pay-list > div { grid-template-columns: 1fr; gap: 2px; } }

.tw-fields .field em, .tw-dream .field em { opacity: 1; }

/* travel lifecycle and the post-travel possibilities (version 8) */
.tw-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: none; }
.tw-stage { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.tw-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--orange); opacity: .35; }
.tw-stage--during::before { opacity: .7; }
.tw-stage--after::before { opacity: 1; }
.tw-stage-n { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; color: #5b5f61; }
.tw-stage h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.tw-stage-lead { margin: 0; font-weight: 500; }
.tw-mem-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.tw-mem-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.tw-mem-card h3 { font-family: var(--display); font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
.tw-mem-card p { margin: 0; font-size: .92rem; line-height: 1.5; color: #3c4042; }
.tw-mem-n { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; color: var(--ink); background: var(--orange); border-radius: 999px; padding: 5px 9px; align-self: flex-start; }
.tw-mem-tag { font-family: var(--display); font-weight: 750; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -.02em; margin: 0 0 6px; }
.tw-own { margin-top: clamp(30px, 4vw, 52px); }
.tw-own h3 { font-family: var(--display); font-weight: 750; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; margin: 0 0 12px; }
@media (max-width: 1180px) { .tw-mem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .tw-stages { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tw-mem-grid { grid-template-columns: 1fr; } }
.tw-mem h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); text-wrap: balance; }
.tw-mem .tw-incl-note { margin-top: 4px; }
.tw-mem p:last-child { margin-top: 18px; }

/* the interactive journey planner (version 9) */
.tw-rail { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.tw-rail li { position: relative; }
.tw-rail a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-right-width: 0; }
.tw-rail li:first-child a { border-radius: 999px 0 0 999px; }
.tw-rail li:last-child a { border-radius: 0 999px 999px 0; border-right-width: 1px; }
.tw-rail a span { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; background: var(--orange); color: var(--ink); border-radius: 999px; padding: 5px 9px; }
.tw-rail a:hover { background: var(--paper); }
.tw-rail a:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.tw-plan-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.tw-psteps { display: grid; gap: clamp(16px, 2vw, 26px); min-width: 0; }
.tw-pstep { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(18px, 2.4vw, 30px); min-width: 0; }
.tw-pstep legend { padding: 0; font-family: var(--display); font-weight: 750; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.12; }
.tw-pstage { display: block; font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5b5f61; margin-bottom: 6px; }
.tw-phint { margin: 10px 0 14px; color: #3c4042; font-size: .94rem; max-width: 70ch; }
.tw-opts { display: grid; gap: 10px; margin-top: 14px; }
.tw-opts--post { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tw-opt { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); }
.tw-opt--start { grid-template-columns: 22px minmax(0, 1fr); }
.tw-opt:hover { border-color: var(--text); }
.tw-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tw-opt--start::before { content: ""; width: 20px; height: 20px; border: 2px solid var(--text); border-radius: 50%; background: var(--white); margin-top: 2px; box-sizing: border-box; }
.tw-opt--start:has(input:checked)::before { background: var(--orange); border-color: var(--orange); box-shadow: inset 0 0 0 4px var(--white); }
.tw-opt:has(input:checked) { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 1px var(--orange); }
.tw-opt:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.tw-opt--post .tw-tick, .tw-opt--later .tw-tick { margin-top: 2px; }
.tw-opt input:checked + .tw-tick { background: var(--orange); border-color: var(--orange); }
.tw-opt input:checked + .tw-tick::after { transform: rotate(40deg) scale(1); }
.tw-opt-b { display: grid; gap: 3px; min-width: 0; }
.tw-opt-b b { font-weight: 700; }
.tw-opt-p { color: var(--ink); font-weight: 600; }
.tw-opt-d { color: #3c4042; font-size: .9rem; line-height: 1.45; }
.tw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-pill { position: relative; }
.tw-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tw-pill span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; cursor: pointer; min-height: 24px; }
.tw-pill:hover span { border-color: var(--text); }
.tw-pill input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tw-pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.tw-sum { position: sticky; top: 84px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.tw-sum h3 { color: var(--white); font-size: 1.3rem; margin: 0; }
.tw-sum h4 { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin: 6px 0 2px; }
.tw-sum-list { margin: 0; display: grid; gap: 6px; }
.tw-sum-list > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; font-size: .94rem; }
.tw-sum-list dt { color: var(--mute-dark); }
.tw-sum-list dd { margin: 0; color: var(--white); font-weight: 600; }
.tw-sum-quoted { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.tw-sum-quoted li { padding-left: 14px; position: relative; }
.tw-sum-quoted li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 2px; background: var(--orange); }
.tw-sum-small, .tw-sum-empty { margin: 0; font-size: .88rem; color: var(--on-dark); }
.tw-sum-notes { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: .82rem; color: var(--mute-dark); }
.tw-sum-cta { margin: 0; }
.tw-sum .btn { width: 100%; justify-content: center; }
.tw-journey { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 14px 16px; }
.tw-journey[hidden] { display: none; }
.tw-journey-t { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.tw-journey-b { margin: 0; white-space: pre-wrap; font: .88rem/1.5 var(--body); color: var(--text); }
.tw-journey-n { margin: 8px 0 0; font-size: .82rem; color: #3c4042; }
@media (max-width: 1100px) { .tw-plan-grid { grid-template-columns: minmax(0, 1fr); } .tw-sum { position: static; } }
@media (max-width: 700px) { .tw-opts--post { grid-template-columns: 1fr; } .tw-rail { grid-template-columns: 1fr; gap: 8px; } .tw-rail a, .tw-rail li:first-child a, .tw-rail li:last-child a { border-radius: 999px; border-right-width: 1px; } .tw-sum-list > div { grid-template-columns: 6.5rem 1fr; } }
.tw-pstep legend { float: left; width: 100%; margin-bottom: 4px; }
.tw-pstep legend + * { clear: both; }

/* Narrow phones (320 to 480 px): buttons may wrap instead of forcing the page wider than the screen (WCAG 1.4.10 reflow). Found in the publication-readiness check, 25 Nov 2026. */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }

/* Small orange text on light backgrounds uses a darker orange for contrast: #A84300 is about 5.3:1 on the paper colour and 6:1 on white (the bright orange measured 2.3 to 3.0:1). The bright orange stays on dark sections and buttons. Publication-readiness remediation, 25 Nov 2026. */
.sec:not(.sec--dark) .step-n, .tw-legend b { color: #A84300; }

/* The status marks in the feature list (a tick, a half circle, a question mark) were grey #9A9588, 2.99:1 on white; #6B675C is about 5.6:1. 25 Nov 2026. */

/* Demonstration presentation (portfolio privacy direction, 25 Nov 2026): one hero image, no screenshots. */
.tw-hero-demo { margin: 0 0 0 auto; max-width: 640px; }
.tw-hero-demo img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .65); }
.tw-hero-demo figcaption { margin-top: 10px; font: 500 .72rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.tw-story--solo { grid-template-columns: minmax(0, 1fr); }
.tw-ideas { list-style: none; margin: clamp(30px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tw-ideas li { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.tw-ideas h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--white); }
.tw-ideas p { margin: 0; font-size: .95rem; color: var(--on-dark); }
.tw-give-grid--solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1020px) { .tw-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tw-ideas { grid-template-columns: 1fr; } }

/* Release A (26 Nov 2026): the scope clarification above the three options. */
.tw-clarify { max-width: 76ch; margin: 0 0 28px; padding: 14px 18px; border-left: 3px solid var(--orange); background: var(--white); color: var(--text); font-size: 1rem; }

/* Release B: the demonstration image is offered as WebP with a JPEG fallback; the wrapper must not change the layout. */
.tw-hero-demo picture, .tw-banner picture { display: contents; }
