/* Tigerlily Research: one stylesheet for every page.
   Colours: navy #131725, white, Feather Blue #5090FF, yellow #FFD100 (the CTA box only), green #02BF5D (the Live dot only). */

:root {
  --navy: #131725;
  --navy-deep: #0b0e18;
  --blue: #5090FF;
  --blue-dark: #2f6fe0;
  --yellow: #FFD100;
  --green: #02BF5D;
  --green-text: #017a3e;
  --ink-2: #4a4f5e;
  --line: #9aa0ae;
  --mist: #e8eaef;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Young Serif", Georgia, serif;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html, .shots__track { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: #fff; font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
input, textarea, button { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.light :focus-visible, .on-blue :focus-visible, .cta :focus-visible { outline-color: var(--navy); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: var(--navy); font-weight: 600; padding: 10px 16px; }
.skip:focus { top: 12px; color: var(--navy); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.light { background: #fff; color: var(--navy); }
.on-blue { background: var(--blue); color: var(--navy); }

/* Type */
.display { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; }
.h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: .9; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.muted { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; border: 0; font-size: 17px; font-weight: 600; padding: 16px 26px; white-space: nowrap; }
.btn svg { display: block; flex: none; }
.btn--blue { background: var(--blue); color: var(--navy); }
.btn--blue:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #fff; color: var(--navy); }
.btn--send:hover { background: var(--blue-dark); color: #fff; }
.text-link { align-self: flex-start; font-size: 15px; font-weight: 600; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header .wrap { height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; position: relative; }
.brand { flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 15px; font-weight: 500; min-width: 0; }
.nav a { white-space: nowrap; }
.nav .nav__cta { background: var(--blue); color: var(--navy); font-weight: 600; padding: 10px 16px; }
.nav .nav__cta:hover { background: #fff; color: var(--navy); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: #fff; }
.menu-btn svg { display: block; }
.menu-btn .menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

@media (max-width: 639px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 40px rgba(0,0,0,.35); font-size: 18px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .js .nav .nav__cta { margin-top: 16px; padding: 14px 16px; border: 0; text-align: center; }
  .nav { flex-wrap: wrap; justify-content: flex-end; }
}

/* Hero */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.hero .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero h1 { font-size: clamp(52px, 7vw, 104px); line-height: .88; text-wrap: balance; }
.hero__lede { max-width: 500px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255,255,255,.8); }
.hero .btn { align-self: flex-start; }
.hero__media { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.hero__media figcaption { font-size: 14px; color: rgba(255,255,255,.65); }
/* Four shots, overlapping: the scheduler at the back, the routes map in front of it, two phones in front of both */
.hero-group { position: relative; width: min(100%, 580px); aspect-ratio: 100 / 95; }
.hero-group > * { position: absolute; }
.hero-group .hg-sched { left: 0; top: 0; width: 76%; z-index: 1; }
.hero-group .hg-routes { right: 0; top: 52%; width: 66%; z-index: 2; }
.hero-group .hg-routes .browser__screen { aspect-ratio: 748 / 289; }
.hero-group .hg-book { left: 25%; bottom: 4%; width: 23%; z-index: 3; }
.hero-group .hg-coach { left: 0; bottom: 0; width: 23%; z-index: 4; }
.hero-group .phone { padding: 5px; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.hero-group .phone__screen { border-radius: 17px; }

/* Device frames */
.phone { aspect-ratio: 9 / 19.5; border-radius: 32px; padding: 7px; background: var(--navy); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--mist); }
.phone__screen img, .browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser { border-radius: 10px; overflow: hidden; background: var(--navy); border: 1px solid var(--navy); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; color: rgba(255,255,255,.7); font-size: 11px; }
.browser__bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); flex: none; }
.browser__bar b { margin-left: 8px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; background: var(--mist); }
.hero .phone, .hero .browser { background: var(--navy-deep); border: 1px solid rgba(255,255,255,.18); }
.hero .browser { box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.product { background: #f3f4f7; padding: 14px; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.product img { width: 100%; height: 100%; object-fit: contain; }

/* "Coming soon" and "on the way" panels */
.placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px; text-align: center; }
.placeholder img { width: 64px; height: auto; }
.placeholder span { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.placeholder--navy { background: var(--navy); color: #fff; }
.placeholder--light { background: var(--mist); color: var(--navy); }
.placeholder--light img { opacity: .8; width: 48px; }

/* Sections on white */
.work { padding: var(--section) 0; }
.work > .wrap { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.block { display: flex; flex-direction: column; gap: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid currentColor; padding-top: 20px; }
.card__title { font-size: 20px; font-weight: 600; }
.card__text { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.dark .card { gap: 12px; border-top-color: rgba(255,255,255,.35); }
.dark .card__text { color: rgba(255,255,255,.75); }
.card__num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 56px; line-height: .8; color: var(--blue-dark); }
.process .card { gap: 12px; }

/* Projects */
.projects__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-bottom: 24px; }
.projects__head span { font-size: 15px; color: var(--ink-2); }
.project { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px clamp(40px, 6vw, 96px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--navy); }
.project__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.project__top { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 10px; }
.project__num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(96px, 11vw, 168px); line-height: .86; letter-spacing: -.02em; color: var(--blue); transform: skewX(-4deg); }
.status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding-bottom: 4px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.status--soon::before { background: transparent; border: 2px solid var(--blue-dark); }
.project h3 { font-size: clamp(40px, 4.6vw, 68px); line-height: .88; }
.project__desc { max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* Screenshot galleries: a swipe row inside the column; the page itself never scrolls sideways */
.shots { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.shots__track { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 4px; scroll-behavior: smooth; padding: 4px 4px 14px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shots--center .shots__track { justify-content: center; }
.shots--center > .shot { align-self: center; max-width: 100%; }
.shot { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.shot--phone { width: clamp(150px, 40vw, 210px); }
.shot--wide { width: clamp(260px, 74vw, 440px); }
.shot figcaption { font-size: 14px; color: var(--ink-2); }
.shots__nav { display: flex; gap: 8px; justify-content: flex-end; }
.shots__btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--navy); background: #fff; color: var(--navy); padding: 0; }
.shots__btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.shots__btn:disabled { opacity: .35; cursor: default; }
.shots__btn svg { display: block; }

/* Crest band */
.crest { padding: var(--section) 0; }
.crest .wrap { display: flex; justify-content: center; }
.crest img { width: min(100%, 760px); filter: drop-shadow(0 28px 36px rgba(19,23,37,.45)); }

/* Note from Joe and How we operate */
.operate { padding: var(--section) 0; }
.operate > .wrap { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 112px); }
.note { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.note__head { display: flex; flex-direction: column; gap: 20px; }
.note__head img { width: min(100%, 360px); }
.note__body { display: flex; flex-direction: column; gap: 28px; }
.note__quote { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 27px); line-height: 1.5; text-wrap: pretty; }
.note__more { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: rgba(255,255,255,.8); }
.signoff { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255,255,255,.3); padding-top: 18px; }
.signoff__name { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; text-transform: uppercase; }
.signoff__role { font-size: 15px; color: rgba(255,255,255,.65); }

/* How it works and the form */
.process { padding: var(--section) 0 0; }
.process .wrap { display: flex; flex-direction: column; gap: 40px; }
.build { padding: var(--section) 0; }
.build .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.build__intro { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.build__intro h2 { text-wrap: balance; }
.build__intro p { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.modes { display: flex; border: 1px solid var(--navy); align-self: flex-start; max-width: 100%; }
.modes button { min-height: 44px; padding: 0 18px; border: 0; background: #fff; color: var(--navy); font-size: 15px; font-weight: 600; }
.modes button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--navy); font-size: 16px; font-weight: 400; }
.field input { height: 50px; padding: 0 14px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--navy); }
.field ::placeholder { color: #6b7080; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { font-size: 14px; font-weight: 500; color: #b3261e; }
.timing { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.timing legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 15px; font-weight: 500; }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.form .btn { align-self: flex-start; margin-top: 8px; }
.form .btn:disabled { opacity: .7; cursor: progress; }
.form__alert { border-left: 4px solid #b3261e; background: #fdf0ef; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.form__alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent { border-top: 1px solid var(--navy); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.sent:focus { outline: none; }
.sent__label { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); }
.sent__msg { font-size: 24px; font-weight: 500; line-height: 1.35; }
.sent button { align-self: flex-start; background: none; border: 0; padding: 0 0 2px; border-bottom: 2px solid var(--blue); font-size: 15px; font-weight: 600; color: var(--navy); }

/* Philosophy */
.philosophy { padding: var(--section) 0; }
.philosophy .wrap { display: flex; flex-direction: column; gap: 32px; }
.story { max-width: 720px; display: flex; flex-direction: column; gap: 1.05em; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }
.story__more { display: flex; flex-direction: column; gap: 1.05em; }
.story__cite { border-top: 1px solid var(--navy); padding-top: 14px; font-family: var(--body); font-size: 15px; }
.story-btn { align-self: flex-start; background: var(--navy); color: #fff; border: 0; font-size: 16px; font-weight: 600; padding: 14px 24px; }
.story-btn:hover { background: #fff; color: var(--navy); }

/* Updates, CTA and footer */
.updates { padding: var(--section) 0 0; }
.updates .wrap { display: flex; flex-direction: column; gap: 32px; }
.updates__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.updates__head img { flex: 1 1 240px; max-width: 520px; min-width: 0; }
.updates ul { list-style: none; margin: 0; padding: 0; }
.update { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 32px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 16px; line-height: 1.5; }
.update__when { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: .06em; color: var(--blue); }
.update strong { font-weight: 600; }
.update__what { color: rgba(255,255,255,.72); }
@media (max-width: 420px) { .update { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; } }

.cta-wrap { padding: clamp(56px, 7vw, 96px) 0 0; }
.cta { background: var(--yellow); color: var(--navy); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 420px; }
.cta__title { font-size: clamp(34px, 4vw, 56px); line-height: .9; }
.cta__body { font-size: 17px; line-height: 1.55; }
.cta__body a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cta__body a:hover, .cta a:hover { color: var(--navy); }
.cta .btn--navy:hover { color: var(--navy); }

.site-footer { padding: clamp(56px, 7vw, 96px) 0 40px; }
.site-footer > .wrap { display: flex; flex-direction: column; gap: 48px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; align-items: flex-start; }
.footer__brand { gap: 16px; }
.footer__brand img { height: 34px; width: auto; }
.footer__legal-name { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); }
.footer__label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer__col a { overflow-wrap: anywhere; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.6); }

/* Privacy, Terms and Support */
.page { padding: clamp(56px, 7vw, 96px) 0 var(--section); }
.page__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(32px, 4vw, 48px); }
.page__head h1 { font-size: clamp(48px, 6vw, 88px); line-height: .9; }
.page__head p { font-size: 15px; color: var(--ink-2); }
.prose { max-width: 720px; font-size: 17px; line-height: 1.65; }
.prose h2 { font-size: 22px; font-weight: 600; line-height: 1.3; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-dark); }
.prose .btn { text-decoration: none; margin: 8px 0 8px; }
.prose .btn:hover { color: var(--navy); }
