:root {
  color-scheme: dark;
  font-family:
    Inter, Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui,
    sans-serif;
  background: #0d1914;
  color: #f4f7f1;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(223, 165, 77, 0.2), transparent 32rem),
    radial-gradient(circle at 12% 32%, rgba(34, 120, 83, 0.2), transparent 27rem),
    #0d1914;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: radial-gradient(#fff 0.7px, transparent 0.7px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.workspace {
  position: relative;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 80px;
}

.hero {
  max-width: 730px;
}

.brand-mark {
  display: flex;
  align-items: end;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.brand-mark span {
  display: block;
  width: 5px;
  border-radius: 4px;
  background: #e8b459;
}

.brand-mark span:nth-child(1) {
  height: 10px;
}

.brand-mark span:nth-child(2) {
  height: 21px;
}

.brand-mark span:nth-child(3) {
  height: 15px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #dfad57;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 630px;
  margin-bottom: 0;
  color: #aebbb3;
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.75;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 94px;
}

.section-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.section-heading > span {
  color: #718078;
  font-size: 12px;
  text-transform: uppercase;
}

.project-card {
  display: flex;
  min-width: 0;
  min-height: 450px;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: rgba(24, 43, 35, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-card + .project-card {
  margin-top: 0;
}

.project-card:hover,
.project-card:focus-visible {
  outline: none;
  transform: translateY(-4px);
  border-color: rgba(232, 180, 89, 0.6);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.project-visual {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(19, 84, 61, 0.86), rgba(151, 98, 43, 0.8)),
    #1c513f;
}

.project-visual--words {
  background:
    radial-gradient(circle at 78% 22%, rgba(230, 185, 105, 0.36), transparent 30%),
    linear-gradient(145deg, #193d31, #10251e);
}

.project-visual--app {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 238, 200, 0.3), transparent 32%),
    repeating-linear-gradient(2deg, transparent 0 30px, rgba(35, 18, 9, 0.14) 31px, transparent 32px),
    linear-gradient(145deg, #956c4d, #5f3f2c);
}

.app-preview {
  width: min(100%, 310px);
  padding: 27px;
  border-radius: 22px;
  color: #274036;
  background: #f5f0e5;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.app-preview > span {
  display: block;
  margin-bottom: 22px;
  color: #8d8275;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.app-preview div {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 8px;
}

.app-preview i {
  display: grid;
  min-height: 57px;
  place-items: center;
  border-radius: 9px;
  color: #f6f1e8;
  background: #4f705f;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.app-preview i:nth-child(2) {
  color: #263a32;
  background: #c9d4ca;
}

.app-preview i:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 40px;
  color: #583420;
  background: #df9566;
}

.project-visual--learning {
  background:
    radial-gradient(circle at 82% 16%, rgba(229, 174, 91, 0.3), transparent 28%),
    linear-gradient(145deg, #315f4a, #102a20);
}

.learning-preview {
  width: min(100%, 290px);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 21px;
  color: #203a2f;
  background: #f8f5ed;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.25);
}

.learning-preview > span,
.learning-preview small {
  display: block;
  color: #7c8982;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.learning-preview strong {
  display: block;
  margin: 14px 0 6px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.learning-preview div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 20px;
}

.learning-preview i {
  height: 22px;
  border-radius: 5px;
  background: #dbe5de;
}

.learning-preview i:nth-child(2) { background: #e4b274; }

.project-visual--report {
  background:
    radial-gradient(circle at 20% 18%, rgba(237, 189, 99, 0.24), transparent 30%),
    linear-gradient(145deg, #244f3f, #12271f);
}

.project-visual--wordbook {
  background:
    radial-gradient(circle at 78% 18%, rgba(237, 189, 99, 0.22), transparent 30%),
    linear-gradient(145deg, #1c4938, #10251e);
}

.shelf-preview {
  width: min(100%, 290px);
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  color: #17382b;
  background: #f3f0e8;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.shelf-preview > span,
.shelf-preview small {
  display: block;
  color: #6f8378;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.shelf-preview strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.shelf-preview div {
  display: flex;
  gap: 7px;
  margin: 24px 0 15px;
}

.shelf-preview i {
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 8px;
  background: #3d7e61;
}

.shelf-preview i:nth-child(2) { background: #d5a952; }
.shelf-preview i:nth-child(3) { background: #77a88e; }

.project-visual--flow { background: radial-gradient(circle at 80% 15%, rgba(237,189,99,.26), transparent 31%), linear-gradient(145deg,#285b46,#10261e); }
.flow-preview { width:min(100%,290px);padding:27px;border:1px solid rgba(255,255,255,.22);border-radius:22px;color:#17382b;background:#f3f0e8;box-shadow:0 24px 48px rgba(0,0,0,.24) }
.flow-preview>span,.flow-preview small{display:block;color:#688076;font-size:8px;font-weight:900;letter-spacing:.16em}.flow-preview strong{display:block;margin-top:7px;font-size:28px;letter-spacing:-.04em}.flow-preview div{display:flex;gap:7px;margin:25px 0 16px}.flow-preview i{width:100%;height:44px;border-radius:99px;background:#4b8b6c}.flow-preview i:nth-child(4),.flow-preview i:nth-child(5),.flow-preview i:nth-child(6){background:#d9dfd8}.flow-preview i:nth-child(3){background:#d5a952}

.report-preview {
  width: min(100%, 280px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(244, 240, 229, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.report-preview__label {
  display: block;
  margin-bottom: 8px;
  color: #698075;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.report-preview strong {
  color: #18382b;
  font-size: 38px;
  letter-spacing: -0.05em;
}

.report-preview__bars {
  display: flex;
  height: 78px;
  align-items: end;
  gap: 8px;
  margin-top: 24px;
}

.report-preview__bars i {
  width: 100%;
  min-height: 8px;
  border-radius: 5px 5px 2px 2px;
  background: #3e8063;
}

.word-cloud {
  display: flex;
  max-width: 250px;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.word-cloud strong {
  color: #f1c56f;
  font-size: 31px;
}

.word-cloud b {
  color: #d9eee4;
  font-size: 24px;
}

.mini-card {
  display: flex;
  width: min(100%, 300px);
  aspect-ratio: 1.15;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  color: #17251e;
  background: #f8faf6;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.mini-label {
  margin-bottom: 25px;
  color: #7d8981;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.mini-card strong {
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.045em;
}

.mini-answer {
  margin-top: 15px;
  color: #627169;
  font-size: 14px;
  font-weight: 700;
}

.project-copy {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  flex: 1;
  justify-content: flex-start;
  padding: 28px 28px 30px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}

.status,
.route {
  font-size: 11px;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9dd6ba;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fbd87;
  box-shadow: 0 0 0 5px rgba(79, 189, 135, 0.1);
}

.route {
  color: #77877e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.project-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -0.045em;
}

.project-copy p {
  margin-bottom: 25px;
  color: #a8b6ae;
  font-size: 15px;
  line-height: 1.75;
}

.open-label {
  margin-top: auto;
  color: #e8b459;
  font-size: 14px;
  font-weight: 800;
}

.open-label b {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.project-card:hover .open-label b,
.project-card:focus-visible .open-label b {
  transform: translateX(5px);
}

footer {
  position: relative;
  display: flex;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64726a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .workspace {
    width: min(100% - 28px, 620px);
    padding-top: 52px;
  }

  .brand-mark {
    margin-bottom: 28px;
  }

  .projects {
    margin-top: 64px;
  }

  .project-card {
    min-height: 0;
  }

  .project-card + .project-card {
    margin-top: 0;
  }

  .project-visual {
    min-height: 270px;
    padding: 32px;
  }

  .project-copy {
    min-height: 240px;
    padding: 28px 26px 30px;
  }

  .project-meta {
    margin-bottom: 28px;
  }

  footer {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
