/* Accurate Vision — clean static site.
   Brand: #0a0a0a ground, #E8001D accent, white text.
   One font everywhere, as in the app: Montserrat. */

:root{
  --bg:#0a0a0a;
  --panel:#101010;
  --panel2:#151515;
  --line:#242424;
  --line2:#2c2c2c;
  --text:#ffffff;
  --body:#cfcfcf;
  --muted:rgba(255,255,255,.62);
  --dim:rgba(255,255,255,.42);
  --accent:#E8001D;
  --wrap:min(100% - 40px,1080px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
/* Anchor jumps land BELOW the fixed header, never under it
   (round 4: CONTACTS jumped to the footer and the bar ate the
   contact block's heading). scroll-padding-top on the root
   covers every in-page and cross-page anchor (#contact,
   #selected-work, #services, …) on every page; the header is
   64px + safe-area inset, 80px keeps 16px of air. #contact
   also carries its own scroll-margin as belt-and-braces. */
html{scroll-padding-top:80px}
#contact{scroll-margin-top:80px}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Montserrat',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit}
.wrap{width:var(--wrap);margin:0 auto}
.kicker{
  margin:0 0 12px;color:var(--accent);text-align:center;
  font-size:10px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
}
/* Section headings, Framer-style (Sergei): centred, caps, light
   Montserrat with wide tracking — never bold, never left. */
.sec-title{
  margin:0;font-weight:300;letter-spacing:.18em;text-transform:uppercase;
  font-size:26px;line-height:1.25;color:var(--text);text-align:center;
}
@media (min-width:760px){.sec-title{font-size:32px}}
.sec-sub{margin:12px auto 0;color:var(--muted);font-size:14.5px;line-height:1.6;text-align:center;max-width:640px}
.section{width:var(--wrap);margin:0 auto;padding:76px 0}

/* ------------------------------------------------------------------ hero
   One-to-one with the app home hero (lib/screens/home_screen.dart):
   full-viewport video, gradient .45/.30/.78, floating lockup in a 44px
   band (safe-area + 16, left 20, width min(320, vw-190), word lift
   -4.81%), centred column (headline 25/800, gap 14, subtitle 15.5,
   gap 30, button 200x48 r12), bottom-right bare download text in the
   MyShootsPill seat (right 20, safe-area bottom + 40). */
.hero{
  position:relative;height:100svh;min-height:600px;overflow:hidden;background:#000;
  --lw:min(320px,calc(100vw - 190px));
}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.45) 0%,rgba(0,0,0,.30) 50%,rgba(0,0,0,.78) 100%);
}
.hero-lockup{
  position:absolute;z-index:3;left:20px;
  /* Extra air over the app's safe-area + 16 seat: a browser has no
     status-bar inset, and the lockup's word lift raises the Λ apex —
     without the added space the apex sits on the screen edge. */
  top:calc(env(safe-area-inset-top,0px) + 34px);
  height:44px;display:flex;align-items:center;
}
.hero-lockup img{width:var(--lw);transform:translateY(calc(var(--lw) * -.0481))}
.hero-centre{
  position:absolute;inset:0;z-index:2;
  display:flex;align-items:center;justify-content:center;padding:0 20px;
}
.hero-fit{display:flex;flex-direction:column;align-items:center;text-align:center;transform-origin:center}
.hero h1{
  margin:0;color:#fff;font-size:25px;font-weight:800;
  letter-spacing:.5px;line-height:1.25;
}
.hero h1 span{display:block;white-space:nowrap}
.hero-sub{
  margin:14px 0 0;color:rgba(255,255,255,.7);
  font-size:15.5px;font-weight:400;line-height:1.4;
}
.book-btn{
  margin-top:30px;width:200px;height:48px;
  display:grid;place-items:center;
  background:var(--accent);color:#fff;border-radius:12px;
  font-size:15px;font-weight:700;letter-spacing:1.2px;text-decoration:none;
}
.hero-download{
  position:absolute;z-index:3;right:20px;
  bottom:calc(env(safe-area-inset-bottom,0px) + 40px);
  display:flex;align-items:center;gap:5px;
  padding:10px 6px;
  color:#fff;font-size:13.5px;font-weight:300;letter-spacing:2.4px;
  text-transform:uppercase;text-decoration:none;
  text-shadow:0 0 6px rgba(0,0,0,.54);
}
.hero-download svg{width:15px;height:15px;flex:none;filter:drop-shadow(0 0 6px rgba(0,0,0,.54))}

/* Burger — as on the old Framer site (Sergei's standing spec,
   round 2): two LONG HAIR-THIN lines (46px long, ~10px apart);
   on open they morph into a RED X of exactly the same lines —
   same 46px length, same weight — ~0.35s ease.
   Round 9: the weight is now a true hairline — 1 CSS px paints
   3 device px on a retina phone and read as thick. The thinning
   is done with transform: scaleY(.5) on the 1px line, NOT a
   .5px height: measured in Chromium at DPR 3, a plain .5px box
   gets its raster snapped up to a full CSS px (the same 3
   device px as 1px), while the scaled line paints ~1.5 device
   px of ink. The open state's transform puts the scale AFTER
   the rotate (rotate(±45deg) scaleY(.5)), so the scale acts in
   the line's own frame and the X arms come out exactly as thin
   as the closed lines. */
.burger{
  position:absolute;z-index:6;
  top:calc(env(safe-area-inset-top,0px) + 32px);right:14px;
  width:58px;height:40px;padding:0;border:0;background:transparent;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  /* NO filter/shadow on the button (round 4): a drop-shadow
     under a 1px line reads on a phone as a grey, thicker line.
     The lines themselves are pure #FFFFFF at full opacity. */
}
.burger span{
  position:absolute;left:6px;width:46px;height:1px;border-radius:1px;
  background:#fff;transform:scaleY(.5);
  transition:transform .35s ease,top .35s ease,background-color .35s ease;
}
.burger span:nth-child(1){top:14px}
.burger span:nth-child(2){top:24px}
.burger.open span{background:#E8001D}
.burger.open span:nth-child(1){top:19px;transform:rotate(45deg) scaleY(.5)}
.burger.open span:nth-child(2){top:19px;transform:rotate(-45deg) scaleY(.5)}
/* Burger menu — a PANEL under the header. Rounds 4–9: a
   compact corner tab at the top right. Round 10 (Sergei)
   supersedes the geometry: full-width sheet flush under the
   bar, same translucent blurred surface as the bar itself —
   bar and panel read as one surface (see the .mobile-menu
   rule). The page stays visible below the panel and keeps
   scrolling — no dim, no scroll lock. Inside, in round 7's
   order: WORK and CONTACTS as a close text pair, the red Book
   button at the hero button's exact size, then the App Store
   badge as plain text, centred on the button-to-bottom
   segment (round 10 addition). The nav lives INSIDE
   .site-head as a static wrapped child — the header grows
   around it, which is what makes the one-surface read
   possible (see the .mobile-menu rule). */
.mobile-menu{
  /* Round 10 (Sergei): the panel is the header bar's
     CONTINUATION — it now lives INSIDE .site-head as a static
     child on a wrapped flex line (flex-basis 100%), so the
     bar's single background + backdrop-filter covers bar and
     panel as one surface and no seam can form (an earlier
     same-day attempt with two sibling backdrop surfaces left
     a 4/255 tonal step at the join — measured, then rebuilt
     this way). It carries no background, border or shadow of
     its own; the grown header takes the drop shadow while
     open (rule below). Content centres on the PAGE. The
     corner-tab geometry of rounds 4–9 (300px/58vw fixed at
     right:12px, opaque #0a0a0a, #262626 border) is retired. */
  flex:1 1 100%;
  background:transparent;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  border:0;border-radius:0;
  box-shadow:none;
  display:flex;flex-direction:column;align-items:stretch;
  /* Dissolve, not pop (Sergei, 2026-11-19): the panel fades
     in and out on the toggle's .open class — the scripts
     (site.js, book.html) unhide it a frame before adding
     .open and hide it again only after the fade-out. */
  /* ONE movement both ways (Sergei, 2026-11-20): the close
     used to read as TWO movements — the .28s fade, then a
     hard snap at the toggle's 300ms hide, when the panel's
     248px vanished at once and the fixed header surface
     jumped from full menu height back to the 64px bar. The
     height now rides the SAME transition as the fade:
     max-height and the vertical padding animate 0 ↔ full
     over the same .28s ease, so the header surface grows
     and shrinks DURING the dissolve, and by the time the
     scripts set [hidden] the panel is already 0px tall and
     invisible — the display flip changes nothing on
     screen. One transition list on this base rule drives
     both directions, so open and close are exact mirrors. */
  opacity:0;max-height:0;overflow:hidden;
  transition:opacity .28s ease,max-height .28s ease,padding-top .28s ease,padding-bottom .28s ease;
  /* Round 5: vertical breathing room — top and bottom padding
     equal to ONE BUTTON's height (56px), per Sergei: «сверху и
     снизу расстояние ещё по одной кнопке». Side padding stays.
     Round 8: no uniform flex gap anymore — the row spacing is
     per-element margins now, because the two text links ride
     flush against each other (0 between WORK and CONTACTS)
     while the button and badge steps below them are sized by
     their own rules (see the .book-btn / .app-badge rules
     below). 2026-11-19 (Sergei): the buttons are out of the
     menu (navigation only now), and the BOTTOM padding grows
     a little — 56 → 84 — «чуть снизу больше расстояния, как
     до логотипа». 2026-11-20: the 56/84 vertical padding now
     lives on the .open rule below and animates with the
     dissolve (see the one-movement note above); this base
     rule keeps only the 16px side padding. */
  padding:0 16px;
}
/* Open state: the dissolve's other end. max-height 248px is
   the panel's EXACT full height — 56 top padding + three
   36px link rows + 84 bottom padding — so the height
   animation maps 1:1 onto the real motion with no easing
   distortion. If a fourth link row is ever added, raise it
   by that row's height (36px) in the same edit. */
.mobile-menu.open{opacity:1;max-height:248px;padding-top:56px;padding-bottom:84px}
.mobile-menu[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.mobile-menu{transition:none}}
/* While the menu is open, the grown header (bar + panel)
   drops the soft shadow the standalone panel used to carry,
   and its hairline bottom border is suppressed: the border
   belongs at the bottom of the CLOSED bar, not under the
   panel (both pages' toggles put .open on the nav; :has
   carries the state to the bar). */
body:has(.mobile-menu.open) .site-head{border-bottom-color:transparent;box-shadow:0 18px 44px rgba(0,0,0,.55)}
/* The red button in the menu is an exact copy of the HERO
   button's box — 200×48px, measured live off .hero .book-btn
   at a 390px viewport (the base .book-btn rule) — centred in
   the panel, NOT stretched to its width (round 8 addition:
   the stretched version read as a different, bigger button
   than the hero's). Round 17 (Sergei) supersedes round 8's
   14px top step: the button now stands EXACTLY midway between
   CONTACTS and the App Store row — its top margin is 56px,
   equal to the badge's own 56px top margin below it, so the
   two edge gaps (CONTACTS→button, button→badge) measure the
   same and the button's centre is the midpoint of the
   segment (verified live: 56/56, Δ0). The App Store row
   below keeps its 56px height and, since round 8, wears NO
   button outline at all: no border, no background — the
   glyph + two-line text group stands on the panel itself,
   centred in the row; its own centring on the
   button-bottom→panel-bottom segment is untouched by the
   round 17 change (56 gap + 56 row + 56 bottom padding). */
.mobile-menu .book-btn{
  flex:none;align-self:center;width:200px;height:48px;margin-top:56px;
}
.mobile-menu .app-badge{
  /* 2026-11-16 (Sergei): the app is live — the MENU badge is a
     real App Store link again, so it stands back up here; the
     global hide rule below (.app-badge{display:none}) still
     covers the hero badge, which stays hidden. This selector
     outranks that rule for the menu instance only. */
  display:flex;
  width:100%;height:56px;padding-top:0;padding-bottom:0;
  /* Round 10 (Sergei): the badge row is centred on the segment
     from the button's bottom edge to the panel's bottom edge —
     with a 56px row and 56px bottom padding, a 56px gap puts
     the badge's centre exactly mid-segment (verified by
     measurement, ≤1px). */
  margin-top:56px;background:transparent;border:0;
}
.mobile-menu .menu-contacts,
.mobile-menu .menu-services,
.mobile-menu .menu-work{
  color:#fff;text-decoration:none;text-transform:uppercase;
  font-family:'Montserrat',sans-serif;font-weight:300;
  font-size:15px;letter-spacing:.18em;text-align:center;
  /* Rounds 6–7: the text links rode in "invisible button"
     rows of 56px. Round 8 (Sergei): WORK and CONTACTS move
     closer together — short 36px rows, flush against each
     other with no gap, so they read as a pair of plain text
     links; below CONTACTS a 56px step leads to the red
     button (round 17: the step matches the one below the
     button, putting it midway to the App Store row). No
     background, no border: the rows stay invisible. */
  flex:none;height:36px;
  display:flex;align-items:center;justify-content:center;
}

/* ------------------------------------------------------- subpage header */
.page-head{border-bottom:1px solid var(--line);background:var(--bg)}
.page-head .bar{
  width:var(--wrap);margin:0 auto;height:68px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.page-head .bar img{width:168px}
.page-head nav{display:flex;gap:22px;align-items:center}
.page-head nav a{
  color:var(--muted);text-decoration:none;white-space:nowrap;
  font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
}
.page-head nav a.book-link{color:var(--accent)}
@media (max-width:480px){
  .page-head .bar{gap:12px}
  .page-head .bar img{width:128px}
  .page-head nav{gap:13px}
  .page-head nav a{font-size:10px;letter-spacing:.1em}
}

/* ------------------------------------------------------------ work tabs */
/* Round 9: NO through line under the tab strip — the old grey
   border-bottom is gone entirely; the active tab's 1px red
   underline (below) is the only line here. */
.tabs{display:flex;gap:26px;margin:30px 0 22px}
.tab{
  position:relative;background:none;border:0;cursor:pointer;
  padding:0 0 14px;color:var(--dim);
  font-family:inherit;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
}
.tab[aria-selected="true"]{color:#fff}
.tab[aria-selected="true"]::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--accent);
}
/* The hidden attribute must always win — author display rules
   (grid/flex) otherwise defeat it and panels stack instead of switching. */
[hidden]{display:none !important}
/* Gallery gaps halved (Sergei, 2026-11-13): videos 18 -> 9,
   reels and photos 10 -> 5 (their rules below). */
.work-grid{display:grid;grid-template-columns:1fr;gap:9px}
.work-card{
  position:relative;display:block;width:100%;aspect-ratio:16/9;
  padding:0;border:0;border-radius:16px;overflow:hidden;
  background:#111;color:#fff;cursor:pointer;text-align:left;
  font-family:inherit;
}
.work-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:filter .18s ease}
/* Uniform press feedback (round 15): EVERY card — the top one
   included — visibly answers a press the same way: the photo
   dips in brightness while :active holds (site.js carries the
   no-op touch listener WebKit needs to paint :active at all),
   and the card wears a faint brand-red tap-highlight. Tours
   cards had no press response of their own before: their badge
   is deliberately the same translucent disc in every state, and
   their heavier siblings' "blink" was a hover repaint the first
   card's position never showed. */
.work-card{-webkit-tap-highlight-color:rgba(232,0,29,.16);touch-action:manipulation}
.work-card:active img{filter:brightness(.68)}
.work-card::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:45%;
  background:linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,0));
}
.work-play{
  position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);
  width:52px;height:52px;border-radius:50%;
  background:rgba(10,10,10,.68);border:1px solid rgba(255,255,255,.22);
  display:grid;place-items:center;
  transition:background .2s,border-color .2s;
}
.work-play::after{
  content:"";margin-left:3px;
  border-style:solid;border-width:6px 0 6px 10px;
  border-color:transparent transparent transparent #fff;
}
.work-card:hover .work-play,.work-card:focus-visible .work-play{
  background:var(--accent);border-color:var(--accent);
}
/* Landing tours (Sergei): the Play badge is the SAME translucent
   dark disc with a small white triangle on every card, in every
   state — the old hover/focus repaint to a solid red disc made the
   tapped card flash red and read as a different button. */
.lp [data-panel="tours"] .work-play,
.lp [data-panel="tours"] .work-card:hover .work-play,
.lp [data-panel="tours"] .work-card:focus-visible .work-play,
.lp [data-panel="tours"] .work-card:active .work-play{
  background:rgba(10,10,10,.55);border:1px solid rgba(255,255,255,.25);
}
/* Landing reels (Sergei, 2026-11-06): no selection highlight
   at all. Scrolling the rail or tapping a card must not mark
   it — no red tap flash, no photo dip, and the Play badge
   stays the same translucent dark disc in every state,
   including the sticky focus a tap leaves behind. A tap
   simply opens the video. */
.lp [data-panel="reels"] .work-card{-webkit-tap-highlight-color:transparent}
.lp [data-panel="reels"] .work-card:active img{filter:none}
.lp [data-panel="reels"] .work-play,
.lp [data-panel="reels"] .work-card:hover .work-play,
.lp [data-panel="reels"] .work-card:focus-visible .work-play,
.lp [data-panel="reels"] .work-card:active .work-play{
  background:rgba(10,10,10,.55);border:1px solid rgba(255,255,255,.25);
}
/* Tours run edge-to-edge, square corners, exactly 2.5px apart
   (5px until 2026-11-20 — halved again per Sergei). */
.lp [data-panel="tours"]{
  grid-template-columns:1fr;gap:2.5px;
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
}
.lp [data-panel="tours"] .work-card{border-radius:0}
.work-caption{position:absolute;z-index:2;left:16px;right:12px;bottom:15px}
.work-caption strong{display:block;font-size:16.5px;font-weight:700}
.work-caption span{display:block;margin-top:3px;color:rgba(255,255,255,.72);font-size:13px}
.reels-grid{grid-template-columns:repeat(3,1fr);gap:5px}
.reels-grid .work-card{aspect-ratio:9/16;border-radius:12px}
.reels-grid .work-play{width:34px;height:34px}
.reels-grid .work-play::after{border-width:4.5px 0 4.5px 7.5px;margin-left:2px}
.reels-grid .work-caption{left:9px;right:7px;bottom:9px}
.reels-grid .work-caption strong{font-size:11.5px}
.reels-grid .work-caption span{font-size:10px;margin-top:2px}
.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.photo-grid button{
  padding:0;border:0;border-radius:12px;overflow:hidden;background:#111;cursor:pointer;
}
.photo-grid img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}
@media (min-width:760px){
  .work-grid{grid-template-columns:1fr 1fr}
  .reels-grid{grid-template-columns:repeat(3,1fr)}
  .reels-grid .work-caption strong{font-size:15px}
  .reels-grid .work-caption span{font-size:12px}
  .photo-grid{grid-template-columns:repeat(4,1fr)}
}

/* -------------------------------------------------------------- viewer */
.viewer{
  position:fixed;inset:0;z-index:60;display:none;place-items:center;
  background:rgba(0,0,0,.96);padding:64px 20px 24px;
}
.viewer.open{display:grid}
/* Arming state (round 13, RETIRED in round 15): a video opening
   used to mount the overlay fully invisible until the native
   fullscreen player began. Round 15 removed the overlay from
   the happy path entirely — the video element lives parked
   offscreen (see .fs-parked) and the scene exists only as the
   fallback — so nothing adds this class any more; the rule
   stays only so an older cached page can never flash it. */
.viewer.arming{visibility:hidden}
/* Fallback entrance (round 14): when the inline fallback does
   engage (no native fullscreen), the scene fades in over
   200 ms and the × trails it by 150 ms — a deliberate opening,
   never a one-frame flash. The happy path never carries this
   class, so nothing fades on the way into fullscreen. */
.viewer.fallback-in{animation:viewer-fade-in .2s ease-out}
.viewer.fallback-in .viewer-close{animation:viewer-fade-in .2s ease-out .15s both}
@keyframes viewer-fade-in{from{opacity:0}to{opacity:1}}
.viewer-stage{width:min(1180px,100%);height:min(76svh,720px);display:grid;place-items:center}
/* Photo mode (Sergei): the picture runs edge to edge — no side
   fields. The stage takes the whole viewport, the photo fills
   its width and centres vertically, proportions untouched
   (contain: a portrait frame would be height-bound instead of
   cropped). The × and chevrons float over the photo at the
   screen edges. The video fallback keeps the padded stage. */
.viewer.photo{padding:0}
.viewer.photo .viewer-stage{width:100vw;height:100svh}
.viewer.photo .viewer-stage img{width:100%;height:100%;object-fit:contain}
/* The ONE reusable video element, parked on the page (round 15;
   geometry widened afterwards at Sergei's word): the happy path
   plays from here straight into the native fullscreen player.
   It spans the WHOLE viewport — the native transition starts
   from the element's own rect, so a full-frame rect makes iOS
   present the film as an appearance/fade instead of a stretch
   out of the old 1×1 top-left corner. Round 18 (Sergei): the
   parking itself changed — NOT opacity:0 any more. With the
   element transparent, iOS drew the video surface the instant
   the native player opened but faded the presentation's dark
   backdrop in a beat later — two layers arriving out of sync.
   The element now stays fully MATERIAL (opacity:1, visibility
   visible) and is parked physically offscreen instead: same
   full-viewport rect, translated a full viewport width (plus a
   small margin) past the left edge, so nothing of it can paint
   and there is no transparency for iOS to animate from.
   pointer-events:none and a low z-index stay; NOT display:none
   (WebKit refuses fullscreen on display:none). The class comes
   off only when the element moves into the fallback stage. */
.fs-parked{position:fixed;inset:0;width:100%;height:100%;height:100dvh;transform:translateX(calc(-100vw - 10px));pointer-events:none;z-index:1;border:0}
.viewer-stage video{width:100%;height:100%;border:0;background:#050505;object-fit:contain}
.viewer-stage img{max-width:100%;max-height:100%;object-fit:contain}
/* Lightbox close (Sergei): the burger menu's X, not a badge —
   two hairline arms (1px, scaleY(.5), the burger's own recipe)
   in brand red, rotated ±45°, on NO background and NO circle.
   Round 17: the arms are the menu X's exact length — 46px,
   the .burger span width (they were 28px and read small next
   to the menu's). The button box stays 44×44 as the tap
   target; its text glyph is hidden (the arms are drawn by
   the pseudo-elements). The opacity transition is the chrome
   toggle's fade (see .chrome-off below). */
.viewer-close{
  position:absolute;top:calc(env(safe-area-inset-top,0px) + 14px);right:18px;
  width:44px;height:44px;border:0;background:transparent;color:transparent;
  font-size:0;line-height:1;cursor:pointer;
  transition:opacity .18s ease;
}
.viewer-close::before,.viewer-close::after{
  content:"";position:absolute;left:50%;top:50%;width:46px;height:1px;
  background:#E8001D;border-radius:1px;
}
.viewer-close::before{transform:translate(-50%,-50%) rotate(45deg) scaleY(.5)}
.viewer-close::after{transform:translate(-50%,-50%) rotate(-45deg) scaleY(.5)}
/* Chrome toggle (round 17, Sergei): a tap on the photo hides
   the ×, the next tap brings it back (site.js toggles the
   class; the fade is the transition above). Photo mode only —
   the selector carries .photo, so the video fallback's × can
   never be toggled away. While off, the × takes no taps: a
   tap where it sat lands on the photo and toggles it back. */
.viewer.photo.chrome-off .viewer-close{opacity:0;pointer-events:none}
/* Lightbox arrows: RETIRED (round 17, Sergei) — the red side
   chevrons are removed entirely; photo paging is swipes only
   (the buttons are gone from the markup too). */

/* ------------------------------------------------------------ services */
/* 3 in a row × 2 rows — the numbers, title and text stack inside
   each compact cell so all six fit the mobile width. */
.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0 14px;
  border-top:1px solid var(--line);margin-top:34px;
}
.service{padding:18px 2px 20px;border-bottom:1px solid var(--line)}
.service .num{color:var(--accent);font-size:12.5px;font-weight:800}
.service h3{margin:7px 0 0;font-size:12.5px;font-weight:800;letter-spacing:.04em;line-height:1.35}
.service p{margin:7px 0 0;color:var(--muted);font-size:11.5px;line-height:1.55}
@media (min-width:760px){
  .services-grid{gap:0 40px}
  .service{padding:24px 2px 26px}
  .service .num{font-size:15px}
  .service h3{font-size:16px}
  .service p{font-size:14px}
}

/* ------------------------------------------------------------- clients */
.clients{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:64px 0 54px;overflow:hidden;text-align:center}
.marquee{display:flex;width:max-content;animation:marquee 42s linear infinite;margin-top:32px}
.marquee-group{display:flex;align-items:center}
.client-logo{width:150px;height:72px;padding:10px 22px;display:grid;place-items:center;flex:none}
.client-logo img{max-width:100%;max-height:100%;object-fit:contain;opacity:.8}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee{animation:none}}

/* ----------------------------------------------------------------- cta */
.cta{
  background:#080808;text-align:center;padding:80px 24px;
  border-top:1px solid rgba(232,0,29,.65);border-bottom:1px solid rgba(232,0,29,.65);
  /* The whole composition (heading, sub, disc, word) is centred
     as one group between the two red lines (Sergei, 2026-11-13):
     flex centring makes the air above and below the group equal
     by construction, not by margin arithmetic. */
  display:flex;flex-direction:column;justify-content:center;
}
.cta h2{margin:0;font-weight:800;font-size:30px;line-height:1.25}
.cta .book-btn{margin:28px auto 0}

/* -------------------------------------------------------------- forms */
.field{display:block}
.field-name{
  display:block;margin-bottom:8px;color:var(--dim);
  font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
}
.input{
  width:100%;background:#141414;border:1px solid #2a2a2a;border-radius:12px;
  color:#fff;padding:14px;font-family:inherit;font-size:16px;font-weight:400;
}
.input::placeholder{color:#636363}
.input:focus{outline:none;border-color:var(--accent)}
/* Autofill (Sergei, 2026-11-09): Chrome and iOS Safari
   paint autofilled fields white with dark text until the
   user edits a character. Cover the fill with the field's
   own dark surface via an inset shadow, keep the text and
   caret light, and hold the browser's fill back with a
   long transition so the white never shows. */
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;
  -webkit-box-shadow:0 0 0 1000px #141414 inset;
  box-shadow:0 0 0 1000px #141414 inset;
  caret-color:#fff;
  transition:background-color 99999s ease-in-out 0s;
}
textarea.input{min-height:120px;resize:vertical}
select.input{appearance:none}
/* Address suggestions (Sergei, 2026-11-06): the same service
   as the app — an in-flow panel directly under the field. */
.addr-list{margin-top:8px;background:#141414;border:1px solid #2a2a2a;border-radius:12px;overflow:hidden}
.addr-item{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;background:none;border:0;border-bottom:1px solid rgba(255,255,255,.05);color:#fff;font-family:inherit;font-size:14.5px;text-align:left;cursor:pointer}
.addr-item:last-child{border-bottom:0}
.addr-item.on,.addr-item:hover{background:rgba(255,255,255,.06)}
.addr-item svg{flex:0 0 auto}
.addr-status{margin-top:10px;color:#A6A6A6;font-size:13px}
.form-note{color:var(--dim);font-size:12px;line-height:1.55}
.form-error{color:#ff8291;font-size:13px;min-height:18px;margin:0}
.submit-btn{
  min-height:52px;padding:0 28px;border:0;border-radius:12px;cursor:pointer;
  background:var(--accent);color:#fff;
  font-family:inherit;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
}

/* ------------------------------------------------------------- reviews */
.reviews-layout{display:grid;grid-template-columns:1fr;gap:44px;margin-top:34px}
.review-form{display:grid;grid-template-columns:1fr;gap:16px}
.review-form h3{margin:0;font-size:18px;font-weight:700}
.rating-fieldset{border:0;margin:0;padding:0}
.rating-fieldset legend{
  margin-bottom:8px;color:var(--dim);
  font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
}
.star-rating{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.star-rating input{position:absolute;opacity:0;pointer-events:none}
.star-rating label{font-size:27px;line-height:1;color:#3a3a3a;cursor:pointer;padding:0 2px}
.star-rating input:checked ~ label{color:var(--accent)}
.star-rating label:hover,.star-rating label:hover ~ label{color:var(--accent)}
.reviews-empty{
  border:1px dashed #2c2c2c;border-radius:14px;padding:26px;
  color:var(--muted);font-size:14px;text-align:center;
}
.reviews-published h3{font-size:18px;font-weight:700;margin:0 0 16px}
@media (min-width:900px){.reviews-layout{grid-template-columns:1fr 1fr;gap:64px}}

/* -------------------------------------------------------------- footer */
.site-footer{border-top:1px solid var(--line);background:#070707;padding:64px 0 34px}
.foot-lead img{width:200px}
.foot-tag{margin:18px 0 0;font-size:17px;font-weight:600;color:#fff}
/* Mobile (the site's ≤759px layout): the footer logo is hidden —
   it only duplicates the fixed header's logo, which is always
   on screen anyway (Sergei, round 4). The tagline's top margin
   was the gap under the logo, so it goes with it: the block
   starts with the tagline, no hole. Desktop keeps the logo. */
@media (max-width:759px){
  .foot-lead img{display:none}
  .foot-tag{margin-top:0}
}
.foot-lead dl{margin:26px 0 0;display:grid;gap:14px}
.foot-lead dl>div{display:flex;gap:9px;align-items:center}
/* Contact rows are led by icons, not caption words (Sergei,
   2026-11-20), and aligned exactly like the Instagram row
   below: a 19px icon box and a 9px gap, so every row's text
   starts at the same x. The glyphs match the Instagram icon —
   19px, white, 1.8 stroke. The WhatsApp glyph is the brand
   silhouette, so it is filled instead of stroked. */
.foot-lead dt{width:19px;flex:none;line-height:0}
.foot-lead dt .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.foot-lead dt svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.foot-lead dt svg.ic-wa{fill:#fff;stroke:none}
.foot-lead dd{margin:0;font-size:14px}
.foot-lead dd a{color:#fff;text-decoration:none}
.ig-link{
  /* Same 14px rhythm as the contact rows above it, so all four
     rows form one uniform block (Sergei, 2026-11-20). */
  display:inline-flex;align-items:center;gap:9px;margin-top:14px;
  color:#fff;text-decoration:none;font-size:14px;
}
.ig-link svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.8}
/* Two columns only (Services + Coverage Area), always side by side
   in one row — the Navigation column was removed (Sergei, 2026-11-13). */
.foot-cols{
  display:grid;grid-template-columns:1fr 1fr;
  gap:28px;margin-top:48px;
}
.foot-col h3{margin:0 0 12px;color:var(--dim);font-size:10px;font-weight:600;letter-spacing:.18em}
.foot-col a,.foot-col span{
  display:block;padding:4px 0;color:var(--muted);font-size:13.5px;text-decoration:none;
}
.foot-bottom{
  border-top:1px solid var(--line);margin-top:42px;padding-top:20px;
  display:flex;justify-content:space-between;gap:12px 22px;flex-wrap:wrap;
  color:var(--dim);font-size:12px;
}
/* Bottom-line links read exactly like the line itself (Sergei,
   2026-11-20): same color as the surrounding © text, only the
   click differs. */
.foot-bottom a{color:inherit;text-decoration:none}
/* Footer App Store badge (Sergei, 2026-11-18): the same badge
   as in the burger menu, in the empty space under the
   SERVICES column — that column ends well above the COVERAGE
   column, so the slot under its last item takes the rest of
   the row's height. The column turns into a flex column so
   the slot can grow; its heading and items render exactly as
   before. Borderless dress, like the menu and hero
   instances; display:flex outranks the global hide rule for
   these instances only.
   Seat (Sergei, 2026-11-19, superseding the 2026-11-18
   centring): pressed to the LEFT edge, down at the bottom —
   its bottom on the bottom of the COVERAGE column's last
   line, opposite that line. */
.foot-col--services{display:flex;flex-direction:column}
.foot-badge-slot{flex:1;display:flex;align-items:flex-end;justify-content:flex-start}
.foot-badge-slot .app-badge{display:flex;background:transparent;border:0;padding:0}
/* The booking page's footer is the bare © strip (no columns):
   the same badge stands centred above the strip. */
.foot-badge-row{display:flex;justify-content:center;margin-bottom:24px}
.foot-badge-row .app-badge{display:flex;background:transparent;border:0;padding:0}

/* ----------------------------------------------------------- book page */
/* The wizard mirrors the app's BookingFlowScreen: StepHeader,
   QuotePanel, AvPill rows, AvButton footer, calendar + slot pills.
   App tokens: bg #0a0a0a, surface #141414, border #2A2A2A,
   accent #E8001D, secondary text #A6A6A6, hint #636363. */
.book-wrap{
  width:min(100% - 40px,760px);margin:0 auto;
  padding:calc(64px + env(safe-area-inset-top,0px) + 26px) 0 84px;
}
.book-title{
  margin:6px 0 0;text-align:center;font-size:15px;font-weight:700;
  letter-spacing:2.4px;text-transform:uppercase;
}

/* Booking head row (Sergei, 2026-11-06): the red back chevron
   sits left of the centred title — the hero scroll chevron's
   twin, rotated to point left; a history back, no reload. */
.book-head{position:relative}
.test-banner{
  margin-top:20px;border:1px solid rgba(232,0,29,.55);background:rgba(232,0,29,.08);
  border-radius:12px;padding:13px 16px;color:#ffb3ba;font-size:13px;line-height:1.55;
}
.step-header{margin-top:30px}
.step-eyebrow{margin:0;color:#A6A6A6;font-size:12px;font-weight:600;letter-spacing:3px}
.step-question{margin:10px 0 0;color:var(--accent);font-size:26px;font-weight:300;line-height:1.3}
.bstep{margin-top:22px}
.bstep[hidden]{display:none}
.flabel{margin:20px 0 10px;color:#A6A6A6;font-size:11px;font-weight:700;letter-spacing:1.6px}
.bstep>.flabel:first-child,.bstep>div>.flabel{margin-top:0}
.bstep .field + .flabel{margin-top:20px}
.grid-bb{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.sqft-field{position:relative}
.sqft-field .sqft-unit{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  color:#636363;font-size:15px;pointer-events:none;
}
/* AvPill — the app's selectable chip */
.av-pill{
  padding:13px 18px;border-radius:16px;cursor:pointer;font-family:inherit;
  background:#141414;border:1px solid #2A2A2A;color:#fff;
  font-size:14px;font-weight:500;line-height:1.25;
}
.av-pill.on{background:rgba(232,0,29,.16);border:1.5px solid var(--accent);color:var(--accent);font-weight:600}
.proj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.av-pill.compact{
  min-height:46px;padding:8px 6px;font-size:12.5px;text-align:center;
  display:flex;align-items:center;justify-content:center;
}
/* Package tabs — underline style, like the app */
.pkg-tabs{display:flex;border-bottom:1px solid #2A2A2A;margin-bottom:18px}
.ptab{
  position:relative;flex:1;text-align:center;background:none;border:0;cursor:pointer;padding:0 0 12px;
  font-family:inherit;font-size:15px;font-weight:500;color:#A6A6A6;
}
.ptab.on{color:#fff;font-weight:700}
.ptab.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent)}
.pkg{
  display:block;width:100%;text-align:left;cursor:pointer;color:#fff;font-family:inherit;
  background:#141414;border:1px solid #2A2A2A;border-radius:20px;padding:20px;margin-bottom:14px;
}
.pkg.on{border:1.5px solid var(--accent)}
.pkg-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pkg-name{font-size:18px;font-weight:700}
.pkg .pop{
  background:var(--accent);color:#fff;border-radius:20px;padding:4px 10px;
  font-size:10px;font-weight:800;letter-spacing:.06em;white-space:nowrap;
}
.pkg-tag{display:block;margin-top:7px;color:#A6A6A6;font-size:13px;line-height:1.55}
.pkg-price{margin:12px 0 0;color:var(--accent);font-size:20px;font-weight:800}
.pkg-save{margin:6px 0 0;color:var(--accent);font-size:13px;font-weight:700}
.pkg-priced-for{margin:4px 0 0;color:#A6A6A6;font-size:12.5px}
.pkg-includes{display:block;margin-top:12px}
.pkg-includes .inc{display:flex;gap:9px;align-items:flex-start;padding:2.5px 0;color:#A6A6A6;font-size:14px;line-height:1.45}
.pkg-includes .inc i{font-style:normal;color:var(--accent);font-size:16px;font-weight:700;line-height:1.3}
/* Build 217, капля 11: constructor controls under a selected
   package card (and inside the bundle block) */
.pkg:has(+ .pkg-ctor){margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}
.pkg-ctor{margin:0 0 14px;padding:2px 20px 8px;border:1px solid #2A2A2A;border-top:0;border-radius:0 0 20px 20px;background:#141414}
/* Build 218: Sergei's pairing banner between the photo
   and video sections of the package step, and the
   Matterport checkbox card (a .pkg shell, not a button). */
.pkg-banner{margin:2px 0 14px;color:var(--accent);font-size:15px;font-weight:700}
.matterport-card{cursor:default}
.matterport-card .check-row{padding:2px 0}
.ctor-formats{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0 4px}
/* Checkbox rows — the app's custom checkbox */
.check-row{display:flex;align-items:flex-start;gap:13px;padding:11px 2px;cursor:pointer}
.check-row input{
  appearance:none;-webkit-appearance:none;flex:none;
  width:22px;height:22px;margin:1px 0 0;border-radius:6px;
  border:1.5px solid #2A2A2A;background:transparent;cursor:pointer;position:relative;
}
.check-row input:checked{background:var(--accent);border-color:var(--accent)}
.check-row input:checked::after{
  content:"";position:absolute;left:6.5px;top:3px;width:6px;height:11px;
  border:solid #fff;border-width:0 2.2px 2.2px 0;transform:rotate(42deg);
}
.check-text{display:block}
.check-name{display:block;font-size:15.5px;color:#fff;line-height:1.4}
.check-sub{display:block;margin-top:2px;color:#A6A6A6;font-size:13px;line-height:1.45}
.bundle-note{margin:0 0 6px;color:var(--accent);font-size:13px}
.terms-check{margin-top:20px}
.terms-check span{color:#A6A6A6;font-size:13.5px;line-height:1.5;padding-top:2px}
/* Calendar */
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.cal-title{margin:0;font-size:17px;font-weight:700}
.cal-nav{
  width:40px;height:40px;border-radius:50%;border:1px solid #2A2A2A;background:#141414;
  color:#fff;font-size:22px;line-height:1;cursor:pointer;
}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-week,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.cal-week span{text-align:center;color:#A6A6A6;font-size:11px;font-weight:600;padding:4px 0}
.cal-cell{display:block}
.cal-day{
  aspect-ratio:1;border-radius:50%;border:1px solid #2A2A2A;background:#141414;
  color:#fff;font-family:inherit;font-size:14px;cursor:pointer;padding:0;
}
.cal-day.today{border-color:var(--accent)}
.cal-day.sel{background:var(--accent);border-color:var(--accent);font-weight:700}
.cal-day:disabled{color:rgba(166,166,166,.35);cursor:default}
.slot-wrap{display:flex;flex-wrap:wrap;gap:9px}
.slots-empty{margin:6px 0 0;color:#A6A6A6;font-size:14px}
/* Summary card */
.summary{background:#141414;border:1px solid #2A2A2A;border-radius:20px;padding:20px}
.summary .row{
  display:flex;justify-content:space-between;gap:18px;
  padding:5px 0;color:#A6A6A6;font-size:14px;
}
.summary .row b{color:#fff;font-weight:600;white-space:nowrap}
.summary .total{
  border-top:1px solid #2A2A2A;margin-top:10px;padding-top:14px;
  color:#fff;font-size:17px;font-weight:800;
}
.summary .total b{color:var(--accent);font-size:20px;font-weight:800}
/* QuotePanel */
.quote-panel{
  margin-top:26px;background:#141414;border:1px solid #2A2A2A;
  border-radius:20px;padding:16px 20px;
}
.qp-row{display:flex;justify-content:space-between;align-items:baseline}
.qp-label{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:3px}
.qp-pct{color:#A6A6A6;font-size:13px;font-weight:600}
.qp-bar{margin-top:10px;height:6px;border-radius:3px;background:#2A2A2A;overflow:hidden}
.qp-bar i{display:block;height:100%;width:0;background:var(--accent);border-radius:3px;transition:width .35s ease}
/* Back / Continue — AvButton geometry */
.book-nav{display:flex;gap:12px;margin-top:14px}
.nav-btn{
  flex:2;height:56px;border-radius:16px;border:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;font-family:inherit;
  font-size:15px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  text-decoration:none;padding:0 18px;
}
.nav-btn.ghost{flex:1;background:transparent;border:1.5px solid var(--accent);color:var(--accent)}
.nav-btn[hidden]{display:none}
.nav-btn:disabled{background:#1E1E1E;color:#A6A6A6;cursor:default}
/* Tap hardening (2026-11-09): the wizard's controls opt out
   of double-tap-zoom gesture recognition, so a tap lands as
   a tap at once — including the first tap right after
   scrolling, which the gesture layer could otherwise hold
   back on the long add-ons step. No visual change. */
.nav-btn,.av-pill,.ptab,.pkg,.cal-day,.check-row,.check-row input{touch-action:manipulation}
.payload{display:none;margin-top:30px;text-align:left}
.payload.show{display:block}
.payload h3{font-size:14px;margin:0 0 10px}
.payload pre{
  background:#050505;border:1px solid var(--line);border-radius:12px;
  padding:16px;overflow:auto;font-size:12px;line-height:1.6;color:#d7d7d7;
}
/* Complete screen */
.bstep-done{text-align:center;padding-top:14px}
.done-check{width:76px;height:76px;color:#2FBF71;margin:0 auto}
.done-title{margin:22px 0 0;font-size:26px;font-weight:800}
.done-text{margin:14px auto 0;max-width:420px;color:#A6A6A6;font-size:15px;line-height:1.65}
.done-btns{display:flex;flex-direction:column;gap:12px;margin-top:28px}
.done-btns .nav-btn{flex:none;width:100%}

/* ---------------------------------------------------- app + doc pages */
.app-main{
  width:min(100% - 40px,560px);margin:0 auto;
  padding:84px 0 96px;text-align:center;
}
.app-main img{width:220px;margin:0 auto}
.app-main h1{margin:30px 0 0;font-weight:800;font-size:28px}
.app-main p{color:var(--muted);font-size:15px;line-height:1.7}
.app-main .phone{
  display:inline-block;margin-top:10px;color:#fff;font-size:19px;font-weight:700;text-decoration:none;
}
.back-link{
  display:inline-block;margin-top:34px;color:var(--dim);text-decoration:none;
  font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
}
.doc{width:min(100% - 40px,760px);margin:0 auto;padding:44px 0 84px}
.doc h1{margin:0;font-weight:800;font-size:32px}
.doc .updated{color:var(--dim);font-size:13px}
.doc h2{margin:32px 0 0;font-size:16.5px;font-weight:800}
.doc p,.doc li{color:var(--body);font-size:15px;line-height:1.75}
.doc ul{padding-left:20px}
.doc a{color:#fff}

/* ================================================================
   LANDING 2026-11-05 — Framer composition on our code.
   Everything below is landing-only (body.lp / new classes); the
   book, app and privacy pages keep the rules above untouched.
   ================================================================ */
body.lp{overflow-x:clip}
.lp #selected-work,.lp #services,.lp #footer{scroll-margin-top:78px}

/* ------------------------------------------------ fixed header */
.site-head{
  position:fixed;z-index:50;top:0;left:0;right:0;
  /* Round 10: the bar GROWS to contain the open menu (the nav
     is a static child on a wrapped second flex line), so bar
     and panel share ONE background + backdrop-filter — no
     composited seam can exist between them. Height is auto:
     the first line is 63px (.head-logo's height; its img
     centres inside) + the 1px bottom border = exactly 64px
     closed, as min-height also enforces. Side padding moved into
     logo/burger margins so the wrapped menu line spans the
     full width and its content centres on the viewport. */
  min-height:calc(64px + env(safe-area-inset-top,0px));
  padding:env(safe-area-inset-top,0px) 0 0;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 16px;
  background:rgba(8,8,8,.56);
  /* Blur 12px → 8px (Sergei, 2026-11-19: «блюр чуть
     уменьши» — the film reads a little clearer through the
     bar and the open panel). */
  /* Blur 8px → 5px and fill .66 → .56 (Sergei, 2026-11-19:
     «бар и всплывающее окно — blur чуть меньше ещё и
     затемнение тоже чуть меньше» — one surface covers both,
     so this single step lightens bar and panel together). */
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
  /* Bottom hairline removed (Sergei, 2026-11-19: «у бара
     верхнего, снизу есть серая тонкая полоска, убери её»). */
  /* The open state's drop shadow (the body:has rule below)
     fades on the menu's own .28s ease instead of snapping
     on/off at the class flip (2026-11-20, one-movement
     close — see the .mobile-menu note). */
  transition:box-shadow .28s ease;
}
/* Logo ~1.5× the old bar size (25px → 38px mobile, 42px desktop),
   proportions untouched (2048×316 lockup). */
.head-logo{display:flex;align-items:center;height:63px;margin-left:20px}
.head-logo img{height:38px;width:auto}
.site-head .burger{position:relative;top:auto;right:auto;flex:none;z-index:60;margin-right:16px}
.head-logo{position:relative;z-index:60}
@media (min-width:900px){
  .head-logo{margin-left:28px}
  .site-head .burger{margin-right:28px}
  .head-logo img{height:42px}
}
/* App Store badge. The base box below (border, dark fill) is
   its standalone look (e.g. the /app page); inside the burger
   menu the outline is stripped — see .mobile-menu .app-badge:
   same 56px row, but transparent and borderless. */
.app-badge{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin:0;padding:9px 18px;
  background:#000;border:1px solid rgba(255,255,255,.38);border-radius:10px;
  color:#fff;text-decoration:none;
}
/* Official Apple silhouette (standard App Store badge glyph),
   square box = the path's own viewBox, so it can never stretch;
   height matched to the two text lines beside it. The glyph +
   text group is centred in the button (justify-content above). */
.app-badge svg{width:27px;height:27px;fill:#fff;flex:none}
.app-badge small{
  display:block;font-size:8.5px;font-weight:400;line-height:1.15;
  letter-spacing:.03em;color:rgba(255,255,255,.85);
}
.app-badge strong{display:block;font-size:16.5px;font-weight:600;line-height:1.15;letter-spacing:.01em}
/* Hero instance (Sergei, 2026-11-06): the same badge as in the
   burger menu — borderless, glyph and text standing on the
   film — under the hero's Book button, above the chevron.
   2026-11-18 (Sergei): live here too — the real App Store
   link, centred in the hero text stack between the services
   line and the BOOK A SHOOT disc; display:flex outranks the
   global hide rule (.app-badge{display:none}) for this
   instance only, the same way the menu instance stands up. */
.hero-col .app-badge{display:flex;margin-top:30px;background:transparent;border:0;padding:0}

/* ------------------------------------- red scroll chevron
   The delivery pages' chevron (path M1.61 1.1 12 19.1 22.39 1.1,
   stroke #E8001D 1.5) with a slow bob: bright at the top of the
   travel, fading out as it sinks. */
.scroll-chev{
  position:absolute;z-index:4;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 14px);
  transform:translateX(-50%);line-height:0;padding:12px;
  filter:drop-shadow(0 1px 4px rgba(0,0,0,.35));
  -webkit-tap-highlight-color:transparent;
}
.scroll-chev svg{display:block;animation:chevBob 2.9s ease-in-out infinite}
@keyframes chevBob{
  0%{transform:translateY(0);opacity:1}
  50%{transform:translateY(10px);opacity:.08}
  100%{transform:translateY(0);opacity:1}
}

/* ------------------------------------------------------- hero */
.hero-media{position:absolute;inset:0;overflow:hidden;background:#000}
/* Hero film, native <video> since the 2026-11-05 move off
   Vimeo: the element itself is the full-bleed box — inset 0,
   100% x 100%, object-fit cover, exactly like .hero video
   above. The iframe-era cover hack that used to sit here
   (width:100vw, height:56.25vw, min-width:177.78vh,
   translate(-50%,-50%)) and the separate .hero-poster <img>
   layer are gone: with a real video element the hacked box
   no longer matched the hero (on iPhone the cover read as
   two stacked pieces at different scales — video strip over
   the vumbnail still). The still now rides as the video's
   own poster attribute, drawn inside the same box. */
.hero-vframe{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  border:0;pointer-events:none;
}
.hero-col{display:flex;flex-direction:column;align-items:center;text-align:center}
/* The headline is exactly TWO lines (Sergei, 2026-11-13): each
   half is a non-wrapping block, and the size is set in vw so the
   longer half fits the hero width on any phone — at 7.4vw each
   half wrapped again and the headline stood four lines tall. */
.lp-hero h1{
  margin:0;color:#fff;font-weight:800;letter-spacing:.01em;
  font-size:clamp(15px,4.4vw,54px);line-height:1.16;
}
.lp-hero h1 span{display:block;white-space:nowrap}
.lp-hero .hero-sub{margin-top:18px;font-size:15.5px;color:rgba(255,255,255,.78)}
.hero-line{
  margin:14px 0 0;color:rgba(255,255,255,.88);
  font-size:13px;font-weight:300;letter-spacing:.14em;
}
.v-short{display:none}
@media (max-width:759px){
  .v-full{display:none}
  .v-short{display:inline}
}
@media (min-width:760px){
  .lp-hero .hero-sub{font-size:17px}
  .hero-line{font-size:14px}
}
/* Build 181 (капля 6, Sergei 2026-11-12): the hero BOOK A SHOOT
   wears the Studio selected-button dress — a translucent red
   fill, a hair-thin red rim, a thin RED label — and is a full
   pill, rounded around the whole perimeter. Its width is set by
   site.js to the hero subtitle's own width, so the button's
   edges stand exactly on the subtitle block's edges. Scoped to
   the hero: the menu and CTA buttons keep the solid dress.
   Build 183 (капля 1, Sergei 2026-11-12): the fill turns BLACK
   (still translucent) — the red lives only in the rim and the
   label; site.js now seats the width on the subtitle's SECOND
   line alone, ending on its last letter.
   Build 184 (капля 1, Sergei 2026-11-13): the black wash
   deepens — .14 → .50 at rest, the hover in proportion
   (.22 → .65). The app wears the same .50 (av_book_button). */
/* 2026-11-13 (Sergei, parity with app build 187): the hero pill
   is retired — the hero now wears the app's BOOK A SHOOT seat
   itself: a 66px disc, one flat translucent RED tint (alpha .16
   since 2026-11-13, the app's AvTheme.accentTintAlpha) straight
   on the film (no grey
   underlay on the hero), a 1px red rim, the app's red outline
   camera (32px since 2026-11-14 — one-to-one with the app's
   build 191 BookSeat.cameraSize, Sergei; before that 26px, its
   own 1.5-weight glyph), and the red word
   under it after 12px of air. The seat is STATIC — no hover or
   pressed dress, exactly as in the app; a tap simply opens
   /book. The menu button keeps the .book-btn dress; the mid-page
   CTA wears this same disc with the word BOOK NOW (.book-disc--cta).
   Placement (Sergei, same evening): the seat stands LOW, in
   the thumb zone, as in the app — the hero's main action and
   the last thing the finger falls on; the red scroll chevron
   keeps the very bottom edge of the hero, below the seat, so
   the two never compete for the same spot. */
.book-disc{
  position:absolute;z-index:3;left:50%;transform:translateX(-50%);
  bottom:calc(env(safe-area-inset-bottom,0px) + 78px);
  display:flex;flex-direction:column;align-items:center;
  text-decoration:none;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.book-disc-face{
  width:66px;height:66px;border-radius:50%;
  border:1px solid var(--accent);
  background:rgba(232,0,29,.16);
  display:grid;place-items:center;
  box-shadow:0 3px 10px rgba(0,0,0,.10);
}
/* The mid-page CTA wears the same disc as the hero (Sergei,
   2026-11-13), only its word is BOOK NOW; it stands in flow,
   centred, where the solid .book-btn pill used to sit. */
.book-disc--cta{
  position:static;transform:none;width:max-content;margin:28px auto 0;
}
/* The burger menu wears the same disc too (Sergei, 2026-11-13),
   word BOOK A SHOOT; it stands in the menu's flex column where
   the solid pill stood, keeping the pill's 56px step down from
   CONTACTS (the App Store badge keeps its own 56px step below). */
.book-disc--menu{
  position:static;transform:none;flex:none;align-self:center;
  /* Sergei (2026-11-13): the air from CONTACTS to the top of the
     disc must equal the air from the BOOK A SHOOT word to the
     panel's bottom edge. Measured off his screenshot the two
     TEXT-edge gaps were ~67pt (above) vs ~58pt (below): the box
     gaps were both 56, but the CONTACTS text sits in a 36px row
     (~13px of row below its ink) while the word's ink nearly
     touches its line box (~3px). 47 + 13 = 60 ≈ 56 + 3 = 59 —
     equal at the ink edges his eye measures. */
  margin-top:47px;
}
.book-disc-word{
  margin-top:12px;color:var(--accent);
  font-size:13.5px;font-weight:400;letter-spacing:.12em;
  text-transform:uppercase;white-space:nowrap;
  text-shadow:0 0 6px rgba(0,0,0,.54);
}

/* --------------------------------------------------- services */
/* Round 8 addition (Sergei): the short red line that used to
   sit under the SERVICES title is gone — element and rule
   removed entirely. The title-to-sub step keeps the page's
   rhythm without it: it was 30px in total (16 + the 2px line
   + 12), the same 30px step the Selected Work title takes to
   its tabs, so the sub now carries the whole step itself. */
#services .sec-sub{margin-top:30px}
.svc-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:26px 14px;margin-top:32px;
}
.svc-card img{
  display:block;width:100%;aspect-ratio:4/3;
  object-fit:cover;
  /* Round 8 addition (Sergei), as on the old site: TOP
     corners keep the 10px rounding, BOTTOM corners are
     sharp. Services grid only — no other section's images
     are touched. */
  border-radius:10px 10px 0 0;
}
.svc-card h3{
  margin:13px 0 0;font-size:13px;font-weight:800;
  letter-spacing:.05em;text-transform:uppercase;color:#fff;
}
.svc-card p{margin:7px 0 0;color:var(--muted);font-size:12.5px;line-height:1.55}
@media (min-width:760px){
  .svc-grid{grid-template-columns:repeat(3,1fr);gap:34px 22px}
  .svc-card h3{font-size:15px}
  .svc-card p{font-size:14px}
}

/* Red separators around the clients strip. Round 9 (Sergei):
   every section junction on this page is exactly ONE hairline —
   1px, solid #E8001D, nothing grey and nothing doubled under
   or over it. The strip owns the Clients → CTA junction (its
   bottom border; the CTA's own top border is off — see .lp-cta).
   Round 13 (Sergei): the Services → Clients line is REMOVED —
   no border-top here; the strip keeps only its bottom line.
   The semi-transparent reds are gone too: over the black ground
   they painted as a dimmer, browner red, not the brand colour. */
.lp.clients{
  border-top:0;
  border-bottom:1px solid var(--accent);
  /* Brush fade (Sergei, 2026-11-06): the red hairline starts
     solid at the left edge and dissolves to nothing at the
     right — a stroke, not a rule. */
  border-image:linear-gradient(to right,var(--accent) 0%,rgba(232,0,29,0) 100%) 1;
}

/* ------------------------------------------------- work tabs */
/* Sergei: the active tab is red text over a red line.
   Round 9: that underline is a 1px hairline and the ONLY line
   under the strip — the full-width grey rule the tabs used to
   sit on is removed (see the base .tabs rule). */
/* Tabs split the full width into equal thirds, each label centred
   in its third, the red line under the active third; the strip and
   the tours grid run edge-to-edge like the old Framer page. */
.lp .tabs{
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  gap:0;
}
.lp .tab{flex:1 1 0;text-align:center}
.lp .tab[aria-selected="true"]{color:var(--accent)}
.lp .work-caption span{
  text-transform:uppercase;letter-spacing:.18em;
  font-size:11px;font-weight:400;color:rgba(255,255,255,.58);
}
/* Address line on the tour cards: light, like the old site. */
.lp .work-caption strong{letter-spacing:.01em;font-weight:400;font-size:16px}

/* Reels: vertical cards in a horizontal swipe carousel,
   two cards in frame on mobile. */
.reels-track{
  display:flex;gap:2.5px;overflow-x:auto;padding:2px 2px 10px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
/* Full-bleed like the tours grid (Sergei): the track escapes the
   section wrap and runs edge to edge — no black fields at the
   sides — and its side padding drops to zero so the first card
   sits flush with the left edge and the last card can scroll
   flush to the right edge. The gap is 2.5px (5px until
   2026-11-20, halved per Sergei); card proportions are
   untouched (flex-basis percentages now resolve against 100vw,
   the aspect-ratio keeps 9/16). */
.lp .reels-track{
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  padding-left:0;padding-right:0;
}
.reels-track::-webkit-scrollbar{display:none}
.reel-card{flex:0 0 46%;aspect-ratio:9/16;border-radius:0;scroll-snap-align:start}
.reel-card img{border-radius:0}
.reels-grid .work-card{border-radius:0}
.reel-card .work-play{width:40px;height:40px}
.reel-card .work-caption{left:10px;right:8px;bottom:10px}
@media (min-width:760px){
  .reel-card{flex-basis:23%}
}

/* Photos: uniform THREE-across grid, edge-to-edge (Sergei,
   2026-11-20). This replaces the old multicol masonry: there
   every photo kept its natural aspect ratio, the columns
   balanced to different heights and the bottom edge came out
   ragged — only the top aligned. Now every tile is the same
   4/3 box with the photo cropped to fill it (object-fit:cover),
   so every row — the last one included — starts and ends on
   one straight line, top and bottom alike. The gap is the
   halved 2.5px, same as the other two galleries. The class
   name stays .masonry: the markup and the viewer JS rely only
   on .masonry / [data-photo], not on the layout mode. */
.masonry{
  display:grid;grid-template-columns:repeat(3,1fr);gap:2.5px;line-height:0;
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
}
.masonry button{
  display:block;width:100%;aspect-ratio:4/3;overflow:hidden;
  padding:0;border:0;background:#111;cursor:pointer;margin:0;
}
.masonry img{display:block;width:100%;height:100%;object-fit:cover}

/* -------------------------------------------------------- cta */
/* Plain brand black, no video background (Sergei). Round 9
   separators: the CTA wears NO top border — the Clients →
   CTA junction's single red hairline is the clients strip's
   bottom border, and a second red line here stacked into a
   2px band. The CTA's own bottom border is the CTA → footer
   junction's single line (the footer's grey top border is
   suppressed on the landing below — red over grey was the
   exact double line Sergei flagged in the footer). */
.lp-cta{
  background:var(--bg);
  border-top:0;
  border-bottom:1px solid var(--accent);
  border-image:linear-gradient(to right,var(--accent) 0%,rgba(232,0,29,0) 100%) 1;
}
/* Landing only: the footer's grey top border sat directly
   under the CTA's red bottom border. The red hairline is the
   junction's only line, so the grey one goes. Subpage
   footers (book, app, privacy) keep their grey border —
   nothing red sits above them there. */
body.lp .site-footer{border-top:0}
.cta-in{position:relative;z-index:2;text-align:center}
/* CTA heading follows the section-heading principle (Sergei):
   centred, caps, light with wide tracking. */
.cta-in h2{
  margin:0;font-weight:300;letter-spacing:.14em;text-transform:uppercase;
  font-size:24px;line-height:1.35;color:#fff;
}
@media (min-width:760px){.cta-in h2{font-size:30px}}
.cta-in .book-btn{margin-left:auto;margin-right:auto}
.cta-sub{margin:14px 0 0;color:rgba(255,255,255,.78);font-size:15px}

/* ----------------------------------------------------- reveal */
/* Framer-style section pop-in: fade + rise, gentle stagger
   (transition-delay is assigned by site.js per sibling group). */
.reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .85s ease,transform .85s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform;
}
.reveal.in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .scroll-chev svg{animation:none}
  .reveal{opacity:1;transform:none;transition:none}
}

/* App download buttons hidden until the app is live in the
   App Store (Sergei, 2026-11-06): the markup stays in place,
   emptied of its link; at launch, delete this rule and point
   the badges at the real App Store page. The /app page is
   deleted — it was dead weight. */
.app-badge,.app-dl{display:none}

/* About + FAQ block (2026-11-20): factual local copy under the
   clients marquee, built on the section rhythm of the page. */
.about-copy{max-width:760px;margin:28px auto 0;color:var(--muted);font-size:15px;line-height:1.75}
.about-copy p{margin:0 0 14px}
.about-copy p:last-child{margin-bottom:0}
.faq-sec{padding-top:0}
.faq-list{max-width:760px;margin:36px auto 0}
.faq-item{padding:20px 0;border-top:1px solid var(--line)}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item h3{margin:0 0 8px;font-size:16.5px;font-weight:600;color:var(--text)}
.faq-item p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.7}
