/* Locava Studio. Warm paper, deep green, editorial serif. */
:root {
  --paper: #f7f3ec; --paper-2: #efe8dc; --ink: #141b17; --ink-2: #4c5750; --green: #0f5c45; --green-d: #0a3b2d; --mint: #d7e8de; --sun: #f3b33d; --coral: #e2603a;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans Variable", "Instrument Sans", system-ui, sans-serif;
  --nav-h: 62px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 450 16.5px/1.55 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
em { font-style: italic; color: var(--green); }
.eyebrow { font: 700 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.huge { font: 400 clamp(52px, 11.4vw, 128px)/.98 var(--serif); letter-spacing: -.018em; margin-top: 18px; text-wrap: balance; }
.sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 620px; margin-top: 18px; }
.small { font-size: 13.5px; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 99px; background: var(--green); color: #fffaf0; font: 700 15.5px var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .7s cubic-bezier(.16, 1, .3, 1), box-shadow .7s cubic-bezier(.16, 1, .3, 1), background .3s ease; box-shadow: 0 10px 24px rgba(15, 92, 69, .26); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(15, 92, 69, .34); background: var(--green-d); }
.btn-big { min-height: 56px; font-size: 17px; padding: 0 30px; }
.btn-sm { min-height: 40px; padding: 0 17px; font-size: 14px; box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.nav { position: fixed; z-index: 30; inset: 0 0 auto 0; height: calc(var(--nav-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; transition: background .35s ease, box-shadow .35s ease; }
.nav.solid { background: rgba(247, 243, 236, .94); box-shadow: 0 1px 0 rgba(20, 27, 23, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.logo { font: 700 23px/1 var(--sans); letter-spacing: -.045em; text-decoration: none; display: inline-flex; align-items: baseline; }
.logo i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-left: 3px; }
.links { display: none; gap: 30px; margin-left: auto; margin-right: 12px; font-weight: 600; font-size: 15px; }
.links a { text-decoration: none; opacity: .82; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* ---------- hero ---------- */
.story { height: 340svh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 46% at 50% 56%, #fffdf7 0%, rgba(255, 253, 247, 0) 70%), radial-gradient(ellipse 60% 40% at 88% 18%, rgba(243, 179, 61, .28), transparent 70%), radial-gradient(ellipse 60% 44% at 6% 82%, rgba(15, 92, 69, .2), transparent 70%), var(--paper); }
.art, .art canvas, .poster, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; }
.poster { opacity: 0; transition: opacity .7s ease; }
.poster.on { opacity: 1; }
.art canvas { opacity: 0; transition: opacity .9s ease; }
.live .art canvas { opacity: 1; }
.live .poster { opacity: 0; transition-delay: .2s; }
.tags { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.tags span { position: absolute; left: 0; top: 0; white-space: nowrap; background: var(--ink); color: var(--paper); font: 700 11.5px var(--sans); padding: 6px 10px; border-radius: 99px; opacity: 0; will-change: transform; }
.tags span::after { content: ""; position: absolute; left: 100%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); }

.ch { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; pointer-events: none; padding: calc(var(--nav-h) + 6px + env(safe-area-inset-top)) 20px calc(14px + env(safe-area-inset-bottom)); visibility: hidden; transition: visibility 0s linear .45s; }
.ch.on { visibility: visible; transition-delay: 0s; }
.ch.on a, .ch.on input, .ch.on button, .ch.on label { pointer-events: auto; }
.ch-top, .ch-bottom { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 560px; }
.anim { opacity: 0; transform: translateY(30px); transition: opacity .35s ease, transform .5s cubic-bezier(.5, 0, .75, 0); }
.ch.on .anim { opacity: 1; transform: none; transition: opacity .8s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.ch.on .anim:nth-child(2) { transition-delay: .09s; }
.ch.on .anim:nth-child(3) { transition-delay: .18s; }
.ch-hero h1 { font: 400 clamp(36px, 10.2vw, 54px)/1.0 var(--serif); letter-spacing: -.012em; margin-top: 10px; text-wrap: balance; }
.lede { margin-top: 9px; color: var(--ink-2); font-size: 15px; max-width: 340px; text-wrap: balance; }
.ch h2 { font: 400 clamp(44px, 12vw, 96px)/.98 var(--serif); margin-top: 14px; text-wrap: balance; }
.try { width: 100%; max-width: 420px; display: grid; gap: 7px; text-align: left; }
.try label { font: 700 12.5px var(--sans); color: var(--ink-2); }
.try input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid rgba(20, 27, 23, .28); background: rgba(255, 253, 247, .96); padding: 0 15px; font: 500 22px var(--serif); color: var(--ink); }
.try input:focus { border-color: var(--green); outline: 3px solid rgba(15, 92, 69, .2); }
.moods { display: flex; gap: 6px; }
.moods button { flex: 1 1 auto; border: 1.5px solid rgba(20, 27, 23, .22); background: rgba(255, 253, 247, .8); border-radius: 99px; padding: 7px 4px; font: 700 12px var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .25s ease, color .25s ease; }
.moods button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ch-hero .btn-big { width: 100%; max-width: 420px; margin-top: 10px; min-height: 52px; }
.note { font-size: 12px; color: var(--ink-2); margin-top: 7px; }
.card { background: rgba(255, 253, 247, .95); border-radius: 20px; padding: 17px 22px; font: 400 21px/1.35 var(--serif); max-width: 390px; box-shadow: 0 20px 44px rgba(30, 50, 40, .16); text-wrap: balance; }
.ch-side { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
.scroll-hint { position: absolute; right: 9px; top: 42%; width: 3px; height: 16%; border-radius: 3px; background: rgba(20, 27, 23, .12); z-index: 4; }
.scroll-hint i { position: absolute; inset: 0; background: var(--green); border-radius: 3px; transform-origin: top; transform: scaleY(var(--p, .06)); }

/* ---------- work ---------- */
.work { padding: 110px 0 60px; }
.demos { display: grid; gap: clamp(56px, 9vw, 120px); max-width: 1240px; margin: 62px auto 0; padding: 0 16px; }
.demo { display: grid; gap: 20px; align-items: center; }
.shot { position: relative; display: block; background: var(--tint); border-radius: 28px; padding: 9% 7% 9% 6%; overflow: hidden; }
.desk { display: block; width: 90%; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(25, 30, 20, .24); background: #fff; }
.desk::before { content: ""; display: block; height: 20px; background: #fff radial-gradient(circle at 12px 50%, #d9d4ca 3.5px, transparent 4px) 0 0 / 100% 100%; }
.desk img { width: 100%; }
.mob { position: absolute; right: 5%; bottom: 5%; width: 27%; border: 5px solid #161b18; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 20, 12, .4); background: #161b18; will-change: transform; }
.mob img { width: 100%; border-radius: 19px; }
.shot img { transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.shot:hover .desk img { transform: scale(1.035); }
.js .shot.rv { opacity: 1; transform: none; clip-path: inset(9% 6% 9% 6% round 28px); transition: clip-path 1.5s cubic-bezier(.16, 1, .3, 1); }
.js .shot.rv.in { clip-path: inset(0 0 0 0 round 28px); }
.info { padding: 0 6px; }
.tag { display: inline-block; font: 700 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 5px 11px; }
.info h3 { font: 400 clamp(40px, 6vw, 64px)/1 var(--serif); margin-top: 12px; }
.kind { font: italic 400 22px var(--serif); color: var(--green); margin-top: 2px; }
.info p:not(.tag):not(.kind) { color: var(--ink-2); margin-top: 10px; max-width: 360px; }
.link { display: inline-flex; gap: 8px; margin-top: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 3px; }

/* ---------- how ---------- */
.how { background: var(--green-d); color: #f4efe3; padding: 112px 0 104px; }
.how .eyebrow, .how em { color: var(--sun); }
.steps { display: grid; gap: 18px; margin-top: 52px; counter-reset: s; }
.steps li { border: 1px solid rgba(244, 239, 227, .2); border-radius: 26px; padding: 26px 24px 30px; background: rgba(255, 255, 255, .045); }
.steps .n { font: italic 400 78px/1 var(--serif); color: var(--sun); display: block; }
.steps h3 { font: 400 34px/1.1 var(--serif); margin-top: 8px; }
.steps p { margin-top: 10px; color: #cfd9d1; }

/* ---------- price ---------- */
.price { padding: 112px 0 96px; }
.grid { display: grid; gap: 44px; }
.ticket { background: #fffdf8; border-radius: 32px; padding: 34px 28px 34px; box-shadow: 0 34px 70px rgba(25, 45, 35, .16); text-align: center; align-self: start; }
.amount { font: 400 clamp(130px, 38vw, 200px)/.92 var(--serif); letter-spacing: -.04em; margin-top: 8px; }
.amount sup { font-size: .34em; vertical-align: super; margin-right: 4px; color: var(--green); }
.once { font: italic 400 24px var(--serif); color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.split span { border: 1.5px dashed rgba(20, 27, 23, .26); border-radius: 16px; padding: 12px 8px; font-size: 14px; color: var(--ink-2); }
.split b { display: block; font: 400 32px/1.1 var(--serif); color: var(--ink); }
.free { margin: 20px 0 20px; font-weight: 700; }
.lists { display: grid; gap: 34px; align-content: start; }
.lists h3 { font: 400 34px var(--serif); margin-bottom: 8px; }
.lists li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid rgba(20, 27, 23, .12); }
.lists li::before { position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px var(--sans); }
.yes li::before { content: "✓"; background: var(--mint); color: var(--green-d); }
.no li::before { content: "✕"; background: var(--paper-2); color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { background: var(--paper-2); padding: 112px 0 100px; }
.qa { margin-top: 44px; }
details { border-bottom: 1px solid rgba(20, 27, 23, .18); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font: 400 clamp(23px, 4vw, 30px)/1.2 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font: 400 30px var(--sans); color: var(--green); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--ink-2); max-width: 640px; }
details[open] p { animation: open .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- form ---------- */
.contact { padding: 112px 0 100px; scroll-margin-top: 0; }
form { display: grid; gap: 16px; margin-top: 40px; background: #fffdf8; border-radius: 30px; padding: 26px 20px 28px; box-shadow: 0 34px 70px rgba(25, 45, 35, .14); }
form label { display: grid; gap: 7px; font: 700 13.5px var(--sans); }
form label span { font-weight: 500; color: var(--ink-2); }
form input, form textarea { width: 100%; border-radius: 14px; border: 1.5px solid rgba(20, 27, 23, .22); background: var(--paper); padding: 14px 15px; font: 500 16px var(--sans); color: var(--ink); }
form input:focus, form textarea:focus { border-color: var(--green); outline: 3px solid rgba(15, 92, 69, .2); }
form [aria-invalid="true"] { border-color: var(--coral); }
.two { display: grid; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result { font-weight: 700; min-height: 1.4em; }
.result.ok { color: var(--green); }
.result.bad { color: #a3341a; }

.foot { background: var(--ink); color: var(--paper); padding: 54px 0 calc(96px + env(safe-area-inset-bottom)); }
.foot .logo { font-size: 40px; }
.foot .logo i { width: 12px; height: 12px; background: var(--sun); }
.foot p { margin-top: 10px; }
.foot .small { color: #aab5ad; }

.float-cta { position: fixed; z-index: 25; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center; align-items: center; min-height: 52px; border-radius: 99px; background: var(--green); color: #fffaf0; font: 700 16px var(--sans); text-decoration: none; box-shadow: 0 16px 34px rgba(10, 50, 35, .36); transform: translateY(140%); visibility: hidden; transition: transform .8s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .8s; }
.float-cta.show { transform: none; visibility: visible; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }

.js .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform 1.3s cubic-bezier(.16, 1, .3, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
  form { padding: 36px 36px 36px; }
}
@media (min-width: 900px) {
  .links { display: flex; }
  .float-cta { display: none; }
  .foot { padding-bottom: 54px; }
  .grid { grid-template-columns: 1fr 1.15fr; gap: 72px; }
  .ticket { position: sticky; top: 96px; }
  .demo { grid-template-columns: 1.9fr 1fr; gap: 48px; }
  .demo:nth-child(even) { grid-template-columns: 1fr 1.9fr; }
  .demo:nth-child(even) .shot { order: 2; }
  .demo:nth-child(even) .info { justify-self: end; }
}
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .nav { padding: 0 40px; }
  .ch { align-items: flex-start; justify-content: center; text-align: left; padding: var(--nav-h) 0 20px max(40px, 6.5vw); gap: 26px; }
  .ch-top, .ch-bottom { align-items: flex-start; width: min(44vw, 640px); max-width: none; }
  .ch-hero h1 { font-size: min(5.6vw, 10.4vh); line-height: .99; margin-top: 18px; }
  .lede { font-size: 19px; max-width: 480px; margin-top: 18px; }
  .try { max-width: 480px; }
  .ch-hero .btn-big { width: auto; margin-top: 16px; }
  .ch h2 { font-size: min(6.4vw, 12vh); }
}
@media (max-aspect-ratio: 1/1) and (max-height: 760px) {
  .ch-hero h1 { font-size: min(9.4vw, 5.1vh); }
  .lede, .note, .ch-hero .eyebrow { display: none; }
  .try label { display: none; }
  .try input { height: 42px; font-size: 19px; }
  .moods button { padding: 5px 4px; }
  .ch-hero .btn-big { min-height: 44px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .anim, .ch.on .anim, .js .rv { transform: none !important; transition: opacity .6s ease !important; }
  .js .shot.rv { clip-path: none; }
  details[open] p { animation: none; }
}
