:root {
  --bg: #f5efe3;
  --bg-deep: #eadbc3;
  --paper: rgba(255, 250, 241, 0.82);
  --ink: #1f2430;
  --muted: #63686f;
  --line: rgba(31, 36, 48, 0.12);
  --brand: #c0552e;
  --brand-2: #2768b3;
  --brand-3: #1e7f5b;
  --shadow: 0 20px 50px rgba(45, 37, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'IBM Plex Sans KR', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(192, 85, 46, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(39, 104, 179, 0.14), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #f8f3ea 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 36, 48, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 36, 48, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

.page-shell {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero,
.section,
.footer-note-card,
.project-card,
.signal-card,
.overview-card {
  backdrop-filter: blur(10px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 251, 245, 0.92), rgba(243, 236, 223, 0.82));
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker,
.signal-label,
.project-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero h1,
.section h2,
.project-card h3,
.footer-note-card h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.hero h1 {
  font-size: clamp(3.2rem, 10vw, 6rem);
  line-height: 0.96;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-lead,
.overview-card p,
.project-summary,
.footer-note-card p,
.signal-card p,
.section-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 36, 48, 0.22);
}

.button-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.hero-panel {
  display: flex;
  align-items: stretch;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.signal-card {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.signal-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.6rem;
  line-height: 1.25;
}

.signal-card-wide {
  grid-column: 1 / -1;
}

.section {
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 250, 241, 0.7);
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.section-head-inline {
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.overview-grid,
.project-grid,
.access-grid {
  display: grid;
  gap: 18px;
}

.overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-card,
.project-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 28px;
}

.overview-card {
  padding: 22px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.access-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
}

.project-card[data-accent='orange'] { border-color: rgba(192, 85, 46, 0.28); }
.project-card[data-accent='blue'] { border-color: rgba(39, 104, 179, 0.28); }
.project-card[data-accent='green'] { border-color: rgba(30, 127, 91, 0.28); }
.project-card[data-accent='gold'] { border-color: rgba(152, 112, 22, 0.28); }
.project-card[data-accent='plum'] { border-color: rgba(120, 62, 110, 0.28); }

.project-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.project-mark {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.project-card[data-accent='orange'] .project-mark { background: linear-gradient(135deg, #d16838, #a53b1b); }
.project-card[data-accent='blue'] .project-mark { background: linear-gradient(135deg, #3d84d1, #1f4f93); }
.project-card[data-accent='green'] .project-mark { background: linear-gradient(135deg, #2b9b70, #166347); }
.project-card[data-accent='gold'] .project-mark { background: linear-gradient(135deg, #d4a43d, #8c6516); }
.project-card[data-accent='plum'] .project-mark { background: linear-gradient(135deg, #9652a5, #5d2b67); }

.project-tag {
  color: var(--muted);
}

.project-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-stack,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-pill,
.link-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: rgba(255,255,255,0.55);
  font-size: 0.92rem;
}

.link-pill {
  font-weight: 700;
}

.link-pill:hover {
  background: rgba(255,255,255,0.92);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.project-status {
  font-size: 0.92rem;
  color: var(--muted);
}

.security-note {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(192, 85, 46, 0.18);
  border-radius: 22px;
  background: rgba(255, 245, 238, 0.72);
}

.security-note strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.security-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.access-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.access-top h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.24rem;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.access-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.access-meta {
  display: grid;
  gap: 12px;
}

.access-meta-item {
  display: grid;
  gap: 6px;
}

.access-meta-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.access-meta-value {
  margin: 0;
  line-height: 1.65;
}

.access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-note-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 247, 234, 0.88), rgba(240, 232, 220, 0.75));
}

@media (max-width: 980px) {
  .hero,
  .overview-grid,
  .project-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px;
  }

  .section,
  .footer-note-card,
  .project-card,
  .overview-card,
  .signal-card {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 18px, 100%);
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .hero,
  .section {
    padding: 18px;
  }

  .section-head-inline,
  .project-top,
  .project-footer,
  .access-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 3.2rem;
  }
}


.project-card:focus-visible {
  outline: 3px solid rgba(39, 104, 179, 0.5);
  outline-offset: 4px;
}
