/* ============================================================
   Klick365 — recreation of the Hanzo design language
   Plain CSS, no build step.
   ============================================================ */

:root {
  --bg: #e9e9e7;
  --bg-2: #f2f2f0;
  --ink: #141414;
  --muted: #a3a3a0;
  --muted-2: #6f6f6c;
  --dark: #171717;
  --dark-2: #202020;
  --line: rgba(0, 0, 0, 0.08);
  --green: #35c65a;
  --yellow: #f4c430;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.25);
  --shadow-soft: 0 10px 40px -18px rgba(0, 0, 0, 0.18);
  --max: 1180px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

/* ---------- Intro loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background-image:
    linear-gradient(125deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 35%),
    linear-gradient(305deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 40%);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.6s ease 0.3s;
}
.loader.done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.loader-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.loader-word {
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: -0.045em;
  color: var(--ink);
  display: inline-flex;
}
.loader-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
  animation: letterIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.loader-word span:nth-child(1) { animation-delay: 0.05s; }
.loader-word span:nth-child(2) { animation-delay: 0.11s; }
.loader-word span:nth-child(3) { animation-delay: 0.17s; }
.loader-word span:nth-child(4) { animation-delay: 0.23s; }
.loader-word span:nth-child(5) { animation-delay: 0.29s; }
.loader-word span:nth-child(6) { animation-delay: 0.35s; }
.loader-word span:nth-child(7) { animation-delay: 0.41s; }
.loader-word span:nth-child(8) { animation-delay: 0.47s; }
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
.loader-mark {
  width: 58px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(160deg, #2a2a2a, #0e0e0e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(0.5) rotate(-12deg);
  animation: markIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}
.loader-mark svg { width: 60%; height: auto; }
@keyframes markIn { to { opacity: 1; transform: none; } }
.loader-bar {
  width: 180px; height: 3px;
  border-radius: 3px;
  background: rgba(0,0,0,0.1);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform: translateX(-100%);
  animation: barFill 1.15s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards;
}
@keyframes barFill { to { transform: translateX(0); } }

/* prevent scroll while loading */
body.loading { overflow: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* soft diagonal light like the reference */
  background-image:
    linear-gradient(125deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 35%),
    linear-gradient(305deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 40%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -12px rgba(0,0,0,0.5); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(0,0,0,0.55); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-light:hover { transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}
.nav-desktop {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  padding: 8px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}
.nav-desktop a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted-2);
  padding: 8px 16px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.nav-desktop a:hover { background: rgba(0,0,0,0.05); color: var(--ink); }
.header-cta {
  padding: 12px 22px;
  font-size: 0.92rem;
}
.menu-btn {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(233,233,231,0.98);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; padding: 10px; color: var(--ink); }
.mobile-menu .mm-cta { margin-top: 18px; font-size: 1.1rem; background: var(--ink); color: #fff; padding: 14px 32px; border-radius: 100px; }

/* ---------- Layout helpers ---------- */
main { display: block; }
section { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-2);
}
.section-head { text-align: center; margin-bottom: 60px; }
.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 10px;
}
.section-head .eyebrow { margin-bottom: 4px; }
.section-head.light .section-title, .section-head.light .eyebrow { color: #fff; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(53,198,90,0.18); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-title {
  font-size: clamp(2.8rem, 8.5vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 30px 0 26px;
  max-width: 15ch;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.28em;
  align-items: center;
  justify-content: center;
}
.hero-title .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  border-radius: 18px;
  box-shadow: var(--shadow);
  height: 0.82em;
}
.hero-title .chip-a {
  width: 1.5em;
  background:
    linear-gradient(135deg, var(--yellow), #e0a800),
    var(--dark);
  background-blend-mode: normal;
  position: relative;
  overflow: hidden;
}
.hero-title .chip-a::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.25) 0 25%, transparent 25% 55%, rgba(255,255,255,0.25) 55% 60%, transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,0.15), transparent);
}
.hero-title .chip-b {
  width: 1.35em;
  background: linear-gradient(160deg, #2a2a2a, #0e0e0e);
}
.hero-title .chip-b svg { width: 62%; height: auto; }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted-2);
  line-height: 1.5;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.trusted { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.avatars { display: flex; }
.av {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -12px;
  background-size: cover;
  box-shadow: var(--shadow-soft);
}
.av:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg,#5b6470,#2f3640); }
.av2 { background: linear-gradient(135deg,#c98d6a,#8a5a3c); }
.av3 { background: linear-gradient(135deg,#7d8b7a,#4a5647); }
.av4 { background: linear-gradient(135deg,#d9a441,#a97a20); }
.av5 { background: linear-gradient(135deg,#b3552f,#7a3418); }
.trusted-label { font-weight: 600; font-size: 0.9rem; color: var(--muted-2); }

/* ---------- Marquee strip (dark) ---------- */
.strip {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 26px 0;
  transform: rotate(-1.4deg) scale(1.03);
  margin: 30px 0 40px;
}
.strip-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.strip-track span {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.strip-track i {
  font-style: normal;
  color: var(--yellow);
  font-size: 1.4rem;
}

/* ---------- Intro / Services ---------- */
.intro { padding-top: 0; padding-bottom: 100px; text-align: center; }

/* Scroll-linked word reveal (vanilla recreation of framer-motion TextRevealByWord) */
.text-reveal-scroll { position: relative; height: 170vh; }
.text-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.text-reveal-sticky .eyebrow { margin: 0; }
.text-reveal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.12em 0.26em;
  max-width: 20ch;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.text-reveal .rw {
  color: var(--ink);
  opacity: 0.14;
  transition: opacity 0.12s linear;
  will-change: opacity;
}
.services { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.service-pill {
  background: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.service-pill:hover { transform: translateY(-3px); }

/* ---------- Process ---------- */
.process { padding: 90px 22px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 34px 44px;
  box-shadow: var(--shadow-soft);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: auto;
}
.step-card h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 28px 0 12px; }
.step-card p { color: var(--muted-2); line-height: 1.5; font-size: 1.02rem; }

/* ---------- Quotes ---------- */
.quotes { padding: 40px 22px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.quote-card blockquote { font-size: 1.2rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.q-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.qa1 { background: linear-gradient(135deg,#c98d6a,#7a4a2c); }
.qa2 { background: linear-gradient(135deg,#5b6470,#2f3640); }
.q-meta { display: flex; flex-direction: column; }
.q-meta strong { font-weight: 700; }
.q-meta small { color: var(--muted-2); font-size: 0.9rem; }

/* ---------- Work / Case studies (dark) ---------- */
.work {
  max-width: none;
  background: var(--dark);
  color: #fff;
  padding: 100px 22px 110px;
  border-radius: 40px;
  margin: 0 14px;
}
.work .section-head { max-width: var(--max); margin-inline: auto; margin-bottom: 60px; }
.bento {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.project {
  display: block;
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform 0.3s ease;
}
.project:hover { transform: translateY(-6px); }
.project-visual {
  height: 300px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.project-visual.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.v-strida { background: linear-gradient(135deg,#3a3a3a,#1c1c1c); }
.v-strida::after { content:""; position:absolute; inset:24px; border-radius:10px; background:linear-gradient(160deg,#4a4a4a,#2a2a2a); box-shadow:inset 0 1px 0 rgba(255,255,255,.06); }
.v-bravo { background: linear-gradient(135deg,#e9e2d4,#cfc6b4); }
.v-bravo::after { content:""; position:absolute; left:30px; right:30px; top:34px; bottom:0; border-radius:14px 14px 0 0; background:linear-gradient(180deg,#fff,#f0ece2); box-shadow:0 -6px 30px rgba(0,0,0,.12); }
.v-nitro { background: linear-gradient(135deg,#2b3a67,#161e38); }
.v-nitro::after { content:""; position:absolute; inset:30px; border-radius:12px; background:linear-gradient(135deg,#3f5aa6,#24316a); box-shadow:0 10px 40px rgba(63,90,166,.4); }
.v-fargo { background: linear-gradient(135deg,#f4c430,#d89a1e); }
.v-fargo::after { content:""; position:absolute; left:34px; right:34px; top:40px; bottom:0; border-radius:14px 14px 0 0; background:#141414; }
.project-info { display: flex; align-items: center; justify-content: space-between; padding: 18px 8px 6px; }
.project-info strong { font-size: 1.3rem; font-weight: 700; }
.project-info .tags { display: flex; gap: 8px; }
.project-info .tags i {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cfcfcf;
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 100px;
}

/* ---------- Filterable site showcase (inside a project page) ---------- */
.site-filter {
  max-width: var(--max);
  margin: 0 auto 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-chip {
  font: inherit;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.site-chip:hover { transform: translateY(-3px); }
.site-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-chip .n { margin-left: 7px; opacity: 0.45; font-weight: 700; }
/* The cards live on the light project page, not inside the dark .work section,
   so they can't inherit its white text — set it on the grid itself. */
.site-grid .project-info strong { color: #fff; }
.site-grid .project[hidden] { display: none; }
.site-empty { text-align: center; color: var(--muted-2); padding: 34px 0 6px; }
.live-btn { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 30px; }
.live-btn .arrow { transition: transform 0.25s ease; }
.live-btn:hover .arrow { transform: translate(3px, -3px); }

/* ---------- About ---------- */
.about { padding: 110px 22px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: stretch; }
.founder-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 26px;
  align-items: center;
}
.founder-photo {
  width: 150px; height: 180px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: linear-gradient(160deg,#8a6b52,#4a3524);
}
.founder-body strong { font-size: 1.35rem; font-weight: 800; display: block; }
.founder-body small { color: var(--muted-2); font-size: 0.95rem; }
.founder-body p { margin-top: 16px; color: var(--muted-2); line-height: 1.55; }
.timeline {
  list-style: none;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timeline li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "role years" "org years";
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.timeline li:last-child { border-bottom: none; }
.timeline .role { grid-area: role; font-weight: 700; font-size: 1.1rem; }
.timeline .org { grid-area: org; color: var(--muted-2); font-size: 0.95rem; margin-top: 2px; }
.timeline .years { grid-area: years; color: var(--muted-2); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }

/* ---------- Pricing ---------- */
.pricing { padding: 90px 22px 60px; }
.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.price-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-2);
  padding: 5px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.pt {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  color: var(--muted-2);
  transition: 0.2s;
}
.pt.active { background: var(--ink); color: #fff; }
.price-amount { display: flex; align-items: baseline; gap: 8px; }
.price-amount .amount { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price-amount .per { color: var(--muted-2); font-weight: 600; font-size: 1.1rem; }
.price-status { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 26px; color: var(--muted-2); font-weight: 500; font-size: 0.95rem; }
.included { margin-top: 34px; }
.included-label { font-weight: 700; margin-bottom: 18px; }
.included ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.included li { position: relative; padding-left: 30px; color: var(--muted-2); font-weight: 500; }
.included li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* feature marquee */
.feature-marquee { margin-top: 70px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.fm-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.fm-track span {
  background: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { padding: 90px 22px; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.chevron { position: relative; width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s ease; }
.chevron::before, .chevron::after { content: ""; position: absolute; top: 7px; width: 10px; height: 2px; background: var(--ink); border-radius: 2px; }
.chevron::before { left: 0; transform: rotate(45deg); }
.chevron::after { right: 0; transform: rotate(-45deg); }
.faq-item[open] .chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 28px 26px; color: var(--muted-2); line-height: 1.55; max-width: 62ch; }
.faq-foot { text-align: center; margin-top: 36px; color: var(--muted-2); font-weight: 500; }
.faq-foot a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { text-align: center; padding: 110px 22px 120px; }
.contact-title { font-size: clamp(3rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: 14px 0 22px; }
.contact-sub { color: var(--muted-2); font-size: 1.15rem; line-height: 1.5; max-width: 44ch; margin: 0 auto 40px; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 22px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .logo { background: none; box-shadow: none; padding: 0; }
.site-footer .copy { color: var(--muted-2); font-size: 0.92rem; }
.site-footer .copy strong { color: var(--ink); font-weight: 700; }
.foot-mail { font-weight: 600; color: var(--muted-2); }
.foot-mail:hover { color: var(--ink); }

/* ---------- Worldwide / locations ---------- */
.worldwide { padding: 90px 22px; text-align: center; }
.worldwide .section-head { margin-bottom: 22px; }
.worldwide-sub { color: var(--muted-2); font-size: 1.05rem; line-height: 1.5; max-width: 46ch; margin: 0 auto 34px; }
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.city {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.city:hover { transform: translateY(-3px); }
.city::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53,198,90,0.15);
}

/* ---------- Team ---------- */
.team-head {
  text-align: center;
  margin: 70px 0 30px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-member {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px 28px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.25s ease;
}
.team-member:hover { transform: translateY(-4px); }
.team-photo {
  display: block;
  width: 92px; height: 92px;
  border-radius: 50%;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-soft);
}
.team-member strong { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.team-member small { color: var(--muted-2); font-size: 0.92rem; }
.tm1 { background: linear-gradient(150deg, #5b6470, #2f3640); }
.tm2 { background: linear-gradient(150deg, #7c3aed, #a78bfa); }
.tm3 { background: linear-gradient(150deg, #b45309, #f59e0b); }
.tm4 { background: linear-gradient(150deg, #0f766e, #2dd4bf); }

/* ---------- Services (two pillars) ---------- */
.services-sec { padding: 90px 22px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px 44px;
  box-shadow: var(--shadow-soft);
}
.pillar--grow { background: var(--dark); color: #fff; }
.pillar-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.pillar-label--build { background: rgba(0,0,0,0.06); color: var(--ink); }
.pillar-label--grow { background: var(--yellow); color: #141414; }
.pillar h3 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.pillar > p { color: var(--muted-2); margin: 14px 0 26px; line-height: 1.5; max-width: 40ch; }
.pillar--grow > p { color: rgba(255,255,255,0.6); }
.pillar-list { list-style: none; display: grid; gap: 0; }
.pillar-list li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.pillar-list li:first-child { border-top: none; }
.pillar--grow .pillar-list li { border-top-color: rgba(255,255,255,0.1); }
.pillar-list li::before {
  content: "";
  position: absolute; left: 2px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}
.pillar--grow .pillar-list li::before { background: var(--yellow); }

/* ---------- Lead intake (typeform-style) ---------- */
.intake { padding: 90px 22px; }
.intake-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  padding: 38px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.intake-progress { height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; margin-bottom: 34px; }
.intake-progress span { display: block; height: 100%; width: 25%; background: var(--ink); border-radius: 4px; transition: width 0.4s cubic-bezier(0.22,1,0.36,1); }
.intake-step { border: none; padding: 0; margin: 0; display: none; min-inline-size: auto; }
.intake-step.is-active { display: block; animation: stepIn 0.4s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intake-q { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px; padding: 0; line-height: 1.15; }
.intake-q em { font-style: normal; font-size: 0.62em; font-weight: 600; color: var(--muted); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-grid--multi { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, color 0.2s;
}
.opt--sm { padding: 13px 16px; font-size: 0.9rem; border-radius: 100px; text-align: center; }
.opt:hover { border-color: rgba(0,0,0,0.35); transform: translateY(-2px); }
.opt.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt-grid.shake { animation: shake 0.4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
.intake-fields { display: flex; flex-direction: column; gap: 18px; }
.intake-field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--muted-2); }
.intake-field input, .intake-field select, .intake-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.2s, background 0.2s;
}
.intake-field input:focus, .intake-field select:focus, .intake-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.intake-field textarea { resize: vertical; }
.intake-field.invalid input { border-color: #e5484d; background: #fff6f6; }
.intake-nav { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 30px; }
.intake-back { border: none; background: none; font-family: inherit; font-weight: 600; font-size: 0.95rem; color: var(--muted-2); cursor: pointer; padding: 10px 4px; }
.intake-back:hover { color: var(--ink); }
.intake-count { font-size: 0.88rem; color: var(--muted); font-weight: 600; margin-left: auto; margin-right: 4px; }
.intake-next { padding: 14px 26px; }
.intake-success { text-align: center; padding: 24px 10px; animation: stepIn 0.4s ease; }
.intake-check { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.intake-success h3 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }
.intake-success p { color: var(--muted-2); margin-top: 12px; line-height: 1.5; max-width: 38ch; margin-inline: auto; }

/* ---------- Project / case-study page ---------- */
.proj-hero { padding: 140px 22px 40px; text-align: center; }
.back-link { display: inline-block; font-weight: 600; color: var(--muted-2); margin-bottom: 22px; transition: color 0.2s; }
.back-link:hover { color: var(--ink); }
.proj-hero .badge { margin: 0 auto; }
.proj-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin: 24px auto 20px; max-width: 16ch; }
.proj-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted-2); line-height: 1.5; max-width: 60ch; margin: 0 auto 40px; }
.proj-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 56px; }
.meta-item {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; padding: 16px 26px; border-radius: 16px;
  box-shadow: var(--shadow-soft); text-align: left; min-width: 130px;
}
.meta-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.meta-value { font-weight: 700; font-size: 1.05rem; }
.proj-visual {
  max-width: var(--max); margin: 0 auto; height: 440px;
  border-radius: 30px; overflow: hidden;
  background: linear-gradient(135deg, #2b3a67, #161e38);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.proj-visual-inner {
  width: 78%; height: 74%; border-radius: 16px;
  background: linear-gradient(160deg, #3f5aa6, #24316a);
  box-shadow: 0 30px 80px -20px rgba(63,90,166,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}
.proj-visual.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.proj-visual.has-img .proj-visual-inner { display: none; }

.proj-section { padding: 70px 22px; }
.proj-section .section-head { text-align: left; margin-bottom: 40px; }
.do-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.do-copy p { color: var(--muted-2); line-height: 1.65; font-size: 1.08rem; margin-bottom: 20px; max-width: 52ch; }
.do-copy p:last-child { margin-bottom: 0; }
.deliverables { list-style: none; background: #fff; border-radius: var(--radius); padding: 12px 28px; box-shadow: var(--shadow-soft); }
.deliverables li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid var(--line); font-weight: 600; }
.deliverables li:first-child { border-top: none; }
.deliverables li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.proj-section .services { justify-content: flex-start; }

/* Performance (dark) */
.proj-perf {
  max-width: none; background: var(--dark); color: #fff;
  border-radius: 40px; margin: 0 14px; padding: 90px 40px 100px;
}
.proj-perf .section-head { max-width: var(--max); margin-inline: auto; }
.stats { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--dark-2); border-radius: var(--radius); padding: 34px 28px; }
.stat-num { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-num em { font-style: normal; font-size: 0.5em; font-weight: 700; color: var(--yellow); margin-left: 2px; }
.stat-label { display: block; margin-top: 14px; color: rgba(255,255,255,0.6); font-weight: 500; line-height: 1.4; }

/* Review */
.proj-review { max-width: 860px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 30px; padding: 50px; box-shadow: var(--shadow-soft); }
.proj-review blockquote { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
.proj-review figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; }

/* Media gallery (videos & ads) */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.media-card { margin: 0; }
.media-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(150deg, #2b3a67, #161e38);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.media-thumb img, .media-thumb video, .media-thumb iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: none;
}
.media-play {
  position: relative; z-index: 1;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: #141414;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; padding-left: 4px;
  box-shadow: var(--shadow);
}
.media-card figcaption { margin-top: 12px; font-weight: 600; color: var(--muted-2); font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-cta { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .do-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .proj-visual { height: 320px; }
  .proj-perf { margin: 0 6px; padding: 60px 24px 70px; }
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 560px) {
  .hero-title .chip { display: none; }
  .hero-title { gap: 0 0.2em; }
  .quote-card { padding: 28px; }
  .work { border-radius: 26px; margin: 0 6px; }
  .hero-actions { flex-direction: column; }
  .intake-card { padding: 26px 20px; }
  .opt-grid { grid-template-columns: 1fr; }
  .pillar { padding: 32px 26px 36px; }
  .stats { grid-template-columns: 1fr; }
  .proj-review { padding: 32px 26px; }
  .proj-hero { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fm-track { animation: none; }
  .text-reveal .rw { opacity: 1 !important; transition: none; }
  html { scroll-behavior: auto; }
}
