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

:root {
  --bg: #09090B;
  --surface: #111113;
  --surface2: #18181B;
  --amber: #F59E0B;
  --amber-glow: rgba(245,158,11,0.15);
  --amber-border: rgba(245,158,11,0.3);
  --text: #FAFAFA;
  --muted: #A1A1AA;
  --dim: #52525B;
  --border: rgba(255,255,255,0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --r: 14px;
  --r-sm: 8px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  padding: 0 5%; height: 64px;
  background: rgba(9,9,11,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--text); text-decoration: none; margin-right: auto;
}
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; list-style: none; gap: 32px; margin-right: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--amber); color: #000; padding: 9px 22px;
  border-radius: 6px; font-size: 13px; font-weight: 500;
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 80px 5% 60px; gap: 60px;
}
.hero-left { flex: 1; max-width: 600px; }
.hero-available {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--amber); margin-bottom: 28px;
  padding: 6px 14px; border: 1px solid var(--amber-border);
  border-radius: 20px; background: var(--amber-glow);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-h1 {
  font-family: var(--serif); font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 24px;
}
.hero-h1 em { font-style: italic; font-weight: 400; color: var(--amber); }
.hero-p { font-size: 16px; color: var(--muted); max-width: 500px; line-height: 1.8; margin-bottom: 36px; font-weight: 300; }
.hero-btns { display: flex; gap: 14px; margin-bottom: 52px; flex-wrap: wrap; }
.btn-solid {
  background: var(--amber); color: #000; padding: 13px 28px;
  border-radius: 7px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: opacity 0.2s; display: inline-block;
}
.btn-solid:hover { opacity: 0.85; }
.btn-line {
  border: 1px solid var(--border); color: var(--text); padding: 13px 28px;
  border-radius: 7px; font-size: 14px; font-weight: 400;
  text-decoration: none; transition: border-color 0.2s;
}
.btn-line:hover { border-color: var(--amber-border); }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--serif); font-size: 30px; color: var(--text); font-weight: 700; line-height: 1; }
.stat span { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hero-right { flex: 0 0 360px; display: flex; justify-content: center; }
.hero-photo-wrap { position: relative; }
.hero-photo {
  width: 340px; height: 440px; object-fit: cover; object-position: top;
  border-radius: var(--r); display: block;
  border: 1px solid var(--border);
}
.hero-photo-badge {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #000;
  padding: 10px 24px; border-radius: 12px; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero-photo-badge strong { font-size: 14px; font-weight: 700; line-height: 1; }
.hero-photo-badge span { font-size: 11px; font-weight: 500; opacity: 0.75; }

/* SECTIONS */
.section { padding: 100px 5%; }
.section--dark { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--amber); display: block; margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 12px; line-height: 1.15;
}
.section-sub { font-size: 15px; color: var(--muted); max-width: 520px; margin-bottom: 60px; }

/* PROJECTS */
.projects { display: flex; flex-direction: column; gap: 80px; }
.project--wide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.project--flip { direction: rtl; }
.project--flip > * { direction: ltr; }
.project-img-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.project-img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s; }
.project-img-wrap:hover .project-img { transform: scale(1.03); }
.project-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 12px; }
.project-name { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 14px; letter-spacing: -0.01em; }
.project-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.project-stack { font-size: 12px; color: var(--dim); margin-bottom: 20px; letter-spacing: 0.03em; }
.project-link { font-size: 13px; color: var(--amber); font-weight: 500; text-decoration: none; }
.project-link:hover { text-decoration: underline; }

.project-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.project-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.project-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: border-color 0.2s, transform 0.2s;
}
.project-card:hover { border-color: var(--amber-border); transform: translateY(-3px); }
.project-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.project-card .project-tag { padding: 20px 20px 0; }
.project-card-name { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--text); padding: 8px 20px 0; }
.project-card-desc { font-size: 13px; color: var(--muted); line-height: 1.7; padding: 8px 20px; }
.project-card .project-link { display: block; padding: 0 20px 20px; }

/* SERVICES */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.svc { background: var(--bg); padding: 36px 28px; transition: background 0.2s; }
.svc:hover { background: var(--surface2); }
.svc--accent { background: var(--amber-glow); }
.svc--accent:hover { background: rgba(245,158,11,0.2); }
.svc-num { font-family: var(--serif); font-size: 13px; color: var(--amber); margin-bottom: 16px; font-weight: 700; }
.svc-name { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.svc-tools { font-size: 11px; color: var(--dim); letter-spacing: 0.04em; }

/* ABOUT */
.about-section { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.about-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: var(--r); display: block; border: 1px solid var(--border); position: sticky; top: 80px; }
.about-name { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; }
.about-role { font-size: 14px; color: var(--amber); font-weight: 500; margin-bottom: 28px; letter-spacing: 0.04em; }
.about-body { font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.about-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tool { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); font-size: 12px; padding: 5px 13px; border-radius: 4px; }

/* CONTACT */
.contact-section { background: var(--surface); border-top: 1px solid var(--border); }
.contact-inner { max-width: 800px; }
.contact-title { font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 14px; }
.contact-sub { font-size: 16px; color: var(--muted); margin-bottom: 48px; }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.contact-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--amber-border); }
.contact-card-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.contact-card-val { font-size: 14px; color: var(--text); font-weight: 400; }
.contact-card-note { font-size: 12px; color: var(--dim); }

/* FOOTER */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 5%; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--dim);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .project-grid-3 { grid-template-columns: repeat(2,1fr); }
  .about-section { grid-template-columns: 300px 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { flex-direction: column; padding-top: 100px; gap: 40px; }
  .hero-right { width: 100%; }
  .hero-photo { width: 100%; height: 300px; }
  .project--wide { grid-template-columns: 1fr; }
  .project--flip { direction: ltr; }
  .project-grid-3, .project-grid-2 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; }
  .about-img { position: static; aspect-ratio: 4/3; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}
