/* pascari-lilian.dev — light monochrome design: grey-blue ground, rounded panels, numbered cards, pills. */
:root {
  --bg: #DCE1E8;
  --panel: #E8EBF0;
  --card: #F2F4F7;
  --ink: #0F1013;
  --dark: #1C1D21;
  --muted: #555A63;
  --soft: #8A8F98;
  --line: #0F1013;
  --line-soft: rgba(15, 16, 19, .14);
  --white: #FFFFFF;
  --head: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --r: 28px;
  --r-sm: 18px;
  --wrap: 1280px;
  --pad: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
a { color: var(--ink); }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip:focus { left: 8px; }
.ico { width: 1em; height: 1em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.head-font { font-family: var(--head); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.04; }
.h-giant { font-size: clamp(36px, 4.6vw, 66px); margin: 0; }
.h-page { font-size: clamp(34px, 4.8vw, 68px); margin: 0; }
.h-page.long { font-size: clamp(30px, 3.8vw, 54px); }
.h2 { font-family: var(--head); font-weight: 500; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -.015em; margin: 0; }
.h3 { font-family: var(--head); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 0; }
.label { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }

/* Panels: the rounded light boards that hold every section */
.panel { position: relative; background: var(--panel); border-radius: var(--r); padding: 44px; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 30px 60px -40px rgba(15, 16, 19, .25); }
.section { padding: 28px 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.wordmark { font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.audience { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); flex: 1; justify-content: flex-end; }
.audience::before { content: ""; flex: 1; max-width: 520px; height: 1px; background: var(--line); }
.panel-foot { display: flex; align-items: center; gap: 0; margin-top: 36px; }
.panel-foot::before { content: ""; flex: 1; height: 1px; background: var(--line); }
.panel-foot::after { content: ""; width: 90px; height: 8px; background: var(--ink); border-radius: 2px; }
.mark { width: 30px; height: 30px; flex: none; }
.title-line { display: flex; align-items: flex-end; gap: 22px; }
.title-line .h2 { flex: none; max-width: 75%; }
.title-line::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-bottom: 12px; }
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }

/* Buttons and pills */
.pill { display: inline-flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 8px 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--body); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.pill.no-ic { padding-right: 24px; }
.pill .circ { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; }
.pill .circ svg { width: 14px; height: 14px; }
.pill.dark { background: var(--ink); color: var(--white); }
.pill:hover { background: var(--ink); color: var(--white); }
.pill.dark:hover { background: var(--white); color: var(--ink); }
.pill.big { min-height: 58px; font-size: 16px; padding-left: 28px; }
.pill.big .circ { width: 40px; height: 40px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--card); font-size: 14px; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(220, 225, 232, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--body); font-weight: 600; font-size: 17px; }
.brand .mark { width: 26px; height: 26px; }
.brand-line { flex: 1; height: 1px; background: var(--line); max-width: 360px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav a:hover { background: var(--panel); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.header-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--white); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ink); color: var(--white); border: 0; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* Home hero */
.hero .panel { min-height: 640px; display: flex; flex-direction: column; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; flex: 1; align-items: center; }
.hero-photo { position: relative; align-self: end; margin: -20px 0 -44px -44px; }
.hero-photo img { width: 100%; max-width: 560px; filter: grayscale(1) contrast(1.08) brightness(1.04); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding: 20px 0 40px; }
.hero-text .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; width: 100%; }
.hero-text .sub { max-width: 560px; }
.watermark { position: absolute; z-index: 1; right: -10px; bottom: 54px; font-family: var(--head); font-weight: 700; font-size: clamp(80px, 14vw, 210px); line-height: 1; letter-spacing: -.02em; color: rgba(255, 255, 255, .62); text-transform: uppercase; pointer-events: none; white-space: nowrap; user-select: none; }
.socials { position: absolute; z-index: 3; left: 32px; bottom: 32px; display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--ink); background: rgba(232, 235, 240, .8); }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); }
.socials a:hover { background: var(--ink); color: var(--white); }
.socials svg { width: 17px; height: 17px; }
.price-note { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Decorative glossy orbs and swirl watermarks */
.orb { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(15, 16, 19, .28)); }
.swirl-bg { position: absolute; z-index: 0; color: rgba(255, 255, 255, .7); pointer-events: none; }
.float { animation: float 7s ease-in-out infinite; }
.float.b { animation-duration: 9s; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px) rotate(8deg); } }

/* Numbered cards (services) */
.cards-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 260px; gap: 18px; }
.ncard { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 230px; padding: 26px 26px 24px; border-radius: var(--r-sm); border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .25s; }
.ncard:hover { transform: translateY(-4px); }
.ncard::before { content: ""; position: absolute; top: -1px; right: 34px; width: 92px; height: 18px; background: var(--panel); border: 1px solid var(--ink); border-top: 0; border-radius: 0 0 14px 14px; }
.ncard .n { margin: 0; padding-bottom: 10px; border-bottom: 1px solid currentColor; font-family: var(--head); font-weight: 500; font-size: 24px; max-width: 70%; }
.ncard h3 { margin: 0; font-family: var(--head); font-weight: 500; font-size: 18px; line-height: 1.25; text-transform: uppercase; }
.ncard p.d { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 90%; }
.ncard .pr { margin: auto 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.ncard .pr b { font-family: var(--head); font-weight: 500; font-size: 30px; }
.ncard .pr span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ncard.dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.ncard.dark::before { border-color: var(--dark); }
.ncard.dark p.d, .ncard.dark .pr span { color: #B9BDC6; }
.ncard .sw { position: absolute; right: -26px; top: 50%; width: 120px; height: 120px; transform: translateY(-50%); color: rgba(255, 255, 255, .28); }
.ncard:not(.dark) .sw { color: rgba(15, 16, 19, .08); }
.liquid { position: relative; grid-row: span 3; border-radius: var(--r-sm); overflow: hidden; background: #050506; min-height: 300px; }
.cards-wrap .ncard.wide { grid-column: span 2; }
.liquid svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Results */
.results { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); border-radius: var(--r-sm); padding: 34px 0; }
.results > div { padding: 0 34px; display: flex; flex-direction: column; gap: 8px; }
.results > div + div { border-left: 1px solid var(--ink); }
.results .big { margin: 0 0 6px; font-family: var(--head); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.results h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.results p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.results-pills { position: relative; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.results-pills .pill { cursor: default; }
.results-pills .pill:hover { background: transparent; color: var(--ink); }
.results-pills .pill.dark:hover { background: var(--ink); color: var(--white); }

/* Works */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-card { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 20px; border-radius: var(--r-sm); background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid var(--line-soft); transition: transform .25s, box-shadow .25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 16, 19, .45); }
.work-card .img { overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: var(--bg); }
.work-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 8px; }
.work-card h3 { margin: 0; font-family: var(--head); font-weight: 500; font-size: 18px; text-transform: uppercase; }
.work-card p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.circ-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); }
.circ-btn svg { width: 15px; height: 15px; }
.work-card:hover .circ-btn { background: var(--ink); color: var(--white); }

/* Case teaser */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; position: relative; z-index: 2; }
.case .shot { border-radius: var(--r-sm); overflow: hidden; background: var(--dark); padding: 12px; }
.case .shot img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 26px 0; }
.case-cols h3 { margin: 12px 0 6px; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.case-cols p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.case-cols .ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); }
.case-cols .ic svg { width: 17px; height: 17px; }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; z-index: 2; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-sm); border: 1px solid var(--ink); }
.steps li:nth-child(even) { background: var(--dark); color: var(--white); border-color: var(--dark); }
.steps li:nth-child(even) p { color: #B9BDC6; }
.steps .n { margin: 0; padding-bottom: 10px; border-bottom: 1px solid currentColor; font-family: var(--head); font-size: 24px; font-weight: 500; }
.steps h3 { margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; }
.faq-list details { border: 1px solid var(--ink); border-radius: var(--r-sm); background: var(--panel); }
.faq-list details[open] { background: var(--card); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 18px 18px 26px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.faq-list summary::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; background: var(--ink); color: var(--white); }
.faq-list .ans { padding: 0 26px 22px; }

/* Inner page hero */
.page-hero .panel { min-height: 380px; display: flex; flex-direction: column; }
.page-hero .hero-txt { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; max-width: 900px; margin-top: 18px; }
.crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "—"; margin-right: 8px; }
.page-hero .watermark { bottom: 30px; font-size: clamp(70px, 11vw, 170px); }
.page-photo { position: relative; z-index: 2; margin: 32px 0 0; border-radius: var(--r-sm); overflow: hidden; }
.page-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.05); }

/* Content rows */
.rows { position: relative; z-index: 2; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 34px 0; border-top: 1px solid var(--line-soft); }
.row:first-child { border-top: 0; padding-top: 6px; }
.row-title { margin: 0; font-family: var(--head); font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; text-transform: uppercase; }
.row-body { max-width: 700px; color: #2B2E34; }
.row-body p { margin: 0 0 1em; }
.row-body p:last-child { margin-bottom: 0; }
.row-body .bio-item-title { font-weight: 800; color: var(--ink); }
.row-body ul, .row-body ol { margin: 0 0 1em; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.row-body ul > li, .row-body ol > li { position: relative; padding-left: 28px; }
.row-body ul > li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.row-body ol { counter-reset: step; }
.row-body ol > li { counter-increment: step; padding-left: 44px; }
.row-body ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--head); font-size: 15px; }
.row-body .bio-list.plain { flex-direction: row; flex-wrap: wrap; }
.row-body .bio-list.plain > li { padding-left: 0; }
.row-body .bio-list.plain > li::before { display: none; }
.row-body .bio-list.plain .service-more.inline { display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; }
.row-body .bio-list.plain .service-more.inline:hover { background: var(--ink); color: var(--white); }
.row-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.row-body .service-more:not(.inline) { display: inline-flex; margin-top: 16px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px; }
.row-body .service-more:not(.inline):hover { background: var(--white); color: var(--ink); }
.row-body code { font-size: .9em; background: var(--card); padding: 2px 6px; border-radius: 6px; }
.row-body .footer-cookie-btn { margin-top: 12px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.row-body .footer-cookie-btn:hover { background: var(--ink); color: var(--white); }
.case-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0; }
.case-fact { padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-soft); }
.case-fact dt { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.case-fact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bio-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.bio-project { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-soft); text-decoration: none !important; }
.bio-project img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: 8px; }
.bio-project-name { font-family: var(--head); font-weight: 500; font-size: 15px; text-transform: uppercase; padding: 0 4px; }
.bio-project-sub { font-size: 13px; line-height: 1.4; color: var(--muted); padding: 0 4px; }
.section-title { position: relative; z-index: 2; margin: 0 0 22px; }

/* Work page projects */
.projects { display: flex; flex-direction: column; gap: 22px; }
.project { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; padding: 18px; border-radius: var(--r); background: var(--panel); scroll-margin-top: 96px; }
.project-info { display: flex; flex-direction: column; gap: 18px; padding: 18px 8px 18px 18px; }
.project-info .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.project-info .ph { margin: 0; font-family: var(--head); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; text-transform: uppercase; }
.project-info .type { display: block; margin-top: 8px; font-family: var(--body); font-size: 14px; font-weight: 600; text-transform: none; color: var(--muted); }
.year { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; }
.kv { display: flex; flex-direction: column; gap: 6px; }
.kv .k { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.kv .v { margin: 0; font-size: 16px; line-height: 1.55; }
.tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 12px; background: var(--card); }
.gallery img:first-child { grid-column: 1 / -1; }

/* Contact */
.cta { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 18px; }
.cta-title { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px; border-radius: var(--r-sm); background: var(--dark); color: var(--white); }
.cta-title .h2 { color: var(--white); }
.cta-title p { margin: 0; color: #B9BDC6; }
.cta-list { margin: 0; padding: 30px; list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 16px; border-radius: var(--r-sm); border: 1px solid var(--ink); }
.cta-list a, .cta-list span.t { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.cta-list a:hover { text-decoration: underline; }
.cta-list svg { width: 20px; height: 20px; }
.cta-list .msgs { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-list .msgs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; }
.cta-list .msgs a:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #2FB36B; box-shadow: 0 0 0 4px rgba(47, 179, 107, .18); }
.cta-art { position: relative; min-height: 260px; border-radius: var(--r-sm); overflow: hidden; background: #050506; }
.cta-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); opacity: .8; }

/* Footer */
.site-footer { padding: 28px 0 40px; }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 15px; }
.foot .t { margin: 0 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.foot nav, .foot .col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot a, .foot button { color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.foot a:hover, .foot button:hover { text-decoration: underline; }
.foot .logo { margin: 0; font-family: var(--head); font-weight: 600; font-size: 22px; text-transform: uppercase; }
.foot .small { margin: 0; color: var(--muted); line-height: 1.6; }
.copyright { margin: 0; font-size: 13px; color: var(--muted); }

.nf .panel { min-height: 60vh; justify-content: center; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Cookie banner and floating contact widget */
.cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 1001; width: min(420px, calc(100vw - 2rem)); padding: 1.25rem; border-radius: 20px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 24px 50px -20px rgba(15, 16, 19, .4); font-family: var(--body); font-size: .95rem; line-height: 1.45; }
.cookie-banner[hidden] { display: none; }
.cookie-text { margin: 0 0 1rem; }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-btn { flex: 1; min-height: 46px; padding: .6rem 1rem; border-radius: 999px; cursor: pointer; font-family: var(--body); font-size: .9rem; font-weight: 700; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cookie-btn.accept { background: var(--ink); color: var(--white); }
.cookie-btn:hover { background: var(--bg); color: var(--ink); }
.cookie-more { display: inline-block; margin-top: .75rem; color: var(--ink); font-size: .85rem; }
.contact-widget { position: fixed; right: 1rem; bottom: 1rem; z-index: 1000; font-family: var(--body); }
.contact-widget svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-widget-toggle { width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); color: var(--white); box-shadow: 0 16px 30px -12px rgba(15, 16, 19, .5); }
.contact-widget-toggle { position: relative; }
.contact-widget.is-open { z-index: 1002; }
.contact-widget-panel { position: absolute; right: 0; bottom: 4.4rem; width: min(22rem, calc(100vw - 2rem)); height: min(32rem, calc(100vh - 7rem)); padding: 0; border-radius: 20px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(15, 16, 19, .45); }
.contact-widget-panel[hidden] { display: none; }
.contact-widget-title { margin: 0; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.chat-head { padding: .9rem 1rem .8rem; background: var(--ink); color: var(--white); }
.chat-sub { margin: .15rem 0 0; font-size: .78rem; color: rgba(255, 255, 255, .72); display: flex; align-items: center; gap: .4rem; line-height: 1.3; }
.chat-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #3ecf6e; flex: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--card); overscroll-behavior: contain; }
.chat-msg { max-width: 85%; display: flex; flex-direction: column; }
.chat-msg p { margin: 0; padding: .55rem .8rem; border-radius: 16px; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg.them { align-self: flex-start; }
.chat-msg.them p { background: var(--white); border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg.me p { background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; }
.chat-who { font-size: .68rem; font-weight: 700; color: var(--soft); margin: 0 .3rem .15rem; text-transform: uppercase; letter-spacing: .04em; }
.chat-note { font-size: .8rem; color: var(--muted); text-align: center; padding: .2rem .5rem; }
.chat-form { padding: .6rem; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: .4rem; background: var(--white); }
.chat-form input, .chat-form textarea { font: inherit; font-size: 16px; color: var(--ink); border: 1px solid var(--line-soft); border-radius: 14px; padding: .55rem .8rem; background: var(--white); }
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--ink); }
.chat-form input[hidden], .chat-hp { display: none; }
.chat-row { display: flex; gap: .4rem; align-items: flex-end; }
.chat-row textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; line-height: 1.4; }
.chat-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-send:disabled { opacity: .5; cursor: wait; }
.chat-badge { position: absolute; top: -2px; right: -2px; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 999px; background: #e5484d; color: #fff; font-size: .72rem; font-weight: 800; line-height: 1.25rem; text-align: center; }
.chat-badge[hidden] { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .case, .cta, .project, .row { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { margin: 0 auto -44px; max-width: 420px; order: 2; }
  .cards-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .liquid { grid-row: auto; grid-column: 1 / -1; min-height: 180px; }
  .works, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .results > div { padding: 26px; }
  .results > div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { gap: 14px; }
  .brand-line { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: var(--pad); right: var(--pad); top: 76px; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: 22px; background: var(--white); border: 1px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 16px; }
}
@media (max-width: 640px) {
  :root { --pad: 14px; --r: 22px; }
  body { font-size: 16px; }
  .panel { padding: 24px 20px; }
  .section { padding: 10px 0; }
  .audience { display: none; }
  .cards-wrap, .works, .steps, .case-cols, .foot { grid-template-columns: minmax(0, 1fr); }
  .cards-wrap .ncard.wide { grid-column: auto; }
  .hero .panel { min-height: 0; }
  .hero-photo { margin-bottom: -24px; }
  .socials { left: 16px; bottom: 16px; }
  .title-line { flex-direction: column; align-items: flex-start; gap: 12px; }
  .title-line .h2 { max-width: 100%; }
  .title-line::after { width: 100%; flex: none; margin: 0; }
  .results-pills { flex-direction: column; align-items: stretch; }
  .faq-list summary { padding-left: 18px; }
  .faq-list summary h3 { font-size: 16px; }
  .faq-list .ans { padding: 0 18px 18px; }
  .project { padding: 10px; }
  .project-info { padding: 14px 8px; }
  .cta-title, .cta-list { padding: 22px; }
  .page-photo img { aspect-ratio: 4 / 3; }
  .brand span { font-size: 15px; }
  .lang-switch a { padding: 5px 7px; }
  .cookie-banner { left: .75rem; right: .75rem; width: auto; bottom: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.panel-top, .title-row, .title-line, .panel-foot, .lead, .pills, .hero-txt, .page-photo, .cards-wrap, .works, .case, .steps, .faq-list, .tag-list, .rows { position: relative; z-index: 2; }
.watermark { color: rgba(255, 255, 255, .5); }
@media (max-width: 1080px) { .orb:not(.keep) { display: none; } }
@media (max-width: 640px) { .orb.keep { width: 64px; height: 64px; left: auto !important; right: 24%; } .watermark { display: none; } }
.ncard .pr s { font-family: var(--head); font-size: 18px; opacity: .55; }
.row-body s { color: var(--soft); }
.row-body strong { font-weight: 800; }
/* Pricing section and five-step process */
.price-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price-grid .ncard { min-height: 210px; }
.price-grid .ncard .pr b { font-size: 36px; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.five li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .price-grid, .steps.five { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Thematic animations (home pages): js/animations.js ===== */

/* 1. Website building itself, inside the dark tile of the services grid */
.build { position: absolute; inset: 18px; display: flex; flex-direction: column; border-radius: 12px; background: #111215; border: 1px solid #2a2c31; overflow: hidden; }
.b-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #2a2c31; }
.b-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3d44; }
.b-page { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: min-content; gap: 10px; padding: 14px; align-content: start; }
.b-page span { --d: 0s; display: block; border-radius: 6px; border: 1px dashed #4a4d55; background: transparent; animation: bfill 9s var(--d) ease-in-out infinite both; }
.b-nav { grid-column: 1 / -1; height: 12px; --d: .2s !important; }
.b-h1 { grid-column: 1 / -1; height: 22px; width: 85%; --d: .9s !important; }
.b-h2 { grid-column: 1 / -1; height: 10px; width: 60%; --d: 1.5s !important; }
.b-btn { grid-column: 1 / 2; height: 18px; border-radius: 999px !important; --d: 2.1s !important; }
.b-img { grid-column: 1 / -1; height: 74px; --d: 2.8s !important; }
.b-c { height: 54px; }
.b-c:nth-of-type(6) { --d: 3.5s !important; }
.b-c:nth-of-type(7) { --d: 3.9s !important; }
.b-c:nth-of-type(8) { --d: 4.3s !important; }
.b-btn, .b-h1 { animation-name: bfill-strong !important; }
@keyframes bfill { 0%, 4% { background: transparent; border-color: #4a4d55; border-style: dashed; } 12%, 82% { background: #3a3d44; border-color: transparent; border-style: solid; } 92%, 100% { background: transparent; border-color: #4a4d55; } }
@keyframes bfill-strong { 0%, 4% { background: transparent; border-color: #4a4d55; border-style: dashed; } 12%, 82% { background: #E8EBF0; border-color: transparent; border-style: solid; } 92%, 100% { background: transparent; border-color: #4a4d55; } }

/* 2 + 5. Code -> result, on a device that changes size */
.studio { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; margin-top: 26px; align-items: stretch; }
.code { border-radius: var(--r-sm); background: var(--dark); color: #D7DAE0; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #2f3137; font-size: 12px; color: #8A8F98; }
.code-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d44; }
.code-bar span { margin-left: 8px; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; }
.code pre { margin: 0; padding: 18px 20px; flex: 1; font: 13px/1.7 ui-monospace, "JetBrains Mono", Menlo, monospace; white-space: pre; overflow: hidden; }
.code .caret { display: inline-block; width: 7px; height: 15px; margin-left: 1px; vertical-align: -2px; background: #E8EBF0; animation: blink 1s steps(1) infinite; }
.code .k { color: #9AA7FF; } .code .t { color: #E8EBF0; } .code .s { color: #B9E3A8; } .code .c { color: #6c717a; }
@keyframes blink { 50% { opacity: 0; } }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 300px; border-radius: var(--r-sm); border: 1px solid var(--ink); padding: 22px; }
.device { width: 100%; height: 250px; border-radius: 14px; border: 6px solid var(--dark); background: var(--card); overflow: hidden; transition: width .9s cubic-bezier(.6, .1, .2, 1), border-radius .9s; container-type: inline-size; }
.device.tablet { width: 62%; border-radius: 20px; }
.device.phone { width: 34%; border-radius: 26px; }
.device-label { display: flex; gap: 8px; }
.device-label span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-soft); font-size: 12px; font-weight: 700; color: var(--muted); transition: background-color .3s, color .3s; }
.device-label span.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pv { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.pv > * { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.pv > .on { opacity: 1; transform: none; }
.pv-hero { border-radius: 8px; background: var(--dark); color: var(--white); padding: 12px; }
.pv-hero b { display: block; font-family: var(--head); font-weight: 500; font-size: 15px; line-height: 1.2; }
.pv-hero i { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 10px; font-style: normal; font-weight: 700; }
.pv-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv-menu span { height: 46px; border-radius: 6px; background: #C9CFD8; border: 1px solid var(--line-soft); }
.pv-contact { height: 20px; border-radius: 6px; background: var(--ink); opacity: .85; }
@container (max-width: 300px) { .pv-menu { grid-template-columns: 1fr 1fr; } .pv-hero b { font-size: 13px; } }
@container (max-width: 190px) { .pv-menu { grid-template-columns: 1fr; } .pv-menu span { height: 26px; } .pv-hero b { font-size: 11px; } }

/* 3. Admin panel demo */
.admin-demo { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.adm { border-radius: var(--r-sm); background: var(--dark); color: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.adm-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #34363c; font-size: 13px; font-weight: 700; color: #B9BDC6; }
.adm-top b { color: var(--white); font-family: var(--head); font-weight: 500; font-size: 15px; }
.adm label { display: block; font-size: 12px; font-weight: 700; color: #8A8F98; text-transform: uppercase; letter-spacing: .04em; }
.adm .field { margin-top: 6px; min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid #3a3d44; background: #111215; font-size: 15px; }
.adm .field.typing { border-color: #E8EBF0; }
.adm .field.typing::after { content: ""; width: 2px; height: 18px; margin-left: 2px; background: #E8EBF0; animation: blink 1s steps(1) infinite; }
.adm-save { align-self: flex-start; margin-top: 4px; padding: 10px 22px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; transition: transform .15s; }
.adm-save.press { transform: scale(.93); }
.shop { position: relative; border-radius: var(--r-sm); border: 1px solid var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.shop-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); font-size: 13px; font-weight: 700; color: var(--muted); }
.shop-top i { display: flex; gap: 6px; } .shop-top i::before, .shop-top i::after { content: ""; width: 26px; height: 6px; border-radius: 3px; background: var(--line-soft); }
.prod { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: 14px; background: var(--card); }
.prod-img { aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 35% 30%, #6b6e75, #1d1e22 55%, #050506); }
.prod h3 { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }
.prod .price { margin-top: 6px; font-family: var(--head); font-size: 24px; font-weight: 500; }
.prod .flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { background: var(--ink); color: var(--white); box-shadow: 0 0 0 4px var(--ink); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
.toast { position: absolute; right: 18px; bottom: 18px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.toast.on { opacity: 1; transform: none; }

/* 4. Project screenshots scroll through the whole page */
.work-card img.scroll-shot { object-position: 50% 0; transition: object-position 5s ease-in-out; }
.work-card:hover img.scroll-shot, .work-card:focus-visible img.scroll-shot { object-position: 50% 100%; transition-duration: 6s; }
@media (hover: none) { .work-card.inview img.scroll-shot { animation: peek 12s 1s ease-in-out infinite; } }
@keyframes peek { 0%, 10% { object-position: 50% 0; } 50%, 60% { object-position: 50% 100%; } 100% { object-position: 50% 0; } }

/* 6. PageSpeed gauge in the results row */
.results.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.results .big.gauge-wrap { display: flex; align-items: center; gap: 14px; }
.gauge { width: 56px; height: 56px; transform: rotate(-90deg); flex: none; }
.gauge circle { fill: none; stroke-width: 3.6; }
.gauge .bg { stroke: var(--line-soft); }
.gauge .fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 10); transition: stroke-dashoffset 1.6s cubic-bezier(.3, .1, .2, 1); }

/* 7. Line through the five steps */
.track { position: relative; z-index: 2; height: 4px; margin: 0 0 22px; border-radius: 2px; background: var(--line-soft); }
.track-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 1) * 100%); border-radius: 2px; background: var(--ink); }
.track-fill::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--panel); }
.steps li { transition: box-shadow .4s, transform .4s; }
.js-anim .steps.five li { opacity: .45; }
.js-anim .steps.five li.lit { opacity: 1; box-shadow: 0 18px 30px -22px rgba(15, 16, 19, .55); }
.steps.five li { transition: opacity .5s, box-shadow .4s; }

@media (max-width: 1080px) {
  .results.four { grid-template-columns: minmax(0, 1fr); }
  .studio, .admin-demo { grid-template-columns: minmax(0, 1fr); }
  .device.tablet { width: 70%; } .device.phone { width: 44%; }
}
@media (max-width: 640px) {
  .stage { padding: 14px; }
  .device { height: 220px; }
  .device.tablet { width: 78%; } .device.phone { width: 52%; }
  .prod { grid-template-columns: 80px minmax(0, 1fr); }
  .track { display: none; }
  .code pre { font-size: 12px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .b-page span { animation: none !important; background: #3a3d44; border-style: solid; border-color: transparent; }
  .b-btn, .b-h1 { background: #E8EBF0 !important; }
  .pv > * { opacity: 1; transform: none; }
  .work-card img.scroll-shot { transition: none; animation: none !important; }
  .js-anim .steps.five li { opacity: 1; }
  .code .caret, .adm .field.typing::after { animation: none; }
}

/* Blog */
.post-meta { margin: 18px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.row-body .post-meta { margin: 0 0 10px; }
.post-more { margin-top: 48px; }
.row-title a { color: inherit; text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Blog images: cover on top of the article, thumbnails in the list, portfolio screenshots inside articles */
.post-cover { margin: 0 0 36px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.post-cover img, .post-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 520; }
.post-thumb { display: block; max-width: 420px; margin: 0 0 16px; border-radius: 14px; overflow: hidden; background: var(--bg); transition: transform .25s ease; }
.post-thumb:hover { transform: translateY(-3px); }
.post-figs { display: grid; gap: 16px; margin-top: 20px; }
.post-figs.two { grid-template-columns: 1fr 1fr; }
.post-fig { margin: 0; }
.post-fig a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--card); }
.post-fig img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.post-fig a:hover img { transform: scale(1.02); }
.post-fig figcaption { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 640px) { .post-figs.two { grid-template-columns: 1fr; } .post-cover { margin-bottom: 24px; } .post-thumb { max-width: none; } }
