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

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #777777;
  --line: rgba(0, 0, 0, 0.16);
  --soft: rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.25;
  overflow-x: hidden;
}
* {
  cursor: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #111;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor.is-hovering {
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.08);
}
.gradient-bg {
  position: fixed;
  inset: -30%;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.55), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 50% 90%, rgb(255, 255, 255), transparent 35%);

  filter: blur(18px);
  will-change: transform;
}
a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 14px 16px;
  mix-blend-mode: difference;
  color: white;
}

.brand {
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.brand span {
  display: inline-block;
  margin-left: 4px;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-transform: lowercase;
}

.nav a,
.contact-content a {
  border-bottom: 1px solid currentColor;
}

main {
  padding: 82px 16px 0;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 28px;
}

.label,
.section-title,
.mini-title,
.project-index,
.year {
  color: var(--muted);
  font-size: 12px;
  text-transform: lowercase;
}

.hero h1 {
  max-width: 1680px;
  font-weight: 400;
  font-size: clamp(42px, 8.8vw, 142px);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
}

.section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 16px 0 80px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-card {
  
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.24);
  transition: background 0.25s ease, color 0.25s ease, padding 0.25s ease;
}

.project-card:hover {
  background: rgba(0, 0, 0, 0.92);
  color: #ffffff;
  padding: 14px;
}

.project-card h2 {
  font-size: clamp(26px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.project-card p {
  max-width: 220px;
  color: currentColor;
}

.cursor-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 330px;
  height: 430px;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 0.18s ease, transform 0.18s ease;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}

.cursor-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cursor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-content,
.contact-content {
  max-width: 820px;
  font-size: clamp(24px, 4vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.text-content p + p {
  margin-top: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: -0.04em;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header,
  .section,
  .hero-meta,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
    mix-blend-mode: normal;
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
  }

  main {
    padding-top: 28px;
  }

  .hero {
    min-height: 64vh;
  }

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

  .project-card {
    min-height: 210px;
  }

  .cursor-preview {
    display: none;
  }

  @media (max-width: 900px) {
  .cursor-preview {
    pointer-events: none;
  }

  .cursor-preview.is-visible {
    pointer-events: auto;
  }

  .cursor-preview img {
    pointer-events: auto;
  }
}
}
