/* ══════════════════════════════════════════════════════════════════════════
   Kymaa — creative design system v2
   Direction: warm cream canvas (kiddobuild energy) × Kymaa's glassy blue
   brand language. Navy ink, electric blue accents, floating glass blobs,
   sticker cards with hard offset shadows, expressive Bricolage Grotesque
   display type, playful motion. Professional — but alive.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f3f0e8;
  --paper-2: #ebe7db;
  --ink: #101a3c;
  --ink-soft: #3e4459;
  --ink-faint: #8a8fa3;
  --blue: #2f6bff;
  --blue-deep: #1b2a5e;
  --sky: #9db9ff;
  --lav: #cfc4f5;
  --white: #ffffff;
  --line: rgba(16, 26, 60, 0.14);
  --line-strong: rgba(16, 26, 60, 0.8);
  --grad: linear-gradient(120deg, #2f6bff, #6ea8ff);
  --glass: linear-gradient(135deg, rgba(191, 212, 255, 0.85), rgba(228, 217, 245, 0.65));
  --shadow-pop: 5px 6px 0 rgba(47, 107, 255, 0.9);
  --shadow-pop-sm: 3px 4px 0 rgba(47, 107, 255, 0.9);
  --shadow-soft: 0 18px 44px -18px rgba(16, 26, 60, 0.22);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: radial-gradient(rgba(16, 26, 60, 0.035) 1px, transparent 1px);
  background-size: 4px 4px; opacity: 0.5;
}

::selection { background: rgba(47, 107, 255, 0.25); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ── Reveal animation ──
   Hidden state applies ONLY when <html class="js"> (set by script.js
   before first paint). If JS ever fails, content stays visible. */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .reveal:not(.reveal-visible) { opacity: 0; transform: translateY(26px); }
.reveal-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ── Glass blobs (the brand's floating 3D shapes, as CSS) ── */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 70% 75%, rgba(207, 196, 245, 0.9), rgba(207, 196, 245, 0) 55%),
    linear-gradient(135deg, #bfd4ff, #dcd2f7);
  filter: blur(1px) saturate(1.05);
  box-shadow: inset -14px -18px 34px rgba(47, 107, 255, 0.25), 0 30px 60px -30px rgba(47, 107, 255, 0.4);
  animation: float 9s ease-in-out infinite;
}
.blob-ring { /* torus-ish: blob with a paper hole */ }
.blob-ring::after {
  content: ''; position: absolute; inset: 26%; border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 10px 12px 24px rgba(47, 107, 255, 0.28);
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-22px) rotate(4deg); }
}
.blob.slow { animation-duration: 13s; }

/* ── Sticker pills ── */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink);
  box-shadow: var(--shadow-pop-sm); white-space: nowrap;
  transition: transform 0.25s ease;
}
.sticker:hover { transform: rotate(0deg) scale(1.06) !important; }
.sticker.blue { background: var(--blue); color: #fff; border-color: var(--blue-deep); box-shadow: 3px 4px 0 rgba(16, 26, 60, 0.85); }
.sticker.glass { background: var(--glass); }
.tilt-l { transform: rotate(-4deg); }
.tilt-r { transform: rotate(3deg); }

/* ── Squiggle underline (hand-drawn energy) ── */
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -0.12em; height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 12 2, 24 7 T 46 7 T 68 6 T 90 7 T 118 5' fill='none' stroke='%232f6bff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  border: 1.5px solid var(--line-strong); transition: all 0.2s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { transform: translate(2px, 2px); box-shadow: 2px 3px 0 rgba(47, 107, 255, 0.9); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-pop-sm); }
.btn-ghost:hover { transform: translate(2px, 2px); box-shadow: 1px 2px 0 rgba(47, 107, 255, 0.9); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(243, 240, 232, 0.82);
  border-bottom: 1.5px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.08); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color 0.2s ease; position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--blue); border-radius: 3px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14px; }
.menu-toggle { display: none; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 12px; color: var(--ink); width: 42px; height: 42px; font-size: 18px; box-shadow: var(--shadow-pop-sm); }

/* mobile nav */
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 28px 22px; border-top: 1.5px solid var(--line);
  background: var(--paper);
}
.mobile-nav a { padding: 12px 4px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--blue); }
.mobile-nav.open { display: flex; }

/* ── Hero ── */
.hero { position: relative; padding: 180px 0 110px; overflow: hidden; }
.hero .container { text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 20px; border-radius: 999px; margin-bottom: 36px;
  border: 1.5px solid var(--line-strong); background: var(--white);
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-pop-sm); transform: rotate(-1.5deg);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #17c964; box-shadow: 0 0 0 3px rgba(23, 201, 100, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(46px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 auto 30px; max-width: 980px; color: var(--ink);
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 44px; line-height: 1.65;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stickers { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }

/* hero blobs */
.hero .blob-a { width: 240px; height: 240px; top: 120px; left: -60px; }
.hero .blob-b { width: 170px; height: 170px; top: 420px; right: -30px; animation-delay: 1.4s; }
.hero .blob-c { width: 90px; height: 90px; top: 180px; right: 14%; animation-delay: 0.6s; }

/* ── Marquee ── */
.marquee { background: var(--ink); padding: 20px 0; overflow: hidden; transform: rotate(-1deg) scale(1.02); margin: 10px 0; border-block: 1.5px solid var(--line-strong); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 52px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--paper); white-space: nowrap; letter-spacing: 0.02em; }
.marquee-item .star { color: var(--sky); font-size: 16px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: 110px 0; position: relative; overflow: hidden; }
.section-alt { background: var(--paper-2); border-block: 1.5px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: '✦'; font-size: 15px; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em;
  max-width: 760px; margin-bottom: 18px; color: var(--ink);
}
.section-sub { color: var(--ink-soft); font-size: 17.5px; max-width: 600px; line-height: 1.65; }
.section-head { margin-bottom: 60px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ── Cards / grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 36px 32px; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative; box-shadow: var(--shadow-soft);
}
.card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-pop), var(--shadow-soft); }
.grid-2 > .card:nth-child(even):hover, .grid-3 > .card:nth-child(even):hover { transform: translateY(-6px) rotate(0.6deg); }

.service-card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1.5px solid var(--line-strong);
  font-size: 25px; margin-bottom: 24px; transform: rotate(-3deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .icon { transform: rotate(4deg) scale(1.08); }
.service-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); background: var(--paper);
}
.card-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--blue); margin-top: 22px; }
.card-link:hover .arrow { transform: translateX(4px); }
.card-link .arrow { transition: transform 0.2s ease; }

/* ── Work cards ── */
.work-card {
  border-radius: var(--radius); border: 1.5px solid var(--line-strong); overflow: hidden;
  background: var(--white); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow-soft);
}
.work-card:hover { transform: translateY(-8px) rotate(-0.8deg); box-shadow: var(--shadow-pop), var(--shadow-soft); }
.work-cover {
  height: 235px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--blue-deep);
  position: relative; overflow: hidden; border-bottom: 1.5px solid var(--line-strong);
}
.work-cover::before {
  content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; top: -40px; right: -30px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95), transparent 45%), linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.1));
}
.work-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 15%, rgba(255,255,255,0.5), transparent 55%); }
.cover-blue { background: linear-gradient(135deg, #bfd4ff, #6ea8ff); }
.cover-teal { background: linear-gradient(135deg, #bff0ea, #5fd3c4); }
.cover-violet { background: linear-gradient(135deg, #d8ccf7, #a48bf0); }
.cover-navy { background: linear-gradient(135deg, #9db9ff, #4d74d9); color: #fff; }
.work-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.work-body .kicker { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.work-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.work-body p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.work-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

/* ── Stats ── */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band > div { padding: 30px 10px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-soft); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.stats-band > div:hover { transform: rotate(-1.5deg) scale(1.04); }
.stats-band > div:nth-child(even):hover { transform: rotate(1.5deg) scale(1.04); }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.6vw, 54px);
  letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; font-weight: 500; }

/* ── Process ── */
.process-step { position: relative; }
.process-step .num {
  font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--paper);
  background: var(--ink); border: 1.5px solid var(--line-strong);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; box-shadow: var(--shadow-pop-sm); transform: rotate(-6deg);
}
.card:hover .num { transform: rotate(0deg); }
.process-step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--ink-soft); font-size: 14.5px; }

/* ── Testimonials ── */
.testimonial { display: flex; flex-direction: column; }
.testimonial .quote-mark { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--blue); margin-bottom: 12px; }
.testimonial blockquote { font-size: 16.5px; line-height: 1.65; color: var(--ink); flex: 1; }
.testimonial .who { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--glass); border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 18px;
}
.testimonial .who .name { font-weight: 600; font-size: 15px; }
.testimonial .who .role { color: var(--ink-faint); font-size: 13.5px; }

/* ── Product spotlight ── */
.spotlight {
  border-radius: 28px; border: 1.5px solid var(--line-strong);
  background: linear-gradient(140deg, #e6ecff, #f2edff 55%, var(--white));
  padding: 64px 58px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-soft);
}
.spotlight .blob { width: 180px; height: 180px; top: -60px; right: -40px; opacity: 0.8; }
.spotlight h3 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--ink); }
.spotlight p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 28px; }
.spotlight-visual {
  border-radius: 20px; border: 1.5px solid var(--line-strong); background: var(--white);
  padding: 26px; position: relative; z-index: 1; box-shadow: var(--shadow-pop), var(--shadow-soft); transform: rotate(1.2deg);
}
.chat-bubble { border-radius: 16px; padding: 13px 18px; font-size: 14px; margin-bottom: 12px; max-width: 88%; }
.chat-user { background: var(--paper); border: 1.5px solid var(--line); }
.chat-bot { background: var(--blue); color: #fff; margin-left: auto; font-weight: 500; border: 1.5px solid var(--blue-deep); }

/* ── FAQ ── */
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--ink); text-align: left;
  font-family: var(--font-display); font-size: 18.5px; font-weight: 700;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-q:hover { color: var(--blue); }
.faq-q .chev { color: var(--blue); font-size: 24px; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-q .chev.open { transform: rotate(45deg); }
.faq-a { color: var(--ink-soft); font-size: 15.5px; padding: 0 0 26px; max-width: 760px; line-height: 1.7; }

/* ── CTA panel ── */
.cta-panel {
  border-radius: 30px; text-align: center; padding: 88px 40px; position: relative; overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--ink); color: var(--paper);
  box-shadow: 8px 10px 0 rgba(47, 107, 255, 0.9);
}
.cta-panel .blob { width: 220px; height: 220px; top: -80px; left: -70px; opacity: 0.55; }
.cta-panel .blob.b2 { left: auto; right: -60px; top: auto; bottom: -90px; width: 190px; height: 190px; }
.cta-panel h2 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; position: relative; }
.cta-panel p { color: rgba(243, 240, 232, 0.78); font-size: 17.5px; max-width: 540px; margin: 0 auto 38px; position: relative; }
.cta-panel .btn-primary { background: var(--blue); border-color: var(--paper); box-shadow: 5px 6px 0 rgba(243, 240, 232, 0.9); color: #fff; }
.cta-panel .btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: 3px 4px 0 rgba(243, 240, 232, 0.5); }

/* ── Page hero (inner pages) ── */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero .blob-a { width: 190px; height: 190px; top: 110px; right: -40px; }
.page-hero .blob-b { width: 100px; height: 100px; top: 320px; left: -20px; animation-delay: 1s; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5.8vw, 72px); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; max-width: 880px; color: var(--ink); }
.page-hero .section-sub { max-width: 640px; }

/* ── Detail rows (services page) ── */
.detail-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; padding: 64px 0;
  border-bottom: 1.5px solid var(--line); align-items: start;
}
.detail-row:last-child { border-bottom: none; }
.detail-row .num { font-family: var(--font-display); color: var(--blue); font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.detail-row h3 { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.detail-row .lead { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 26px; line-height: 1.7; }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.deliverable { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.deliverable .check { color: var(--blue); font-weight: 800; flex-shrink: 0; }

/* ── Values / about ── */
.value-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 18px 0 10px; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; }
.value-card .glyph { font-size: 28px; display: inline-block; transform: rotate(-6deg); }

.timeline { border-left: 2px solid var(--line-strong); padding-left: 34px; display: flex; flex-direction: column; gap: 38px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -41.5px; top: 7px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--paper); box-shadow: 0 0 0 2px var(--blue);
}
.timeline-item .year { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 13.5px; letter-spacing: 0.1em; margin-bottom: 6px; }
.timeline-item h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.timeline-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1.5px solid var(--line); align-items: flex-start; }
.contact-item .ico { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--glass); border: 1.5px solid var(--line-strong); font-size: 20px; transform: rotate(-3deg); }
.contact-item .label { font-family: var(--font-display); font-size: 12.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.contact-item .val { font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 3px; }
.contact-item .val a:hover { color: var(--blue); }

.form-card { background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 24px; padding: 44px 40px; box-shadow: var(--shadow-pop), var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 14px 17px; color: var(--ink); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select { appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 3px 4px 0 rgba(47, 107, 255, 0.35); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 16px; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: var(--paper); padding: 74px 0 34px; position: relative; overflow: hidden; }
.site-footer .blob { width: 260px; height: 260px; bottom: -120px; right: -80px; opacity: 0.25; }
.site-footer .logo { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; position: relative; }
.footer-brand p { color: rgba(243, 240, 232, 0.66); font-size: 14.5px; max-width: 300px; margin-top: 16px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(243, 240, 232, 0.72); font-size: 14.5px; padding: 6px 0; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(243, 240, 232, 0.18); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  color: rgba(243, 240, 232, 0.55); font-size: 13.5px; position: relative;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(243, 240, 232, 0.4);
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--paper);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); font-family: var(--font-display); font-weight: 700;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: rotate(-8deg) scale(1.12); }

/* ── Alerts ── */
.form-success {
  border: 1.5px solid #17c964; background: rgba(23, 201, 100, 0.1);
  color: #0e7a3d; border-radius: 14px; padding: 16px 20px; font-size: 15px; margin-bottom: 20px;
}
.form-error {
  border: 1.5px solid #e5484d; background: rgba(229, 72, 77, 0.08);
  color: #b3261e; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: 1fr; padding: 48px 36px; }
  .detail-row { grid-template-columns: 1fr; gap: 26px; padding: 48px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
  .section { padding: 76px 0; }
  .deliverables { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-panel { padding: 64px 26px; }
  .spotlight { padding: 40px 24px; }
  .form-card { padding: 32px 24px; }
  .hero .blob-a, .hero .blob-b { display: none; }
}
