/* ===== Design Tokens ===== */
:root {
  --color-1: #141416;
  --color-2: #23262f;
  --color-4: #777e90;
  --color-6: #e6e8ec;
  --color-7: #f4f5f6;
  --color-white: #ffffff;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'DM Sans', sans-serif;

  --header-height: 96px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  --radius-full: 999px;
  --radius-12: 12px;
}

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

/* ===== Keyframes ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInBottom {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===== Scroll Entrance ===== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Base ===== */
html, body {
  height: 100%;
  background: var(--color-white);
  color: var(--color-1);
  font-family: var(--font-body);
  overflow-x: auto;
}

/* ===== Website Wrapper ===== */
.website {
  position: relative;
  background: var(--color-white);
  min-width: 1280px;
  min-height: 100vh;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 56px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 331px;
  flex-shrink: 0;
  cursor: pointer;
}

.header-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.header-name {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
  color: var(--color-1);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
  color: var(--color-4);
  cursor: pointer;
  transition: color var(--transition-fast);
  user-select: none;
}
.nav-item:hover { color: var(--color-1); }
.nav-item.selected { font-weight: 700; color: var(--color-1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
  white-space: nowrap;
  border: none;
  outline: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-2);
  color: var(--color-2);
}
.btn-outline:hover {
  background: var(--color-7);
  transform: translateY(-1px);
}

.btn-filled {
  background: var(--color-2);
  color: var(--color-white);
}
.btn-filled:hover {
  background: #363b48;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(35, 38, 47, 0.25);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
}

/* ===== Main Layout ===== */
.main-content {
  display: flex;
  align-items: stretch;
  gap: 96px;
  height: 100vh;
  padding-top: var(--header-height);
  position: relative;
  z-index: 2;
}

/* ===== Left Column ===== */
.content-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 104px 0 56px 56px;
}

.content-text-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.content-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 64px;
  color: var(--color-1);
}

.hero-body {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.2px;
  color: var(--color-4);
}

.content-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Bottom Contact ===== */
.content-fixed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-note {
  display: flex;
  align-items: center;
  gap: 16px;
}

.note-icon {
  width: 26px;
  height: 24px;
  flex-shrink: 0;
}

.note-text {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.2px;
  color: var(--color-4);
  white-space: nowrap;
}

.content-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-4);
  white-space: nowrap;
}

.info-label { font-weight: 700; }

/* ===== Right Column ===== */
.content-right {
  flex: 2;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  gap: 80px;
  padding: 104px 56px 56px 0;
}

/* ===== H Vector ===== */
.vector-h-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 677 / 800;
  max-width: 677px;
  max-height: 100%;
}

.vector-h {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== Project List ===== */
.project-list-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  width: 310px;
  flex-shrink: 0;
}

.project-label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-4);
  font-weight: 500;
  width: 100%;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.project-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: transform var(--transition-base);
}
.project-item:hover { transform: translateX(-4px); }

.project-item:nth-child(1) { animation-delay: 0ms; }
.project-item:nth-child(2) { animation-delay: 80ms; }
.project-item:nth-child(3) { animation-delay: 160ms; }

.project-cover {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-12);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: var(--color-7);
}

.cover-project {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-12);
  transition: transform var(--transition-slow);
}
.project-item:hover .cover-project { transform: scale(1.06); }

.project-name {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 8px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.16px;
  white-space: nowrap;
}

.project-number { color: var(--color-4); font-style: italic; }
.project-title  { color: var(--color-2); font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .website { min-width: 0; }
  .header { padding: 16px 32px; }
  .header-brand { width: auto; }
  .main-content { gap: 48px; }
  .content-left { padding: 72px 0 40px 32px; }
  .content-right { gap: 40px; padding: 72px 32px 40px 0; }
  .hero-title { font-size: 36px; line-height: 48px; }
  .project-list-wrapper { width: 220px; }
}

@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .website { min-width: 0; }
  .header { padding: 16px 24px; height: 72px; }
  .header-brand { width: auto; }
  .header-name { display: none; }
  .header-actions { display: none; }
  .main-content {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    gap: 0;
  }
  .content-left {
    width: 100%;
    padding: 48px 24px 32px;
  }
  .content-right {
    width: 100%;
    padding: 0 24px 48px;
    align-items: flex-start;
    gap: 32px;
  }
  .vector-h-wrapper { max-width: 180px; }
  .hero-title { font-size: 28px; line-height: 36px; }
  .hero-body { font-size: 16px; line-height: 24px; }
  .note-text { font-size: 16px; line-height: 22px; }
  .project-list-wrapper { width: 100%; }
  .project-cover { width: 72px; height: 72px; }
}

/* ===== Ellipse Glow ===== */
.ellipse-glow {
  position: absolute;
  left: 1021px;
  top: 416px;
  width: 275px;
  height: 275px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 1;
}
