:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #151515;
  --text: #f6f2ea;
  --muted: #a9a29a;
  --line: rgba(255, 255, 255, 0.14);
  --ember: #ff5a24;
  --ember-soft: rgba(255, 90, 36, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #070707 0%, var(--bg) 58%, #020202 100%);
  color: var(--text);
  font-family:
    Pretendard,
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0 64px;
}

.hero {
  display: grid;
  width: 100%;
  justify-items: center;
  min-height: 68vh;
  align-content: center;
  text-align: center;
}

.logo {
  width: min(560px, 86vw);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, 0.22));
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  width: 100%;
  margin-top: 18px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  word-break: keep-all;
}

.intro {
  width: 100%;
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.75;
  word-break: keep-all;
}

.projects {
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading p,
.project-label {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--ember-soft), transparent 34%),
    linear-gradient(180deg, var(--panel-soft), var(--panel));
}

.project-card::after {
  position: absolute;
  inset: auto 32px 0 auto;
  width: 180px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  content: "";
}

.project-card h3 {
  width: 100%;
  margin-top: 12px;
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: 0;
  word-break: keep-all;
}

@media (max-width: 680px) {
  .site-shell {
    width: min(1120px, calc(100% - 28px));
    padding: 36px 0 44px;
  }

  .hero {
    min-height: 64vh;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 8px;
  }
}
