/* TechOmega Solution - portfolio. Mobile first. */
:root {
  --ink: #0B1B3A;
  --ink-2: #14295A;
  --blue: #1F8FFF;
  --ember: #F7931E;
  --cloud: #F3F6FB;
  --slate: #5B6B86;
  --white: #fff;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 1rem/1.55 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.lead { color: var(--slate); font-size: 1.05rem; max-width: 46ch; margin-top: .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem var(--body); text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.97); }
.btn-ember { background: var(--ember); color: var(--ink); }
.btn-ember:hover { background: #ffa53d; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); }

/* Top bar */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(11,27,58,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { font: 800 1.05rem/1 var(--display); letter-spacing: -.04em; color: var(--blue); background: rgba(31,143,255,.12);
  padding: 8px 9px; border-radius: 10px; }
.mark i { font-style: normal; color: var(--ember); }
.brand-name { font: 700 1.02rem var(--display); }
.brand-name b { font-weight: 500; opacity: .7; }
.bar-call { font-weight: 700; font-size: .95rem; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.wall::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,58,.5) 0%, rgba(11,27,58,0) 22%, rgba(11,27,58,.2) 40%, rgba(11,27,58,.88) 60%, var(--ink) 76%); }
.wall-tilt { position: absolute; left: 50%; top: 42%; width: max-content; display: flex; gap: 14px; transform: translate(-50%, -50%) rotate(-14deg); }
.col { display: flex; flex-direction: column; gap: 14px; animation: drift var(--dur, 60s) linear infinite; }
.col.up { animation-direction: reverse; }
.col img { width: 118px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 18px;
  border: 3px solid #050c1d; background: #050c1d; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
@keyframes drift { to { transform: translateY(-50%); } }
.hero-copy { position: relative; padding: 0 var(--gutter) 44px; max-width: 760px; }
.expo { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--ink); background: var(--white); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 11.5vw, 6.2rem); font-weight: 800; margin: 18px 0 16px; text-wrap: balance; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Showcase */
.show { position: relative; height: calc(var(--n, 6) * 100svh); }
.show-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column;
  padding: 76px var(--gutter) 28px; background: var(--bg, var(--ink-2)); transition: background-color .7s ease; }
.show-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.show-head h2 { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,.75); }
.show-count { font: 700 1rem var(--display); color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.show-slides { position: relative; flex: 1; margin-top: 12px; overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 18px; pointer-events: none; }
.slide.on { pointer-events: auto; }
.slide-text { will-change: transform, opacity; }
.slide h3 { font-size: clamp(2.4rem, 10vw, 5.4rem); font-weight: 800; text-wrap: balance; }
.slide-tag { margin-top: 10px; font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 34ch; }
.slide-more { margin-top: 16px; min-height: 44px; font-size: .95rem; background: var(--white); color: var(--ink); }
.slide-img { flex: 1; min-height: 0; display: flex; align-items: center; will-change: transform, opacity; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.show-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin-top: 18px; overflow: hidden; }
.show-progress span { display: block; height: 100%; width: 0; background: var(--white); border-radius: 4px; }

.process h2, .contact h2 { font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 800; text-wrap: balance; }

/* Process */
.process { padding: 76px 0 70px; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 40px; }
.steps img { border-radius: 18px; }
.steps h3 { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 1.5rem; font-weight: 800; }
.steps h3 span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); font-size: 1.05rem; }
.steps p { margin-top: 8px; color: rgba(255,255,255,.75); max-width: 40ch; }
.tech { margin: 56px calc(var(--gutter) * -1) 0; overflow: hidden; font: 900 clamp(1.9rem, 9vw, 3.8rem)/1.15 "Unbounded", var(--display); letter-spacing: 0; text-transform: none; }
.tech-track { display: flex; width: max-content; animation: slide 22s linear infinite; }
.tech-track p { white-space: nowrap; padding-right: .5em; }
.tech-track p span, .tech span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }

/* Contact */
.contact { background: var(--ember); color: var(--ink); padding: 72px 0 96px; overflow: hidden; }
.contact .lead { color: rgba(11,27,58,.75); }
.contact-grid { display: grid; gap: 40px; }
.people { display: grid; gap: 16px; margin-top: 28px; }
.person { background: var(--white); border-radius: 22px; padding: 20px; }
.who { font: 800 1.35rem var(--display); }
.num { display: inline-block; margin-top: 2px; font: 700 1.6rem var(--display); text-decoration: none; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.person-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.addr { margin-top: 26px; font-size: 1.05rem; font-weight: 500; }
.addr a { display: inline-block; margin-top: 6px; font-weight: 700; }
.qr { margin: 0; justify-self: start; background: var(--white); padding: 18px; border-radius: 22px; text-align: center; }
.qr img { width: 200px; height: 200px; }
.qr figcaption { margin-top: 10px; font-weight: 700; }

.foot { padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); text-align: center; color: rgba(255,255,255,.7); font-size: .95rem; }
.foot b { color: var(--white); margin-right: 6px; }

/* Project sheet: full-screen screen viewer */
.sheet { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: color-mix(in srgb, var(--tint, #1F8FFF) 38%, #0B1B3A); color: var(--white); overflow-y: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(5,12,29,.8); }
.sheet[open] { animation: rise .45s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.sheet-inner { min-height: 100%; display: flex; flex-direction: column; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 12px; background: inherit;
  background: color-mix(in srgb, var(--tint, #1F8FFF) 38%, #0B1B3A); }
.sheet-cat { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.7); }
.sheet-head h2 { font-size: 1.7rem; font-weight: 800; }
.sheet-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--white);
  font-size: 1.7rem; line-height: 1; cursor: pointer; }
.phones { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 18px calc(50% - min(31vw, 150px, 17svh)) 34px; }   /* room for the shadow, which the scroll box would otherwise clip into a line */
.phones::-webkit-scrollbar { display: none; }
.phone { flex: none; width: min(62vw, 300px, 34svh); margin: 0; scroll-snap-align: center; }
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 30px;
  border: 6px solid #050c1d; background: #050c1d; box-shadow: 0 14px 22px -8px rgba(0,0,0,.45); }
.phone figcaption { margin-top: 18px; text-align: center; font-weight: 700; font-size: .95rem; color: rgba(255,255,255,.85); }
.phones-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: -6px; }
.pos { font-size: .95rem; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.pos b { color: var(--white); }
.arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.3);
  background: none; color: var(--white); cursor: pointer; }
.arrow svg { width: 18px; height: 18px; }
.sheet-about { width: 100%; max-width: 640px; margin: 0 auto; padding: 34px var(--gutter) 30px; }
.sheet-about h3 { font-size: 1.5rem; font-weight: 800; }
.sheet-about p { margin-top: 10px; font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.sheet-wide { width: 100%; height: auto; }
.sheet-body { width: 100%; max-width: 640px; margin: 0 auto; padding: 30px var(--gutter) 0; }
.sheet-tag { font: 700 1.25rem/1.35 var(--display); }
.sheet-feats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.sheet-feats li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.1); font-weight: 500; }
.sheet-tech { margin-top: 14px; color: rgba(255,255,255,.7); font-size: .95rem; }
.sheet-body .btn { margin-top: 20px; width: 100%; }
/* Easy CRM trial: case-study bands (dark intro, white features, real screens, dark backend) */
.story, .screens-title { display: none; }
.is-story { --dark: #101213; }   /* same black as the presentation pictures, so there is no seam */
.is-story .story { display: contents; }   /* bands join the sheet's column so the screens band can sit between them */
.is-story .sheet-about, .is-story .sheet-wide, .is-story .sheet-tag, .is-story .sheet-feats, .is-story .sheet-tech { display: none; }
.sheet.is-story { background: var(--dark); }
/* Only the close button floats; the hero already names the app */
.is-story .sheet-head { height: 0; padding: 0; background: none; justify-content: flex-end; }
.is-story .sheet-head > div { display: none; }
.is-story .sheet-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; background: rgba(16,18,19,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.is-story .st-hero { order: 1; } .is-story .st-feat { order: 2; } .is-story .screens-title { order: 3; }
.is-story .screens-band { order: 4; } .is-story .st-back { order: 6; } .is-story .sheet-body { order: 7; }

.st { display: grid; gap: 26px; padding: 40px var(--gutter); overflow: hidden; }
.st img { width: 100%; height: auto; }
.st h3 { font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 800; }
.st p { margin-top: 14px; font-size: 1.05rem; line-height: 1.6; max-width: 46ch; }
.st-back p { color: rgba(255,255,255,.82); }
/* A phone: real screen in a dark frame */
.dev { display: block; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 26px;
  border: 5px solid #050c1d; background: #050c1d; box-shadow: 0 24px 50px rgba(0,0,0,.4); }

/* Hero: title and facts over a fan of three real screens */
.st-hero { position: relative; padding-top: 80px; padding-bottom: 0; gap: 8px;
  background: radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--tint) 45%, transparent), transparent 70%), var(--dark); }
.st-pill { display: inline-block; margin: 0 !important; padding: 6px 14px; border-radius: 999px; font-size: .88rem !important; font-weight: 700;
  background: color-mix(in srgb, var(--tint) 30%, transparent); color: #cfe2ff; border: 1px solid color-mix(in srgb, var(--tint) 60%, transparent); }
.st-hero h3 { margin-top: 16px; font-size: clamp(2.8rem, 14vw, 5rem); line-height: .95; }
.st-lede { font: 700 1.3rem/1.35 var(--display) !important; color: var(--white); max-width: 22ch !important; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; }
.facts div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.facts dt { font-size: .78rem; color: rgba(255,255,255,.6); font-weight: 700; }
.facts dd { margin: 4px 0 0; font: 700 .92rem/1.25 var(--display); }
.fan { position: relative; height: calc(min(46vw, 250px) * 2.17 + 34px); margin: 26px calc(var(--gutter) * -1) 0; }
.fan::before { content: ""; position: absolute; inset: 26% 7% 0; border-radius: 36px 36px 0 0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 85%, #fff), color-mix(in srgb, var(--tint) 70%, #000)); }
.fan::after { content: ""; position: absolute; right: 2%; top: 14%; width: 84px; height: 70px; opacity: .55;
  background: radial-gradient(#fff 1.6px, transparent 2.2px) 0 0 / 14px 14px; }
.fan .dev { position: absolute; left: 50%; bottom: 0; z-index: 1; }
.fan .c { width: min(46vw, 250px); bottom: 34px; transform: translateX(-50%); z-index: 2; }
.fan .l, .fan .r { width: min(36vw, 196px); opacity: .92; }
.fan .l { transform: translateX(-112%) rotate(-8deg); }
.fan .r { transform: translateX(12%) rotate(8deg); }
.motion .is-story .fan .c { animation: bob 5s ease-in-out infinite; }
.motion .is-story .fan .l, .motion .is-story .fan .r { animation: rise-in .9s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes rise-in { from { opacity: 0; translate: 0 60px; } }

/* Phones: title, then the three screens fully visible on a rounded card, then the facts as one list */
@media (max-width: 899px) {
  .st-hero { padding-top: 72px; padding-bottom: 36px; gap: 0; }
  .st-hero .st-text { display: contents; }          /* lets the facts move below the phones */
  .st-pill { justify-self: start; }
  .st-hero h3 { margin-top: 14px; font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .st-lede { font-size: 1.15rem !important; margin-top: 10px !important; }
  .fan { order: 1; height: calc(44vw * 2.17 + 56px); margin: 24px 0 0; }
  .fan::before { inset: 20% 0 0; border-radius: 30px; }
  .fan::after { right: 16px; top: 23%; width: 70px; height: 56px; opacity: .45; }
  .fan .c { width: 44vw; bottom: 28px; }
  .fan .l, .fan .r { width: 32vw; bottom: 16px; }
  .fan .l { transform: translateX(-126%) rotate(-7deg); }
  .fan .r { transform: translateX(26%) rotate(7deg); }
  .facts { order: 2; grid-template-columns: 1fr; gap: 0; margin-top: 16px; padding: 2px 16px; border-radius: 20px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
  .facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0;
    background: none; border: 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .facts div:last-child { border-bottom: 0; }
  .facts dt { font-size: .9rem; white-space: nowrap; }
  .facts dd { margin: 0; text-align: right; font-size: 1rem; }
}

/* Key features: tap a feature, the phone shows its screen */
.st-feat { background: var(--white); color: var(--ink); grid-template-areas: "head" "list" "phone"; }
.ft-head { grid-area: head; }
.ft-head p { color: var(--slate); }
.ft-phone { grid-area: phone; display: grid; place-items: center; padding: 26px 0; border-radius: 28px;
  background: radial-gradient(#d5e1f3 1.4px, transparent 2px) 0 0 / 16px 16px, linear-gradient(160deg, #eef3fb, color-mix(in srgb, var(--tint) 22%, #fff)); }
.ft-phone { grid-template-rows: auto auto; gap: 14px; padding: 22px 16px; }
.ft-phone .dev { width: min(44vw, 210px); transition: opacity .2s ease, transform .2s ease; }
.ft-phone .dev.swap { opacity: 0; transform: translateY(10px) scale(.98); }
.ft-list { grid-area: list; display: grid; gap: 10px; }
.ft-item { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: start; width: 100%; padding: 14px; border-radius: 16px;
  border: 2px solid #e3e9f3; background: var(--white); color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: border-color .2s ease, background .2s ease; }
.ft-item::before { content: ""; grid-row: span 2; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, var(--white) 0 4px, transparent 5px), #b9c6da; transition: background .2s ease; }
.ft-item b { font: 700 1.1rem var(--display); }
.ft-item span { display: none; margin-top: 4px; color: var(--slate); font-size: .95rem; line-height: 1.45; }
.ft-item[aria-pressed="true"] { border-color: var(--tint); background: color-mix(in srgb, var(--tint) 7%, #fff); }
.ft-item[aria-pressed="true"]::before { background: radial-gradient(circle, var(--white) 0 4px, transparent 5px), var(--tint); }
.ft-item[aria-pressed="true"] span { display: block; }
.ft-shot { display: none; }
/* Phones: one feature per slide, screen on top and its text below; swipe for the next */
.ft-dots { display: none; }
@media (max-width: 899px) {
  .st-feat { grid-template-areas: "head" "list" "dots"; }
  .ft-phone { display: none; }
  .ft-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; overscroll-behavior-x: contain; }
  .ft-list::-webkit-scrollbar { display: none; }
  .ft-item, .ft-item[aria-pressed="true"] { flex: 0 0 84%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center;
    padding: 26px 20px 24px; border: 0; border-radius: 26px; text-align: center;
    background: radial-gradient(#d5e1f3 1.4px, transparent 2px) 0 0 / 16px 16px, linear-gradient(160deg, #eef3fb, color-mix(in srgb, var(--tint) 20%, #fff)); }
  .ft-item::before { display: none; }
  .ft-item .ft-shot { display: block; order: -1; width: min(52vw, 210px); margin-bottom: 22px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top;
    border-radius: 24px; border: 5px solid #050c1d; background: #050c1d; box-shadow: 0 20px 36px rgba(11,27,58,.28); }
  .ft-item b { font-size: 1.3rem; }
  .ft-item span, .ft-item[aria-pressed="true"] span { display: block; margin-top: 8px; max-width: 30ch; font-size: 1rem; }
  .ft-dots { grid-area: dots; display: flex; justify-content: center; gap: 8px; }
  .ft-dots i { width: 8px; height: 8px; border-radius: 999px; background: #c9d4e6; transition: width .25s ease, background .25s ease; }
  .ft-dots i.on { width: 24px; background: var(--tint); }
}
.st-back { background: var(--dark); }
.st-back img.is-diagram { border-radius: 22px; -webkit-mask-image: none; mask-image: none; }
.st-back img:not(.is-diagram) { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
/* Real screens band */
.is-story .screens-band { background: var(--cloud); color: var(--ink); }   /* one background for title, strip and arrows: no seams */
.is-story .screens-title { display: block; }
.is-story .phones-nav { padding-bottom: 44px; }
.screens-title { padding: 48px var(--gutter) 0; font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 800; }
.screens-title span { display: block; margin-top: 8px; font: 500 1.05rem var(--body); color: var(--slate); letter-spacing: 0; }
.is-story .phone figcaption, .is-story .pos, .is-story .pos b { color: var(--ink); }
.is-story .phone img { box-shadow: 0 14px 22px -8px rgba(11,27,58,.35); }
.is-story .arrow { color: var(--ink); border-color: rgba(11,27,58,.25); }
.is-story .sheet-body { max-width: none; background: var(--dark); padding-top: 10px; }
@media (min-width: 900px) {
  .st { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 56px;
    padding: 72px max(36px, calc((100vw - 1180px) / 2)); }
  .st-hero { padding-top: 84px; padding-bottom: 0; align-items: end; }
  .st-hero .st-text { padding-bottom: 72px; }
  .fan { margin: 0; height: min(76vh, 640px); }
  .fan .c { width: min(17vw, 250px, 30vh); }
  .fan .l, .fan .r { width: min(14vw, 196px, 24vh); }
  .st-feat { grid-template-areas: "phone head" "phone list"; align-items: start; row-gap: 24px; }
  .ft-phone { align-self: stretch; }
  .ft-phone .dev { width: min(250px, 30vh); }
  .st-back img { margin: 0; width: auto; max-width: 100%; max-height: 78vh; justify-self: center; }
  .screens-title { text-align: center; padding-top: 64px; }
  .is-story .sheet-body { max-width: 640px; margin: 0 auto; background: none; }
}

.motion .sheet[open] .phone { animation: in .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.1s + var(--i) * .07s); }
@keyframes in { from { opacity: 0; transform: translateX(60px) scale(.94); } }

/* Larger screens */
@media (min-width: 720px) {
  :root { --gutter: 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .people { grid-template-columns: 1fr 1fr; }
  .col img { width: 150px; }
}
@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero-copy { padding: 0 0 0 max(36px, calc((100vw - 1180px) / 2)); max-width: 640px; }
  .wall::after { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 30%, rgba(11,27,58,.6) 50%, rgba(11,27,58,.1) 75%); }
  .wall-tilt { left: 72%; top: 50%; }
  .col img { width: 170px; }
  .phones { padding-inline: var(--gutter); }
  .phone { width: min(260px, 34svh); scroll-snap-align: start; }
  .phones { scroll-padding-inline: var(--gutter); }
  .show-stage { padding: 96px max(36px, calc((100vw - 1180px) / 2)) 36px; }
  .slide { flex-direction: row; align-items: center; gap: 48px; }
  .slide-text { flex: 0 0 34%; }
  .slide-img { flex: 1; height: 100%; }
  .slide-img img { height: auto; max-height: 100%; object-fit: contain; }
  .contact-grid { grid-template-columns: 1fr auto; align-items: center; }
  .qr img { width: 240px; height: 240px; }
}

/* Floating WhatsApp button */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 15; display: inline-flex; align-items: center;
  min-height: 52px; padding: 0 22px; border-radius: 999px; background: #25D366; color: #06331a; font: 700 1rem var(--body); text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.fab.is-up { transform: none; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35, 1.6); opacity: 0; } }
@keyframes slide { to { transform: translateX(-50%); } }

/* Motion (only added by JS when the phone allows motion) */
.motion .hero .expo, .motion .hero-sub, .motion .hero-cta { animation: up .8s cubic-bezier(.2,.8,.2,1) both; }
.motion .hero .expo { animation-delay: .1s; }
.motion .hero-sub { animation-delay: .9s; }
.motion .hero-cta { animation-delay: 1.05s; }
.motion .hero h1 .w { display: inline-block; animation: up .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.25s + var(--i) * .09s); }
@keyframes up { from { opacity: 0; transform: translateY(.6em); } }
.motion .expo::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #1fbf5b;
  vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }

.motion [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1), clip-path 1s cubic-bezier(.7,0,.2,1);
  transition-delay: calc(var(--i, 0) * 110ms); }
.motion [data-reveal="left"] { transform: translateX(-40px); }
.motion [data-reveal="right"] { transform: translateX(40px); }
.motion [data-reveal="pop"] { transform: scale(.8) rotate(-4deg); }
.motion [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0 round 18px); }
.motion [data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 18px); }
.motion .steps li.in h3 span { animation: pop .5s .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: scale(0); } }
.motion .qr.in img { animation: float 4s 1s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Calm everything down when the phone asks for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .col, .tech-track, .fab::before { animation: none; }
  .tech { overflow-x: auto; }
  .sheet[open] { animation: none; }
  .show { height: auto; }
  .show-stage { position: static; height: auto; }
  .show-slides { flex: none; }
  .slide { position: static; margin-bottom: 64px; }
  .slide-img img { max-height: none; }
  .show-progress, .show-count { display: none; }
}
.on-phone { display: none; }
@media (max-width: 899px) { .on-desk { display: none; } .on-phone { display: inline; } }
