/* VisioHouse — static rebuild (Oct 2026). No framework, no build step. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --navy: #12161F;
  --navy-2: #1A1F2C;
  --navy-3: #232A3B;
  --paper: #FBF7F1;
  --cream: #F3E7D6;
  --cream-text: #F5E6D3;
  --ink: #1A1F2C;
  --ink-2: #4E5361;
  --orange: #E67E22;
  --orange-hi: #F29A4A;
  --orange-ink: #A84E0E;   /* orange for small text on light backgrounds (AA) */
  --green: #3DD68C;
  --line: rgba(26,31,44,.10);
  --line-dark: rgba(245,230,211,.12);
  --radius: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--orange); color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream-text); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 + .lede { margin-top: 20px; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 620px; }
.section--navy .lede { color: rgba(245,230,211,.74); }
.muted { color: #8A8C94; }
.section--navy .muted { color: rgba(245,230,211,.5); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 18px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: var(--orange-hi); }

/* grain texture (very subtle) */
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: -0.005em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; white-space: nowrap; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(230,126,34,.65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { background: var(--orange-hi); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(230,126,34,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { background: rgba(245,230,211,.08); color: var(--cream-text); border: 1px solid rgba(245,230,211,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-left: 10px; }
.btn--ghost img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.btn--ghost:hover { background: rgba(245,230,211,.16); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(26,31,44,.25); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-align: left; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav__inner { max-width: 1280px; margin: 0 auto; padding: 18px var(--pad); display: flex; align-items: center; gap: 24px; transition: padding .35s var(--ease); }
.nav.is-scrolled { background: rgba(18,22,31,.93); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(245,230,211,.08); }
.nav.is-scrolled .nav__inner { padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--cream-text); }
.brand b { color: var(--orange); font-weight: 700; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: rgba(245,230,211,.82); text-decoration: none; font-size: 15px; font-weight: 600; position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--cream-text); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 920px) { .nav__links { display: none; } .nav .btn--sm { margin-left: auto; } }
@media (max-width: 420px) { .brand { font-size: 18px; } .brand img { width: 26px; height: auto; } .nav .btn--sm { padding: 0 14px; font-size: 13px; min-height: 40px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); background: var(--navy); color: var(--cream-text); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transform: scale(1.08); transform-origin: 85% 50%; animation: kenburns 2.6s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18,22,31,.92) 0%, rgba(18,22,31,.78) 32%, rgba(18,22,31,.28) 60%, rgba(18,22,31,.12) 100%),
    linear-gradient(0deg, rgba(18,22,31,.95) 0%, rgba(18,22,31,0) 30%),
    linear-gradient(180deg, rgba(18,22,31,.6) 0%, rgba(18,22,31,0) 22%); }
.hero__streams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.6s ease .6s; }
.hero__streams.on { opacity: .85; }
@media (max-width: 760px) {
  .hero__streams { top: 20svh; height: 80svh; bottom: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
  .hero__streams.on { opacity: .75; }
}
@media (max-width: 760px) and (max-height: 800px) { .hero__streams { top: 34svh; height: 66svh; } }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 130px var(--pad) 110px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(42px, 6vw, 82px); line-height: 1.02; letter-spacing: -0.026em; font-weight: 700; margin: 0 0 26px; }
.hero__title span, .hero__title em { display: block; }
.hero__title em { font-style: normal; color: var(--orange-hi); font-weight: 600; }
.hero__sub { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: rgba(245,230,211,.84); max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(245,230,211,.72); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,214,140,.15); }

.hero-in { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; animation-delay: calc(.25s + var(--d, 0) * .12s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(245,230,211,.35); border-radius: 20px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--cream-text); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Phone */
.hero__phone { position: relative; justify-self: center; transform: translateX(10px); }
@media (max-width: 1360px) { .hero__phone { justify-self: start; transform: none; } }
.phone { zoom: .85; position: relative; width: 320px; height: 620px; border-radius: 46px; padding: 14px; background: linear-gradient(160deg, #2a3142, #0d1017 60%); box-shadow: 0 0 0 1.5px rgba(245,230,211,.14), 0 50px 100px -30px rgba(0,0,0,.8), 0 0 120px -20px rgba(230,126,34,.35); transform: rotate(-2deg); animation: float 7s ease-in-out infinite 3s; }
@keyframes float { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
.phone::before { content: ''; position: absolute; inset: 14px; border-radius: 34px; background: linear-gradient(180deg, #F7EFE4 0%, #F1E6D6 100%); }
.phone > * { position: relative; }
.phone__notch { position: absolute; top: 24px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #0d1017; border-radius: 20px; z-index: 3; }
.phone__status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.phone__icons { letter-spacing: 1px; font-size: 9px; opacity: .7; }
.phone__head { display: flex; align-items: center; gap: 10px; margin: 26px 10px 6px; padding: 10px 12px; background: #fff; border-radius: 16px; box-shadow: 0 6px 18px -10px rgba(26,31,44,.35); color: var(--ink); }
.phone__head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.phone__head b { display: block; font-size: 14px; line-height: 1.2; }
.phone__head small { display: block; font-size: 11.5px; color: #2E8B57; font-weight: 600; }
.phone__thread { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; height: 420px; overflow: hidden; justify-content: flex-end; transition: padding-bottom .5s var(--ease); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px); mask-image: linear-gradient(180deg, transparent 0, #000 34px); }
.phone.has-toast .phone__thread { padding-bottom: 92px; }
.msg { max-width: 84%; padding: 10px 13px 8px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink); box-shadow: 0 2px 6px -3px rgba(26,31,44,.25); }
.msg time { display: block; font-size: 10px; opacity: .55; margin-top: 3px; text-align: right; }
.msg--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--navy-2); color: var(--cream-text); border-bottom-right-radius: 6px; }
.msg--typing { align-self: flex-end; background: var(--navy-2); display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-text); animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
.phone__toast { position: absolute; left: 22px; right: 22px; bottom: 30px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: rgba(18,22,31,.94); color: var(--cream-text); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); border: 1px solid rgba(61,214,140,.35); }
.phone__toast b { display: block; font-size: 14px; }
.phone__toast small { display: block; font-size: 12px; color: rgba(245,230,211,.7); }
.tick { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; }
.tick--lg { width: 56px; height: 56px; font-size: 26px; margin-bottom: 16px; }
.replay { position: absolute; right: -6px; bottom: -40px; background: none; border: 0; color: rgba(245,230,211,.6); font-size: 13px; font-weight: 600; padding: 6px 8px; }
.replay:hover { color: var(--cream-text); }

/* demo sequencing (JS adds .on per step); without JS, everything is visible */
.js .phone [data-step] { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .phone [data-step].on { opacity: 1; transform: none; }
.js .phone .msg--typing:not(.on) { display: none; }
.js .phone .phone__toast[data-step] { transform: translateY(16px); }
.js .phone .phone__toast.on { transform: none; }
.no-typing .msg--typing { display: none !important; }

@media (max-width: 980px) {
  .hero { align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 90px; gap: 48px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(18,22,31,.88) 0%, rgba(18,22,31,.78) 45%, rgba(18,22,31,.9) 100%); }
  .hero__phone { justify-self: center; }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; }
  .phone { width: 300px; height: 580px; }
  .phone__thread { height: 390px; }
  .msg { font-size: 13px; }
  .replay { right: 50%; transform: translateX(50%); }
}


/* ---------- Mobile hero: let the VisioHouse building breathe ---------- */
.hero__cue { display: none; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__bg { bottom: auto; top: 20svh; height: 80svh; min-height: 540px; }
  .hero__bg img { object-position: 60% 40%; animation: none; transform: none; }
  .hero__scrim { bottom: auto; height: calc(100% + 0px);
    background:
      linear-gradient(180deg,
        #12161F 0%,
        #12161F 20svh,
        rgba(18,22,31,.72) 30svh,
        rgba(18,22,31,.38) 40svh,
        rgba(18,22,31,.06) 52svh,
        rgba(18,22,31,.12) 66svh,
        rgba(18,22,31,.45) 80svh,
        rgba(18,22,31,.92) calc(100svh - 40px),
        #12161F 100svh,
        #12161F 100%); }
  .hero__inner { padding-top: 104px; padding-bottom: 80px; gap: 56px; }
  .hero__lead { min-height: calc(100svh - 104px); display: flex; flex-direction: column; }
  .hero__lead .eyebrow { margin-bottom: 20px; }
  .hero__title { font-size: clamp(44px, 12.6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 0; text-shadow: 0 2px 24px rgba(18,22,31,.7), 0 1px 3px rgba(18,22,31,.6); }
  .hero__title span + em { margin-top: 10px; }
  .hero__cue { display: block; position: relative; margin: auto auto 30px 2px; width: 26px; height: 42px; border: 1.5px solid rgba(245,230,211,.55); border-radius: 20px; }
  .hero__cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--cream-text); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
  .hero__sub { margin-top: 8px; }
}
@media (max-width: 760px) and (max-height: 800px) {
  .hero__bg { top: 34svh; height: 66svh; min-height: 0; }
  .hero__scrim { background:
      linear-gradient(180deg, #12161F 0%, #12161F 34svh, rgba(18,22,31,.5) 44svh, rgba(18,22,31,.08) 60svh,
        rgba(18,22,31,.25) 82svh, rgba(18,22,31,.92) calc(100svh - 30px), #12161F 100svh, #12161F 100%); }
}

/* ---------- Promise strip ---------- */
.strip { background: var(--navy); color: var(--cream-text); border-top: 1px solid var(--line-dark); }
.strip__inner { max-width: 1280px; margin: 0 auto; padding: 34px var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.strip__item { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line-dark); }
.strip__item b { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; color: var(--orange-hi); line-height: 1.1; }
.strip__item span { font-size: 14px; color: rgba(245,230,211,.72); line-height: 1.45; }
@media (max-width: 860px) { .strip__inner { grid-template-columns: 1fr 1fr; } }

/* ---------- Leaks ---------- */
.leaks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.leak { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(26,31,44,.35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.leak:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -40px rgba(26,31,44,.45); }
.leak__media { aspect-ratio: 16 / 9; overflow: hidden; }
.leak__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.leak:hover .leak__media img { transform: scale(1.04); }
.leak__body { padding: 30px 32px 34px; }
.leak__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.leak h3 { margin-bottom: 12px; }
.leak p { color: var(--ink-2); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .leaks__grid { grid-template-columns: 1fr; } .leak__body { padding: 24px 22px 28px; } }

/* ---------- Scroll-lit quote ---------- */
.bigquote { padding-top: 0; }
.bigquote__text { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.03em; max-width: 1000px; margin: 0; color: var(--ink); }
.js .bigquote__text .w { opacity: .16; transition: opacity .35s linear; }
.js .bigquote__text .w.lit { opacity: 1; }
.bigquote__text .w--accent.lit { color: var(--orange-ink); }

/* ---------- Process story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.story__stage { position: sticky; top: 110px; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .35; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 40px; }
.step:last-child { min-height: 52vh; }
.step__num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--orange-ink); letter-spacing: .08em; margin-bottom: 10px; }
.step h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 18px; max-width: 420px; }

.browser { background: #fff; border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 50px 90px -50px rgba(26,31,44,.55); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #F3EDE4; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #E2D6C6; }
.browser__bar i:first-child { background: #F08A6E; } .browser__bar i:nth-child(2) { background: #F3C35B; } .browser__bar i:nth-child(3) { background: #6BCB8B; }
.browser__bar span { margin-left: 12px; flex: 1; font-size: 12.5px; color: #8A8478; background: #fff; border-radius: 8px; padding: 4px 12px; }
.browser__view { position: relative; aspect-ratio: 16 / 11; background: var(--paper); overflow: hidden; }
.st { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.st--1 { display: flex; gap: 16px; padding: 8%; align-items: center; justify-content: center; }
.note { background: #FFF3C9; color: #4a4232; padding: 18px 20px; border-radius: 6px; box-shadow: 0 14px 24px -14px rgba(0,0,0,.35); transform: rotate(-3deg); font-size: 14px; width: 48%; }
.note--b { background: #FFE0CC; transform: rotate(2.5deg) translateY(16px); }
.note b { font-family: var(--display); font-size: 17px; }
.note ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }
.st--2 { padding: 0; }
/* mini website (How it works, stage 2+) — scales with the browser frame */
.browser__view { container-type: inline-size; }
.ms { height: 100%; display: flex; flex-direction: column; background: #FBF6EE; font-family: var(--body); color: var(--ink); }
.ms__nav { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 4cqw; background: #FBF6EE; border-bottom: 1px solid rgba(26,31,44,.06); }
.ms__logo { font-family: var(--display); font-weight: 700; font-size: 3.2cqw; letter-spacing: -0.02em; white-space: nowrap; }
.ms__logo i { font-style: normal; color: #C2410C; }
.ms__links { display: flex; gap: 3cqw; margin-left: auto; font-size: 2.1cqw; font-weight: 600; color: #5A5F6B; }
.ms__links em { font-style: normal; }
.ms__btn { font-size: 2cqw; font-weight: 700; background: var(--navy-2); color: var(--cream-text); padding: 1.3cqw 2.6cqw; border-radius: 99px; white-space: nowrap; }
.ms__hero { position: relative; flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; overflow: hidden; background: linear-gradient(115deg, #1C1A19 0%, #2A211B 60%, #3B2617 100%); }
.ms__photo { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.ms__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.6cqw; padding: 0 0 0 4.5cqw; }
.ms__eyebrow { font-size: 1.7cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F29A4A; }
.ms__h { font-family: var(--display); font-weight: 700; font-size: 4.6cqw; line-height: 1.05; letter-spacing: -0.03em; color: #F7EDE0; }
.ms__p { font-size: 2.1cqw; line-height: 1.45; color: rgba(247,237,224,.75); max-width: 92%; }
.ms__ctas { display: flex; gap: 1.6cqw; align-items: center; margin-top: .6cqw; }
.ms__ctas b { font-size: 2cqw; background: var(--orange); color: var(--navy); padding: 1.4cqw 2.8cqw; border-radius: 99px; }
.ms__ctas u { font-size: 2cqw; font-weight: 600; color: #F7EDE0; text-decoration: none; border-bottom: 1px solid rgba(247,237,224,.4); padding-bottom: .3cqw; }
.ms__chip { position: absolute; right: 3cqw; top: 3cqw; z-index: 2; background: rgba(18,22,31,.55) !important; backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 1cqw; font-size: 1.7cqw; font-weight: 600; color: #F7EDE0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .9cqw 1.8cqw; border-radius: 99px; }
.ms__chip i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--green); }
.ms__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; padding: 3cqw 4cqw 3.4cqw; }
.ms__cards span { display: flex; flex-direction: column; gap: .5cqw; padding: 2cqw 2.2cqw; border-radius: 2cqw; background: #fff; box-shadow: 0 1px 0 var(--line), 0 1.6cqw 3cqw -2cqw rgba(26,31,44,.35); border-top: .5cqw solid var(--orange); }
.ms__cards b { font-size: 2.1cqw; font-family: var(--display); letter-spacing: -0.01em; }
.ms__cards small { font-size: 1.7cqw; color: #6B6F7A; }
@keyframes buildIn { from { opacity: 0; transform: translateY(1.6cqw); } }
@keyframes photoIn { from { opacity: 0; transform: scale(1.06); } }
.browser[data-stage="2"] .b-in { animation: buildIn .7s var(--ease) backwards; animation-delay: calc(.15s + var(--i, 0) * .09s); }
.browser[data-stage="2"] .ms__photo { animation-name: photoIn; animation-duration: 1.1s; }
.st--2 { z-index: 1; } .st--3 { pointer-events: none; z-index: 2; } .st--4 { z-index: 3; }
.mini-chat { position: absolute; right: 4%; bottom: 6%; width: 50%; background: #fff; border-radius: 2.4cqw; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); padding: 1.8cqw; font-size: max(10px, 2.1cqw); }
.mini-chat .b { font-size: max(10px, 2.1cqw); padding: 1.2cqw 1.7cqw; margin-bottom: 1cqw; }
.mini-chat__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: max(10px, 1.9cqw); color: #2E8B57; margin-bottom: 8px; }
.mini-chat__head img { border-radius: 50%; }
.b { margin: 0 0 6px; padding: 8px 11px; border-radius: 14px; max-width: 90%; line-height: 1.4; font-size: 13px; }
.b--in { background: #F1EBE2; color: var(--ink); border-bottom-left-radius: 4px; }
.b--out { background: var(--navy-2); color: var(--cream-text); margin-left: auto; border-bottom-right-radius: 4px; }
.st--4 { pointer-events: none; }
.report { position: absolute; left: 4%; bottom: 6%; width: 46%; background: var(--navy); color: var(--cream-text); border-radius: 2.4cqw; padding: 2.2cqw 2.6cqw; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); font-size: max(10px, 2cqw); }
.report b { font-family: var(--display); font-size: max(12px, 2.6cqw); }
.report ul { list-style: none; padding: 0; margin: 8px 0 0; }
.report li { padding: .7cqw 0 .7cqw 3.4cqw; position: relative; color: rgba(245,230,211,.85); }
.report li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* stage logic */
.browser .st--2, .browser .st--3, .browser .st--4 { opacity: 0; transform: translateY(14px); }
.browser[data-stage="1"] .st--1 { opacity: 1; transform: none; }
.browser:not([data-stage="1"]) .st--1 { opacity: 0; transform: scale(.96); }
.browser[data-stage="2"] .st--2, .browser[data-stage="3"] .st--2, .browser[data-stage="4"] .st--2 { opacity: 1; transform: none; }
.browser[data-stage="3"] .st--3, .browser[data-stage="4"] .st--3 { opacity: 1; transform: none; }
.browser[data-stage="4"] .st--4 { opacity: 1; transform: none; }
.browser[data-stage="4"] .st--3 .mini-chat { transform: translateY(-8px) scale(.94); transform-origin: bottom right; transition: transform .6s var(--ease); }
.story__dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.story__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(26,31,44,.18); transition: width .4s var(--ease), background .4s; }
.story__dots i.on { width: 26px; border-radius: 4px; background: var(--orange); }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story__stage { top: 74px; z-index: 2; background: var(--cream); padding: 10px 0 12px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
  .browser__view { aspect-ratio: 16 / 10; }
  .note { font-size: 12px; padding: 12px 14px; } .note b { font-size: 14px; }

  .step { min-height: 52vh; }
  .step:first-child { min-height: 40vh; padding-top: 28px; }
  .step p { font-size: 17px; }
  .story__dots { margin-top: 10px; }
}

/* ---------- Services bento ---------- */
.services { overflow: hidden; }
.services .wrap { position: relative; z-index: 2; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(280px, auto); gap: 20px; }
.card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid var(--line-dark); overflow: hidden; transition: transform .5s var(--ease), border-color .5s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(230,126,34,.16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(230,126,34,.4); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card--wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.card--wide .card__text { flex: 1; align-self: center; }
.card--wide .card__visual { flex: 1.1; }
.card--tall { grid-row: span 2; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-hi); margin-bottom: 14px; }
.card h3 { color: var(--cream-text); margin-bottom: 10px; }
.card p { color: rgba(245,230,211,.72); font-size: 15.5px; margin: 0; }
.card__visual--img { border-radius: 14px; overflow: hidden; min-height: 220px; }
.card__visual--img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__visual--img img { transform: scale(1.04); }
.chatviz { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(245,230,211,.06); border: 1px solid var(--line-dark); }
.chatviz .b { font-size: 13.5px; }
.card .chatviz .b--in { background: rgba(245,230,211,.92); color: var(--ink); }
.card .chatviz .b--out { background: var(--orange); color: var(--navy); font-weight: 600; }
.searchviz { display: flex; flex-direction: column; gap: 10px; }
.searchviz__bar { font-size: 13px; padding: 10px 14px 10px 36px; border-radius: 999px; background: rgba(245,230,211,.92); color: var(--ink); position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchviz__bar::before { content: ''; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: 2px solid #8A8478; border-radius: 50%; }
.searchviz__ai { padding: 14px; border-radius: 14px; background: rgba(245,230,211,.06); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.searchviz__ai b { color: var(--orange-hi); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.searchviz__ai span { height: 7px; border-radius: 4px; background: rgba(245,230,211,.2); }
.searchviz__ai span:nth-of-type(2) { width: 70%; }
.searchviz__ai em { font-style: normal; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: var(--navy); font-weight: 700; }
.checkviz { display: flex; flex-direction: column; gap: 10px; }
.checkviz span { padding: 12px 16px; border-radius: 12px; background: rgba(245,230,211,.06); border: 1px solid var(--line-dark); font-size: 14px; color: rgba(245,230,211,.88); }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
  .card--tall { grid-row: auto; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; flex-direction: column; }
  .card { padding: 24px; }
}

/* ---------- Violet ---------- */
.violet__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.violet__portrait { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.arch { border-radius: 200px 200px 26px 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); box-shadow: 0 50px 90px -50px rgba(26,31,44,.6); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.violet__badge { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(26,31,44,.5); display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,214,140,.6); animation: ping 2.4s infinite; display: inline-block; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,214,140,.55); } 70% { box-shadow: 0 0 0 9px rgba(61,214,140,0); } 100% { box-shadow: 0 0 0 0 rgba(61,214,140,0); } }
.violet__copy h2 { margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(230,126,34,.16); color: var(--orange-ink); }
.fine { font-size: 13.5px; color: #75798A; margin: 16px 0 0; }
@media (max-width: 860px) { .violet__grid { grid-template-columns: 1fr; } .violet__portrait { max-width: 290px; margin-bottom: 20px; } }

/* ---------- Band ---------- */
.band { position: relative; overflow: hidden; color: var(--cream-text); padding: clamp(110px, 14vw, 180px) 0; background: var(--navy); }
.band__bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.band__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,31,.93) 0%, rgba(18,22,31,.82) 50%, rgba(18,22,31,.55) 100%); }
.band__inner { position: relative; z-index: 2; max-width: var(--wrap); }
.band h2 { max-width: 760px; margin-bottom: 22px; }
.band p { max-width: 600px; font-size: 18px; color: rgba(245,230,211,.82); }
.band__note { font-family: var(--display); font-weight: 600; color: var(--orange-hi) !important; margin-top: 26px; font-size: 19px !important; }
@media (max-width: 680px) { .band__scrim { background: rgba(18,22,31,.86); } }

/* ---------- Founder ---------- */
.founder__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.founder__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 90px -50px rgba(26,31,44,.6); max-width: 440px; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__copy h2 { margin-bottom: 24px; }
.founder__copy p { color: var(--ink-2); }
.sig { font-family: var(--display); font-weight: 600; color: var(--ink) !important; margin-top: 24px; }
.sig::before { content: '— '; color: var(--orange-ink); }
@media (max-width: 860px) { .founder__grid { grid-template-columns: 1fr; } .founder__photo { max-width: 360px; } }

/* ---------- Proof ---------- */
.proof__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
blockquote { margin: 0 0 32px; }
blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 26px; }
blockquote footer { display: flex; flex-direction: column; font-size: 15px; color: var(--ink-2); padding-left: 18px; border-left: 3px solid var(--orange); }
blockquote footer b { color: var(--ink); font-size: 16px; }
.proof__note { color: var(--ink-2); font-size: 16px; max-width: 540px; }
.device { max-width: 360px; margin: 0 auto; padding: 12px; border-radius: 32px; background: var(--navy); box-shadow: 0 50px 90px -40px rgba(26,31,44,.7); transform: rotate(2deg); transition: transform .6s var(--ease); }
.device:hover { transform: rotate(0) translateY(-6px); }
.device img { border-radius: 22px; }
@media (max-width: 860px) { .proof__grid { grid-template-columns: 1fr; } .device { max-width: 300px; } }

/* ---------- Selected work ---------- */
.laptop { position: relative; }
.laptop__screen { position: relative; padding: 2.2% 2.2% 2.6%; background: #11141B; border-radius: 14px 14px 4px 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 40px 70px -40px rgba(26,31,44,.7); }
.laptop__screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; display: block; }
.laptop__base { height: 12px; margin: 0 -6%; background: linear-gradient(180deg, #D8D2C8, #B9B2A6); border-radius: 0 0 14px 14px; box-shadow: 0 18px 30px -18px rgba(26,31,44,.6); position: relative; }
.laptop__base::after { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; margin-left: -8%; background: #A9A296; border-radius: 0 0 6px 6px; }
.phone-sm { position: absolute; right: -2%; bottom: -6%; width: 23%; padding: 1.4%; background: #0E1117; border-radius: 18%/9%; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset; }
.phone-sm img { width: 100%; border-radius: 15%/7.5%; display: block; }

.feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 72px); align-items: center; background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 52px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -60px rgba(26,31,44,.5); margin-bottom: clamp(48px, 6vw, 80px); }
.feature__visual { position: relative; padding: 0 4% 6% 0; }
.feature__text h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 14px 0 6px; }
.feature__meta { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.feature blockquote { margin: 0 0 22px; }
.feature blockquote p { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 14px; }
.feature__chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.feature__chips li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--cream); color: var(--ink); }
.feature__link { font-weight: 700; color: var(--orange-ink); text-decoration: none; border-bottom: 2px solid rgba(168,78,14,.25); padding-bottom: 2px; }
.feature__link:hover { border-color: var(--orange-ink); }
.work__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6B6F7A; }
.work__tag--live { color: #1F7A4D; }
.work__tag--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,214,140,.18); }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.work__visual { position: relative; padding: 0 3% 7% 0; transition: transform .6s var(--ease); }
.work:hover .work__visual { transform: translateY(-6px); }
.work .laptop__screen img { transition: transform 1.2s var(--ease); }
.work__text { padding-top: 18px; }
.work__text h3 { font-size: clamp(19px, 1.7vw, 22px); margin: 8px 0 8px; }
.work__text p { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 520px; }
.work-note { margin: clamp(36px, 5vw, 56px) 0 0; font-size: 13.5px; color: #6B6F7A; max-width: 760px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { margin-bottom: 18px; }
.faq__head .btn { margin-top: 8px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -0.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(230,126,34,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23A84E0E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform .35s var(--ease), background-color .35s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: rgba(230,126,34,.22); }
.faq__list summary:hover { color: var(--orange-ink); }
.faq__list details > div { overflow: hidden; }
.faq__list details p { color: var(--ink-2); padding: 0 50px 24px 0; margin: 0; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .faq__list details p { padding-right: 0; } }

/* ---------- Final CTA ---------- */
.cta { overflow: hidden; }
.cta__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(230,126,34,.22), transparent 60%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cta h2 { margin-bottom: 20px; }
.cta__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.cta__list li { position: relative; padding-left: 30px; color: rgba(245,230,211,.84); }
.cta__list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.formcard { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 60px 100px -50px rgba(0,0,0,.8); }
.formcard form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formcard label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.formcard label i { font-style: normal; font-weight: 500; color: #7A7E8A; }
.formcard input, .formcard textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: #fff; border: 1.5px solid rgba(26,31,44,.14); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.formcard textarea { resize: vertical; min-height: 90px; }
.formcard input::placeholder, .formcard textarea::placeholder { color: #9A9186; }
.formcard input:focus, .formcard textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(230,126,34,.18); }
.formcard input[aria-invalid="true"] { border-color: #C0392B; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FDECEA; color: #9B2C1F; font-size: 14px; font-weight: 600; }
.formcard .fine { text-align: center; margin-top: 0; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .tick { margin: 0 auto 16px; }
.form-done h3 { font-size: 28px; margin-bottom: 10px; }
.form-done p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #0D1017; color: rgba(245,230,211,.7); padding: 70px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { margin-bottom: 14px; }
.footer p { max-width: 360px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer h4 { font-family: var(--body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-text); margin-bottom: 14px; }
.footer__cols a, .footer__cols .linkish { display: block; text-decoration: none; padding: 5px 0; color: rgba(245,230,211,.7); font-size: 15px; transition: color .2s; }
.footer__cols a:hover, .footer__cols .linkish:hover { color: var(--orange-hi); }
.footer__base { padding-top: 24px; font-size: 13.5px; color: rgba(245,230,211,.5); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Violet chat ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat__pill { display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px 0 8px; border: 0; border-radius: 999px; background: var(--orange); color: var(--navy); box-shadow: 0 18px 40px -14px rgba(230,126,34,.7), 0 6px 14px -6px rgba(0,0,0,.3); transition: transform .3s var(--ease), box-shadow .3s, width .3s, padding .3s; opacity: 0; transform: translateY(20px); animation: rise .7s var(--ease) 1.6s forwards; }
.chat__pill:hover { transform: translateY(-3px); }
.chat__ava { position: relative; width: 48px; height: 48px; flex: none; }
.chat__ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.7); }
.chat__ava .dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border: 2px solid var(--orange); }
.chat__label { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.chat__label b { font-size: 16px; font-family: var(--display); letter-spacing: -0.01em; }
.chat__label small { font-size: 12px; font-weight: 600; opacity: .8; }
.chat__close { display: none; font-size: 20px; font-weight: 700; }
.chat.is-tucked:not(.is-open) .chat__pill { transform: translateY(120px); opacity: 0; pointer-events: none; animation: none; }
.chat.is-open .chat__pill { width: 60px; height: 60px; padding: 0; justify-content: center; }
.chat.is-open .chat__ava, .chat.is-open .chat__label { display: none; }
.chat.is-open .chat__close { display: block; }
.chat__panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 120px)); display: flex; flex-direction: column; background: var(--navy); color: var(--cream-text); border-radius: 22px; overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform-origin: bottom right; animation: pop .35s var(--ease); }
.chat__panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy-2); border-bottom: 1px solid var(--line-dark); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat__head b { display: block; font-size: 14.5px; }
.chat__head small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(245,230,211,.7); }
.chat__head .dot { width: 7px; height: 7px; }
.chat__x { margin-left: auto; background: none; border: 0; color: rgba(245,230,211,.7); font-size: 18px; width: 36px; height: 36px; border-radius: 50%; }
.chat__x:hover { background: rgba(245,230,211,.1); color: var(--cream-text); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cm { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.cm--a { align-self: flex-start; background: var(--navy-3); border-bottom-left-radius: 5px; }
.cm--u { align-self: flex-end; background: var(--orange); color: var(--navy); font-weight: 500; border-bottom-right-radius: 5px; }
.cm--typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.cm--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-text); animation: blink 1.2s infinite; }
.cm--typing i:nth-child(2) { animation-delay: .15s; } .cm--typing i:nth-child(3) { animation-delay: .3s; }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line-dark); }
.chat__form textarea { flex: 1; font: inherit; font-size: 15px; line-height: 1.4; color: var(--cream-text); background: var(--navy-3); border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px 12px; resize: none; overflow-y: auto; max-height: 120px; min-height: 42px; }
.chat__form textarea::placeholder { color: rgba(245,230,211,.5); }
.chat__form textarea:focus { outline: none; border-color: var(--orange); }
.chat__form button { height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--orange); color: var(--navy); font-weight: 700; }
.chat__privacy { margin: 0; padding: 0 14px 12px; font-size: 11.5px; color: rgba(245,230,211,.55); line-height: 1.4; }
@media (max-width: 520px) {
  .chat { right: 12px; bottom: 12px; }
  .chat__pill { height: 54px; padding: 0 16px 0 6px; gap: 10px; }
  .chat__label b { font-size: 15px; }
  .chat__ava, .chat__ava img { width: 42px; height: 42px; }
  .chat__label small { display: none; }
  .chat__panel { height: min(600px, calc(100svh - 100px)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__bg img { transform: none; }
  .phone { transform: rotate(-2deg); }
  .js .reveal, .hero-in { opacity: 1; transform: none; }
  .js .bigquote__text .w { opacity: 1; }
  .chat__pill, .hero-in { animation-delay: 0s !important; }
}
html:not(.js) .msg--typing { display: none; }
.band p.eyebrow { font-size: 12.5px; color: var(--orange-hi); max-width: none; }
