/* Wilder landing page, everything below the film (the film itself is film/landing.css).
   Style locked for the MVP (Wilder-planning DECISIONS.md, 20 Nov 2026): pink on warm paper with green,
   Outfit for everything. After the film the page stays in the film's paper world: the app's five tabs
   as phones, and the research pinned to the same cork board the calendars hang on. */
.wp-project, #app-preview .tabs5 {
  --pink: #EC4274; --plum: #98224a; --stock: #f2e5cf; --oat: #e7d5b6; --green: #3FA77D; --green-ink: #2f7d5d;
  --ink: #2b1219; --ink-2: #5b483a; --line: #d9c6a6; --paper: #fbf5ea;
  --cork: #c49a68; --frame: #8a5f3b;
  --gutter: clamp(22px, 4vw, 80px);
}
.wp-project *, #app-preview .tabs5 * { box-sizing: border-box; }
.wp-project { margin: 0; background: var(--stock); color: var(--ink); font-family: WilderOutfit, "Outfit", system-ui, sans-serif;
  font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.wp-project a { color: inherit; }
.wp-project :is(h2, h3), #app-preview .tabs5 :is(h2, h3) { margin: 0; text-wrap: balance; }
.wp-project h2, #app-preview .tabs5 h2 { font-size: clamp(42px, 5.6vw, 92px); font-weight: 675; line-height: .94; letter-spacing: -.058em; color: var(--ink); }
.wp-project h2 em, #app-preview .tabs5 h2 em { font-style: normal; color: var(--plum); }
.wp-project section { padding: clamp(64px, 9vw, 130px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.kicker, #wilder-press .wp-kicker { font-size: clamp(14px, 1.2vw, 18px); font-weight: 650; letter-spacing: .02em; color: var(--green-ink); margin: 0 0 12px; }

.wp-cta { display: inline-block; padding: 15px 28px; border-radius: 999px; background: var(--plum); color: #fff !important;
  font-weight: 640; text-decoration: none; transition: transform .15s; box-shadow: 0 2px 0 #b8295a; }
.wp-cta:hover { transform: translateY(-2px); }

/* Research is one paper sheet per audience, pinned to the same cork as the film's calendars. */
.research-head p:not(.kicker) { color: var(--ink-2); max-width: 44em; margin: 24px 0 0; font-size: clamp(17px, 1.4vw, 21px); }
.research .board { margin-top: clamp(28px, 4vw, 54px); padding: clamp(12px, 2.5vw, 34px);
  border: clamp(5px, .7vw, 9px) solid var(--frame); border-radius: 8px;
  background: radial-gradient(#a87c4f 1px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(#d7b386 1px, transparent 1.6px) 4px 5px / 11px 11px, var(--cork);
  box-shadow: inset 0 0 0 2px #6e4a2c, 0 24px 40px -24px #2b121966; }
.research .tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.research .tabs button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 99px; font: 600 16px/1.2 WilderOutfit, sans-serif;
  background: var(--paper); color: var(--ink); cursor: pointer; }
.research .tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.research .board :is(button, a, summary):focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; }
.research .tabs button:focus-visible { outline-color: var(--ink); }
.research #research-panel { color: var(--ink); background: var(--paper); border-radius: 5px; box-shadow: 0 8px 15px -10px #3a220faa; }
.research .survey-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding: clamp(16px, 2.2vw, 30px); background: #e8eee1; border-radius: 5px 5px 0 0; }
.research .survey-card h3 { margin: 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -.035em; }
.research .survey-card p, .research .topic-intro { margin: 5px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.research .survey-card .wp-cta { min-height: 44px; padding: 11px 16px; font-size: 15px; line-height: 1.4; text-align: center; }
.research .notes { padding-inline: clamp(14px, 2.2vw, 30px); }
.research .research-topic { border-top: 1px solid var(--line); }
.research .research-topic:first-child { border-top: 0; }
.research summary { cursor: pointer; }
.research .research-topic > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; align-items: center;
  gap: 8px 14px; min-height: 54px; padding: 10px 0; list-style: none; }
.research .research-topic > summary::-webkit-details-marker { display: none; }
.research .research-topic > summary strong { font-size: clamp(17px, 1.6vw, 21px); font-weight: 615; line-height: 1.25; }
.research .research-topic > summary span { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.research .research-topic > summary::after { content: ""; width: 7px; height: 7px; border: solid var(--plum);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.research .research-topic[open] > summary::after { transform: rotate(225deg); }
.research .research-topic[open] > summary strong { color: var(--plum); }
.research .topic-intro { margin: 0 0 12px; }
.research .qs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.research .q { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 7px; background: #fffaf1; }
.research .q h4 { margin: 0; font-size: 17px; font-weight: 625; line-height: 1.35; }
.research .q-meta { margin: 5px 0 0; font-size: 13px; color: var(--ink-2); }
.research .q-choices > summary { color: var(--plum); padding-block: 12px; min-height: 44px; font-size: 14px; font-weight: 600; }
.research .q-choices ul { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.4; }
.research .q-choices li + li { margin-top: 4px; }
.research .opts { display: grid; gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.research .opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; align-items: baseline; font-size: 14px; line-height: 1.4; }
.research .opt .n { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.research .opt .bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: #efe2cb; overflow: hidden; }
.research .opt .bar i { display: block; width: var(--w); height: 100%; background: #b98a9c; }
.research .opt.top .bar i { background: var(--pink); }
.research .opt.top .l { font-weight: 625; }
.research .research-topic > .wp-cta { margin: 8px 0; padding: 13px 0; min-height: 44px; color: var(--plum) !important;
  background: transparent; box-shadow: none; border-radius: 0; font-size: 15px; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 420px) {
  .research .tabs button { padding-inline: 12px; font-size: 15px; }
  .research .research-topic > summary { gap: 7px; }
  .research .research-topic > summary span { font-size: 12px; }
}
.privacy { margin: 36px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 60em; }
.privacy b { color: var(--ink); }
.updated { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.loading { color: #fff; }

.wp-project footer { background: var(--ink); color: var(--stock); text-align: center; padding: 80px 24px 52px; }
.wp-project footer .mission-k { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.wp-project footer .mission { max-width: 22em; margin: 0 auto 44px; font-size: clamp(26px, 3.4vw, 46px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.wp-project footer .mission em { font-style: normal; color: #f6a9c0; }
.wp-project footer .small { font-size: 14px; opacity: .55; margin: 4px 0; }

#wilder-press > .wp-viewport > footer { display: none; }
#wilder-press.wp-past .wp-header { background: var(--stock, #f2e5cf); box-shadow: 0 1px 0 #d9c6a6; }
#wilder-press .wp-header .wp-research { font-size: 15px; font-weight: 520; }
#wilder-press .wp-header .wp-research:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .wp-project { font-size: 17px; }
  .wp-project h2 br { display: none; }
}
@media (max-width: 420px) { #wilder-press .wp-header .wp-how { display: none; } }
@media (prefers-reduced-motion: reduce) { .wp-project *, #app-preview .tabs5 * { transition: none !important; } }

/* The phone in the film: what the Wilder app shows at each step (film/phone.js). It sits bottom-left,
   under the caption, and looks like the green phone the friends use in the group-chat scene. */
#wilder-press .wp-phone { position: absolute; z-index: 3; left: var(--gutter); bottom: calc(var(--nav-height) + 16px);
  width: clamp(210px, 19vw, 280px); background: #2f5f4d; border-radius: 26px; padding: 9px; color: #2b1219;
  box-shadow: 0 18px 40px -18px #2b121966, 0 2px 0 #1f4436; font: 450 14px/1.3 WilderOutfit, Arial, sans-serif;
  opacity: var(--shot-ink, 1); transition: opacity .2s; pointer-events: none; }
#wilder-press .wp-phone[hidden] { display: none; }
#wilder-press .wp-phone-bar { display: flex; align-items: center; gap: 7px; color: #e9f3ec; font-size: 12px; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px 8px; }
#wilder-press .wp-phone-bar i { width: 16px; height: 16px; background: var(--mark, url("film/wilder.svg")) center/contain no-repeat;
  filter: brightness(0) invert(1); }
#wilder-press .wp-phone-screen { background: #f8f1e4; border-radius: 18px; padding: 14px 15px 15px; min-height: 150px; }
#wilder-press .ph-k { margin: 0; font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #2f7d5d; }
#wilder-press .ph-t { margin: 3px 0 10px; font-size: clamp(17px, 1.45vw, 21px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
#wilder-press .ph-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid #e4d6bf; font-size: 13.5px; }
#wilder-press .ph-row span { color: #5b483a; }
#wilder-press .ph-row b { font-weight: 600; text-align: right; }
#wilder-press .ph-row.ph-dim b { color: #98224a; font-style: italic; font-weight: 520; }
#wilder-press .ph-row.ph-win { background: #ec427418; margin: 0 -6px; padding: 5px 6px; border-radius: 6px; }
#wilder-press .ph-ok { font-style: normal; color: #2f7d5d; font-weight: 800; }
#wilder-press .ph-wait { font-style: normal; color: #a08c74; }
#wilder-press .ph-s { margin: 9px 0 0; font-size: 12.5px; color: #5b483a; line-height: 1.3; }
#wilder-press .ph-s.pk { color: #c62f5f; font-weight: 650; font-size: 13.5px; }
#wilder-press .ph-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
#wilder-press .ph-days span { text-align: center; font-size: 11px; font-weight: 600; padding: 4px 0; border-radius: 5px; background: #ece0cb; color: #8a7660; }
#wilder-press .ph-days span.on { background: #bfe0cd; color: #23553f; }
#wilder-press .ph-days span.pk { background: var(--pink, #ec4274); color: #fff; }
#wilder-press .ph-cal { display: grid; grid-template-columns: 2.6em 1fr; align-items: center; gap: 6px; margin: 4px 0; }
#wilder-press .ph-cal em { font-style: normal; font-size: 12px; font-weight: 600; }
#wilder-press .ph-btns { display: flex; gap: 6px; margin-top: 10px; }
#wilder-press .ph-btns span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 99px; border: 1.5px solid #2b1219; font-size: 12.5px; font-weight: 620; }
#wilder-press .ph-btns .yes { background: #ec4274; border-color: #ec4274; color: #fff; }
@media (max-width: 760px), (max-height: 600px) {
  #wilder-press .wp-phone { width: 190px; bottom: calc(var(--nav-height) + 8px); border-radius: 20px; padding: 6px; font-size: 12px; }
  #wilder-press .wp-phone-screen { padding: 10px 11px; min-height: 0; }
  #wilder-press .ph-row { font-size: 12px; padding: 3px 0; }
}

/* Paper in light and dark mode alike (see the color-scheme note in index.html); form controls stay light. */
html { color-scheme: light dark; background: #f2e5cf; }
body { color-scheme: light; background: #f2e5cf; }
@media (prefers-color-scheme: dark) { html, body { background: #f2e5cf; } }   /* the same paper at night */

/* The opening (intro.js): a huge W, then the headline, then the film. The section is tall so that
   scrolling through it drives the zoom; its inner stage stays pinned to the screen meanwhile. */
.intro { height: 260vh; background: #f2e5cf; position: relative; }
.intro-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
/* The W is Wilder's own opening (opening/, copied from Wilder-planning
   workspace/style/explorations/2026-11-10-round2-lines-and-flare/motion/opening/, decision of 10 Nov 2026).
   It draws a 390-wide phone screen with the W at x 45-345, y 264-440; the friends' lines come in from the
   screen's edges. Here that box is the full window width (cut just below the W), placed so the W sits in
   the middle of the screen, so the lines arrive from the real window edges. */
.intro-mark { position: absolute; left: 50%; top: 50%; width: 100vw; aspect-ratio: 390 / 450;
  translate: -50% calc(-78.2% + var(--tilt, 0px)); }
/* "Wilder" and its one line, after the W has scrolled away (intro.js sets each letter rising in). */
.brand-block { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 2.2vh; background: #f2e5cf; color: #2b1219; text-align: center; }
.brand-word { margin: 0; font: 700 clamp(84px, 19vw, 300px)/.9 WilderOutfit, "Outfit", system-ui, sans-serif; letter-spacing: -.035em; }
.brand-word span { display: inline-block; opacity: 0; }
.brand-line { margin: 0; font: 500 clamp(20px, 2.6vw, 38px)/1.2 WilderOutfit, "Outfit", system-ui, sans-serif; letter-spacing: -.01em; color: #5b483a; opacity: 0; }
.tagline-block { min-height: 100vh; display: grid; place-items: center; background: #f2e5cf; }
.intro-head { position: relative; margin: 0; padding: 0 4vw; text-align: center; color: #2b1219; opacity: 0;
  font: 675 clamp(64px, 13.5vw, 240px)/.9 WilderOutfit, "Outfit", system-ui, sans-serif; letter-spacing: -.062em; }
.intro-head span { display: inline-block; }
.intro-struck { position: relative; color: #EC4274; }
.intro-struck::after { content: ""; position: absolute; left: -3%; right: -3%; top: 55%; height: .085em; background: #2b1219; border-radius: 99px;
  transform: scaleX(var(--strike, 0)); transform-origin: left; }
.intro-cue { position: absolute; bottom: 5vh; margin: 0; font: 600 15px WilderOutfit, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: #5b483a; animation: cue 1.6s 2.2s ease-in-out infinite; }
.intro-cue::after { content: ""; display: block; width: 2px; height: 34px; margin: 10px auto 0; background: currentColor; }
@keyframes cue { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) {
  .intro { height: auto; }
  .intro-stage { position: relative; height: auto; padding: 18vh 0; gap: 6vh; display: grid; }
  .intro-mark { position: relative; left: auto; top: auto; translate: none; width: min(70vw, 60vh); margin: -20vh auto; }
  .intro-head { position: relative; }
  .intro-cue { display: none; }
  .brand-word span, .brand-line { opacity: 1; }
}

/* Let the rooms hold briefly while the phones light up, then move straight into the calendar. */
.beds { height: 165vh; height: 165svh; position: relative; background: #f2e5cf; }
.beds-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.beds-art { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .beds { height: auto; } .beds-stage { position: relative; } }

/* The mission, told in pictures (mission.js draws them; the section stays pinned while scrolling through
   it). The sentence sits under the pictures, each part lighting up as its picture plays. */
.mission-story { height: 520vh; position: relative; background: #f2e5cf; }
.ms-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ms-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ms-copy { position: absolute; left: 0; right: 0; bottom: 6vh; padding: 0 6vw; text-align: center; color: #2b1219; font-family: WilderOutfit, "Outfit", system-ui, sans-serif; }
.ms-k { margin: 0 0 1.2vh; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ec4274; }
.ms-line { margin: 0 auto; max-width: 26em; font-size: clamp(22px, 2.7vw, 40px); font-weight: 650; line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.ms-line span { opacity: .12; transition: opacity .2s linear; }
.ms-line em { font-style: normal; color: #98224a; }
@media (prefers-reduced-motion: reduce) { .mission-story { height: auto; } .ms-stage { position: relative; } .ms-line span { opacity: 1; } }

/* The four live threads (threads.js): drawn on one canvas over the whole window, never catching clicks. */
.threads { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 30; pointer-events: none; }

/* The trip (film/landing.js sets .wp-trip from the departure on): the landscape builds up by itself with
   no title and no bars; the top bar and chapter bar fade out, the caption drifts in late and soft. */
#wilder-press .wp-header, #wilder-press .wp-transport, #wilder-press .wp-copy h1 { transition: opacity .9s ease; }
#wilder-press.wp-trip:not(.wp-past) .wp-header, #wilder-press.wp-trip .wp-transport { opacity: 0; pointer-events: none; }
#wilder-press.wp-trip .wp-copy h1 { display: none; }
#wilder-press.wp-trip .wp-narration { margin-top: 0; animation: trip-line 1.6s .5s ease both; }
@keyframes trip-line { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* No top bar anywhere: the page is one storybook, not a website with a header. */
#wilder-press .wp-viewport .wp-header { display: none; }

/* The calendar assembles as it enters below the four rooms. The chapter rail arrives last. */
#wilder-press .wp-art { opacity: clamp(0, calc(var(--build, 1) / .4), 1);
  translate: 0 calc((1 - clamp(0, calc(var(--build, 1) / .4), 1)) * 28px); }
#wilder-press .wp-art canvas[data-layer="calendars"] { filter: opacity(clamp(0, calc((var(--build, 1) - .25) / .3), 1));
  translate: 0 calc((1 - clamp(0, calc((var(--build, 1) - .25) / .3), 1)) * -36px); }
#wilder-press .wp-copy h1 { opacity: clamp(0, calc((var(--build, 1) - .45) / .25), 1); }
#wilder-press .wp-narration { opacity: clamp(0, calc((var(--build, 1) - .58) / .22), 1); }
#wilder-press .wp-copy .wp-location { opacity: clamp(0, calc((var(--build, 1) - .66) / .2), 1); }
#wilder-press .wp-phone { opacity: calc(var(--shot-ink, 1) * clamp(0, calc((var(--build, 1) - .7) / .2), 1)); }
#wilder-press .wp-transport, #wilder-press .wp-art-caption { opacity: clamp(0, calc((var(--build, 1) - .8) / .2), 1); }

/* 1. The app's five tabs (index.html #how): one phone per tab, drawn from the screens in Wilder's UI
   schema (Wilder-planning workspace/ui, its Mockup app) in the decided look. No box around the
   section: the phones stand on the page's paper, a little tilted, and rise in one after another as
   they come into view (tabs.js adds .in). */
#app-preview .tabs5 { background: var(--stock); color: var(--ink); padding: clamp(72px, 10vw, 140px) var(--gutter); font-family: WilderOutfit, "Outfit", system-ui, sans-serif; }
#app-preview .tabs-lede { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); }
#app-preview .tabs-row { list-style: none; margin: clamp(48px, 6vw, 90px) 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 34px); align-items: start; }
#app-preview .tabs-row > li { opacity: 0; transform: translateY(60px) rotate(calc((var(--i) - 2) * 1.6deg));
  transition: opacity .7s calc(var(--i) * 110ms), transform .9s cubic-bezier(.2,.9,.25,1.15) calc(var(--i) * 110ms); }
#app-preview .tabs-row > li:nth-child(even) { margin-top: 46px; }
#app-preview .tabs-row.in > li { opacity: 1; transform: translateY(0) rotate(calc((var(--i) - 2) * 1.2deg)); }
#app-preview .tabs-row h3 { margin: 22px 0 4px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 675; letter-spacing: -.03em; }
#app-preview .tabs-row li > p { margin: 0; font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }

/* The phone: paper screen, plum ink, the five-tab bar at the bottom. Sizes are in em so it scales. */
#app-preview .tb-phone { font-size: clamp(7.4px, .74vw, 11px); aspect-ratio: 9 / 19.2; border-radius: 3.4em; padding: .7em; background: #2b1219;
  box-shadow: 0 2.4em 4em -1.6em rgba(70, 30, 20, .45); display: flex; flex-direction: column; }
#app-preview .tb-phone > * { background: #fbf5ea; }
#app-preview .tb-screen { flex: 1; overflow: hidden; border-radius: 2.8em 2.8em 0 0; padding: 3.6em 1.5em 1em; position: relative; color: #2b1219; }
#app-preview .tb-screen p, #app-preview .tb-screen h4 { margin: 0; }
#app-preview .tb-top { display: flex; justify-content: center; align-items: center; position: relative; font-size: 1.45em; margin-bottom: .8em; }
#app-preview .tb-plus { position: absolute; right: 0; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 700; }
#app-preview .tb-seg { display: flex; background: #efe2cb; border-radius: .9em; padding: .25em; margin-bottom: 1.1em; }
#app-preview .tb-seg span { flex: 1; text-align: center; font-size: 1.05em; padding: .45em 0; border-radius: .7em; color: #6b5646; white-space: nowrap; }
#app-preview .tb-seg .on { background: #fff; color: #2b1219; font-weight: 650; box-shadow: 0 .1em .3em rgba(0,0,0,.08); }
#app-preview .tb-bar { display: flex; justify-content: space-around; padding: .9em .6em 1.6em; border-radius: 0 0 2.8em 2.8em; border-top: 1px solid #eadcc4; }
#app-preview .tb-bar span { display: grid; justify-items: center; gap: .3em; font-size: .95em; color: #8c7764; }
#app-preview .tb-bar i { width: 1.7em; height: 1.7em; border-radius: .55em; border: .15em solid currentColor; }
#app-preview .tb-bar .on { color: var(--pink); font-weight: 650; }
#app-preview .tb-bar .on i { background: currentColor; }

/* Trips: one box per trip, a picture, who is going, how far it has got, what waits on you. */
#app-preview .tb-trip { background: #fff; border-radius: 1.4em; padding: .8em; margin-bottom: 1em; box-shadow: 0 .15em .5em rgba(70,30,20,.08); }
#app-preview .tb-pic { height: 5.4em; border-radius: 1em; margin-bottom: .7em; }
#app-preview .tb-pic.a1 { background: linear-gradient(#9cc3e4 0 45%, #4f7fa8 45% 62%, #e9eef0 62%); }
#app-preview .tb-pic.a2 { background: linear-gradient(170deg, #f4b88e, #ec7a6b 55%, #6a4b6e); }
#app-preview .tb-pic.a3 { background: linear-gradient(#cfe2c8 0 50%, #7fae7a 50%); }
#app-preview .tb-trip h4 { font-size: 1.7em; font-weight: 700; letter-spacing: -.03em; }
#app-preview .tb-trip p { font-size: 1.1em; color: #6b5646; }
#app-preview .tb-trip .tb-wait { color: var(--pink); font-weight: 600; margin-top: .3em; }
#app-preview .tb-ppl { display: flex; gap: .2em; margin: .5em 0; }
#app-preview .tb-ppl b { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--c); color: #fff; font-size: .9em; display: grid; place-items: center; }
#app-preview .tb-steps { display: flex; gap: .4em; }
#app-preview .tb-steps i { flex: 1; height: .3em; border-radius: 1em; background: #eadcc4; }
#app-preview .tb-steps .on { background: #2b1219; }

/* Calendar: the days you could go, how sure you are, and the friends' trips across them. */
#app-preview .tb-note { font-size: 1.05em; color: #6b5646; margin-bottom: .8em !important; }
#app-preview .tb-row { font-size: 1.1em; padding: .7em 0; border-top: 1px solid #eadcc4; }
#app-preview .tb-month { font-size: 1.3em; font-weight: 650; margin: .6em 0 .4em !important; }
#app-preview .tb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25em; text-align: center; font-size: 1.05em; margin-bottom: .8em; }
#app-preview .tb-cal u { text-decoration: none; color: #8c7764; font-size: .9em; }
#app-preview .tb-cal i { font-style: normal; padding: .35em 0; border-radius: .5em; }
#app-preview .tb-cal .sure { background: var(--pink); color: #fff; font-weight: 650; }
#app-preview .tb-key { font-size: 1em; color: #6b5646; display: flex; align-items: center; gap: .35em; margin-bottom: .6em !important; }
#app-preview .tb-key i { width: 1em; height: 1em; border-radius: .25em; margin-left: .4em; }
#app-preview .tb-key .sure { background: var(--pink); } #app-preview .tb-key .prob { background: #f5a3bb; }
#app-preview .tb-key .poss { border: .12em dashed var(--pink); }

/* Feed: a travel agency's trip idea filling the screen, its buttons down the right. */
#app-preview .tb-reel { padding: 3.6em 1.2em 1em; color: #fff; }
#app-preview .tb-film { position: absolute; inset: 0; overflow: hidden; }
#app-preview .tb-sky { position: absolute; inset: 0 0 45%; background: linear-gradient(#f7c59f, #f39c7a 60%, #e5807a); }
#app-preview .tb-sea { position: absolute; inset: 55% 0 0; background: linear-gradient(#4d7ea8, #234a6b); }
#app-preview .tb-cliff { position: absolute; left: -10%; right: 35%; top: 40%; bottom: 25%; background: #6b4a3a; clip-path: polygon(0 100%, 0 30%, 30% 10%, 55% 25%, 80% 15%, 100% 100%); }
#app-preview .tb-reel .tb-seg { position: relative; background: rgba(255,255,255,.22); }
#app-preview .tb-reel .tb-seg span { color: #fff; }
#app-preview .tb-reel .tb-seg .on { background: #fff; color: #2b1219; }
#app-preview .tb-ad { position: relative; font-size: 1.05em; opacity: .9; }
#app-preview .tb-acts { position: absolute; right: 1.1em; bottom: 11em; display: grid; gap: 1.1em; }
#app-preview .tb-acts span { display: grid; justify-items: center; font-size: 1.7em; text-shadow: 0 .05em .3em rgba(0,0,0,.3); }
#app-preview .tb-acts small { font-size: .5em; }
#app-preview .tb-cap { position: absolute; left: 1.2em; right: 1.2em; bottom: 1.4em; display: grid; gap: .2em; text-shadow: 0 .05em .4em rgba(0,0,0,.35); }
#app-preview .tb-cap strong { font-size: 2.3em; letter-spacing: -.03em; }
#app-preview .tb-cap b { font-size: 1.35em; }
#app-preview .tb-cap small { font-size: 1em; opacity: .9; }
#app-preview .tb-play { height: .25em; background: rgba(255,255,255,.35); border-radius: 1em; margin-top: .6em; }
#app-preview .tb-play i { display: block; width: 40%; height: 100%; background: #fff; border-radius: 1em; }

/* Prefs: a gallery of kinds of trip; ticked, crossed out or suggested. */
#app-preview .tb-h { font-size: 1.9em; font-weight: 700; letter-spacing: -.03em; margin-bottom: .2em !important; }
#app-preview .tb-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em .6em; text-align: center; font-size: 1em; }
#app-preview .tb-kinds span { display: grid; justify-items: center; gap: .3em; line-height: 1.15; }
#app-preview .tb-kinds i { width: 4em; height: 4em; border-radius: 1.2em; background: #fff; border: .12em solid #eadcc4; position: relative; }
#app-preview .tb-kinds small { font-size: .9em; font-weight: 650; min-height: 1em; }
#app-preview .k-yes i { background: #fde3ec; border-color: var(--pink); }
#app-preview .k-yes i::after { content: "✓"; position: absolute; top: -.6em; right: -.6em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: .9em; }
#app-preview .k-yes small { color: var(--pink); }
#app-preview .k-no { color: #a8927e; text-decoration: line-through; }
#app-preview .k-no small { text-decoration: none; }
#app-preview .k-sug i { border-style: dashed; border-color: var(--green); }
#app-preview .k-sug small { color: var(--green-ink); }

/* Profile: you first, then what others can trust about you. */
#app-preview .tb-me { display: flex; gap: 1em; align-items: center; background: #fff; border-radius: 1.4em; padding: 1em; margin-bottom: 1em; }
#app-preview .tb-face { width: 4.6em; height: 4.6em; border-radius: 50%; background: linear-gradient(135deg, #F59A6B, var(--pink)); color: #fff; display: grid; place-items: center; font-size: 1.3em; font-weight: 700; }
#app-preview .tb-me h4 { font-size: 1.9em; letter-spacing: -.03em; }
#app-preview .tb-me p { color: #6b5646; font-size: 1.1em; }
#app-preview .tb-card { background: #fff; border-radius: 1.2em; padding: .9em 1em; margin-bottom: .7em !important; font-size: 1.15em; font-weight: 600; }
#app-preview .tb-card small { display: flex; align-items: center; gap: .4em; font-weight: 400; color: #6b5646; font-size: .9em; margin-top: .2em; }
#app-preview .tb-card .tb-ppl { margin: 0; }

@media (max-width: 980px) {
  /* Narrow screens: the phones sit side by side in a row that scrolls sideways. */
  #app-preview .tabs-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 30px; margin-right: calc(-1 * var(--gutter)); }
  #app-preview .tabs-row > li { flex: 0 0 min(62vw, 260px); scroll-snap-align: start; }
  #app-preview .tb-phone { font-size: min(2.6vw, 10.5px); }
  #app-preview .tabs-row > li:nth-child(even) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { #app-preview .tabs-row > li { opacity: 1; transform: none; transition: none; } }

/* Product and study entry, before the optional scroll film. */
body { background-color: #f4eee2; }
.welcome-nav, .welcome-grid {
  box-sizing: border-box;
  width: min(100% - clamp(40px, 9vw, 144px), 1360px);
  margin-inline: auto;
  color: #2b1219;
  font-family: WilderOutfit, Outfit, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.welcome-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px; border-bottom: 1px solid #d6cabb; }
.welcome-brand { display: inline-flex; gap: 5px; align-items: center; font-size: 30px; font-weight: 720; letter-spacing: -.075em; }
.welcome-brand i { display: block; width: 40px; height: 40px; background: #e83d72; mask: url("assets/n1.svg") center/contain no-repeat; }
.welcome-nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 42px); }
.welcome-nav a { color: inherit; text-decoration: none; }
.welcome-nav nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 550; }
.welcome-nav nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 86px); padding: clamp(24px, 4vw, 68px) 0; }
.welcome-copy { padding: 8px 0; }
.welcome-copy h1 { font-size: clamp(72px, min(8.7vw, 13.2vh), 138px); line-height: .85; letter-spacing: -.065em; margin: 0; font-weight: 695; }
.welcome-copy s { position: relative; display: inline-block; color: #c62960; text-decoration: none; }
.welcome-copy s::after {
  content: "";
  position: absolute;
  left: -.025em;
  right: -.045em;
  top: 54%;
  height: max(4px, .1em);
  translate: 0 -50%;
  background: #2b1219;
  border-radius: .015em;
  transform-origin: left center;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .welcome-copy s::after { animation: welcome-strike .56s cubic-bezier(.42,0,.18,1) .13s backwards; }
  @keyframes welcome-strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (forced-colors: active) {
  .welcome-copy s::after { background: CanvasText; forced-color-adjust: none; }
}
.welcome-about { font-size: clamp(18px, 1.65vw, 25px); line-height: 1.4; max-width: 32ch; margin: clamp(24px, 3vw, 42px) 0 0; text-wrap: pretty; }
.welcome-action { margin-top: clamp(22px, 2.7vw, 38px); }
.welcome-cta { display: inline-flex; align-items: center; gap: 20px; padding: 14px 22px; background: #34202a; color: #fffaf3; border-radius: 100px; text-decoration: none; font-size: 17px; line-height: 1.3; font-weight: 600; }
.welcome-cta:hover { background: #5b2b40; }
.welcome-action p { margin: 10px 0 0; color: #63534c; font-size: 13px; line-height: 1.4; }
.welcome-agency { margin-top: 16px; }
.welcome-agency .survey-name { display: inline-block; max-width: 100%; }
.welcome-grid :is(button,a):focus-visible, .welcome-nav a:focus-visible { outline: 3px solid #2b7051; outline-offset: 3px; }
#app-preview { position: relative; isolation: isolate; min-width: 0; border-radius: 24px; background: #e4d7ba url("img/preview-harbour.webp") center/cover no-repeat; }
#app-preview .tabs5 { --stock: #f4eee2; }
#app-preview [hidden] { display: none !important; }
#app-preview :is(h3,h4,p,ol) { margin: 0; }
#app-preview :is(button,a) { font-family: inherit; }
#wilder-press .film-shortcuts { position: absolute; z-index: 6; top: max(10px, env(safe-area-inset-top)); right: var(--gutter); display: flex; gap: 8px; align-items: center; }
#wilder-press .film-shortcuts a { display: flex; min-height: 44px; align-items: center; padding-inline: 14px; border-radius: 25px; background: #f6eddb; color: #34202a; font-size: 14px; font-weight: 560; }
#wilder-press.wp-screening .film-shortcuts { display: none; }
@media (max-width: 720px) {
  .welcome-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 25px; }
  .welcome-nav { min-height: 56px; }
  .welcome-brand { font-size: 24px; gap: 1px; }
  .welcome-brand i { width: 32px; height: 32px; }
  .welcome-nav nav { gap: clamp(10px, 3vw, 16px); }
  .welcome-nav nav a { font-size: 13px; }
  .welcome-copy h1 { font-size: clamp(62px, 14vw, 88px); }
  .welcome-about { margin-top: 20px; }
  .welcome-action { margin-top: 18px; }
  #app-preview { border-radius: 18px; }
}
@media (max-width: 365px) {
  .welcome-nav, .welcome-grid { width: calc(100% - 28px); }
  .welcome-nav nav { gap: 9px; }
}
#wilder-press .film-download { position: absolute; z-index: 8; top: 8px; left: var(--gutter); background: #f4eee2; padding: 14px; }
.research-head p.updated { color: #655749; font-size: 15px; margin-top: 12px; }
@media (max-width: 720px) {
  .welcome-copy h1 { font-size: clamp(44px, 12.5vw, 75px); line-height: .92; }
  .welcome-break { display: none; }
  .welcome-about { margin-top: 13px; }
  .welcome-grid { gap: 10px; padding-block-start: 16px; }
}
@media (max-width: 365px) and (max-height: 650px) {
  .welcome-copy h1 { font-size: clamp(29px, 9.8vw, 35px); line-height: 1.05; }
  .welcome-last-break { display: none; }
  .welcome-grid { gap: 5px; padding-block-start: 10px; }
  .welcome-copy { padding: 4px 0; }
}
