@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700&family=DM+Mono:wght@400;500;700&display=swap");

.illustrated-journey {
  --ink: #291822; --wine: #87284d; --rose: #c44973; --blush: #f9e9ed; --paper: #fffaf8; --line: #e8d6db; --muted: #806d75;
  min-height: 100dvh; background: var(--paper); color: var(--ink); font-family: Alexandria, system-ui, sans-serif; line-height: 1.65; overflow: clip;
}
.illustrated-journey * { box-sizing: border-box; }
.ij-hero { max-width: 1180px; margin: auto; padding: 32px 34px 96px; }
.ij-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--wine); }
.ij-brand svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ij-hero-copy { text-align: center; margin: 76px auto 42px; }
.ij-hero-copy p, .ij-journey-intro > span, .ij-copy article > div > span, .ij-mobile-head span { font-size: 11px; font-weight: 700; color: var(--rose); letter-spacing: .07em; }
.ij-hero h1 { font-size: clamp(42px, 6vw, 78px); line-height: 1.18; letter-spacing: -.06em; margin: 14px 0 20px; font-weight: 600; }
.ij-hero h1 i { font-style: normal; color: var(--wine); }
.ij-hero-copy > span { font-size: 12px; color: var(--muted); }
.ij-real-shot { margin: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 28px 60px rgba(61, 20, 39, .12); }
.ij-real-shot figcaption { padding: 12px 18px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.ij-real-shot img { display: block; width: 100%; max-height: 450px; object-fit: cover; object-position: top; }
.ij-journey { background: #f8edef; padding: 94px 34px 0; }
.ij-journey-intro { max-width: 1110px; margin: 0 auto 52px; }
.ij-journey-intro h2 { font-size: clamp(31px, 4vw, 53px); letter-spacing: -.05em; line-height: 1.27; margin: 12px 0 0; }
.ij-desktop-layout { max-width: 1110px; margin: auto; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(470px, 1.15fr); gap: 10%; align-items: start; direction: rtl; }
.ij-copy { padding-bottom: 100px; }
.ij-copy article { min-height: 48vh; display: flex; gap: 19px; opacity: .34; transition: opacity .35s ease; }
.ij-copy article.ij-current { opacity: 1; }
.ij-copy article > b, .ij-mobile-head > b { font: 500 12px "DM Mono", monospace; color: var(--rose); padding-top: 2px; }
.ij-copy h3, .ij-mobile-list h3 { font-size: 27px; letter-spacing: -.045em; line-height: 1.35; margin: 6px 0 11px; }
.ij-copy p, .ij-mobile-list p { font-size: 14px; color: var(--muted); max-width: 30ch; margin: 0; }

.ij-sticky {
  position: sticky;
  top: 15vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fffafa;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(80, 35, 50, .06);
  min-height: 280px;
}
.ij-stage-label { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.ij-stage-label b { font: 500 12px "DM Mono", Alexandria, sans-serif; color: var(--wine); }
.ij-scene { position: relative; flex: 1; min-height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ij-progress { height: 2px; background: var(--line); overflow: hidden; margin-top: 20px; }
.ij-progress i { display: block; height: 100%; background: var(--wine); transform-origin: right; transition: transform .6s cubic-bezier(.22, .8, .3, 1); }

.ij-ed-scene { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; height: 100%; padding: 10px 20px; }
.ij-ed-origin, .ij-ed-result { flex: 1; display: flex; justify-content: center; }
.ij-ed-connector { flex: 0 0 35px; height: 1px; position: relative; }
.ij-ed-line { position: absolute; right: 0; top: 0; height: 100%; width: 0%; background: var(--rose); transition: width 0.6s cubic-bezier(0.22, 0.8, 0.3, 1) 0.3s; }
.ij-scene[data-active=true] .ij-ed-line { width: 100%; }
.ij-ed-connector::after { content: ""; position: absolute; left: 0; top: -3px; border: solid var(--rose); border-width: 0 0 1px 1px; width: 6px; height: 6px; transform: rotate(45deg); opacity: 0; transition: opacity 0.2s 0.8s; }
.ij-scene[data-active=true] .ij-ed-connector::after { opacity: 1; }

.ij-ed-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; width: 100%; max-width: 220px; box-shadow: 0 12px 24px rgba(61, 20, 39, .03); opacity: 0; transform: translateY(15px); transition: opacity .5s, transform .5s; text-align: right; }
.ij-scene[data-active=true] .ij-ed-origin .ij-ed-box { opacity: 1; transform: translateY(0); }
.ij-scene[data-active=true] .ij-ed-result .ij-ed-box { opacity: 1; transform: translateY(0); transition-delay: .5s; }

.ij-ed-lbl { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .03em; margin-bottom: 8px; }
.ij-ed-val { font: 600 18px "DM Mono", Alexandria, sans-serif; color: var(--ink); margin: 0 0 4px; }
.ij-ed-sub { font-size: 12px; color: var(--muted); margin: 0; }
.ij-ed-box--highlight { background: #fcf4f6; border-color: #f0d5dd; }
.ij-ed-box--highlight .ij-ed-val { color: var(--wine); }

.ij-ed-receipt { padding: 16px 20px; }
.ij-rec-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-family: "DM Mono", Alexandria, sans-serif; }
.ij-rec-row b { color: var(--ink); font-weight: 500; }
.ij-rec-total { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--wine); font-family: "DM Mono", Alexandria, sans-serif; }

.ij-ed-split { display: flex; flex-direction: column; gap: 12px; }
.ij-split-item { display: flex; flex-direction: column; }
.ij-split-item:not(:last-child) { border-bottom: 1px solid var(--line); padding-bottom: 12px; }

.ij-ed-stock .ij-ed-lbl { margin-bottom: 4px; }
.ij-stock-change { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; direction: ltr; }
.ij-stock-old { font: 400 20px "DM Mono", sans-serif; color: var(--muted); text-decoration: line-through; }
.ij-stock-new { font: 700 26px "DM Mono", sans-serif; color: var(--wine); }
.ij-ed-arr { width: 20px; height: 20px; color: var(--rose); }

.ij-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-top: 12px; direction: ltr; }
.ij-chart-bars i { flex: 1; background: var(--line); border-radius: 4px 4px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.22, .8, .3, 1) 0.7s; }
.ij-chart-bars i:nth-child(1) { height: 40%; transition-delay: 0.7s; }
.ij-chart-bars i:nth-child(2) { height: 65%; transition-delay: 0.8s; }
.ij-chart-bars i:nth-child(3) { height: 50%; transition-delay: 0.9s; }
.ij-chart-bars i.ij-bar-active { height: 90%; background: var(--wine); transition-delay: 1.0s; }
.ij-scene[data-active=true] .ij-chart-bars i { transform: scaleY(1); }

.ij-mobile-list { display: none; }
.ij-footer { max-width: 1110px; margin: auto; padding: 65px 34px 45px; display: flex; justify-content: space-between; color: var(--wine); font-size: 13px; }
.ij-footer p { color: var(--muted); margin: 0; }

@media (max-width: 700px) {
  .ij-hero { padding: 24px 18px 62px; }
  .ij-hero-copy { margin: 51px auto 30px; }
  .ij-hero h1 { font-size: 43px; }
  .ij-real-shot { border-radius: 12px; }
  .ij-real-shot img { height: 205px; }
  .ij-journey { padding: 65px 18px 0; }
  .ij-journey-intro { margin-bottom: 38px; }
  .ij-journey-intro h2 { font-size: 33px; }
  .ij-desktop-layout { display: none; }
  .ij-mobile-list { display: grid; gap: 0; }
  .ij-mobile-list > article { padding: 29px 0 36px; border-top: 1px solid var(--line); }
  .ij-mobile-head { display: flex; gap: 13px; align-items: center; }
  .ij-mobile-list h3 { font-size: 24px; margin: 7px 0; }
  .ij-mobile-list p { font-size: 13px; }
  .ij-mobile-list .ij-scene { position: relative; height: auto; min-height: 180px; margin-top: 24px; border-radius: 13px; background: #fffafa; border: 1px solid #ead9de; overflow: hidden; display: flex; align-items: center; justify-content: center; }

  .ij-ed-scene { gap: 10px; padding: 16px 12px; }
  .ij-ed-box { padding: 14px 14px; max-width: 145px; border-radius: 10px; }
  .ij-ed-connector { flex: 0 0 20px; }
  .ij-ed-val { font-size: 15px; margin-bottom: 2px; }
  .ij-ed-lbl { font-size: 10px; margin-bottom: 6px; }
  .ij-ed-sub { font-size: 10px; }
  .ij-stock-old { font-size: 16px; }
  .ij-stock-new { font-size: 20px; }
  .ij-ed-arr { width: 14px; height: 14px; }
  .ij-chart-bars { height: 40px; margin-top: 8px; }
  .ij-rec-row { font-size: 12px; margin-bottom: 6px; }
  .ij-rec-total { font-size: 12px; padding-top: 8px; }
  .ij-split-item:not(:last-child) { padding-bottom: 8px; }

  .ij-footer { padding: 48px 18px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ij-desktop-layout { display: none; }
  .ij-mobile-list { display: grid; max-width: 800px; margin: auto; }
  .ij-mobile-list > article { padding: 30px 0; }
  .ij-mobile-list .ij-scene { min-height: 180px; }
  .illustrated-journey *, .illustrated-journey *:before, .illustrated-journey *:after { animation: none !important; transition: none !important; }
  .ij-copy article { opacity: 1; }

  .ij-ed-box { opacity: 1 !important; transform: none !important; }
  .ij-ed-line { width: 100% !important; }
  .ij-ed-connector::after { opacity: 1 !important; }
  .ij-chart-bars i { transform: scaleY(1) !important; }
}

/* ── Salon Interlude Redesign ── */
.ij-salon-interlude {
  position: relative;
  background: #fdf5f7;
  display: flex;
  align-items: center;
  min-height: 85vh;
  overflow: hidden;
  padding: clamp(60px, 8vw, 120px) 0;
}
.ij-salon-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
}
.ij-salon-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%);
  mask-image: linear-gradient(to right, black 40%, transparent 100%);
}
.ij-salon-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  justify-content: flex-start;
}
.ij-salon-text {
  max-width: 480px;
  position: relative;
}
.ij-salon-text::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(196, 73, 115, 0.2);
  border-radius: 50%;
  z-index: -1;
}
.ij-salon-text span {
  display: block;
  font: 500 12px "DM Mono", monospace;
  color: var(--rose);
  letter-spacing: 0.1em;
}
.ij-salon-text h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  color: var(--ink);
  line-height: 1.15;
  margin: 20px 0 24px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.ij-salon-text h2 i {
  font-style: normal;
  color: var(--wine);
}
.ij-salon-text p {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 900px) {
  .ij-salon-interlude {
    flex-direction: column;
    padding: 0;
    min-height: auto;
  }
  .ij-salon-bg-img {
    position: relative;
    width: 100%;
    height: 360px;
  }
  .ij-salon-bg-img img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 50%);
    mask-image: linear-gradient(to top, transparent 0%, black 50%);
    object-position: center 30%;
  }
  .ij-salon-content {
    justify-content: center;
    padding: 20px 34px 80px;
  }
  .ij-salon-text {
    text-align: center;
  }
  .ij-salon-text::before {
    top: -20px;
    right: 50%;
    transform: translateX(50%);
  }
}
