:root {
  --ink: #10131b;
  --muted: #5e6470;
  --paper: #fffaf2;
  --paper-deep: #fff3df;
  --surface: rgba(255, 255, 255, 0.9);
  --orange: #f58220;
  --orange-dark: #d95b0b;
  --gold: #e8a019;
  --green: #2fae68;
  --pink: #ef4f7b;
  --blue: #2f7fd8;
  --purple: #8a43d3;
  --teal: #0ca7a2;
  --shadow: 0 24px 70px rgba(72, 43, 10, 0.12);
  --soft-shadow: 0 14px 38px rgba(72, 43, 10, 0.09);
  --border: rgba(121, 83, 39, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(245, 130, 32, 0.09), transparent 25rem),
    radial-gradient(circle at 84% 21%, rgba(239, 79, 123, 0.06), transparent 30rem),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 48%, #fffaf2 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.route-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
}

.route-backdrop svg {
  width: 100%;
  height: 100%;
}

.route-backdrop path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 6 12;
}

.route-backdrop circle {
  fill: var(--paper);
  stroke: var(--orange);
  stroke-width: 2;
}

.site-header {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 88px;
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
}

.chalo-wordmark {
  position: relative;
  display: inline-block;
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1.8px;
}

.chalo-mark {
  position: absolute;
  top: -4px;
  right: -7px;
  width: 9px;
  height: 9px;
  border-top: 4px solid var(--orange);
  border-right: 4px solid var(--orange);
}

.brand-divider {
  width: 1px;
  height: 29px;
  background: rgba(16, 19, 27, 0.25);
}

.brand-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555b65;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  color: #313641;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--orange-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-self: end;
}

.live-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(30, 43, 44, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 7px 24px rgba(44, 36, 28, 0.06);
  color: #5b616b;
  font-size: 12px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.live-count strong {
  color: var(--ink);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 174, 104, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
.wall-filters button:focus-visible,
.text-button:focus-visible,
.faq-grid summary:focus-visible {
  outline: 3px solid rgba(47, 127, 216, 0.28);
  outline-offset: 3px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #ff8e23, #ff650f);
  box-shadow: 0 12px 26px rgba(245, 130, 32, 0.28);
}

.button-primary:hover:not(:disabled) {
  box-shadow: 0 16px 34px rgba(245, 130, 32, 0.36);
}

.button-secondary {
  color: #3b3e44;
  background: #fff9ef;
  border: 1px solid rgba(122, 85, 43, 0.18);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
}

.button-wide {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, 0.78fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: start;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 26px auto 0;
}

.hero-story {
  min-width: 0;
}

.campaign-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(245, 130, 32, 0.26);
  border-radius: 999px;
  color: #985019;
  background: rgba(255, 247, 233, 0.83);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-kicker svg {
  width: 24px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.2;
}

.hero-section h1 {
  max-width: 760px;
  margin: 19px 0 16px;
  font-size: clamp(58px, 6.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.072em;
}

.hero-section h1 span {
  display: block;
  color: var(--orange);
}

.hero-copy {
  max-width: 690px;
  margin: 0 0 32px;
  color: #4f5662;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.58;
}

.artwork-card {
  overflow: hidden;
  border: 1px solid rgba(118, 72, 18, 0.11);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.96);
  box-shadow: var(--shadow);
}

.artwork-canvas {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
  min-height: 540px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 50% 50%, #fff8e9 0%, #fff1d6 63%, #ffe9c8 100%);
}

.artwork-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 8px 8px, rgba(149, 91, 20, 0.18) 0.8px, transparent 0.9px),
    linear-gradient(45deg, transparent 49.7%, rgba(245, 130, 32, 0.08) 50%, transparent 50.3%);
  background-size: 16px 16px, 36px 36px;
  pointer-events: none;
}

.paint-layer,
.brush-painting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.paint-layer {
  z-index: 2;
  display: block;
  pointer-events: none;
}

.brush-painting {
  z-index: 3;
  pointer-events: none;
}

.ambient-washes path {
  fill: none;
  stroke: #d78a31;
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.08;
}

.paint-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 380ms ease;
}

.paint-stroke.is-visible {
  opacity: var(--paint-opacity, 0.84);
}

.paint-stroke.is-new {
  filter: url(#soft-glow);
}

.paint-stroke-bristle {
  fill: none;
  stroke-linecap: round;
  opacity: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.paint-stroke-bristle.is-visible {
  opacity: 0.27;
}

.wish-fleck {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.2, .8, .2, 1);
}

.wish-fleck.is-visible {
  opacity: 0.9;
  transform: scale(1);
}

.wish-fleck:not(.is-visible) {
  transform: scale(0.2);
}

.paint-splash {
  opacity: 0;
  transition: opacity 260ms ease;
}

.paint-splash.is-visible {
  opacity: 0.5;
}

.mandala-guide {
  fill: none;
  stroke: #d99c46;
  stroke-width: 1.5;
  stroke-dasharray: 3 13;
  opacity: 0.22;
}

.mandala-light {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(.2, .85, .2, 1);
  filter: url(#soft-glow);
}

.mandala-light.is-visible {
  opacity: 0.96;
  transform: scale(1);
}

.mandala-light:not(.is-visible) {
  transform: scale(0.15);
}

.live-brush {
  opacity: 0.94;
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: 20px 18px;
  transition: opacity 250ms ease;
}

.live-brush.is-painting {
  opacity: 1;
  filter: drop-shadow(0 8px 10px rgba(64, 32, 8, 0.23));
}

.brush-shadow {
  fill: rgba(71, 37, 15, 0.16);
  filter: blur(5px);
}

.wish-legend {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 24px;
  display: grid;
  gap: 16px;
  width: 102px;
  transform: translateY(-50%);
}

.wish-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #48505a;
  font-size: 12px;
  font-weight: 750;
}

.wish-legend i,
.wall-filters i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

[data-category="health"] { --category: var(--green); }
[data-category="family"] { --category: var(--pink); }
[data-category="growth"] { --category: var(--blue); }
[data-category="gratitude"] { --category: var(--orange); }
[data-category="new-beginning"] { --category: var(--purple); }
[data-category="community"] { --category: var(--teal); }

.wish-legend [data-category],
.wall-filters [data-filter="health"],
.wall-card[data-category="health"] { color: var(--green); }
.wish-legend [data-category="family"],
.wall-filters [data-filter="family"],
.wall-card[data-category="family"] { color: var(--pink); }
.wish-legend [data-category="growth"],
.wall-filters [data-filter="growth"],
.wall-card[data-category="growth"] { color: var(--blue); }
.wish-legend [data-category="gratitude"],
.wall-filters [data-filter="gratitude"],
.wall-card[data-category="gratitude"] { color: var(--orange); }
.wish-legend [data-category="new-beginning"],
.wall-filters [data-filter="new-beginning"],
.wall-card[data-category="new-beginning"] { color: var(--purple); }
.wish-legend [data-category="community"],
.wall-filters [data-filter="community"],
.wall-card[data-category="community"] { color: var(--teal); }

.completion-badge {
  position: absolute;
  z-index: 8;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(239, 164, 27, 0.35);
  border-radius: 999px;
  color: #8b4a10;
  background: rgba(255, 250, 232, 0.92);
  box-shadow: 0 11px 26px rgba(121, 71, 12, 0.14);
  backdrop-filter: blur(10px);
}

.completion-badge strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #f9b72d, #ef7119);
}

.completion-badge span {
  font-size: 12px;
  font-weight: 850;
}

.artwork-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  padding: 22px 30px 26px;
  background: rgba(255, 253, 249, 0.96);
}

.section-label {
  margin: 0;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artwork-progress h2 {
  margin: 2px 0 0;
  font-size: 17px;
  letter-spacing: -0.025em;
}

#progress-percent {
  align-self: end;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.progress-track {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 7px;
  margin: 7px 0 4px;
  border-radius: 999px;
  background: #e9e4dc;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7321 0%, #f4a51e 32%, #48ae72 66%, #2f7fd8 100%);
  transition: width 700ms cubic-bezier(.2, .8, .2, 1);
}

.artwork-progress > p:last-child {
  grid-column: 1 / -1;
  margin: 0;
  color: #747984;
  font-size: 12px;
}

.wish-panel {
  position: sticky;
  top: 20px;
  overflow: hidden;
  min-width: 0;
  margin-top: 52px;
  padding: 32px;
  border: 1px solid rgba(104, 70, 29, 0.13);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #ff9a25 52%, #ff6410);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-topline > span:first-child {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3f1ed;
  color: #555b62;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-prompt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-prompt i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.wish-panel h2 {
  margin: 0;
  font-size: clamp(29px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.048em;
}

.panel-intro {
  margin: 8px 0 25px;
  color: #646a74;
  font-size: 14px;
}

.category-fieldset {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.category-fieldset legend,
.field-label,
.two-column-fields label,
.select-field {
  display: block;
  margin-bottom: 8px;
  color: #30343c;
  font-size: 12px;
  font-weight: 850;
}

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

.category-grid label {
  min-width: 0;
  cursor: pointer;
}

.category-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--category) 34%, #ddd4ca);
  border-radius: 11px;
  color: var(--category);
  background: color-mix(in srgb, var(--category) 5%, white);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.category-grid span i {
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.category-grid input:checked + span {
  background: color-mix(in srgb, var(--category) 12%, white);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--category) 22%, transparent);
  transform: translateY(-1px);
}

.category-grid input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--category) 25%, transparent);
  outline-offset: 2px;
}

.category-grid label[data-category="health"] { --category: var(--green); }
.category-grid label[data-category="family"] { --category: var(--pink); }
.category-grid label[data-category="growth"] { --category: var(--blue); }
.category-grid label[data-category="gratitude"] { --category: var(--orange); }
.category-grid label[data-category="new-beginning"] { --category: var(--purple); }
.category-grid label[data-category="community"] { --category: var(--teal); }

.character-count {
  float: right;
  color: #8a8e96;
  font-weight: 600;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid rgba(85, 75, 64, 0.2);
  border-radius: 12px;
  color: var(--ink);
  background: #fffdfa;
  box-shadow: inset 0 1px 1px rgba(67, 44, 20, 0.02);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

textarea:focus,
input:focus,
select:focus {
  border-color: rgba(245, 130, 32, 0.65);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.1);
}

textarea {
  min-height: 148px;
  padding: 15px;
  resize: vertical;
  line-height: 1.55;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

.field-help {
  margin: 8px 0 18px;
  color: #848992;
  font-size: 11px;
}

.two-column-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 17px;
}

.two-column-fields label span {
  float: right;
  color: #92969d;
  font-size: 9px;
  font-weight: 600;
}

.select-field {
  margin-bottom: 18px;
}

.select-field select {
  margin-top: 8px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8e8e8e 50%),
    linear-gradient(135deg, #8e8e8e 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.share-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 0 0 20px;
  padding: 13px;
  border: 1px solid rgba(103, 74, 41, 0.13);
  border-radius: 13px;
  background: #fffaf2;
  cursor: pointer;
}

.share-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-control {
  position: relative;
  width: 40px;
  height: 23px;
  margin-top: 2px;
  border-radius: 999px;
  background: #cac7c1;
  transition: background 180ms ease;
}

.toggle-control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease;
}

.share-toggle input:checked + .toggle-control {
  background: var(--orange);
}

.share-toggle input:checked + .toggle-control::after {
  transform: translateX(17px);
}

.share-toggle input:focus-visible + .toggle-control {
  outline: 3px solid rgba(47, 127, 216, 0.25);
  outline-offset: 2px;
}

.share-toggle strong,
.share-toggle small {
  display: block;
}

.share-toggle strong {
  font-size: 11px;
}

.share-toggle small {
  margin-top: 2px;
  color: #858992;
  font-size: 9px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-error {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-radius: 9px;
  color: #9b2d29;
  background: #fff0ee;
  font-size: 11px;
}

.review-card {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--review-color, var(--orange)) 32%, #e5ddd4);
  border-radius: 18px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--review-color, var(--orange)) 8%, white), white);
}

.review-card[data-category="health"] { --review-color: var(--green); }
.review-card[data-category="family"] { --review-color: var(--pink); }
.review-card[data-category="growth"] { --review-color: var(--blue); }
.review-card[data-category="gratitude"] { --review-color: var(--orange); }
.review-card[data-category="new-beginning"] { --review-color: var(--purple); }
.review-card[data-category="community"] { --review-color: var(--teal); }

.review-category {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--review-color, var(--orange));
  background: color-mix(in srgb, var(--review-color, var(--orange)) 10%, white);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-card blockquote {
  margin: 18px 0;
  color: #23262c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.45;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.review-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #666b73;
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.button-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}

.receipt-view {
  text-align: center;
}

.receipt-burst {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 8px auto 20px;
  border-radius: 50%;
  color: white;
  background: radial-gradient(circle, #ffbb37 0 30%, #f58220 31% 58%, rgba(245, 130, 32, 0.15) 59% 100%);
  font-size: 28px;
  box-shadow: 0 15px 36px rgba(245, 130, 32, 0.24);
}

.receipt-position {
  margin: 14px 0;
  color: #5f6570;
  font-size: 14px;
}

.receipt-number {
  margin: 16px auto;
  color: var(--orange);
  font-size: 64px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.receipt-visibility {
  color: #7d828b;
  font-size: 11px;
}

.receipt-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.text-button {
  min-height: 38px;
  border: 0;
  color: var(--orange-dark);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.ornament-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 34px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.ornament-heading span {
  color: var(--gold);
  font-size: 11px;
}

.journey-section {
  position: relative;
  padding-top: 92px;
}

.journey-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  max-width: 1120px;
  margin: 0 auto;
}

.journey-grid article {
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  z-index: 4;
  top: 7px;
  left: calc(50% - 92px);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(245, 130, 32, 0.55);
  border-radius: 50%;
  color: var(--orange-dark);
  background: #fffaf1;
  font-size: 20px;
  font-weight: 900;
}

.step-art {
  position: relative;
  width: 188px;
  height: 142px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 191, 0.72), rgba(255, 248, 237, 0) 70%);
}

.step-write .pencil {
  position: absolute;
  top: 24px;
  left: 84px;
  width: 14px;
  height: 95px;
  border-radius: 9px 9px 4px 4px;
  background: linear-gradient(90deg, #e3812c, #ffb84a, #c65c1c);
  transform: rotate(38deg);
  box-shadow: 0 7px 12px rgba(104, 51, 10, 0.2);
}

.step-write i,
.step-paint i {
  position: absolute;
  height: 8px;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.step-write i:nth-of-type(1) { left: 25px; bottom: 29px; width: 94px; background: rgba(245, 130, 32, 0.42); }
.step-write i:nth-of-type(2) { left: 39px; bottom: 18px; width: 76px; background: rgba(239, 79, 123, 0.28); }
.step-write i:nth-of-type(3) { left: 64px; bottom: 10px; width: 55px; background: rgba(47, 127, 216, 0.22); }

.mini-brush {
  position: absolute;
  top: 22px;
  left: 92px;
  width: 13px;
  height: 96px;
  border-radius: 8px;
  background: linear-gradient(90deg, #804728, #c17a43, #64371f);
  transform: rotate(54deg);
  transform-origin: bottom;
}

.step-paint i:nth-of-type(1) { left: 8px; bottom: 42px; width: 126px; background: linear-gradient(90deg, transparent, var(--pink)); }
.step-paint i:nth-of-type(2) { left: 22px; bottom: 27px; width: 141px; background: linear-gradient(90deg, var(--orange), transparent); }
.step-paint i:nth-of-type(3) { left: 38px; bottom: 14px; width: 110px; background: linear-gradient(90deg, var(--teal), transparent); }

.step-mandala {
  background:
    radial-gradient(circle at center, #ffd75d 0 4px, transparent 5px),
    repeating-radial-gradient(circle at center, transparent 0 20px, rgba(245, 130, 32, 0.14) 21px 22px, transparent 23px 35px),
    conic-gradient(from 0deg, var(--green), var(--pink), var(--blue), var(--orange), var(--purple), var(--teal), var(--green));
  mask: radial-gradient(circle, transparent 0 18px, #000 19px 55px, transparent 56px);
  opacity: 0.67;
}

.journey-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.journey-grid p {
  max-width: 260px;
  margin: 0 auto;
  color: #6a707a;
  font-size: 13px;
}

.journey-route {
  position: absolute;
  top: 210px;
  left: 50%;
  display: flex;
  align-items: center;
  width: min(760px, 62vw);
  transform: translateX(-50%);
  color: var(--orange);
  opacity: 0.82;
}

.journey-route span {
  flex: 1;
  border-top: 2px dashed rgba(245, 130, 32, 0.55);
}

.journey-route svg {
  width: 34px;
  margin: 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.stages-section {
  padding-top: 105px;
}

.stage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stage-cards article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(139, 91, 37, 0.18);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--soft-shadow);
}

.stage-cards article::after {
  content: "";
  position: absolute;
  inset: auto -10px -15px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.12), transparent 68%);
}

.stage-cards .featured-stage {
  border-color: rgba(245, 130, 32, 0.65);
  box-shadow: 0 18px 44px rgba(245, 130, 32, 0.14);
}

.stage-cards article > div:first-child {
  position: relative;
  z-index: 2;
}

.stage-cards strong,
.stage-cards span {
  display: block;
}

.stage-cards strong {
  color: #985016;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stage-cards span {
  margin-top: 5px;
  color: #5d6168;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-cards p {
  position: relative;
  z-index: 2;
  max-width: 135px;
  margin: 12px 0 0;
  color: #5e646d;
  font-size: 12px;
}

.mini-stage {
  position: absolute;
  right: -22px;
  bottom: -50px;
  width: 215px;
  height: 215px;
  opacity: 0.9;
}

.wall-section {
  padding-top: 102px;
}

.wall-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: -8px auto 27px;
}

.wall-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, currentColor 22%, #ddd7ce);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 4%, white);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.wall-filters button[data-filter="all"] {
  color: #383c42;
}

.wall-filters button.active {
  color: white;
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.18);
}

.wall-filters button.active i {
  background: white;
}

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

.wall-card {
  min-height: 185px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, currentColor 35%, #e2ddd6);
  border-radius: 18px;
  background: linear-gradient(150deg, color-mix(in srgb, currentColor 7%, white), rgba(255, 255, 255, 0.94));
  box-shadow: 0 12px 34px color-mix(in srgb, currentColor 8%, transparent);
}

.wall-card .wall-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wall-card .wall-category::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.wall-wish {
  margin: 24px 0;
  color: #22252a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.5;
}

.wall-meta {
  margin: 0;
  color: #7c8189;
  font-size: 10px;
}

.wall-empty {
  margin: 0;
  padding: 30px;
  border: 1px dashed rgba(120, 81, 39, 0.24);
  border-radius: 18px;
  color: #757982;
  text-align: center;
}

.participation-section {
  display: grid;
  grid-template-columns: auto minmax(260px, 1.25fr) minmax(230px, 0.85fr) minmax(230px, 0.85fr);
  gap: 18px;
  align-items: center;
  margin-top: 90px;
  padding: 25px 28px;
  border: 1px solid rgba(130, 82, 26, 0.13);
  border-radius: 24px;
  background: linear-gradient(120deg, #fff0d3, #fff8ed 58%, #fff2db);
  box-shadow: var(--soft-shadow);
}

.participation-art {
  position: relative;
  display: flex;
  align-items: end;
  width: 185px;
  height: 110px;
}

.lotus-lamp {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 92px;
  height: 84px;
}

.lotus-lamp span {
  position: absolute;
  bottom: 8px;
  left: 18px;
  width: 62px;
  height: 24px;
  border-radius: 50% 50% 70% 70%;
  background: linear-gradient(180deg, #f5a32a, #a95a12);
}

.lotus-lamp span::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 17px;
  width: 10px;
  height: 31px;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(#fff7b7, #ff7b1d 65%);
  transform: rotate(11deg);
  box-shadow: 0 0 22px rgba(255, 163, 31, 0.7);
}

.lotus-lamp i {
  position: absolute;
  bottom: 25px;
  width: 42px;
  height: 56px;
  border-radius: 65% 35% 68% 32%;
  background: linear-gradient(180deg, #ff9eaf, #dd416d);
}

.lotus-lamp i:nth-child(2) { left: 8px; transform: rotate(-42deg); }
.lotus-lamp i:nth-child(3) { left: 28px; bottom: 30px; transform: rotate(-4deg); }
.lotus-lamp i:nth-child(4) { right: 2px; transform: rotate(43deg); }

.participation-bus {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 92px;
  fill: none;
  stroke: var(--orange-dark);
  stroke-width: 5;
}

.participation-copy h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.participation-copy p,
.participation-section article p {
  margin: 0;
  color: #6c7179;
  font-size: 12px;
}

.participation-section article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  min-height: 118px;
  padding: 17px;
  border: 1px solid rgba(245, 130, 32, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(245, 130, 32, 0.4);
  border-radius: 14px;
  color: var(--orange-dark);
  font-size: 21px;
}

.participation-section article h3 {
  margin: 1px 0 5px;
  font-size: 14px;
}

.participation-section article button,
.participation-section article a {
  display: inline-block;
  margin-top: 9px;
  padding: 0;
  border: 0;
  color: var(--orange-dark);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.faq-section {
  padding-top: 100px;
  padding-bottom: 75px;
}

.faq-section > h2 {
  margin: -18px 0 36px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.055em;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 1030px;
  margin: 0 auto;
}

.faq-grid details {
  padding: 0 20px;
  border: 1px solid rgba(116, 79, 38, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.faq-grid summary {
  position: relative;
  padding: 18px 28px 18px 0;
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 0;
  color: var(--orange);
  font-size: 24px;
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid details p {
  margin: -4px 0 19px;
  color: #6c7179;
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 90px;
  margin: 0 auto;
  border-top: 1px solid rgba(103, 76, 47, 0.14);
  color: #73777f;
  font-size: 11px;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-wordmark {
  color: var(--ink);
  font-size: 21px;
}

.mobile-add-button {
  display: none;
}

.paint-flight {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  opacity: 0;
  pointer-events: none;
}

.paint-flight span {
  display: block;
  width: 52px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 130, 32, 0), #f58220 38%, #ef4f7b 70%, rgba(239, 79, 123, 0));
  filter: blur(1px) drop-shadow(0 4px 5px rgba(245, 130, 32, 0.25));
  transform: rotate(-18deg);
}

.paint-flight.active {
  opacity: 1;
}

.petal-layer {
  position: fixed;
  z-index: 120;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  top: -40px;
  width: 14px;
  height: 25px;
  border-radius: 70% 30% 70% 30%;
  background: linear-gradient(180deg, #ffb13a, #ec5e43);
  animation: petal-fall 4.2s linear forwards;
}

@keyframes petal-fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.95; }
  100% { transform: translate3d(var(--drift, 50px), calc(100vh + 70px), 0) rotate(760deg); opacity: 0; }
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 48px));
  padding: 13px 17px;
  border-radius: 13px;
  color: white;
  background: #17191e;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
    gap: 30px;
  }

  .hero-section h1 {
    font-size: clamp(55px, 7vw, 76px);
  }

  .wish-panel {
    padding: 25px;
  }

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

  .artwork-canvas {
    min-height: 500px;
  }

  .participation-section {
    grid-template-columns: auto 1fr 1fr;
  }

  .participation-section > article:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .site-header,
  .hero-section,
  .section-shell,
  .site-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 76px;
  }

  .live-count span:last-child {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-story {
    display: contents;
  }

  .campaign-kicker,
  .hero-section h1,
  .hero-copy {
    grid-column: 1;
  }

  .artwork-card {
    grid-row: 4;
  }

  .wish-panel {
    position: relative;
    top: auto;
    grid-row: 5;
    margin-top: 0;
  }

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

  .journey-grid {
    gap: 24px;
  }

  .journey-route {
    width: 57vw;
  }

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

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

  .participation-section {
    grid-template-columns: auto 1fr;
  }

  .participation-section article,
  .participation-section > article:last-child {
    grid-column: auto;
  }

  .participation-section article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    min-height: 68px;
  }

  .chalo-wordmark {
    font-size: 22px;
  }

  .brand-divider,
  .brand-subtitle,
  .header-actions .button {
    display: none;
  }

  .live-count {
    min-height: 36px;
    padding: 0 11px;
  }

  .hero-section h1 {
    margin-top: 15px;
    font-size: clamp(51px, 16vw, 67px);
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .artwork-card {
    border-radius: 22px;
  }

  .artwork-canvas {
    aspect-ratio: 0.96 / 1;
    min-height: 430px;
  }

  .wish-legend {
    top: auto;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    gap: 6px;
    width: auto;
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

  .wish-legend::-webkit-scrollbar {
    display: none;
  }

  .wish-legend span {
    flex: 0 0 auto;
    gap: 5px;
    padding: 5px 7px;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    backdrop-filter: blur(8px);
  }

  .wish-legend i {
    width: 6px;
    height: 6px;
    box-shadow: none;
  }

  .paint-layer,
  .brush-painting {
    transform: scale(1.08) translateY(-9px);
  }

  .artwork-progress {
    padding: 18px 19px 22px;
  }

  #progress-percent {
    font-size: 23px;
  }

  .wish-panel {
    padding: 23px 18px;
    border-radius: 22px;
  }

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

  .category-grid span {
    min-height: 45px;
    font-size: 10px;
  }

  .two-column-fields {
    grid-template-columns: 1fr;
  }

  .button-row {
    grid-template-columns: 1fr;
  }

  .journey-section,
  .stages-section,
  .wall-section,
  .faq-section {
    padding-top: 78px;
  }

  .ornament-heading {
    margin-bottom: 27px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .journey-route {
    display: none;
  }

  .step-number {
    left: calc(50% - 100px);
  }

  .stage-cards {
    display: flex;
    gap: 14px;
    width: calc(100vw - 16px);
    margin-left: -8px;
    padding: 5px 16px 22px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .stage-cards article {
    flex: 0 0 76vw;
    scroll-snap-align: center;
  }

  .wall-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100vw - 16px);
    margin-left: -8px;
    padding: 3px 12px 12px 8px;
    overflow-x: auto;
  }

  .wall-filters button {
    flex: 0 0 auto;
  }

  .wish-wall {
    display: flex;
    gap: 13px;
    width: calc(100vw - 16px);
    margin-left: -8px;
    padding: 5px 16px 22px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .wall-card {
    flex: 0 0 79vw;
    min-height: 180px;
    scroll-snap-align: center;
  }

  .participation-section {
    grid-template-columns: 1fr;
    margin-top: 66px;
    padding: 24px 20px;
  }

  .participation-art {
    margin: 0 auto;
  }

  .participation-copy {
    text-align: center;
  }

  .participation-section article,
  .participation-section > article:last-child {
    grid-column: auto;
  }

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

  .faq-section > h2 {
    font-size: 36px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 0;
  }

  .site-footer p {
    margin: 0;
  }

  .mobile-add-button {
    position: fixed;
    z-index: 80;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 51px;
    padding: 0 18px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, #ff8c20, #ff650f);
    box-shadow: 0 15px 34px rgba(245, 130, 32, 0.35);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-add-button.is-hidden {
    opacity: 0;
    transform: translateY(90px);
    pointer-events: none;
  }

  .mobile-add-button svg {
    width: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

[hidden] {
  display: none !important;
}

.paint-strokes {
  isolation: isolate;
}

.paint-stroke,
.paint-stroke-bristle,
.paint-stroke-wash {
  mix-blend-mode: normal;
}

.paint-stroke-wash {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.paint-stroke-wash.is-visible {
  opacity: var(--wash-opacity, 0.16);
}

/* Complete product story: what happens after the first 108 wishes */
.collective-story-section {
  padding-top: 104px;
}

.collective-story-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.collective-story-heading .ornament-heading {
  margin-bottom: 18px;
}

.collective-story-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.collective-story-heading > p:last-child {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.collective-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
}

.after-108-card,
.wish-pulse-card {
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.after-108-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  gap: 26px;
  padding: 30px 34px 30px 26px;
  background:
    radial-gradient(circle at 25% 50%, rgba(245,130,32,.12), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,247,232,.92));
}

.after-108-card h3,
.wish-pulse-card h3,
.published-stories-head h3 {
  margin: 4px 0 10px;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.after-108-card p:not(.section-label),
.published-stories-head p:not(.section-label) {
  margin: 0;
  color: var(--muted);
}

.ring-preview {
  position: relative;
  width: 270px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,245,216,.98) 0 31%, rgba(255,233,186,.45) 32% 46%, transparent 47%),
    radial-gradient(circle, rgba(245,130,32,.07), transparent 66%);
}

.ring-preview::before,
.ring-preview::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(221,153,45,.45);
  border-radius: 50%;
}

.ring-preview::after {
  inset: 48px;
  border-color: rgba(221,153,45,.22);
}

.ring-bappa {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #d58b26;
  font-family: Georgia, serif;
  font-size: 64px;
  text-shadow: 0 4px 16px rgba(213,139,38,.18);
}

.ring-preview span {
  --angle: calc(var(--i) * 30deg - 90deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  margin: -6.5px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 55%, transparent);
  transform: rotate(var(--angle)) translateX(112px) rotate(calc(var(--angle) * -1));
}

.wish-pulse-card {
  padding: 30px 32px;
}

.pulse-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.pulse-heading > strong {
  color: var(--orange);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pulse-bars {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.pulse-row-label {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 750;
}

.pulse-row-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pulse-row-label strong {
  color: #626874;
  font-size: 11px;
}

.pulse-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4eee5;
}

.pulse-track span {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  opacity: .9;
  transition: width 500ms ease;
}

.pulse-note,
.pulse-empty {
  margin: 18px 0 0;
  color: #7b7f87;
  font-size: 11px;
}

.published-stories-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 28px 32px 18px;
  border-top: 1px solid rgba(119,82,40,.12);
}

.published-stories-head > div {
  max-width: 800px;
}

.published-badge {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(245,130,32,.28);
  border-radius: 999px;
  color: #a45413;
  background: rgba(255,245,229,.8);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

.milestone-card,
.milestone-placeholder {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--soft-shadow);
}

.milestone-card {
  display: grid;
  grid-template-rows: 260px 1fr;
}

.milestone-art {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,231,182,.75), transparent 50%),
    #fff9ef;
}

.milestone-body {
  padding: 20px 22px 22px;
}

.milestone-body h4 {
  margin: 3px 0 7px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.milestone-date {
  margin: 0;
  color: #777c85;
  font-size: 11px;
}

.milestone-theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.milestone-theme-chips span {
  padding: 6px 8px;
  border: 1px solid color-mix(in srgb, var(--chip-color) 25%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--chip-color) 78%, #151515);
  background: color-mix(in srgb, var(--chip-color) 7%, white);
  font-size: 9px;
  font-weight: 800;
}

.milestone-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.milestone-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(245,130,32,.2);
  border-radius: 10px;
  background: #fff9ef;
  color: #9b4e13;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.milestone-actions button:first-child {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #ff8e23, #ff650f);
}

.milestone-placeholder {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,249,239,.96), rgba(255,242,217,.82));
}

.milestone-placeholder > span {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: white;
  background: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

.milestone-placeholder strong {
  display: block;
  margin-bottom: 3px;
}

.milestone-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .collective-story-grid {
    grid-template-columns: 1fr;
  }
  .milestone-stories {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  .collective-story-section {
    padding-top: 76px;
  }
  .collective-story-heading {
    text-align: left;
  }
  .collective-story-heading h2 {
    font-size: 38px;
  }
  .collective-story-heading > p:last-child {
    margin-left: 0;
    font-size: 15px;
  }
  .after-108-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .ring-preview {
    width: 230px;
  }
  .ring-preview span {
    transform: rotate(var(--angle)) translateX(95px) rotate(calc(var(--angle) * -1));
  }
  .wish-pulse-card {
    padding: 24px 20px;
  }
  .published-stories-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0 14px;
  }
  .milestone-stories {
    display: flex;
    gap: 14px;
    width: calc(100vw - 16px);
    margin-left: -8px;
    padding: 4px 16px 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .milestone-card {
    flex: 0 0 82vw;
    scroll-snap-align: center;
  }
  .milestone-placeholder {
    flex: 0 0 calc(100vw - 48px);
  }
}
