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

:root {
  --bg: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #707070;
  --accent: #000000;
  --f-serif: 'Playfair Display', serif;
  --f-sans: 'Libre Franklin', sans-serif;
  --border-color: #eeeeee;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--f-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent);
  color: var(--bg);
}

/* Layout Containers */
.app-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .app-container {
    padding: 40px 32px;
  }
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 80px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.5;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .main-nav {
    margin-bottom: 40px;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--f-serif);
  font-size: 32px;
  font-style: italic;
  text-decoration: none;
  color: var(--text-primary);
  text-transform: lowercase;
}

.menu-toggle, .menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-close {
  position: absolute;
  top: 40px;
  right: 32px;
}

/* Hero Section */
.hero {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 0;
}

.hero-title {
  font-family: var(--f-serif);
  font-size: 82px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

/* About Section */
.about-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-wrapper {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f5f5f5;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 1s;
}

.image-wrapper:hover img {
  filter: grayscale(0%);
}

.section-title-large {
  font-family: var(--f-serif);
  font-size: 48px;
  margin-bottom: 32px;
  font-weight: 900;
}

.section-text {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.meta-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.meta-col ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: lowercase;
}

.meta-col li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Experience Section */
.experience-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.small-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 60px;
}

.exp-item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  padding: 40px 24px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background 0.2s;
}

.exp-item:hover {
  background: rgba(0,0,0,0.02);
}

.exp-year {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.exp-role {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 900;
}

.exp-company {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: right;
}

@media (max-width: 768px) {
  .exp-item {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 8px;
  }
  .exp-company {
    text-align: left;
  }
}

/* Footer */
.main-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-loc, .footer-status {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #27ae60;
  border-radius: 50%;
  margin-right: 8px;
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  text-decoration: none;
  font-size: 11px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: opacity 0.2s;
}

.footer-socials a:hover {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .main-footer {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
