@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --ink: #070B1A;
  --ink-2: #0E1430;
  --ink-3: #151C40;
  --line: rgba(255,255,255,.1);
  --alu: #C9D2DC;
  --text: #F3F5FF;
  --muted: #9AA3C7;
  --teal: #34F5C5;
  --teal-ink: #04121A;
  --violet: #7C5CFF;
  --rose: #FF6FB5;
  --aurora: linear-gradient(100deg, #34F5C5 0%, #7C5CFF 55%, #FF6FB5 100%);
  --glass: rgba(21,28,64,.55);
  --r-panel: 28px;
  --r-ctl: 14px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 68px;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -0.025em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 9vw, 3rem); line-height: 1.02; text-wrap: pretty; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
a { color: var(--text); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--muted); }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(124,92,255,.38); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--teal); color: var(--teal-ink); padding: 8px 14px; border-radius: var(--r-ctl); z-index: 200; font-weight: 600; }
.skip-link:focus { top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,11,26,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--text); letter-spacing: -0.04em; text-decoration: none; }
.logo .dot { background: linear-gradient(135deg, #34F5C5, #7C5CFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; transition: border-color .2s; }
.lang-toggle:hover { border-color: var(--muted); }
.lang-toggle [data-lang].active { color: var(--teal); font-weight: 600; }
.menu-toggle { width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--r-ctl); cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s ease, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); display: none; flex-direction: column; padding: 8px 20px 20px; }
.nav.open { display: flex; animation: menu-in .22s ease; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav a { color: var(--text); padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.nav .nav-cta { margin-top: 14px; border-bottom: 0; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: var(--r-ctl); font: inherit; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-align: center; text-decoration: none; transition: background .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--teal); color: var(--teal-ink); }
.btn-primary:hover:not(:disabled) { background: #6dffd9; box-shadow: 0 0 28px -4px rgba(52,245,197,.55); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--muted); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nav .nav-cta { color: var(--teal-ink); }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(55% 50% at 82% 30%, rgba(124,92,255,.30), transparent 70%),
  radial-gradient(50% 45% at 62% 55%, rgba(52,245,197,.20), transparent 70%),
  radial-gradient(45% 40% at 96% 70%, rgba(255,111,181,.16), transparent 70%),
  radial-gradient(60% 40% at 0% 0%, rgba(124,92,255,.10), transparent 70%); }
.hero-grid { display: flex; flex-direction: column; padding: 32px 20px 0; }
.hero-copy { position: relative; z-index: 2; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 52ch; margin-top: 20px; }
.hero-stage { position: relative; width: 100%; height: min(58svh, 112vw); min-height: 340px; margin: 4px 0 0; }
.hero-stage canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; touch-action: pan-y; }
.hero-stage canvas.ready, .hero-fallback.ready { opacity: 1; }
.hero-fallback { object-fit: contain; }
.hero-label { position: absolute; left: 0; top: 0; z-index: 3; transform: translate(-50%, -100%); margin-top: -14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--teal); background: rgba(7,11,26,.9); color: var(--text); font: 600 .85rem/1 var(--font-body); white-space: nowrap; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.hero-label.show { opacity: 1; pointer-events: auto; }

/* Sections */
.section { padding: 88px 0; }
.sec-head { max-width: 62ch; margin-bottom: 48px; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.note { color: var(--muted); font-size: .92rem; margin-top: 56px; max-width: 68ch; }

/* Services: alternating rows */
.svc { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-text h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .4em; }
.svc-text p { color: var(--muted); max-width: 46ch; }
.plain { margin-top: 20px; max-width: 46ch; }
.plain li { padding: 11px 0; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.svc-media { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); min-width: 0; }
.media-web, .media-admin { aspect-ratio: 4 / 3; }
.media-web img { position: absolute; left: 0; top: 0; width: 128%; max-width: none; height: auto; }
.media-admin img { position: absolute; left: -6%; top: -4%; width: 130%; max-width: none; height: auto; }
.media-phone { display: grid; place-items: center; padding: 36px 0; background: radial-gradient(60% 55% at 35% 75%, rgba(52,245,197,.2), transparent 70%), radial-gradient(55% 50% at 75% 30%, rgba(124,92,255,.22), transparent 70%), var(--ink-2); overflow: visible; }

/* Phones (static + video) */
.phone { position: relative; width: min(100%, 250px); aspect-ratio: 9 / 18; border-radius: 38px; padding: 9px; background: #04061a; border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(201,210,220,.14), 0 30px 60px -30px rgba(0,0,0,.8); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; margin-left: -15%; border-radius: 999px; background: #000; z-index: 3; pointer-events: none; }
.phone-static img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.video-wrap { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; background: rgba(5,7,12,.28); border: 0; color: var(--teal-ink); cursor: pointer; transition: opacity .25s; }
.play-btn svg { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: var(--teal); }

/* Video stage */
.stage-section { padding-top: 24px; }
.video-stage { background: radial-gradient(60% 70% at 25% 100%, rgba(52,245,197,.16), transparent 70%), radial-gradient(60% 70% at 80% 100%, rgba(124,92,255,.22), transparent 70%), var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 40px 0 28px; overflow: hidden; }
.video-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.video-grid::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 62%; max-width: 260px; margin: 0; scroll-snap-align: center; }
.video-card .phone { width: 100%; }
.video-card figcaption { color: var(--muted); font-size: .9rem; margin-top: 16px; text-align: center; padding: 0 6px; }

/* Portfolio */
.case { align-items: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; background: linear-gradient(135deg, var(--ink-2), #131a3d); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.case-shot { display: block; background: #000; }
.case-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.case-body { padding: 28px 24px 32px; }
.case-list dt { font-weight: 600; margin-top: 18px; }
.case-list dd { color: var(--muted); margin-bottom: 2px; }
.case .btn { margin-top: 26px; }
.soon-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
.soon { border: 1px dashed var(--line); border-radius: var(--r-panel); padding: 26px 28px; }
.soon p { color: var(--muted); margin: 0; }
.tag { display: inline-block; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 500; margin-bottom: 14px; }
.tag-teal { border-color: var(--teal); color: var(--teal); }
.price-col .tag { position: absolute; top: -14px; left: 28px; background: var(--ink); margin: 0; z-index: 2; }

/* Prices */
.price-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.price-col { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-panel); min-width: 0; }
.price-col .plain { flex: 1; margin-bottom: 28px; }
.price-col.featured { background: linear-gradient(160deg, rgba(52,245,197,.08), rgba(124,92,255,.14) 55%, rgba(255,111,181,.08)), var(--ink-3); border-color: transparent; box-shadow: 0 30px 80px -40px rgba(124,92,255,.7); }
.price-col.featured::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: conic-gradient(from var(--ang), #34F5C5, #7C5CFF, #FF6FB5, #7C5CFF, #34F5C5); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin-border 7s linear infinite; pointer-events: none; }
@keyframes spin-border { to { --ang: 360deg; } }
.price-line { color: var(--muted); margin-bottom: 8px; }
.price { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--text); white-space: nowrap; background: var(--aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Booking */
.booking-layout { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.panel { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px 22px; min-width: 0; }
.booking { max-width: 760px; }
.booking h3 { font-size: 1.5rem; margin-bottom: 18px; }
.booking-progress { display: flex; gap: 8px; margin-bottom: 30px; }
.booking-progress li { flex: 1; font-size: .8rem; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); min-width: 0; overflow-wrap: anywhere; transition: border-color .3s, color .3s; }
.booking-progress li.active { color: var(--teal); border-top-color: var(--teal); }
.booking-progress li.done { border-top-color: rgba(52,245,197,.4); color: var(--text); }
[hidden] { display: none !important; }
.service-options { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.service-option { background: var(--ink); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 16px 18px; font: inherit; font-weight: 600; text-align: left; cursor: pointer; min-height: 58px; transition: border-color .2s, background .2s; }
.service-option:hover { border-color: var(--muted); }
.service-option.selected, .service-option[aria-pressed="true"] { border-color: var(--teal); background: rgba(52,245,197,.09); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 20px; }
.slot { background: var(--ink); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 10px 6px; font: inherit; cursor: pointer; min-height: 46px; transition: border-color .2s; }
.slot:hover:not(:disabled) { border-color: var(--muted); }
.slot.selected, .slot[aria-pressed="true"] { background: var(--teal); color: var(--teal-ink); border-color: var(--teal); font-weight: 600; }
.slot:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slots-empty { grid-column: 1 / -1; color: var(--muted); margin: 0; }
.booking-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 22px; }
.booking-nav .btn { flex: 1 1 140px; }
.booking-summary { color: var(--text); font-weight: 600; }
.booking-status { color: var(--muted); margin-bottom: 12px; }
.booking-error, .field-msg { color: #ff9b8c; background: rgba(255,90,70,.08); border: 1px solid rgba(255,90,70,.3); border-radius: var(--r-ctl); padding: 10px 14px; margin: 12px 0; }
.field-msg { margin: 8px 0 16px; }

/* Forms */
.field-label { display: block; font-size: .92rem; font-weight: 500; margin: 16px 0 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], textarea {
  width: 100%; max-width: 100%; background: var(--ink); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 14px; font: inherit; min-height: 50px; color-scheme: dark;
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.contact-form .btn { margin-top: 24px; width: 100%; }
.contact-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.contact-side p { color: var(--muted); }
.contact-side a { color: var(--text); }
.socials { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.socials a { color: var(--text); display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: var(--r-ctl); }
.socials a:hover { color: var(--teal); }

/* About */
.about { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.avatar { width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2b3470, var(--ink-2)); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--alu); }
.about-text p { color: var(--muted); max-width: 56ch; font-size: 1.1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; }
.site-footer p { margin: 0 0 6px; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.site-footer .socials a { color: var(--muted); min-height: 36px; min-width: 0; padding: 0 10px 0 0; }
.site-footer .socials a:hover { color: var(--text); }
.center-page { padding-top: 96px; padding-bottom: 96px; min-height: 60svh; }

@media (min-width: 720px) {
  .service-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 40px; }
  .video-card { flex-basis: 220px; }
  .about { grid-template-columns: 112px minmax(0, 1fr); gap: 40px; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 26px; padding: 0; border: 0; background: none; animation: none; }
  .nav a { padding: 0; border: 0; color: var(--muted); font-size: .96rem; transition: color .2s; }
  .nav a:hover { color: var(--text); }
  .nav .nav-cta { margin: 0; color: var(--teal-ink); padding: 8px 18px; }
  .section { padding: 120px 0; }
  .sec-head { margin-bottom: 64px; }

  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero-grid { width: 100%; flex-direction: row; align-items: center; padding: 0 0 0 max(24px, calc((100vw - 1180px) / 2 + 20px)); gap: 0; }
  h1 { font-size: clamp(2.5rem, 3.3vw, 3.1rem); }
  .hero-copy { flex: 0 0 min(47%, 660px); padding: 56px 40px 56px 0; }
  .hero-stage { flex: 1 1 0; min-width: 0; height: min(74svh, 700px); margin: 0; }
  .lead { font-size: 1.2rem; }

  .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; padding: 72px 0; }
  .svc-flip .svc-text { order: 2; }
  .svc-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .media-phone { padding: 56px 0; }

  .video-stage { padding: 64px 40px 44px; }
  .video-grid { display: grid; grid-template-columns: repeat(3, 220px); justify-content: center; gap: 56px; overflow: visible; padding: 0; }
  .video-card { max-width: none; flex: none; }
  .video-card:nth-child(2) { transform: translateY(-28px); }

  .case { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .case-body { padding: 48px; align-self: center; }

  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .price-col { padding: 40px 32px; }
  .price-col.featured { padding: 48px 32px; margin-top: -16px; margin-bottom: -16px; }

  .booking-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .booking-layout .sec-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .site-footer p { margin: 0; }
}

@media (min-width: 1500px) {
  h1 { font-size: 3.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Phase 3: 3D accents ---------- */
/* Pointer tilt (fine pointers only; JS removes data-tilt otherwise) */
[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
[data-tilt].tilting { transition: transform .12s linear; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.17), rgba(124,92,255,.08) 35%, transparent 60%); opacity: var(--go, 0); transition: opacity .3s; pointer-events: none; }
.price-col h3, .price-col .price-line, .price-col .btn, .media-phone .phone { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.price-col.tilting h3 { transform: translateZ(26px); }
.price-col.tilting .price-line { transform: translateZ(46px); }
.price-col.tilting .btn { transform: translateZ(30px); }
.media-phone.tilting .phone { transform: translateZ(54px); }
.price-col { background: rgba(21,28,64,.78); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Soft section glows */
#portfolio, #booking, #om, #priser { position: relative; isolation: isolate; overflow: clip; }
#portfolio::before, #booking::before, #om::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 70%; height: 70%; filter: blur(30px); opacity: .55; }
#portfolio::before { left: -20%; top: 5%; background: radial-gradient(closest-side, rgba(124,92,255,.16), transparent); }
#booking::before { right: -15%; top: 10%; background: radial-gradient(closest-side, rgba(52,245,197,.12), transparent); }
#om::before { left: 20%; top: 0; background: radial-gradient(closest-side, rgba(255,111,181,.10), transparent); }

/* Video coverflow */
.video-grid.cf-on { display: block; position: relative; height: 500px; overflow: visible; padding: 0; perspective: 1400px; perspective-origin: 50% 35%; touch-action: pan-y; user-select: none; cursor: grab; border-radius: var(--r-panel); }
.video-grid.cf-on:focus-visible { outline-offset: 10px; }
.cf-on .video-card, .cf-on .video-card:nth-child(2) { position: absolute; left: 50%; top: 0; width: 210px; max-width: none; margin: 0 0 0 -105px; transform: translateX(calc(var(--o, 0) * 66%)) translateZ(calc(var(--a, 0) * -150px)) rotateY(calc(var(--c, 0) * -38deg)); transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .4s, filter .4s; opacity: calc(1 - var(--a, 0) * .3); filter: brightness(calc(1 - var(--a, 0) * .4)); scroll-snap-align: none; }
.cf-on .video-card.is-active .phone { border-color: rgba(52,245,197,.5); box-shadow: inset 0 0 0 1px rgba(201,210,220,.14), 0 0 0 1px rgba(52,245,197,.25), 0 40px 90px -24px rgba(124,92,255,.75), 0 0 60px -10px rgba(52,245,197,.35); }
.cf-on .video-card figcaption { opacity: calc(1 - var(--a, 0)); transition: opacity .4s; }
.cf-on .video-card:not(.is-active) { cursor: pointer; }
@media (min-width: 720px) {
  .video-grid.cf-on { height: 560px; }
  .cf-on .video-card, .cf-on .video-card:nth-child(2) { width: 250px; margin-left: -125px; }
}

/* Floating glass shapes (pure CSS) */
.has-shapes { position: relative; overflow: clip; }
.has-shapes > .container { position: relative; z-index: 1; }
.glass-shape { position: absolute; z-index: 0; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; animation-play-state: paused; }
.in-view > .glass-shape { animation-play-state: running; will-change: transform; }
.gs-sphere { width: 150px; height: 150px; right: -30px; top: 70px; border-radius: 50%; opacity: .8; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), rgba(52,245,197,.38) 20%, rgba(124,92,255,.32) 55%, rgba(124,92,255,.05) 78%); box-shadow: inset -12px -16px 36px rgba(7,11,26,.5), 0 30px 70px -30px rgba(124,92,255,.7); }
.gs-ring { width: 190px; height: 190px; left: -70px; bottom: 60px; border-radius: 50%; opacity: .55; background: conic-gradient(from 200deg, #34F5C5, #7C5CFF, #FF6FB5, #7C5CFF, #34F5C5); -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%, #000 99%, transparent 100%); mask: radial-gradient(circle, transparent 56%, #000 57%, #000 99%, transparent 100%); animation-name: drift-ring; animation-duration: 22s; }
.gs-cube { width: 90px; height: 90px; right: 5%; top: 56px; transform-style: preserve-3d; animation-name: drift-cube; animation-duration: 20s; }
.gs-cube i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.34); border-radius: 14px; background: linear-gradient(135deg, rgba(52,245,197,.28), rgba(124,92,255,.2) 60%, rgba(255,111,181,.22)); }
.gs-cube i:nth-child(1) { transform: translateZ(45px); }
.gs-cube i:nth-child(2) { transform: rotateY(90deg) translateZ(45px); background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(255,111,181,.18)); }
.gs-cube i:nth-child(3) { transform: rotateX(90deg) translateZ(45px); background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(52,245,197,.2)); }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-14px, 26px, 0); } }
@keyframes drift-ring { from { transform: perspective(700px) translate3d(0, 0, 0) rotateX(62deg) rotateZ(0deg); } to { transform: perspective(700px) translate3d(18px, -22px, 0) rotateX(62deg) rotateZ(90deg); } }
@keyframes drift-cube { from { transform: perspective(1200px) translate3d(0, 0, 0) rotateX(-24deg) rotateY(30deg); } to { transform: perspective(1200px) translate3d(-12px, 22px, 0) rotateX(-20deg) rotateY(58deg); } }
@media (min-width: 900px) {
  .gs-sphere { width: 230px; height: 230px; right: 2%; top: 60px; }
  .gs-ring { width: 300px; height: 300px; left: -100px; bottom: 40px; }
  .gs-cube { width: 120px; height: 120px; right: 8%; top: 80px; }
  .gs-cube i:nth-child(1) { transform: translateZ(60px); }
  .gs-cube i:nth-child(2) { transform: rotateY(90deg) translateZ(60px); }
  .gs-cube i:nth-child(3) { transform: rotateX(90deg) translateZ(60px); }
}
@media (prefers-reduced-motion: reduce) {
  .glass-shape { animation: none !important; will-change: auto !important; }
  [data-tilt] { transform: none; }
}

/* ---------- Phase 3: conversion sections ---------- */
:root { interpolate-size: allow-keywords; }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(52,245,197,.05), rgba(124,92,255,.07), rgba(255,111,181,.05)); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-top: 20px; padding-bottom: 20px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .95rem; line-height: 1.3; }
.trust-list svg { flex: none; color: var(--teal); }

/* Process steps: extruded 3D tiles */
.steps { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); perspective: 1100px; }
.step { position: relative; padding: 28px 24px 30px; border-radius: 22px; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 5px 0 -1px #0a0f26, 0 6px 0 -1px rgba(255,255,255,.08), 0 10px 0 -3px #070b1a, 0 26px 36px -20px rgba(0,0,0,.75);
  transform-style: preserve-3d; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.step h3 { margin-bottom: .35em; font-size: 1.3rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 20px; font: 800 1.25rem/1 var(--font-display); border: 1px solid; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.step-1 .step-n { color: var(--teal); border-color: rgba(52,245,197,.6); background: rgba(52,245,197,.12); }
.step-2 .step-n { color: #b4a2ff; border-color: rgba(124,92,255,.7); background: rgba(124,92,255,.16); }
.step-3 .step-n { color: var(--rose); border-color: rgba(255,111,181,.6); background: rgba(255,111,181,.12); }
.step-4 .step-n { color: var(--teal-ink); border-color: transparent; background: var(--aurora); }
@media (hover: hover) {
  .step:hover { transform: translateY(-8px) rotateX(5deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 9px 0 -1px #0a0f26, 0 10px 0 -1px rgba(255,255,255,.1), 0 15px 0 -3px #070b1a, 0 44px 50px -22px rgba(124,92,255,.55); }
  .step:hover .step-n { transform: translateZ(34px); }
}

/* Calculator */
.calc { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.calc-form { display: grid; gap: 22px; padding: 26px 22px; border-radius: var(--r-panel); background: var(--glass); border: 1px solid var(--line); min-width: 0; }
.calc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-group legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.calc-opts { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.opt, .seg-opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: rgba(7,11,26,.55); cursor: pointer; transition: border-color .2s, background .2s; min-height: 56px; }
.opt:hover, .seg-opt:hover { border-color: rgba(255,255,255,.28); }
.opt:has(input:checked), .seg-opt:has(input:checked) { border-color: var(--teal); background: rgba(52,245,197,.09); }
.opt input[type="checkbox"] { flex: none; width: 22px; height: 22px; accent-color: var(--teal); margin: 0; cursor: pointer; }
.opt-body { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; min-width: 0; }
.opt-t { font-weight: 600; }
.opt-p { color: var(--muted); font-size: .9rem; font-style: normal; white-space: nowrap; }
.seg { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.seg-opt { justify-content: space-between; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt > span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; width: 100%; font-weight: 600; }
.seg-opt:focus-within, .opt:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(124,92,255,.38); }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px 4px 0; transition: opacity .25s; }
.range-row.off { opacity: .45; }
.range-row label { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.range-row output { font: 800 1.4rem/1 var(--font-display); min-width: 2ch; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--violet) var(--fill, 0%), rgba(255,255,255,.14) var(--fill, 0%)); outline-offset: 8px; cursor: pointer; margin: 10px 0; }
input[type="range"]:disabled { cursor: not-allowed; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(124,92,255,.5), 0 4px 12px rgba(0,0,0,.5); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(124,92,255,.5), 0 4px 12px rgba(0,0,0,.5); }
.calc-result { position: relative; padding: 30px 26px; border-radius: var(--r-panel); background: linear-gradient(160deg, rgba(52,245,197,.08), rgba(124,92,255,.15) 55%, rgba(255,111,181,.08)), var(--ink-3); box-shadow: 0 30px 80px -40px rgba(124,92,255,.7); min-width: 0; }
.calc-result::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: var(--aurora); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; opacity: .8; }
.calc-label { color: var(--muted); margin: 0 0 4px; }
.calc-total { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.calc-total .price { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.calc-excl { color: var(--muted); font-size: .88rem; margin: 2px 0 18px; }
.calc-lines { margin: 0 0 20px; }
.calc-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .94rem; color: var(--text); }
.calc-lines li span:last-child { color: var(--muted); white-space: nowrap; }
.calc-empty { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }
.calc-result .btn { width: 100%; }

/* FAQ */
.faq-layout { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font: 700 1.15rem/1.3 var(--font-display); letter-spacing: -0.01em; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal); }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-ic { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: border-color .3s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .35s; }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic { border-color: var(--teal); color: var(--teal); }
.faq-item[open] .faq-ic::after { transform: rotate(0deg); }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .4s cubic-bezier(.2,.7,.2,1), content-visibility .4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding: 0 48px 24px 4px; color: var(--muted); }
.faq-a p { margin: 0; max-width: 62ch; }
.faq-item[open] .faq-a { animation: faq-in .45s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Booking extras */
.avail { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-weight: 500; font-size: .95rem; }
.avail strong { color: var(--teal); font-size: 1.1rem; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.booking-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border-radius: 999px; background: rgba(124,92,255,.18); border: 1px solid rgba(124,92,255,.55); font-size: .9rem; font-weight: 600; }
.chip-x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.chip-x:hover { background: rgba(255,255,255,.14); }

/* Portfolio: 3D mockup case */
.case-shot { position: relative; display: block; padding: 40px 34px 56px; overflow: hidden; background: radial-gradient(70% 70% at 35% 35%, rgba(124,92,255,.38), transparent 70%), radial-gradient(50% 50% at 85% 85%, rgba(52,245,197,.22), transparent 70%), #080c20; }
.mock { position: relative; width: min(100%, 560px); margin: 0 auto; transform: perspective(1400px) rotateX(var(--rx, 5deg)) rotateY(var(--ry, -15deg)); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mock.tilting { transition: transform .12s linear; }
.mock::after { display: none; }
.mock-laptop { transform-style: preserve-3d; }
.mock-lid { padding: 9px; border-radius: 16px; background: #04060f; border: 3px solid #b8bfcb; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 40px 60px -30px rgba(0,0,0,.8); }
.mock-lid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 6px; display: block; }
.mock-base { position: relative; height: 15px; margin: 0 -6%; border-radius: 3px 3px 22px 22px / 3px 3px 14px 14px; background: linear-gradient(#d4d9e2, #8e96a4); box-shadow: 0 34px 40px -12px rgba(0,0,0,.65); }
.mock-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; margin-left: -8%; border-radius: 0 0 8px 8px; background: rgba(0,0,0,.28); }
.mock-phone { position: absolute; right: -6%; bottom: -14%; width: 25%; aspect-ratio: 9 / 18; padding: 4px; border-radius: 18px; background: #04061a; border: 2px solid #c3cad6; transform: translateZ(80px) rotateY(-6deg); box-shadow: 0 30px 40px -16px rgba(0,0,0,.8), 0 0 40px -6px rgba(52,245,197,.35); }
.mock-phone img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 14% 0; border-radius: 13px; display: block; }
.chips-label { color: var(--muted); font-size: .88rem; margin: 18px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 14px; border-radius: 999px; border: 1px solid rgba(52,245,197,.45); color: var(--teal); font-size: .88rem; font-weight: 500; }
.soon-cta { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px 28px; border-radius: var(--r-panel); border: 1px dashed rgba(255,255,255,.26); background: linear-gradient(120deg, rgba(52,245,197,.10), rgba(124,92,255,.15) 55%, rgba(255,111,181,.10)); }
.soon-cta h3 { margin-bottom: .25em; font-size: 1.6rem; }
.soon-cta p { color: var(--muted); margin: 0; max-width: 52ch; }
.testimonial { margin: 28px 0 0; }

/* Sticky action bar (mobile) and floating pill (desktop) */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7,11,26,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility .35s; }
.action-bar.show { transform: none; visibility: visible; }
.action-bar .btn { min-height: 46px; padding: 8px 14px; font-size: .95rem; gap: 8px; }
.action-bar .btn-primary { flex: 1 1 auto; }
.fab { display: none; position: fixed; right: 24px; bottom: 24px; z-index: 90; align-items: center; min-height: 52px; padding: 12px 26px; border-radius: 999px; background: var(--teal); color: var(--teal-ink); font-weight: 600; text-decoration: none; box-shadow: 0 10px 40px -8px rgba(52,245,197,.55), 0 0 0 5px rgba(124,92,255,.25); opacity: 0; transform: translateY(18px); visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.fab.show { opacity: 1; transform: none; visibility: visible; }
.fab:hover { background: #6dffd9; }
@media (max-width: 767px) { .site-footer { padding-bottom: 96px; } }

/* Video play button: bottom-right, hidden while playing */
.play-btn { place-items: end end; padding: 0 16px 18px; background: rgba(5,7,12,.1); }
.play-btn svg { width: 52px; height: 52px; padding: 15px; box-shadow: 0 8px 24px -6px rgba(0,0,0,.6); transition: opacity .25s; }
.video-wrap.playing .play-btn { background: transparent; }
.video-wrap.playing .play-btn svg { opacity: 0; }
.video-wrap.playing .play-btn:focus-visible svg { opacity: 1; }

@media (min-width: 560px) {
  .seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .soon-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 34px 40px; }
  .calc-form { padding: 34px; }
  .calc-result { padding: 36px 34px; }
}
@media (min-width: 768px) { .action-bar { display: none; } .fab { display: inline-flex; } }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .trust-list li { justify-content: center; padding: 6px 12px; border-left: 1px solid var(--line); }
  .trust-list li:first-child { border-left: 0; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
  .calc-result { position: sticky; top: calc(var(--header-h) + 28px); }
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .faq-layout .sec-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
  .case-shot { padding: 56px 48px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; }
  .step:hover { transform: none; }
}

/* Critique round 1 fixes */
.case { align-items: stretch; }
.case-shot { display: grid; place-items: center; }
.mock-phone { bottom: -8%; }
.mock-phone img { object-position: 3% 0; }
.seg-opt > span { flex-direction: column; justify-content: center; gap: 2px; }

/* Critique round 2 fixes */
.seg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg-opt { padding: 12px; min-height: 64px; }
.seg-opt > span { font-size: .94rem; }
.seg-opt .opt-p { font-size: .8rem; }
