/* thrava.io: the home and contact pages share this sheet. Sizes follow the Framer design at its three
   widths: desktop from 1200px, tablet from 810px, phone below. Light only, as designed. */
:root {
  color-scheme: light;
  --bg: #f6f6f7;
  --card: #ffffff;
  --ink: #0e0d10;
  --ink-2: #5f5e66;
  --ink-3: #97969d;
  --on-dark: #f6f6f7;
  --light: #f3f3f6;
  --hairline: rgba(14, 13, 16, 0.08);
  --rule: rgba(14, 13, 16, 0.1);
  --accent: #1bbfe8;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.3, 1.1, 0.5, 1);
  --ease-nav: cubic-bezier(0.33, 0, 0.2, 1);
  --ease-modal: cubic-bezier(0.23, 1, 0.32, 1);
  --press: inset 0 -1px 0 rgba(26, 26, 23, 0.08), inset 0 1px 0 rgba(26, 26, 23, 0.04);
  --edge: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type: one scale per width. */
.t-display { font-size: 60px; line-height: 64px; letter-spacing: -0.04em; }
.t-title { font-size: 48px; line-height: 52px; letter-spacing: -0.04em; }
.t-lead { font-size: 28px; line-height: 32px; letter-spacing: -0.04em; font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--ink); }

/* Buttons: pills whose label rolls up to a copy of itself on hover. */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 12px 20px 12px 16px; border-radius: 32px; overflow: hidden;
  font-size: 14px; line-height: 20px; white-space: nowrap; cursor: pointer;
  box-shadow: var(--press);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-light { background: var(--light); color: var(--ink); }
.roll { display: block; height: 20px; }
.roll > span { display: block; transition: transform 0.65s var(--ease); }
.roll > span + span { position: absolute; left: 16px; right: 20px; top: 44px; }
@media (hover: hover) {
  .btn:hover .roll > span { transform: translateY(-32px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Header: a bar across the top that tucks into a 600px pill while you scroll down. */
.header { position: fixed; z-index: 30; top: 0; left: 0; right: 0; padding: 16px var(--edge); pointer-events: none; }
.bar {
  pointer-events: auto; position: relative; margin: 0 auto; width: 100%; max-width: 1800px;
  background: var(--bg); border-radius: 16px; padding: 8px 12px 8px 16px;
  transition: max-width 0.75s var(--ease-nav);
}
.header.is-compact .bar { max-width: 600px; }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px; }
.logo { display: block; padding: 0 8px; flex: none; }
.logo img { width: 113px; height: 14px; }
.nav { display: flex; gap: 4px; }
.pill { display: block; height: 44px; padding: 12px 16px; border-radius: 32px; font-size: 14px; line-height: 20px; transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
@media (hover: hover) { .pill:hover { background: var(--card); box-shadow: inset 0 0 0 1px var(--hairline); } }
.menu-btn {
  display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 32px; cursor: pointer;
  background: rgba(244, 243, 234, 0.32); box-shadow: inset 0 0 0 1px var(--ink-3); color: var(--ink);
}
.menu-btn svg { display: block; margin: auto; }
.menu-btn .icon-close { display: none; }
.header.is-open .menu-btn .icon-open { display: none; }
.header.is-open .menu-btn .icon-close { display: block; }
.menu { display: none; }
.scrim { position: fixed; inset: 0; z-index: 29; background: rgba(15, 16, 18, 0.64); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity 0.65s var(--ease-nav), visibility 0.65s; }
.scrim.is-on { opacity: 1; visibility: visible; }

/* Hero: the video under a dark wash; the headline and the words beside it share a bottom line. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--on-dark); isolation: isolate; }
.media-bg { position: absolute; inset: 0; z-index: -1; background: #2b2c30; }
.media-bg video, .media-bg img { width: 100%; height: 100%; object-fit: cover; }
.media-bg::after { content: ""; position: absolute; inset: 0; }
.hero .media-bg::after { background: rgba(15, 16, 18, 0.64); }
.hero-inner { height: 100%; padding: 96px var(--edge) 32px; display: flex; flex-direction: column; justify-content: center; }
.hero-content { width: 100%; max-width: 1736px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero h1 { max-width: 580px; }
.hero-side { max-width: 464px; display: flex; flex-direction: column; gap: 20px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }

/* The case for it. */
.intro { padding: 120px var(--edge); display: flex; justify-content: center; }
.intro-text { max-width: 680px; text-align: center; display: flex; flex-direction: column; gap: 32px; }
.intro-text p { text-wrap: balance; }

/* How it works: three screens of scroll; the words and the picture stay put while the steps advance. */
.how-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.how-head h2 { font-size: 48px; line-height: 1.08; letter-spacing: -0.035em; }
.how-head-out { display: none; }
.how-track { height: 300vh; padding: 0 6vw; }
.how-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; gap: 7vw; }
.how-left { flex: 1 1 0; max-width: 520px; display: flex; flex-direction: column; gap: 48px; }
.how-right { flex: 1 1 0; display: flex; justify-content: flex-end; }
.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 20px; cursor: pointer; }
.step-bar { flex: none; position: relative; width: 2px; background: var(--rule); }
.step-bar i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--ink); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.step-body { flex: 1 1 0; padding: 2px 0; min-width: 0; }
.step h3 { font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; opacity: 0.32; transition: opacity 0.3s var(--ease); }
.step-text { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.step-text > div { overflow: hidden; min-height: 0; }
.step-text p { padding-top: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); opacity: 0; transform: translateY(-4px); transition: opacity 0.15s var(--ease), transform 0.15s var(--ease); }
.step.is-on h3 { opacity: 1; }
.step.is-on .step-text { grid-template-rows: 1fr; }
.step.is-on .step-text p { opacity: 1; transform: none; }
.shots { position: relative; flex: none; width: min(100%, 608px, 62vh); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #e6e5e9; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.shots img.is-on { opacity: 1; }

/* FAQ. */
.faq { padding: 120px var(--edge); display: flex; }
.faq > * { flex: 1 1 0; min-width: 0; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.qa { background: var(--card); border-radius: 8px; padding: 24px; interpolate-size: allow-keywords; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 20px; line-height: 28px; }
.qa summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 32px; height: 32px; border-radius: 32px; box-shadow: inset 0 0 0 1px var(--hairline); }
.pm::before, .pm::after { content: ""; position: absolute; left: 8px; top: 15.5px; width: 16px; height: 1px; background: #0f1012; transition: transform 0.55s var(--ease-spring); }
.pm::after { transform: rotate(90deg); }
.qa[open] .pm::after { transform: rotate(180deg); }
.qa::details-content { height: 0; overflow: clip; transition: height 0.55s var(--ease-spring), content-visibility 0.55s allow-discrete; }
.qa[open]::details-content { height: auto; }
.answer { padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }

/* Last word and footer, over the second video. */
.closing { position: relative; isolation: isolate; color: var(--on-dark); padding: 64px 16px 16px; }
.closing .media-bg::after { inset: 0 0 auto; height: 264px; background: linear-gradient(180deg, #5f5e66 0%, rgba(26, 26, 23, 0) 100%); }
.closing-inner { max-width: 1800px; margin: 0 auto; display: flex; flex-direction: column; gap: 188px; }
.closing-head { padding-left: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.closing-head h2 { max-width: 480px; }
.footer { background: var(--card); color: var(--ink); border-radius: 16px; padding: 48px 32px 32px; box-shadow: var(--press); }
.footer-main { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 80px; }
.footer-brand { flex: 0 1 448px; display: flex; flex-direction: column; gap: 32px; }
.footer-brand .logo { padding: 0; }
.footer-brand p { max-width: 380px; color: var(--ink-2); }
.footer-links { width: 632px; display: flex; flex-direction: column; gap: 24px; }
.footer-label { font-size: 12px; line-height: 16px; letter-spacing: 1px; font-weight: 400; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { transition: color 0.2s var(--ease); }
@media (hover: hover) { .footer-links a:hover { color: var(--ink-2); } }
.footer-bottom { padding: 24px 0; box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline); font-size: 12px; line-height: 16px; color: var(--ink-2); }

/* Contact page. */
.contact { position: relative; padding: 160px var(--edge) 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dots { position: absolute; z-index: -1; left: 0; right: 0; top: 40px; height: 640px; opacity: 0.8; background: url(/media/dots.svg) center bottom / 1059px auto repeat; -webkit-mask: radial-gradient(50% 50% at 50% 50%, #000 0%, transparent 100%); mask: radial-gradient(50% 50% at 50% 50%, #000 0%, transparent 100%); }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; line-height: 12px; letter-spacing: 1px; text-transform: uppercase; color: #0f1012; }
.contact > .label { gap: 16px; }
.contact > .label::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--ink); }
.contact h1 { margin: 24px 0 80px; }
.contact-card { position: relative; width: 100%; max-width: 680px; min-height: 220px; padding: 24px; border-radius: 8px; background: var(--card); text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.contact-email { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.contact-card a.big { font-size: 20px; line-height: 28px; transition: color 0.2s var(--ease); }
@media (hover: hover) { .contact-card a.big:hover { color: var(--ink-2); } }
.contact-card p { font-size: 12px; line-height: 16px; }
.mail-icon { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; }

/* Booking: Cal.com's calendar in a sheet over the page (full screen on a phone). */
.booking {
  display: none; flex-direction: column; padding: 0; border: 0; margin: auto;
  width: min(860px, calc(100vw - 48px)); height: min(600px, calc(100dvh - 48px)); max-width: none; max-height: none;
  background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(14, 13, 16, 0.06);
  opacity: 0; transform: translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, overlay 180ms allow-discrete, display 180ms allow-discrete;
}
.booking[open] { display: flex; opacity: 1; transform: none; transition: opacity 250ms var(--ease-modal), transform 350ms var(--ease-modal), overlay 350ms allow-discrete, display 350ms allow-discrete; }
@starting-style { .booking[open] { opacity: 0; transform: translateY(8px) scale(0.98); } }
.booking::backdrop { background: rgba(14, 13, 16, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 180ms ease, overlay 180ms allow-discrete, display 180ms allow-discrete; }
.booking[open]::backdrop { opacity: 1; transition: opacity 250ms ease, overlay 250ms allow-discrete, display 250ms allow-discrete; }
@starting-style { .booking[open]::backdrop { opacity: 0; } }
.booking-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 4px 24px; }
.booking-head p { font-size: 16px; line-height: normal; font-weight: 500; letter-spacing: -0.01em; }
.booking-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 18px; background: #f1f1f3; cursor: pointer; }
.booking-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.booking-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #9c9ba3; font-size: 15px; }
.booking-cal { position: relative; width: 100%; min-height: 100%; margin: 0 auto; opacity: 0; transition: opacity 250ms ease; }
.booking.is-ready .booking-cal { opacity: 1; }
.booking.is-ready .booking-loading { display: none; }
html.is-booking { overflow: hidden; }

/* Entrances (set up by site.js, so everything reads fine without it). Letters un-blur one by one; blocks rise. */
.js .appear { opacity: 0; transform: translateY(var(--y, 20px)); transition: opacity 0.8s var(--ease-out) var(--d, 0s), transform 0.8s var(--ease-out) var(--d, 0s); }
.js .appear.is-in { opacity: 1; transform: none; }
.word { display: inline-block; white-space: nowrap; }
.js .split .ch { display: inline-block; opacity: 0.001; filter: blur(10px); transition: opacity 1.2s var(--ease-soft) calc(var(--i) * 2ms + var(--d, 0s)), filter 1.2s var(--ease-soft) calc(var(--i) * 2ms + var(--d, 0s)); }
.js .split.is-in .ch { opacity: 1; filter: none; }

/* Tablet. */
@media (max-width: 1199.98px) {
  .header .bar { max-width: 600px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-inner { padding: 96px 24px 32px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .hero-side { gap: 32px; }
  .closing-inner { gap: 120px; }
  .closing-head { padding-left: 8px; }
  .footer { padding: 24px; }
  .intro { padding: 80px 24px; }
  .footer-main { flex-direction: column; gap: 64px; }
  .footer-brand { flex: none; }
  .footer-links { width: auto; }
}

/* Below 1000px the booking sheet narrows to the calendar's single column. */
@media (max-width: 999.98px) {
  .booking { width: min(480px, calc(100vw - 48px)); height: min(760px, calc(100dvh - 48px)); }
  .booking-cal { max-width: 440px; }
}

/* Phone. */
@media (max-width: 809.98px) {
  :root { --edge: 16px; }
  body { font-size: 14px; line-height: 20px; }
  .t-display, .t-title { font-size: 32px; line-height: 36px; }
  .t-lead { font-size: 24px; line-height: 28px; }
  .btn, .pill { font-size: 12px; }
  .header .bar { max-width: none; padding-bottom: 8px; }
  .nav, .bar-row > .btn { display: none; }
  .menu-btn { display: block; }
  .bar { transition: padding-bottom 0.65s var(--ease-nav); }
  .header.is-open .bar { padding-bottom: 14px; }
  .menu { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.65s var(--ease-nav), visibility 0.65s; }
  .header.is-open .menu { grid-template-rows: 1fr; visibility: visible; }
  .menu-list { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
  .menu-list::before { content: ""; flex: none; height: 8px; }
  .menu a { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; box-shadow: inset 0 1px 0 rgba(26, 26, 23, 0.16); }
  .menu b { font-weight: 400; font-size: 14px; line-height: 20px; }
  .menu span { font-size: 10px; line-height: 16px; color: var(--ink-3); }
  .hero-inner { padding: 200px 16px 32px; justify-content: flex-start; }
  .hero h1 { font-size: 32px; line-height: 36px; }
  .intro { padding: 64px 16px; }
  .intro-text { gap: 28px; }
  .eyebrow { font-size: 10px; line-height: 12px; }
  .how-head-out { display: flex; padding: 88px 20px 0; }
  .how-head h2 { font-size: 34px; }
  .how-left .how-head { display: none; }
  .how-track { padding: 0; }
  .how-sticky { height: 100vh; height: 100svh; flex-direction: column; align-items: stretch; gap: 20px; padding: 84px 20px 24px; }
  .how-left { max-width: none; flex: none; }
  .how-right { order: -1; flex: none; justify-content: flex-start; }
  .shots { width: min(100%, calc((100svh - 330px) * 0.8)); border-radius: 18px; }
  .steps { gap: 16px; }
  .step { gap: 14px; }
  .step h3 { font-size: 22px; }
  .step-text p { padding-top: 6px; font-size: 15px; }
  .faq { padding: 80px 16px; flex-direction: column; gap: 32px; }
  .faq > * { flex: none; }
  .qa summary { font-size: 16px; line-height: 24px; }
  .closing-inner { gap: 80px; }
  .closing-head { padding-left: 0; }
  .footer { padding: 16px; }
  .footer-main { gap: 40px; padding-bottom: 24px; }
  .footer-brand { gap: 24px; }
  .footer-links { gap: 16px; }
  .footer-label { font-size: 10px; line-height: 12px; letter-spacing: 0.5px; }
  .footer-bottom { font-size: 10px; line-height: 14px; }
  .contact { padding: 120px 16px 80px; }
  .dots { top: -58px; }
  .label { line-height: 10px; }
  .contact h1 { font-size: 48px; line-height: 48px; }
  .contact-email { gap: 16px; }
  .contact-card a.big { font-size: 16px; line-height: 24px; }
  .contact-card p { font-size: 10px; line-height: 14px; }
  .booking { width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; transform: translateY(24px); }
  @starting-style { .booking[open] { transform: translateY(24px); } }
  .booking-head { padding: 10px 12px 6px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; }
}
