/* =========================================================
   DeallaeD — pastel story site
   One palette: soft pastels for surfaces, deep navy for text and
   buttons. Every chapter has its own colour; every service has one.
   ========================================================= */

:root {
  --ink: #1D2145;
  --ink-soft: #4A5078;
  --cream: #FFFAF3;

  --sky: #DCEBFF;
  --sky-d: #9CCBFF;
  --lav: #E6E0FF;
  --lav-d: #B9A9FF;
  --peach: #FFE3D6;
  --peach-d: #FFB59A;
  --mint: #D5F5E8;
  --mint-d: #8FE0C0;
  --butter: #FFF1BF;
  --butter-d: #FFD966;
  --pink: #FFDCEA;
  --pink-d: #FFA9C9;

  --bg-sky: #EAF3FF;
  --bg-peach: #FFF0E7;
  --bg-lav: #F1ECFF;
  --bg-butter: #FFF7DB;
  --bg-mint: #E8F8F0;
  --bg-pink: #FFEBF3;

  --font-head: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 24px 50px -24px rgba(29, 33, 69, 0.28);
  --shadow-sm: 0 10px 24px -12px rgba(29, 33, 69, 0.22);

  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
  text-transform: capitalize;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.container {
  width: min(var(--maxw), 100% - (var(--gutter) * 2));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.container.narrow {
  width: min(840px, 100% - (var(--gutter) * 2));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 10px;
}

[hidden] {
  display: none !important;
}

.muted {
  color: var(--ink-soft);
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 22px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-inline: auto;
}

/* ---------- Progress bar ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  z-index: 250;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--butter-d), var(--peach-d), var(--pink-d), var(--lav-d), var(--sky-d), var(--mint-d));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .25s;
}

.btn i {
  transition: transform .25s;
  font-size: .85em;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -12px rgba(29, 33, 69, 0.6);
}

.btn-primary:hover i {
  transform: translateY(3px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-soft {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn-soft:hover {
  background: var(--butter);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 13px 22px;
  font-size: .92rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 200;
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:not(.btn) {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
  background: var(--lav);
  color: var(--ink);
}

.nav-cta {
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lav);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Chapter rail ---------- */
.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail a {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(29, 33, 69, 0.16);
  transition: transform .3s, background .3s;
}

.rail a span {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.rail a:hover span {
  opacity: 1;
  transform: translateY(-50%);
}

.rail a.active {
  background: var(--c);
  transform: scale(1.5);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
}

/* ---------- Shared bits ---------- */
.chapter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 8px;
  border-radius: 999px;
  background: var(--chip, #fff);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 22px;
}

.chapter b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
}

.chapter:not(:has(b)) {
  padding-left: 18px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF7F9E;
  box-shadow: 0 0 0 0 rgba(255, 127, 158, 0.6);
  animation: live 2s ease-out infinite;
  flex: none;
}

@keyframes live {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 127, 158, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 127, 158, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 127, 158, 0);
  }
}

/* Highlighter marker that draws itself */
.mk {
  --mk: var(--lav-d);
  background-image: linear-gradient(var(--mk), var(--mk));
  background-repeat: no-repeat;
  background-size: 0% .44em;
  background-position: 0 90%;
  padding: 0 .08em;
  margin: 0 -.08em;
  transition: background-size .9s .35s cubic-bezier(.2, .7, .2, 1);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.mk.in {
  background-size: 100% .44em;
}

.mk-lav {
  --mk: #D8CFFF;
}

.mk-sky {
  --mk: #BDDCFF;
}

.mk-peach {
  --mk: #FFCDB8;
}

.mk-mint {
  --mk: #A9ECCF;
}

.mk-pink {
  --mk: #FFC3DA;
}

.mk-butter {
  --mk: #FFE58A;
}

.mk-white {
  --mk: rgba(255, 255, 255, 0.6);
}

/* Decorative shapes + blobs */
.deco {
  position: absolute;
  width: var(--s, 28px);
  height: var(--s, 28px);
  z-index: 0;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(14deg);
  }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .75;
  pointer-events: none;
  z-index: 0;
  animation: blob 20s ease-in-out infinite alternate;
}

@keyframes blob {
  to {
    transform: translate(40px, -30px) scale(1.12);
  }
}

/* Reveal on scroll */
.js .rv {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}

.js .rv-scale {
  opacity: 0;
  transform: scale(.92) translateY(24px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}

.js .rv.in,
.js .rv-scale.in {
  opacity: 1;
  transform: none;
}

.center-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: 160px 0 90px;
  background: var(--cream);
}

.hero .b1 {
  width: 520px;
  height: 520px;
  background: var(--lav-d);
  top: -160px;
  left: -140px;
}

.hero .b2 {
  width: 480px;
  height: 480px;
  background: var(--peach-d);
  top: 40px;
  right: -160px;
  animation-delay: -6s;
}

.hero .b3 {
  width: 420px;
  height: 420px;
  background: var(--mint-d);
  bottom: -180px;
  left: 38%;
  animation-delay: -11s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.hero-sub {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.check-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.check-row i {
  color: #3BBF93;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  display: block;
}

.hero-in {
  animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-copy> :nth-child(1) {
  animation-delay: .05s;
}

.hero-copy> :nth-child(2) {
  animation-delay: .15s;
}

.hero-copy> :nth-child(3) {
  animation-delay: .27s;
}

.hero-copy> :nth-child(4) {
  animation-delay: .38s;
}

.hero-copy> :nth-child(5) {
  animation-delay: .48s;
}

.hero-visual {
  animation-delay: .3s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ticker span {
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--t);
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

/* ---------- Chapter sections ---------- */
.chapter-section {
  position: relative;
  overflow: clip;
  padding: 150px 0 140px;
}

.chapter-section::before,
.moves::before,
.logos::before,
.faq-section::before,
.cta::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--prev, var(--cream));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V26C1200 78 960 0 720 28C480 56 240 76 0 26Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V26C1200 78 960 0 720 28C480 56 240 76 0 26Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.ch-builder {
  background: var(--bg-sky);
  --prev: var(--ink);
}

.ch-gap {
  background: var(--bg-peach);
  --prev: var(--bg-sky);
}

.ch-guide {
  background: var(--bg-lav);
  --prev: var(--bg-peach);
}

.moves {
  position: relative;
  padding: 150px 0 120px;
  background: var(--cream);
  --prev: var(--bg-lav);
}

.ch-signals {
  background: var(--bg-butter);
  --prev: var(--cream);
}

.ch-cast {
  background: var(--bg-mint);
  --prev: var(--bg-butter);
}

.ch-path {
  background: var(--bg-pink);
  --prev: var(--bg-mint);
}

.ch-ending {
  background: var(--bg-sky);
  --prev: var(--bg-pink);
}

.logos {
  position: relative;
  background: #fff;
  padding: 110px 0 70px;
  --prev: var(--bg-sky);
}

.faq-section {
  position: relative;
  background: var(--cream);
  padding: 120px 0 130px;
  --prev: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.col-text .big {
  margin: 8px 0 22px;
}

.scene {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow);
}

.scene img {
  width: 100%;
  height: auto;
}

.narrate.big {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.narrate.scrub .w {
  color: rgba(29, 33, 69, 0.2);
  transition: color .35s;
}

.narrate.scrub .w.on {
  color: var(--ink);
}

/* Gap list */
.gap-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.gap-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
}

.gi {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--bg);
  font-size: 1.1rem;
}

.gap-list b {
  display: block;
  font-weight: 700;
}

.gap-list span:not(.gi) {
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.45;
  display: block;
}

/* Guide trio */
.guide-grid .col-text {
  padding-right: 10px;
}

.trio {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 26px;
  background: var(--bg);
  text-align: center;
  font-size: .92rem;
  min-width: 120px;
  box-shadow: var(--shadow-sm);
}

.trio-item i {
  font-size: 1.3rem;
}

.trio-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(29, 33, 69, 0.12));
}

.trio-us {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--butter), var(--pink), var(--lav));
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1.08);
  }

  50% {
    transform: scale(1.14);
  }
}

.trio-arrow {
  color: var(--ink-soft);
  animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(5px);
  }
}

/* ---------- Four moves (scrollytelling) ---------- */
.moves-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.moves-sticky {
  position: sticky;
  top: 104px;
  align-self: start;
}

.stage {
  --stage: var(--sky);
  position: relative;
  height: min(580px, calc(100vh - 140px));
  min-height: 440px;
  border-radius: 48px;
  padding: 26px 26px 22px;
  background: var(--stage);
  display: flex;
  flex-direction: column;
  transition: background-color .8s ease;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage[data-active="0"] {
  --stage: var(--sky);
}

.stage[data-active="1"] {
  --stage: var(--lav);
}

.stage[data-active="2"] {
  --stage: var(--peach);
}

.stage[data-active="3"] {
  --stage: var(--mint);
}

.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.stage-count {
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: .85rem;
}

.stage-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.stage-scenes {
  position: relative;
  flex: 1;
  margin: 6px 0;
}

.stage-scenes .s {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.92) translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

.stage-scenes .s.active {
  opacity: 1;
  transform: none;
}

.stage-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.stage-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(29, 33, 69, 0.2);
  transition: width .4s, background .4s;
}

.stage-dots i.on {
  width: 32px;
  background: var(--ink);
}

.moves-steps {
  display: grid;
}

.move {
  min-height: min(86vh, 700px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
  opacity: .38;
  transition: opacity .5s;
}

.move.active {
  opacity: 1;
}

.move[data-move="0"] {
  --c: var(--sky-d);
}

.move[data-move="1"] {
  --c: var(--lav-d);
}

.move[data-move="2"] {
  --c: var(--peach-d);
}

.move[data-move="3"] {
  --c: var(--mint-d);
}

.move h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.move-story {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 46ch;
}

.move-art {
  display: none;
}

.ticks {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.ticks li {
  position: relative;
  padding-left: 36px;
  font-weight: 500;
}

.ticks li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c, var(--lav-d));
  color: var(--ink);
  font-size: .65rem;
}

.result {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 20px;
  border-radius: 18px;
  background: var(--bg);
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- Signals ---------- */
.flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 8px 0 22px;
}

.flow-chips li {
  position: relative;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  font-weight: 700;
  font-size: .92rem;
}

.flow-chips li:not(:last-child)::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .7rem;
  color: var(--ink-soft);
}

.feed {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: 0 34px 60px -26px rgba(29, 33, 69, 0.55);
}

.feed-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 700;
}

.feed-top .live-dot {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.feed-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: .78rem;
}

.feed-list {
  display: grid;
  gap: 12px;
}

.feed-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  animation: feedIn 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes feedIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }

  7% {
    opacity: 1;
    transform: none;
  }

  82% {
    opacity: 1;
    transform: none;
  }

  94%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.fi {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
}

.feed-list b {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}

.feed-list small {
  color: rgba(255, 255, 255, 0.65);
  font-size: .8rem;
}

.feed-list em {
  margin-left: auto;
  flex: none;
  font-style: normal;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
}

/* ---------- Cast ---------- */
.cast-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  max-width: 920px;
  margin: 0 auto 56px;
}

.cast-label {
  font-weight: 700;
  margin-right: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bg);
  font-weight: 600;
  font-size: .92rem;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cast-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 32px;
  background: var(--bg);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}

.cast-card:hover {
  transform: translateY(-8px) rotate(-.8deg);
  box-shadow: var(--shadow);
}

.cc-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: #fff;
  font-size: 1.3rem;
}

.cast-card h3 {
  font-size: 1.2rem;
  margin-top: 6px;
}

.who {
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-soft);
}

.care {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  font-size: .9rem;
  line-height: 1.5;
}

.care b {
  display: block;
  font-size: .78rem;
  margin-bottom: 2px;
}

/* ---------- Path ---------- */
.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.path::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 34px;
  right: 34px;
  height: 0;
  border-top: 4px dashed rgba(29, 33, 69, 0.22);
}

.pstep {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pnum {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg);
  border: 5px solid var(--bg-pink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.pstep h3 {
  font-size: 1.15rem;
}

.pstep p {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 22ch;
}

/* ---------- Ending ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 40px;
}

.cal-card,
.brief-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cal-top h3 {
  font-size: 1.4rem;
}

.sample-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--butter);
  font-size: .8rem;
  font-weight: 700;
}

.cal-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 28px;
  background: var(--bg-lav);
}

.cal-col {
  display: grid;
  gap: 10px;
  grid-template-rows: auto repeat(3, 1fr);
}

.cal-day {
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.slot {
  min-height: 70px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
}

.slot.booked {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.slot.booked b {
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.25;
}

.slot.booked span {
  font-size: .72rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.js .cal-card .slot.booked {
  transform: scale(.6);
  opacity: 0;
}

.js .cal-card.in .slot.booked {
  animation: slotPop .7s cubic-bezier(.2, .9, .3, 1.3) both;
}

.cal-col:nth-child(1) .booked {
  animation-delay: .3s !important;
}

.cal-col:nth-child(2) .booked {
  animation-delay: .5s !important;
}

.cal-col:nth-child(3) .booked {
  animation-delay: .7s !important;
}

.cal-col:nth-child(4) .booked {
  animation-delay: .9s !important;
}

.cal-col:nth-child(5) .booked {
  animation-delay: 1.1s !important;
}

@keyframes slotPop {
  from {
    transform: scale(.6);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cal-foot {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
}

.cal-foot i {
  color: #3BBF93;
  margin-right: 8px;
}

.brief-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bh-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--peach);
  font-size: 1.2rem;
}

.brief-head h3 {
  font-size: 1.15rem;
}

.brief-head p {
  color: var(--ink-soft);
  font-size: .9rem;
}

.status-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mint);
  font-size: .8rem;
  font-weight: 700;
}

.brief-list {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 26px;
  background: var(--bg-pink);
}

.brief-list dt {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.brief-list dd {
  font-weight: 600;
  line-height: 1.45;
}

.sample-note {
  margin-top: auto;
  font-size: .85rem;
  color: var(--ink-soft);
}

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

.stat {
  padding: 32px 20px;
  border-radius: 32px;
  background: var(--bg);
  text-align: center;
  transition: transform .3s;
}

.stat:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat-label {
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Logos / Events ---------- */
.logos-label {
  text-align: center;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

.marquee {
  overflow: hidden;
  padding: 16px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-logo 52s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-logo {
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

.logo-tile {
  flex: none;
  width: 220px;
  height: 110px;
  display: grid;
  place-items: center;
  padding: 14px 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 10px 28px -12px rgba(29, 33, 69, 0.22), inset 0 0 0 2px var(--lav);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s;
}

.logo-tile:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px -14px rgba(29, 33, 69, 0.35), inset 0 0 0 2px var(--lav-d);
}

.logo-tile img {
  max-height: 72px;
  max-width: 175px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: none;
  opacity: 1;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  box-shadow: 0 8px 22px -14px rgba(29, 33, 69, 0.3), inset 0 0 0 2px transparent;
  transition: box-shadow .3s;
}

.faq-item[open] {
  box-shadow: 0 14px 30px -16px rgba(29, 33, 69, 0.35), inset 0 0 0 2px var(--c);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 26px;
  text-transform: capitalize;
}

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

.faq-item summary::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
}

.faq-item summary::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  font-size: .72rem;
  transition: transform .3s;
}

.faq-item[open] summary::after {
  content: "\f068";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 24px 56px;
  color: var(--ink-soft);
  max-width: 66ch;
}

/* ---------- CTA / form ---------- */
.cta {
  position: relative;
  overflow: clip;
  padding: 150px 0 120px;
  background: linear-gradient(135deg, #DDD2FF 0%, #FFD7C6 48%, #BFEFD9 100%);
  --prev: var(--cream);
}

.cta .b4 {
  width: 480px;
  height: 480px;
  background: var(--pink-d);
  top: -140px;
  right: -120px;
  opacity: .6;
}

.cta .b5 {
  width: 420px;
  height: 420px;
  background: var(--butter-d);
  bottom: -160px;
  left: -100px;
  opacity: .6;
  animation-delay: -8s;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.assure {
  display: grid;
  gap: 18px;
  margin: 10px 0 30px;
}

.assure li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--bg);
}

.assure b {
  display: block;
}

.assure span:not(.ai) {
  font-size: .93rem;
  color: var(--ink-soft);
}

.offices {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.office {
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
}

.office h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.office p {
  font-size: .93rem;
  color: var(--ink-soft);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  width: fit-content;
}

.contact-links a:hover {
  text-decoration: underline;
}

.form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: 0 40px 70px -34px rgba(29, 33, 69, 0.5);
}

.form-title {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-intro {
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-size: .98rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 18px;
  background: var(--bg-lav);
  box-shadow: inset 0 0 0 2px transparent;
  font-size: .98rem;
  transition: box-shadow .2s, background .2s;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6E7499;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231D2145' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.field select:invalid {
  color: #6E7499;
}

.field input.invalid,
.field select.invalid {
  box-shadow: inset 0 0 0 2px #FF7F9E;
}

.form-note {
  margin-top: 14px;
  font-size: .83rem;
  color: var(--ink-soft);
  text-align: center;
}

.form-note i {
  margin-right: 6px;
}

.form-error {
  margin-top: 14px;
  color: #C2365A;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 30px 8px;
}

.form-success i {
  font-size: 2.8rem;
  color: #3BBF93;
  margin-bottom: 14px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 105px;
  width: auto;
  margin-bottom: 18px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  object-fit: contain;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: .95rem;
  max-width: 38ch;
  margin-bottom: 20px;
}

.social-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lav);
  color: var(--ink);
  transition: transform .25s;
}

.social-btn:hover {
  transform: translateY(-3px) rotate(-6deg);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: .95rem;
  width: fit-content;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--butter-d);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: .9rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-btn {
  color: rgba(255, 255, 255, 0.65);
  font-size: .9rem;
}

.link-btn:hover {
  color: var(--butter-d);
  text-decoration: underline;
}

/* ---------- Scroll top + modals ---------- */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(29, 33, 69, 0.5);
  backdrop-filter: blur(4px);
}

.legal-modal-card {
  width: min(640px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}

.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px 8px;
}

.legal-modal-header h3 {
  font-size: 1.4rem;
}

.legal-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lav);
  font-size: 1.5rem;
  line-height: 1;
}

.legal-modal-body {
  padding: 8px 32px 32px;
}

.legal-modal-body h4 {
  margin: 20px 0 6px;
  font-size: 1rem;
}

.legal-modal-body p {
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .rail {
    display: none;
  }
}

@media (max-width: 1100px) {
  .two-col {
    gap: 48px;
  }

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

  .path {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .path::before {
    display: none;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: #fff;
    border-radius: 30px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a:not(.btn) {
    padding: 14px 18px;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-grid,
  .two-col,
  .cta-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    max-width: 480px;
  }

  .chapter-section {
    padding: 120px 0 100px;
  }

  .moves-sticky {
    display: none;
  }

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

  .move {
    min-height: 0;
    opacity: 1;
    padding: 30px 0 50px;
  }

  .move-art {
    display: block;
    width: 100%;
    margin-bottom: 26px;
    padding: 22px;
    border-radius: 36px;
    background: var(--bg-sky);
  }

  .move[data-move="1"] .move-art {
    background: var(--lav);
  }

  .move[data-move="2"] .move-art {
    background: var(--peach);
  }

  .move[data-move="3"] .move-art {
    background: var(--mint);
  }

  .move[data-move="0"] .move-art {
    background: var(--sky);
  }

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

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

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }

  .btn {
    width: 100%;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cast-grid,
  .path {
    grid-template-columns: 1fr;
  }

  .path {
    gap: 26px;
  }

  .pstep {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 18px;
  }

  .pstep .pnum {
    margin: 0;
  }

  .pstep h3 {
    flex: 1;
  }

  .pstep p {
    flex-basis: 100%;
    max-width: none;
    padding-left: 88px;
    margin-top: -6px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 28px 22px;
  }

  .cal-card,
  .brief-card {
    padding: 24px 18px;
  }

  .cal-grid {
    gap: 6px;
    padding: 12px 8px;
  }

  .slot {
    min-height: 58px;
    border-radius: 12px;
  }

  .slot.booked {
    padding: 6px 4px 6px 7px;
  }

  .slot.booked b {
    font-size: .62rem;
  }

  .slot.booked span {
    font-size: .6rem;
  }

  .cal-day {
    font-size: .7rem;
  }

  .stats {
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-answer {
    padding-left: 26px;
  }

  .feed {
    padding: 20px 16px;
  }

  .feed-list li {
    flex-wrap: wrap;
  }

  .feed-list em {
    margin-left: 58px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js .rv,
  .js .rv-scale,
  .js .cal-card .slot.booked {
    opacity: 1;
    transform: none;
  }

  .mk {
    background-size: 100% .44em;
  }

  .ticker-track,
  .marquee-track {
    animation: none;
  }

  .feed-list li {
    animation: none;
    opacity: 1;
  }
}