:root {
  --bg:         #F4F5F7;
  --ink:        #111318;
  --muted:      #6B7280;
  --accent:     #3B5BDB;
  --rule:       rgba(0,0,0,0.08);
  --white:      #ffffff;
  --font-sans:  'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: hidden;

}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; padding: 0 52px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(244,245,247,.94);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--rule);
}
.nav-logo { font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-size: 13px; font-weight: 300; color: var(--muted);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ─── HERO ─── */
.hero {
  min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; padding: 120px 52px 100px;
  max-width: 1100px; margin: 0 auto; width: 100%; position: relative;
}
.hero::before {
  content: ''; position: fixed; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,91,219,.07) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 36px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow-sep { opacity: .3; }

.avail-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 2px rgba(34,197,94,.2); flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34,197,94,.2); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,.08); }
}

.hero-headline {
  font-size: clamp(44px, 6.2vw, 80px); font-weight: 300;
  line-height: 1.07; letter-spacing: -.035em; max-width: 720px; margin-bottom: 48px;
}
.hero-headline em {
  font-style: italic; font-weight: 400;
  color: var(--accent); letter-spacing: -.02em;
}

.hero-rule { height: 1px; background: var(--rule); margin-bottom: 36px; }

.hero-foot {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.hero-sub {
  font-size: 15px; font-weight: 300;
  color: var(--muted); max-width: 440px; line-height: 1.72;
}
.hero-btns { display: flex; gap: 10px; flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 52px;
  font-size: 10px; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); opacity: .35;
  display: flex; align-items: center; gap: 10px;
  z-index: 1;
}
.hero-scroll-hint::after {
  content: ''; display: block; width: 1px; height: 22px; background: var(--muted);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(.6); opacity: .4; }
  50%       { transform: scaleY(1);  opacity: 1; }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 400;
  cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f4cc4; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--rule); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(0,0,0,.2); }

/* ─── SECTIONS ─── */
.section { padding: 100px 0; border-top: 1px solid var(--rule); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 52px; }

.eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 52px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 1px; background: var(--muted); }

/* ─── FEATURED PROJECT ─── */
.feat-visual {
  width: 100%; background: var(--white);
  border-radius: 18px; overflow: hidden; position: relative;
  margin-bottom: 60px; border: 1px solid var(--rule);
}
.feat-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 44px 44px;
}
.feat-visual-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.feat-wordmark {
  font-size: clamp(48px, 8vw, 110px); font-weight: 300;
  letter-spacing: -.05em; color: rgba(17,19,24,.08);
}
.feat-sublabel {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); opacity: .4;
}
.feat-visual-img { width: 100%; padding: 0; }
.feat-visual-img img { width: 100%; height: auto; display: block; }
.feat-badge {
  position: absolute; top: 18px; left: 18px; font-size: 11px; z-index: 2;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  background: var(--bg); border: 1px solid var(--rule);
  padding: 5px 13px; border-radius: 999px;
}
.feat-body { display: grid; grid-template-columns: 5fr 4fr; gap: 80px; }
.feat-title {
  font-size: clamp(34px, 4vw, 50px); font-weight: 300;
  letter-spacing: -.03em; line-height: 1.05; margin-bottom: 14px;
}
.feat-desc {
  font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.72; margin-bottom: 32px;
}
.feat-pills { display: flex; gap: 10px; }
.feat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--rule);
  font-size: 13px; font-weight: 400; color: var(--ink); transition: all .2s;
}
.feat-pill:hover { border-color: var(--accent); color: var(--accent); }

.dstack { display: flex; flex-direction: column; }
.drow { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.drow:first-child { border-top: 1px solid var(--rule); }
.drow h4 {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-bottom: 10px;
}
.drow p { font-size: 14px; font-weight: 300; color: rgba(17,19,24,.68); line-height: 1.6; }
.drow ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.drow li {
  font-size: 14px; font-weight: 300; color: rgba(17,19,24,.68);
  padding-left: 14px; position: relative; line-height: 1.55;
}
.drow li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .4;
}

/* ─── CASE STUDIES ─── */
.cs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}

.cs-card {
  background: var(--bg);
  border-radius: 16px; overflow: hidden;
}

.cs-card-img {
  width: 100%; background: var(--bg);
}
.cs-card-img img {
  width: 100%; height: auto; display: block;
}

.cs-empty {
  width: 100%; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); opacity: .4;
}

.cs-card-body { padding: 24px 28px 28px; }
.cs-card-tags {
  font-size: 10px; font-weight: 400; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px;
}
.cs-card-title {
  font-size: clamp(18px, 1.8vw, 22px); font-weight: 400;
  letter-spacing: -.02em; line-height: 1.3; color: var(--ink); margin-bottom: 20px;
}

.cs-hook {
  font-size: 13.5px; font-weight: 300; color: var(--muted);
  line-height: 1.6; margin-bottom: 16px;
}

.cs-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 400; color: var(--accent);
  border-bottom: 1px solid rgba(59,91,219,.25); padding-bottom: 2px;
  width: fit-content; transition: gap .2s, border-color .2s;
}
.cs-cta:hover { gap: 10px; border-color: var(--accent); }

/* ─── APPROACH ─── */
.section-approach { background: var(--white); }

.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.approach-col {
  padding: 0 44px;
}
.approach-col:first-child { padding-left: 0; }
.approach-col:last-child  { padding-right: 0; }
.approach-col:not(:last-child) { border-right: 1px solid var(--rule); }

.approach-num {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: .14em; color: var(--muted); opacity: .35;
  margin-bottom: 22px;
}
.approach-col h3 {
  font-size: clamp(16px, 1.6vw, 20px); font-weight: 400;
  letter-spacing: -.02em; line-height: 1.3; margin-bottom: 12px; color: var(--ink);
}
.approach-col p {
  font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.65;
}

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: start; }
.about-text {
  font-size: clamp(18px, 2.3vw, 26px); font-weight: 300;
  line-height: 1.65; letter-spacing: -.015em; color: rgba(17,19,24,.72);
}
.about-text strong { color: var(--ink); font-weight: 500; }
.about-aside { display: flex; flex-direction: column; gap: 28px; }
.aside-row h4 {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-bottom: 8px;
}
.aside-row p { font-size: 14px; font-weight: 300; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px; font-weight: 400; padding: 4px 11px; border-radius: 5px;
  background: var(--white); border: 1px solid var(--rule); color: rgba(17,19,24,.58);
}

/* ─── FOOTER ─── */
footer { border-top: 1px solid var(--rule); padding: 64px 52px 52px; }
.foot-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.foot-cta {
  font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.8vw, 36px); color: var(--ink);
  letter-spacing: -.025em; margin-bottom: 10px;
}
.foot-email {
  font-size: 15px; font-weight: 300; color: var(--accent);
  border-bottom: 1px solid rgba(59,91,219,.3); padding-bottom: 2px;
  transition: border-color .2s;
}
.foot-email:hover { border-color: var(--accent); }
.foot-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.foot-links {
  display: flex; gap: 24px; font-size: 13px; font-weight: 300; color: var(--muted);
}
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-size: 12px; font-weight: 300; color: var(--muted); opacity: .45; }

/* ─── GLOW ─── */
.glow { display: none; }

/* ─── REVEAL ─── */
.r { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.r.d1 { transition-delay: .1s; }
.r.d2 { transition-delay: .2s; }
.r.in { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .hero { padding: 100px 24px 80px; }
  .hero-scroll-hint { left: 24px; bottom: 32px; }
  .wrap { padding: 0 24px; }
  .section { padding: 72px 0; }
  .feat-body { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .cs-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-col {
    padding: 28px 0;
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
  }
  .approach-col:first-child { border-top: 1px solid var(--rule); padding-top: 0; }
  .approach-col:last-child { border-bottom: 1px solid var(--rule); }
  footer { padding: 52px 24px 44px; }
  .foot-inner { align-items: flex-start; }
  .foot-right { align-items: flex-start; }
}

@media (max-width: 580px) {
  .nav-links .nav-sm-hide { display: none; }
  .nav-links { gap: 18px; }
  .cs-insight { grid-template-columns: 1fr; gap: 3px; }
  .cs-insight-label { padding-top: 0; }
}
