/* Phone layout: app-like header, bottom tab bar, swipe cards. Desktop is untouched (everything is inside max-width queries). */
html, body { overflow-x: clip; }
* { -webkit-tap-highlight-color: transparent; }
.tabbar { display: none; }
.pcards, .swipe { display: none; }

@media (max-width: 760px) {
  :root { --pad: 18px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* header: compact, solid, one line */
  .nav, .nav.scrolled { transition: none; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) var(--pad) 10px;
    background: rgba(5,6,8,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .brand { font-size: 20px; white-space: nowrap; } .brand img { width: 34px; height: 34px; }
  .nav .wa-top, .wa-float { display: none; }
  .sound { margin-left: auto; }
  .burger { display: none; }

  /* bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(10,11,14,.9);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 2px; color: #8b909b;
    font: 500 11px/1 "DM Sans", system-ui, sans-serif; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar svg .f { fill: currentColor; stroke: none; }
  .tabbar .on { color: #fff; }
  .tabbar .on svg { stroke: var(--accent); }
  .tab-wa { color: #fff !important; }
  .tab-wa i { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: #25d366;
    box-shadow: 0 8px 22px rgba(37,211,102,.35), 0 0 0 5px rgba(10,11,14,.9); }
  .tab-wa svg.wa { width: 30px; height: 30px; fill: #fff; stroke: none; }
  .tabbar a:active, .tabbar button:active { transform: scale(.94); }

  /* menu panel opened from the tab bar: slides up above it */
  .links.open { top: auto; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); padding: 10px var(--pad) 14px;
    border-top: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; font-size: 26px; z-index: 39; }
  .links.open a { padding: 14px 0; }
  .links.open a:last-child { border-bottom: 0; }

  /* type and spacing */
  .content > section, .content.page > section { padding-top: 46px; padding-bottom: 46px; }
  .page-hero { padding-top: calc(96px + env(safe-area-inset-top, 0px)) !important; padding-bottom: 20px !important; }
  .page-hero .chrome { font-size: clamp(46px, 13vw, 64px); }
  .page-hero .sub { font-size: 16px; margin-top: 14px; }
  .page-first { padding-top: calc(96px + env(safe-area-inset-top, 0px)) !important; }
  .title { font-size: 36px; margin-bottom: 24px; }
  .big { font-size: 34px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .cta { gap: 10px; margin-top: 22px; }
  .cta .btn { flex: 1 1 100%; justify-content: center; height: 50px; }
  .reveal { transform: translateY(18px); transition-duration: .55s; }

  /* cards as an app list */
  .cards { gap: 12px; }
  .card { border-radius: 18px; padding: 14px 14px 20px; }
  .card h3 { font-size: 27px; }
  .card p { font-size: 15px; }
  .card:hover { transform: none; }

  /* services: compact rows with a price chip */
  .svc-list li { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 18px 2px; }
  .svc-list .n { display: none; }
  .svc-list b { font-size: 26px; }
  .svc-list p { grid-column: 1 / -1; font-size: 15px; margin-top: 6px; }
  .svc-list li > div { display: contents; }
  .svc-list em { grid-column: 2; grid-row: 1; align-self: center; font-size: 13px; padding: 6px 10px; border-radius: 99px; background: rgba(111,211,220,.12); }

  /* portfolio: full-bleed feed */
  .vgrid { gap: 14px; }
  .vcard { border-radius: 18px; padding: 10px 10px 18px; }
  .vcard h3 { font-size: 26px; }
  .vcard p { font-size: 15px; }
  .split { gap: 14px; }

  /* steps: compact */
  .steps { gap: 10px; }
  .steps li { min-height: 0; padding: 20px 18px 22px; border-radius: 16px; }
  .steps b { font-size: 26px; margin: 10px 0 6px; }

  /* pricing: swipe cards instead of the wide table */
  .ptable .tscroll { display: none; }
  .ptable h3 { font-size: 30px; margin-bottom: 14px; }
  .pcards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 8px;
    scrollbar-width: none; }
  .pcards::-webkit-scrollbar { display: none; }
  .pcard { flex: 0 0 82%; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 20px; padding: 20px 18px; background: rgba(255,255,255,.035); display: flex; flex-direction: column; }
  .pcard:nth-child(2) { border-color: rgba(111,211,220,.45); }
  .pcard .tier { color: var(--muted); font-size: 14px; }
  .pcard .price { font: 700 46px/1 "DM Sans", system-ui, sans-serif; margin: 6px 0 14px; }
  .pcard ul { list-style: none; flex: 1; }
  .pcard li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .pcard li span { color: var(--muted); } .pcard li b { font-weight: 500; text-align: right; }
  .pcard .btn { margin-top: 16px; justify-content: center; height: 48px; }
  .swipe { display: block; color: var(--dim); font-size: 13px; margin-top: 8px; }
  .note { margin: -20px 0 36px; font-size: 14px; }
  .ptable { margin-bottom: 40px; }

  /* forms and chat */
  .lead { gap: 12px; }
  .lead input, .lead select, .lead textarea { font-size: 16px; padding: 14px; }
  .chat-log { height: 300px; }
  .faq summary { font-size: 22px; }
  .foot { padding-bottom: 30px; }
  .foot-links { gap: 14px 20px; }

  /* home page bits */
  .numbers { grid-template-columns: 1fr 1fr; padding-top: 40px !important; padding-bottom: 40px !important; }
  .houston { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .ind-list li { padding: 18px 2px; }
  .reel-modal .close { top: -44px; }
}

/* installed as an app (Add to Home Screen) */
@media (display-mode: standalone) {
  .nav { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
}

/* a backdrop-filter on the header would make the fixed menu panel position against the header: drop it while the menu is open */
.nav-open .nav, .nav-open .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5,6,8,.97); }
@media (max-width: 980px) { .contact, .demo { grid-template-columns: minmax(0, 1fr); } .contact > *, .demo > * { min-width: 0; } .direct.small a { display: inline-block; } }
@media (max-width: 760px) { .chat-form input { min-width: 0; } .chat-form .btn { padding: 0 18px; flex: none; } .chat { padding: 12px; } }

/* ===== Fluid type scale (2026-11-15): every size grows smoothly from a 360 px phone to a 1440 px screen.
   rem-based, so it also follows the visitor's own text-size setting. Overrides the fixed sizes above. ===== */
:root {
  --fs-hero-home: clamp(3.25rem, 1.58rem + 7.41vw, 8.25rem);   /* 52 -> 132 */
  --fs-hero: clamp(2.75rem, 1.25rem + 6.67vw, 7.25rem);        /* 44 -> 116 */
  --fs-big: clamp(1.875rem, 0.92rem + 4.26vw, 4.75rem);        /* 30 -> 76 */
  --fs-title: clamp(2rem, 1.25rem + 3.33vw, 4.25rem);          /* 32 -> 68 */
  --fs-h3l: clamp(1.5rem, 1.04rem + 2.04vw, 2.875rem);         /* 24 -> 46 */
  --fs-h3m: clamp(1.75rem, 1.33rem + 1.85vw, 3rem);            /* 28 -> 48 */
  --fs-h3: clamp(1.5rem, 1.29rem + 0.93vw, 2.125rem);          /* 24 -> 34 */
  --fs-lead: clamp(1rem, 0.9rem + 0.46vw, 1.3125rem);          /* 16 -> 21 */
  --fs-body: clamp(0.9375rem, 0.9rem + 0.19vw, 1.0625rem);     /* 15 -> 17 */
  --fs-small: clamp(0.8125rem, 0.79rem + 0.09vw, 0.875rem);    /* 13 -> 14 */
  --fs-eyebrow: clamp(0.75rem, 0.73rem + 0.09vw, 0.8125rem);   /* 12 -> 13 */
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.chrome { font-size: var(--fs-hero-home); }
.page-hero .chrome { font-size: var(--fs-hero); line-height: .95; }
.big { font-size: var(--fs-big); line-height: 1.06; }
.title { font-size: var(--fs-title); line-height: 1.02; }
.svc-list b { font-size: var(--fs-h3l); line-height: 1.04; }
.ptable h3 { font-size: var(--fs-h3m); }
.card h3, .vcard h3, .steps b, .prose h2 { font-size: var(--fs-h3); line-height: 1.08; }
.faq summary { font-size: calc(var(--fs-h3) * .85); }
.ind-list b { font-size: var(--fs-h3l); }
.numbers b { font-size: var(--fs-big); }
.sub, .lead-p, .cta-block p, .demo-text p:not(.eyebrow), .direct { font-size: var(--fs-lead); line-height: 1.55; }
.card p, .vcard p, .svc-list p, .steps p, .faq details p, .prose p, .prose li, .ind-list em, .numbers span, .msg { font-size: var(--fs-body); line-height: 1.6; }
.note, .swipe, .direct.small, .foot-links, .lead label, .pcard li, .pcard .tier { font-size: var(--fs-small); }
.eyebrow, .kicker, .card .num, .vcard .num, .steps span, .svc-list .n, .ind-list .n { font-size: var(--fs-eyebrow); }
.btn { font-size: clamp(0.9375rem, 0.9rem + 0.19vw, 1rem); }
.pcard .price { font-size: clamp(2.5rem, 2.2rem + 1.3vw, 2.875rem); }
@media (max-width: 760px) { .card h3, .vcard h3 { font-size: calc(var(--fs-h3) * 1.08); } }

/* 2026-11-15 owner: "на большом экране нормально, в мобильной версии сильно большие" -> smaller phone sizes, same 1440 px sizes */
:root {
  --fs-hero-home: clamp(2.5rem, 0.583rem + 8.52vw, 8.25rem);   /* 40 -> 132 */
  --fs-hero: clamp(2.125rem, 0.417rem + 7.59vw, 7.25rem);      /* 34 -> 116 */
  --fs-big: clamp(1.5rem, 0.417rem + 4.81vw, 4.75rem);         /* 24 -> 76 */
  --fs-title: clamp(1.625rem, 0.75rem + 3.89vw, 4.25rem);      /* 26 -> 68 */
  --fs-h3l: clamp(1.25rem, 0.708rem + 2.41vw, 2.875rem);       /* 20 -> 46 */
  --fs-h3m: clamp(1.375rem, 0.833rem + 2.41vw, 3rem);          /* 22 -> 48 */
  --fs-h3: clamp(1.25rem, 0.958rem + 1.3vw, 2.125rem);         /* 20 -> 34 */
  --fs-lead: clamp(0.9375rem, 0.8125rem + 0.56vw, 1.3125rem);  /* 15 -> 21 */
  --fs-body: clamp(0.875rem, 0.82rem + 0.23vw, 1.0625rem);     /* 14 -> 17 */
}
@media (max-width: 760px) {
  .card h3, .vcard h3 { font-size: var(--fs-h3); }
  .pcard .price { font-size: 2.25rem; }
  .brand { font-size: 18px; } .brand img { width: 30px; height: 30px; }
  .tabbar span { font-size: 10.5px; }
}
.page-hero .sub { font-size: var(--fs-lead); }

/* "Text us" (SMS) button in the header: outline pill next to WhatsApp; on phones it is the header's right-side button */
.sms-top { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid rgba(220,223,230,.6); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sms-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.sms-top:hover { border-color: #fff; }
@media (max-width: 1100px) { .sms-top { margin-left: auto; } }
@media (max-width: 760px) { .sms-top { height: 38px; padding: 0 14px; font-size: 14px; } .sound { margin-left: 0; } }
/* desktop header gets crowded with Text us + WhatsApp: tighten below 1360 px */
@media (min-width: 1101px) and (max-width: 1360px) { .nav .talk { display: none; } .links { gap: 22px; font-size: 14px; } .nav { gap: 18px; } }
@media (min-width: 1101px) and (max-width: 1240px) { .sms-top span, .wa-top span { display: none; } .sms-top, .wa-top { padding: 0 12px; } }
@media (min-width: 1101px) { .links a { white-space: nowrap; } .links { flex-shrink: 0; } }
@media (min-width: 1101px) and (max-width: 1560px) { .nav .talk { display: none; } .links { gap: 22px; } }
@media (min-width: 1101px) and (max-width: 1360px) { body:not(.inner) .lang { display: none; } }

/* owner 2026-11-15: "Text us" = green filled button; WhatsApp in the header = just the green WhatsApp icon */
.sms-top, .btn-sms { background: #25d366; border: 0; color: #fff; }
.sms-top:hover, .btn-sms:hover { background: #20bd5a; border: 0; }
.sms-top svg { stroke: #fff; }
.btn-sms { justify-content: center; }
.nav .wa-top { background: none; padding: 0; width: 44px; justify-content: center; gap: 0; }
.nav .wa-top span { display: none; }
.nav .wa-top svg { width: 36px; height: 36px; fill: #25d366; }
.nav .wa-top:hover { background: none; transform: scale(1.08); }

/* owner 2026-11-15: WhatsApp = app-icon style (green rounded square, white logo), like the icon on his phone */
.nav .wa-top { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(180deg, #67e47f 0%, #25d366 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 14px rgba(37,211,102,.3); }
.nav .wa-top svg { width: 28px; height: 28px; fill: #fff; }
.nav .wa-top:hover { background: linear-gradient(180deg, #67e47f 0%, #25d366 100%); }
.tab-wa i { border-radius: 16px; background: linear-gradient(180deg, #67e47f 0%, #25d366 100%); }
.wa-float { border-radius: 16px; background: linear-gradient(180deg, #67e47f 0%, #25d366 100%); }
.tab-wa svg.wa, .wa-float svg, .nav .wa-top svg { fill-rule: evenodd; }

/* 2026-11-15 font trial: Unbounded (headings, wide) + Manrope (text). Unbounded is ~1.4x wider than Barlow Condensed -> heading sizes x0.68 */
:root {
  --fs-hero-home: clamp(1.75rem, 0.4rem + 5.8vw, 5.6rem);
  --fs-hero: clamp(1.5rem, 0.3rem + 5.2vw, 4.9rem);
  --fs-big: clamp(1.125rem, 0.35rem + 3.3vw, 3.25rem);
  --fs-title: clamp(1.25rem, 0.6rem + 2.7vw, 2.9rem);
  --fs-h3l: clamp(1rem, 0.55rem + 1.65vw, 1.95rem);
  --fs-h3m: clamp(1.05rem, 0.6rem + 1.65vw, 2.05rem);
  --fs-h3: clamp(1rem, 0.78rem + 0.9vw, 1.45rem);
}
.chrome, .page-hero .chrome { line-height: 1.05; letter-spacing: -.01em; }
.big, .title { letter-spacing: -.01em; }
.brand { font-size: 17px; letter-spacing: 0; }
.foot-brand { font-size: 15px; }
.ptable thead th b, .pcard .price { font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem); }
.links.open { font-size: 20px; }
@media (max-width: 760px) { .brand { font-size: 14px; } }
:root { --fs-hero-home: clamp(2.1rem, 0.85rem + 5.4vw, 5.6rem); --fs-hero: clamp(1.9rem, 0.75rem + 4.9vw, 4.9rem); --fs-title: clamp(1.4rem, 0.8rem + 2.55vw, 2.9rem); }

/* 2026-11-15 owner: "like the AT&T app - small, compact": one clean sans (DM Sans) for everything, smaller sizes */
:root {
  --fs-hero-home: clamp(1.9rem, 1.1rem + 3.6vw, 4.6rem);   /* ~30 -> 74 */
  --fs-hero: clamp(1.75rem, 1.05rem + 3.1vw, 4rem);        /* 28 -> 64 */
  --fs-big: clamp(1.3rem, 0.85rem + 2vw, 2.75rem);         /* ~21 -> 44 */
  --fs-title: clamp(1.4rem, 0.95rem + 2vw, 2.9rem);        /* ~22 -> 46 */
  --fs-h3l: clamp(1.05rem, 0.85rem + 0.9vw, 1.6rem);       /* ~17 -> 26 */
  --fs-h3m: clamp(1.15rem, 0.9rem + 1.1vw, 1.9rem);
  --fs-h3: clamp(1.05rem, 0.9rem + 0.65vw, 1.4rem);        /* ~17 -> 22 */
  --fs-lead: clamp(0.95rem, 0.88rem + 0.3vw, 1.15rem);
  --fs-body: clamp(0.9rem, 0.86rem + 0.18vw, 1rem);
}
.chrome, .page-hero .chrome, .big, .title, .card h3, .vcard h3, .steps b, .svc-list b, .ptable h3, .ind-list b, .numbers b, .faq summary, .prose h2 { font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.chrome, .page-hero .chrome { line-height: 1.04; }
.brand { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.foot-brand { font-size: 16px; font-weight: 700; }
.ptable thead th b, .pcard .price { font-weight: 700; letter-spacing: -.02em; }
.links { font-weight: 500; }
.links.open { font-size: 19px; font-weight: 600; }
@media (max-width: 760px) { .brand { font-size: 15px; } .pcard .price { font-size: 2rem; } }

/* 2026-11-15 owner: floating bottom bar like the AT&T app, active item highlighted */
@media (max-width: 760px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 6px; border: 1px solid rgba(255,255,255,.1);
    border-radius: 28px; background: rgba(18,20,26,.88); box-shadow: 0 12px 34px rgba(0,0,0,.55); align-items: center; }
  .tabbar a, .tabbar button { padding: 7px 0 6px; border-radius: 22px; transition: background .2s, color .2s; }
  .tabbar .on { background: rgba(111,211,220,.16); color: #fff; }
  .tabbar .on svg { stroke: var(--accent); }
  .tab-wa { background: none !important; }
  .tab-wa i { margin-top: -30px; box-shadow: 0 8px 22px rgba(37,211,102,.35), 0 0 0 5px rgba(18,20,26,.95); }
  .links.open { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); left: 10px; right: 10px; border-radius: 24px; border: 1px solid var(--line); }
}
@media (max-width: 760px) { .links.open { background: rgba(14,16,21,.985); box-shadow: 0 -10px 40px rgba(0,0,0,.6); } }

/* 2026-11-15 owner: "headings too big, overlap everything - make them 2x smaller across the site" */
:root {
  --fs-hero-home: clamp(1.25rem, 0.95rem + 1.3vw, 2.3rem);   /* 20 -> 37 */
  --fs-hero: clamp(1.125rem, 0.83rem + 1.3vw, 2rem);         /* 18 -> 32 */
  --fs-big: clamp(0.95rem, 0.82rem + 0.65vw, 1.375rem);      /* 15 -> 22 */
  --fs-title: clamp(1rem, 0.85rem + 0.65vw, 1.45rem);        /* 16 -> 23 */
  --fs-h3l: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);            /* 14 -> 16 */
  --fs-h3m: clamp(0.95rem, 0.88rem + 0.3vw, 1.15rem);        /* 15 -> 18 */
  --fs-h3: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);             /* 14 -> 16 */
}
.title { margin-bottom: 20px; }
.page-hero { padding-bottom: 10px !important; }

/* 2026-11-15 owner picked C: headings cyan -> violet (nebula) instead of chrome */
.chrome span, .numbers b { background: linear-gradient(90deg, #6fd3dc 0%, #8fb3f0 55%, #a78bfa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; }
.chrome span { display: inline-block; }
.chrome span { display: block; width: fit-content; }

/* 2026-11-15 owner: phone header + bottom bar in the heading colour (cyan -> violet), AT&T-app style; the "...." (sound) becomes a menu button */
@media (max-width: 760px) {
  .nav, .nav.scrolled { background: linear-gradient(115deg, #2aa7b5 0%, #5f86e0 55%, #8a6cf0 100%); border-bottom: 0;
    border-radius: 0 0 22px 22px; box-shadow: 0 8px 24px rgba(0,0,0,.35); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .nav, .nav-open .nav.scrolled { background: linear-gradient(115deg, #2aa7b5 0%, #5f86e0 55%, #8a6cf0 100%); }
  .brand, .brand b { color: #fff; }
  .nav .sound { display: none; }
  .nav .burger { display: block; order: 10; margin-left: 4px; width: 26px; height: 20px; }
  .nav .burger i { background: #fff; height: 2.5px; }
  .nav .burger i:nth-child(2) { top: 8.5px; } .nav .burger i:nth-child(3) { top: 17px; }
  .nav-open .nav .burger i:nth-child(1), .nav-open .nav .burger i:nth-child(3) { top: 8.5px; }
  .sms-top { box-shadow: 0 2px 10px rgba(0,0,0,.18); }

  .tabbar { background: linear-gradient(115deg, #2aa7b5 0%, #5f86e0 55%, #8a6cf0 100%); border: 0; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
  .tabbar a, .tabbar button { color: rgba(255,255,255,.82); }
  .tabbar svg, .tabbar .on svg { stroke: #fff; }
  .tabbar .on { background: rgba(255,255,255,.24); color: #fff; }
  .tab-wa i { box-shadow: 0 8px 20px rgba(0,0,0,.3), 0 0 0 4px rgba(255,255,255,.9); }
  .links.open a.on { box-shadow: none; color: var(--accent); }
}

/* 3D spinning helmet (js/helmet3d.js) replaces the painted helmet when WebGL works */
.helmet3d .stage { visibility: hidden; }
.helmet3d .hero .hint { display: none; }
/* spinning logo helmet video (js/helmet-video.js); black video background fades into space */
.helmet-video .stage { visibility: hidden; }
.helmet-video .hero .hint { display: none; }
.helmet-box { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; contain: strict;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 62%, transparent 100%); }
.helmet-box video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* 2026-11-15 owner: no turquoise in the bars - black with lots of stars and the Milky Way */
@media (max-width: 760px) {
  .nav, .nav.scrolled, .nav-open .nav, .nav-open .nav.scrolled { background: #020203 url(../img/milkyway_bar.webp?v=2) 30% 40% / 900px auto no-repeat; border-bottom: 1px solid rgba(255,255,255,.08); }
  .tabbar { background: #020203 url(../img/milkyway_bar.webp?v=2) 75% 60% / 900px auto no-repeat; border: 1px solid rgba(255,255,255,.1); }
  .tabbar .on { background: rgba(255,255,255,.14); }
  .tab-wa i { box-shadow: 0 8px 20px rgba(0,0,0,.4), 0 0 0 4px #050506; }
}
/* owner: stars only in the header; bottom bar = plain dark glass */
@media (max-width: 760px) {
  .tabbar { background: rgba(18,20,26,.92); border: 1px solid rgba(255,255,255,.1); }
}
/* owner: on phones "Text us" lives in the bottom bar (instead of Prices), not in the header */
@media (max-width: 760px) { .nav .sms-top { display: none; } }
@media (max-width: 760px) { .tabbar .tab-sms { color: #4ade80; } .tabbar .tab-sms svg { stroke: #4ade80; } }
@media (max-width: 760px) { .tabbar .tab-sms { background: linear-gradient(180deg, #67e47f 0%, #25d366 100%); color: #fff; margin: 0 2px; box-shadow: 0 4px 14px rgba(37,211,102,.3); } .tabbar .tab-sms svg { stroke: #fff; } }
/* owner: Text us = app-icon style like Messages (green rounded square, white bubble), like the WhatsApp tab */
@media (max-width: 760px) {
  .tabbar .tab-sms { background: none; box-shadow: none; margin: 0; color: #fff; }
  .tabbar .tab-sms i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(180deg, #6fe07f 0%, #2fc94f 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 10px rgba(37,211,102,.3); }
  .tabbar .tab-sms svg.bub { width: 24px; height: 24px; fill: #fff; stroke: none; }
}
/* owner: WhatsApp tab same size and level as the Text us icon */
@media (max-width: 760px) {
  .tabbar .tab-wa i { width: 34px; height: 34px; margin-top: 0; border-radius: 9px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 10px rgba(37,211,102,.3); }
  .tabbar .tab-wa svg.wa { width: 22px; height: 22px; }
  .tabbar .tab-wa span, .tabbar .tab-sms span { color: #fff; }
}

/* contact card (replaces the request form, owner 2026-11-15): WhatsApp / Text / Call / Email */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.contact-card .cc { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.035); transition: transform .2s, border-color .2s; }
.contact-card .cc:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.contact-card .cc b { font-size: 1.05rem; font-weight: 700; }
.contact-card .cc span { color: var(--muted); font-size: .9rem; }
.contact-card .cc.wa, .contact-card .cc.sms { background: linear-gradient(180deg, #2fbf5a 0%, #1f9e48 100%); border: 0; }
.contact-card .cc.wa span, .contact-card .cc.sms span { color: rgba(255,255,255,.85); }
@media (max-width: 560px) { .contact-card { grid-template-columns: 1fr; } }

.helmet-video .visor { -webkit-mask-image: none; mask-image: none; display: none; }

/* Services dropdown (owner 2026-11-15: menu by what the client orders) */
.dd { position: relative; display: inline-flex; align-items: center; }
.dd-btn { font: inherit; color: inherit; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.dd.on .dd-btn { color: #fff; box-shadow: 0 2px 0 var(--accent); }
.dd-menu { display: none; position: absolute; top: 100%; left: -18px; padding: 14px 0 10px; min-width: 250px; }
.dd-menu::before { content: ""; position: absolute; inset: 8px 0 0; background: rgba(10,11,14,.97); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.5); z-index: -1; }
.dd-menu a { display: block; padding: 9px 20px; white-space: nowrap; color: #c9ccd3; }
.dd-menu a:hover, .dd-menu a.on { color: #fff; background: rgba(255,255,255,.06); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
@media (max-width: 1100px) {
  .links.open .dd { display: block; }
  .links.open .dd-btn { display: block; width: 100%; padding: 14px 0 6px; color: var(--accent); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
  .links.open .dd-btn::after { display: none; }
  .links.open .dd-menu { display: grid; grid-template-columns: 1fr 1fr; position: static; padding: 4px 0 8px; min-width: 0; }
  .links.open .dd-menu::before { display: none; }
  .links.open .dd-menu a { padding: 10px 0; font-size: 16px; font-weight: 500; border-bottom: 0; white-space: normal; }
  .links.open { max-height: calc(100vh - 120px); overflow-y: auto; }
}
/* dropdown panel: background on the menu itself; transparent bridge keeps hover while moving the mouse down */
.dd-menu { top: calc(100% + 10px); padding: 8px 0; background: rgba(10,11,14,.98); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.55); z-index: 30; }
.dd-menu::before { inset: -12px 0 auto 0; height: 12px; background: transparent; border: 0; box-shadow: none; z-index: auto; }
@media (max-width: 1100px) { .links.open .dd-menu { background: none; border: 0; box-shadow: none; } .links.open .dd-btn { text-align: left; } }

/* Home hero = 10 numbered service cards (owner 2026-11-15: "remove everything in this window, nice buttons for our menu, 10 of them, signed; empty for now") */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero.hero-cards { max-width: none; justify-content: flex-end; padding: 120px 0 96px; }
.sc-row-wrap { position: relative; pointer-events: auto; }
.sc-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--pad) 14px; scrollbar-width: none; }
.sc-row::-webkit-scrollbar { display: none; }
.sc { flex: 0 0 auto; display: flex; align-items: flex-end; scroll-snap-align: start; text-decoration: none; }
.sc-n { font: 800 clamp(5.5rem, 4rem + 4vw, 9rem)/.8 "DM Sans", system-ui, sans-serif; color: #050608; -webkit-text-stroke: 3px rgba(255,255,255,.85); letter-spacing: -.06em; margin-right: -22px; position: relative; z-index: 1; text-shadow: 0 6px 20px rgba(0,0,0,.6); }
.sc-poster { position: relative; width: clamp(130px, 9rem + 3vw, 190px); aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 12px;
  background: radial-gradient(120% 80% at 70% 15%, hsl(var(--h) 70% 55% / .55), transparent 60%), linear-gradient(160deg, hsl(calc(var(--h) + 30) 45% 22%) 0%, #0b0d13 75%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 30px rgba(0,0,0,.45); transition: transform .25s, border-color .25s; }
.sc-poster i { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px); }
.sc-poster b { position: relative; font: 700 clamp(.95rem, .85rem + .3vw, 1.15rem)/1.15 "DM Sans", system-ui, sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.sc:hover .sc-poster { transform: translateY(-6px) scale(1.03); border-color: rgba(111,211,220,.55); }
.sc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 88px; border-radius: 10px; background: rgba(10,11,14,.75); color: #fff; font-size: 34px; line-height: 1; border: 1px solid rgba(255,255,255,.12); }
.sc-arrow.prev { left: 6px; } .sc-arrow.next { right: 6px; }
@media (max-width: 760px) {
  .hero.hero-cards { padding: 0 0 calc(110px + env(safe-area-inset-bottom, 0px)); min-height: 100vh; }
  .sc-arrow { display: none; }
  .sc-n { -webkit-text-stroke-width: 2px; margin-right: -16px; }
  .sc-row { gap: 12px; }
}
/* label at the top of the card so the big number never covers it */
.sc-poster { justify-content: flex-start; padding: 14px 12px 14px 22px; }
.sc-poster b { font-size: clamp(1rem, .9rem + .35vw, 1.2rem); }
.sc-arrow.prev { display: none; }

/* owner: the cards go INSIDE the left rectangle where the hero text was, in TWO rows (5 + 5) */
.hero.hero-cards { justify-content: center; padding: 110px var(--pad) 120px; max-width: min(820px, 58vw); }
.sc-row-wrap { width: 100%; }
.sc-row { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, auto); gap: 22px 14px; overflow: visible; padding: 0; scroll-snap-type: none; }
.sc { align-items: flex-end; }
.sc-n { font-size: clamp(3.2rem, 2.4rem + 2.2vw, 5.2rem); -webkit-text-stroke-width: 2px; margin-right: -14px; }
.sc-poster { width: 100%; min-width: 0; padding: 10px 8px 10px 16px; border-radius: 10px; }
.sc-poster b { font-size: clamp(.78rem, .7rem + .3vw, .98rem); }
.sc-arrow { display: none !important; }
@media (max-width: 1100px) { .hero.hero-cards { max-width: none; } }
@media (max-width: 760px) {
  .hero.hero-cards { justify-content: flex-end; padding: 0 0 calc(104px + env(safe-area-inset-bottom, 0px)); }
  .sc-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; grid-template-rows: repeat(2, auto); gap: 14px 10px; overflow-x: auto; padding: 0 var(--pad) 6px; scroll-snap-type: x mandatory; }
  .sc { scroll-snap-align: start; }
  .sc-n { font-size: 3.4rem; margin-right: -12px; }
}
/* fix: equal cards (number overlays the card corner instead of taking width), row order 1-5 / 6-10, smaller on phones */
.sc { position: relative; display: block; padding-left: 18px; }
.sc-n { position: absolute; left: 0; bottom: -6px; margin: 0; z-index: 2; }
.sc-poster { padding: 10px 8px 10px 12px; }
@media (max-width: 760px) {
  .sc-row { grid-auto-flow: row; grid-template-columns: repeat(5, 27%); grid-auto-columns: auto; gap: 12px 10px; }
  .sc { padding-left: 14px; }
  .sc-n { font-size: 2.8rem; bottom: -4px; }
  .sc-poster b { font-size: .78rem; }
}
/* owner: no numbers; smaller cards so all 10 fit (5 + 5) without scrolling */
.sc-n { display: none; }
.sc { padding-left: 0; }
.sc-poster { padding: 10px; }
.sc-row { gap: 14px; }
@media (max-width: 760px) {
  .sc-row { grid-template-columns: repeat(5, 1fr); overflow: visible; gap: 8px; padding: 0 var(--pad) 4px; }
  .sc-poster { aspect-ratio: 3/4; padding: 6px 5px; border-radius: 8px; }
  .sc-poster b { font-size: .62rem; line-height: 1.15; }
}
/* owner: cards too small -> bigger */
.hero.hero-cards { max-width: min(1000px, 62vw); }
.sc-row { gap: 12px; }
.sc-poster b { font-size: clamp(.9rem, .8rem + .35vw, 1.1rem); }
@media (max-width: 760px) {
  .sc-row { gap: 6px; padding: 0 10px 4px; }
  .sc-poster { aspect-ratio: 2/3; padding: 7px 5px; }
  .sc-poster b { font-size: .68rem; }
}
/* equal columns even with long words */
.sc-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sc-poster b { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 760px) { .sc-row { gap: 5px; padding: 0 8px 4px; } .sc-poster { padding: 7px 4px; } .sc-poster b { font-size: .64rem; } }
@media (max-width: 1100px) { .hero.hero-cards { max-width: none; } }
/* owner: wider gaps between cards and bigger cards */
@media (min-width: 1101px) {
  .hero.hero-cards { max-width: min(1240px, 72vw); padding-left: max(var(--pad), 40px); }
  .sc-row { gap: 34px 28px; }
  .sc-poster { border-radius: 14px; padding: 14px; }
  .sc-poster b { font-size: clamp(1rem, .85rem + .45vw, 1.3rem); }
}
@media (max-width: 760px) { .sc-row { gap: 12px 8px; } }
/* owner: raise the cards ~2 cm on desktop */
@media (min-width: 1101px) { .sc-row-wrap { transform: translateY(-76px); } }
/* owner: spread the columns 2 cm to the right; left column stays, gaps grow evenly (4 gaps x 19 px = 76 px) */
@media (min-width: 1101px) { .hero.hero-cards { max-width: calc(min(1240px, 72vw) + 76px); } .sc-row { column-gap: 47px; } }

/* owner 2026-11-15: the cards fly like spaceships - each one floats on its own rhythm with an engine glow under it (desktop only) */
@media (min-width: 1101px) {
  .sc { animation: ship-float 6s ease-in-out infinite; will-change: transform; }
  .sc:nth-child(2n) { animation-duration: 7.2s; } .sc:nth-child(3n) { animation-duration: 5.4s; }
  .sc:nth-child(1) { animation-delay: -0.4s } .sc:nth-child(2) { animation-delay: -2.1s } .sc:nth-child(3) { animation-delay: -1.2s }
  .sc:nth-child(4) { animation-delay: -3.3s } .sc:nth-child(5) { animation-delay: -0.9s } .sc:nth-child(6) { animation-delay: -2.7s }
  .sc:nth-child(7) { animation-delay: -1.6s } .sc:nth-child(8) { animation-delay: -3.9s } .sc:nth-child(9) { animation-delay: -0.2s } .sc:nth-child(10) { animation-delay: -2.4s }
  .sc::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -16px; height: 18px; border-radius: 50%;
    background: radial-gradient(ellipse at center, hsl(var(--h) 90% 70% / .75) 0%, hsl(var(--h) 90% 55% / .25) 45%, transparent 75%);
    filter: blur(4px); animation: ship-engine 1.6s ease-in-out infinite alternate; pointer-events: none; }
  .sc:hover { animation-play-state: paused; }
}
@keyframes ship-float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 25% { transform: translate(2px, -9px) rotate(-.6deg); } 50% { transform: translate(0, -14px) rotate(0deg); } 75% { transform: translate(-2px, -6px) rotate(.6deg); } }
@keyframes ship-engine { from { opacity: .55; transform: scaleX(.85); } to { opacity: 1; transform: scaleX(1.1); } }
@media (prefers-reduced-motion: reduce) { .sc, .sc::after { animation: none !important; } }


/* 'Create video' card reel (2026-11-15): 5 clips in a loop inside the first service card */
.card-reel { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #040507; }
.card-reel video, .card-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.card-reel video.on, .card-reel img.on { opacity: 1; }
.card-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,5,7,.55) 0%, rgba(4,5,7,0) 30%); }
