/* =========================================================
   LOUAHEB DIGITAL SERVICES — shared styles for every page
   Change colors and fonts here, the whole site follows.
   ========================================================= */
:root {
  --bg: #0E1A14;        /* page background */
  --bg-deep: #0A140F;   /* darker bands */
  --surface: #13241B;   /* cards */
  --line: #24402F;      /* borders */
  --text: #DCEBE1;      /* main text */
  --muted: #9DB8A8;     /* softer text */
  --mint: #8FC7A6;      /* brand accent */
  --ink: #0E1A14;       /* text on mint */

  --code-comment: #7E9D8B;
  --code-string: #E6C88F;
  --code-func: #B9D7F0;

  --font: 'Jost', 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;

  color-scheme: dark;
}

/* ---------- Basics ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
a { color: var(--mint); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: 96px; position: relative; }
.band { background: var(--bg-deep); border-block: 1px solid var(--line); }

.label { font-family: var(--mono); font-size: 13px; color: var(--mint); letter-spacing: 1px; }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; margin-top: 10px; }
.section-head p { margin: 0; color: var(--muted); max-width: 460px; }
.section-head .more-link { justify-self: end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--mint); cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.btn-full { background: var(--mint); color: var(--ink); }
.btn-empty { color: var(--mint); background: transparent; }
.btn:hover { transform: translateY(-3px); }
.btn-empty:hover { background: var(--mint); color: var(--ink); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.text-link { font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Cursor effects ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,199,166,0.09), transparent 65%);
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s;
}
.bit {
  position: fixed; pointer-events: none; z-index: 60;
  font-family: var(--mono); font-size: 13px; color: var(--mint); white-space: nowrap;
  animation: bit-fly .9s ease-out forwards;
}
@keyframes bit-fly {
  from { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0;  transform: translate(calc(-50% + var(--dx)), -260%) scale(.8); }
}

/* ---------- Top announcement bar ---------- */
.topbar {
  position: relative; overflow: hidden;
  background: var(--mint); color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar-row { display: flex; align-items: center; gap: 16px; height: 44px; }
.topbar .lang {
  flex-shrink: 0; font-family: var(--mono); font-size: 12px; font-weight: 500;
  border: 1.5px solid rgba(14,26,20,0.45); border-radius: 999px; padding: 4px 12px;
}
.topbar .ticker { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.topbar .ticker .run { display: flex; width: max-content; animation: slide 38s linear infinite; }
.topbar:hover .ticker .run { animation-play-state: paused; }
.topbar .ticker span { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; white-space: nowrap; padding-right: 36px; }
.topbar .ticker span::after { content: "·"; margin-left: 36px; }
.topbar .ticker a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.topbar .call { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.topbar .call svg { width: 16px; height: 16px; }
/* floating code pieces, like confetti */
.topbar .confetti { position: absolute; inset: 0; pointer-events: none; }
.topbar .confetti i {
  position: absolute; top: -20px; font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: rgba(14,26,20,0.35); animation: drift linear infinite;
}
@keyframes drift {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(80px) rotate(160deg); opacity: 0; }
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 26, 20, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-block: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); justify-self: start; }
.logo svg { width: 42px; height: 42px; flex-shrink: 0; color: var(--mint); }
.logo-name { font-size: 22px; font-weight: 600; letter-spacing: 2px; line-height: 1; }
.logo-sub { font-size: 8.5px; font-weight: 500; letter-spacing: 4.6px; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 4px; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a.link {
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; position: relative; transition: color .2s;
}
.site-nav a.link::after { content: ""; position: absolute; left: 0; bottom: -8px; height: 1.5px; width: 0; background: var(--mint); transition: width .25s; }
.site-nav a.link:hover, .site-nav a.link[aria-current="page"] { color: var(--mint); }
.site-nav a.link:hover::after, .site-nav a.link[aria-current="page"]::after { width: 100%; }
.site-nav .mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); border: 1px solid transparent; transition: border-color .2s, color .2s;
}
.icon-btn:hover { color: var(--mint); border-color: var(--line); }
.icon-btn svg { width: 22px; height: 22px; }
.header-actions .btn { padding: 11px 18px; font-size: 13px; margin-left: 8px; }

.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .2s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 88px 96px; --hx: 75%; --hy: 45%; }
.code-bg { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.code-bg pre { position: absolute; inset: -20px; margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-all; }
.code-bg .dim { color: rgba(143, 199, 166, 0.05); }
.code-bg .lit {
  color: rgba(143, 199, 166, 0.5);
  -webkit-mask-image: radial-gradient(240px circle at var(--hx) var(--hy), #000 0%, transparent 75%);
          mask-image: radial-gradient(240px circle at var(--hx) var(--hy), #000 0%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 7px 14px; background: var(--bg); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143,199,166,.6); } 100% { box-shadow: 0 0 0 10px rgba(143,199,166,0); } }
.hero h1 { font-size: clamp(38px, 6.2vw, 76px); font-weight: 600; letter-spacing: -0.5px; margin: 26px 0 24px; }
.hero h1 .rot-line { display: block; color: var(--mint); white-space: nowrap; min-height: 1.1em; }
.hero h1 .rot { display: inline-block; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s; }
.hero h1 .rot.out { transform: translateY(-45%); opacity: 0; }
.hero h1 .rot.pre { transform: translateY(45%); opacity: 0; transition: none; }
.hero h1 .rot-line { overflow: hidden; padding-bottom: .08em; }
@keyframes blink { 50% { opacity: 0; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 34px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-langs { margin-top: 30px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.editor { background: var(--bg-deep); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: float 6s ease-in-out infinite alternate; min-width: 0; }
@keyframes float { to { transform: translateY(-12px); } }
.editor-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.editor-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.editor-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.editor-code { padding: 20px 18px 26px; font-family: var(--mono); font-size: 14px; line-height: 1.85; min-height: 300px; counter-reset: ln; overflow-x: auto; }
.editor-code .ln { display: block; white-space: pre; min-height: 1.85em; }
.editor-code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 26px; margin-right: 14px; color: var(--line); text-align: right; }
.editor-code .c { color: var(--code-comment); }
.editor-code .k { color: var(--mint); }
.editor-code .s, .editor-code .n { color: var(--code-string); }
.editor-code .f { color: var(--code-func); }
.editor-code .caret { display: inline-block; width: 8px; height: 1.1em; background: var(--mint); vertical-align: -0.2em; animation: blink 1s steps(1) infinite; }
.editor-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 10px 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.editor-foot b { color: var(--mint); font-weight: 500; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: 80px 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .path { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.page-hero .path a { color: var(--muted); text-decoration: none; }
.page-hero .path a:hover { color: var(--mint); }
.page-hero h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 600; letter-spacing: -1px; margin: 18px 0 18px; max-width: 900px; }
.page-hero h1 em { font-style: normal; color: var(--mint); }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0; }
.page-hero .big-letter {
  position: absolute; right: -2%; bottom: -12%;
  font-size: clamp(160px, 26vw, 360px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; user-select: none;
}

/* ---------- Moving strips ---------- */
.marquee { overflow: hidden; background: var(--mint); color: var(--ink); padding-block: 18px; position: relative; z-index: 2; }
.track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 15px; font-weight: 600; letter-spacing: 4px; white-space: nowrap; }
.track span::after { content: ""; width: 8px; height: 8px; background: currentColor; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee.greet { background: var(--bg-deep); color: var(--mint); padding-block: 34px; border-block: 1px solid var(--line); }
.marquee.greet .track { animation-direction: reverse; animation-duration: 40s; }
.marquee.greet span { font-size: clamp(40px, 7vw, 84px); font-weight: 600; letter-spacing: 2px; color: transparent; -webkit-text-stroke: 1.5px var(--mint); gap: 40px; padding-right: 40px; }
.marquee.greet span.solid { color: var(--mint); -webkit-text-stroke: 0; }
.marquee.greet span::after { width: 12px; height: 12px; background: var(--mint); }

/* ---------- Glow cards ---------- */
.glow-card {
  --mx: 50%; --my: 50%;
  position: relative;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(143,199,166,0.12), transparent 60%), var(--surface);
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.glow-card:hover { border-color: var(--mint); transform: translateY(-4px); }

/* ---------- Services ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { padding: 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; text-decoration: none; color: var(--text); }
.service.wide { grid-column: span 2; }
.service.full { grid-column: span 3; flex-direction: row; align-items: center; gap: 28px; }
.service .tagname { font-family: var(--mono); font-size: 13px; color: var(--mint); }
.service h3 { font-size: 26px; font-weight: 600; }
.service p { margin: 0; color: var(--muted); }
.service .icon { width: 40px; height: 40px; color: var(--mint); flex-shrink: 0; }
.service .more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mint); }
.mini-browser { margin-top: 8px; border: 1px solid var(--line); background: var(--bg-deep); }
.mini-browser .bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mini-browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mini-browser .page { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 16px; }
.mini-browser .line { height: 9px; background: var(--line); margin-bottom: 9px; }
.mini-browser .line.mint { background: var(--mint); width: 70%; height: 14px; }
.mini-browser .line.short { width: 45%; }
.mini-browser .box { background: var(--line); min-height: 70px; }
.mini-browser .line.grow { animation: grow 3s ease-in-out infinite alternate; }
@keyframes grow { from { width: 30%; } to { width: 90%; } }

/* Service detail rows (services page) */
.detail { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; padding-block: 48px; border-top: 1px solid var(--line); align-items: start; }
.detail:last-child { border-bottom: 1px solid var(--line); }
.detail .num { font-family: var(--mono); color: var(--mint); font-size: 14px; padding-top: 10px; }
.detail h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; }
.detail .intro { color: var(--muted); margin: 14px 0 22px; }
.detail .from { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.detail .from b { display: block; font-family: var(--font); font-size: 30px; color: var(--text); font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }

/* ---------- Why / steps ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why div { padding: 26px; }
.why b { display: block; font-size: 20px; font-weight: 600; margin: 12px 0 6px; }
.why p { margin: 0; color: var(--muted); font-size: 15.5px; }
.why svg { width: 30px; height: 30px; color: var(--mint); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 30px 26px 10px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--mint); transition: width .6s ease; }
.step:hover::before { width: 90%; }
.step .num { font-family: var(--mono); font-size: 14px; color: var(--mint); }
.step h3 { font-size: 24px; font-weight: 600; margin: 14px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Work cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { font-family: var(--mono); font-size: 13px; background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 8px 14px; cursor: pointer; }
.filter:hover { color: var(--text); }
.filter[aria-pressed="true"] { background: var(--mint); color: var(--ink); border-color: var(--mint); }

.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.work-grid .project-card { grid-column: span 2; }
.work-grid .project-card:first-child { grid-column: span 6; }
.work-grid .project-card:first-child .shots { aspect-ratio: 16 / 8; }
.project-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); overflow: hidden; }
.project-card .shots { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.project-card .shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s, transform .6s; }
.project-card .shots .after { opacity: 0; }
.project-card:hover .shots .after, .project-card:focus-visible .shots .after { opacity: 1; }
.project-card:hover .shots img { transform: scale(1.02); }
.project-card .flag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--mono); font-size: 12px; background: rgba(10,20,15,0.85); color: var(--text); padding: 5px 10px; transition: background .3s, color .3s; }
.project-card .flag .a { display: none; }
.project-card:hover .flag { background: var(--mint); color: var(--ink); }
.project-card:hover .flag .b { display: none; }
.project-card:hover .flag .a { display: inline; }
.project-card .info { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.project-card .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.project-card h3 { font-size: 30px; font-weight: 600; }
.project-card p { margin: 0; color: var(--muted); }
.project-card .go { color: var(--mint); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 12px; color: var(--mint); border: 1px solid var(--line); padding: 4px 10px; }
.chip.concept { color: var(--code-string); border-color: rgba(230,200,143,0.35); }

/* ---------- Before / after slider ---------- */
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border: 1px solid var(--line); background: var(--bg-deep); user-select: none; }
.compare .layer { position: absolute; inset: 0; }
.compare .layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--mint); pointer-events: none; }
.compare .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: var(--mint); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.compare .badge { position: absolute; top: 14px; z-index: 2; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; background: rgba(10,20,15,0.85); color: var(--text); padding: 5px 10px; pointer-events: none; }
.compare .badge.b { left: 14px; }
.compare .badge.a { right: 14px; background: var(--mint); color: var(--ink); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare input:focus-visible ~ .handle::after { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Case study page ---------- */
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 40px; }
.case-meta div { padding: 18px 20px; border-right: 1px solid var(--line); }
.case-meta div:last-child { border-right: 0; }
.case-meta small { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.case-meta b { font-weight: 500; }
.case-media { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.phone { border: 1px solid var(--line); border-radius: 30px; padding: 10px; background: var(--bg-deep); }
.phone img { border-radius: 22px; width: 100%; }
.phone-cap { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.open-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.versus > div { padding: 30px; }
.versus h3 { font-size: 22px; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.versus h3 small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.crosses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--muted); }
.crosses li { position: relative; padding-left: 26px; }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 1.5px; background: #C98A7E; transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.versus .before-box { background: var(--bg-deep); border: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 26px; }
.feature .tagname { font-family: var(--mono); font-size: 12px; color: var(--mint); }
.feature h4 { font-size: 20px; font-weight: 600; margin: 10px 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.next-case { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 34px; text-decoration: none; color: var(--text); }
.next-case small { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.next-case b { display: block; font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
.next-case .arrow { font-size: 40px; color: var(--mint); transition: transform .2s; }
.next-case:hover .arrow { transform: translateX(8px); }
.note-line { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- Prices ---------- */
.tabs-wrap { overflow-x: auto; margin-bottom: 30px; }
.tabs { display: flex; gap: 8px; width: max-content; border: 1px solid var(--line); padding: 6px; background: var(--bg); }
.tab { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); background: transparent; border: 0; padding: 11px 18px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--mint); color: var(--ink); font-weight: 600; }
.panel { animation: panel-in .45s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card.best { border-color: var(--mint); }
.tag { position: absolute; top: -1px; right: -1px; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; padding: 5px 10px; }
.card h4 { font-size: 15px; font-weight: 600; letter-spacing: 3px; color: var(--mint); }
.price { font-size: 46px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 1px; }
.meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.4; }
.list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--mint); }
.bundle { margin-top: 16px; padding: 32px; display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 32px; align-items: start; }
.bundle.mint { background: var(--mint); color: var(--ink); border: 0; }
.bundle.mint .meta, .bundle.mint .price small { color: var(--ink); opacity: .75; }
.bundle.mint .list li::before { background: var(--ink); }
.bundle .bname { font-size: 40px; font-weight: 600; letter-spacing: 6px; line-height: 1; }
.bundle .bnote { font-family: var(--mono); font-size: 12.5px; margin-top: 10px; }
.menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.menu-cols h4 { font-size: 15px; letter-spacing: 3px; color: var(--mint); border-bottom: 1px solid var(--mint); padding-bottom: 10px; margin-bottom: 4px; }
.menu-cols h4.space { margin-top: 34px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; transition: padding .2s, color .2s; }
.row:hover { padding-left: 8px; color: var(--mint); }
.row b { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.good-to-know { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.good-to-know div { border-top: 2px solid var(--mint); padding-top: 14px; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--mint); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 700px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.contact-grid h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 600; margin: 12px 0 20px; }
.contact-grid h2 em { font-style: normal; color: var(--mint); }
.contact-grid p { color: var(--muted); max-width: 460px; margin: 0 0 30px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; text-decoration: none; color: var(--text); }
.contact-item svg { width: 26px; height: 26px; color: var(--mint); flex-shrink: 0; }
.contact-item .t { display: flex; flex-direction: column; min-width: 0; }
.contact-item small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.contact-item strong { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.contact-item .go { margin-left: auto; color: var(--mint); transition: transform .2s; }
.contact-item:hover .go { transform: translateX(5px); }

/* CTA band */
.cta { text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 600; max-width: 700px; }
.cta h2 em { font-style: normal; color: var(--mint); }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--line); padding-block: 56px 28px; color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--mint); margin-bottom: 14px; letter-spacing: 1px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--mint); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-bottom .mono { font-family: var(--mono); }

/* ---------- Price teaser (home) ---------- */
.price-teaser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pt { padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.pt .what { font-family: var(--mono); font-size: 12.5px; color: var(--mint); }
.pt h3 { font-size: 22px; font-weight: 600; }
.pt .from { color: var(--muted); font-size: 14px; }
.pt .from b { display: block; color: var(--text); font-size: 44px; font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pt .from b small { font-size: 15px; color: var(--muted); font-weight: 500; }
.pt ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.pt ul li::before { content: "+ "; color: var(--mint); font-family: var(--mono); }
.pt .go { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--mint); }
.pt.featured { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.pt.featured .what, .pt.featured .from, .pt.featured ul, .pt.featured .go, .pt.featured .from b small, .pt.featured ul li::before { color: var(--ink); }
.pt.featured .from b { color: var(--ink); }
.price-strip { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.price-strip b { color: var(--text); font-weight: 500; }
.hero-price { display: inline-flex; align-items: center; gap: 10px; margin-left: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--mint); padding: 7px 14px; text-decoration: none; }

/* ---------- Live previews of the demo sites ---------- */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.live { position: absolute; inset: 0; overflow: hidden; background: var(--bg-deep); }
.live iframe {
  position: absolute; top: 0; left: 0; border: 0;
  transform: scale(var(--s, 0.5)); transform-origin: 0 0;
  pointer-events: none; background: #fff;
}
.live .loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.ba-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line); padding: 4px; background: var(--bg-deep); }
.seg button {
  font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted);
  background: none; border: 0; padding: 9px 16px; cursor: pointer; transition: background .2s, color .2s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--mint); color: var(--ink); font-weight: 600; }
.compare.animate { transition: --pos .7s cubic-bezier(.3,.7,.2,1); }
.compare .hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4;
  font-family: var(--mono); font-size: 12px; background: rgba(10,20,15,0.85); color: var(--text);
  padding: 6px 12px; pointer-events: none; transition: opacity .4s;
}
.compare.touched .hint { opacity: 0; }
.ba-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 760px; margin: 0 auto; }
.ba-phones figure { margin: 0; text-align: center; }
.ba-phones .device { position: relative; aspect-ratio: 390 / 844; border: 1px solid var(--line); border-radius: 34px; padding: 10px; background: var(--bg-deep); }
.ba-phones .device .live { inset: 10px; border-radius: 24px; }
.ba-phones figcaption { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ba-phones figcaption b { display: block; font-family: var(--font); font-size: 18px; color: var(--text); font-weight: 600; letter-spacing: 1px; }
.ba-phones .after figcaption b { color: var(--mint); }

/* ---------- Scroll animations ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter .8s ease both; }
  .enter:nth-child(2) { animation-delay: .1s; }
  .enter:nth-child(3) { animation-delay: .2s; }
  .enter:nth-child(4) { animation-delay: .3s; }
  .enter:nth-child(5) { animation-delay: .4s; }
}
@keyframes enter { from { opacity: .2; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  .hero-grid, .contact-grid, .section-head, .case-media, .versus { grid-template-columns: minmax(0, 1fr); }
  .section-head .more-link { justify-self: start; }
  .bento, .cards, .features, .why { grid-template-columns: 1fr 1fr; }
  .service.wide, .service.full { grid-column: span 2; }
  .bundle { grid-template-columns: 1fr 1fr; }
  .bundle > :first-child { grid-column: span 2; }
  .steps, .good-to-know, .case-meta { grid-template-columns: 1fr 1fr; }
  .case-meta div:nth-child(2) { border-right: 0; }
  .case-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail { grid-template-columns: 1fr; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .phone { max-width: 280px; margin: 0 auto; }

  .price-teaser { grid-template-columns: 1fr 1fr; }
  .header-row { grid-template-columns: 1fr auto; }
  .header-actions .icon-btn, .header-actions .btn { display: none; }
  .menu-btn { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a.link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a.link::after { display: none; }
  .site-nav .mobile-only { display: flex; justify-content: center; margin-top: 16px; padding: 14px; }
  .topbar .lang { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  section { padding-block: 64px; }
  .hero { padding-block: 56px 64px; }
  .page-hero { padding-block: 56px 40px; }
  .bento, .cards, .menu-cols, .steps, .good-to-know, .bundle, .features, .why, .work-grid, .case-meta, .price-teaser { grid-template-columns: 1fr; }
  .topbar .call span { display: none; }
  .ba-phones { gap: 14px; }
  .ba-phones .device { border-radius: 24px; padding: 6px; }
  .ba-phones .device .live { inset: 6px; border-radius: 18px; }
  .hero-price { margin: 12px 0 0; }
  .service.wide, .service.full, .bundle > :first-child, .work-grid .project-card:first-child { grid-column: auto; }
  .service.full { flex-direction: column; align-items: flex-start; }
  .case-meta div { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-meta div:last-child { border-bottom: 0; }
  .editor-code { font-size: 12.5px; min-height: 260px; }
  .step { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > :first-child { grid-column: auto; }
  .versus > div { padding: 22px; }
}

/* project cards with live previews */
.project-card .shots .live { transition: opacity .5s; }

/* ---------- Client review (Instagram video) ---------- */
.review { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; }
.review h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; margin: 12px 0 16px; }
.review p { color: var(--muted); max-width: 440px; margin: 0 0 28px; }
.reel { position: relative; aspect-ratio: 9 / 15; width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--surface); }
.reel-cover {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--text); font-family: var(--font);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background:
    radial-gradient(420px circle at 50% 38%, rgba(143,199,166,0.20), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(143,199,166,0.04) 18px 36px),
    var(--surface);
}
.reel-play { width: 84px; height: 84px; border-radius: 50%; background: var(--mint); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(143,199,166,.5); animation: reel-pulse 2.2s infinite; transition: transform .2s; }
.reel-play svg { width: 34px; height: 34px; margin-left: 4px; }
.reel-cover:hover .reel-play { transform: scale(1.08); }
@keyframes reel-pulse { 0% { box-shadow: 0 0 0 0 rgba(143,199,166,.45); } 100% { box-shadow: 0 0 0 26px rgba(143,199,166,0); } }
.reel-title { margin-top: 12px; font-size: 26px; font-weight: 600; }
.reel-sub { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.reel-quote { position: absolute; top: 10px; left: 22px; font-size: 120px; line-height: 1; color: var(--mint); opacity: .25; }
.chip.real { color: var(--ink); background: var(--mint); border-color: var(--mint); }
@media (max-width: 900px) {
  .review { grid-template-columns: minmax(0, 1fr); }
  .reel { max-width: 400px; width: 100%; }
}

@media (max-width: 900px) { .work-grid { grid-template-columns: minmax(0, 1fr); } .work-grid .project-card, .work-grid .project-card:first-child { grid-column: auto; } .work-grid .project-card:first-child .shots { aspect-ratio: 16 / 10; } }

/* ---------- Scrollable previews: scroll inside each side, drag the round handle ---------- */
.compare .live iframe, .ba-phones .live iframe { pointer-events: auto; }
.compare input { inset: auto; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.compare .handle { width: 46px; margin-left: -23px; background: none; pointer-events: auto; cursor: ew-resize; z-index: 5; touch-action: none; }
.compare .handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--mint); }
.compare.dragging iframe { pointer-events: none; }
.compare .badge { z-index: 6; }
.compare .badge.a a { color: inherit; text-decoration: none; }

/* client video that plays by itself */
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); opacity: 0; transition: opacity .4s; }
.reel.has-video video { opacity: 1; }
.reel-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; pointer-events: none;
  background: radial-gradient(420px circle at 50% 38%, rgba(143,199,166,0.20), transparent 60%), repeating-linear-gradient(135deg, transparent 0 18px, rgba(143,199,166,0.04) 18px 36px), var(--surface); }
.reel.has-video .reel-wait { display: none; }
.reel-sound { position: absolute; right: 12px; bottom: 12px; z-index: 3; font-family: var(--mono); font-size: 12px; background: rgba(10,20,15,0.85); color: var(--text); border: 1px solid var(--line); padding: 8px 12px; cursor: pointer; }

/* ---------- v8: offers grid, single calls to action ---------- */
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.offer .icon { width: 34px; height: 34px; color: var(--mint); }
.offer h3 { font-size: 20px; font-weight: 600; margin-top: 4px; }
.offer p { margin: 0; color: var(--muted); font-size: 15px; }
.offer-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--mint); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }
.hero-buttons { align-items: center; }
.hero-link { padding: 12px 6px; }
.ba-help { margin: 0; color: var(--muted); font-size: 15px; }
.ba-help b { color: var(--mint); font-weight: 600; }
.open-links { align-items: center; }
.review .text-link { font-size: 13px; letter-spacing: .5px; color: var(--muted); }
.topbar-row { justify-content: center; }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .offers { grid-template-columns: 1fr; } }

/* ---------- v9: language switch ---------- */
.lang { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-decoration: none; border: 1px solid var(--line); padding: 7px 10px; transition: color .2s, border-color .2s; }
.lang:hover, .lang:focus-visible { color: var(--mint); border-color: var(--mint); }

/* ---------- v9: fast project cards ----------
   A light photo first. On computers the two live sites load on top of it. */
.project-card .shots .poster { z-index: 0; }
.project-card .shots .live { z-index: 1; background: transparent; opacity: 0; }
.project-card .shots .live.before.ready { opacity: 1; }
.project-card:hover .shots .live.after.ready, .project-card:focus-visible .shots .live.after.ready { opacity: 1; }
.project-card .flag .m { display: none; }
@media (hover: none), (max-width: 900px) {
  .project-card .shots .live { display: none; }
  .project-card .flag .b, .project-card .flag .a { display: none !important; }
  .project-card .flag .m { display: inline; }
  .project-card .flag { background: var(--mint); color: var(--ink); }
}

/* ---------- v10: Instagram video without the white Instagram frame ----------
   The box shows only the video part of the Instagram player.
   The white header (name + "View profile") is pushed above the box
   and the white footer (likes, comments) is cut off below it. */
.reel.ig { aspect-ratio: 4 / 5; background: #000; }
.reel.ig iframe { top: -58px; height: calc(100% + 460px); background: #000; }

/* =========================================================
   v10 — welcome screen, round cursor, glitch effects,
         clickable offers, pack pop-up
   ========================================================= */

/* ---------- Welcome screen: shows, then slides up by itself ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300; cursor: pointer;
  display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(0deg, rgba(143,199,166,0.035) 0 1px, transparent 1px 4px),
    radial-gradient(700px circle at 50% 45%, rgba(143,199,166,0.12), transparent 60%),
    var(--bg-deep);
  animation: intro-out .9s cubic-bezier(.76,0,.24,1) 2.5s forwards;
}
.intro.go { animation: intro-out .7s cubic-bezier(.76,0,.24,1) forwards; }
.no-intro .intro { display: none; }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.intro-logo { width: 64px; height: 64px; color: var(--mint); animation: intro-pop .6s cubic-bezier(.2,.8,.2,1.2) both; }
.intro-logo svg { width: 100%; height: 100%; }
@keyframes intro-pop { from { transform: scale(.4) rotate(-90deg); opacity: 0; } }
.intro-line { margin: 8px 0 0; font-size: clamp(34px, 7vw, 76px); font-weight: 600; letter-spacing: -0.5px; color: var(--text); animation: intro-glitch 1.6s steps(1) .9s infinite; }
@keyframes intro-glitch { 0% { text-shadow: 3px 0 rgba(255,60,90,.7), -3px 0 rgba(60,200,255,.7); transform: translateX(2px); } 6% { text-shadow: -2px 0 rgba(255,60,90,.7), 2px 0 rgba(60,200,255,.7); transform: translateX(-2px); } 12%, 100% { text-shadow: none; transform: none; } }
.intro-sub { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.intro-bar { width: min(260px, 60vw); height: 2px; background: var(--line); margin-top: 18px; overflow: hidden; }
.intro-bar i { display: block; height: 100%; background: var(--mint); animation: intro-load 2.3s ease-in-out both; }
@keyframes intro-load { from { width: 0; } to { width: 100%; } }

/* ---------- Glitch (red/blue split for a split second) ---------- */
.glitch, .intro-line { position: relative; }
.rot-line.glitch { animation: glitch-move .38s steps(2) both; }
@keyframes glitch-move {
  0%   { text-shadow: 2px 0 rgba(255,60,90,.75), -2px 0 rgba(60,200,255,.75); transform: translateX(1px); }
  25%  { text-shadow: -3px 0 rgba(255,60,90,.75), 3px 0 rgba(60,200,255,.75); transform: translateX(-2px); }
  50%  { text-shadow: 1px 0 rgba(255,60,90,.6), -1px 0 rgba(60,200,255,.6); transform: none; }
  100% { text-shadow: none; transform: none; }
}

/* ---------- Round cursor (computers only) ---------- */
.has-ring, .has-ring a, .has-ring button, .has-ring summary, .has-ring .tab { cursor: none; }
.has-ring input, .has-ring textarea { cursor: text; }
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 400; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--mint); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.cursor-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--mint);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s;
}
.cursor-ring.big::before { transform: scale(1.6); background: rgba(143,199,166,0.12); }
.cursor-ring.click::before { animation: ring-click .4s ease-out; }
@keyframes ring-click { 50% { transform: scale(.7); box-shadow: 2px 0 rgba(255,60,90,.6), -2px 0 rgba(60,200,255,.6); } }
.intro ~ * .cursor-ring { z-index: 400; }

/* ---------- Top bar: tiny flickering pixels ---------- */
.topbar .confetti i { width: 4px; height: 4px; background: rgba(14,26,20,0.45); animation: led steps(1) infinite; }
@keyframes led { 0%, 100% { opacity: 0; } 20% { opacity: 1; } 35% { opacity: .2; } 50% { opacity: 1; } 70% { opacity: 0; } }

/* ---------- Header: one "Free demo" button, FR/EN in the menu on phones ---------- */
.demo-btn { position: relative; }
.site-nav .lang.mobile-only { display: none; }
@media (max-width: 900px) {
  .header-actions .demo-btn { display: inline-flex; padding: 9px 14px; font-size: 12px; margin-left: 0; }
  .header-actions .lang.desk-only { display: none; }
  .site-nav .lang.mobile-only { display: block; margin-top: 18px; text-align: center; border: 0; font-size: 13px; }
}
@media (max-width: 370px) { .logo .logo-sub { display: none; } }

/* ---------- Home: two projects side by side ---------- */
.work-grid.two .project-card, .work-grid.two .project-card:first-child { grid-column: span 3; }
.work-grid.two .project-card:first-child .shots { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .work-grid.two .project-card, .work-grid.two .project-card:first-child { grid-column: auto; } }

/* ---------- Offers are links to their prices ---------- */
a.offer { color: inherit; text-decoration: none; transition: border-color .25s, transform .25s; }
a.offer:hover { border-color: var(--mint); transform: translateY(-4px); }
.offer-price { display: flex; justify-content: space-between; align-items: center; }
.offer-price .go { transition: transform .2s; }
a.offer:hover .offer-price .go { transform: translateX(5px); }

/* ---------- Pricing: highlight the section you came for ---------- */
.menu-cols h4 { scroll-margin-top: 120px; transition: color .3s, background .3s; }
.menu-cols h4.flash { color: var(--ink); background: var(--mint); padding-inline: 8px; }
.tabs { scroll-margin-top: 100px; }

/* ---------- Pack pop-up ---------- */
.pack-pop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(360px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--mint); padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  transform: translateY(30px); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s;
}
.pack-pop.show { transform: none; opacity: 1; }
.pack-pop h3 { font-size: 22px; font-weight: 600; margin: 8px 0 8px; }
.pack-pop p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.pack-pop .btn { width: 100%; justify-content: center; }
.pack-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; padding: 6px; cursor: pointer; }
.pack-x:hover { color: var(--mint); }
@media (max-width: 600px) { .pack-pop { right: 16px; bottom: 16px; } }

@media (prefers-reduced-motion: reduce) {
  .intro { animation: intro-out .01s linear 1.2s forwards; }
  .intro-line, .intro-logo, .intro-bar i { animation: none; }
}
.demo-btn { white-space: nowrap; }
@media (max-width: 900px) { .header-actions { gap: 6px; } .header-actions .demo-btn { padding: 9px 12px; font-size: 11.5px; letter-spacing: .5px; } }
@media (max-width: 600px) { .hero .editor { display: none; } }

/* ---------- v15: falling 0s and 1s ---------- */
.cursor-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 45; }

/* ---------- v18: "See all prices" button, styled like a terminal command ---------- */
.cmd-btn {
  position: relative; overflow: hidden; justify-self: end; align-self: end;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; border: 1.5px solid var(--mint); color: var(--mint);
  font-family: var(--mono); font-size: 15px; letter-spacing: .5px; text-decoration: none;
  background: rgba(143,199,166,0.06);
  transition: color .35s;
}
/* mint fill that sweeps in from the left on hover */
.cmd-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mint);
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.7,0,.2,1);
}
.cmd-btn { z-index: 0; }
.cmd-btn:hover, .cmd-btn:focus-visible { color: var(--ink); }
.cmd-btn:hover::before, .cmd-btn:focus-visible::before { transform: scaleX(1); }
/* the ">" turns into an arrow on hover */
.cmd-prompt { display: inline-block; font-weight: 500; transition: transform .35s; }
.cmd-btn:hover .cmd-prompt { transform: translateX(4px); }
/* blinking caret like a terminal */
.cmd-caret { width: 9px; height: 18px; background: currentColor; animation: blink 1s steps(1) infinite; }
/* corner marks, like a selected block */
.cmd-btn::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) top left / 8px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) top left / 1.5px 8px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 8px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 1.5px 8px no-repeat;
  opacity: .6;
}
@media (max-width: 900px) { .cmd-btn { justify-self: start; } }

/* ---------- v20: contact chips (icon + your details, click to open) ---------- */
.foot-grid ul:has(.contact-chip) { gap: 12px; }
.contact-chip {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 34px; align-items: center; gap: 14px;
  width: 100%; max-width: 340px; padding: 10px 10px 10px 10px;
  border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text);
  background:
    radial-gradient(220px circle at var(--mx) var(--my), rgba(143,199,166,0.14), transparent 60%),
    linear-gradient(135deg, rgba(143,199,166,0.06), rgba(143,199,166,0) 60%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color .3s, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
/* light that sweeps across on hover */
.contact-chip::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(143,199,166,0.16) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.contact-chip:hover, .contact-chip:focus-visible {
  border-color: rgba(143,199,166,0.7); transform: translateY(-3px);
  box-shadow: 0 14px 34px -14px rgba(143,199,166,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}
.contact-chip:hover::after { transform: translateX(120%); }

.cc-ico {
  position: relative; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  color: var(--mint); background: var(--bg-deep); border: 1px solid rgba(143,199,166,0.35);
  transition: background .3s, color .3s, transform .45s cubic-bezier(.2,.8,.2,1.4);
}
.cc-ico svg { width: 21px; height: 21px; }
.contact-chip:hover .cc-ico { background: var(--mint); color: var(--ink); transform: rotate(-8deg) scale(1.06); }

.cc-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cc-txt small {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
}
.cc-txt b { font-weight: 500; font-size: 15px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.contact-chip:hover .cc-txt b { color: var(--mint); }

/* little green "online" dot on WhatsApp */
.cc-live { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

/* arrow that flies out and a new one comes in */
.cc-go {
  position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line); color: var(--mint); transition: border-color .3s, background .3s;
}
.cc-go i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 15px; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.cc-go i + i { transform: translate(-130%, 130%); }
.contact-chip:hover .cc-go { border-color: var(--mint); background: rgba(143,199,166,0.1); }
.contact-chip:hover .cc-go i:first-child { transform: translate(130%, -130%); }
.contact-chip:hover .cc-go i + i { transform: none; }

/* ---------- v20: back-to-top button with scroll progress ring ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%; padding: 0; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--mint);
  background: rgba(14,26,20,0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(20px) scale(.85); pointer-events: none;
  transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1.3), background .25s, color .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--mint); color: var(--ink); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--line); stroke-width: 2; }
.to-top-ring .bar { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p, 0))); }
.to-top:hover .to-top-ring .bar { stroke: var(--ink); }
.to-top-arrow { width: 20px; height: 20px; transition: transform .3s; }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }
.pop-open .to-top { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }
.cc-txt small { white-space: nowrap; }
@media (min-width: 901px) { .foot-grid { grid-template-columns: 1.3fr .8fr 1.3fr; } .foot-grid > div:last-child { justify-self: end; width: 100%; max-width: 340px; } }
