﻿/* ==========================================================================
   I Build Awesome Website — recreation
   Layering convention (important for the shared Three.js canvases):
     z 0  : section backgrounds (.section-bg, .blob) and #three-bg (fixed)
     z 1  : #three-fx (fixed canvas: hero orb, decor shapes, particles)
     z 2  : .container (all real content)
     z 50 : header, z 90 loader/cookie
   ========================================================================== */

:root {
  --font-head: "Quicksand", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;

  --ink: #1e2034;
  --ink-soft: #3a3d55;
  --muted: #6e7189;
  --line: #e9e9f3;

  --blue: #6a86ff;
  --blue-deep: #3d46ff;
  --blue-text: #4a56cf;
  --pink: #f0579a;
  --pink-soft: #ffd5f2;
  --pink-text: #c93f9f;
  --lilac: #a373ff;

  --grad: linear-gradient(135deg, #f9b3ea 0%, #a677ff 45%, #3b47ff 100%);
  --grad-soft: linear-gradient(135deg, #ffc2ee 0%, #b48cff 50%, #6a86ff 100%);

  --shadow: 0 24px 60px rgba(90, 80, 190, 0.12);
  --shadow-sm: 0 10px 30px rgba(90, 80, 190, 0.10);
  --radius: 16px;

  --container: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0 0 16px; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: 15px; max-width: 520px; }

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
html { overflow-x: clip; }
section { position: relative; overflow-x: clip; }
.section { padding: 90px 0; }
.section-bg {
  position: absolute;
  top: 0; bottom: 0; left: var(--gutter); right: var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  width: calc(100% - var(--gutter) * 2);
}

/* Fixed Three.js canvases */
#three-bg, #three-fx {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; display: block;
}
#three-bg { z-index: 0; }
#three-fx { z-index: 1; }

/* Soft blurred blobs (same look as the pink/blue ellipses on the live site) */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px); opacity: .7;
}
.blob-pink { background: radial-gradient(circle, #ffd1ef 0%, rgba(255,209,239,0) 70%); }
.blob-blue { background: radial-gradient(circle, #d5dbff 0%, rgba(213,219,255,0) 70%); }
.blob-peach { background: radial-gradient(circle, #fff1d6 0%, rgba(255,241,214,0) 70%); }

/* Badge / buttons */
.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-text);
  font: 700 11px/1 var(--font-head);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  border: 0;
  font: 600 12px/1 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(106, 134, 255, .35);
  transition: background .25s, box-shadow .25s, transform .25s;
  position: relative; overflow: hidden;
  will-change: transform;
}
.btn:hover { background: var(--blue-deep); box-shadow: 0 16px 36px rgba(61, 70, 255, .35); }
.btn-pink { background: var(--pink); box-shadow: 0 12px 30px rgba(240, 87, 154, .35); }
.btn-pink:hover { background: #d93e82; box-shadow: 0 16px 36px rgba(217, 62, 130, .35); }
.btn-sm { padding: 12px 22px; }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.35); pointer-events: none;
}
.link-caps {
  font: 700 11px/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-text);
}

/* ---------------------------------------------------------------- Loader */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: #fff;
  display: grid; place-items: center;
}
.loader-inner { text-align: center; }
.loader-inner img { width: 220px; margin: 0 auto 18px; }
.loader-bar { width: 160px; height: 4px; border-radius: 4px; background: #eef; margin: 0 auto; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--grad); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 0;
  transition: padding .35s, background .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(60,60,120,.08);
}
.nav-wrap { display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; padding-right: 28px; border-right: 1px solid #dfe1ee; }
.brand img { width: 190px; }
.nav { display: flex; gap: 32px; }
.nav a {
  font: 400 15px var(--font-head);
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active, .nav a:hover { color: var(--blue); }
.nav-cta { margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: #fff;
  box-shadow: var(--shadow-sm);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero { padding: 170px 0 70px; min-height: 92vh; display: flex; align-items: center; }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-title { position: relative; }
.hero-title .accent { color: var(--blue-deep); }
.hero-title .loop {
  position: absolute; left: -22px; top: -8px; width: 215px; pointer-events: none;
}
.hero-copy { max-width: 440px; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual .orb {
  position: absolute; left: 50%; top: 50%; width: 520px; height: 520px;
  transform: translate(-50%, -50%);
}
.hero-visual .office { position: relative; width: 92%; margin: 0 auto; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 16px 18px; font-family: var(--font-head);
}
.views-card { left: -10px; bottom: 30px; width: 190px; text-align: center; }
.views-card .t { font-weight: 600; font-size: 15px; margin-bottom: 8px; display: block; }
.views-card img { width: 110px; margin: 0 auto 6px; }
.views-card .s { font-size: 11px; color: var(--muted); }
.hero-spring { position: absolute; left: 40px; bottom: -40px; width: 120px; }
.hero-dots { display: none; }

/* Three.js decor view boxes (scissor viewports) */
.v3 { position: absolute; pointer-events: none; }

/* ---------------------------------------------------------------- Clients */
.clients { padding: 20px 0 60px; text-align: center; }
.clients .kicker { font: 700 11px var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; align-items: center; }
.marquee-track img { height: 44px; width: auto; opacity: .9; filter: saturate(.9); }

/* ---------------------------------------------------------------- Services */
.services .container { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.services h2 { max-width: 420px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px 30px;
  box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card .icon { width: 84px; height: 84px; margin-bottom: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 13px; margin: 0; }
.service-grid .service-card:nth-child(even) { transform: translateY(40px); }
.service-grid .service-card:nth-child(even):hover { transform: translateY(32px); }

/* ---------------------------------------------------------------- About (home) */
.about .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-art { position: relative; min-height: 560px; }
.about-art .circle {
  position: absolute; left: 0; top: 40px; width: 460px; height: 460px; border-radius: 50%;
  background: linear-gradient(140deg, #f7b4ea 0%, #a985ff 50%, #6a86ff 100%);
  box-shadow: 0 40px 80px rgba(110, 90, 255, .25);
}
.about-art .guy { position: absolute; left: 40px; top: 120px; width: 430px; }
.about-art .team-card {
  position: absolute; right: 20px; bottom: 30px; width: 250px; text-align: center; padding: 14px 16px 16px;
}
.about-art .team-card .t { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.about-art .team-card img { border-radius: 10px; }
.about-art .ring { position: absolute; left: -20px; top: -10px; width: 110px; }
.about-art .cloud { position: absolute; left: -40px; top: 130px; width: 150px; }
.about-art .ball { position: absolute; left: 20px; bottom: 10px; width: 90px; }
.about-art .ring-3d { left: -60px; top: -40px; width: 200px; height: 200px; }
.about-art .ball-3d { right: -30px; top: 40px; width: 150px; height: 150px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 14px; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(106,134,255,.4);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------------------------------------------------------------- Works */
.works { padding: 60px 0 100px; }
.works .section-bg { top: 60px; bottom: 100px; border-radius: 40px; background: var(--grad); box-shadow: 0 40px 100px rgba(110, 90, 255, .25); }
.works .container { padding-top: 70px; padding-bottom: 70px; text-align: center; }
.works .badge { background: #fff; }
.works h2 { color: #fff; margin-bottom: 44px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 900px; margin: 0 auto 50px; text-align: left; }
.work-card { position: relative; border-radius: 18px; overflow: visible; }
.work-card .media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.3; background: #e9e9f8; }
.work-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.work-card:hover .media img { transform: scale(1.08); }
.work-card .label {
  position: absolute; left: 40px; right: 40px; bottom: -22px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow-sm);
  transition: transform .35s;
}
.work-card:hover .label { transform: translateY(-8px); }
.work-card .cat { display: block; font: 600 12px var(--font-head); color: var(--blue-text); margin-bottom: 4px; }
.work-card h3 { font-size: 17px; margin: 0; color: var(--ink); }
.work-grid + .btn, .works .btn-sm { margin-top: 10px; }
.works .btn-sm { background: #fff; color: var(--blue-text); box-shadow: 0 12px 30px rgba(60,40,160,.25); }
.works .btn-sm:hover { background: #f4f3ff; }

/* ---------------------------------------------------------------- Testimonials */
.testimonials .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.testi-art { position: relative; min-height: 420px; }
.testi-art .runner { position: absolute; left: 30px; top: 60px; width: 290px; }
.testi-art .bubble { position: absolute; left: 0; top: 0; width: 120px; }
.testi-art .heart { position: absolute; left: 230px; top: 40px; width: 70px; }
.testi-art .bubble-3d { left: 180px; top: 230px; width: 140px; height: 140px; }
.testi-art .heart-3d { left: -40px; top: 180px; width: 150px; height: 150px; }
.testi-head { text-align: center; margin-bottom: 30px; }
.slider { position: relative; }
.slider-card {
  background: linear-gradient(135deg, #fbe7f6 0%, #e5ddff 50%, #dfe4ff 100%);
  border-radius: 20px; padding: 44px 60px 40px; min-height: 230px; position: relative;
  box-shadow: var(--shadow-sm);
}
.slide { position: absolute; inset: 44px 60px 40px; opacity: 0; visibility: hidden; }
.slide.is-active { opacity: 1; visibility: visible; position: relative; inset: auto; }
.slide blockquote { margin: 0 0 22px; font: 600 15px/1.8 var(--font-head); color: var(--ink-soft); text-align: center; }
.slide .who { display: flex; align-items: center; gap: 12px; justify-content: center; }
.slide .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.slide .who b { display: block; font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.slide .who span { font-size: 12px; color: var(--muted); }
.slider-nav { position: absolute; top: 50%; width: 100%; left: 0; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.slider-nav button {
  pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: var(--shadow-sm); color: var(--ink); transform: translateX(-20px); transition: background .25s, color .25s;
}
.slider-nav button:last-child { transform: translateX(20px); }
.slider-nav button:hover { background: var(--blue); color: #fff; }

/* ---------------------------------------------------------------- Visions */
.visions .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.feature img { width: 56px; margin-bottom: 14px; }
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13px; margin: 0; }
.visions-art { position: relative; min-height: 480px; }
.visions-art .guy { position: absolute; right: 0; top: 0; width: 100%; max-width: 480px; }
.visions-art .cube-3d { left: -30px; bottom: 10px; width: 150px; height: 150px; }
.visions-art .knot-3d { right: -40px; top: -40px; width: 160px; height: 160px; }

/* ---------------------------------------------------------------- Blog (home) */
.blog-home .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.blog-intro { padding-top: 40px; }
.post-card { position: relative; display: block; }
.post-card .media { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: #eee; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.post-card:hover .media img { transform: scale(1.07); }
.post-card .label {
  position: absolute; left: 30px; right: 30px; bottom: -22px; background: #fff; border-radius: 10px; padding: 16px 22px;
  box-shadow: var(--shadow-sm); transition: transform .35s;
}
.post-card:hover .label { transform: translateY(-8px); }
.post-card .cat { display: block; font: 600 12px var(--font-head); color: var(--blue-text); margin-bottom: 4px; }
.post-card h3 { font-size: 17px; margin: 0; }
.blog-home .post-card { margin-bottom: 40px; }

/* ---------------------------------------------------------------- CTA / footer */
.cta-footer { padding: 60px 0 0; }
.site-footer { position: relative; z-index: 2; padding: 22px 0 26px; }
.cta-footer .section-bg {
  top: 60px; bottom: 0;
  border-radius: 36px; background: var(--grad);
  box-shadow: 0 40px 100px rgba(110, 90, 255, .28);
}
.cta-footer .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; align-items: center; }
.cta-art { position: relative; min-height: 420px; }
.cta-art .circle { position: absolute; left: 60px; top: 30px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #a98bff 0%, #7a5cff 70%, #6a4cf0 100%); opacity: .85; }
.cta-art .faller { position: absolute; left: 40px; top: 90px; width: 420px; }
.cta-art .pin { position: absolute; left: -10px; top: 70px; width: 110px; }
.cta-art .spring { position: absolute; left: 230px; top: -20px; width: 100px; }
.cta-art .phone { position: absolute; left: 330px; bottom: 10px; width: 90px; }
.cta-art .cloud { position: absolute; left: 60px; bottom: -40px; width: 180px; }
.cta-art .curve { position: absolute; left: 0; top: -30px; width: 100%; opacity: .6; }
.cta-art .ring-3d { right: 0; top: 90px; width: 150px; height: 150px; }
.cta-card {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 22px; padding: 46px 48px; color: #fff; max-width: 520px; margin-left: auto;
}
.cta-card img.logo { width: 220px; margin-bottom: 26px; }
.cta-card p { color: #fff; font-size: 14px; }
.cta-card .contact-lines { margin: 26px 0; font-size: 14px; font-weight: 500; }
.cta-card .contact-lines div { margin-bottom: 4px; }
.cta-card .contact-lines .addr { margin-top: 16px; }
.socials { display: flex; gap: 12px; margin: 26px 0; }
.socials a {
  width: 46px; height: 46px; border-radius: 10px; background: #f8c7ee; color: var(--blue-text);
  display: grid; place-items: center; transition: transform .25s, background .25s;
}
.socials a:hover { transform: translateY(-4px); background: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 13px; font-weight: 500; }
.foot-links a { opacity: .95; transition: opacity .2s, padding-left .2s; }
.foot-links a:hover { opacity: 1; padding-left: 4px; }
.copyright { text-align: right; font-size: 12px; color: var(--muted); margin: 0; }
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #dcdcee; background: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(20px);
  box-shadow: var(--shadow-sm); color: var(--ink);
}

/* ---------------------------------------------------------------- Inner page hero */
.page-hero { padding: 170px 0 60px; }
.page-hero.center { text-align: center; padding-bottom: 20px; }
.page-hero.center h1 { margin-bottom: 20px; }
.page-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.page-hero.center .container { display: block; }

/* About page */
.about-hero-art { position: relative; min-height: 520px; }
.about-hero-art .circle {
  position: absolute; right: 40px; top: 20px; width: 440px; height: 440px; border-radius: 50%;
  background: linear-gradient(140deg, #d4a8ff 0%, #7b6bff 55%, #3d46ff 100%);
  box-shadow: 0 40px 80px rgba(100, 80, 255, .3);
}
.about-hero-art .worker { position: absolute; right: 20px; top: 40px; width: 460px; }
.about-hero-art .spring { position: absolute; left: 40px; top: 20px; width: 90px; }
.about-hero-art .balloon { position: absolute; right: -10px; top: -10px; width: 110px; }
.about-hero-art .chart { position: absolute; left: 20px; bottom: 30px; width: 160px; }
.about-hero-art .knot-3d { left: -60px; top: 150px; width: 160px; height: 160px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); display: block; }

.stats { padding: 40px 0 90px; }
.stats [data-three="wave"] { top: 40px; height: calc(100% - 130px); }
.stats .section-bg { top: 40px; bottom: 90px; border-radius: 24px; background: linear-gradient(90deg, #f8aee7 0%, #b47cff 45%, #3b47ff 100%); box-shadow: 0 30px 80px rgba(110, 90, 255, .25); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 60px; padding-bottom: 60px; text-align: center; color: #fff; }
.stat b { display: block; font: 500 44px/1 var(--font-head); margin-bottom: 10px; }
.stat span { font: 500 16px var(--font-head); }

.team .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.member .photo { background: #ffd1f1; border-radius: 16px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: end center; }
.member .photo img { width: 86%; transition: transform .5s; }
.member:hover .photo img { transform: translateY(-8px) scale(1.04); }
.member h3 { font-size: 20px; font-weight: 500; margin: 20px 0 2px; }
.member span { font: 500 12px var(--font-head); color: var(--blue-text); }

.skills .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.skills .lead { font-size: 13px; }
.bar { position: relative; height: 44px; border-radius: 999px; background: #e9e9f3; margin-bottom: 18px; overflow: hidden; }
.bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #f3a3e6 0%, #a579ff 50%, #3b47ff 100%);
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  color: #fff; font: 500 14px var(--font-head); white-space: nowrap;
}

/* Works / Blog pages */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 34px; max-width: 900px; margin: 30px auto 60px; }
.grid-2.wide { max-width: 1000px; }
.grid-2 .work-card .media { aspect-ratio: 4 / 3; }
.load-more-wrap { text-align: center; }
.hidden-item { display: none; }

/* Contact page */
.contact-hero .container { grid-template-columns: 1fr 1fr; align-items: center; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; margin-top: 20px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 0; border-radius: 8px; background: #f0f0f5; padding: 16px 18px;
  font: 400 14px var(--font-body); color: var(--ink); outline: none; transition: box-shadow .25s, background .25s;
}
.contact-form input:focus, .contact-form textarea:focus { background: #fff; box-shadow: 0 0 0 2px var(--blue), var(--shadow-sm); }
.contact-form textarea { min-height: 190px; resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--blue-text); min-height: 20px; margin-top: 10px; }
.contact-art { position: relative; min-height: 560px; }
.contact-art .circle {
  position: absolute; right: 30px; top: 20px; width: 480px; height: 480px; border-radius: 50%;
  background: linear-gradient(140deg, #f1a7ea 0%, #a884ff 50%, #6a86ff 100%);
  box-shadow: 0 40px 80px rgba(110, 90, 255, .25);
}
.contact-art .girl { position: absolute; right: 90px; top: 60px; width: 360px; }
.contact-art .heart { position: absolute; left: 30px; top: 150px; width: 90px; }
.contact-art .card { position: absolute; }
.contact-art .card small { display: block; font: 500 15px var(--font-head); color: var(--ink-soft); margin-bottom: 4px; }
.contact-art .card b { font: 600 20px var(--font-head); color: var(--ink); }
.contact-art .card-phone { right: -20px; top: 250px; }
.contact-art .card-mail { right: 10px; bottom: 30px; padding: 20px 28px; }
.contact-art .spring-3d { left: -40px; bottom: 40px; width: 160px; height: 160px; }
.contact-art .ball-3d { right: -70px; top: 80px; width: 130px; height: 130px; }

/* ---------------------------------------------------------------- Cookie bar */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 340px; max-width: calc(100% - 40px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 20px 22px;
  transform: translateY(140%); font-size: 12px;
}
.cookie b { display: block; font: 700 13px var(--font-head); margin-bottom: 6px; color: var(--ink); }
.cookie p { font-size: 12px; margin-bottom: 14px; }
.cookie .row { display: flex; gap: 8px; }
.cookie button { flex: 1; border: 1px solid #e3e3ef; background: #fff; border-radius: 8px; padding: 8px 6px; font: 600 11px var(--font-head); color: var(--ink); }
.cookie button.primary { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------------------------------------------------------------- Reveal helpers */
[data-reveal] { opacity: 0; }
.no-js [data-reveal] { opacity: 1; }
.char { display: inline-block; }
.word { display: inline-block; white-space: nowrap; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .hero-visual .orb { width: 420px; height: 420px; }
  .about-art .circle, .about-hero-art .circle, .contact-art .circle { width: 380px; height: 380px; }
  .about-art .guy { width: 360px; }
  .about-hero-art .worker { width: 400px; }
  .contact-art .girl { width: 300px; }
}
@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand { border-right: 0; padding-right: 0; }
  .nav-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: 0; background: #fff; padding: 120px 32px 40px; gap: 18px; z-index: 49;
  }
  .nav-open .nav a { font-size: 26px; }
  .hero { padding-top: 130px; min-height: 0; }
  .hero .container, .services .container, .about .container, .testimonials .container, .visions .container,
  .blog-home .container, .cta-footer .container, .page-hero .container, .skills .container, .contact-hero .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; margin-top: 20px; }
  .hero-visual .orb { width: 360px; height: 360px; }
  .service-grid .service-card:nth-child(even) { transform: none; }
  .about-art { min-height: 520px; }
  .about-art .circle { left: 50%; transform: translateX(-50%); }
  .about-art .guy { left: 50%; transform: translateX(-50%); }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .team .container { grid-template-columns: 1fr 1fr; }
  .cta-art { min-height: 380px; }
  .cta-card { margin: 0 auto; }
  .copyright { text-align: center; }
  .about-hero-art .circle, .about-hero-art .worker, .contact-art .circle, .contact-art .girl { right: 50%; transform: translateX(50%); }
  .contact-art .card-phone, .contact-art .card-mail { right: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .section { padding: 60px 0; }
  .service-grid, .work-grid, .grid-2, .features, .team .container { grid-template-columns: 1fr; }
  .work-card .label, .post-card .label { left: 16px; right: 16px; }
  .hero-visual { min-height: 340px; }
  .hero-visual .orb { width: 300px; height: 300px; }
  .views-card { left: 0; bottom: 0; width: 160px; }
  .hero-title .loop { width: 160px; left: -10px; }
  .about-art .circle { width: 300px; height: 300px; }
  .about-art .guy { width: 290px; top: 90px; }
  .about-art .team-card { right: 0; width: 220px; }
  .slider-card { padding: 34px 26px; }
  .slide { inset: 34px 26px; }
  .cta-art { min-height: 320px; }
  .cta-art .circle { width: 280px; height: 280px; left: 20px; }
  .cta-art .faller { width: 300px; left: 10px; }
  .cta-card { padding: 30px 26px; }
  .about-hero-art, .contact-art { min-height: 420px; }
  .about-hero-art .circle, .contact-art .circle { width: 300px; height: 300px; }
  .about-hero-art .worker { width: 320px; }
  .contact-art .girl { width: 240px; }
  .contact-art .card-mail b { font-size: 15px; }
  .stat b { font-size: 36px; }
  .works .container { padding-top: 50px; padding-bottom: 50px; }
  .marquee-track { gap: 44px; }
  .marquee-track img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; }
}

/* ==========================================================================
   WordPress additions
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.no-decor .hero-spring, .no-decor .about-art .cloud, .no-decor .about-art .ball { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); word-wrap: normal !important; }
.entry-content { max-width: 820px; font-size: 16px; }
.entry-content h2, .entry-content h3 { margin-top: 36px; }
.entry-content img, .entry-media img { border-radius: 16px; margin: 0 auto 24px; }
.entry-content a { color: var(--blue-text); text-decoration: underline; }
.entry-content ul, .entry-content ol { color: var(--muted); }
.entry-content blockquote { border-left: 4px solid var(--blue); margin: 24px 0; padding: 4px 20px; font-family: var(--font-head); color: var(--ink-soft); }
.entry-content .wp-block-image figcaption { font-size: 12px; color: var(--muted); text-align: center; }
.alignwide { max-width: 1180px; } .alignfull { max-width: none; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); padding: 0 12px; }
.nav-links .page-numbers.current { background: var(--blue); color: #fff; }
.marquee-track a { display: inline-flex; }
