/* ============================================
   Design System
   ============================================ */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #999;
  --accent: #FFFE6D;
  --accent-hover: rgba(255, 254, 109, 0.06);
  --border: #e5e5e0;
  --dark: #111;
  --font-display: "Bricolage Grotesque", "OpenSans-Bold", sans-serif;
  --font-body: "DM Sans", "OpenSans-Regular", sans-serif;
}


/* ============================================
   Base
   ============================================ */

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body, html {
  width: 100%;
  height: 100%;
  position: relative;
  font-family: var(--font-body);
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  isolation: isolate;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes subtlePulse {
  0%, 100% { border-left-color: var(--accent); }
  50% { border-left-color: #e8e048; }
}


/* ============================================
   Typography
   ============================================ */

.strong {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}


/* ============================================
   Layout
   ============================================ */

.wrapper {
  width: 1024px;
  margin: 0 auto;
}


/* ============================================
   Header
   ============================================ */

.header-bg {
  display: none;
}

header {
  min-height: 280px;
  padding: 50px;
  padding-top: 24px;
  padding-bottom: 40px;
  animation: fadeInUp 0.6s ease both;
}

header .logo-list,
header .texts {
  display: flex;
  justify-content: space-between;
}

header .texts {
  margin-top: 44px;
}

header .texts .about {
  font-size: 18px;
  color: var(--text-secondary);
  width: 460px;
  line-height: 1.65;
}

header .texts .about .strong {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(to top, var(--accent) 28%, transparent 28%);
  padding: 0 2px;
}

header .texts .links {
  width: 410px;
}

.logo-list-hello {
  width: 180px;
  filter: drop-shadow(3px 3px 0 var(--accent));
  transition: filter 0.3s ease;
}

.logo-list-hello:hover {
  filter: drop-shadow(4px 4px 0 var(--accent)) drop-shadow(0 0 8px rgba(255, 254, 109, 0.3));
}

.logo-list-close {
  width: 30px;
  transition: transform 0.3s ease;
}

.logo-list-close:hover {
  transform: rotate(90deg);
}

.link.mod-header-link {
  margin-bottom: 10px;
}

.link-label {
  width: 90px;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.link-destination {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a.link-destination:hover {
  color: var(--text-secondary);
}

/* CV download link — accent CTA */
.link.mod-header-link:last-child .link-destination {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(to top, var(--accent) 35%, transparent 35%);
  padding: 0 3px;
  transition: background 0.2s ease;
}

.link.mod-header-link:last-child .link-destination:hover {
  background: var(--accent);
  color: var(--text);
}


/* ============================================
   Tech Stack
   ============================================ */

.tech-stack {
  margin-bottom: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  animation: fadeInUp 0.6s ease 0.08s both;
}

.tech-stack h2 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.stack-category {
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.stack-label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}


/* ============================================
   Main Body — Two Column
   ============================================ */

.body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 10px;
}

.body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}

.experiences {
  width: 560px;
  animation: fadeInUp 0.6s ease 0.14s both;
}

.projects {
  width: 380px;
  position: sticky;
  top: 30px;
  animation: fadeInUp 0.6s ease 0.2s both;
}


/* ============================================
   Experience Cards
   ============================================ */

.project {
  border-left: 3px solid var(--border);
  padding-left: 22px;
  margin-bottom: 34px;
  transition: border-color 0.25s ease;
}

.project:hover {
  border-left-color: var(--accent);
}

.project-header {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.15s ease;
}

.project-header:hover {
  color: var(--text-secondary);
  border-bottom: none;
}

.project-date {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.project-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================
   What I Build — Feature Card
   ============================================ */

.build-card {
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
  animation: subtlePulse 4s ease-in-out infinite;
}

.build-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  animation: none;
}

.build-card-link {
  text-decoration: none;
  display: block;
}

.build-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.build-card-arrow {
  font-size: 22px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: var(--text-muted);
}

.build-card:hover .build-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.build-card-year {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.build-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  display: block;
  margin-top: 12px;
  line-height: 1.6;
}


/* ============================================
   Why You Should Hire Me — Dark Section
   ============================================ */

.hire-section {
  background: var(--dark);
  padding: 88px 0 96px;
  margin-top: 80px;
}

.hire-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 56px;
}

.hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
}

.hire-card {
  border-top: 2px solid var(--accent);
  padding-top: 24px;
}

.hire-card-metric {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.hire-card-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #bbb;
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hire-card-desc {
  font-size: 14px;
  color: #666;
  display: block;
  line-height: 1.6;
}
