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

:root {
  --orange:        #E8672A;
  --orange-hover:  #F07538;
  --purple:        #8B7BAA;
  --teal:          #5B9A9B;
  --bg:            #0C0C13;
  --surface:       #131321;
  --surface-2:     #1A1A2A;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.13);
  --text-strong:   #EEEEF8;
  --text:          #9898B2;
  --text-muted:    #55556A;
  --radius:        14px;
  --radius-sm:     7px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(12,12,19,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  letter-spacing: -0.4px;
}

.nav-logo-dot { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-strong); }

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--orange-hover) !important;
  transform: translateY(-1px) !important;
}

/* ─── LAYOUT ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

section { padding: 110px 0; }

/* ─── HERO ─────────────────────────────────────────── */
#hero {
  padding: 156px 0 110px;
  position: relative;
  overflow: hidden;
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.glow-1 {
  width: 800px; height: 800px;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(232,103,42,0.09) 0%, transparent 60%);
}

.glow-2 {
  width: 600px; height: 600px;
  bottom: -300px; left: -100px;
  background: radial-gradient(circle, rgba(91,154,155,0.07) 0%, transparent 60%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 30px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

h1 {
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
  max-width: 820px;
}

h1 em { font-style: normal; color: var(--orange); }

.hero-body {
  font-size: 18px;
  color: var(--text);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--text-strong); }

.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-val {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-val span { color: var(--orange); }

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── SECTION HEADER PATTERN ──────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-body {
  font-size: 17px;
  color: var(--text);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 64px;
}

/* ─── ABOUT / POSITIONING ──────────────────────────── */
#about { background: var(--surface); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-copy p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 22px;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-copy strong { color: var(--text-strong); font-weight: 600; }

.diff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.diff-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.diff-item:first-of-type { padding-top: 0; }
.diff-item:last-child { border-bottom: none; padding-bottom: 0; }

.diff-arrow {
  color: var(--orange);
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.diff-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.diff-item strong { color: var(--text-strong); font-weight: 600; }

/* ─── CAPABILITIES ─────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}

.cap-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.cap-pip {
  width: 36px; height: 36px;
  border-radius: 9px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pip-orange { background: rgba(232,103,42,0.13); }
.pip-purple { background: rgba(139,123,170,0.13); }
.pip-teal   { background: rgba(91,154,155,0.13); }

.cap-pip svg { display: block; }

.cap-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 12px;
}

.cap-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.75;
}

/* ─── WORK ─────────────────────────────────────────── */
.work-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.case-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.case-card.c-rev::after  { background: var(--orange); }
.case-card.c-fin::after  { background: var(--purple); }
.case-card.c-ops::after  { background: var(--teal); }

.case-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.case-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-cat.c-rev  { color: var(--orange); }
.case-cat.c-fin  { color: var(--purple); }
.case-cat.c-ops  { color: var(--teal); }

.case-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.case-context {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.5;
}

.case-actions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}

.case-actions li {
  font-size: 13.5px;
  color: var(--text);
  padding-left: 15px;
  position: relative;
  line-height: 1.6;
}

.case-actions li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border-hover);
}

.case-outcome {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 14px 16px;
}

.outcome-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.case-outcome p {
  font-size: 13.5px;
  color: var(--text-strong);
  font-weight: 500;
  line-height: 1.55;
}

/* ─── MORE WORK ────────────────────────────────────── */
.more-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.more-label::before {
  content: '';
  display: block;
  width: 14px; height: 2px;
  background: currentColor;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 24px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
}

.project-card.c-rev::before  { background: var(--orange); }
.project-card.c-fin::before  { background: var(--purple); }
.project-card.c-ops::before  { background: var(--teal); }

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.project-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 8px;
  line-height: 1.4;
}

.project-card p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.65;
}

/* ─── APPROACH ─────────────────────────────────────── */
#approach { background: var(--surface); }

.approach-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.steps { display: flex; flex-direction: column; }

.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.step:first-child { padding-top: 0; }
.step:last-child  { border-bottom: none; }

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  min-width: 24px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 5px;
}

.step p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.65;
}

.side-cards { display: flex; flex-direction: column; gap: 16px; }

.side-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.side-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 20px;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.principle:last-child { margin-bottom: 0; }

.pdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.pdot-o { background: var(--orange); }
.pdot-p { background: var(--purple); }
.pdot-t { background: var(--teal); }

.principle p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
}

.principle strong { color: var(--text-strong); }

.engage-list { display: flex; flex-direction: column; gap: 9px; }

.engage-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}

.engage-item::before {
  content: '→';
  color: var(--orange);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── CTA ──────────────────────────────────────────── */
#contact { padding: 80px 0 110px; }

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(232,103,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 17px;
  color: var(--text);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,103,42,0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.cta-link:hover { border-color: var(--orange); }

/* ─── FOOTER ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
}

.footer-logo span { color: var(--orange); }

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── SCROLL ANIMATIONS ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  nav              { padding: 0 24px; }
  .container       { padding: 0 24px; }
  .cap-grid        { grid-template-columns: 1fr; }
  .work-featured   { grid-template-columns: 1fr; }
  .project-grid    { grid-template-columns: 1fr 1fr; }
  .approach-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout    { grid-template-columns: 1fr; gap: 40px; }
  .cta-box         { padding: 48px 32px; }
  .hero-stats      { gap: 32px; }
}

@media (max-width: 600px) {
  h1             { letter-spacing: -1.5px; }
  .nav-links     { display: none; }
  .project-grid  { grid-template-columns: 1fr; }
  .hero-stats    { flex-direction: column; gap: 24px; }
}
