/* Author: VIVI x Codex */
:root {
  --bg: #eef4ef;
  --paper: #f8fcf9;
  --ink: #12161c;
  --muted: #4a5663;
  --line: rgba(18, 22, 28, 0.12);
  --line-strong: rgba(18, 22, 28, 0.32);
  --coral: #ef5b3f;
  --coral-strong: #af442e;
  --lime: #c6dc36;
  --sky: #43a4ff;
  --gold: #f4b23e;
  --mint: #62c6a6;
  --shadow: 0 24px 64px rgba(18, 22, 28, 0.12);
  --section-width: min(1180px, calc(100vw - 40px));
  --anchor-offset: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(67, 164, 255, 0.08) 0%, transparent 16%),
    linear-gradient(180deg, var(--bg) 0%, #f6fbf7 100%);
  font-family: "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 20px;
  background: rgba(238, 244, 239, 0.84);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(18, 22, 28, 0.08);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.56);
}

.hero {
  padding: 28px 20px 52px;
  background:
    radial-gradient(circle at 14% 28%, rgba(98, 198, 166, 0.12) 0%, rgba(98, 198, 166, 0) 26%),
    radial-gradient(circle at 84% 22%, rgba(67, 164, 255, 0.12) 0%, rgba(67, 164, 255, 0) 24%),
    linear-gradient(180deg, #edf3ef 0%, #f6f4ed 100%);
}

.hero-inner {
  position: relative;
  width: var(--section-width);
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(18, 22, 28, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 242, 234, 0.94)),
    #f7f3ed;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 30px 70px rgba(18, 22, 28, 0.08);
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(247, 163, 110, 0.34) 0%, rgba(247, 163, 110, 0) 22%),
    radial-gradient(circle at 50% 56%, rgba(239, 229, 84, 0.34) 0%, rgba(239, 229, 84, 0) 24%),
    radial-gradient(circle at 78% 18%, rgba(131, 188, 245, 0.3) 0%, rgba(131, 188, 245, 0) 26%),
    radial-gradient(circle at 76% 62%, rgba(183, 214, 167, 0.24) 0%, rgba(183, 214, 167, 0) 22%);
  filter: blur(34px);
  transform: scale(1.04);
}

.hero-inner::after {
  inset: 1px;
  border-radius: 15px;
  background-image: radial-gradient(circle, rgba(18, 22, 28, 0.18) 0.7px, transparent 0.8px);
  background-size: 8px 8px;
  opacity: 0.06;
}

.hero-kicker,
.section-kicker,
.panel-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--coral-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: auto;
}

.hero-mark {
  margin: 0 0 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 900;
  line-height: 0.96;
  color: #171c24;
}

.hero h1 span {
  display: block;
}

.hero-title-wide {
  white-space: nowrap;
}

.hero-lede {
  max-width: 28ch;
  margin: 18px 0 0;
  color: rgba(18, 22, 28, 0.64);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
}

.section {
  width: var(--section-width);
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.06;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.phase-card,
.summary-card,
.profile-panel,
.insight-card,
.idea-card,
.award-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.phase-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 18px;
  min-height: 300px;
  padding: 22px;
}

.phase-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: rgba(18, 22, 28, 0.12);
}

.phase-card[data-tone="1"]::before {
  background: rgba(239, 91, 63, 0.78);
}

.phase-card[data-tone="2"]::before {
  background: rgba(67, 164, 255, 0.8);
}

.phase-card[data-tone="3"]::before {
  background: rgba(198, 220, 54, 0.88);
}

.phase-card[data-tone="4"]::before {
  background: rgba(98, 198, 166, 0.88);
}

.phase-top {
  display: grid;
  align-items: start;
  justify-items: start;
  gap: 30px;
}

.phase-time {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(18, 22, 28, 0.14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
}

.phase-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
}

.phase-desc,
.phase-output,
.award-card p,
.award-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.phase-output {
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.summary-card {
  min-height: 132px;
  padding: 20px;
}

.summary-card strong {
  display: block;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.summary-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.profile-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.profile-panel {
  padding: 22px;
}

.bar-list {
  display: grid;
  gap: 16px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.bar-meta span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 22, 28, 0.08);
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.need-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.need-chip {
  flex: 1 1 210px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(18, 22, 28, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  transform: scale(var(--scale));
  transform-origin: left center;
}

.need-chip strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.need-chip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.insight-grid,
.award-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.award-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-rows: repeat(3, minmax(170px, 1fr));
  align-items: stretch;
  gap: 18px;
}

.insight-card,
.award-card {
  padding: 20px;
}

.insight-card h3,
.award-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mini-list p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(18, 22, 28, 0.08);
  color: var(--muted);
  line-height: 1.4;
}

.mini-list strong {
  color: var(--ink);
}

.idea-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.idea-card {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  padding: 16px;
}

.idea-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.idea-meta span {
  color: var(--coral-strong);
  font-size: 12px;
  font-weight: 900;
}

.idea-meta strong {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
}

.idea-card p {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.32;
}

.award-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  padding: clamp(22px, 2.4vw, 34px);
}

.award-card-grand {
  grid-row: 1 / span 3;
  min-height: 620px;
  padding: clamp(30px, 3vw, 48px);
}

.award-card::before,
.award-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.award-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 100%;
}

.award-emoji {
  margin: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1;
}

.award-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.02;
}

.award-card-grand h3 {
  max-width: 7ch;
  font-size: clamp(58px, 7vw, 112px);
}

.award-copy {
  max-width: 14ch;
  margin: 0;
  color: rgba(18, 22, 28, 0.74);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.42;
}

.award-card-grand .award-copy {
  max-width: 11ch;
  font-size: clamp(28px, 3.2vw, 48px);
  color: rgba(18, 22, 28, 0.82);
}

.award-notes {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: rgba(78, 90, 104, 0.82);
  font-size: clamp(13px, 1.08vw, 15px);
  font-weight: 400;
  line-height: 1.72;
}

.award-notes p {
  margin: 0;
}

.award-notes strong {
  color: rgba(18, 22, 28, 0.76);
  font-weight: 600;
}

.award-card[data-tone="idea"] {
  background:
    radial-gradient(circle at 78% 22%, rgba(67, 164, 255, 0.22) 0%, rgba(67, 164, 255, 0) 24%),
    radial-gradient(circle at 18% 18%, rgba(239, 91, 63, 0.16) 0%, rgba(239, 91, 63, 0) 20%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.94));
}

.award-card[data-tone="idea"]::before {
  top: 54px;
  right: 56px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 220, 54, 0.36) 0%, rgba(198, 220, 54, 0) 66%);
}

.award-card[data-tone="idea"]::after {
  inset: 0;
  background: radial-gradient(circle, rgba(18, 22, 28, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.14;
}

.award-card[data-tone="grand"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 178, 62, 0.1)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(229, 242, 255, 0.92));
}

.award-card[data-tone="grand"]::before {
  inset: 0;
  background:
    repeating-linear-gradient(
      -26deg,
      transparent 0,
      transparent 26px,
      rgba(244, 178, 62, 0.12) 26px,
      rgba(244, 178, 62, 0.12) 34px
    );
  opacity: 0.8;
}

.award-card[data-tone="grand"]::after {
  top: 44px;
  right: 54px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(67, 164, 255, 0.24);
  border-radius: 999px;
  transform: skewX(-18deg);
}

.award-card[data-tone="wild"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(98, 198, 166, 0.12)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 255, 226, 0.92));
}

.award-card[data-tone="wild"] .award-copy {
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: normal;
}

.award-card[data-tone="wild"]::before {
  right: 46px;
  bottom: 44px;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(18, 22, 28, 0.2);
  border-radius: 18px;
  transform: rotate(-8deg);
}

.award-card[data-tone="wild"]::after {
  top: 34px;
  left: 48px;
  width: 132px;
  height: 18px;
  border-radius: 999px;
  background: rgba(198, 220, 54, 0.48);
  transform: rotate(-5deg);
}

.award-card[data-tone="beauty"] {
  background:
    radial-gradient(circle at 28% 22%, rgba(239, 91, 63, 0.12) 0%, rgba(239, 91, 63, 0) 28%),
    radial-gradient(circle at 76% 18%, rgba(67, 164, 255, 0.16) 0%, rgba(67, 164, 255, 0) 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 252, 0.92));
}

.award-card[data-tone="beauty"]::before {
  top: 46px;
  right: 52px;
  width: 170px;
  height: 170px;
  border: 2px solid rgba(239, 91, 63, 0.16);
  border-radius: 44% 56% 50% 50%;
  transform: rotate(16deg);
}

.award-card[data-tone="beauty"]::after {
  right: 58px;
  bottom: 58px;
  width: 148px;
  height: 18px;
  border-radius: 999px;
  background: rgba(244, 178, 62, 0.22);
  transform: rotate(-7deg);
}

.section-feedback {
  padding-top: 40px;
}

.feedback-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 320px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  margin-top: 14px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 20%, rgba(239, 91, 63, 0.09), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(198, 220, 54, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.feedback-copy h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 1.04;
}

.feedback-copy p {
  max-width: 30ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.5;
}

.feedback-qr {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 22, 28, 0.14);
}

.site-footer {
  width: var(--section-width);
  margin: 0 auto;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .profile-columns,
  .timeline,
  .profile-summary,
  .insight-grid,
  .idea-wall,
  .award-grid,
  .feedback-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .award-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .award-card-grand {
    grid-row: auto;
    min-height: 440px;
  }

  .hero-inner {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --section-width: min(100vw - 28px, 1180px);
    --anchor-offset: 116px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 6px;
    font-size: 12px;
  }

  .hero {
    padding: 14px 14px 36px;
  }

  .hero-inner {
    padding: 22px;
    border-radius: 12px;
  }

  .hero-grid,
  .timeline,
  .profile-summary,
  .profile-columns,
  .insight-grid,
  .idea-wall,
  .award-grid,
  .feedback-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .phase-card,
  .award-card {
    min-height: auto;
  }

  .bar-meta {
    display: grid;
  }

  .bar-meta span {
    text-align: left;
  }
}
