/* Synikaa — v2 */

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

:root {
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
  --black: #0a0a0a;
  --white: #f5f2ed;
  --gray: #888;
  --dim: #555;
  --rule: #222;
  --accent: #c8ff00;
  --max: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}

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

a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  mix-blend-mode: difference;
}

nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--gray);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--white); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: 0.3s;
}

.menu-btn span { top: 50%; transform: translateY(-50%); }
.menu-btn::before { top: 0; }
.menu-btn::after { bottom: 0; }

.menu-btn.open span { opacity: 0; }
.menu-btn.open::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-btn.open::after { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 200px 32px 100px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 900px;
}

.hero-sub {
  margin-top: 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 580px;
}

.hero-cta {
  margin-top: 48px;
}

.hero-cta a {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.2s;
}

.hero-cta a:hover { opacity: 0.7; }

/* ---- NUMBERS ---- */
.numbers {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}

.number-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.number-item .n {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
}

.number-item .label {
  font-size: 13px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 48px;
}

/* ---- WORK ---- */
.work {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 32px 120px;
  border-top: 1px solid var(--rule);
}

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

.project-info h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.project-info > p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.project-meta > div {
  display: flex;
  gap: 16px;
}

.project-meta dt {
  width: 64px;
  flex-shrink: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  padding-top: 2px;
}

.project-meta dd {
  font-size: 14px;
  color: var(--gray);
}

.project-link {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.project-link:hover { opacity: 0.7; }

/* project variants */
.project-reverse {
  direction: rtl;
}

.project-reverse > * {
  direction: ltr;
}

.project-divider {
  height: 1px;
  background: var(--rule);
  margin: 80px 0;
}

/* project screenshots */
.project-visual {
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 8px;
}

.project-img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  border: 1px solid var(--rule);
}

/* ---- ABOUT ---- */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 32px 120px;
  border-top: 1px solid var(--rule);
}

.about-content {
  max-width: 680px;
}

.about-text p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text .big {
  font-size: 20px;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 28px;
}


/* ---- FOOTER ---- */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 32px 40px;
  border-top: 1px solid var(--rule);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 60px;
}

.footer-top p {
  font-size: 14px;
  color: var(--dim);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { padding: 160px 24px 80px; }
  .hero h1 { font-size: clamp(36px, 8vw, 56px); }

  .numbers {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 24px 80px;
  }

  .work, .about, footer { padding-left: 24px; padding-right: 24px; }

  .project {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-reverse { direction: ltr; }

  .project-visual { order: -1; }

}

@media (max-width: 640px) {
  nav { padding: 20px 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 24px;
    color: var(--white);
  }

  .menu-btn {
    display: block;
    z-index: 101;
  }

  .hero { padding: 140px 20px 60px; }
  .hero-sub { font-size: 15px; }

  .numbers {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 20px 60px;
  }

  .number-item .n { font-size: 26px; }

  .work, .about, footer { padding-left: 20px; padding-right: 20px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 12px; }
}
