.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 34px;
  align-items: stretch;
  padding: 72px 0 40px;
}

.hero h1,
.section-heading h2,
.contact-card h2,
.mentor-copy h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.hero-text,
.mentor-copy p,
.contact-card p,
.trust-strip p,
.note-grid p,
.values-grid p,
.program-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 720px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-panel,
.contact-card,
.program-card,
.signal-card,
.mentor-quote,
.values-grid article,
.note-grid article,
.faq-list details {
  box-shadow: var(--shadow);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.signal-card {
  position: relative;
  padding: 30px;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  color: #f4ede3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(145deg, #16202a 0%, #0d1116 100%);
  animation: cardGlow 7s ease-in-out infinite;
}

.signal-brand {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.signal-brand img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #f1c28e;
}

.signal-card h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  font-family: "Noto Serif SC", serif;
}

.signal-card p {
  margin: 0;
  color: rgba(244, 237, 227, 0.76);
  line-height: 1.75;
}

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

.metric-grid article {
  padding: 22px;
  border: 1px solid rgba(15, 23, 32, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.88);
}

.metric-grid strong,
.contact-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.metric-grid span,
.contact-grid span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.trust-strip {
  margin: 16px 0 22px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section {
  padding: 56px 0;
}

.visual-grid,
.experience-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
}

.visual-grid > *,
.experience-panel > * {
  min-width: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.mentor-copy h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.program-grid,
.values-grid,
.note-grid {
  display: grid;
  gap: 20px;
}

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

.algorithm-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.algorithm-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent),
    rgba(255, 253, 249, 0.84);
}

.algorithm-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 72, 61, 0.1);
  color: var(--bg-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.algorithm-card h3 {
  margin: 18px 0 12px;
  font-size: 1.3rem;
}

.algorithm-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.algorithm-track {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 72, 61, 0.16);
  background:
    radial-gradient(circle at left top, rgba(37, 72, 61, 0.14), transparent 30%),
    rgba(247, 252, 248, 0.9);
}

.algorithm-track strong {
  display: block;
  font-size: 1.22rem;
  color: var(--bg-deep);
}

.algorithm-track p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.flow-card,
.code-card,
.experience-panel {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.82);
  box-shadow: var(--shadow);
}

.flow-card,
.code-card {
  width: 100%;
  min-width: 0;
  padding: 28px;
}

.flow-header,
.code-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.flow-label,
.flow-tag {
  font-size: 0.86rem;
  border-radius: 999px;
  padding: 8px 12px;
}

.flow-label {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 600;
}

.flow-tag {
  border: 1px solid var(--line);
  color: var(--muted);
}

.flow-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.flow-step {
  position: relative;
  padding: 20px 20px 20px 74px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 32, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.flow-step span {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-deep), #304256);
  color: #fff;
  font-weight: 700;
}

.flow-step h3,
.code-caption strong,
.experience-copy h2 {
  margin: 0;
}

.flow-step p,
.code-caption p,
.experience-copy p,
.status-stack p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.code-window {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, #121922 0%, #0d131a 100%);
}

.code-toolbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.code-toolbar span:nth-child(1) {
  background: #f47f6b;
}

.code-toolbar span:nth-child(2) {
  background: #f2c15c;
}

.code-toolbar span:nth-child(3) {
  background: #58c38c;
}

.code-window pre {
  margin: 0;
  padding: 24px;
  max-width: 100%;
  overflow-x: auto;
}

.code-window code {
  display: block;
  color: #d8e4f1;
  font-size: 0.96rem;
  line-height: 1.75;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.code-caption {
  display: block;
  margin-top: 18px;
}

.experience-panel {
  padding: 32px;
  align-items: center;
}

.experience-copy h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
}

.experience-art {
  display: grid;
  gap: 18px;
}

.node-map,
.status-stack article {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 32, 0.08);
  background: rgba(255, 255, 255, 0.64);
}

.node-map {
  min-height: 260px;
  padding: 22px;
  overflow: hidden;
}

.node-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.node-map path {
  fill: none;
  stroke: rgba(37, 72, 61, 0.42);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  animation: pathDrift 16s linear infinite;
}

.node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 32, 0.08);
  background: rgba(255, 253, 249, 0.95);
  font-weight: 600;
}

.node-main {
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #e9a25f);
  color: #fff;
}

.node-a { left: 26px; top: 104px; }
.node-b { right: 26px; top: 108px; }
.node-c { left: 78px; bottom: 28px; }
.node-d { right: 30px; bottom: 22px; }

.status-stack {
  display: grid;
  gap: 14px;
}

.status-stack article {
  padding: 18px 18px 18px 44px;
}

.status-stack strong {
  display: block;
}

.status-dot {
  position: absolute;
  left: 18px;
  top: 23px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #58c38c;
  box-shadow: 0 0 0 6px rgba(88, 195, 140, 0.14);
  animation: statusPulse 2.8s ease-in-out infinite;
}

.status-warm {
  background: #f2b259;
  box-shadow: 0 0 0 6px rgba(242, 178, 89, 0.14);
}

.status-soft {
  background: #738ee9;
  box-shadow: 0 0 0 6px rgba(115, 142, 233, 0.14);
}

.program-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.82);
}

.program-card span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}

.program-card h3,
.note-grid h3,
.values-grid h3 {
  margin: 18px 0 12px;
  font-size: 1.3rem;
}

.program-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid rgba(217, 123, 45, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at right top, rgba(217, 123, 45, 0.18), transparent 32%),
    rgba(255, 248, 240, 0.92);
  box-shadow: var(--shadow);
}

.program-cta strong {
  display: block;
  font-size: 1.28rem;
  color: var(--bg-deep);
}

.program-cta p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.program-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.studio-note {
  position: relative;
}

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

.note-grid article,
.values-grid article,
.faq-list details,
.contact-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.8);
}

.mentor-section {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.mentor-quote {
  display: flex;
  align-items: flex-end;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(135deg, #24463a 0%, #11251f 100%);
}

.mentor-quote p {
  margin: 0;
  color: #f6eee4;
  font-family: "Noto Serif SC", serif;
  font-size: 1.7rem;
  line-height: 1.5;
}

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

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

.faq-list details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-list details summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 16px 0 0;
}

.contact-card {
  padding: 34px;
  background:
    radial-gradient(circle at right top, rgba(217, 123, 45, 0.16), transparent 28%),
    rgba(255, 252, 247, 0.84);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.contact-grid div {
  padding: 18px;
  border: 1px solid rgba(15, 23, 32, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
}

.qr-contact {
  grid-row: span 2;
}

.qr-frame {
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 1 / 1;
  margin-top: 14px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 123, 45, 0.12), rgba(37, 72, 61, 0.12)),
    #ffffff;
  border: 1px solid rgba(15, 23, 32, 0.08);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.8);
}

.qr-frame img {
  display: block;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.qr-contact p {
  max-width: 280px;
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

@keyframes cardGlow {
  0%, 100% {
    box-shadow: 0 24px 60px rgba(35, 29, 18, 0.12);
  }
  50% {
    box-shadow: 0 28px 72px rgba(35, 29, 18, 0.18);
  }
}

@keyframes pathDrift {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(88, 195, 140, 0.14);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(88, 195, 140, 0.06);
    transform: scale(1.05);
  }
}

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

@media (max-width: 980px) {
  .hero,
  .mentor-section,
  .visual-grid,
  .experience-panel,
  .program-grid,
  .algorithm-grid,
  .note-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .qr-contact {
    grid-row: auto;
  }

  .hero {
    padding-top: 46px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .signal-card h2 {
    font-size: 1.6rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .program-card,
  .algorithm-track,
  .flow-card,
  .code-card,
  .program-cta,
  .experience-panel,
  .mentor-quote,
  .note-grid article,
  .values-grid article,
  .faq-list details {
    padding: 22px;
  }

  .flow-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .program-cta .button {
    width: 100%;
  }

  .node-map {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-card,
  .node-map path,
  .status-dot {
    animation: none;
  }
}
