/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Tokens ---------- */
:root {
  --bg: #ececec;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #555;
  --line: #d8d8d8;
  --accent: #f1ff4d;     /* awwwards-style yellow */
  --dark: #111;
  --radius: 14px;
  --maxw: 1400px;
  --pad: clamp(20px, 4vw, 56px);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid #000;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  gap: 28px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: scroll 30s linear infinite;
}
.marquee__track .dot { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 28px; font-weight: 800; letter-spacing: -0.04em;
}
.logo span { color: var(--accent); }
.nav {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.nav a { position: relative; padding: 6px 0; }
.nav a:hover { opacity: 0.6; }
.header__actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px var(--pad) 80px;
  min-height: calc(100vh - 100px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero__meta-left {
  position: absolute; top: 40px; left: var(--pad);
}
.badge {
  display: inline-flex; flex-direction: column;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: left;
  min-width: 80px;
}
.badge__label { color: var(--ink-soft); font-weight: 500; }
.badge__year  { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }

.hero__meta-right {
  position: absolute; top: 50px; right: var(--pad);
  display: flex; gap: 8px;
}
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--ink); color: #fff; }

.hero__eyebrow {
  font-size: 13px; color: var(--ink-soft);
  margin: 0 0 30px;
  letter-spacing: 0.04em;
}
.hero__title {
  margin: 0;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.hero__handle {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.hero__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700;
}

/* ---------- Sections shared ---------- */
section { padding: 120px var(--pad); }
.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 60px;
}

/* ---------- About ---------- */
.about { background: var(--surface); }
.about__inner { max-width: 900px; margin: 0 auto; }
.about__text {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 56px;
}
.about__text em {
  font-style: normal;
  background: var(--accent);
  padding: 0 6px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Skills ---------- */
.skills__list { list-style: none; padding: 0; margin: 0; }
.skill-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr;
  align-items: baseline;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  transition: padding .3s ease;
}
.skill-row:last-child { border-bottom: 1px solid var(--line); }
.skill-row:hover { padding-left: 16px; }
.skill-row__num {
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
}
.skill-row__name {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.skill-row__desc {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 480px;
}

/* ---------- Work ---------- */
.work { background: var(--surface); }
.work__head { margin-bottom: 40px; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); }
.card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #b0a999, #6e6657);
}
.card__thumb--a { background: linear-gradient(135deg, #c9b67c, #7a6539); }
.card__thumb--b { background: linear-gradient(135deg, #2e2e2e, #555); }
.card__thumb--c { background: linear-gradient(135deg, #e8e8e8, #b8b8b8); }
.card__thumb--d { background: linear-gradient(135deg, var(--accent), #c2cf2c); }
.card__num {
  position: absolute; top: 16px; left: 20px;
  color: #fff; font-size: 14px; font-weight: 600;
  mix-blend-mode: difference;
}
.card__meta { padding: 22px 24px 28px; }
.card__meta h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.card__meta p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
}
.card__tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  letter-spacing: 0.04em;
}

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.quote {
  margin: 0;
  padding: 36px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.quote p {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.quote footer {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: #fff;
}
.contact .section-label { color: #888; }
.contact__title {
  font-size: clamp(56px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 0 0 40px;
}
.contact__mail {
  display: inline-block;
  font-size: clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid #fff;
  padding-bottom: 6px;
  margin-bottom: 60px;
  transition: color .2s;
}
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }
.contact__rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid #2a2a2a;
  padding-top: 36px;
}
.contact__rows > div { display: flex; flex-direction: column; gap: 4px; }
.contact__key {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact__rows a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 0 var(--pad) 32px;
}
.footer__big {
  font-size: clamp(64px, 18vw, 280px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  white-space: nowrap;
  overflow: hidden;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a2a2a;
}
.footer__row {
  display: flex; justify-content: space-between;
  padding-top: 20px;
  font-size: 13px;
  color: #888;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .work__grid,
  .testimonials__grid,
  .contact__rows,
  .about__stats { grid-template-columns: 1fr; }
  .skill-row {
    grid-template-columns: 40px 1fr;
  }
  .skill-row__desc { grid-column: 2; }
  .hero__meta-left, .hero__meta-right { position: static; margin-bottom: 20px; }
  .hero { padding-top: 30px; }
}
@media (max-width: 560px) {
  .header__actions .btn--ghost { display: none; }
  .footer__row { flex-direction: column; gap: 8px; }
}
