/* Creanity — site styles on top of the template (loads after main.css).
   Brand: yellow #FCD80C + near-black, from the Creanity logo / Instagram. */

:root {
  --at-theme-primary: #FCD80C;
  --at-theme-primary-ink: #8A6D00;
  --at-on-primary: #111111;
  --cr-y: #FCD80C;
  --cr-ink: #111111;
  --cr-dark: #0e0e0e;
  --cr-dark-2: #171717;
  --cr-text: #2b2b2b;
  --cr-muted: #6b6b6b;
  --cr-line: rgba(0, 0, 0, 0.1);
  --cr-tint: #f6f4ec;
  --cr-radius: 18px;
  --cr-gutter: clamp(16px, 4vw, 40px);
}
::selection { background: var(--cr-y); color: var(--cr-ink); }

/* Stop sideways wobble from decorative elements */
html, body, #smooth-content { overflow-x: hidden; overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.cr-site { background: #fff; color: var(--cr-text); }
.cr-skip { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: var(--cr-y); color: var(--cr-ink); padding: 10px 16px; border-radius: 8px; }
.cr-skip:focus { left: 8px; }
.cr-logo { display: inline-flex; align-items: center; }
.cr-logo img { height: 34px; width: auto; }
@media (max-width: 575.98px) { .cr-logo img { height: 28px; } }
.at-offcanvas .cr-logo img, .at-offcanvas-2-left .cr-logo img { height: 30px; }
.cr-site .at-main-menu nav > ul > li.active > a { color: var(--cr-ink); text-decoration: underline; text-decoration-color: var(--cr-y); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cr-site :focus-visible { outline: 2px solid var(--cr-y); outline-offset: 3px; }


/* ---------- template sections, Creanity tweaks ---------- */
.at-hero-area { background-size: cover; background-position: center; }
.at-hero-title .d-block { display: block; }
.cr-y { color: var(--cr-y) !important; }
.at-hero-video video { aspect-ratio: 4 / 5; object-fit: cover; }

/* project photo count badge */
.mg-portfolio-thumb a { position: relative; display: block; }
.cr-count { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1; background: var(--cr-y); color: var(--cr-ink); pointer-events: none; }

/* work page grid (template portfolio cards in two columns) */
.cr-work .mg-portfolio-thumb img { aspect-ratio: 4 / 3; object-fit: cover; }
.cr-work .mg-portfolio-item { margin-bottom: 0 !important; }
.cr-work .filter-btn.active { background: var(--cr-ink); color: var(--cr-y); border-color: var(--cr-ink); }
@media (max-width: 767.98px) {
  .cr-work .filter-portfolio { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .cr-work .filter-portfolio::-webkit-scrollbar { display: none; }
  .cr-work .filter-btn { white-space: nowrap; flex: 0 0 auto; }
}

/* segments shown in the template team cards */
.team-card .team-card-name h3 { color: #fff; }

/* inner pages */
.cr-pagehead { padding-top: clamp(130px, 14vw, 190px) !important; }
.cr-pagebanner { height: clamp(260px, 42vw, 620px); }
.cr-pagebanner img { width: 100%; height: 100%; object-fit: cover; }
.cr-svc-row { scroll-margin-top: 110px; }
.cr-dot { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--cr-y); }

/* ---------- contact ---------- */
.cr-form { background: var(--cr-tint); border-radius: var(--cr-radius); padding: clamp(22px, 4vw, 40px); }
.cr-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.cr-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cr-ink); }
.cr-form input, .cr-form select, .cr-form textarea { width: 100%; border: 1.5px solid rgba(0,0,0,.12); background: #fff; border-radius: 12px; padding: 13px 14px; font: inherit; font-weight: 400; color: var(--cr-ink); }
.cr-form input:focus, .cr-form select:focus, .cr-form textarea:focus { outline: none; border-color: var(--cr-ink); }
.cr-form__full { grid-column: 1 / -1; }
.cr-form__error { color: #b42318; font-weight: 600; }
.cr-form .nice-select { display: none !important; }
.cr-form select { display: block !important; appearance: auto; }
@media (max-width: 575.98px) { .cr-form__grid { grid-template-columns: 1fr; } }

.cr-map { height: clamp(300px, 40vw, 440px); background: #eee; }
.cr-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- floating WhatsApp ---------- */
.cr-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.cr-wa:hover { transform: scale(1.06); color: #fff; }
.cr-site .back-to-top-wrapper { right: 84px; }

/* gallery popup polish */
.mfp-bg { background: #0b0b0b; opacity: .94; }
.mfp-title { font-weight: 600; }
.mfp-fade.mfp-bg, .mfp-fade.mfp-wrap .mfp-content { opacity: 0; transition: opacity .2s ease; }
.mfp-fade.mfp-bg.mfp-ready { opacity: .94; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }

/* gallery popup polish */
.mfp-bg { background: #0b0b0b; opacity: .94; }
.mfp-title { font-weight: 600; }
.mfp-fade.mfp-bg, .mfp-fade.mfp-wrap .mfp-content { opacity: 0; transition: opacity .2s ease; }
.mfp-fade.mfp-bg.mfp-ready { opacity: .94; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }

/* hero headline: three short lines that never clip */
.at-hero-area .at-hero-title { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.02; }
.at-hero-area .at-hero-title .d-block { white-space: nowrap; }
@media (max-width: 575.98px) { .at-hero-area .at-hero-title { font-size: clamp(30px, 9.6vw, 42px); } }
/* hero fills the first screen with the headline visible (template pushed it below the fold) */
.at-hero-area.at-hero-spacing { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 130px !important; }
.at-hero-area.at-hero-spacing > .container { width: 100%; }
/* closing banner: darken the photo so the white text reads */
.at-banner-thumb.changeless > .position-absolute { background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.25) 40%, rgba(10,10,10,.75) 100%); }
/* phones: lead with the headline; the reel card and blurb would push it off the first screen */
@media (max-width: 767.98px) {
  .at-hero-area .at-hero-video, .at-hero-area .alt-hero-service { display: none; }
  .at-hero-area.at-hero-spacing { padding-top: 110px !important; padding-bottom: 40px; }
}

/* hero: yellow template art + soft dark fade at the bottom so the headline always reads */
.at-hero-area::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,.55) 55%, rgba(12,12,12,.85) 100%); }
.at-hero-area > .container { position: relative; z-index: 2; }

/* Wall of fame: equal white tiles, logos in full colour, two rows drifting in opposite directions */
.cr-wall { background: var(--at-neutral-50, #f6f6f6); }
.cr-wall__rows { display: grid; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cr-wall__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; animation: cr-wall 70s linear infinite; }
.cr-wall__row--rev .cr-wall__track { animation-direction: reverse; animation-duration: 80s; }
.cr-wall__rows:hover .cr-wall__track { animation-play-state: paused; }
.cr-wall__tile { flex: 0 0 auto; width: 200px; height: 112px; display: grid; place-items: center; padding: 18px 22px; background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; transition: transform .3s, box-shadow .3s; }
.cr-wall__tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.cr-wall__tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
@keyframes cr-wall { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 767.98px) {
  .cr-wall__rows, .cr-wall__track { gap: 10px; }
  .cr-wall__tile { width: 140px; height: 84px; padding: 12px 14px; border-radius: 12px; }
  .cr-wall__tile img { max-height: 52px; }
  @keyframes cr-wall { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
}
@media (prefers-reduced-motion: reduce) { .cr-wall__track { animation: none; } .cr-wall__rows { overflow-x: auto; } }

/* closing banner: fixed-height frame, photo taller than the frame so the parallax never shows a gap */
.cr-banner { height: clamp(620px, 88vh, 920px); overflow: hidden; }
.cr-banner .cr-banner__img { position: absolute; left: 0; top: 0; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.cr-banner > .position-absolute { z-index: 1; }
.at-banner-thumb > img.img-cover { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* footer runs edge to edge */
footer.container-2200 { max-width: none; padding-left: 0; padding-right: 0; }
.cr-footer-full { border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- phones ---------- */
@media (max-width: 767.98px) {
  /* decorative cube shapes sat behind the text */
  .at-about-svg-wrap { display: none !important; }

  /* services: compact list — number + title + line of text, photo on the right; drop the big pinned photo */
  .at-service-area .at-service-content { display: none; }
  .at-service-area .at-service-item { display: grid !important; grid-template-columns: 1fr 92px; grid-template-areas: "count thumb" "content thumb"; gap: 2px 14px; align-items: center; padding: 18px 0 !important; }
  .at-service-area .at-service-item .count { grid-area: count; margin: 0 !important; }
  .at-service-area .at-service-item .content { grid-area: content; margin: 0 !important; padding: 0 !important; height: auto !important; max-height: none !important; overflow: visible !important; }
  .at-service-area .at-service-item > .anim-zoomin-wrap { grid-area: thumb; }
  .at-service-area .at-service-item .title, .at-service-area .at-service-item .count { opacity: 1 !important; }
  .at-service-area .at-service-item .thumb { grid-area: thumb; position: static !important; width: 92px !important; height: 92px !important; margin: 0 !important; opacity: 1 !important; transform: none !important; border-radius: 12px; overflow: hidden; }
  .at-service-area .at-service-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .at-service-area .at-service-item .title { font-size: 24px !important; line-height: 1.15 !important; color: var(--cr-ink) !important; margin: 4px 0 6px !important; }
  .at-service-area .at-service-item .text { display: block !important; font-size: 14px; line-height: 1.5; margin: 0; opacity: 1 !important; color: var(--cr-muted); }
  .at-service-area .at-service-item .text br { display: none; }
  .at-service-area .count .number { font-size: 14px; }

  /* why-us stat cards: no tall empty space */
  .at-sec7-area .pt-150 { padding-top: 28px !important; }
  .at-sec7-area .p-5 { padding: 24px !important; }

  /* segments: one card per row, readable caption */
  .team-grid-wrap .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; transform: none !important; margin-top: 0 !important; }
  .team-grid-wrap .team-card { aspect-ratio: 4 / 3; }
  .team-grid-wrap .team-card-image, .team-grid-wrap .team-card-image .anim-zoomin, .team-grid-wrap .team-card-image img { height: 100%; }
  .team-grid-wrap .team-card-name h3 { font-size: 22px !important; }
  .team-grid-wrap .team-card-position { font-size: 14px !important; }
}

/* ---------- more Creanity yellow ---------- */
.cr-hl { background: linear-gradient(transparent 62%, var(--cr-y) 62%, var(--cr-y) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cr-y { color: var(--cr-y) !important; }
/* eyebrow arrows and section numbers */
.at-btn.common-black i, .at-btn.common-black i svg { color: var(--at-theme-primary-ink); }
.at-service-item .count .number, .cr-svc-row .neutral-500:first-child { color: var(--at-theme-primary-ink) !important; }
/* circle arrow buttons next to pill buttons */
.at-btn-circle { background: var(--cr-y) !important; color: var(--cr-ink) !important; border-color: var(--cr-y) !important; }
/* main dark buttons: yellow on hover */
.at-btn:not(.bg-white):not(.at-btn-border-white):not(.common-black):not(.bg-transparent):not(.border-0):not(.filter-btn):hover { background: var(--cr-y) !important; color: var(--cr-ink) !important; border-color: var(--cr-y) !important; }
/* counters band in brand yellow */
.at-sec8-area { background: var(--cr-y) !important; }
.at-sec8-area h1, .at-sec8-area h2, .at-sec8-area p, .at-sec8-area .odometer { color: var(--cr-ink) !important; }
/* why-us number cards */
.at-sec7-area .bg-neutral-0.px-5 { background: var(--cr-y) !important; }
/* scrolling words strip on yellow */
.at-brand-area.border-top-0 { background: var(--cr-y); }
.at-brand-area.border-top-0 h3, .at-brand-area.border-top-0 svg { color: var(--cr-ink) !important; }
/* FAQ numbers and open state */
.at-faq-number { background: var(--cr-y) !important; color: var(--cr-ink) !important; }
.at-faq-button:not(.collapsed) { color: var(--cr-ink); }
/* project tags + photo count */
.cs-portfolio-tag a:hover { background: var(--cr-y) !important; border-color: var(--cr-y) !important; color: var(--cr-ink) !important; }
/* footer accents */
.at-footer-area a:hover { color: var(--cr-y) !important; }
.at-footer-area .at-hero-social a { border-color: rgba(252,216,12,.45) !important; }
.at-footer-area .at-hero-social a:hover { background: var(--cr-y) !important; color: var(--cr-ink) !important; }
/* service-page bullets already yellow; contact cards get a yellow edge */
.pt-80 .bg-neutral-50.rounded-4 { border-left: 4px solid var(--cr-y); }
@media (max-width: 767.98px) { .at-service-area .at-service-item { height: auto !important; min-height: 0 !important; } .at-service-list-wrap > a { display: block; } }

/* scroll progress bar + animated marker */
.cr-progress { position: fixed; left: 0; top: 0; z-index: 10000; height: 3px; width: 100%; background: var(--cr-y); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.cr-hl { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1s cubic-bezier(.22,1,.36,1) .15s; }
.cr-hl.is-on { background-size: 100% 100%; }
.cr-num { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .cr-hl { background-size: 100% 100%; } .cr-progress { display: none; } }

/* home header menu: dark glass pill (the see-through light pill washed out over the yellow hero) */
.at-header-area .at-main-menu.menu-light { background: rgba(12,12,12,.55) !important; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255,255,255,.14) !important; border-radius: 999px !important; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.at-header-area .at-main-menu.menu-light nav > ul > li > a, .at-header-area .at-main-menu.menu-light nav > ul > li > a span { color: #fff !important; }
.at-header-area .at-main-menu.menu-light nav > ul > li.active > a, .at-header-area .at-main-menu.menu-light nav > ul > li.active > a span,
.at-header-area .at-main-menu.menu-light nav > ul > li > a:hover span { color: var(--cr-y) !important; }
.cr-site .at-header-area .at-main-menu.menu-light nav > ul > li.active > a { text-decoration: none; }

/* transparent text links (hero card, hero service row): yellow text on hover instead of a block */
.at-btn.bg-transparent:hover, .at-btn.border-0.bg-transparent:hover { background: transparent !important; color: var(--cr-y) !important; }
/* footer breathing room left and right */
.cr-footer-full { padding-left: clamp(20px, 5vw, 80px) !important; padding-right: clamp(20px, 5vw, 80px) !important; }
.cr-footer-full > .container { max-width: none; padding-left: 0; padding-right: 0; }

/* hero as in the first version: near-black stage, figures glowing yellow */
.at-hero-area.cr-hero-dark { background: #0b0a07 radial-gradient(ellipse 55% 60% at 58% 42%, rgba(252,216,12,.16) 0%, rgba(252,216,12,0) 70%) !important; }
.at-hero-area.cr-hero-dark::after { height: 45%; background: linear-gradient(180deg, rgba(11,10,7,0) 0%, rgba(11,10,7,.7) 100%); }
.at-btn.cr-btn-yellow { background: var(--cr-y) !important; color: var(--cr-ink) !important; border-color: var(--cr-y) !important; }
.at-btn.cr-btn-yellow:hover { background: #fff !important; color: var(--cr-ink) !important; border-color: #fff !important; }
/* hero figures: same on-screen size as the original 1190px art (the sharper file is 2600px) */
@media (min-width: 768px) { .at-hero-bg { align-items: flex-end; } .at-hero-bg img.layer { height: min(90vh, 1043px); width: auto; max-width: none; } }

/* ---------- phone spacing: nothing touches the screen edge or its neighbour ---------- */
@media (max-width: 767.98px) {
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  .mx-2 { margin-left: 12px !important; margin-right: 12px !important; }
  .mt-10 { margin-top: 14px !important; }
  /* rounded section boxes: a little more inner room */
  .at-sec7-area, .at-sec8-area, .at-sec9-area, .cr-steps-row { border-radius: 24px !important; }
  /* segment cards */
  .team-grid-wrap { margin-top: 28px; }
  .team-grid-wrap .row { --bs-gutter-x: 0; --bs-gutter-y: 16px; }
  .team-grid-wrap .team-card { border-radius: 18px; overflow: hidden; }
  /* why-us cards */
  .at-sec7-area .d-flex.flex-column.gap-2 { gap: 16px !important; }
  .at-sec7-area .row.g-2, .at-sec7-area .row.g-4 { --bs-gutter-y: 16px; }
  .at-sec7-area .hover-unborder > div + div { margin-top: 16px !important; }
  .at-image-hover { border-radius: 18px !important; }
  /* project cards, FAQ, contact, services page */
  .mg-portfolio-item { margin-bottom: 44px !important; }
  .cr-work .row.g-4 { --bs-gutter-y: 40px; }
  .at-faq-item { margin-bottom: 14px !important; }
  .cr-contact-cards .row { --bs-gutter-y: 14px; }
  .cr-svc-row { padding-bottom: 64px !important; --bs-gutter-y: 24px; }
  .alt-faq-title-wrap .rounded-4, .cr-map { border-radius: 18px !important; }
  /* footer columns breathe */
  .at-footer-area .row { --bs-gutter-y: 28px; }
}
@media (max-width: 767.98px) { .team-grid-wrap .row > [class*="col-"] { margin-top: 0 !important; margin-bottom: 16px !important; } .team-grid-wrap .row > [class*="col-"]:last-child { margin-bottom: 0 !important; } }

/* services list: the row in the middle of the screen opens as if hovered (scroll-driven) */
.at-service-item.active .number { color: var(--at-theme-primary-ink); opacity: 1; }
.at-service-item.active .content .title { opacity: 1; }
.at-service-item.active .content .text { opacity: 1; max-height: 100px; }
@media (min-width: 768px) { .at-service-item.active .thumb img { max-width: 284px; } }
@media (max-width: 767.98px) {
  .at-service-area .at-service-item { transition: background-color .4s, padding .4s; border-radius: 16px; }
  .at-service-area .at-service-item.active { background: #fff8cc; padding-left: 14px !important; padding-right: 14px !important; }
}

@media (max-width: 767.98px) {
  .at-service-area .at-service-item .content .text { max-height: none !important; }
  .team-grid-wrap .team-card { position: relative; }
  .team-grid-wrap .team-card-image { position: absolute !important; inset: 0; }
  .team-grid-wrap .team-card-image img { width: 100%; height: 100%; object-fit: cover; }
}
/* phones: figures fill the whole hero height on every device (template fixed them at 600px wide) */
@media (max-width: 767.98px) {
  .at-hero-area.cr-hero-dark { overflow: hidden; }
  .at-hero-bg { align-items: flex-end; justify-content: center; overflow: hidden; }
  .at-hero-bg img.layer { height: 100% !important; width: auto !important; max-width: none !important; margin-bottom: 0 !important; object-fit: cover; }
}

/* ---------- video loops ---------- */
video[data-cr-video] { display: block; background: #111; object-fit: cover; }
.hover-image video.thumb { width: 100%; height: 100%; object-fit: cover; }
.mg-portfolio-thumb video.cr-proj-video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cr-work .mg-portfolio-thumb video.cr-proj-video { aspect-ratio: 4 / 3; }
.team-card-image video.img-cover, .at-image-hover video.img-cover { width: 100%; height: 100%; object-fit: cover; }
.at-image-hover video.img-cover { aspect-ratio: 4 / 5; }
.cr-svc-video { aspect-ratio: 4 / 3; object-fit: cover; }
.cr-faq-video { aspect-ratio: 4 / 5; object-fit: cover; }
.cr-play { position: absolute; right: 16px; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1; background: rgba(12,12,12,.6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.cr-play::first-letter { color: #ff3b30; }

/* ---------- dedicated service pages ---------- */
.cr-gold { color: var(--at-theme-primary-ink); }
.cr-back { display: inline-block; font-weight: 600; color: var(--cr-muted); text-decoration: none; margin-bottom: 8px; }
.cr-back:hover { color: var(--cr-ink); }
.cr-svc-hero-wrap { padding: 0 clamp(12px, 1.2vw, 16px); }
.cr-svc-hero { position: relative; height: clamp(320px, 62vh, 720px); border-radius: clamp(18px, 2vw, 32px); overflow: hidden; background: #111; }
.cr-svc-hero video, .cr-svc-hero img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.cr-svc-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.cr-svc-trio__item { position: relative; aspect-ratio: 9 / 14; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; background: #111; }
.cr-svc-trio__item:nth-child(2) { transform: translateY(clamp(16px, 4vw, 56px)); }
.cr-svc-trio__item video { width: 100%; height: 100%; object-fit: cover; }
.cr-svc-trio__item span, .cr-film figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; width: fit-content; font-size: 13px; font-weight: 600; background: rgba(12,12,12,.6); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cr-sstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cr-sstat { background: var(--cr-y); border-radius: 22px; padding: 28px 28px 24px; }
.cr-sstat strong { display: block; font-size: clamp(34px, 4vw, 60px); line-height: 1; letter-spacing: -0.03em; color: var(--cr-ink); }
.cr-sstat span { display: block; margin-top: 10px; font-weight: 500; color: rgba(17,17,17,.75); }
.cr-deliver { height: 100%; background: #fff; border-radius: 20px; padding: 26px; transition: transform .3s, box-shadow .3s; }
.cr-deliver:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.cr-deliver span { font-weight: 700; color: var(--at-theme-primary-ink); }
.cr-deliver h3 { font-size: 21px; margin: 12px 0 8px; }
.cr-deliver p { margin: 0; color: var(--cr-muted); }
.cr-films { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.cr-film { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #111; aspect-ratio: 9 / 14; }
.cr-film--wide { grid-column: span 2; aspect-ratio: auto; }
.cr-film video { width: 100%; height: 100%; object-fit: cover; }
.cr-gchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cr-gchip { border: 1.5px solid rgba(0,0,0,.12); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--cr-ink); }
.cr-gchip.is-on { background: var(--cr-ink); border-color: var(--cr-ink); color: var(--cr-y); }
.cr-masonry { columns: 4 260px; column-gap: 14px; }
.cr-shot { position: relative; display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 16px; overflow: hidden; background: #eee; }
.cr-shot img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.cr-shot:hover img { transform: scale(1.05); }
.cr-shot[hidden] { display: none !important; }
.cr-masonry--brand { columns: 3 300px; }
.cr-shot span { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(12,12,12,.6); color: #fff; }
.cr-namelist { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cr-namelist li { padding: 7px 14px; border-radius: 999px; background: var(--at-neutral-50, #f4f4f4); font-weight: 600; font-size: 14px; }
.cr-svc-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cr-svc-logos .cr-wall__tile { width: auto; }
.cr-cta { background: var(--cr-y); border-radius: clamp(20px, 2.4vw, 40px); padding: clamp(48px, 7vw, 100px) 0; }
.cr-cta__t { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; color: var(--cr-ink); }
.cr-cta .at-btn.cr-btn-light { background: #fff !important; color: var(--cr-ink) !important; border-color: #fff !important; }
.cr-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cr-other { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; }
.cr-other img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cr-other::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }
.cr-other__t { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; font-weight: 700; font-size: 18px; line-height: 1.2; }
.cr-other i { position: absolute; right: 14px; top: 14px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cr-y); color: var(--cr-ink); transition: transform .3s; }
.cr-other:hover img { transform: scale(1.06); }
.cr-other:hover i { transform: rotate(45deg); }
@media (max-width: 991.98px) { .cr-films { grid-template-columns: repeat(2, 1fr); } .cr-others { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) {
  .cr-sstats { grid-template-columns: 1fr; gap: 12px; }
  .cr-films { gap: 12px; }
  .cr-film--wide { aspect-ratio: 16 / 10; }
  .cr-svc-hero { height: 56vh; }
  .cr-svc-trio { gap: 8px; }
  .cr-svc-trio__item span { display: none; }
  .cr-film figcaption { font-size: 11px; left: 8px; bottom: 8px; right: 8px; padding: 4px 9px; }
  .cr-masonry { columns: 2; column-gap: 10px; }
  .cr-shot { margin-bottom: 10px; border-radius: 12px; }
  .cr-masonry--brand { columns: 1; }
  .cr-gchips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .cr-gchip { white-space: nowrap; flex: 0 0 auto; }
  .cr-others { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cr-other__t { font-size: 15px; }
}
@media (max-width: 767.98px) { .cr-svc-hero--img img { object-position: 78% center; } }

/* ---------- light / dark switch ---------- */
.cr-theme-toggle { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.cr-theme-toggle:hover { background: var(--cr-y); border-color: var(--cr-y); color: var(--cr-ink) !important; transform: rotate(-15deg); }
.cr-theme-toggle svg { grid-area: 1 / 1; transition: opacity .3s, transform .4s; }
.cr-theme-toggle .cr-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-bs-theme=dark] .cr-theme-toggle .cr-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
[data-bs-theme=dark] .cr-theme-toggle .cr-sun { opacity: 1; transform: none; color: var(--cr-y); }
.cr-theme-anim, .cr-theme-anim *, .cr-theme-anim *::before, .cr-theme-anim *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }

/* ---------- dark mode: near-black with Creanity yellow ---------- */
[data-bs-theme=dark] {
  --at-neutral-dark-0: #0b0b0a;
  --at-neutral-dark-50: #151513;
  --cr-text: #e9e7e1;
  --cr-muted: #a5a39b;
  --cr-tint: #151513;
  --at-theme-primary-ink: #fcd80c;
  color-scheme: dark;
}
[data-bs-theme=dark] body.cr-site, [data-bs-theme=dark] main.bg-neutral-0 { background: #0b0b0a !important; color: var(--cr-text); }
[data-bs-theme=dark] ::selection { background: var(--cr-y); color: #111; }
/* logo on inner pages: dark wordmark becomes white, yellow dot kept */
[data-bs-theme=dark] .cr-logo img[src*="logo-dark"] { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
/* menu + header */
[data-bs-theme=dark] .cr-site .at-main-menu nav > ul > li.active > a { color: var(--cr-y); text-decoration-color: var(--cr-y); }
[data-bs-theme=dark] .at-header-area .cr-theme-toggle.text-dark, [data-bs-theme=dark] .at-header-area .at-menu-bar.text-dark { color: #f2f0ea !important; }
/* highlight marker: yellow words with a soft underline instead of a solid band (light text on yellow is unreadable) */
[data-bs-theme=dark] .cr-hl { color: var(--cr-y); background-image: linear-gradient(transparent 84%, rgba(252,216,12,.35) 84%, rgba(252,216,12,.35) 96%, transparent 96%); }
/* cards and surfaces */
[data-bs-theme=dark] .cr-deliver, [data-bs-theme=dark] .cr-gchip, [data-bs-theme=dark] .cr-namelist li { background: #1a1a17; color: var(--cr-text); border-color: rgba(255,255,255,.08); }
[data-bs-theme=dark] .cr-deliver:hover { box-shadow: 0 14px 34px rgba(0,0,0,.4); }
[data-bs-theme=dark] .cr-deliver p, [data-bs-theme=dark] .cr-back { color: var(--cr-muted); }
[data-bs-theme=dark] .cr-back:hover { color: var(--cr-y); }
[data-bs-theme=dark] .cr-gchip.is-on, [data-bs-theme=dark] .cr-work .filter-btn.active { background: var(--cr-y); border-color: var(--cr-y); color: #111; }
[data-bs-theme=dark] .cr-wall { background: #121210; }
[data-bs-theme=dark] .cr-wall__tile { border-color: transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.05); }
[data-bs-theme=dark] .cr-shot, [data-bs-theme=dark] .cr-map { background: #1a1a17; }
[data-bs-theme=dark] .cr-map iframe { filter: invert(.9) hue-rotate(180deg) contrast(.9); }
/* contact form */
[data-bs-theme=dark] .cr-form { background: #151513; }
[data-bs-theme=dark] .cr-form label { color: var(--cr-text); }
[data-bs-theme=dark] .cr-form input, [data-bs-theme=dark] .cr-form select, [data-bs-theme=dark] .cr-form textarea { background: #0b0b0a; color: var(--cr-text); border-color: rgba(255,255,255,.14); }
[data-bs-theme=dark] .cr-form input:focus, [data-bs-theme=dark] .cr-form select:focus, [data-bs-theme=dark] .cr-form textarea:focus { border-color: var(--cr-y); }
/* services list on phones: active row */
@media (max-width: 767.98px) {
  [data-bs-theme=dark] .at-service-area .at-service-item.active { background: rgba(252,216,12,.12); }
  [data-bs-theme=dark] .at-service-area .at-service-item .title { color: #f2f0ea !important; }
}
/* buttons: dark pill buttons turn light-on-dark, yellow stays yellow */
[data-bs-theme=dark] .at-btn.cr-btn-yellow:hover { background: #fff !important; }
[data-bs-theme=dark] .cr-cta .at-btn:not(.cr-btn-light) { background: #111 !important; color: #fff !important; border-color: #111 !important; }
/* yellow blocks keep dark text */
[data-bs-theme=dark] .cr-sstat span { color: rgba(17,17,17,.75); }
[data-bs-theme=dark] .cr-sstat strong, [data-bs-theme=dark] .cr-cta__t { color: #111; }
[data-bs-theme=dark] .at-sec7-area .bg-neutral-0.px-5 h4, [data-bs-theme=dark] .at-sec7-area .bg-neutral-0.px-5 span { color: #111 !important; }
[data-bs-theme=dark] .at-faq-button, [data-bs-theme=dark] .at-faq-button:not(.collapsed) { color: #f2f0ea; }
[data-bs-theme=dark] .at-faq-body p { color: var(--cr-muted); }

/* ---------- side margins on tablets & desktops (template had only 12px) ---------- */
@media (min-width: 768px) {
  .container { padding-left: clamp(32px, 5vw, 80px); padding-right: clamp(32px, 5vw, 80px); }
  .cr-svc-hero-wrap { padding-left: clamp(16px, 2vw, 32px); padding-right: clamp(16px, 2vw, 32px); }
  .cr-footer-full { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (min-width: 768px) { .cr-footer-full > .container { padding-left: clamp(32px, 5vw, 80px) !important; padding-right: clamp(32px, 5vw, 80px) !important; } }
/* header: a little breathing room above it */
.at-header-area.at-header-spacing { padding-top: clamp(18px, 2.2vw, 32px); padding-bottom: 12px; }
@media (max-width: 767.98px) { .at-header-area.at-header-spacing { padding-top: 16px; } }
