/* ═══════════════════════════════════════════
   DESIGN TOKENS
   Primary:  #0F172A
   Accent:   #F97316
   Gray:     #64748B · #94A3B8 · #CBD5E1 · #E2E8F0 · #F1F5F9 · #F8FAFC
   Spacing:  8 · 16 · 24 · 32 · 48 · 64
   ═══════════════════════════════════════════ */

/* ── ROOT / PAGE ── */
html, body {
  overflow-x: hidden; /* prevent any element from causing horizontal page scroll */
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ── CENTERED COLUMN ── */
.section-inner {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

/* ── NAV ── */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #F1F5F9;
  padding: 0 24px;
}

.nav-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #E2E8F0;
}

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

.nav-links a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748B;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #0F172A;
}

.nav-links a.nav-cta {
  color: #0F172A;
  font-weight: 600;
  border: 1.5px solid #E2E8F0;
  border-radius: 100px;
  padding: 5px 16px;
  transition: border-color 0.15s, background 0.15s;
}

.nav-links a.nav-cta:hover {
  border-color: #0F172A;
  background: #F8FAFC;
}

/* ── HERO ── */
#hero {
  padding: 48px 24px 40px;
  background: #ffffff;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0F172A;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

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

.contact-trigger-wrap {
  position: relative;
  display: inline-flex;
}

.contact-card {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12), 0 1px 4px rgba(15, 23, 42, 0.06);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.contact-card.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: #334155;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.12s;
}

.contact-row:hover {
  background: #F8FAFC;
}

.contact-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #0F172A;
  background: none;
  padding: 0;
  text-decoration: none;
  border-bottom: 1px solid #0F172A;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.6;
}

.btn-ghost {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  background: none;
  padding: 0;
  text-decoration: none;
  border-bottom: 1px solid #E2E8F0;
  transition: color 0.15s;
}

.btn-ghost:hover {
  color: #475569;
}

/* ── SECTIONS (shared) ── */
section {
  padding: 20px 24px;
}

.section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 8px;
}


.section-heading {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.section-sub {
  font-size: 14px;
  color: #94A3B8;
  font-weight: 400;
  margin-bottom: 24px;
}

/* ── TOOLS & WORKFLOWS ── */
#tools-workflows {
  background: #ffffff;
}
/* Gray block confined to the centered column */
#tools-workflows .section-inner {
  background: #FAFAFA;
  border: 1px solid #F1F5F9;
  border-radius: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── EXPERIENCE ── */
#experience {
  background: #ffffff;
  border-bottom: 1px solid #F1F5F9;
  overflow: hidden;
}

/* ── SIDE QUESTS ── */
#side-quests {
  background: #ffffff;
}
/* Gray block confined to centered column */
#side-quests .section-inner {
  background: #FAFAFA;
  border: 1px solid #F1F5F9;
  border-radius: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── ABOUT ── */
#about {
  background: #ffffff;
}

.about-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 16px;
}

.about-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

.about-photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ── DIVIDER between sections ── */
.section-divider {
  height: 1px;
  background: #F1F5F9;
  max-width: 780px;
  margin: 0 auto;
}
