:root {
  --dot-size: 6px;
  --dot-gap: 8px;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeue-Roman.woff2") format("woff2"),
    url("../fonts/HelveticaNeue%20Regular.ttf") format("truetype"),
    url("../fonts/HelveticaNeue.ttc") format("truetype-collection");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/Helvetica%20Neue%20Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar.is-hidden {
  transform: translateY(-100%);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, var(--dot-size));
  grid-auto-rows: var(--dot-size);
  gap: var(--dot-gap);
}

.logo-grid span {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 999px;
  background: #111827;
  display: block;
}

/* Canvas Hero Section */
.canvas-hero {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
}

#drawingCanvas {
  width: 100%;
  height: 100%;
  cursor: crosshair;
  display: block;
  background: #ffffff;
}

@media (max-width: 640px) {
  .canvas-hero {
    height: 50vh;
    min-height: 300px;
  }
}

/* About Hero Section */
.about-hero {
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-image-container {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.about-hero-main-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 0.5rem;
  display: block;
}

.about-hero-content {
  max-width: 1494px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.about-hero-text {
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 1.2;
  text-align: center;
  color: #000000;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

.about-hero-text-muted {
  color: #7f8c97;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.about-hero-text-muted:hover {
  opacity: 0.7;
}

.about-hero-image {
  position: absolute;
  border-radius: 0.5rem;
  object-fit: cover;
  pointer-events: none;
}

.about-hero-image-left {
  width: clamp(60px, 8vw, 120px);
  height: clamp(150px, 20vw, 350px);
  bottom: -20%;
  left: -2%;
  opacity: 1;
  object-fit: cover;
  object-position: center;
}

.about-hero-image-right {
  width: clamp(150px, 18vw, 350px);
  height: clamp(100px, 12vw, 250px);
  bottom: -25%;
  right: 2%;
  opacity: 1;
}

.about-hero-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.about-hero-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  display: block;
}

/* Spacer Section */
.spacer {
  width: 100%;
  height: 6rem;
}

.spacer-sm {
  height: 3rem;
}

.spacer-md {
  height: 6rem;
}

.spacer-lg {
  height: 6rem;
}

.spacer-xl {
  height: 12rem;
}

@media (max-width: 900px) {
  .about-hero {
    padding: 0 2rem;
  }
  
  .about-hero-text {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.3;
  }
  
  .about-hero-image-container {
    max-width: 300px;
  }
  
  .about-hero-image-left {
    width: clamp(60px, 12vw, 120px);
    height: clamp(150px, 30vw, 300px);
  }
  
  .about-hero-image-right {
    width: clamp(80px, 15vw, 150px);
    height: clamp(80px, 15vw, 150px);
    bottom: 5%;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: 0 1rem;
  }
  
  .about-hero-text {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.4;
  }
  
  .about-hero-image-container {
    max-width: 250px;
  }
  
  .about-hero-image-left {
    width: 15vw;
    height: 40vw;
    bottom: 5%;
    left: 2%;
    opacity: 0.4;
  }
  
  .about-hero-image-right {
    width: 20vw;
    height: 20vw;
    bottom: 15%;
    right: 2%;
    opacity: 0.8;
  }
  
  .about-hero-dot {
    width: 5px;
    height: 5px;
  }
  
  .spacer {
    height: 4rem;
  }
  
  .spacer-sm {
    height: 2rem;
  }
  
  .spacer-md {
    height: 4rem;
  }
  
  .spacer-lg {
    height: 6rem;
  }
  
  .spacer-xl {
    height: 8rem;
  }
}

/* Bio Section */
.bio {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
}

.bio-divider {
  width: 100%;
  height: 1px;
  background: #8f8f8f;
  margin: 0 auto;
  max-width: calc(100% - 64px);
}

.bio-content {
  padding: 2rem clamp(2rem, 5vw, 4rem);
  max-width: 1728px;
  margin: 0 auto;
}

.bio-text {
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 1.1;
  color: #000000;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 400;
}

.bio-text-muted {
  color: #7f8c97;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.bio-text-muted:hover {
  opacity: 0.7;
}

.bio-currently {
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem);
}

.bio-currently .bio-divider {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.bio-currently-item {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  padding: 1.75rem 0;
}

.bio-currently-label {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 200px;
}

.bio-currently-text {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 900px) {
  .bio-content {
    padding: 1.5rem 2rem;
  }
  
  .bio-text {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1.2;
  }
  
  .bio-currently {
    padding: 0 2rem;
  }
  
  .bio-currently-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .bio-currently-label {
    min-width: auto;
  }
}

@media (max-width: 640px) {
  .bio-divider {
    max-width: calc(100% - 32px);
  }
  
  .bio-content {
    padding: 1.5rem 1rem;
  }
  
  .bio-text {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.3;
  }
  
  .bio-currently {
    padding: 0 1rem;
  }
  
  .bio-currently-item {
    padding: 1.25rem 0;
  }
}

/* Currently Section */
.currently-card {
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.currently-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .currently-card {
    aspect-ratio: 1 / 1;
    width: 100%;
  }
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  background: #f5f5f5;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  aspect-ratio: 16 / 9;
  z-index: 0;
}

.hero-image {
  position: absolute;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  opacity: 0.6;
  border-radius: 12px;
}

.hero-image-1 {
  top: 8%;
  left: 10%;
  width: 38vw;
  aspect-ratio: 4 / 5;
  background-image: url("../images/hero-1.png");
}

.hero-image-2 {
  top: 12%;
  right: 12%;
  width: 36vw;
  aspect-ratio: 4 / 5;
  background-image: url("../images/hero-2.png");
}

.hero-image-3 {
  bottom: 8%;
  right: 14%;
  width: 34vw;
  aspect-ratio: 4 / 5;
  background-image: url("../images/hero-3.png");
}

.hero-blur {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  padding: 5rem clamp(1rem, 4vw, 3rem);
}

.hero-text {
  position: absolute;
  letter-spacing: 0.04em;
  color: #111;
  font-weight: 400;
  white-space: nowrap;
}

.hero-text-hi {
  left: 50%;
  transform: translateX(-50%);
  top: 10%;
  font-size: clamp(0.75rem, 1.5vw, 1.2rem);
  text-transform: none;
}

.hero-text-name {
  left: 50%;
  transform: translateX(-50%);
  top: 13%;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  text-transform: none;
  white-space: nowrap;
}

.hero-text-working {
  left: clamp(2%, 15%, 25%);
  top: 25%;
  font-size: clamp(0.7rem, 1.5vw, 1.2rem);
  text-transform: none;
}

.hero-text-multi {
  right: clamp(2%, 15%, 25%);
  top: 25%;
  font-size: clamp(0.7rem, 1.5vw, 1.2rem);
  text-transform: none;
  white-space: normal;
  max-width: 300px;
  line-height: 1.4;
}

.hero-text-design {
  left: 25%;
  top: 30%;
  font-size: clamp(2rem, 6.5vw, 6rem);
  text-transform: none;
}

.hero-text-experiences {
  right: 5%;
  top: 40%;
  font-size: clamp(2rem, 6.5vw, 6rem);
  text-transform: none;
}

.hero-text-technology {
  left: 25%;
  top: 55%;
  font-size: clamp(2rem, 6.5vw, 6rem);
  text-transform: none;
}

.hero-dots {
  position: absolute;
  left: 50%;
  top: 77%;
  transform: translateX(-50%);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.3em;
  color: #111;
}

.hero-caption {
  position: absolute;
  left: 50%;
  top: 82%;
  transform: translateX(-50%);
  max-width: 700px;
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: #2f2f2f;
  text-transform: none;
  text-align: center;
  transform: translateX(-50%);
}

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  color: #111;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

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

.hero-cta svg {
  width: clamp(18px, 3vw, 24px);
  height: clamp(18px, 3vw, 24px);
}

@media (max-width: 900px) {
  .hero,
  .hero-bg,
  .hero-content {
    aspect-ratio: 4 / 5;
  }

  .hero-image-1,
  .hero-image-2,
  .hero-image-3 {
    width: 70vw;
  }

  .hero-image-2 {
    right: 4%;
  }

  .hero-image-3 {
    right: 8%;
  }
}

@media (max-width: 640px) {
  .hero {
    aspect-ratio: 4 / 5;
  }

  .hero-image-1,
  .hero-image-2,
  .hero-image-3 {
    width: 80vw;
    opacity: 0.5;
  }

  .hero-text {
    white-space: normal;
  }

  .hero-text-name {
    white-space: nowrap;
  }

  .hero-caption {
    left: 50%;
    top: 82%;
    transform: translateX(-50%);
  }
}

.graph-wrapper {
  max-width: 1728px;
  margin: 0 auto;
  padding: 2.5rem clamp(2rem, 5vw, 4rem) 0;
}

.graph-header {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #000000;
  margin-bottom: 1.5rem;
}

.graph {
  position: relative;
  margin: 2.5rem auto 0;
  max-width: 1400px;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  border: 1px solid #8f8f8f;
  border-radius: 1.5rem;
  overflow: hidden;
}

.graph-axis {
  position: absolute;
  background: #8f8f8f;
  z-index: 1;
}

.graph-axis-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.graph-axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.graph-label {
  position: absolute;
  background: #ffffff;
  border: 1px solid #2b2b2b;
  border-radius: 999px;
  padding-top: 12px;
  padding-bottom: 8px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: clamp(0.85rem, 2.5vw, 1.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: #111;
  z-index: 2;
}

.graph-label-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.graph-label-right {
  right: 22.5px;
  top: 50%;
  transform: translate(50%, -50%) rotate(90deg);
  transform-origin: center center;
}

.graph-label-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.graph-label-left {
  left: 22.5px;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
}

.graph-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #111;
  border: 2px solid #111;
  box-shadow: none;
  cursor: pointer;
  z-index: 5;
}

.graph-dot:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.graph-tooltip {
  position: absolute;
  left: 50%;
  bottom: 140%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 0.4rem 0.7rem 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  line-height: 1;
  z-index: 6;
}

.graph-hover-image {
  position: absolute;
  width: clamp(220px, 25vw, 350px);
  height: clamp(220px, 25vw, 350px);
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
  box-shadow: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
}

.graph-dot:hover .graph-tooltip,
.graph-dot:focus-visible .graph-tooltip,
.graph-dot:active .graph-tooltip {
  opacity: 1;
  transform: translate(-50%, -6px);
}

.graph-dot:hover .graph-hover-image,
.graph-dot:focus-visible .graph-hover-image,
.graph-dot:active .graph-hover-image {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: none) and (pointer: coarse) {
  .graph-dot:active .graph-tooltip {
    opacity: 1;
    transform: translate(-50%, -6px);
  }
  
  .graph-dot:active .graph-hover-image {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 768px) {
  .graph {
    aspect-ratio: 4 / 5;
  }
  
  .graph-hover-image {
    width: clamp(150px, 35vw, 220px);
    height: clamp(150px, 35vw, 220px);
  }
}

.folder-wrapper {
  min-height: 0;
}

.folder-frame {
  color: #111827;
}

.folder-content {
  min-height: 100%;
}

@media (max-width: 768px) {
  .folder-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 4rem;
  }
}

.breadcrumb-tab {
  position: relative;
  display: inline-block;
  min-width: 200px;
}

.breadcrumb-tab svg {
  pointer-events: none;
}

.breadcrumb-tab span {
  white-space: nowrap;
}

.breadcrumb-back-tab {
  position: relative;
  display: inline-block;
}

.project-folder-wrapper {
  min-height: 600px;
}

.folder-frame-large {
  max-width: 100%;
}

@media (max-width: 768px) {
  .project-folder-wrapper {
    min-height: 500px;
  }
}

