/* ==========================================================================
   JUBUL STUDIO — premium theme (Light = default, Dark = optional)
   Theme is chosen in Admin → Settings → Appearance (sets <html data-theme>).
   ========================================================================== */

/* ---- Light theme (default) ---- */
:root, [data-theme="light"] {
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --bg-2: #f5f7fa;
  --bg-3: #eef1f5;
  --card: #ffffff;
  --line: rgba(12, 20, 33, .08);
  --line-2: rgba(12, 20, 33, .14);
  --text: #0b0f17;
  --text-rgb: 11, 15, 23;
  --text-2: #3a4252;
  --muted: #6b7383;
  --on-text: #ffffff;
  --err: #c0392b;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -22px rgba(16, 24, 40, .22);
  --scheme: light;
}

/* ---- Dark theme + dark "islands" (hero, footer, CTA, lightbox…) ---- */
[data-theme="dark"], .force-dark,
body.has-hero:not(.menu-open) .header:not(.is-scrolled) {
  --bg: #0a0a0b;
  --bg-rgb: 10, 10, 11;
  --bg-2: #111113;
  --bg-3: #17171a;
  --card: #141416;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f3ef;
  --text-rgb: 245, 243, 239;
  --text-2: #c9c6c0;
  --muted: #8f8b85;
  --on-text: #0a0a0b;
  --err: #ffb0b0;
  --shadow: none;
  --scheme: dark;
}
.force-dark { color: var(--text); }

:root {
  --accent: #0999cd;
  --accent-rgb: 9, 153, 205;
  --accent-ink: #ffffff;
  --display: "Montserrat", "Inter", system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --header-h: 84px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip; text-rendering: optimizeLegibility; color-scheme: var(--scheme);
}
body.menu-open { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
.ico { flex-shrink: 0; vertical-align: middle; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--bg-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--pill { padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); color: var(--text); letter-spacing: .14em; font-size: 11px; }
.eyebrow--pill::before { display: none; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); } }

.title {
  font-size: clamp(34px, 5.2vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 0 0 22px;
  text-wrap: balance;
}
.title--sm { font-size: clamp(28px, 3.6vw, 46px); }
.title em, .hero__title em, .page-hero__title em, .cta__title em, .product__title em {
  font-family: var(--display); font-style: italic; font-weight: 800; color: var(--accent); letter-spacing: -.03em; padding-right: .04em;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.7; margin: 0 0 26px; }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 99px; font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  border: 1px solid transparent; transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%);
  transition: transform .55s var(--ease); background: var(--text);
}
.btn:hover::after { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), .6); }
.btn--accent:hover { color: var(--on-text); }
.btn--glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(12px); }
.btn--glass:hover, .btn--outline:hover { color: var(--on-text); border-color: var(--text); }
.btn--outline { border-color: var(--line-2); color: var(--text); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn-row--center { justify-content: center; }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  color: var(--text); transition: all .4s var(--ease);
}
.icon-btn:hover { background: var(--text); color: var(--on-text); transform: rotate(-8deg); }
.icon-btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: gap .4s var(--ease), color .3s, border-color .3s; }
.link-arrow:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.pill { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.pill--warn { background: rgba(240,180,60,.12); color: #f0b43c; }
.pill--bad { background: rgba(240,80,80,.12); color: #f07070; }

/* ---------- Preloader & transitions ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg); display: grid; place-items: center;
  transition: transform 1.1s var(--ease-in-out) .1s;
}
.preloader__inner { text-align: center; }
.preloader__logo { display: flex; align-items: baseline; gap: 12px; font-size: clamp(36px, 7vw, 72px); font-weight: 800; letter-spacing: -.04em; overflow: hidden; }
.preloader__logo span, .preloader__logo em { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.preloader__logo em { font-family: var(--serif); font-weight: 500; color: var(--accent); font-size: .55em; letter-spacing: .3em; animation-delay: .12s; }
.preloader__bar { width: 180px; height: 1px; background: var(--line-2); margin: 26px auto 0; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: translateX(-100%); animation: load 1.3s var(--ease-in-out) forwards .2s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes load { to { transform: translateX(0); } }
body.is-loaded .preloader { transform: translateY(-100%); }

.page-curtain {
  position: fixed; inset: 0; z-index: 999; background: var(--bg-3); pointer-events: none;
  transform: translateY(100%); transition: transform .7s var(--ease-in-out);
}
.page-curtain::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); }
body.is-leaving .page-curtain { transform: translateY(0); pointer-events: all; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 998; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(var(--text-rgb),.45); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s, opacity .3s; mix-blend-mode: normal; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); opacity: 0; transition: opacity .2s; }
body.has-cursor .cursor, body.has-cursor .cursor-dot { opacity: 1; }
body.cursor-hover .cursor { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }
body.cursor-label .cursor { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); border-color: var(--accent); }
body.cursor-label .cursor__label { opacity: 1; }
body.cursor-label .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); transition: transform .6s var(--ease), background .4s, height .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled { background: rgba(var(--bg-rgb),.8); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); --header-h: 72px; }
.header.is-hidden { transform: translateY(-100%); }
body.menu-open .header { transform: none; background: transparent; border-color: transparent; backdrop-filter: none; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; position: relative; z-index: 2; }
.logo img { max-height: 46px; width: auto; }
.logo__mark { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo__sub { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 15px; letter-spacing: .18em; }
.logo--lg .logo__mark { font-size: 34px; }
.logo--lg .logo__sub { font-size: 20px; }
.nav { display: flex; gap: 4px; padding: 6px; border-radius: 99px; background: rgba(var(--text-rgb),.04); border: 1px solid var(--line); }
.nav__link { position: relative; padding: 9px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .3s, background .3s; }
.nav__link:hover { color: var(--text); }
.nav__link.active { color: var(--accent-ink); background: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.header__actions .icon-btn { width: 42px; height: 42px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* Fullscreen menu */
.menu { position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 90; visibility: hidden; pointer-events: none; }
.menu__bg { position: absolute; inset: 0; background: var(--bg-2); clip-path: circle(0% at calc(100% - 50px) 40px); transition: clip-path .9s var(--ease-in-out); }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; align-content: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; color: var(--text-2); opacity: 0; transform: translateY(24px); transition: color .3s, padding .4s var(--ease), opacity .6s var(--ease), transform .8s var(--ease); }
.menu__link::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .35; transition: opacity .3s, transform .4s var(--ease); }
.menu__link:hover::after, .menu__link.active::after { opacity: 1; transform: translateX(4px) rotate(45deg); }
.menu__link small { min-width: 24px; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--accent); font-variant-numeric: tabular-nums; }
.menu__link:hover, .menu__link.active { color: var(--text); }
.menu__link:hover { color: var(--accent); padding-left: 6px; }
.menu__info { display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity .6s .4s; }
.menu__info a { font-size: 17px; font-weight: 600; }
body.menu-open .menu { visibility: visible; pointer-events: all; }
body.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 50px) 40px); }
body.menu-open .menu__link { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .05s); }
body.menu-open .menu__info { opacity: 1; }

.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 clamp(70px, 10vh, 120px); }
.hero__media { position: absolute; inset: -6% 0 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; will-change: opacity; transform: translateZ(0); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__slide img { will-change: transform; transform: scale(1.08) translateZ(0); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero__slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translateZ(0); } to { transform: scale(1.01) translateZ(0); } }
.hero__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.1) 30%, rgba(10,10,11,.35) 60%, rgba(10,10,11,.96) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(10,10,11,.6), transparent 60%); }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(46px, 8.6vw, 132px); line-height: .95; font-weight: 800; letter-spacing: -.05em; margin: 14px 0 26px; max-width: 12ch; }
.hero__title em { display: inline-block; }
.hero__sub { max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.82); margin-bottom: 30px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.hero__proof small { display: block; color: rgba(255,255,255,.75); font-size: 13px; }
.hero__avatars { display: flex; }
.hero__avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -12px; }
.hero__avatars img:first-child { margin-left: 0; }
.hero__dots { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(70px, 10vh, 120px); display: flex; flex-direction: column; gap: 12px; }
.hero__dots button { width: 3px; height: 46px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; }
.hero__dots button i { display: block; width: 100%; height: 0; background: var(--accent); }
.hero__dots button.is-active i { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { height: 100%; } }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.stars { display: inline-flex; gap: 2px; color: rgba(var(--text-rgb),.18); }
.stars i { display: inline-flex; }
.stars i.on { color: #f5b94a; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; user-select: none; --speed: 40s; }
.marquee__track { display: flex; flex-shrink: 0; min-width: 100%; animation: marquee var(--speed) linear infinite; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee[data-pause-hover]:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--accent { background: var(--accent); color: var(--accent-ink); padding: 22px 0; --speed: 36s; }
.marquee--accent span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; padding: 0 28px; white-space: nowrap; }
.marquee--accent span:nth-child(4n+3) { font-family: var(--display); font-style: italic; }
.marquee--accent i { display: inline-flex; }
.marquee--cards { padding: 12px 0; --speed: 70s; }
.marquee--cards .marquee__group { gap: 20px; padding-right: 20px; align-items: stretch; }
.marquee--cards .review { width: 400px; }

/* ---------- About preview ---------- */
.about-preview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-preview__media { position: relative; padding: 0 12% 18% 0; }
.about-preview__img1 { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-preview__img1 img, .about-preview__img2 img { width: 100%; height: 100%; object-fit: cover; }
.about-preview__img2 { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--bg); }
.badge-circle { position: absolute; top: 8%; right: 2%; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.badge-circle__text { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge-circle__text text { font-size: 14.5px; font-weight: 700; letter-spacing: .22em; fill: var(--accent-ink); }
.badge-circle__num { text-align: center; line-height: 1; }
.badge-circle__num strong { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.badge-circle__num small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checklist .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(var(--accent-rgb), .14); color: var(--accent); margin-top: 1px; }
.checklist--sm { gap: 8px; font-size: 14px; }
.checklist--grid { grid-template-columns: 1fr 1fr; }
.founder-mini { display: flex; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.founder-mini img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.founder-mini strong { display: block; }
.founder-mini small { color: var(--muted); }
.founder-mini .btn { margin-left: auto; }

/* ---------- Stats ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(34px, 5vw, 60px) 24px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat__icon { color: var(--accent); display: inline-flex; margin-bottom: 16px; }
.stat__num { display: flex; align-items: baseline; font-size: clamp(44px, 5.4vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); font-size: .6em; margin-left: 4px; }
.stat p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .title { margin: 0; max-width: 16ch; }
.section-head__side { max-width: 380px; color: var(--muted); }
.section-head__side p { margin-bottom: 18px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .title { max-width: 20ch; margin: 0 auto; }

/* ---------- Filters / work grid ---------- */
.filters, .cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-tabs--inline { margin: 0; }
.filter { padding: 10px 20px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .35s var(--ease); }
.filter:hover { border-color: var(--text); color: var(--text); }
.filter.is-active { background: var(--text); color: var(--on-text); border-color: var(--text); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 20px; }
.work-grid--3 { grid-auto-rows: 380px; }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); transition: opacity .5s, transform .6s var(--ease); }
.work-card--tall { grid-row: span 2; }
.work-card.is-hidden { display: none; }
.work-card__media { position: absolute; inset: 0; display: block; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.work-card:hover img { transform: scale(1.08); }
.work-card__overlay { color: #fff; position: absolute; inset: auto 0 0; padding: 26px; background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(18px); opacity: .92; transition: transform .6s var(--ease), opacity .4s; }
.work-card:hover .work-card__overlay { transform: none; opacity: 1; }
.work-card__overlay h3 { margin: 6px 0 4px; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.work-card__overlay p { margin: 0; font-size: 13px; color: rgba(255,255,255,.7); display: flex; gap: 6px; align-items: center; }
.work-card__play { position: absolute; top: 20px; right: 20px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); color: #fff; transition: all .4s var(--ease); }
.work-card:hover .work-card__play { background: var(--accent); color: var(--accent-ink); transform: scale(1.1); }

.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 56px; }
.cat-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card div { color: #fff; position: absolute; inset: auto 0 0; padding: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.cat-card h3 { margin: 0; font-size: 17px; line-height: 1.2; }
.cat-card span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); transition: all .4s var(--ease); flex-shrink: 0; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card:hover span { background: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }

/* ---------- Services list (hover image) ---------- */
.svc-list { position: relative; border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 60px 56px 1.1fr 1.4fr auto 56px; align-items: center; gap: 24px;
  padding: 30px 8px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; z-index: 1;
}
.svc-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--accent-rgb), .1), transparent 70%); opacity: 0; transition: opacity .5s; z-index: -1; }
.svc-row:hover { padding-left: 24px; }
.svc-row:hover::before { opacity: 1; }
.svc-row__num { color: var(--muted); font-size: 14px; }
.svc-row__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); transition: all .4s var(--ease); }
.svc-row:hover .svc-row__icon { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.svc-row__title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; transition: color .3s; }
.svc-row:hover .svc-row__title { color: var(--accent); font-family: var(--display); font-style: italic; }
.svc-row__desc { color: var(--muted); font-size: 15px; }
.svc-row__price { text-align: right; font-weight: 700; font-size: 18px; white-space: nowrap; }
.svc-row__price small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.svc-row__arrow { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transition: transform .5s var(--ease); }
.svc-row:hover .svc-row__arrow { transform: rotate(45deg); color: var(--accent); }
.hover-img { position: fixed; top: 0; left: 0; width: 300px; height: 380px; border-radius: var(--radius); overflow: hidden; pointer-events: none; z-index: 50; opacity: 0; transform: scale(.7); transition: opacity .35s, transform .5s var(--ease); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
.hover-img.is-on { opacity: 1; transform: scale(1); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { position: relative; padding: 38px 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
.why-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(rgba(var(--accent-rgb), .22), transparent 70%); opacity: 0; transition: opacity .5s; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); }
.why-card:hover::after { opacity: 1; }
.why-card__num { position: absolute; top: 28px; right: 32px; font-size: 13px; color: var(--muted); }
.why-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(var(--accent-rgb), .12); color: var(--accent); margin-bottom: 26px; }
.why-card h3 { font-size: 21px; margin: 0 0 10px; letter-spacing: -.02em; }
.why-card p { color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.review { position: relative; margin: 0; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; height: 100%; }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text-2); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption small { color: var(--muted); font-size: 13px; }
.review__src { position: absolute; top: 28px; right: 28px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--accent), #8a6a3a); display: grid; place-items: center; font-weight: 700; color: var(--accent-ink); flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.reviews-band .section-head { margin-bottom: 40px; }
.review-grid { columns: 3 320px; column-gap: 20px; margin-top: 50px; }
.review-grid > div { break-inside: avoid; margin-bottom: 20px; }
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; padding: 40px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.rating-summary__score { text-align: center; padding-right: 50px; border-right: 1px solid var(--line); }
.rating-summary__score strong { display: block; font-size: 76px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.rating-summary__score small { display: block; color: var(--muted); margin-top: 6px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; margin-bottom: 24px; }
.star-input input { display: none; }
.star-input label { color: rgba(var(--text-rgb),.18); cursor: pointer; transition: color .2s, transform .2s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5b94a; }
.star-input label:hover { transform: scale(1.15); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card__media { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--bg-3); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s, transform 1.2s var(--ease); }
.team-card:hover img { filter: none; transform: scale(1.06); }
.team-card__social { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 8px; transform: translateY(20px); opacity: 0; transition: all .5s var(--ease); }
.team-card__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #111; }
.team-card:hover .team-card__social { transform: none; opacity: 1; }
.team-card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.team-card p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); }
.product-card__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 24px; }
.product-card__body h3 { margin: 8px 0 18px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price del { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.price small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.price span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- Instagram ---------- */
.insta__head { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.insta__head .title { margin: 0; }
.insta__head .btn { margin-left: auto; }
.insta__head .eyebrow { margin-bottom: 6px; }
.insta__badge { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.insta-item { position: relative; aspect-ratio: 1; overflow: hidden; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .4s; }
.insta-item__icon { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: #fff; opacity: 0; transform: scale(.6); transition: all .5s var(--ease); }
.insta-item:hover img { transform: scale(1.1); }
.insta-item:hover::after { opacity: 1; }
.insta-item:hover .insta-item__icon { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 20px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .4s var(--ease); }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq__a { color: var(--muted); padding: 0 60px 24px 0; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card__media { display: block; aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card h3 { margin: 10px 0 8px; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.post-card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.post-card:hover h3 a { background-size: 100% 1px; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta--center { justify-content: center; }
.post-card--big { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.post-card--big .post-card__media { margin: 0; aspect-ratio: 16/10; }
.post-card--big h3 { font-size: clamp(26px, 3vw, 40px); }
.blog-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 48px; border-radius: 99px; border: 1px solid var(--line-2); min-width: 260px; color: var(--muted); }
.search input { background: none; border: 0; outline: 0; flex: 1; color: var(--text); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); }
.pagination a.active, .pagination a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; text-align: center; }
.cta__bg { position: absolute; inset: -15% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(10,10,11,.55), rgba(10,10,11,.88)); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(38px, 6.4vw, 96px); line-height: 1; font-weight: 800; letter-spacing: -.045em; margin: 0 0 24px; max-width: 14ch; }
.cta__text { max-width: 560px; color: rgba(255,255,255,.8); font-size: 18px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 90px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; }
.footer__brand p { color: var(--muted); max-width: 320px; margin: 22px 0; }
.footer__col h4 { margin: 0 0 20px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.footer__col a { display: block; padding: 6px 0; color: var(--text-2); transition: color .3s, transform .4s var(--ease); }
.footer__col a:hover { color: var(--text); transform: translateX(6px); }
.footer__news p { color: var(--muted); }
.newsletter { display: flex; padding: 6px; border-radius: 99px; border: 1px solid var(--line-2); margin-bottom: 22px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 16px; color: var(--text); }
.newsletter button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform .4s var(--ease); }
.newsletter button:hover { transform: rotate(-45deg); }
.footer__contact a { display: flex !important; align-items: center; gap: 10px; }
.footer__giant { font-size: clamp(64px, 15.5vw, 250px); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center; white-space: nowrap; margin: 80px 0 -0.08em; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.to-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.to-top:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-4px); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 0; height: 60px; padding: 0 17px; border-radius: 99px; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37,211,102,.6); transition: gap .5s var(--ease), padding .5s var(--ease), transform .4s var(--ease); }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; transition: max-width .6s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px; }
.wa-float:hover span { max-width: 140px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -500px; transform: translateX(-50%); background: radial-gradient(rgba(var(--accent-rgb), .16), transparent 65%); pointer-events: none; }
.page-hero--img { min-height: 72vh; display: flex; align-items: flex-end; border: 0; }
.page-hero__bg { position: absolute; inset: -10% 0 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.6), rgba(10,10,11,.25) 40%, rgba(10,10,11,.95)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { font-size: clamp(44px, 8vw, 120px); line-height: .95; font-weight: 800; letter-spacing: -.05em; margin: 0 0 22px; max-width: 15ch; }
.page-hero__sub { max-width: 600px; font-size: 18px; color: var(--text-2); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(var(--text-rgb),.6); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }
.crumbs em { font-style: normal; color: var(--text); }
.crumbs--center { justify-content: center; }
.crumbs--dark { padding-top: calc(var(--header-h) + 20px); }

/* ---------- Split / prose ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; grid-template-columns: 1.5fr 1fr; }
.stack-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stack-imgs > div { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.stack-imgs > div:nth-child(2) { margin-top: 70px; }
.stack-imgs img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--text-2); font-size: 17px; line-height: 1.8; }
.prose h2, .prose h3 { color: var(--text); letter-spacing: -.02em; line-height: 1.25; margin: 1.6em 0 .6em; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 22px; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius-sm); margin: 1.6em 0; }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.35em; color: var(--text); line-height: 1.5; }
.prose--article { font-size: 18px; }
.prose--article > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .85; padding: 6px 12px 0 0; color: var(--accent); }

/* ---------- Founder / timeline ---------- */
.founder__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.founder__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__role { color: var(--accent); font-weight: 600; margin-top: -10px; }
.pull-quote { margin: 28px 0; padding: 30px; border-radius: var(--radius); background: rgba(var(--accent-rgb), .07); border: 1px solid rgba(var(--accent-rgb), .2); }
.pull-quote .ico { color: var(--accent); margin-bottom: 12px; }
.pull-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--text); }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line-2) 8%, var(--line-2) 92%, transparent); }
.timeline__item { position: relative; display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; margin-bottom: 40px; }
.timeline__year { text-align: right; font-size: clamp(40px, 5vw, 72px); font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .7); }
.timeline__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); margin: 0 auto; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(var(--accent-rgb), .4); position: relative; z-index: 1; }
.timeline__card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.timeline__card h3 { margin: 0 0 8px; font-size: 20px; }
.timeline__card p { margin: 0; color: var(--muted); }
.timeline__card img { border-radius: 12px; margin-bottom: 16px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.timeline__item:nth-child(even) .timeline__year { order: 3; text-align: left; }
.timeline__item:nth-child(even) .timeline__dot { order: 2; }
.timeline__item:nth-child(even) .timeline__card { order: 1; }
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vm-card { padding: 40px 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.vm-card__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); margin-bottom: 24px; }
.vm-card h3 { font-size: 24px; margin: 0 0 12px; }
.vm-card p { color: var(--muted); margin: 0; }
.vm-card .checklist { margin: 0; }
.award-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.award { padding: 40px 30px 40px 0; border-bottom: 1px solid var(--line); }
.award__icon { color: var(--accent); display: inline-flex; margin-bottom: 18px; }
.award h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.award p { color: var(--muted); margin: 0; }

/* ---------- Project ---------- */
.project-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 80px; overflow: hidden; }
.project-hero__bg { position: absolute; inset: -10% 0 0; }
.project-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.5), transparent 40%, rgba(10,10,11,.95)); }
.project-hero__inner { position: relative; z-index: 2; }
.play-btn { display: inline-flex; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.play-btn span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); position: relative; transition: transform .5s var(--ease); }
.play-btn span::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .6); animation: ring 2s infinite; }
.play-btn:hover span { transform: scale(1.1); }
.project-meta { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.project-meta__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.project-meta__facts small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.project-meta__facts strong { font-size: 17px; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame--ig { aspect-ratio: auto; height: 720px; max-width: 420px; margin: 0 auto; background: #fff; }
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery__item { display: block; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; }
.gallery__item img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.project-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-nav__link small { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.project-nav__link strong { font-size: clamp(18px, 2.4vw, 30px); letter-spacing: -.02em; transition: color .3s; }
.project-nav__link:hover strong { color: var(--accent); }
.project-nav__link--next { text-align: right; }
.project-nav__link--next small { justify-content: flex-end; }

/* ---------- Service pages ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-card { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.svc-card:hover { border-color: rgba(var(--accent-rgb), .4); transform: translateY(-4px); }
.svc-card__media { position: relative; overflow: hidden; min-height: 340px; }
.svc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__icon { position: absolute; top: 18px; left: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.svc-card__body { padding: 30px; display: flex; flex-direction: column; }
.svc-card__num { font-size: 13px; color: var(--muted); }
.svc-card__body h3 { font-size: 26px; margin: 6px 0 10px; letter-spacing: -.03em; }
.svc-card__body > p { color: var(--muted); font-size: 15px; }
.svc-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.process__step { position: relative; padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.process__num { position: absolute; top: 24px; right: 26px; font-size: 48px; font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line-2); line-height: 1; }
.process__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); margin-bottom: 22px; }
.process__step h3 { margin: 0 0 8px; font-size: 20px; }
.process__step p { margin: 0; color: var(--muted); font-size: 15px; }
.side-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.side-card h4 { margin: 0 0 6px; font-size: 19px; }
.side-card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.side-card small { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.side-card__price { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: -8px; }
.side-card__price span { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.side-card p { color: var(--muted); margin: 0; }
.side-card__phone { display: flex; justify-content: center; gap: 8px; align-items: center; color: var(--text-2); }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.price-card { position: relative; padding: 40px 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card--popular { border-color: var(--accent); background: linear-gradient(180deg, rgba(var(--accent-rgb), .12), var(--card) 60%); transform: scale(1.03); }
.price-card__ribbon { position: absolute; top: -14px; left: 34px; padding: 6px 14px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.price-card h3 { margin: 0 0 14px; font-size: 22px; }
.price-card__price { font-size: 44px; font-weight: 800; letter-spacing: -.04em; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); line-height: 1; }
.price-card__price span { display: block; font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 8px; }
.price-card .checklist { flex: 1; }
.mini-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-svc__item { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); transition: all .4s var(--ease); }
.mini-svc__item span { color: var(--accent); }
.mini-svc__item strong { flex: 1; }
.mini-svc__item:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Store ---------- */
.store-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 50px; }
.store-perks > div { display: flex; gap: 14px; align-items: center; padding: 22px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); color: var(--accent); }
.store-perks span { color: var(--muted); font-size: 13px; }
.store-perks strong { display: block; color: var(--text); font-size: 15px; }
.note-card { display: flex; gap: 14px; align-items: center; padding: 22px 26px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); margin-top: 40px; color: var(--accent); text-align: left; }
.note-card p { margin: 0; color: var(--text-2); }
.note-card a { color: var(--accent); font-weight: 600; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-top: 20px; }
.product__main { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.product__thumbs a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { position: sticky; top: calc(var(--header-h) + 20px); }
.product__title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.04em; margin: 10px 0 18px; }
.product__price { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.product__price strong { font-size: 42px; letter-spacing: -.04em; }
.product__price del { color: var(--muted); font-size: 20px; }
.product__price .badge { position: static; }
.product__box { margin: 30px 0 20px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.product__box h4 { margin: 0 0 16px; }
.product__box .checklist { margin: 0; }
.product__compat { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.product__compat a { color: var(--text-2); text-decoration: underline; }
.ba { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; user-select: none; --pos: 50%; max-width: 1100px; margin: 0 auto; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: saturate(.55) brightness(.9) contrast(.9); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 20px; padding: 6px 14px; border-radius: 99px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba__label--l { left: 20px; }
.ba__label--r { right: 20px; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.form-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 22px; letter-spacing: -.02em; }
.form-card h3:not(:first-of-type) { margin-top: 34px; }
.form-card--success { text-align: center; }
.form-card--success .btn-row { justify-content: center; }
.step { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); outline: none;
  transition: border-color .3s, box-shadow .3s; font-size: 15px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }
.field input[type=date] { color-scheme: var(--scheme); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin: 6px 0 22px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check a { color: var(--accent); }
.chips-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-radio input { display: none; }
.chips-radio span { display: inline-block; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; transition: all .3s; }
.chips-radio input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: 14px; }
.alert p { margin: 0; }
.alert--error { background: rgba(240,80,80,.1); border: 1px solid rgba(240,80,80,.3); color: var(--err); }
.success-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.pay-box { display: flex; gap: 22px; align-items: flex-start; padding: 22px; border-radius: 16px; background: var(--bg); border: 1px dashed rgba(var(--accent-rgb), .45); margin-bottom: 20px; }
.pay-box__qr { width: 150px; border-radius: 12px; background: #fff; padding: 6px; }
.pay-box__upi { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pay-box .btn { margin: 4px 8px 12px 0; }
.checkout .title { margin-top: 10px; }
.checkout__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.summary h3 { margin: 0 0 20px; }
.summary__item { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.summary__item img { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; }
.summary__item small { display: block; color: var(--muted); }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-2); }
.summary__row--save { color: #6fd39a; }
.summary__row--total { font-size: 22px; font-weight: 800; color: var(--text); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; margin-bottom: 20px; }
.order-list { display: grid; gap: 12px; margin-bottom: 30px; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.order-row small { display: block; color: var(--muted); font-size: 12px; }

.book { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.book__side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.book__side .side-card { position: static; }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border: 0; }
.contact-line > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); flex-shrink: 0; }
.contact-line small { display: block; color: var(--muted); font-size: 12px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.steps span { color: var(--muted); font-size: 14px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: all .5s var(--ease); }
.contact-card > span { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); margin-bottom: 14px; transition: all .4s; }
.contact-card small { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.contact-card strong { font-size: 17px; line-height: 1.4; word-break: break-word; }
.contact-card em { font-style: normal; color: var(--muted); font-size: 13px; margin-top: auto; padding-top: 10px; display: flex; gap: 6px; align-items: center; }
a.contact-card:hover { border-color: var(--accent); transform: translateY(-5px); }
a.contact-card:hover > span { background: var(--accent); color: var(--accent-ink); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
[data-theme="dark"] .map iframe { filter: grayscale(1) invert(.92) contrast(.9); }
.map__card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px; border-radius: 16px; background: rgba(var(--bg-rgb),.92); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.map__card p { color: var(--muted); font-size: 14px; margin: 4px 0 12px; }
.areas { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 40px; color: var(--muted); }
.join { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 50px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(var(--accent-rgb), .14), var(--card)); border: 1px solid rgba(var(--accent-rgb), .25); flex-wrap: wrap; }
.join .title { margin-bottom: 8px; }
.join p { margin: 0; }

/* ---------- Blog post ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; }
.read-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.post-hero { padding-bottom: 50px; }
.post-hero__title { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 24px; }
.post-hero__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/9; margin-top: 50px; }
.post-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 50px 0 100px; padding-top: 30px; border-top: 1px solid var(--line); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.share { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); transition: all .3s; }
.share a:hover, .share button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Misc ---------- */
.empty { text-align: center; padding: 80px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty .ico { margin: 0 auto 14px; }
.error-page { min-height: 90vh; display: grid; place-items: center; padding: 140px 0 80px; }
.error-page__code { font-size: clamp(120px, 22vw, 280px); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.error-page .title { margin-top: 10px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5,5,6,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(92vw, 1500px); height: 86vh; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 86vh; border-radius: 10px; object-fit: contain; animation: lbIn .6s var(--ease); }
.lightbox__stage iframe, .lightbox__stage video { width: min(92vw, 1400px); aspect-ratio: 16/9; height: auto; max-height: 86vh; border: 0; border-radius: 12px; background: #000; animation: lbIn .6s var(--ease); }
.lightbox__stage iframe.is-ig { width: min(92vw, 420px); aspect-ratio: auto; height: 86vh; background: #fff; }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; z-index: 2; transition: all .4s var(--ease); }
.lightbox__close:hover { background: #fff; color: #111; transform: rotate(90deg); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; z-index: 2; transition: all .3s; }
.lightbox__nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lightbox__prev { left: 22px; }
.lightbox__next { right: 22px; }
.lightbox.single .lightbox__nav, .lightbox.single .lightbox__count { display: none; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); letter-spacing: .2em; }

/* Toasts */
.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 600; display: grid; gap: 10px; }
.toast { display: flex; gap: 12px; align-items: center; max-width: 380px; padding: 16px 20px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0,0,0,.4); animation: toastIn .7s var(--ease), toastOut .6s var(--ease) 5.5s forwards; font-size: 14px; }
.toast--success .ico { color: #6fd39a; }
.toast--error .ico { color: #f07070; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); visibility: hidden; } }

/* ---------- Reveal animations (JS adds .js to <html>) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js [data-reveal="clip"] img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-line > span { display: inline-block; }
.js [data-split] .split-line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--l, 0) * 90ms); }
.js [data-split].is-in .split-line > span { transform: none; }
.js body.is-loading .hero [data-split] .split-line > span { transition-delay: 0s; }

.show-mobile { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .svc-row { grid-template-columns: 50px 1fr auto 40px; }
  .svc-row__icon, .svc-row__desc { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .store-perks, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-cards { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .about-preview__grid, .split, .split--top, .founder__grid, .faq-wrap, .project-meta, .product, .checkout__grid, .book, .contact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .why-grid, .product-grid, .post-grid, .vm-grid, .award-list, .mini-svc { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .post-card--big { grid-template-columns: 1fr; gap: 24px; }
  .menu__inner { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 34px; padding-top: calc(var(--header-h) + 16px); padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .timeline::before { left: 20px; }
  .timeline__item, .timeline__item:nth-child(even) { grid-template-columns: 40px 1fr; gap: 0 16px; }
  .timeline__item .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { order: 0; grid-row: span 2; margin: 14px 0 0 12px; }
  .timeline__item .timeline__year, .timeline__item:nth-child(even) .timeline__year { order: 0; text-align: left; font-size: 40px; }
  .timeline__item .timeline__card, .timeline__item:nth-child(even) .timeline__card { order: 0; }
  .side-card, .product__info, .summary, .book__side { position: static; }
  .rating-summary { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .rating-summary__score { border: 0; padding: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .rating-summary .btn-row { justify-content: center; }
  .price-card--popular { transform: none; }
  .hero__dots { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hide-sm { display: none !important; }
  .show-mobile { display: inline-flex !important; }
  .work-grid, .work-grid--3 { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .work-card--tall { grid-row: span 1; }
  .why-grid, .product-grid, .post-grid, .vm-grid, .award-list, .team-grid, .process, .mini-svc, .store-perks, .contact-cards, .form-grid, .checklist--grid, .footer__top { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-card h3 { font-size: 16px; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-card__media { min-height: 240px; }
  .svc-row { grid-template-columns: 36px 1fr 36px; gap: 14px; padding: 24px 4px; }
  .svc-row__price { display: none; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .marquee--cards .review { width: 300px; }
  .about-preview__media { padding: 0 8% 22% 0; }
  .badge-circle { width: 112px; height: 112px; }
  .badge-circle__num strong { font-size: 30px; }
  .hero__proof { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .pay-box { flex-direction: column; }
  .project-meta__facts { grid-template-columns: 1fr 1fr; }
  .project-nav__link strong { font-size: 15px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; width: 48px; height: 48px; }
  .faq__item summary { font-size: 17px; }
  .faq__a { padding-right: 0; }
  .join { padding: 30px; }
  .wa-float { right: 14px; bottom: 14px; height: 54px; padding: 0 14px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .order-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .split-line > span { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Light-theme polish: soft card shadows ---------- */
.why-card, .review, .product-card, .svc-card, .price-card, .form-card, .side-card, .summary, .vm-card, .timeline__card,
.process__step, .contact-card, .store-perks > div, .mini-svc__item, .rating-summary, .project-meta__facts, .order-row { box-shadow: var(--shadow); }
[data-theme="light"] .work-card, [data-theme="light"] .team-card__media, [data-theme="light"] .post-card__media { box-shadow: 0 20px 40px -28px rgba(16,24,40,.45); }
[data-theme="light"] .page-hero:not(.page-hero--img) { background: linear-gradient(180deg, #f3f7fb, #fff); }
[data-theme="light"] .stats-band { background: #fff; }

/* ---------- Brand logo ---------- */
.logo__img { height: 34px; width: auto; display: block; }
.logo--lg .logo__img { height: 46px; }
.logo__img--on-dark { display: none; }
[data-theme="dark"] .logo__img--on-light, .force-dark .logo__img--on-light,
body.has-hero:not(.menu-open) .header:not(.is-scrolled) .logo__img--on-light { display: none; }
[data-theme="dark"] .logo__img--on-dark, .force-dark .logo__img--on-dark,
body.has-hero:not(.menu-open) .header:not(.is-scrolled) .logo__img--on-dark { display: block; }
.preloader__brand { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader__mark { height: 96px; width: auto; animation: markIn 1.1s var(--ease) both; }
.preloader__word { height: clamp(34px, 6vw, 58px); max-width: 80vw; width: auto; clip-path: inset(0 100% 0 0); animation: wordIn 1.1s var(--ease-in-out) .35s forwards; }
@keyframes markIn { from { opacity: 0; transform: translateY(30px) scale(.85); } }
@keyframes wordIn { to { clip-path: inset(0 0 0 0); } }

/* ---------- Touch devices (iPhone / iPad / Android): smooth, lighter effects ---------- */
@media (hover: none), (pointer: coarse) {
  /* no scroll-linked parallax on touch: backgrounds sit flush, nothing repaints while scrolling */
  .hero__media, .page-hero__bg, .project-hero__bg { inset: 0; transform: none !important; }
  .cta__bg { inset: 0; transform: none !important; }
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(var(--bg-rgb), .96); }
  .btn--glass, .eyebrow--pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Phones: refined, modern type scale ---------- */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .logo__img { height: 26px; }
  .hero { padding-bottom: 56px; }
  .hero__title { font-size: clamp(36px, 10.5vw, 48px); letter-spacing: -.04em; margin: 12px 0 18px; }
  .hero__sub { font-size: 15px; margin-bottom: 24px; }
  .hero__proof { margin-top: 30px; }
  .eyebrow--pill { font-size: 10px; letter-spacing: .1em; padding: 7px 12px; }
  .btn--lg { --h: 52px; padding: 0 24px; font-size: 15px; }
  .btn-row .btn { flex: 1 1 auto; }
  .title { font-size: clamp(28px, 8vw, 36px); letter-spacing: -.03em; }
  .title--sm { font-size: 26px; }
  .page-hero__title { font-size: clamp(34px, 10vw, 44px); letter-spacing: -.04em; }
  .page-hero__sub { font-size: 15px; }
  .cta__title { font-size: clamp(32px, 9vw, 42px); }
  .lead { font-size: 16px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .marquee--accent { padding: 14px 0; }
  .marquee--accent span { font-size: 18px; padding: 0 16px; }
  .stat__num { font-size: 40px; }
  .menu__link { font-size: 22px; padding: 11px 0; }
  .menu__info a { font-size: 16px; }
  .faq__item summary { font-size: 16px; padding: 20px 0; }
  .footer__giant { margin-top: 50px; }
  .post-hero__title { font-size: clamp(30px, 8.5vw, 40px); }
  .product__title { font-size: 32px; }
}

/* ---------- Faded grid-line background (Admin → Appearance → "Grid background") ---------- */
/* Kept deliberately quiet: strongest in page headers, a soft glow behind section headings,
   and gone before cards / text / numbers start. Never shown behind the stats strip. */
:root, [data-theme="light"] { --grid-line: rgba(var(--text-rgb), .045); --grid-line-soft: rgba(var(--text-rgb), .03); --grid-size: 64px; }
[data-theme="dark"] { --grid-line: rgba(255, 255, 255, .04); --grid-line-soft: rgba(255, 255, 255, .025); }
.has-grid .section, .has-grid .post-hero, .has-grid .error-page,
.has-grid .page-hero:not(.page-hero--img) { position: relative; isolation: isolate; }
.has-grid .section::after, .has-grid .post-hero::after, .has-grid .error-page::after,
.has-grid .page-hero:not(.page-hero--img)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center top;
}
/* Page headers / blog header / 404: little content, so the grid can show a bit more */
.has-grid .page-hero:not(.page-hero--img)::after, .has-grid .post-hero::after, .has-grid .error-page::after {
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 50% 20%, #000 10%, rgba(0,0,0,.45) 50%, transparent 85%);
          mask-image: radial-gradient(ellipse 75% 90% at 50% 20%, #000 10%, rgba(0,0,0,.45) 50%, transparent 85%);
}
/* Content sections: only a soft patch behind the heading, faded out well before the content */
.has-grid .section::after {
  background-image:
    linear-gradient(to right, var(--grid-line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-soft) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 55% 340px at 50% 0, #000 0, rgba(0,0,0,.35) 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 55% 340px at 50% 0, #000 0, rgba(0,0,0,.35) 55%, transparent 100%);
}
@media (max-width: 640px) {
  :root { --grid-size: 44px; }
  .has-grid .section::after { -webkit-mask-image: radial-gradient(ellipse 90% 240px at 50% 0, #000 0, rgba(0,0,0,.3) 55%, transparent 100%); mask-image: radial-gradient(ellipse 90% 240px at 50% 0, #000 0, rgba(0,0,0,.3) 55%, transparent 100%); }
}
