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

:root {
  --bg:              #0C0C0C;
  --bg-elevated:     #141414;
  --bg-card:         #181818;
  --border:          #242424;
  --border-hover:    #363636;
  --accent:          #F0A030;
  --accent-glow:     rgba(240, 160, 48, 0.10);
  --accent-glow-h:   rgba(240, 160, 48, 0.18);
  --green:           #8BAF5A;
  --green-glow:      rgba(139, 175, 90, 0.12);
  --text:            #EDECE8;
  --text-muted:      #757370;
  --text-dim:        #353533;
  --radius:          6px;
  --radius-lg:       12px;
  --f-display:       'IBM Plex Mono', monospace;
  --f-mono:          'IBM Plex Mono', monospace;
  --f-body:          'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── dot-grid background ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #1E1E1E 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ─── subtle radial vignette ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 100% 70% at 50% -10%, rgba(240,160,48,0.04) 0%, transparent 60%),
              radial-gradient(ellipse 100% 60% at 50% 110%, var(--bg) 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ─── layout ─── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ════════════════════ NAV ════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
nav.scrolled {
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  width: 22px;
  height: 22px;
}
.logo-icon span { border-radius: 2px; }
.logo-icon span:nth-child(1),
.logo-icon span:nth-child(2),
.logo-icon span:nth-child(3) { background: var(--accent); }
.logo-icon span:nth-child(4) { background: var(--border-hover); }
.logo-text {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ════════════════════ HERO ════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-content { max-width: 800px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(240,160,48,0.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 2.75rem;
  animation: fadeUp 0.8s ease both;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s 0.12s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 3rem;
  animation: fadeUp 0.8s 0.22s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.32s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 13px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(240,160,48,0.28);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary svg { transition: transform 0.2s; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════ DIVIDER ════════════════════ */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent 70%);
}

/* ════════════════════ SECTION SHARED ════════════════════ */
section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}
.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.section-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.72;
}

/* ════════════════════ SERVICES ════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--bg-card);
  padding: 2.5rem;
  transition: background 0.25s;
  position: relative;
}
.service-card:hover { background: var(--bg-elevated); }

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  border: 1px solid rgba(240,160,48,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.service-icon svg { width: 20px; height: 20px; }

.service-card h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
}
.tag-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* ════════════════════ WORK ════════════════════ */
.work-card {
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s;
}
.work-card:hover { border-color: var(--border-hover); }
.work-card-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
}
.work-info {
  padding: 3rem;
  border-right: 1px solid var(--border);
}
.work-visual {
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.work-visual::before,
.work-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.work-visual::before { width: 260px; height: 260px; }
.work-visual::after  { width: 180px; height: 180px; border-color: rgba(240,160,48,0.08); }

.phone {
  width: 110px;
  height: 210px;
  border-radius: 22px;
  border: 2px solid var(--border-hover);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
}
.phone-notch {
  position: absolute;
  top: 10px;
  width: 34px;
  height: 6px;
  background: var(--border-hover);
  border-radius: 4px;
}
.phone-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--border-hover);
  border-top-color: var(--accent);
  animation: spin 2.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.phone-label {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}
.phone-sub {
  font-family: var(--f-mono);
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid rgba(139,175,90,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.work-info h3 {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.work-info p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 1rem;
}
.work-info p:last-of-type { margin-bottom: 1.5rem; }

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.75rem;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(240,160,48,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.work-link:hover { border-color: var(--accent); }
.work-link svg { transition: transform 0.2s; }
.work-link:hover svg { transform: translate(2px, -2px); }

/* ════════════════════ ABOUT ════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}
.stat-cell {
  background: var(--bg-card);
  padding: 1.6rem;
}
.stat-number {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.about-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 500; }

/* ════════════════════ CONTACT ════════════════════ */
.contact-wrap {
  text-align: center;
  padding: 96px 0 80px;
  position: relative;
  z-index: 1;
}
.contact-wrap .section-label,
.contact-wrap .section-title,
.contact-wrap .section-body { margin-left: auto; margin-right: auto; }
.contact-wrap .section-title { text-align: center; }
.contact-wrap .section-body { text-align: center; margin-bottom: 2.5rem; }

.contact-email {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--accent);
  transition: color 0.2s;
}
.contact-email:hover { color: var(--accent); }

/* ════════════════════ FOOTER ════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.footer-loc {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-linkedin {
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-linkedin:hover { color: var(--text-muted); }

/* ════════════════════ REVEAL ════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .work-card-inner { grid-template-columns: 1fr; }
  .work-info { border-right: none; border-bottom: 1px solid var(--border); }
  .work-visual { min-height: 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 0.4rem; text-align: center; }
}
