:root {
  --bg: #f6f0e7;
  --bg-deep: #0e1730;
  --surface: rgba(255, 251, 246, 0.88);
  --surface-strong: rgba(255, 250, 245, 0.96);
  --surface-dark: rgba(13, 22, 42, 0.84);
  --text: #18233c;
  --muted: #58627a;
  --line: rgba(24, 35, 60, 0.1);
  --coral: #d9674f;
  --coral-soft: #ffe1d4;
  --teal: #2c8c81;
  --teal-soft: #d6f3ee;
  --gold: #c69433;
  --gold-soft: #f8ebbf;
  --blue-soft: #dde8ff;
  --shadow: 0 18px 50px rgba(31, 41, 71, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 208, 255, 0.26), transparent 34%),
    radial-gradient(circle at bottom right, rgba(130, 206, 196, 0.18), transparent 30%),
    linear-gradient(180deg, #fffaf5 0%, var(--bg) 38%, #fbf6ef 100%);
  font-family: "Sora", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
.button {
  font: inherit;
}

.ambient {
  position: fixed;
  inset: auto auto 0 0;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
  z-index: -1;
}

.ambient-a {
  top: -10rem;
  left: -12rem;
  background: rgba(227, 174, 255, 0.14);
}

.ambient-b {
  right: -10rem;
  bottom: 6rem;
  left: auto;
  background: rgba(90, 207, 193, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(calc(100% - 2rem), var(--container));
  margin: 1rem auto 0;
  padding: 0.95rem 1.15rem;
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(16, 26, 48, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: #fff8f0;
  font-size: 0.92rem;
  box-shadow: 0 10px 20px rgba(217, 103, 79, 0.24);
}

.brand-text {
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 0.1rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.section-pad {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 5.25rem 0;
}

.section-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding-right: min(2rem, 4vw);
  padding-left: min(2rem, 4vw);
}

.hero {
  display: block;
  padding-top: 3.4rem;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 3vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title,
.section-heading h2,
.spotlight-copy h3,
.community-copy h3,
.survey-card h3,
.thread-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.08;
}

.hero-title {
  font-size: clamp(2.95rem, 6vw, 5.35rem);
  letter-spacing: -0.045em;
}

.hero-title span {
  display: block;
}

.hero-title-banner {
  margin: 0 0 2rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--coral);
  font-size: clamp(2rem, 3.7vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-wrap: balance;
}

.highlight {
  display: inline;
  font-weight: 600;
}

.highlight-coral {
  color: var(--coral);
}

.highlight-teal {
  color: var(--teal);
  font-style: italic;
}

.highlight-gold {
  color: var(--gold);
}

.hero-lead,
.section-heading p,
.spotlight-copy p,
.community-copy p,
.survey-card p,
.thread-card p {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-lead {
  max-width: 42rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.75vw, 1.32rem);
  font-weight: 400;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions,
.card-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.card-actions {
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--coral), #e89754);
  color: #fffaf7;
  box-shadow: 0 14px 28px rgba(217, 103, 79, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(24, 35, 60, 0.12);
  color: var(--text);
}

.button-disabled {
  background: rgba(24, 35, 60, 0.08);
  color: rgba(24, 35, 60, 0.5);
  cursor: not-allowed;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(18rem, 22rem));
  justify-content: center;
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  padding: 1rem 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(31, 41, 71, 0.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
  font-size: 1.45rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(20, 28, 50, 0.92), rgba(9, 14, 30, 0.88)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: 0 30px 60px rgba(11, 18, 36, 0.26);
  overflow: hidden;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 142, 109, 0.18), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(63, 154, 144, 0.18), transparent 24%);
  pointer-events: none;
}

.floating-chip {
  position: absolute;
  z-index: 1;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fef8f1;
  box-shadow: 0 12px 28px rgba(12, 18, 34, 0.3);
  animation: floaty 5.4s ease-in-out infinite;
}

.chip-a {
  top: 1.4rem;
  left: 1.2rem;
  background: rgba(217, 103, 79, 0.62);
}

.chip-b {
  top: 5rem;
  right: 1.5rem;
  background: rgba(44, 140, 129, 0.62);
  animation-delay: 0.8s;
}

.chip-c {
  bottom: 1.5rem;
  left: 2rem;
  background: rgba(198, 148, 51, 0.56);
  animation-delay: 1.4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-visual svg {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.hero-svg-overline,
.hero-svg-chip,
.hero-svg-label,
.hero-svg-title,
.hero-svg-subtitle,
.diagram-kicker,
.diagram-label,
.diagram-node,
.diagram-small {
  font-family: "Sora", sans-serif;
}

.hero-svg-overline {
  fill: #ffd8c4;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-svg-title {
  fill: #fff7ef;
  font-size: 22px;
  font-weight: 700;
}

.hero-svg-subtitle {
  fill: #d9e6ff;
  font-size: 16px;
  font-weight: 500;
}

.hero-svg-label {
  fill: rgba(243, 247, 255, 0.72);
  font-size: 16px;
  font-weight: 600;
}

.hero-svg-chip {
  fill: #fff9f4;
  font-size: 14px;
  font-weight: 600;
}

.section-heading {
  max-width: 48rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2rem);
  letter-spacing: -0.04em;
}

.thread-heading {
  white-space: nowrap;
  font-size: clamp(2rem, 4vw, 2rem);
  letter-spacing: -0.035em;
}

#works {
  padding-top: 1rem;
  padding-bottom: 3.5rem;
}

.thread-card,
.survey-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.thread-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.thread-map::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -2.6rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 103, 79, 0.24), rgba(44, 140, 129, 0.4), rgba(198, 148, 51, 0.3));
}

.thread-card {
  padding: 1.55rem;
}

.thread-card ul,
.feature-list {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.thread-card li,
.feature-list li {
  margin-bottom: 0.55rem;
}

.thread-step {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(24, 35, 60, 0.07);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.thread-card.emphasized {
  background: linear-gradient(180deg, rgba(255, 248, 243, 0.92), rgba(239, 251, 248, 0.82));
  transform: translateY(-0.35rem);
}

.spotlight-card,
.community-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.35rem;
  padding: 1.35rem;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.spotlight-card.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.spotlight-card.reverse .spotlight-copy {
  order: 2;
}

.spotlight-card.reverse .spotlight-visual {
  order: 1;
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(24, 35, 60, 0.08);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.pill-coral {
  background: var(--coral-soft);
  color: #9f4332;
}

.pill-teal {
  background: var(--teal-soft);
  color: #1d6d65;
}

.pill-gold {
  background: var(--gold-soft);
  color: #8d671f;
}

.spotlight-copy,
.community-copy,
.spotlight-header {
  padding: 0.45rem 0.35rem;
}

.spotlight-copy h3,
.community-copy h3,
.survey-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.0rem);
  letter-spacing: -0.04em;
}

.spotlight-copy h3 a,
.spotlight-header h3 a {
  color: inherit;
}

.spotlight-copy h3 a:hover,
.spotlight-header h3 a:hover {
  color: var(--coral);
}

#thor-card,
#hitemotion-card,
#moca-card {
  align-items: start;
}

#thor-card,
#moca-card {
  align-items: stretch;
}

#hitemotion-card .spotlight-copy h3,
#moca-card .spotlight-copy h3 {
  font-size: clamp(1.45rem, 2vw, 1.0rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

#thor-card .spotlight-header,
#moca-card .spotlight-header {
  grid-column: 1 / -1;
  padding-bottom: 0;
}

#thor-card .spotlight-header h3,
#moca-card .spotlight-header h3 {
  font-size: clamp(1.45rem, 2vw, 1rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

#thor-card .spotlight-visual,
#moca-card .spotlight-visual {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin-top: 0.85rem;
}

#thor-card .spotlight-copy,
#moca-card .spotlight-copy {
  grid-column: 2;
  grid-row: 2;
  padding-top: 1rem;
}

#hitemotion-card .spotlight-visual,
#moca-card .spotlight-visual {
  align-self: start;
  margin-top: 8rem;
}

#moca-card .spotlight-visual {
  margin-top: 0.85rem;
}

.spotlight-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 100%; */
  padding: 0.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 207, 178, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(132, 226, 211, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(246, 241, 232, 0.8), rgba(255, 255, 255, 0.6));
}

.spotlight-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-kicker {
  fill: #bf5a46;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagram-kicker-light {
  fill: #ffebde;
}

.diagram-label {
  fill: #31405f;
  font-size: 16px;
  font-weight: 600;
}

.diagram-label-light {
  fill: #d8e4ff;
  font-size: 16px;
  font-weight: 600;
  font-family: "Sora", sans-serif;
}

.diagram-node {
  fill: #273759;
  font-size: 15px;
  font-weight: 600;
}

.diagram-small {
  fill: #4d5a77;
  font-size: 13px;
  font-weight: 600;
}

.community-shot {
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(24, 35, 60, 0.12);
  background: #fbf6ee;
  box-shadow: 0 24px 48px rgba(30, 39, 69, 0.12);
}

.browser-dots {
  display: flex;
  gap: 0.42rem;
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid rgba(24, 35, 60, 0.08);
}

.browser-dots span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(24, 35, 60, 0.16);
}

.browser-dots span:nth-child(1) {
  background: rgba(217, 103, 79, 0.5);
}

.browser-dots span:nth-child(2) {
  background: rgba(198, 148, 51, 0.5);
}

.browser-dots span:nth-child(3) {
  background: rgba(44, 140, 129, 0.5);
}

.workshop-illustration {
  width: 100%;
  height: 34rem;
  display: block;
}

.survey-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  gap: 1.25rem;
  margin-top: 2.1rem;
  padding: 1.4rem;
}

.survey-status {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.survey-grid span {
  display: grid;
  place-items: center;
  min-height: 5.6rem;
  padding: 0.8rem;
  border-radius: 20px;
  border: 1px dashed rgba(24, 35, 60, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 245, 236, 0.7));
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 0 0 3rem;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 35, 60, 0.08);
}

.footer-meta + .footer-meta {
  margin-top: 0.55rem;
  padding-top: 0;
  border-top: 0;
}

.footer-meta a {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero-body,
  .spotlight-card,
  .community-card,
  .spotlight-card.reverse {
    grid-template-columns: 1fr;
  }

  .spotlight-card.reverse .spotlight-copy,
  .spotlight-card.reverse .spotlight-visual {
    order: initial;
  }

  .workshop-illustration {
    height: 28rem;
  }

  #hitemotion-card .spotlight-copy h3,
  #moca-card .spotlight-copy h3 {
    white-space: normal;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }

  #thor-card .spotlight-header h3,
  #moca-card .spotlight-header h3 {
    white-space: normal;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
  }

  #hitemotion-card .spotlight-visual,
  #moca-card .spotlight-visual {
    margin-top: 0;
  }

  #thor-card .spotlight-header,
  #thor-card .spotlight-copy,
  #thor-card .spotlight-visual,
  #moca-card .spotlight-header,
  #moca-card .spotlight-copy,
  #moca-card .spotlight-visual {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .thread-map,
  .hero-stats,
  .survey-card {
    grid-template-columns: 1fr;
  }

  .thread-map::before {
    display: none;
  }

  .thread-card.emphasized {
    transform: none;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 4rem 0;
  }

  .section-shell {
    border-radius: 28px;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-header {
    width: min(calc(100% - 1rem), var(--container));
    margin-top: 0.6rem;
    padding: 0.9rem;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
  }

  .hero-title-banner {
    margin-bottom: 1.35rem;
    white-space: normal;
    font-size: clamp(1.35rem, 5.4vw, 2rem);
  }

  .thread-heading {
    white-space: normal;
    font-size: clamp(2rem, 4vw, 3.3rem);
  }


  .visual-card {
    padding: 0.65rem;
    border-radius: 26px;
  }

  .floating-chip {
    font-size: 0.72rem;
  }

  .workshop-illustration {
    height: 22rem;
  }

  .spotlight-card,
  .community-card,
  .survey-card {
    padding: 1rem;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
