/* ==========================================================================
   Morrowframe — Design System
   ========================================================================== */

:root {
  /* Surfaces — Stripe-style light canvas */
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f5f4ff;
  --surface-border: rgba(10, 37, 64, 0.09);
  --surface-border-strong: rgba(10, 37, 64, 0.16);

  /* Text — Stripe navy */
  --text: #0a2540;
  --text-dim: #425466;
  --text-dimmer: #8898aa;

  /* Accents — Stripe indigo / pink / amber */
  --accent-1: #635bff;
  --accent-1-soft: #635bff26;
  --accent-2: #ff5ca8;
  --accent-2-soft: #ff5ca826;
  --accent-3: #ffb572;
  --accent-3-soft: #ffb57233;

  --gradient-1: linear-gradient(135deg, #635bff 0%, #ff5ca8 100%);
  --gradient-2: linear-gradient(135deg, #ff5ca8 0%, #ffb572 100%);
  --gradient-3: linear-gradient(135deg, #635bff 0%, #ff5ca8 50%, #ffb572 100%);
  --gradient-text: linear-gradient(90deg, #635bff 0%, #ff5ca8 50%, #ffb572 100%);

  /* Type */
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient grain + glow layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(10, 37, 64, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

section { position: relative; z-index: 1; }

::selection { background: var(--accent-1); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-1); }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-1);
  box-shadow: 0 0 12px var(--accent-2);
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 1.08rem;
}

.section-head.left {
  margin: 0 0 56px;
  text-align: left;
}

section.pad { padding: 130px 0; }
section.pad-sm { padding: 90px 0; }

@media (max-width: 768px) {
  section.pad { padding: 88px 0; }
  section.pad-sm { padding: 64px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-1);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(99, 91, 255, 0.45);
}

.btn-primary:hover {
  background: #544bff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(99, 91, 255, 0.55);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--surface-border-strong);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.06);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.06), 0 8px 24px -12px rgba(10, 37, 64, 0.1);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo .mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo .mark svg { width: 34px; height: 34px; color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 200;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    height: 100vh;
    background: var(--bg-elevated);
    border-left: 1px solid var(--surface-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  animation: float 16s ease-in-out infinite;
  will-change: transform;
}

.blob-1 { width: 480px; height: 480px; background: var(--accent-1); top: -120px; left: -80px; }
.blob-2 { width: 420px; height: 420px; background: var(--accent-2); top: 100px; right: -140px; animation-delay: -4s; }
.blob-3 { width: 380px; height: 380px; background: var(--accent-3); bottom: -160px; left: 30%; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin-bottom: 26px;
}

.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-meta div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.hero-meta div span {
  font-size: 0.82rem;
  color: var(--text-dimmer);
}

/* Floating glass card stack */
.hero-visual {
  position: relative;
  height: 480px;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 20px 45px -20px rgba(10, 37, 64, 0.25), 0 4px 12px -4px rgba(10, 37, 64, 0.08);
  animation: drift 9s ease-in-out infinite;
  will-change: transform;
}

.glass-card.c1 { top: 0; right: 10%; width: 260px; animation-delay: 0s; }
.glass-card.c2 { top: 190px; right: 40%; width: 230px; animation-delay: -3s; }
.glass-card.c3 { bottom: 10px; right: 0%; width: 240px; animation-delay: -6s; }

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.glass-card .row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.glass-card .dot { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.glass-card .dot svg { width: 16px; height: 16px; }
.glass-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.glass-card p { font-size: 0.8rem; color: var(--text-dimmer); }
.glass-card .bar { height: 6px; border-radius: 4px; background: var(--surface-border); overflow: hidden; margin-top: 12px; }
.glass-card .bar span { display: block; height: 100%; border-radius: 4px; background: var(--gradient-1); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; margin-top: 20px; }
  .glass-card.c1 { width: 200px; right: 0; }
  .glass-card.c2 { width: 180px; right: 30%; top: 140px; }
  .glass-card.c3 { width: 200px; right: 5%; }
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 34px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: scroll 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text-dimmer);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--surface-border-strong);
  background: var(--surface-hover);
  box-shadow: 0 24px 40px -16px rgba(10, 37, 64, 0.18);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--gradient-1);
}

.card .icon svg { width: 24px; height: 24px; color: #06060a; }

.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.card .num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--surface-border-strong);
}

/* ---------- Process ---------- */
.process { position: relative; }
.process-line {
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-border-strong) 15%, var(--surface-border-strong) 85%, transparent);
  z-index: 0;
}

.process-step { text-align: left; position: relative; }
.process-step .badge {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--surface-border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative; z-index: 1;
  background-image: var(--gradient-1);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Portfolio ---------- */
.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.work-card:hover {
  box-shadow: 0 24px 40px -16px rgba(10, 37, 64, 0.18);
  transform: translateY(-4px);
}

.work-thumb {
  height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-thumb::before { transform: scale(1.08); }

.work-thumb .glyph { position: relative; z-index: 1; width: 64px; height: 64px; opacity: 0.9; }

.work-body { padding: 24px 26px 28px; }
.work-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 10px;
  font-weight: 600;
}
.work-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.work-body p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; }
.work-links { display: flex; gap: 10px; flex-wrap: wrap; }
.work-links span {
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-border);
  color: var(--text-dimmer);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-1);
  color: #06060a;
  border-color: transparent;
}

.work-item.hidden { display: none; }

/* ---------- Stats ---------- */
.stats-band {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.stat { text-align: center; padding: 20px; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--text-dimmer); font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.testi-slide {
  display: none;
  text-align: center;
  padding: 10px 20px;
}
.testi-slide.active { display: block; animation: fadeIn 0.6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.testi-slide p.quote {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  margin-bottom: 30px;
}

.testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: #06060a;
}
.testi-person div { text-align: left; }
.testi-person strong { display: block; font-size: 0.92rem; }
.testi-person span { color: var(--text-dimmer); font-size: 0.8rem; }

.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.testi-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--surface-border-strong);
  border: none;
  transition: all 0.3s var(--ease);
}
.testi-dots button.active { width: 26px; border-radius: 5px; background: var(--gradient-1); }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.switch {
  width: 52px; height: 28px;
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-full);
  position: relative;
  transition: background 0.3s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-1);
  transition: transform 0.35s var(--ease);
}
.switch.on::after { transform: translateX(24px); }

.price-card {
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06);
}

.price-card.featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box, var(--gradient-1) border-box;
  transform: scale(1.03);
  box-shadow: 0 24px 48px -20px rgba(99, 91, 255, 0.3);
}

.price-card .tag {
  position: absolute;
  top: -13px; right: 26px;
  background: var(--gradient-1);
  color: #06060a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-card .desc { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 24px; }
.price-card .amount { font-family: var(--font-head); font-size: 2.6rem; margin-bottom: 4px; }
.price-card .amount span { font-size: 1rem; color: var(--text-dimmer); font-family: var(--font-body); }
.price-card .period { color: var(--text-dimmer); font-size: 0.82rem; margin-bottom: 28px; }

.price-list { margin: 0 0 30px; flex-grow: 1; }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 9px 0;
  border-bottom: 1px solid var(--surface-border);
}
.price-list li:last-child { border-bottom: none; }
.price-list li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--surface-border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4px;
  cursor: pointer;
  gap: 20px;
}
.faq-q h4 { font-size: 1.02rem; font-weight: 500; }
.faq-q .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--surface-border-strong);
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--text);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 10px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 10px; transition: transform 0.3s var(--ease); }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-item.open .plus { background: var(--gradient-1); border-color: transparent; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p { padding: 0 4px 24px; color: var(--text-dim); font-size: 0.93rem; max-width: 640px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  color: #06060a;
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card span { color: var(--text-dimmer); font-size: 0.85rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: var(--surface-border-strong);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 46px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 12px; top: 4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--gradient-1);
  box-shadow: 0 0 0 5px var(--bg);
}
.timeline-item .year { color: var(--accent-2); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.timeline-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-item p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Values grid ---------- */
.value-card { display: flex; gap: 18px; align-items: flex-start; }
.value-card .icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--surface-border); }
.value-card .icon svg { width: 22px; height: 22px; color: var(--accent-2); }
.value-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.value-card p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- CTA Band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--surface-border);
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-3);
  opacity: 0.12;
  filter: blur(50px);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; position: relative; }
.cta-band p { color: var(--text-dim); max-width: 480px; margin: 0 auto 34px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Forms ---------- */
.form-field { position: relative; margin-bottom: 22px; }
.form-field label {
  position: absolute;
  left: 20px; top: 17px;
  color: var(--text-dimmer);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: var(--bg);
  padding: 0 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 17px 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 0.3s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--accent-1); }

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -9px;
  left: 14px;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.form-field.select label { top: -9px; left: 14px; font-size: 0.75rem; color: var(--text-dimmer); }
.form-field select { color: var(--text-dim); }
.form-field select:focus { color: var(--text); }

.form-note { font-size: 0.8rem; color: var(--text-dimmer); margin-top: -8px; margin-bottom: 22px; }
.form-success {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-2-soft);
  border: 1px solid var(--accent-2);
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-success.show { display: block; animation: fadeIn 0.4s var(--ease); }

/* pill-style checkbox / radio groups (project questionnaire) */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.pill-option {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.pill-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.pill-option span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.pill-option:hover span { border-color: var(--accent-1); color: var(--text); }
.pill-option input:checked + span { background: var(--accent-1); color: #fff; border-color: transparent; }
.pill-option input:focus-visible + span { outline: 2px solid var(--accent-1); outline-offset: 2px; }

.form-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text);
}

.form-section-label:first-of-type { margin-top: 0; }

.form-section-label .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-dimmer);
  margin: -14px 0 20px;
}

/* contact info cards */
.info-card { display: flex; align-items: flex-start; gap: 16px; }
.info-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .icon svg { width: 20px; height: 20px; color: #06060a; }
.info-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.info-card p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin: 18px 0 24px; max-width: 280px; }
.footer h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dimmer); margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; color: var(--text-dim); transition: color 0.25s; }
.footer-links a:hover { color: var(--accent-2); }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-row a:hover { background: var(--gradient-1); border-color: transparent; }
.social-row a svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--surface-border);
  color: var(--text-dimmer);
  font-size: 0.83rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }
.reveal-4 { transition-delay: 0.32s; }

/* ---------- Custom cursor ---------- */
.cursor-dot {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-1);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  opacity: 0.55;
  display: none;
}
@media (min-width: 1000px) and (hover: hover) {
  .cursor-dot { display: block; }
}
.cursor-dot.grow { width: 38px; height: 38px; background: var(--accent-1); opacity: 0.12; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 160px 0 90px; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }
.page-hero p { color: var(--text-dim); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Alt background band */
.band-alt { background: var(--bg-alt); }

/* Divider glow */
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  opacity: 0.5;
}

/* ---------- Decorative scatter patterns ---------- */
.dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(10, 37, 64, 0.14) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: center top;
  opacity: 0.4;
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  transform: rotate(var(--r, 0deg));
}

.deco-ring {
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent-1);
  border-radius: 50%;
  opacity: 0.18;
}
.deco-ring.sm { width: 30px; height: 30px; }
.deco-ring.pink { border-color: var(--accent-2); }
.deco-ring.amber { border-color: var(--accent-3); }

.deco-plus {
  width: 18px;
  height: 18px;
  opacity: 0.4;
}
.deco-plus::before,
.deco-plus::after {
  content: "";
  position: absolute;
  background: var(--accent-1);
  border-radius: 2px;
}
.deco-plus::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.deco-plus::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.deco-plus.pink::before, .deco-plus.pink::after { background: var(--accent-2); }
.deco-plus.amber::before, .deco-plus.amber::after { background: var(--accent-3); }

.deco-diamond {
  width: 14px;
  height: 14px;
  background: var(--accent-3);
  border-radius: 4px;
  --r: 45deg;
  opacity: 0.35;
}
.deco-diamond.purple { background: var(--accent-1); }
.deco-diamond.pink { background: var(--accent-2); }

.deco-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.55;
}
.deco-dot.purple { background: var(--accent-1); }
.deco-dot.amber { background: var(--accent-3); }

.deco-line {
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-1);
  opacity: 0.3;
  --r: -18deg;
}

@media (max-width: 700px) {
  .deco { display: none; }
}
