/* Arrow Solutions — V1 Apple-style premium */

:root {
  --navy: #171557;
  --navy-deep: #0E0C3D;
  --gold: #E29619;
  --gold-soft: #F4C76A;
  --bg: #F5F2EA;
  --bg-2: #FFFFFF;
  --ink: #0A0925;
  --slate: #6B6B85;
  --slate-2: #9A9AAE;
  --rule: rgba(23, 21, 87, 0.08);
  --rule-strong: rgba(23, 21, 87, 0.18);

  --font: 'Montserrat', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}
.eyebrow .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: 2px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 40px; }

.accent { color: var(--gold); font-weight: 500; }

/* ============== NAV ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245, 242, 234, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--navy); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* ============== HERO V2 ============== */
.hero-v2 {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg-v2 {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(226, 150, 25, 0.15), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(23, 21, 87, 0.08), transparent 55%);
  filter: blur(20px);
}
.hero-stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
}
.hero-logo {
  width: auto;
  height: clamp(120px, 18vw, 240px);
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out);
  transform-origin: center center;
  will-change: transform, opacity;
}
.hero-logo.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-tagline {
  text-align: center;
  margin-top: 56px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  max-width: 880px;
}
.hero-tagline.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-tagline h1 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-tagline p {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--slate);
  letter-spacing: -0.005em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: hintIn 0.8s var(--ease-out) 1.6s forwards;
}
@keyframes hintIn { to { opacity: 1; } }
.hero-scroll-hint .line {
  width: 1px; height: 36px;
  background: var(--rule-strong);
  position: relative;
  overflow: hidden;
}
.hero-scroll-hint .line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 1px; height: 100%;
  background: var(--gold);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============== INTRO ============== */
.intro {
  padding: 140px 0 100px;
  background: var(--bg);
}
.intro .eyebrow { margin-bottom: 32px; }
.intro-lead {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 40px;
}
.intro-sub {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 64ch;
}

/* ============== PROCESS ============== */
.process {
  padding: 140px 0 160px;
  background: var(--bg-2);
  position: relative;
}
.process-head {
  max-width: 760px;
  margin-bottom: 100px;
}
.process-head .eyebrow { margin-bottom: 28px; }
.process-head h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.process-head .lead {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.55;
  max-width: 56ch;
}

.process-stage {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

/* Sticky rail */
.process-rail {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 32px;
  padding: 16px 0;
}
.rail-track {
  width: 1px;
  background: var(--rule);
  position: relative;
  margin-left: 11px;
  align-self: stretch;
  min-height: 100%;
}
.rail-fill {
  position: absolute;
  top: 0; left: -1px;
  width: 3px;
  background: var(--gold);
  height: 0%;
  transition: height 0.7s var(--ease-out);
  box-shadow: 0 0 12px rgba(226, 150, 25, 0.5);
  border-radius: 2px;
}
.rail-steps {
  list-style: none;
  display: grid;
  gap: 32px;
  padding: 0;
  position: relative;
  margin-left: -56px;
}
.rail-steps li {
  display: grid;
  grid-template-columns: 24px 32px 1fr;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity 0.4s var(--ease);
  opacity: 0.45;
}
.rail-steps li.active { opacity: 1; }
.rail-steps li:hover { opacity: 0.8; }
.rs-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--rule-strong);
  margin: 0 auto;
  transition: all 0.4s var(--ease);
}
.rail-steps li.active .rs-dot {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 0 5px rgba(226, 150, 25, 0.18);
}
.rs-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--slate);
  transition: color 0.3s var(--ease);
}
.rail-steps li.active .rs-num { color: var(--gold); }
.rs-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* Panels */
.process-panels {
  display: grid;
  gap: 60px;
}
.step-panel {
  padding: 56px 56px;
  border-radius: 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: background 0.6s var(--ease), transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease);
  scroll-margin-top: 120px;
}
.step-panel::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(226, 150, 25, 0.0), transparent 70%);
  pointer-events: none;
  transition: background 0.7s var(--ease);
}
.step-panel.active {
  background: var(--navy);
  transform: scale(1.005);
  box-shadow: 0 30px 80px -30px rgba(23, 21, 87, 0.4);
}
.step-panel.active::before {
  background: radial-gradient(circle, rgba(226, 150, 25, 0.18), transparent 65%);
}
.sp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.sp-num {
  font-size: 60px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.5s var(--ease);
}
.sp-phase {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 28px;
  transition: color 0.5s var(--ease);
}
.step-panel.active .sp-phase { color: rgba(245, 242, 234, 0.6); }
.step-panel h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
  transition: color 0.5s var(--ease);
}
.step-panel.active h3 { color: var(--bg); }
.step-panel p {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 32px;
  transition: color 0.5s var(--ease);
}
.step-panel.active p { color: rgba(245, 242, 234, 0.75); }
.sp-list {
  list-style: none;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.sp-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.sp-list li::before {
  content: '→';
  color: var(--gold);
  font-weight: 600;
}
.step-panel.active .sp-list li {
  color: var(--bg);
  border-color: rgba(245, 242, 234, 0.15);
}

/* ============== DIFFERENTIATORS ============== */
.differentiators {
  padding: 160px 0;
  background: var(--navy);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.differentiators::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(226, 150, 25, 0.18), transparent 70%);
  filter: blur(40px);
}
.differentiators .container { position: relative; }
.differentiators .eyebrow { color: var(--gold-soft); margin-bottom: 32px; }
.differentiators .eyebrow .dot { background: var(--gold); }
.differentiators h2 {
  color: var(--bg);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 18ch;
  margin-bottom: 100px;
}
.differentiators h2 .accent { color: var(--gold); font-weight: 500; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.diff {
  background: var(--navy);
  padding: 56px 48px;
}
.diff-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 32px;
}
.diff h3 {
  color: var(--bg);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.diff p {
  color: rgba(245, 242, 234, 0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 38ch;
}

/* ============== TEAM ============== */
.team {
  padding: 140px 0;
  background: var(--bg-2);
}
.team .section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.team h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 18ch;
}
.team h2 .accent { color: var(--gold); font-weight: 500; }
.team .lead { font-size: 17px; color: var(--slate); max-width: 56ch; margin-top: 20px; line-height: 1.55; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.member {
  background: var(--bg);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.member:hover { transform: translateY(-4px); background: var(--navy); color: var(--bg); }
.member:hover h3, .member:hover .num { color: var(--bg); }
.member:hover .role, .member:hover p, .member:hover .stat-label { color: rgba(245,242,234,0.7); }

.member-mono {
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(10,9,37,0.04), 0 8px 24px -12px rgba(10,9,37,0.18);
  transition: box-shadow 0.5s var(--ease);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.02);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.member:hover .member-photo img { transform: scale(1.04); }
.member:hover .member-photo { box-shadow: 0 0 0 2px var(--gold), 0 12px 32px -10px rgba(10,9,37,0.4); }
.member h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 20px;
  min-height: 2.6em;
  line-height: 1.3;
}
.member p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.member-stat {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.member:hover .member-stat { border-color: rgba(255,255,255,0.18); }
.num {
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: right;
  max-width: 14ch;
  line-height: 1.3;
}

/* ============== CTA ============== */
.cta-section {
  padding: 160px 0;
  background: var(--bg);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}
.cta-grid h2 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta-info {
  margin-top: 48px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cta-info strong { color: var(--navy); font-weight: 600; }
.cta-form {
  background: var(--bg-2);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  gap: 14px;
  box-shadow: 0 20px 60px -20px rgba(23, 21, 87, 0.12);
}
.cta-form input,
.cta-form textarea {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--slate-2); font-weight: 500; }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--gold); background: var(--bg-2); }
.cta-form textarea { resize: vertical; min-height: 100px; }
.cta-form button {
  margin-top: 6px;
  background: var(--navy);
  color: var(--bg);
  border: 0;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s var(--ease);
}
.cta-form button:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }

/* ============== FOOTER ============== */
.footer {
  background: var(--navy);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-brand { display: flex; flex-direction: column; gap: 24px; max-width: 36ch; }
.footer-brand p { color: rgba(245,242,234,0.6); font-size: 14px; line-height: 1.6; }
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,242,234,0.5);
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a, .footer ul li {
  font-size: 14px;
  color: var(--bg);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer ul a:hover { opacity: 1; color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  color: rgba(245,242,234,0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============== APPLE-STYLE REVEAL ============== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

.fade-up-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-up-stagger.in > * { opacity: 1; transform: translateY(0); }
.fade-up-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.fade-up-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.fade-up-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.fade-up-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.fade-up-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.fade-up-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .process-stage { grid-template-columns: 280px 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .container, .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .process-stage { grid-template-columns: 1fr; gap: 32px; }
  .process-rail { position: static; }
  .step-panel { padding: 36px 28px; }
  .diff-grid, .team-grid, .footer-grid, .cta-grid { grid-template-columns: 1fr; gap: 24px; }
  .team .section-head { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
